- LCP timeout

PDA

View Full Version : LCP timeout


munpeng
07-24-2004, 06:03 PM
Hi, I have a RH9 running on my workstation and I tried to seup a modem
connection to my ISP. Whenever I connect to my ISP it is unsuccessful.
therefore I use the command tail to see trace the log. the following is my
log:

Jun 22 12:51:47 localhost ifup-ppp: Setting up a new /etc/ppp/peers/ppp0
config
file
Jun 22 12:51:47 localhost ifup-ppp: pppd started for ppp0 on /dev/ttyS1 at
11520
0
Jun 22 12:51:48 localhost pppd[2166]: pppd 2.4.1 started by root, uid 0
Jun 22 12:51:48 localhost kernel: CSLIP: code copyright 1989 Regents of the
Univ
ersity of California
Jun 22 12:51:48 localhost kernel: PPP generic driver version 2.4.2
Jun 22 12:51:49 localhost wvdial[2190]: WvDial: Internet dialer version 1.53
Jun 22 12:51:49 localhost wvdial[2190]: Initializing modem.
Jun 22 12:51:50 localhost wvdial[2190]: Sending: ATZ
Jun 22 12:51:50 localhost wvdial[2190]: ATZ
Jun 22 12:51:50 localhost wvdial[2190]: OK
Jun 22 12:51:50 localhost wvdial[2190]: Modem initialized.
Jun 22 12:51:50 localhost wvdial[2190]: Sending: ATDT65379800
Jun 22 12:51:50 localhost wvdial[2190]: Waiting for carrier.
Jun 22 12:51:50 localhost wvdial[2190]: ATDT65379800
Jun 22 12:52:18 localhost wvdial[2190]: CONNECT 45333/ARQ
Jun 22 12:52:18 localhost wvdial[2190]: Carrier detected. Chatmode
finished.
Jun 22 12:52:18 localhost pppd[2166]: Serial connection established.
Jun 22 12:52:18 localhost pppd[2166]: Using interface ppp0
Jun 22 12:52:18 localhost pppd[2166]: Connect: ppp0 <--> /dev/ttyS1
Jun 22 12:52:18 localhost /etc/hotplug/net.agent: assuming ppp0 is already
up
Jun 22 12:52:49 localhost pppd[2166]: LCP: timeout sending Config-Requests
Jun 22 12:52:49 localhost pppd[2166]: Connection terminated.
Jun 22 12:52:49 localhost /etc/hotplug/net.agent: NET unregister event not
supported
Jun 22 12:52:49 localhost pppd[2166]: Hangup (SIGHUP)
Jun 22 12:52:49 localhost pppd[2166]: Exit.

I like to know why LCP is timeout and my NET unregister event not
supported. Can someone assist me in this. thank you.

munpeng
07-24-2004, 06:06 PM
Hi,

I have checked my UART and it uses 16550A.
I am currently using US robotics 56K voice fax modem.

I have followed your instruction and log LCP messages..
=====================PPP-DEBUG.LOG==============================
Jun 29 10:01:00 localhost pppd[2189]: pppd 2.4.1 started by root, uid 0
Jun 29 10:01:20 localhost kernel: divert: not allocating divert_blk for
non-ethernet device ppp0
Jun 29 10:01:20 localhost pppd[2189]: Connect: ppp0 <--> /dev/ttyS1
Jun 29 10:01:21 localhost /etc/hotplug/net.agent: assuming ppp0 is already
up
Jun 29 10:01:52 localhost pppd[2189]: Connection terminated.
Jun 29 10:01:52 localhost kernel: divert: no divert_blk to free, ppp0 not
ethernet
Jun 29 10:01:52 localhost /etc/hotplug/net.agent: NET unregister event not
supported
=========================END========================================
I am new to linux and really have no idea what the above log mean..
can you help me take a look and figure what is wrong...

thank you


"Clifford Kite" <kite@see.signature.id> wrote in message
news:4roedb.me.ln@corncob.inetport.com...
> munpeng <munpeng@hotmail.com> wrote:
>
> At 31 seconds after pppd is started the LCP negotiations timed out.
> That probably means that pppd sent the initial LCP request 10 times,
> didn't get a response, and then quit (we need the PPP link negotiation
> messages to be sure). If there was no LCP response/request from the peer
> then that could mean that the UART configured for /dev/ttyS1 is incorrect.
> Most PCs today use a 16550A UART. Use "setserial /dev/ttyS1" to find
> the UART configured.
>
> If the modem uses a software driver then it's a good candidate for
> this happening.
>
> To get a log with the LCP messages follow the recipe in my signature.
>
> > Jun 22 12:52:49 localhost /etc/hotplug/net.agent: NET unregister event
not
> > supported
> > Jun 22 12:52:49 localhost pppd[2166]: Hangup (SIGHUP)
> > Jun 22 12:52:49 localhost pppd[2166]: Exit.
>
> > I like to know why LCP is timeout and my NET unregister event not
> > supported. Can someone assist me in this. thank you.
>
> I haven't a clue as to what NET means.
>
> -- Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
> PPP-Q&A links, downloads: http://ckite.no-ip.net/
> /* Recipe for a unified PPP debug log file: Add the line
> " local2.*;*.=debug;*.=notice /var/log/ppp-debug.log "
> to /etc/syslog.conf, and do " kill -HUP `pidof syslogd` "
> so that syslogd rereads it. */