[lfs-support] wifi issues
richard.melville69 at googlemail.com
Thu May 8 02:03:01 PDT 2014
> > help me through the
> > principles and the details, with a new Hint as a result (because the
> > old one is rather out of date).
> > Hans.
There's nothing wrong with the instructions in the book as long as you
understand that getting wifi working is usually a two-stage process:
the first is loading the kernel driver and firmware (if necessary),
and the second is associating the device with the wireless router
using encryption. At least, that is the most common scenario.
To get started, and forgetting about packages like NetworkManager et
al, just install wireless tools and wpa_supplicant. Then, once you
have installed the correct driver and firmware (inspect dmesg) you
should see wlan0, or something similar, when you run iwconfig as root.
You will also see "no association". If you haven't done so already,
you now need to configure wpa_supplicant, as per the book, to set up
encryption and association with the wireless router. When you have
done that, and if you have followed the book, run the following
command as root:-
wpa_supplicant -iwlan0 -c/etc/sysconfig/wpa_supplicant-wifi0.conf -d
where -i is your interface and -c is your configuration file. This
will run the daemon in the foreground and output the results to the
console giving debug info. Wpa_supplicant has well written man pages
which you can use.
If all goes well you can run iwconfig again, as root, and you should
see that your wifi adapter has now associated itself with your
wireless router, and is displaying it's MAC address.
Once you are happy that it's working you can, if you wish, install
Armin's bootscript, which appears to work well.
I hope that's of some help.
More information about the lfs-support