Hello,
I'm not sure this list is still active since no archive is available
from [EMAIL PROTECTED] Anyway, here is my question:
(after consulting with FAQ/README.linux/SETUP of release ppp-2.3.10,
and still couldn't figure this out; PPP-HOWTO from LDP is so out-dated
that it only made me more confused)
Set up:
Dell Inspiron 7500
RedHat linux 6.1
Zoom 56K pcmcia modem
ppp-2.3.10 (from ftp://updates.redhat.com/6.1/i386/ppp-2.3.10-3.i386.rpm)
Problem:
Ppp failed to dialing out to my ISP. My ISP requires id and password
for login, dynamic IP assignment, no PAP/CHAP required.
Obeservations:
1. can dial up the ISP with minicom.
2. have no problem establishing ppp connection to my ISP running my box
in Window98 mode, using M$'s dialup-networking utility.
3. Also have no problem dialing to my company's terminal server with
ppp-2.3.10 via /sbin/ifup (with approporiate scripts-i.e. chat-ppp0,
ifcfg-ppp0 -- constructed in /etc/sysconfig/network-scripts). The
only difference between dialing to my company and my ISP are, as
far as I can tell, is that
a) fix IP address vs dynamic IP address
b) after successfully log on, I have to invoke ppp on my
company's terminal server by entering 'ppp' while my
ISP would automatically start the ppp session.
Detail:
1. the dial-up command:
#####
#!/bin/sh
export PATH=/usr/sbin:$PATH
pppd connect \
'chat -s -S -t 240 -v "" ATDT6443444 CONNECT "" ogin: foo word: bar' \
/dev/modem 115200 noipdefault noauth debug crtscts modem defaultroute
#####
2. pppd log:
#####
send (ATDT6443444^M)
expect (CONNECT)
ATDT6443444^M^M
CONNECT
-- got it
send (^M)
expect (ogin:)
31200 V42bis^M
Welcome to Cybernex (DHYP1)^M
^M
^M
Cybernex login:
-- got it
send (foo^M)
expect (word:)
^M
Password:
-- got it
send (bar^M)
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x21d80d91> <pcomp> <accomp> <auth
pap>]
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x21d80d91> <pcomp>
<accomp>]
sent [LCP ConfRej id=0x2 <auth chap MD5>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x21d80d91> <pcomp> <accomp>]
sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x21d80d91> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp> <accomp>]
Modem hangup
Connection terminated.
#####
Much appreciated for any help (or moral support :-)).
--- Simon Yeh
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]