LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-25-2003, 09:34 AM   #1
vova
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Unstable PPP connection in Redhat9


i have my ppp connection disconnected every time

i tried the solution for swapping the values of PPPOE_TIMEOUT and LCP_INTERVAL and it works fine for my RH 9.0 rp-pppoe-3.5.2 setup.

(Note that I also added an additional item to the cfg in sysconfig/network-scripts/ifcfg-ppp0; though I don't think it does anything except make adsl-status report the correct status -- I could be wrong, though. ;-):

[19:24:08 root@localhost//etc/sysconfig/network-scripts]# cat ifcfg-ppp0
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.

PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20

CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0
PROVIDER=DSLppp0
USER='xxx@xxx.xxx'
PEERDNS=yes

DEMAND=no

PERSIST=no
[19:24:23 root@localhost//etc/sysconfig/network-scripts]#

The DEMAND=no is used to ensure that the various post scripts do not do any stupid demand-based work. As far as I can tell, the rp-pppoe setup script included with RH 9.0 forgets to write this value to the cfg file (actually, it assumes that a DEMAND="" value is a no [ie. if the value is never set], but some aspects of the script don't [they check if it is explicitly set to no instead of ""] which is why I believe there is some confusion in a call to adsl-status).

but i am still have disconnect from my ISP
any IDEAS?
 
  


Reply



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
Network connection unstable with Ubuntu geokker Linux - Networking 6 05-21-2009 08:56 AM
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM
Internet Connection Sharing with Redhat9 Ogi Linux - Networking 5 07-16-2004 05:01 PM
PPP unstable crypted Linux - Networking 0 01-05-2004 11:56 AM
Unstable modem connection under Linux Gai-jin Linux - Software 7 01-10-2003 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration