[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: yet another ppp failure story...



Thanks for all your help so far. Back from the holidays, I thought I would try again.

At your advice, I have done the following things:

I have checked to see if my kernel supported ppp. As it turns out, it didn't. But I have fixed that and added ppp support through a module.

I have also set kdebug to 7 in my /etc/ppp/options file. However, I have seen no more verbose debugging than simply that added by the debug option.

I have also tried minicom and to execute pppd after quitting minicom wit the command you suggested: pppd -d -detach /dev/ttyS0 38400 & . Unfortunanely, I haven't found a pleasant way of exiting minicom outside of kill it as a process. I can't quit minicom inside of it because the meta key doesn't work. I will be posting a question about this problem to the powerpc list.

So far my debugging output looks like this:
Dec 28 22:14:33 localhost pppd[435]: pppd 2.3.11 started by root, uid 0
Dec 28 22:14:34 localhost chat[436]: timeout set to 30 seconds
Dec 28 22:14:34 localhost chat[436]: abort on (BUSY)
Dec 28 22:14:34 localhost chat[436]: abort on (NO CARRIER)
Dec 28 22:14:34 localhost chat[436]: abort on (NO ANSWER)
Dec 28 22:14:34 localhost chat[436]: abort on (NO DIALTONE)
Dec 28 22:14:34 localhost chat[436]: abort on (RING)
Dec 28 22:14:34 localhost chat[436]: abort on (% User/password invalid)
Dec 28 22:14:34 localhost chat[436]: send (ATZ^M)
Dec 28 22:14:34 localhost chat[436]: expect (OK)
Dec 28 22:14:34 localhost chat[436]: ATZ^M^M
Dec 28 22:14:34 localhost chat[436]: OK
Dec 28 22:14:34 localhost chat[436]:  -- got it
Dec 28 22:14:34 localhost chat[436]: send (ATH0^M)
Dec 28 22:14:34 localhost chat[436]: expect (OK)
Dec 28 22:14:34 localhost chat[436]: ^M
Dec 28 22:14:34 localhost chat[436]: ATH0^M^M
Dec 28 22:14:34 localhost chat[436]: OK
Dec 28 22:14:34 localhost chat[436]:  -- got it
Dec 28 22:14:34 localhost chat[436]: send (AT &F1 L W2 Q0 V1 E1 &D2 &C1 S0=0 +MS=56^M)
Dec 28 22:14:35 localhost chat[436]: expect (OK)
Dec 28 22:14:35 localhost chat[436]: ^M
Dec 28 22:14:35 localhost chat[436]: AT &F1 L W2 Q0 V1 E1 &D2 &C1 S0=0 +MS=56^M^M
Dec 28 22:14:35 localhost chat[436]: OK
Dec 28 22:14:35 localhost chat[436]:  -- got it
Dec 28 22:14:35 localhost chat[436]: send (ATDT5551000^M)
Dec 28 22:14:35 localhost chat[436]: expect (CONNECT 40000)
Dec 28 22:14:35 localhost chat[436]: ^M
Dec 28 22:15:03 localhost chat[436]: ATDT7621000^M^M
Dec 28 22:15:03 localhost chat[436]: CONNECT 40000
Dec 28 22:15:03 localhost chat[436]:  -- got it
Dec 28 22:15:03 localhost chat[436]: send (^M)
Dec 28 22:15:03 localhost chat[436]: expect (User Access Verification)
Dec 28 22:15:03 localhost chat[436]: ^M
Dec 28 22:15:33 localhost chat[436]: alarm
Dec 28 22:15:33 localhost chat[436]: send (^M)
Dec 28 22:15:33 localhost chat[436]: expect (User Access Verification)
Dec 28 22:15:33 localhost chat[436]: ^M
Dec 28 22:15:33 localhost chat[436]: ^M
Dec 28 22:15:33 localhost chat[436]: User Access Verification
Dec 28 22:15:33 localhost chat[436]:  -- got it
Dec 28 22:15:33 localhost chat[436]: send (^M)
Dec 28 22:15:33 localhost chat[436]: expect (sername:)
Dec 28 22:15:33 localhost chat[436]: ^M
Dec 28 22:15:33 localhost chat[436]: ^M
Dec 28 22:15:33 localhost chat[436]: Username:
Dec 28 22:15:33 localhost chat[436]:  -- got it
Dec 28 22:15:33 localhost chat[436]: send (wcrowshaw^M)
Dec 28 22:15:33 localhost chat[436]: expect (assword:)
Dec 28 22:15:33 localhost chat[436]:  ^M
Dec 28 22:15:33 localhost chat[436]: Username: wcrowshaw^M
Dec 28 22:15:33 localhost chat[436]: Password:
Dec 28 22:15:33 localhost chat[436]:  -- got it
Dec 28 22:15:33 localhost chat[436]: send (MYPASSWORD^M)
Dec 28 22:15:33 localhost chat[436]: expect (>)
Dec 28 22:15:34 localhost chat[436]:  ^M
Dec 28 22:15:34 localhost chat[436]: as14>
Dec 28 22:15:34 localhost chat[436]:  -- got it
Dec 28 22:15:34 localhost chat[436]: send (ppp^M)
Dec 28 22:15:34 localhost chat[436]: expect (~)
Dec 28 22:15:34 localhost chat[436]: ppp^M
Dec 28 22:15:34 localhost chat[436]: Entering PPP mode.^M
Dec 28 22:15:34 localhost chat[436]: Async interface address is unnumbered (Ethernet0)^M Dec 28 22:15:34 localhost chat[436]: Your IP address is 129.49.78.148. MTU is 1500 bytes^M Dec 28 22:15:34 localhost chat[436]: Header compression will match your system.^M
Dec 28 22:15:34 localhost chat[436]: ^M
Dec 28 22:15:36 localhost chat[436]: ~
Dec 28 22:15:36 localhost chat[436]:  -- got it
Dec 28 22:15:36 localhost chat[436]: send (^M)
Dec 28 22:15:36 localhost pppd[435]: Serial connection established.
Dec 28 22:15:36 localhost pppd[435]: Using interface ppp0
Dec 28 22:15:36 localhost pppd[435]: Connect: ppp0 <--> /dev/ttyS0
Dec 28 22:15:37 localhost pppd[435]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf6fcf66f> <pcomp> <accomp>]
Dec 28 22:15:37 localhost pppd[435]: Hangup (SIGHUP)
Dec 28 22:15:37 localhost pppd[435]: Modem hangup
Dec 28 22:15:37 localhost pppd[435]: Connection terminated.
Dec 28 22:15:38 localhost pppd[435]: Exit.

The current thing about the output that is perplexing me is the line:
Dec 28 22:15:34 localhost chat[436]: Async interface address is unnumbered (Ethernet0)^M I find the reference to "unnumbered" and "Ethernet0." First, unnumbered seems to me to be an error. Second, I am also wondering about this reference to Ethernet0. As far as I have things set up, my machine is not connected to an ethernet. When I first installed debian and pulled up the routing tables, I have eth0 as the only interface listed. lo was absent (I found out later this is no accident). I also found a reference to the loopback interface, lo, and eth0 in the interfaces file of /etc/networks/. I pursue the eth0 interface then because when I would attempt a ppp connect, my debugging informoation would always tell me that it was "Using interface eth0" and "Connect: eth0 <--> /dev/ttyS0." I knew this was wrong and that the interface should be "ppp0" as debugging says it is currently. But now, it seems that a reference to the ethernet is back. I wonder why? Any thoughts?

Any way, you also mentioneda ppp mailing list that I should subscribe to. Do you know where I could find that list.

Thanks for all your help.
--
W. Crowshaw

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Reply to: