[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

eth0 down and no pppoe after boot, both work after pppoeconf starts looking for concentrator



Hello!

I would like you to help me solve my problem.

- Situation:

Since the last bootup a couple days ago (uptime was 22 days) pppoe
stopped working correctly. I've just noticed it because I had to
poweroff the system to add an extra IDE disc, so I cannot say when
exactly it really stopped working since I dist-upgrade the system
regularly.


- Preamble:

While reconfiguring pppoe with pppoeconf it looks for and finds a
concentrator on eth0 then perform the rest of the configuration
proccess. The whole configurations runs with no problem and the system
connects normally.


- Problem:

pppoe does not get started at boot. After reboot there is no ppp0 or
eth0, ifconfig returns only lo. When I start pppoeconf to reconfigure it
(first time I thought 'there might be something I did wrong') I notice
that right after it begins to look for a concentrator the eth0 interface
is immediately brought up. The screen quickly flicks and shows the
message but I can assure it because of a 'tail -f /var/log/messages'
running in another terminal. After this I can simply cancel pppoeconf
and '/etc/init.d/networking restart' and everything works. I get eth0,
ppp0 and lo listed by ifconfig. I also noticed that some modules were
probed by pppoeconf then added them to /etc/modules but nothing changes.


- Once there was a bug:

I've searched for bugs and found a *very* similar one (with 2 merged):

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272581


- Packages version:

This info is a snippet from the output of 'dpkg -p' for each package.
The bug is related to modutils, so here are all packages I think can be
related to my problem:

Package: modutils
Installed-Size: 668
Origin: debian
Architecture: i386
Version: 2.4.26-1.2
Size: 325262

Package: ppp
Installed-Size: 1008
Architecture: i386
Version: 2.4.3-20050321+1
Size: 325262

Package: pppoe
Installed-Size: 166
Architecture: i386
Source: rp-pppoe
Version: 3.5-4
Size: 65232

Package: pppoeconf
Installed-Size: 176
Architecture: all
Version: 1.6
Size: 40010


- Configuration files (functional lines only):

#### /etc/network/interfaces ####
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet ppp
        provider dsl-provider

#### /etc/ppp/peers/dsl-provider ####
noipdefault
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
noaccomp
default-asyncmap
plugin rp-pppoe.so eth0
user "xxxxxxxxxx"

#### /etc/modules ####
# I added the following 3 former modules but no luck
ppp_generic
pppox
pppoe
af_packet
8139too


- Devices:

The modem is a SpeedStream 5200 out of the box.
The NIC is a Realtek RTL-8139

#### lspci ####
0000:00:00.0 Host bridge: ALi Corporation M1531 [Aladdin IV] (rev b3)
0000:00:02.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge
[Aladdin IV] (rev b4)
0000:00:04.0 VGA compatible controller: OPTi Inc. 92C264 (rev 01)
0000:00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:00:0b.0 IDE interface: ALi Corporation M5229 IDE (rev 20)

#### lspci -n ####
0000:00:00.0 0600: 10b9:1531 (rev b3)
0000:00:02.0 0601: 10b9:1533 (rev b4)
0000:00:04.0 0300: 1045:c101 (rev 01)
0000:00:05.0 0200: 10ec:8139 (rev 10)
0000:00:0b.0 0101: 10b9:5229 (rev 20)


- Messages:

#### tail -f /var/log/messages right after initial ####
#### pppoeconf concentrator search proccess ####
Apr 28 21:03:02 Pinatubo kernel: eth0: link up, 100Mbps, full-duplex,
lpa 0x45E1

#### tail -f /var/log/messages right after ####
#### /etc/init.d/networking restart ####
Apr 28 21:03:22 Pinatubo pppd[927]: Plugin rp-pppoe.so loaded.
Apr 28 21:03:22 Pinatubo pppd[929]: pppd 2.4.3 started by root, uid 0
Apr 28 21:03:22 Pinatubo pppd[929]: PPP session is 2041
Apr 28 21:03:22 Pinatubo pppd[929]: Using interface ppp0
Apr 28 21:03:22 Pinatubo pppd[929]: Connect: ppp0 <--> eth0
Apr 28 21:03:22 Pinatubo pppd[929]: Couldn't increase MTU to 1500
Apr 28 21:03:22 Pinatubo pppd[929]: Couldn't increase MRU to 1500
Apr 28 21:03:22 Pinatubo pppd[929]: Couldn't increase MRU to 1500
Apr 28 21:03:23 Pinatubo pppd[929]: PAP authentication succeeded
Apr 28 21:03:23 Pinatubo pppd[929]: peer from calling number x:x:x:x:x:x
authorized
Apr 28 21:03:23 Pinatubo pppd[929]: local  IP address x.x.x.x
Apr 28 21:03:23 Pinatubo pppd[929]: remote IP address x.x.x.x
Apr 28 21:03:23 Pinatubo pppd[929]: primary   DNS address x.x.x.x
Apr 28 21:03:23 Pinatubo pppd[929]: secondary DNS address x.x.x.x


- Additional notes:

 - plog returns nothing;
 - I removed the /etc/ppp/ppp_on_boot symlink so /etc/init.d/ppp does
not load pppoe at boot;
 - The 'calculating modules dependencies' takes long at boot.

Can't think of anything else I could add here, hope there is useful and
sufficient information. Thanks for your time to read this message. Hope
someone can help me.

Regards,
-- 
 .''`.  Pablo Aguiar <pabloaguiar@brfree.com.br>
: :'  :  Proud Debian GNU/Linux Admin and User
`. `'`  GNU/Linux User #346447 - PC #238975
  `-  Debian GNU/Linux, or simply Debian for short.

              Thu, Apr 28 2005, 21:45:12 GMT - 0300



Reply to: