doesn't renew IP when network cable is disconnected

Asked by Luciano Cassemiro

Ubuntu 8.04
My box is connected to a Linksys WRTG router. Sometimes that router dies due to power surge so Ubuntu thinks that the cable is disconnected right?
Then I turn the router on again, my Ubuntu gets disconnected after some time (lease time I suppose). To renew the address I need to type dhclient.

Is this a known issue?

Has anyone also seen it before? I've already found similar answers but none exactly helped me.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Luciano Cassemiro
Solved:
Last query:
Last reply:
Revision history for this message
Luciano Cassemiro (luciano-cassemiro) said :
#1

Solved:
Remove these line from /etc/network/interfaces:
auto eth0
iface eth0 inet dhcp

sudo /etc/init.d/networking stop
reboot

Enable network in nm-applet
Desable roaming to the wired interface and set it to dhcp.