ISDN - X.75/UUCP
First, we'll test some basic ISDN stuff. The X.75 protocol is somewhat
like a "terminal over ISDN" link protocol. My provider has X.75 and HDLC
lines, and I will test the X.75 part first.
Configuring minicom
I'll be using minicom to test the X.75 terminal protocol. Some settings
need to be made. For now, two minicom configurations will be made:
isdn0 (using /dev/ttyI0) and isdn1 (using
/dev/ttyI1).
There are two ways to test: "local" test or a real (provider) dialin. I
guess that the first option requires two MSNs (dial second MSN from
first MSN) but I have not tested that.
The advantage of "local" testing is of course, that you will be able to
see both the dialout and the dialin side of the connection.
- As root, start minicom
- Enter the Options menu (Ctrl-A O)
- Under "Serial Port setup", set the port to /dev/ttyI0
- Under "Modem and Dialing", set the init-string to
AT&Exxx^M~AT&B512^M
(replace xxx by your first MSN, like 402345671)
- Save this setup as "isdn0"
- Now, we'll create a near-duplicate configuration for /dev/ttyI1
- Under "Serial Port setup", set the port to /dev/ttyI1
- Under "Modem and Dialing", set the init-string to
AT&Exxx^M~AT&B512^M
(replace xxx by your second MSN, like 402345672)
- Save this setup as "isdn1"
- Leave minicom
Minicom should now be configured correctly for ISDN/X.75 use. If you
feel like it, you can create additional minicom configurations for all
your MSNs.
I have created separate minicom configurations for each dial-out device
that I'm likely to use:
- minicom modem - Analog modem dialout
- minicom isdn0 - X.75 dialout, first MSN
- minicom isdn1 - X.75 dialout, second MSN
Performing a "local" X.75 test
Assuming that you have two MSNs, and configured minicom as above, you
can perform a local test.
Make sure that you have two "terminals" available. On the first terminal,
start 'minicom isdn0'. On the second terminal, start 'minicom
isdn1'.
On the first terminal, enter ATD<second MSN number>. You
should now see a message on your second terminal, like:
CALLER NUMBER: <first MSN>
RING
You can now answer that call from the second terminal by typing
ATA there. Both minicoms will now show you the CONNECT
64000/X.75 message you've been hoping for ;-)
Hang up the link by issueing the "Hangup" (Ctrl-A H) command.
Performing a "remote" X.75 test
Assuming that you have configured minicom as above, you can perform a
remote test.
Start minicom with the "isdn0" option (or "isdn1"
if you have multiple MSNs configured).
Now, dial your provider's X.75 dialin number (040-2960392 for Internet
Access Eindhoven). You should be greeted by a login: prompt.
If all this works, you are ready to start polling UUCP over the X.75
link. Relatively few changes to your existing
UUCP configuration are necessary. You can improve performance by
tweaking some of the settings later.
Basically, the "Hayes modem" dialer you used until now for UUCP polling
is replaced by an X.75 "modem". The following changes were necessary on
my machine, running Taylor UUCP (HDB configuration):
- First, as user "uucp", change to /var/lib/uucp/hdb_config.
- Add the "X75 modems" to Devices, the file should look like this:
# Callout devices - these are tried in order, first available device is used
ACU ttyI0 - 38400 X75
ACU ttyI1 - 38400 X75
- Add the "X75" type modem to Dialers; the file will look like this:
hayes =,-, "" \dAT&F1\r\c OK\r ATDT\T\r\c CONNECT
X75 =,-, "" \dAT&E402345671\r\c OK\r AT&B512\r\c OK\r ATD\T\r\c CONNECT
Make sure that you replace "AT&E402345671
" by the appropriate
MSN. I left the block size at 512 bytes; it works for me. Performance
tuning is not (yet) on my list of priorities ;)
top | $Id: X75.m4,v 1.2 1999/04/26 12:22:48 ed Exp $ |
Sending unsolicited (commercial) email
to any address on these pages strictly prohibited!
Caught in a frame? Go to http://www.iaehv.nl/users/evoncken/index.html
Questions? Remarks? Contact Ed Voncken evoncken@iaehv.nl