Whenever we try to connect, everything seems hunky-dory until
we actually try to execute 'mode SLIP', we get the error
'SIOCADDRT: Network is unreachable'.
I've included a log of a session below. This was done in an emacs shell
if you're wondering where the
's and echo lines are coming from. Any
help would be much appreciated. If you need any more info, feel free to
e-mail at dear...@osu.edu
<Log follows.>
[root ~ %] dip -tv
DIP: Dialup IP Protocol Driver version 3.2.2a
Written by Fred N. van Kempen, MicroWalt Corporation.
DIP [0 ]> port cua3
>> port cua3
Set PORT to "cua3"
TTY = /dev/cua3 (3) BAUD -1 SPEED 13
CS=8
PARITY=N
STOP=1
IBUF=1024 OBUF=1024
DIP [0 ]> speed 9600
>> speed 9600
Speed set to 9600
DIP [0 ]> reset
>> reset
DIP [0 ]> send ATQ0V1E1X1\r
>> send ATQ0V1E1X1\r
DIP [0 ]> dial T2987547
>> dial T2987547
DIP [0 ]> term
>> term
[ Entering TERMINAL mode. Use CTRL-] to get back ]
OK
ATQ0V1E1X1
OK
ATE0 Q0 V1 X1
OK
CONNECT 9600
User Access Verification
Username: gdearing
gdearing
Password: XXXXXXXX <- Substitute real password here.
ACS>slip
slip
Entering SLIP mode.
Your IP address is 128.146.214.185. MTU is 1500 bytes
Header compression will match your system.
[ Back to LOCAL mode. ]
DIP [0 ]>
DIP [0 ]> get $local 128.146.214.185
>> get $local 128.146.214.185
About to set variable $local to 128.146.214.185
DIP [0 ]> get $mtu 1500
>> get $mtu 1500
About to set variable $mtu to 1500
DIP [0 ]> get $remote 128.146.214.1 <- We already know this one.
>> get $remote 128.146.214.1
About to set variable $remote to 128.146.214.1
DIP [0 ]> print $rmtip
>> print $rmtip
128.146.214.1
DIP [0 ]> print $locip
>> print $locip
128.146.214.185
DIP [0 ]> mode SLIP
>> mode SLIP
BAUD -1 SPEED 13
CS=8
PARITY=N
STOP=1
SIOCADDRT: Network is unreachable
*** Here's where we get kicked off ***
[root ~ %]
--
Greg Dearing
Email: Dear...@osu.edu
That's a bug in dip, and can be safely ignored (unless someone knows
of a reasonable fix for dip). You'll need to add the route by hand
(execute the following command):
route add default gw 128.146.214.1
BTW, you're not being kicked off. dip runs in the background by default,
so it should still be running, just as a daemon.
Bob