← Back to team overview

sslug-teknik team mailing list archive

Re: /var/log/messages - ppp vil ikke logge p�

 

jan johnsen wrote:

> Efter at have fået RH6 og sat mit modem og DNS op kan jeg ikke logge på
> nettet -
> Der ringes op , "de" taler sammen, og efter ca. 20-30 sek afbrydes
> forbindelsen. (I win98 tager det oftes 40-60 sek. før der er "hul"
> igennem.)

Jeg mener at get2net nu anvender direkte PPP / PAP login
så dit chatscript er helt forkert idet send/login/password ikke
skal angives i chatscript.

...

>     Expect  send
>     ogin:  login
>     ord:  password
>     Timeout  5
>     ~--
> 

Jeg vil foreslå at anvende PAP  og uden tekstlogin som vist
i diverse dokumenter på sslug.

...

> Jul 27 10:45:30 localhost chat[885]: ATDT100177307735^M^M
> Jul 27 10:45:30 localhost chat[885]: CONNECT
> Jul 27 10:45:30 localhost chat[885]:  -- got it
> Jul 27 10:45:30 localhost chat[885]: send (^M)
> Jul 27 10:45:30 localhost chat[885]: timeout set to 5 seconds
> Jul 27 10:45:30 localhost chat[885]: expect (~)

Hvorfor står der "expext (~)" 
Den skal da ikke forvente "~", så noget er galt med chatscriptet.

> Jul 27 10:45:30 localhost chat[885]:  49333/ARQ/V90/LAPM/V42BIS^M
> Jul 27 10:45:31 localhost chat[885]: ^M
> Jul 27 10:45:31 localhost chat[885]: ^M
> Jul 27 10:45:31 localhost chat[885]: User Access Verification^M
> Jul 27 10:45:31 localhost chat[885]: ^M
> Jul 27 10:45:35 localhost chat[885]: alarm
> Jul 27 10:45:35 localhost chat[885]: send (^M)
> Jul 27 10:45:35 localhost chat[885]: send (^M)
> Jul 27 10:45:35 localhost chat[885]: expect (ogin:)

Du venter nu på login, men der kommer ingen "login:".
Jeg er ikke 100% sikker på login systemet hos get2net
hvis du insisterer på tekstlogin, men øjesynlig er det ikke
den rette fremgangsmåde i chatscriptet, prøv at se på
http://www.sslug.dk/internet.html

> Jul 27 10:45:35 localhost chat[885]: ^M
> Jul 27 10:45:35 localhost chat[885]: ^M
> Jul 27 10:45:35 localhost chat[885]: User Access Verification^M
> Jul 27 10:45:35 localhost chat[885]: ^M
> Jul 27 10:45:40 localhost chat[885]: alarm
> Jul 27 10:45:40 localhost pppd[880]: Connect script failed
> Jul 27 10:45:40 localhost chat[885]: Failed
> Jul 27 10:45:41 localhost pppd[880]: Exit.


Prøv evt. at se 
på http://hjem.get2net.dk/borisbamsen/linux-dialup/modem/
Chatscriptet kan altså anvendes som vist 
i http://www.sslug.dk/artikler/ppp-info.html, 
med PAP og direkte PPP login. Dette er også det nemmeste.


-- 
mvh Frank Damgaard  frda@xxxxxxxxxxxxx | frank@xxxxxxxx |fido  2:236/15.2


Follow ups

References