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

Re: ppp failure under debian (slakware with pppd 2.2 patch level 0 works)



On 18 Sep 1999, John Hasler wrote:
> Robert King wrote:
> > I'm fairly sure that the serial conifg is OK, as I can get out with cu -l
> > /dev/ttyS1, but when I try to start pppd, it complains about cu having
> > the serial line and won't let it at it.
> 
> Odd.  I just tried cu on this system and it complains that the line is in
> use.  Pon works fine.  Is there anything in /var/lock?  This might be a bug
> in cu.

There is nothing locking in /var/lock
 
> > Aug  4 19:16:01 castle chat[621]: send (ATZ^M)
> > Aug  4 19:16:01 castle chat[621]: expect (OK)
> > Aug  4 19:16:46 castle chat[621]: alarm
> > Aug  4 19:16:46 castle chat[621]: send (AT^M)
> > Aug  4 19:16:46 castle chat[621]: expect (OK)
> > Aug  4 19:17:31 castle chat[621]: alarm
> > Aug  4 19:17:31 castle chat[621]: Failed
> 
> Your modem is failing to respond.  What happens when you send it 'ATZ' from
> cu?  

The modem responds fine from cu.  I get an OK back from AT&F.  I can log
in to another machine using cu.

The only time the modem doesn't respond is when chat tries to talk to it.

 

> Please post your /etc/chatscripts/provider and /etc/ppp/peers/provider files.

etc/chatscripts/provider:

# This chatfile was generated by pppconfig 1.9.2beta2.0.
# Please do not delete any of the comments.  Pppconfig needs them.
# 
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL
TON
E' ABORT 'NO ANSWER'
# modeminit
'' ATZ
# ispnumber
OK-AT-OK ATDT33008100
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# name deleted by me
# isppassword
# password delted by me
# postlogin
-------------------------------------------------
etc/ppp/peers/provider:

# This optionfile was generated by pppconfig 1.9.2beta2.0. 
# 
#
hide-password 
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
115200
defaultroute
noipdefault 
user zzkylie
remotename provider
ipparam provider

usepeerdns

---------------------------------

Thanks for any light you can shed on this ....

I think it could be a problem with changes to pppd.  The version thats
working is from my Dec 1996 slackware (from ppp 2.1.2b)

robert.
----
Robert King, Australian Environmental Studies, Griffith University, Australia
3875 6677   Robert.King@mailbox.gu.edu.au   http://www.ens.gu.edu.au/robertk/

statistician (n.) someone who can draw a mathematically precise line
from an unwarranted assumption to a foregone conclusion.  [anon.]
		


Reply to: