If you run into an issue it might already have been fixed in more recent source tree version. An update might be enough to solve the problem. You have 2 option to get the latest changes for iwi(4), update to 8-stable as described in the handbook or use one this patches. I will try keep those updated with recent changes/fixes, if you are familiar with SVN you can also use this script which I use to generate the patches.
iwi_stable_8-20101120.patch | All iwi(4) related changes between stable/8 and releng/8.1 as of 2010/11/20. |
If you have the latest 8.1-RELEASE sources available in /usr/src, apply the following commands.
# cd /usr/src # patch -p0 < /path/to/iwi_stable_8-20101120.patch # make buildkernel # make installkernel # reboot
Please, before doing anything else, read the Wireless Networking chapter. You might have missed a line here and there while reading it the first time (you did read it, didn't you?). If the issue is still present after you read it the forth and fifth time, you might want to start narrowing the issue down by removing a few parts of your configuration. For example, if you use lagg(4) remove it from your setup and try to reproduce the issue. Same thing for any kind of encryption, WPA, WEP, etc.
Before reporting an issue either as a PR or directly to me, gather at least those information:
It might also be required to gather debugging messages of various parts involved. To do that add necessary settings to /boot/loader.conf.
debug.iwi=0xffffffff
and /etc/sysctl.conf.
net.wlan.debug=0xffffffff
This might be a bit spammy at time, but it does help to get a clue about what is going on, make sure to add your /var/log/messages file to the report.
Also, if you use WPA, running wpa_supplicant as either
wpa_supplicant -Dbsd -iwlan0 -c /etc/wpa_supplicant.conf -ddt
(prefered) or adding
wpa_supplicant_flags="-sddt"
to /etc/rc.conf might help to track the issue down.
/etc/rc.d/netif restart command is broken | |
Using this command will result in all kind of funny things, the worst being panics. | kern/144755 |