SIOCSIFFLAGS: Cannot assign requested address

Live forum:


27-08-2008 09:04:41

Hi all,

I recently decided to update my kernel from 2.6.13 to 2.6.26. So far everything was working fine with 2.6.13, with 2 years old drivers that I never updated.

For 2.6.26 I used the CVS hourly tarball and it compiled fine on the 2.6.26 kernel.

However I cannnot have an IP address from my WiFi router. I have an error like "SIOCSIFFLAGS Cannot assign requested address" in /var/log/message. This happends sometime when it tries to have an IP with dhcp.
I usually let my Slackware to set up the connection automatically with some scripts. I tried a manual "ifconfig rausb0 up" but it does not work. It does not raise the SIOCSIFFLAGS error but it just cannot communicate with the dhcp server so I guess I need to run additional commands before, do you know which ones ?

Also my Slackware uses the wireless-tool package version 27, the latest one is version 29. Can it be a reason of the problem ?

I am not on my machine currently so I can not post the full output of the logs, I will do it latter.
If I have some time I will try to compile the CVS hourly tarball against the 2.6.13 and see if I have the problem again.

Thanks for your help,


27-08-2008 17:41:27


I just solved it. I updated the wireless-tools to version 29.
I think the script in /etc/rc.d/rc.wireless was not working correctly with the latest version of the drivers, but it is fine now.



27-08-2008 17:46:23

Ok, I was about to suggest that, but you did before I could post my reply ;).