[svlug] PPPoE Problem: Inactivity timeout... something wicked happened
Serban Giuroiu
gyzmobro at yahoo.com
Wed Aug 7 22:01:55 PDT 2002
I sent this to the Red Hat mailing list about a week
ago and I didn't get a response. I was hoping someone
here could help me.
Thanks,
Serban Giuroiu
--- Serban Giuroiu <gyzmobro at yahoo.com> wrote:
> A few days ago I moved the gateway server in my
> house
> from one to another. On the first computer, I never
> had any problems, but now on the second one (which
> is
> running RHL 7.3 - the old one ran RHL 7.2) the
> connection seems to get lost every few minutes or
> so.
> Can anybody tell me what my problem is and/or how to
> fix it? Here is my pppoe.conf and a snip of
> /var/log/messages of what's happening over and over
> again.
>
> Thank you in advance,
>
> Serban Giuroiu
> --------------
> BEGIN /VAR/LOG/MESSAGES SNIP
>
> Aug 3 08:23:32 gateway pppoe[4429]: Inactivity
> timeout... something wicked happened
> Aug 3 08:23:32 gateway pppoe[4429]: Sent PADT
> Aug 3 08:23:32 gateway pppd[4428]: Modem hangup
> Aug 3 08:23:32 gateway pppd[4428]: Connection
> terminated.
> Aug 3 08:23:32 gateway pppd[4428]: Connect time 1.0
> minutes.
> Aug 3 08:23:32 gateway pppd[4428]: Sent 54 bytes,
> received 54 bytes.
> Aug 3 08:23:32 gateway /etc/hotplug/net.agent: NET
> unregister event not supported
> Aug 3 08:23:33 gateway pppd[4428]: Exit.
> Aug 3 08:23:33 gateway adsl-connect: ADSL
> connection
> lost; attempting re-connection.
> Aug 3 08:23:38 gateway pppd[4524]: pppd 2.4.1
> started
> by root, uid 0
> Aug 3 08:23:38 gateway pppd[4524]: Using interface
> ppp0
> Aug 3 08:23:38 gateway pppd[4524]: Connect: ppp0
> <-->
> /dev/pts/0
> Aug 3 08:23:38 gateway /etc/hotplug/net.agent:
> assuming ppp0 is already up
> Aug 3 08:23:38 gateway pppoe[4525]: PPP session is
> 1866
> Aug 3 08:23:39 gateway pppd[4524]: local IP
> address
> 64.171.188.22
> Aug 3 08:23:39 gateway pppd[4524]: remote IP
> address
> 64.171.188.254
> Aug 3 08:23:39 gateway pppd[4524]: primary DNS
> address 63.203.35.55
> Aug 3 08:23:39 gateway pppd[4524]: secondary DNS
> address 206.13.28.12
>
> END /VAR/LOG/MESSAGES SNIP
> --------------------------
> BEGIN PPPOE.CONF
>
>
#***********************************************************************
> #
> # 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 (C) 2000 Roaring Penguin Software Inc.
> #
> # This file may be distributed under the terms of
> the
> GNU General
> # Public License.
> #
> # $Id: pppoe.conf,v 1.7 2001/09/14 19:07:39 dfs Exp
> $
>
#***********************************************************************
>
> # When you configure a variable, DO NOT leave spaces
> around the "=" sign.
>
> # Ethernet card connected to ADSL modem
> ETH='eth1'
>
> # 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 at magma.ca
> USER='XXX'
>
> # 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=SPECIFY
>
> # Obtain DNS server addresses from the peer (recent
> versions of pppd only)
> USEPEERDNS=no
>
> DNS1=63.203.35.55
> DNS2=206.13.28.12
>
> # 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=""
>
> END PPPOE.CONF
>
> =====
> This message was sent by Serban Giuroiu, also known
> as The Gyzmo.
>
> E-MAIL: < g y z m o b r o @ y a h o o . c o m> (no
> spaces)
> GAIM: < g y z m o b r o> (no spaces)
>
> "Code Smarter, Not Harder"
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
=====
This message was sent by Serban Giuroiu, also known as The Gyzmo.
E-MAIL: < g y z m o b r o @ y a h o o . c o m > (no spaces)
GAIM: < g y z m o b r o > (no spaces)
"Code Smarter, Not Harder"
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the svlug
mailing list