LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-01-2005, 12:34 PM   #16
bbo
Member
 
Registered: Mar 2004
Location: VA
Distribution: Slackware
Posts: 50

Rep: Reputation: 15

This is the mini how-to for Belkin F5D6001 Wireless PCI adapter (version 3)
using Ndiswrapper. (EDITED)
This card use RTL8180 chipset

Slackware 10.0

******************************
I got most of the part of this how to from
http://www.bryson.co.nz/files/ndiswrapper.html
Many Thanks!!!***
*****************************

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. (latest version has some bug when I install last week, so u use 0.10
version when u have a installation problem with latest version)

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
[user@host]\$ su
Password:
[root@host]\# make install

Now its time to get the driver files.
You can download rtl8081.sys and Bel6001.inf driver files here.

http://bbo.netfirms.com/Belkin6001_ver3_files.html
Any problems? let me know at bbo.isu at gmail.com

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
At that point you may encounter error, to solve this problem-
copy your rtl8081.sys to /etc/ndiswrapper/bel6001 folder manually by
using this command
[root@host]\# cp rtl8081.sys /etc/ndiswrapper/bel6001/

then issue this command

[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
ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers
ndiswrapper: driver bel6001 () 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
as root

[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
wireless device.

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.

[user@host]\$ make
[user@host]\$ su
Password:
[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
OR
[root@hotst]\$ 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 (for slackware!!!)
enter these commands in your /etc/rc.d/rc.local file.

/bin/sleep 1
/sbin/ifconfig wlan0 up
/bin/sleep 1
/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


Let me know if you have any problem,

Cheers

Last edited by bbo; 03-02-2005 at 12:52 AM.
 
Old 03-01-2005, 01:26 PM   #17
robertwatts_new
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Question

Thank you very much but what does this mean


Quote:
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
[user@host]\$ su
Password:
[root@host]\# make install


I am not sure about (cd) and (as a root run) and (make install) (all those things) please could you explain in common english

also do you write al this in a command window thingy (sorry dont know the name )

Thank you very much because i am a newbie and i hope i am not making any inconvenience to you.

thanks

Robert
 
Old 03-01-2005, 04:06 PM   #18
bbo
Member
 
Registered: Mar 2004
Location: VA
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
Quote:
Originally posted by robertwatts_new
Thank you very much but what does this mean






I am not sure about (cd) and (as a root run) and (make install) (all those things) please could you explain in common english

also do you write al this in a command window thingy (sorry dont know the name )

Thank you very much because i am a newbie and i hope i am not making any inconvenience to you.

thanks

Robert
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 (change directory to ndiswrapper-0.10)
[user@host]\$ su (substitute user, basically getting the root previlliages)
Password: (your root password)
[root@host]\# make install (install ndiswrapper)
 
Old 03-03-2005, 01:37 PM   #19
nickI-S
Member
 
Registered: Aug 2004
Location: Bristol UK
Distribution: SuSE 5.4 to 9.2, RedHat 7.3
Posts: 57

Rep: Reputation: 15
If you find the ndsiwrapper distribution which is easy to it is here:

http://prdownloads.sourceforge.net/n...ar.gz?download

You get a compressed tar file.

You unpack that by saying

prompt> tar xzvf ndiswrapper-1.0.tar.gz

You get a directory. In there are further instructions.

We can't easily send you a compiled version as it is an interface
to the kernel so it needs to know _exactly_ which pernel you have
this is easy for you as /usr/src/linux will probably point to it,
and the package just finds it that way.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin F5D6001 Wireless PCI Adapter and the Realtek RTL8180L andyjcam Linux - Wireless Networking 1 11-20-2004 09:18 PM
Driver installation for Belkin F5D6001 pci wlan card geostone Linux - Wireless Networking 2 09-16-2004 07:54 AM
Belkin F5D6001 Wireless PCI Card !? Suse 8.2 iner Linux - Wireless Networking 7 09-07-2004 02:52 PM
Belkin F5D6001 Wireless PCI Card problems with linux-wlan and Realtek 8180 Chipset. NLR Linux - Hardware 1 09-02-2004 03:31 PM
Belkin F5D6001 wireless pci card on Debian Linux - problem dr_azeem Linux - Wireless Networking 3 11-23-2003 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration