Jump to content

intermittent dsl disconnect


Guest wanderer13
 Share

Recommended Posts

Guest wanderer13

my dsl connection works fine immediately after boot, but after a while it just disconnects without any warning. i'm a newbie so i can't make heads or tails of it. i'm on mandrake 10.1 and have a nokia dsl modem. i'm on windows xp right now on my dual boot box and my dsl seems to work fine here.

 

i'm thinkin it might be the LCp configs but that's really just an educated guess. i'm thinkin it might be a more fundamental problem.

 

i've got windows xp dual booting on the same box and the dsl connection works fine on that end so i'm thinkin something must have happened to my mandrake system. theproblem just appeared out of the blue and i havem't installed or tweaked settings for the last week or so.

 

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

NETMASK=255.255.255.0

NETWORK=10.0.0.0

BROADCAST=10.0.0.255

onBOOT=yes

METRIC=10

 

/var/log/syslog:

 

Nov 21 21:12:42 localhost last message repeated 2 times

Nov 21 21:37:40 localhost kernel: usb 2-1: control timeout on ep0in

Nov 21 21:37:55 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Nov 21 21:38:35 localhost last message repeated 4 times

Nov 21 21:38:45 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Nov 21 21:38:50 localhost pppd[1625]: Serial link appears to be disconnected.

Nov 21 21:38:55 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Nov 21 21:38:56 localhost pppd[1625]: Connection terminated.

Nov 21 21:38:56 localhost pppd[1625]: Connect time 48.8 minutes.

Nov 21 21:38:56 localhost pppd[1625]: Sent 85252255 bytes, received 94057464 bytes.

Nov 21 21:38:56 localhost pppoe[1626]: Sent PADT

Nov 21 21:38:56 localhost pppd[1625]: Using interface ppp0

Nov 21 21:38:56 localhost pppd[1625]: Connect: ppp0 <--> /dev/ttyp1

Nov 21 21:39:05 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Nov 21 21:39:25 localhost last message repeated 2 times

Nov 21 21:39:27 localhost pppd[1625]: LCP: timeout sending Config-Requests

Nov 21 21:39:27 localhost pppd[1625]: Connection terminated.

Nov 21 21:39:27 localhost pppd[1625]: Connect time 48.8 minutes.

Nov 21 21:39:27 localhost pppd[1625]: Sent 85252255 bytes, received 94057464 bytes.

Nov 21 21:39:27 localhost pppd[1625]: Using interface ppp0

Nov 21 21:39:27 localhost pppd[1625]: Connect: ppp0 <--> /dev/pts/0

Nov 21 21:39:31 localhost pppoe[12035]: Timeout waiting for PADO packets

Nov 21 21:39:58 localhost pppd[1625]: LCP: timeout sending Config-Requests

Nov 21 21:39:58 localhost pppd[1625]: Connection terminated.

Nov 21 21:39:58 localhost pppd[1625]: Connect time 48.8 minutes.

Nov 21 21:39:58 localhost pppd[1625]: Sent 85252255 bytes, received 94057464 bytes.

Nov 21 21:39:58 localhost pppd[1625]: Using interface ppp0

Nov 21 21:39:58 localhost pppd[1625]: Connect: ppp0 <--> /dev/pts/1

Nov 21 21:40:02 localhost pppoe[12057]: Timeout waiting for PADO packets

Nov 21 21:40:29 localhost pppd[1625]: LCP: timeout sending Config-Requests

Nov 21 21:40:29 localhost pppd[1625]: Connection terminated.

Nov 21 21:40:29 localhost pppd[1625]: Connect time 48.8 minutes.

Nov 21 21:40:29 localhost pppd[1625]: Sent 85252255 bytes, received 94057464 bytes.

Nov 21 21:40:29 localhost pppd[1625]: Using interface ppp0

Nov 21 21:40:29 localhost pppd[1625]: Connect: ppp0 <--> /dev/pts/0

Nov 21 21:40:33 localhost pppoe[12073]: Timeout waiting for PADO packets

Nov 21 21:40:35 localhost kernel: mtrr: 0xd4000000,0x4000000 overlaps existing 0xd4000000,0x200000

Nov 21 21:40:35 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Nov 21 21:40:52 localhost net_applet[12224]: ### Program is starting ###

Nov 21 21:40:53 localhost gconfd (root-12270): starting (version 2.6.4), pid 12270 user 'root'

Nov 21 21:40:54 localhost gconfd (root-12270): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0

Nov 21 21:40:54 localhost gconfd (root-12270): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1

Nov 21 21:40:54 localhost gconfd (root-12270): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2

 

# PPP options for the PPPoE server

