View previous topic :: View next topic |
Author |
Message |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Mon Nov 19, 2007 9:46 pm Post subject: apipa persists after dhcp server is up |
|
|
This is driving me crazy: If the dhcp server is not up while the PC boots up an apipa is set as the IP address of my NIC. So far, so good. However, once the dhcp server (my ADSL router) is up again my PC will not give up the apipa to obtain a LAN IP address, but holds on to this useless (under the circumstances) apipa address.
I noticed that the MS Windows machines seem to have more 'intelligence' in this matter and they readily drop the apipa address for a freshly leased dhcp server LAN address.
How can I change this behaviour to my liking? _________________ Regards,
Mick
Last edited by MickKi on Tue Nov 20, 2007 8:22 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Tue Nov 20, 2007 8:21 pm Post subject: |
|
|
Any ideas guys? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Wed Nov 21, 2007 12:58 pm Post subject: |
|
|
Thank you UberLord,
It seems that it is the initialisation scripts: Code: | # /etc/init.d/net.eth0 start
* Starting eth0
* Loading networking modules for eth0
* modules: apipa arping ccwgroup macchanger macnet rename ifplugd iwconfig essidnet iptunnel iproute2 pppd system dhcpcd ip6to4
* ifplugd provides plug
* iwconfig provides wireless
* iproute2 provides interface
* pppd provides ppp
* dhcpcd provides dhcp
* Configuring eth0 for MAC address 00:02:A5:B6:A1:8F ... [ ok ]
* Starting ifplugd on eth0 ... [ ok ]
* Backgrounding ... | Meanwhile, I am running net-misc/dhcpcd-3.1.5-r1, but I seem to get stuck with the apipa address even after the DHCP server has come up. How long before the dhcpcd will pick up a 'proper' LAN address? Perhaps I am not waiting long enough? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|