Restarting the network
Sundar Nagarajan
sundar.personal at gmail.com
Thu Mar 4 05:41:10 UTC 2010
R Kimber wrote:
> After my broadband goes down and is then restored, my networking never
> restores automatically, and the command that Googling leads me to understand
> should restore it never works:
> sudo /etc/init.d/networking restart
> I've also tried
> ifup eth0
> and
> sudo /etc/init.d/network-manager restart
>
> In each case I get errors about eth0 being unknown.
>
> The logs say:-
> Mar 3 15:00:40 infinity NetworkManager: <info> (eth0): DHCP transaction
> took too long, stopping it.
> Mar 3 15:00:40 infinity NetworkManager: <info> (eth0): canceled DHCP
> transaction, dhcp client pid 1487
> Mar 3 15:00:40 infinity NetworkManager: <info> Activation (eth0) Stage 4
> of 5 (IP4 Configure Timeout) scheduled...
> Mar 3 15:00:40 infinity NetworkManager: <info> Activation (eth0) Stage 4
> of 5 (IP4 Configure Timeout) started...
> Mar 3 15:00:40 infinity NetworkManager: <info> (eth0): device state
> change: 7 -> 9 (reason 5)
> Mar 3 15:00:40 infinity NetworkManager: <info> Marking connection 'Auto
> eth0' invalid.
> Mar 3 15:00:40 infinity NetworkManager: <info> Activation (eth0) failed.
> Mar 3 15:00:40 infinity NetworkManager: <info> Activation (eth0) Stage 4
> of 5
> (IP4 Configure Timeout) complete.
> Mar 3 15:00:40 infinity NetworkManager: <info> (eth0): device state
> change: 9 -> 3 (reason 0)
> Mar 3 15:00:40 infinity NetworkManager: <info> (eth0): deactivating device
> (reason: 0).
>
> The only thing that works is a reboot. Am I using the wrong commands? Or
> is there a tweak that will overcome the problem?
>
> - Richard
Richard,
here's a useful reference to the ifupdown system used in Debian (Ubuntu):
http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_basic_network_configuration_with_ifupdown
Towards the end there is a fair amount of information on interactions
with tools such as NetworkManager and WiCD
--
Sundar Nagarajan
Linux User #170123 | Ubuntu User #2805
More information about the ubuntu-users
mailing list