Subject: Re: LCP timeout sending Config-Requests
To: None <tech-net@netbsd.org>
From: David Laight <David.Laight@btinternet.com>
List: tech-net
Date: 12/18/2001 14:19:10
Do this in stages:
1) tip the modem send the AT commands by hand.
after the 'CONNECT xxxx' message you will (probably) see the
far ends LCP requests. These look like gibberish (tend to contain
a lot of "(" and ")") are about 40 chars and repeated every few seconds.
2) Get chat to work
3) Get ppp to use chat
Modify the syslog config file (etc/syslog.conf?) to put all messages (*.*?)
to either the console or /var/log/messages. Run a tail -f on the latter.
You almost certainly don't want your username/password in the chat
script, but in the ppp config and secrets file.
(put '* * password' into the secrets file)
4) get ipf running before your machine is hacked.
It has to be said that netbsd doesn't make any of this easy!
(could we add some of files that are nearly correct to the release
- especially for those versions where it is likely to be used by
non-experts)
Unfortunately I can't look at my files, if I boot netBSD I can't use mail.
David
----- Original Message -----
From: Martin Gerbing <martin@gerbing.net>
To: <tech-net@netbsd.org>
Sent: Tuesday, December 18, 2001 2:09 PM
Subject: Re: LCP timeout sending Config-Requests
> Hello again,
>
> thanks for the hints. I tried it but it is still the same.
> For a better description of my problem I write my /etc/ppp/options down:
>
> # /etc/ppp/options
> lock
> crtscts
> 115200
> modem
> defaultroute
> noipdefault
>
> And here is my /etc/ppp/peers/provider:
> # /etc/ppp/peers/provider
> connect '/usr/sbin/chat -v -f /etc/ppp/peers/provider.chat'
> noauth
> user myusername
> remotename provider
>
> And here is my /etc/ppp/peers/provider.chat:
> # /etc/ppp/peers/provider.chat
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> '' ATZ OK
> '' ATDT010900191799 # Phonenumber of provider
> TIMEOUT 500
> connect ''
> ogin: myloginname
> ssword: mypassword
>
> On my prompt I enter:
> :> pppd call provider
>
> Then the following message comes:
> Serial connection established
> Using interface ppp0
> Connect: ppp0 <--> /dev/tty01
>
> and after a time (~ 5 minutes) the following is written to me:
> LCP: timeout sending Config-Requests
>
> By an other provider there comes only trash back to me (noreadable lines :(( ).
> I don't know more :(
>
> Does anybody can help me, please?
>
> Thanks for all your help and hints.
>
> Martin
>
>
> On Sun, Dec 16, 2001 at 06:00:46PM -0600, Frederick Bruckman wrote:
> > On Mon, 17 Dec 2001, Manuel Bouyer wrote:
> >
> > > On Sun, Dec 16, 2001 at 09:33:16PM +0100, Martin Gerbing wrote:
> > > > Hello,
> > > >
> > > > I installed NetBSD 1.5.2 and after installing the pppd I tried to connect to
> > > > my ISP. But every time after my chat script were running the following
> > > > message appears and I am disconnected:
> > > >
> > > > LCP timeout sending Config-Requests
> > > >
> > > > I tried the init script:
> > > >
> > > > pppd tty01 115200 modem crtscts init "chat '' ATZ OK ATS0=1 OK"
> > >
> > > Hum, this doesn't make chat dial out, or did I miss something ?
> >
> > Perhaps that should be "ATDTS=0"? Such would dial the number saved
> > with "at&z0=nnnnnnn&w0".
> >
> > Even so, the script will start sending LCP requests while the modem is
> > dialing. Better to change that last OK to wait for "ONNECT" or "ogin:",
> > to let the terminal server answer first.
> >
> > Frederick