D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] PPP config - sorted



On Saturday 15 September 2001  7:38 pm, you wrote:
>
> pppd connect 'chat -v -f /etc/ppp/chatscript' -detach crtscts /dev/modem
> 115200 modem
>
> Chatscript contains:
> TIMEOUT 5
> "" ATZ
> OK "ATDT 16900845......."
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> ABORT WAITING
> TIMEOUT 45
> CONNECT ""

The error was here:

> ogin:neil.....
> ssword:.....

My server (screaming.net aka Tiscali) doesn't send login, so:
'' neil.......
'' ....... 
(second line is just the password)
works OK.

I've changed some of the timeouts and added a few SAY statements:

SAY 'dialling screaming.net\n\n'
ABORT BUSY ABORT 'NO CARRIER' ''
ATZ OK
ATM0L0 OK
"ATDT 16900845....."
TIMEOUT 120
CONNECT ''
SAY 'connecting\n'
'' neil......
'' .......

Plus I've added user neil.......... to the pppd command and lock and 
defaultroute and changed the device:

pppd connect 'chat -v -f /etc/ppp/chatscript' -detach crtscts defaultroute 
user neil........... /dev/ttyS0 115200 modem

Just goes to show, keep on fiddling and it sometimes just comes right!

Neil.

-- 

Neil Williams
#-#-#-#-#-#-#-#-#
linux@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxx
www.codehelp.co.uk

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly