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

Re: ppp



*- On  5 Mar, Ole J. Tetlie wrote about "ppp"
> I'm having a little trouble with ppp. Everything seems normal until
> the line with "Hangup". I don't know why that happens. I made the
> configuration with pppconfig, making the same choices as for a
> machine with working ppp. Could it be some other netconfig
> that is making trouble. I'd appreciate a clue.
> 
> Mar 5 20:16:13 ringebu pppd[806]: pppd 2.3.3 started by root, uid 0
> Mar 5 20:16:14 ringebu chat[807]: abort on (BUSY)
> Mar 5 20:16:14 ringebu chat[807]: abort on (NO CARRIER)
> Mar 5 20:16:14 ringebu chat[807]: abort on (VOICE)
> Mar 5 20:16:14 ringebu chat[807]: abort on (NO DIALTONE)
> Mar 5 20:16:14 ringebu chat[807]: abort on (NO ANSWER)
> Mar 5 20:16:14 ringebu chat[807]: send (ATZ^M)
> Mar 5 20:16:14 ringebu chat[807]: expect (OK)
> Mar 5 20:16:14 ringebu chat[807]: ATZ^M^M
> Mar 5 20:16:14 ringebu chat[807]: OK
> Mar 5 20:16:14 ringebu chat[807]: -- got it
> Mar 5 20:16:14 ringebu chat[807]: send (ATDT22596790^M)
> Mar 5 20:16:15 ringebu chat[807]: expect (CONNECT)
> Mar 5 20:16:15 ringebu chat[807]: ^M
> Mar 5 20:16:46 ringebu chat[807]: ATDT22596790^M^M
> Mar 5 20:16:46 ringebu chat[807]: CONNECT
> Mar 5 20:16:46 ringebu chat[807]: -- got it
> Mar 5 20:16:46 ringebu chat[807]: send (\d)
> Mar 5 20:16:47 ringebu pppd[806]: Serial connection established.
> Mar 5 20:16:48 ringebu pppd[806]: Using interface ppp0
> Mar 5 20:16:48 ringebu pppd[806]: Connect: ppp0 <--> /dev/ttyS2
> Mar 5 20:16:53 ringebu pppd[806]: Hangup (SIGHUP)
> Mar 5 20:16:53 ringebu pppd[806]: Modem hangup
> Mar 5 20:16:53 ringebu pppd[806]: Connection terminated.
> Mar 5 20:16:54 ringebu pppd[806]: Exit.
> 

Are you using PAP or CHAP authentication?  It looks like the type of
behavior I had when I had my authentication wrong.  Turn debug on in
your pppd options file and watch the /var/log/ppp.log file when your are
connecting, 'tail -f /var/log/ppp.log'.  You should see the username and
password being sent to the remote host. If it is wrong you will see a
LCP request from the remote host to hangup.  I am no expert but just
speaking from experience.

-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: