LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-01-2004, 10:35 PM   #1
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
Question checking the status of PPP0


dear mates

my ppp0 always goes down frequently, after user complaints i will be bringing it up manually. Instead is there any other way to check its availability and bring it up auto.

pudhi
 
Old 01-02-2004, 01:00 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
pppd monitors itself, you just need to add the option "persist" to you pppd options.
 
Old 01-05-2004, 05:57 AM   #3
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
i added this persist in /etc/ppp/peers/mynet,
but the same problem continues.

why is that
 
Old 01-05-2004, 10:24 AM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Normally it will reconnect.

In some cases where the problem is not a normal disconnect from the remote end then pppd would have generated an error, and gave up.


Setup your syslog daemon to write debug info to a file and see what's going on with it.



/etc/syslog.conf add these lines

local2.* /var/log/ppp
daemon.* /var/log/ppp


then restart the syslog daemon

killall -1 syslogd

add debug to your pppd options and lets see what's happening.
 
Old 01-06-2004, 03:53 AM   #5
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
Thanks david

I will monitor and get back to you
 
Old 01-13-2004, 04:53 AM   #6
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
Dear david

I noticed the following messages(during the ppp0 goes down) in the log file. could it give any clues

Jan 13 14:54:36 mynet pptp[21114]: anon log[decaps_greptp_gre.c:397]: buffering out-of-order packet 203 (expecting 202)


pudhi
 
Old 01-14-2004, 02:47 AM   #7
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
these are the log file messages

Jan 14 12:02:45 mynet /etc/hotplug/net.agent: assuming ppp0 is already up
Jan 14 12:03:16 mynet pppd[24432]: LCP: timeout sending Config-Requests
Jan 14 12:03:16 mynet pppd[24432]: Connection terminated.
Jan 14 12:03:16 mynet pptp[24504]: anon log[mainptp.c:219]: The synchronous p
ptp option is NOT activated
Jan 14 12:03:16 mynet pppd[24432]: Using interface ppp0
Jan 14 12:03:16 mynet pppd[24432]: Connect: ppp0 <--> /dev/pts/5
Jan 14 12:03:16 mynet /etc/hotplug/net.agent: NET unregister event not supporte
d
Jan 14 12:03:16 mynet /etc/hotplug/net.agent: assuming ppp0 is already up

Child process pptp 64.174.xxx.xx --nolaunchpppd (pid 24632) terminated with signal 2
Modem hangup
Connection terminated.
Child process pptp 64.174.xxx.xx --nolaunchpppd (pid 24595) terminated with signal 2
Child process pptp 64.174.xxx.xx --nolaunchpppd (pid 24608) terminated with signal 2

what went wrong

pudhi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking network card status BNI Linux - Networking 1 06-15-2005 05:55 AM
Ethernet interface - checking the status marri Programming 1 03-01-2005 12:15 PM
ADSL-STATUS: linked to ppp0 but ppp0 seems to be down. mikkime23 Linux - Networking 1 01-01-2005 11:00 AM
Checking device status neerukamra Linux - General 1 09-06-2004 01:12 AM
command(s) for checking ip status stupidloser Linux - Wireless Networking 5 08-10-2004 10:21 AM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration