Date: Wed, 7 Jun 95 10:05:05 EST From: M C Wong <mcw@hpato.aus.hp.com> To: freebsd-questions@freefall.cdrom.com (freebsd-questions@freefall.cdrom.com) Subject: [1.1.5.1] PPP failure Message-ID: <199506070005.AA242433506@hp.com>
next in thread | raw e-mail | index | archive | help
Hi,
I will appreciate if anyone who has succes with pppd on 1.1.5.1
can give me some helps :
I am (still) running 1.1.5.1 to dial-out to my ISP Annex-3, the
port has been set to ppp mode and the IP address for me is static,
since it is a permanent connection kind of thing.
The following are the options (/etc/ppp/options) used for pppd :
# /etc/ppp/options
crtscts # enable hardware flow control
modem # modem control line
passive # wait for LCP packets
domain mydomain # put your domain name here
204.14.44.34:204.14.44.14 # put the IP of remote PPP host here
# it will be used to route packets via PPP link
# if you didn't specified the noipdefault option
# change this line to <local_ip>:<remote_ip>
defaultroute # put this if you want that PPP server will be your
# default router
debug
The following are the steps I used to dial-up :
1) use kermit to dial-up ISP, and suspend it back to shell
2) pppd /dev/cua00 57600 -detach . At this time I can see that the SD & RD
leds are flashing over every 5 seconds or more, and this went
on for quite a while before it stopped.
3) I checked netstat -r, ifconfig ppp0, but default route has not
been set, neither is any parameter for ppp0 set.
4) I check out /var/log/message, and saw the following :
Jun 7 10:23:45 lespoir pppd[589]: pppd 2.0.4 started by root, uid 0
Jun 7 10:23:45 lespoir pppd[589]: Connect: ppp0 <--> /dev/cua00
Jun 7 10:23:45 lespoir pppd[589]: LCP: timeout sending Config-Requests
I then send a few ^C to pppd, but that didn't kill it, I then tried
kill -INT 589, and neither did that, then tried kill -9 589, and that
did it.
5) Then restarted pppd : pppd /dev/cua00 57600 -detach again, and got :
Jun 7 10:25:45 lespoir pppd[589]: received bad Reject!
Jun 7 10:25:45 lespoir pppd[589]: plen 6 len 0 off 6
.
. (basically, repeated logs of above 2 lines)
.
Jun 7 10:25:45 lespoir pppd[589]: pppd 2.0.4 started by root, uid 0
Jun 7 10:25:45 lespoir pppd[589]: Connect: ppp0 <--> /dev/cua00
Jun 7 10:25:45 lespoir pppd[589]: LCP: timeout sending Config-Requests
I am very suspicious with my ISP Annex setup since I got similar LCP
time-out error when trying on another Linux box later, and especially he
mentioned something that they had never made ppp to work, 8-((.
Therefore, I will like to know if anyone has success with FreeBSD-1.1.5.1
ppp and Annex please tell me :
If the problem is with the Annex, what parameters must be set on it
to get it working properly with pppd.
Thanks in advance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506070005.AA242433506>
