pppoe connection is not being correctly load at boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Invalid
|
Medium
|
Brian Murray |
Bug Description
I configured pppoe with pppoeconf and set it to be loaded at boot time. But when I boot I can't ping any address:
Just after boot:
marcot@quindinho:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:D3:08:64:5A
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:849 (849.0 b) TX bytes:7400 (7.2 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:380 (380.0 b) TX bytes:380 (380.0 b)
ppp0 Link encap:Point-
inet addr:201.58.133.64 P-t-P:200.217.72.88 Mask:255.
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:54 (54.0 b) TX bytes:54 (54.0 b)
marcot@quindinho:~$ ping www.google.com
ping: unknown host www.google.com
marcot@quindinho:~$ cat /etc/resolv.conf
# generated by NetworkManager, do not edit!
nameserver 200.165.132.147
nameserver 200.165.132.154
marcot@quindinho:~$ ping 200.165.132.147
connect: Network is unreachable
marcot@quindinho:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
200.217.72.88 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
marcot@quindinho:~$ sudo poff
Password:
marcot@quindinho:~$ pon dsl-provider
Plugin rp-pppoe.so loaded.
NOW THE CONNECTION WORKS!
marcot@quindinho:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
200.217.72.88 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
marcot@quindinho:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:D3:08:64:5A
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6987 errors:0 dropped:0 overruns:0 frame:0
TX packets:5481 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7514336 (7.1 MiB) TX bytes:727198 (710.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:380 (380.0 b) TX bytes:380 (380.0 b)
ppp0 Link encap:Point-
inet addr:201.58.110.210 P-t-P:200.217.72.88 Mask:255.
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6856 errors:0 dropped:0 overruns:0 frame:0
TX packets:5298 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7355566 (7.0 MiB) TX bytes:598377 (584.3 KiB)
I think it's related to network-manager, but I'm not sure. As in the last situation, I can get the connnection by disconnecting with poff and connecting again with pon dsl-provider.
There's a line added in route -n, which may be the cause of the problem:
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
I'm using Ubuntu 7.4β.
Changed in network-manager: | |
status: | Unconfirmed → Confirmed |
Changed in network-manager: | |
assignee: | keybuk → nobody |
The same happens to me!
My computer starts, and the ppp0 doesn't work. I restart the dsl-provider, and everything works fine.