By bbo at 2005-02-08 17:34
This is the mini how-to for Belkin F5D6001 Wireless PCI adapter (version 3)
This card use RTL8180 chipset
This how-to is just for my personal howto and want to share with you guys.
I got most of the part of this how to from
Ndiswrapper is a project that provides a kernel module to load windows NDIS
drivers under linux. NDIS stands for Network Driver Interface Specification
and is a Windows driver interface that allows for a single NIC to support
multiple network protocols, for example IPX and TCP/IP. Most cards that do
not have native linux drivers are supported. While still in beta, the latest
version is quite usable. Keep in mind that this is beta quality software and
crashes and even kernel panics can be caused by buggy kernel modules. This
tutorial assumes you have basic knowledge of simple shell commands and basic
linux networking. If you are unfamiliar with these concepts there are basic
tutorials at tldp.org
Download the latest version of ndiswrapper from
http://sourceforge.net/projects/ndiswrapper. Scroll down to latest file
releases and click download. The latest release at the time of writing was
0.10. Then download the Windows XP drivers for this card from
Extract the ndiswrapper sources with
[user@host]\$ tar xzf ndiswrapper-0.10.tar.gz
Then cd into the source directory, and as root run make install to build and
install the ndiswrapper kernel module.
[user@host]\$ cd ndiswrapper-0.10
[root@host]\# make install
You can download BEL6001.sys and Bel6001.inf driver files here.
Any problems? let me know at bbo.isu at gmail.com
You need a windows XP machine to get the BEL6001.sys and Bel6001.inf
You can use some software to extract these files from cab file. Cab file can
get by unzipping F5D6001_ver3.exe, that you download from www.belkin.com.
The way I did was installed F5D6001_ver3 to windows XP machine that I
download from www.belkin.com and used search to find those files. If you
need those file without doing anything, just email me at firstname.lastname@example.org,
I can send you those files.
Once you got those windows inf and sys file, copy it to a folder, just
memorize where you copy to, (/home/user is a good place) and install it using
ndiswrapper -i as root.
For the rtl8180 the file in question is Bel6001.INF. Once
installed, run ndiswrapper -l also as root to see the status of your
installed driver. If you're using the correct driver you should see a
message stating the hardware is present. Replace /home/user with the full
path to where you extracted the driver.
[root@host]\# ndiswrapper -i /home/user/Bel6001.INF
[root@host]\# ndiswrapper -l
Installed ndis drivers:
bel6001 hardware present
This tests to see if the directory /etc/ndiswrapper exists, and if it does
not it creates it. It then copies all of the necessary files to this
directory and creates the configuration for your card. You will then need to
load the ndiswrapper module, and check to see if it generates any error
messages. Do this by typing as root
[root@host]\# modprobe ndiswrapper
[root@host]\# dmesg | grep ndiswrapper
ndiswrapper version 0.10 loaded (preempt=yes,smp=no)
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:0e:2e:06:ef:d7 using driver BEL6001.sys
ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers
ndiswrapper: driver BEL6001.sys () added
You should see a great deal of information after the dmesg command. Some of
the details may be different on your system, for example the hardware
address of the ethernet device. The most important thing is to check for any
errors. In this output, if the module has loaded successfully you should see
ndiswrapper version <version> loaded. If you have the correct windows driver
installed ndiswrapper will load it, and you will see ndiswrapper: driver
<driver>. You should also at this stage see some or all of the LEDs on your
wireless card light up. If everything has gone smoothly so far, you write
the settings to cause ndiswrapper to load automatically on boot by running
[root@host]\# ndiswrapper -m
This adds a line into /etc/modprobe.conf that states alias wlan0
ndiswrapper. This causes the ndiswrapper kernel module to be loaded
automatically when you use the interface wlan0, which is your default
Now you will need to configure your device using iwconfig or ifconfig. If
you do not have the linux wireless tools package download it from here.While
it is not necessary to have these tools to use a simple wireless setup you
will find them quite useful. Click 'Download' and then scroll right to the
bottom of the page. You'll see quite a few packages and down near the bottom
some named 'wireless tools'. Grab the latest version you see there which is
at the time of writing wireless_tools.26.tar.gz.
Extract sources and cd into the source directory. Then run make and manually
copy the binaries and documentation it creates into the correct directories.
While you can run make install it is not advised by the developers.
[root@host]\# cp iwconfig iwspy iwpriv /usr/sbin
[root@host]\# cp iwconfig.8 iwspy.8 /usr/man/man8
At that point the problem I got is libiw.so.27 couldn't load. So I find
libiw.so.27 using search, then copy and paste it to /lib folder.
Reading the iwconfig man page would be a good next step. There are many
possible configurations for a wireless network. A very simple configuration
with a single access point and your Internet gateway at 192.168.0.254 could
be set up like this
[root@host]\$ ifconfig wlan0 up
[root@host]\$ ifconfig wlan0 192.168.0.5 // assign your IP
[root@host]\$ route add -net 0.0.0.0/0 gw 192.168.0.254
[root@host]\$ route add default gw 192.168.0.254 // any one works for you
If you have set things up after you assign an ip address to wlan0 you should
be able to ping your gateway. Once you have set this default route you
should be able to ping Internet addresses. Note that if you cannot ping your
gateway after the second command the third will fail. You must be able to
see your gateway before you can add it as your default route. You will also
have to check that you have valid dns settings in /etc/resolv.conf
(should be (nameserver 192.168.0.254 (192.168.0.254 is your gateway)).
While you can use iwconfig to manually force the card to register with a
certain access point the card by default will use automatic mode which
selects the best access point in range. If you have to use WEP or manually
set a channel the iwconfig man page has more information.
To load your wireless adapter at start up (Slackware 10.0).
enter these commands in your /etc/rc.d/rc.local file. (slackware 10.0)
/sbin/ifconfig wlan0 up
/sbin/ifconfig wlan0 up // for some reason, I've to do wlan0 up twice when I put it in rc.local file
/sbin/ifconfig wlan0 192.168.1.135 // assign your IP
/sbin/route add default gw 192.168.1.1 // add default gateway
If you see any error in above how-to, let me know.