help with unbutu 10.4 networking ??
hi guys
i am newbie to Linux i have unbutu 10.4 server running on pc and connected to my router it works fine for 6 days and it gets disconnected and when i login into my router i can see it says lease expired and i have to Force DHCP client (dhclient) to renew ip address manually my question is How can I configure Linux dhclient command to continuously requests an IP lease until one is granted by DHCP Server / Router? thanks guys |
is is not clear which Deskop you are using - assuming gnome2 based on Ubuntu 10.4
you will have to define your connection on Network-Manager (icon on one of your corners) click on it and choose your connection - wired, and set it to auto (dhcp) hope it helps |
look at /etc/network/interfaces and make sure the interface is defined as having a dynamic address:
vi /etc/network/interfaces You should see a line like 'iface eth0 inet dhcp'. If it instead says 'iface eth0 inet static' you can still run dhclient but the system will not do it automatically. |
Quote:
thanks for your reply and your help i have checked it and i remembered now that i have changed from 'iface eth0 inet dhcp' to 'iface eth0 inet static' do you think if i change it back to 'iface eth0 inet dhcp' . the system will do it automatically. |
yes - after a reboot or restart of networking
|
Quote:
i did it and i will see what is going to happen cheers |
All times are GMT -5. The time now is 12:21 PM. |