Libertas Thinfirmware HOWTO: Difference between revisions
(New page: This documents describes testing the softmac solution for the 88w8388 device included in the XO. We also refer to this project as Thinfirm. The objective of this project is to make possibl...) |
RafaelOrtiz (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
This documents describes testing the softmac solution for the 88w8388 device included in the XO. We also refer to this project as Thinfirm. The objective of this project is to make possible to use an XO as a soft wireless access point. |
This documents describes testing the ''softmac'' solution for the 88w8388 device included in the XO. We also refer to this project as '''Thinfirm'''. The objective of this project is to make possible to use an XO as a soft wireless access point. |
||
== Getting the firmware == |
== Getting the firmware == |
||
<pre> |
<pre> |
||
# wget http://dev.laptop.org/pub/firmware/libertas/thinfirm/lbtf_usb-5.132.1.p0.bin |
# wget http://dev.laptop.org/pub/firmware/libertas/thinfirm/lbtf_usb-5.132.1.p0.bin |
||
Line 8: | Line 9: | ||
== Getting and compiling the kernel == |
== Getting and compiling the kernel == |
||
Get the kernel: |
* Get the kernel: |
||
<pre> |
<pre> |
||
git clone git://dev.laptop.org/users/javier/libertastf.git |
git clone git://dev.laptop.org/users/javier/libertastf.git |
||
Line 20: | Line 21: | ||
</pre> |
</pre> |
||
Build and install. |
* Build and install. |
||
If libertas driver (the former, fullmac one) is also compiled, both will compete for the device when it is discovered. In this case we recommend to blacklist one of the two modules in /etc/modprobe.d/blacklist (may vary among different distributions) so the other will be the one to load. |
If libertas driver (the former, fullmac one) is also compiled, both will compete for the device when it is discovered. In this case we recommend to blacklist one of the two modules in /etc/modprobe.d/blacklist (may vary among different distributions) so the other will be the one to load. |
||
Line 26: | Line 27: | ||
== Switching to libertastf == |
== Switching to libertastf == |
||
If libertastf module has been blacklisted and thus libertas gets loaded, it is possible to |
If libertastf module has been blacklisted and thus libertas gets loaded, it is possible to easily test the libertastf driver: |
||
<pre> |
<pre> |
||
# rmmod usb8xxx libertas |
# rmmod usb8xxx libertas |
Revision as of 23:50, 12 May 2008
This documents describes testing the softmac solution for the 88w8388 device included in the XO. We also refer to this project as Thinfirm. The objective of this project is to make possible to use an XO as a soft wireless access point.
Getting the firmware
# wget http://dev.laptop.org/pub/firmware/libertas/thinfirm/lbtf_usb-5.132.1.p0.bin # cp lbtf_usb-5.132.1.p0.bin /var/lib/firmware/lbtf_usb.bin
Getting and compiling the kernel
- Get the kernel:
git clone git://dev.laptop.org/users/javier/libertastf.git
Please note that this kernel is not appropriate for XOs. 2.6.26-rc1 was recently merged into olpc-2.6 master and we will add another tree or branch for XOs when it stabilizes a bit.
Enable mac80211 support and the following specific driver options:
CONFIG_LIBERTAS_THINFIRM=m CONFIG_LIBERTAS_THINFIRM_USB=m
- Build and install.
If libertas driver (the former, fullmac one) is also compiled, both will compete for the device when it is discovered. In this case we recommend to blacklist one of the two modules in /etc/modprobe.d/blacklist (may vary among different distributions) so the other will be the one to load.
Switching to libertastf
If libertastf module has been blacklisted and thus libertas gets loaded, it is possible to easily test the libertastf driver:
# rmmod usb8xxx libertas # modprobe libertastf_usb # ifconfig wlan0 up # iwconfig wlan0 essid whatever # dhclient wlan0