LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Realtek RTL8187B Wireless install on Slackware 12.1 using ndiswrapper (https://www.linuxquestions.org/questions/linux-hardware-18/realtek-rtl8187b-wireless-install-on-slackware-12-1-using-ndiswrapper-647077/)

muxsu 06-04-2008 09:22 PM

Realtek RTL8187B Wireless install on Slackware 12.1 using ndiswrapper
 
Realtek RTL8187B Wireless Network card install on Slackware 12.1 using ndiswrapper

I got some of these install instructions from http://alien.slackbook.org/dokuwiki/...re:ndiswrapper and the README files that come with ndiswrapper.

Download ndiswrapper 1.53 from http://downloads.sourceforge.net/ndi...5&big_mirror=0 or you can also go to the homepage: http://ndiswrapper.sourceforge.net/joomla/

Unzip the file:
tar –zxvf ndiswrapper-<version>.tar.gz

enter the directory:
cd ndiswrapper-<version>

Build ndiswrapper:
Make uninstall
Make
Make install

Find the address of your network card using:
lsusb
Look for something like Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
My address is 0dba:8189

Download the Realtek RTL8187B wireless card drivers (description: Window Driver (support Win98/WinME/Win2K/WinXP/Vista),vista driver ver.6.1089,xp/2000 driver 5.1097) from their website: http://www.realtek.com.tw/downloads/...Downloads=true

Unzip drivers:
unzip RTL8187B_drive_only.zip

Enter the driver directory:
cd /RTL8187B/WinXP/

Find net8187b.inf file and edit it (I used pico)

Look for:
;;****************************************************************************
;; IDs for 98SE/ME/2K/XP
;;****************************************************************************
[Realtek]
%RTL8187B.DeviceDesc% = RTL8187B.ndi, USB\VID_0BDA&PID_8187&REV_0200

***ADD THIS LINE TO THE FILE WITH YOUR ADDRESS***

%RTL8187B.DeviceDesc% = RTL8187B.ndi, USB\VID_0BDA&PID_8189&REV_0200


Install the drivers:
ndiswrapper –i RTL8187B<your directory>.inf

See if the install is a valid install by listing the installed drivers:
ndiswrapper –l

This should echo something like:

net8187b : driver installed
device (0BDA:8189) present

If it doesn’t say this, it will just say driver installed and you need to start doing some research as to why it won’t work.. (btw, it took me about 5 hours until I figured it all out) You may have the wrong device address. Try using lsusb again.

If it does work, load the module:
modprobe ndiswrapper

The module doesn’t load automatically on each boot.. To load it on boot edit /etc/rc.d/rc.modules and add /sbin/modprobe ndiswrapper to the file.

I wanted my network interface to be know as wlan0 so I edited /etc/modprobe.conf and added alias wlan0 ndiswrapper to the file.

If you make it this far you can reboot or restart rc.inet1 (/etc/rc.d/rc.inet1 wlan0_start)

Now you need to edit your network configuration files. I am not sure what you will be using but I am using a dynamic ip connecting to a keyless router. Go here for help: http://alien.slackbook.org/dokuwiki/..._configuration

Start by editing /etc/rc.d/rc.wireless.conf and /etc/rc.d/rc.inet1.conf

In /etc/rc.d/rc.inet1.conf I disabled eth0 through eth3 by adding #

THIS WAS THE DEFAULT:
# Config information for eth0
IPADDR[0]=””
NETMASK[0]=””
USE_DHCP[0]=”yes”
DHCP_HOSTNAME[0]=””

THIS IS WHAT I CHANGED IT TO:
# Config information for eth0
#IPADDR[0]=””
#NETMASK[0]=””
#USE_DHCP[0]=”yes”
#DHCP_HOSTNAME[0]=””
*Do this for eth0-eth3

Then I scrolled down and changed the information for wlan0 to this:
DEFAULT:
#IFNAME[4]=”WLAN0
#IFADDR[4]=””
#NETMASK[4]=””
#USEDHCP[4]=”yes”
#DHCP_HOSTNAME[4]=”SOMETHING.ORG”


#WLAN_WPADRIVER[4]=”ndiswrapper”


#HWADDR[4]=”<YOUR HWADDR HERE>”
*Your HWADDR is your MAC address. You can find it with ifconfig wlan0. Look for the 12 digit hex address. It will look something like Hwaddr 00:e0:b8:6f:12:ff

THIS IS MY CHANGE:
IFNAME[4]=”wlan0”
IFADDR[4]=””
NETMASK[4]=””
USEDHCP[4]=”yes”
DHCP_HOSTNAME[4]=”natal.rr.com”


WLAN_WPADRIVER[4]=”ndiswrapper”


HWADDR[4]=” 00:e0:b8:6f:12:ff”

Save changes and reboot, or you can run /etc/rc.d/rc.inet1 wlan0_start

That’s it, of course it’s usually never that easy :P but, hopefully this will help you out some. Like I said, you need to read all the REAME, INSTALL files, and search keywords in GOOGLE. Work at it for weeks it you have to, I had to and it made getting it to work sweeter!


All times are GMT -5. The time now is 08:26 AM.