You are not logged in.
I connect to the AP at home. All is fine. I go to work and try to connect to the AP there. I get an error saying the dhcp lease fails. I 'rm /var/lib/dhcpcd/dhcpcd-wlan0.lease' and try again and it works. Then it starts again when I need to connect back to the other AP.
Basically I need to add 'rm /var/lib/dhcpcd/dhcpcd-wlan0.lease' to run after netcfg disconnects the profile.
Notes: There was a forum post about this months ago, I also created a bug report; someone closed it with a comment of "works for me". I connect with netcfg, using net-profiles, netcfg-menu, and netcfg profilename, depending on the circumstance. It doesn't matter which is used. Both profiles are based on the wireless-wpa template in /etc/network.d/examples and there are no errors in them.
Last edited by Sjoden (2010-08-19 22:23:23)
Offline
you can add this command by adding the line in your wlan0 profile
PRE_UP="rm /var/lib/dhcpcd/dhcpcd-wlan0.lease"
you can read the wiki entry for more info.
Offline