Results 1 to 10 of 29
Hi
Using 10.04 happily for some time, I shut the machine down today and when I started it back up there was no network.
I've tried to fix the problem ...
- 06-25-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
network not working after reboot
Hi
Using 10.04 happily for some time, I shut the machine down today and when I started it back up there was no network.
I've tried to fix the problem myself, but probably made things much worse! I've tried to reinstall the network manager, manually bring up eth0 with a static ip address (it was happily using dynamic earlier today). I even followed some instructions for manually configuring a network interface added an entry to the routing table (which I suspect will turn out to be a huge mistake). No matter what I have done, I haven't even been able to ping my router.
I would really appriciate it if someone knowledgable would spend the time to help me sort this out.
I am not sure what if any of the following is useful:
my router is 192.168.1.1 and is set up as DHCP server
ifconfig
route gives:Code:eth0 Link encap:Ethernet HWaddr e0:cb:4e:32:2e:10 inet addre:192.168.1.5 Bcaset:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:22 Base address:0x6000 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:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
mii-tool givesCode:Kernal IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eht0 link-local * 255.255.0.0 U 1000 0 0 eth0
and dhclient givesCode:eth0: no link product info: vendor 00:07:32, model 17 rev 2 basic mode: autonegotiation enabled basic status: no link capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
If there is anything else that I need to post that would help diagnose the problem, then please tell me.Code:Internet Systems Consortium. All rights reserved. For info, please visit isc.org/software/dhcp/ Listening on LPF/eth0/e0:cb:4e:32:2e:10 Sending on LPF/eth0/e0:cb:4e:32:2e:10 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 No DHCPOFFERS received. No working leases in persistent database - sleeping.
I've also posted on the ununtu forums but my question has sunk without an answer!
I'd really appreciate any help that anyone is able to offer me.
Thanks
Paul
- 06-25-2010 #2
Hello,
i can see that your route output does not contain the default route:
could you run as root?
route add default gw 192.168.1.1 eth0
I hope this help you but i dont understand your "link-local" route
Regards
- 06-25-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
I've done what you suggested and route now looks like
I don't know about link-local either. I'm sure that it wasnt in the routing table before I started messing around, but now I don't know how to get rid of it. I've tried to use the command "route route del" but I don't know how to refer to the entry I want to delete.Code:Kernal IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eht0 link-local * 255.255.0.0 U 1000 0 0 eth0 default * 192.168.1.1 UG 0 0 0 eth0 default * 192.168.1.1 UG 100 0 0 eth0
Is there a way that I can just do a fresh instal of all networking components? just reset eveything?
Cheers
- 06-25-2010 #4
Hi, with
route del default gw 192.168.1.1 you will remove it.
Sorry but my table shows:
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
and i dont see your default (0.0.0.0) net and gateway.
Regards
- 06-25-2010 #5Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
I tried that command but my table remains the same. I wanted to know how to get rid of the link-local entry, as you said it shouldn't be there and I thought it wasn't there before I started messing around with the routing table
- 06-25-2010 #6Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
I tried the command again and it removed the entry
default 192.q68.1.1
from the table (which it looks like it was intended to do)
- 06-25-2010 #7
Have you configure interfaces in /etc/network/interfaces?if so, could you send what changes?
Cheers
- 06-25-2010 #8
Ooops,
sorry again, i think that you want to delete de default route:
To delete this "link-local" you should run:
route del link-local netmask 255.255.0.0
and i would try to add again default route
- 06-25-2010 #9Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
think you might be onto somthing there. It looks like
auto eth0 inet static
iface eth0 inet static
address 192.168.1.5
network 192.168.1.0te
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto lo
iface lo inet loopback
Before I started playing around with it, it only had the last two lines. I forgot to delete them after that experiment.
- 06-25-2010 #10Just Joined!
- Join Date
- Mar 2010
- Posts
- 16
I've done what you suggested (I put the also put the gateway back in) so now my routing table just has two entries:
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
I've done a network restart, but no signs of life.


Reply With Quote