Mike Spencer
2014-12-11 08:07:20 UTC
Thanks, Old Guy, for your thoughful reply. For now, I'm going to
stick with the technical stuff and leave your other remarks, however
cogent ;-), for a later reply.
One part of the problem has been indentified: When Fibernetics took
over the actual servers for ca.inter.net, they screwed up part of the
authentication database. That's been dealt with and now my wife's
Win-XP box can connect via dialup and PPP to the new server.
Still no luck with Linux. More details up-thread on
comp.os.linux.networking.
responds in "comp.protocols.ppp". Also, to be helpful, he'll need
to see the exact Login banner they send - so he knows _which_ of the
many server implementations is in use.
(So: Cross posting to comp.protocols.ppp)
Since Win-XP can now connect, this is (probably?) no longer about
telling the Fibernetics admins what to do. I need to figure out how
to connect with Linux.
If I connect using Minicom, this is the banner I see:
atdt18442449946
CONNECT 24000/ARQ/V34/LAPM/V42BIS
C
; TOR01AD-AS54a.ne.fibernetics.ca 3/33 ^G
User Access Verification
Username: login: ***@ca.inter.net
Password: <passwd entered>
% Authentication failed
That's an actual control-G there that I've replaced with caret-G for
usenet context. And what's with that single 'C' character?
TOR01AD-AS54a.ne.fibernetics.ca has no DNS A record but is ID'd by
RDNS as 208.72.120.45.
Here are the the pppd script and chat script that I invoke:
#!/bin/tcsh -f
setenv TELEPHONE 18442449946
set LOCAL_IP = 0.0.0.0
set REMOTE_IP = 0.0.0.0
set NETMASK = 255.255.255.0
set DIALER_SCRIPT=/home/mds/bin/istar-dialer
eval /usr/sbin/pppd kdebug 7 debug lock modem crtscts /dev/ttyS0 115200 \
asyncmap 20A0000 escape FF ${LOCAL_IP}:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute \
remotename istar user ***@ca.inter.net connect $DIALER_SCRIPT &
--------------
#!/bin/sh
exec /usr/sbin/chat -e -v \
TIMEOUT 3 \
ABORT 'BUSY' \
ABORT 'NO ANSWER' \
ABORT 'NO DIALTONE' \
'' 'ATZ' \
'OK-+++\c-OK' "ATV1Q0&C1&D2X4S0=0H0S7=60" \
TIMEOUT 120 \
OK "ATDT$TELEPHONE" \
CONNECT "\d\c"
--------------------------------
I've tried variations of the last "send" string, "\d\c", "\\d\\c", "\c".
as well as adding
\
BIS "\c"
to the above.
After running the above, /var/log/ppp has this to say:
Dec 11 01:16:02 bogus chat[5452]: ATDT18442449946^M^M
Dec 11 01:16:02 bogus chat[5452]: CONNECT
Dec 11 01:16:02 bogus chat[5452]: -- got it
Dec 11 01:16:02 bogus chat[5452]: send (\d)
Dec 11 01:16:03 bogus pppd[5450]: Serial connection established.
Dec 11 01:16:03 bogus pppd[5450]: using channel 7
Dec 11 01:16:03 bogus pppd[5450]: Using interface ppp0
Dec 11 01:16:03 bogus pppd[5450]: Connect: ppp0 <--> /dev/ttyS0
Dec 11 01:16:04 bogus pppd[5450]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <magic 0x7b6b2af6> <pcomp> <accomp>]
Dec 11 01:16:31 bogus last message repeated 9 times
Dec 11 01:16:34 bogus pppd[5450]: LCP: timeout sending Config-Requests
Dec 11 01:16:34 bogus pppd[5450]: Connection terminated.
Dec 11 01:16:34 bogus pppd[5450]: Receive serial link is not 8-bit clean:
Dec 11 01:16:34 bogus pppd[5450]: Problem: all had bit 7 set to 0
Dec 11 01:16:34 bogus pppd[5450]: Hangup (SIGHUP)
Dec 11 01:16:34 bogus pppd[5450]: Modem hangup
Dec 11 01:16:34 bogus pppd[5450]: Exit.
I'm not fuly confident in slsnif (does /dev stuff I don't fully
understand) but I used it to sniff the serial port and it appears that
the remote host is responding to my ConfReq packets with octets
similar to the ones I send except that all of them are 7-bit, tending
to confirm what pppd reports in the log. pppd would be correct in
ignoring that as not LCP packets.
At the point where pppd reports sending ConfReq packets, slsnif
reports that I'm sending:
7e 7d df 7d 23 c0 21 7d 21 7d 21 7d 20 7d 34 7d
22 7d 26 7d 22 7d 2a 7d 20 7d 20 7d 25 7d 26 ac
ba 83 7d 27 7d 27 7d 22 7d 28 7d 22 ba 7d 2c 7e
to which the server replies:
7e 7d 5f 7d 23 40 21 7d 21 7d 21 7d 20 7d 34 7d
22 7d 26 7d 22 7d 2a 7d 20 7d 20 7d 25 7d 26 2c
3a
My wife's Win-XP log reports (on a successful connection) how many
bytes exchanged but regretably doesn't report the actual octet values
exchanged in the LCP/PPP handshake. (I haven't used Windoes since
3.1. There may be helpful logs on her machine that I don't know
about. ??)
I might reiterate that I have two dialup ISPs; one is working fine for
both Win-XP and Linux; the failing one worked fine with PAP auth
until Fibernetics replaced the server with a new one and "out of the
box" software; now that one works for Win-XP but not Linux.
I'm stumped. I don't know how to trick the server into responding
correctly to my LCP packets.
Cross-posted to comp.protocols.ppp and comp.os.linux.networking.
Any guidance very welcome,
- Mike
stick with the technical stuff and leave your other remarks, however
cogent ;-), for a later reply.
One part of the problem has been indentified: When Fibernetics took
over the actual servers for ca.inter.net, they screwed up part of the
authentication database. That's been dealt with and now my wife's
Win-XP box can connect via dialup and PPP to the new server.
Still no luck with Linux. More details up-thread on
comp.os.linux.networking.
Does anyone know enough about configuring the ISP end of dialup to
tell me what I need to tell the Fibernetics guys so that they can
get their house in order? I am seriously vexed at this point.
Yes, but he doesn't monitor this Usenet newsgroup - see if hetell me what I need to tell the Fibernetics guys so that they can
get their house in order? I am seriously vexed at this point.
responds in "comp.protocols.ppp". Also, to be helpful, he'll need
to see the exact Login banner they send - so he knows _which_ of the
many server implementations is in use.
Since Win-XP can now connect, this is (probably?) no longer about
telling the Fibernetics admins what to do. I need to figure out how
to connect with Linux.
If I connect using Minicom, this is the banner I see:
atdt18442449946
CONNECT 24000/ARQ/V34/LAPM/V42BIS
C
; TOR01AD-AS54a.ne.fibernetics.ca 3/33 ^G
User Access Verification
Username: login: ***@ca.inter.net
Password: <passwd entered>
% Authentication failed
That's an actual control-G there that I've replaced with caret-G for
usenet context. And what's with that single 'C' character?
TOR01AD-AS54a.ne.fibernetics.ca has no DNS A record but is ID'd by
RDNS as 208.72.120.45.
Here are the the pppd script and chat script that I invoke:
#!/bin/tcsh -f
setenv TELEPHONE 18442449946
set LOCAL_IP = 0.0.0.0
set REMOTE_IP = 0.0.0.0
set NETMASK = 255.255.255.0
set DIALER_SCRIPT=/home/mds/bin/istar-dialer
eval /usr/sbin/pppd kdebug 7 debug lock modem crtscts /dev/ttyS0 115200 \
asyncmap 20A0000 escape FF ${LOCAL_IP}:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute \
remotename istar user ***@ca.inter.net connect $DIALER_SCRIPT &
--------------
#!/bin/sh
exec /usr/sbin/chat -e -v \
TIMEOUT 3 \
ABORT 'BUSY' \
ABORT 'NO ANSWER' \
ABORT 'NO DIALTONE' \
'' 'ATZ' \
'OK-+++\c-OK' "ATV1Q0&C1&D2X4S0=0H0S7=60" \
TIMEOUT 120 \
OK "ATDT$TELEPHONE" \
CONNECT "\d\c"
--------------------------------
I've tried variations of the last "send" string, "\d\c", "\\d\\c", "\c".
as well as adding
\
BIS "\c"
to the above.
After running the above, /var/log/ppp has this to say:
Dec 11 01:16:02 bogus chat[5452]: ATDT18442449946^M^M
Dec 11 01:16:02 bogus chat[5452]: CONNECT
Dec 11 01:16:02 bogus chat[5452]: -- got it
Dec 11 01:16:02 bogus chat[5452]: send (\d)
Dec 11 01:16:03 bogus pppd[5450]: Serial connection established.
Dec 11 01:16:03 bogus pppd[5450]: using channel 7
Dec 11 01:16:03 bogus pppd[5450]: Using interface ppp0
Dec 11 01:16:03 bogus pppd[5450]: Connect: ppp0 <--> /dev/ttyS0
Dec 11 01:16:04 bogus pppd[5450]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <magic 0x7b6b2af6> <pcomp> <accomp>]
Dec 11 01:16:31 bogus last message repeated 9 times
Dec 11 01:16:34 bogus pppd[5450]: LCP: timeout sending Config-Requests
Dec 11 01:16:34 bogus pppd[5450]: Connection terminated.
Dec 11 01:16:34 bogus pppd[5450]: Receive serial link is not 8-bit clean:
Dec 11 01:16:34 bogus pppd[5450]: Problem: all had bit 7 set to 0
Dec 11 01:16:34 bogus pppd[5450]: Hangup (SIGHUP)
Dec 11 01:16:34 bogus pppd[5450]: Modem hangup
Dec 11 01:16:34 bogus pppd[5450]: Exit.
I'm not fuly confident in slsnif (does /dev stuff I don't fully
understand) but I used it to sniff the serial port and it appears that
the remote host is responding to my ConfReq packets with octets
similar to the ones I send except that all of them are 7-bit, tending
to confirm what pppd reports in the log. pppd would be correct in
ignoring that as not LCP packets.
At the point where pppd reports sending ConfReq packets, slsnif
reports that I'm sending:
7e 7d df 7d 23 c0 21 7d 21 7d 21 7d 20 7d 34 7d
22 7d 26 7d 22 7d 2a 7d 20 7d 20 7d 25 7d 26 ac
ba 83 7d 27 7d 27 7d 22 7d 28 7d 22 ba 7d 2c 7e
to which the server replies:
7e 7d 5f 7d 23 40 21 7d 21 7d 21 7d 20 7d 34 7d
22 7d 26 7d 22 7d 2a 7d 20 7d 20 7d 25 7d 26 2c
3a
My wife's Win-XP log reports (on a successful connection) how many
bytes exchanged but regretably doesn't report the actual octet values
exchanged in the LCP/PPP handshake. (I haven't used Windoes since
3.1. There may be helpful logs on her machine that I don't know
about. ??)
I might reiterate that I have two dialup ISPs; one is working fine for
both Win-XP and Linux; the failing one worked fine with PAP auth
until Fibernetics replaced the server with a new one and "out of the
box" software; now that one works for Win-XP but not Linux.
I'm stumped. I don't know how to trick the server into responding
correctly to my LCP packets.
Cross-posted to comp.protocols.ppp and comp.os.linux.networking.
Any guidance very welcome,
- Mike
--
Mike Spencer Nova Scotia, Canada
Mike Spencer Nova Scotia, Canada