# LIC: GPL

require-pap

login

lcp-echo-interval 10

lcp-echo-failure 2

 

#***********************************************************************

#

# pppoe.conf

#

# Configuration file for rp-pppoe. Edit as appropriate and install in

# /etc/ppp/pppoe.conf

#

# NOTE: This file is used by the adsl-start, adsl-stop, adsl-connect and

# adsl-status shell scripts. It is *not* used in any way by the

# "pppoe" executable.

#

# Copyright © 2000 Roaring Penguin Software Inc.

#

# This file may be distributed under the terms of the GNU General

# Public License.

#

# LIC: GPL

# $Id: pppoe.conf,v 1.10 2002/04/09 17:28:38 dfs Exp $

#***********************************************************************

 

# When you configure a variable, DO NOT leave spaces around the "=" sign.

 

# Ethernet card connected to ADSL modem

ETH=eth0

 

# ADSL user name. You may have to supply "@provider.com" Sympatico

# users in Canada do need to include "@sympatico.ca"

# Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets

# contains the right username/password combination.

# For Magma, use xxyyzz@magma.ca

USER=

 

# Bring link up on demand? Default is to leave link up all the time.

# If you want the link to come up on demand, set DEMAND to a number indicating

# the idle time after which the link is brought down.

DEMAND=no

#DEMAND=300

 

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;

# NOCHANGE=do not adjust.

DNSTYPE=SERVER

 

# Obtain DNS server addresses from the peer (recent versions of pppd only)

# In old config files, this used to be called USEPEERDNS. Changed to

# PEERDNS for better Red Hat compatibility

PEERDNS=yes

 

DNS1=

DNS2=

 

# Make the PPPoE connection your default route. Set to

# DEFAULTROUTE=no if you don't want this.

DEFAULTROUTE=yes

 

### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

 

# How long adsl-start waits for a new PPP interface to appear before

# concluding something went wrong. If you use 0, then adsl-start

# exits immediately with a successful status and does not wait for the

# link to come up. Time is in seconds.

#

# WARNING WARNING WARNING:

#

# If you are using rp-pppoe on a physically-inaccessible host, set

# CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying

# to connect forever after adsl-start is called. Otherwise, it will

# give out after CONNECT_TIMEOUT seconds and will not attempt to

# connect again, making it impossible to reach.

CONNECT_TIMEOUT=30

 

# How often in seconds adsl-start polls to check if link is up

CONNECT_POLL=2

 

# Specific desired AC Name

ACNAME=

 

# Specific desired service name

SERVICENAME=

 

# Character to echo at each poll. Use PING="" if you don't want

# anything echoed

PING="."

 

# File where the adsl-connect script writes its process-ID.

# Three files are actually used:

# $PIDFILE contains PID of adsl-connect script

# $PIDFILE.pppoe contains PID of pppoe process

# $PIDFILE.pppd contains PID of pppd process

CF_BASE=`basename $CONFIG`

PIDFILE="/var/run/$CF_BASE-adsl.pid"

 

# Do you want to use synchronous PPP? "yes" or "no". "yes" is much

# easier on CPU usage, but may not work for you. It is safer to use

# "no", but you may want to experiment with "yes". "yes" is generally

# safe on Linux machines with the n_hdlc line discipline; unsafe on others.

SYNCHRONOUS=no

 

# Do you want to clamp the MSS? Here's how to decide:

# - If you have only a SINGLE computer connected to the ADSL modem, choose

# "no".

# - If you have a computer acting as a gateway for a LAN, choose "1412".

# The setting of 1412 is safe for either setup, but uses slightly more

# CPU power.

CLAMPMSS=1412

#CLAMPMSS=no

 

# LCP echo interval and failure count.

LCP_INTERVAL=20

LCP_FAILURE=3

 

# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL

PPPOE_TIMEOUT=80

 

# Firewalling: One of NONE, STANDALONE or MASQUERADE

FIREWALL=NONE

 

# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode

# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so

LINUX_PLUGIN=

 

# Any extra arguments to pass to pppoe. Normally, use a blank string

# like this:

PPPOE_EXTRA=""

 

# Rumour has it that "Citizen's Communications" with a 3Com

# HomeConnect ADSL Modem DualLink requires these extra options:

# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

 

# Any extra arguments to pass to pppd. Normally, use a blank string

# like this:

PPPD_EXTRA=""

 

 

########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING

# If you wish to COMPLETELY overrride the pppd invocation:

# Example:

# OVERRIDE_PPPD_COMMAND="pppd call dsl"

 

# If you want adsl-connect to exit when connection drops:

# RETRY_ON_FAILURE=no

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...