|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Out of the box Debian 4.0 installation.
/etc/network/interfaces ------------------------------- allow-hotplug eth0 iface eth0 inet dhcp ------------------------------- Unplugging my network cable I get the following output: e100: eth0: e100_watchdog: link down Plugging it in again recognized that it's connected in, but the IP will not renew. On reboot it always renews the IP correctly. Why does it not renew the IP automatically? Should I be using something other than "allow-hotplug"? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Mon, Aug 20, 2007 at 02:50:27PM -0600, betty Snoop wrote:
> ------------------------------- > allow-hotplug eth0 > iface eth0 inet dhcp > ------------------------------- > Plugging it in again recognized that it's connected in, but the IP will not > renew. On reboot it always renews the IP correctly. > > Why does it not renew the IP automatically? Should I be using something > other than "allow-hotplug"? I am not sure about whether it is needed, but do you have auto eth0 somewhere in your interfaces file? man interfaces seems to suggest having that as well... HTH. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
betty Snoop wrote:
> Out of the box Debian 4.0 installation. > > /etc/network/interfaces > ------------------------------ > - > allow-hotplug eth0 > iface eth0 inet dhcp > ------------------------------- > > Unplugging my network cable I get the following output: > e100: eth0: e100_watchdog: link down > > Plugging it in again recognized that it's connected in, but the IP will > not renew. On reboot it always renews the IP correctly. > > Why does it not renew the IP automatically? Should I be using something > other than "allow-hotplug"? Maybe auto eth0? Maybe your router is forgetting IPs? Mine does and I just put a cron.hourly with a dhclient eth0... Regards, Jose Luis. -- ghostbar on debian linux 'sid' 2.6.22 x86_64-SMP - #382503 Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es San Cristóbal, Venezuela. http://chaslug.org.ve Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA B118 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGyl3tOKCtW8rKsRgRAnfkAJ9yaWtmvxURTXSFSfeZzy +IUkEJ7gCdF/hJ v6/yrv0bwg8DqFr4cd+WT9Y= =9jjE -----END PGP SIGNATURE----- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> I am not sure about whether it is needed, but do you have auto eth0 > somewhere in your interfaces file? man interfaces seems to suggest > having that as well... > The man page for interfaces states the following: "allow-auto" and "auto" are synonyms -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Tue, Aug 21, 2007 at 08:57:35AM -0700, betty wrote:
> The man page for interfaces states the following: > "allow-auto" and "auto" are synonyms Accepted. Thanks for the pointer. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Mon, Aug 20, 2007 at 14:50:27 -0600, betty Snoop wrote:
> Out of the box Debian 4.0 installation. > > /etc/network/interfaces > ------------------------------- > allow-hotplug eth0 > iface eth0 inet dhcp > ------------------------------- > > Unplugging my network cable I get the following output: > e100: eth0: e100_watchdog: link down > > Plugging it in again recognized that it's connected in, but the IP will not > renew. On reboot it always renews the IP correctly. > > Why does it not renew the IP automatically? Should I be using something > other than "allow-hotplug"? As far as my experience goes, the most reliable approach for this kind of situation is to install "ifplugd" and to configure it to handle all wired network interfaces which are not plugged in permanently. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|