Xebian ndiswrapper HOWTO
From Xbox-Linux
This HOWTO assumes you have Xebian installed and running. I made this because my USB Wireless adapter (D-Link DWL132G) is not supported by the version of ndiswrapper included in Xebian 1.1.4.
1. Login to a root terminal
2. Install required tools:
# apt-get install gcc-3.4 subversion
3. Change the gcc link in /usr/bin to point at gcc-3.4:
# rm /usr/bin/gcc # ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
4. Move to the source directory:
# cd /usr/src
5. Download the appropiate kernel headers and source:
kernel-headers-2.4.31-xbox_10.00.Custom_i386.deb (http://prdownloads.sourceforge.net/xbox-linux/kernel-headers-2.4.31-xbox_10.00.Custom_i386.deb)
kernel-source-2.4.31-xbox_10.00.Custom_all.deb (http://prdownloads.sourceforge.net/xbox-linux/kernel-source-2.4.31-xbox_10.00.Custom_all.deb)
| Missing image Icon-admonition-note.png Note | If you work on your xbox using a remote terminal copy the link location of the sourceforge mirror you choose (the one at the top that says "If you're download doesn't start automatically..." then do # wget URL |
|---|
6. Install packages:
# dpkg -i *.deb
7. Remove packages:
# rm *.deb
8. Unpack kernel source:
# tar -xjvf kernel-source-2.4.31-xbox.tar.bz2
9. Get the latest SVN source for NDISwrapper:
# svn co https://svn.sourceforge.net/svnroot/ndiswrapper/trunk/ndiswrapper ndiswrapper
10. Enter the ndiswrapper directory and compile/install the module (this shouldn't take more than a few minutes):
# cd ndiswrapper # make uninstall; make distclean; make; make install
11. Now follow the ndiswrapper wiki guide on installing windows drivers and configuring your interface [1] (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation#Install_Windows_driver). Ignore everything after you get the interface up (using dhclient) and instead follow this guide. [2] (http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianSarge#Permanent_setup_once_everything_is_working.) (use /etc/modules.xbox instead of /etc/modules)
12. You should be able to reboot Xebian and have your interface come up automatically at this point. Hello wireless MythTV frontend! :D

