Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 10-08-2008, 01:22 PM   #1
LQ Newbie
Registered: Jul 2008
Location: NY
Distribution: slackware 12.1
Posts: 19

Rep: Reputation: 1
Thumbs up Setting up Broadcom wireless networking under Slackware 12.1 (new bcmwl6.inf driver)

Setting up Broadcom wireless networking under Slackware 12.1 (new bcmwl6.inf driver)

a lot of people having hard time to setup this driver.I was one of them.
It takes me like 8 hours searching in google ,and reading other people feedback and answers

and the funny part here , i downloaded the driver from dell , and my computer is HP
it didn't work when I tried HP driver


before you start
I want to give you some notes
this tutorial work if your lspci output Is
04:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)

I did that in slackware 12.1 32 bit kernel ,not 64 bit

I read Pappy McFae document , and this version is new of his topic

maybe you have other built in driver , you will need to add them to the blacklist

I will explain how to use WPA in wireless networking , because its much better in security
and much easier
ok lets start


clean your system if you have old ndiswrapper
if not skip to 2nd part

remove any loaded modules
root@nyc:~# rmmod ndiswrapper

remove any loaded driver
root@nyc:~# ndiswrapper -r `ndiswrapper -l |grep installed | awk '{print $1}'`


blacklist kernel builtin driver to make sure nothing gonna conflict with your new driver
root@nyc:~# echo 'blacklist bcm43xx' >> /etc/modprobe.d/blacklist

you must reboot if you have any driver builtin into your kernel
if not
go ahead

I like to make new directory to make my system neat
root@nyc:~# mkdir wifi
root@nyc:~# cd wifi/

now download the ndiswrapper

untar and install

root@nyc:~/wifi# tar xzvf ndiswrapper-1.53.tar.gz
root@nyc:~/wifi# cd ndiswrapper-1.53

root@nyc:~/wifi/ndiswrapper-1.53# make uninstall
root@nyc:~/wifi/ndiswrapper-1.53# make distclean

maybe you will get error massage here if you haven't installed before ndiswrapper before
so don't panic

root@nyc:~/wifi/ndiswrapper-1.53# make
to compile it

root@nyc:~/wifi/ndiswrapper-1.53# make install
to install it in your system

now you need to get the right driver to make it work

and this topic for people who have lspci out = 04:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)


where I can get the driver ?

you can download it from here (90 MB)

and extract it in any windows box
and use folder called DRIVER
use my uploaded version
I uploaded for you to make it easier for the people who don't have high speed Internet

(1.2 MB)
root@nyc:~/wifi# wget

root@nyc:~/wifi# tar xzvf driver.tar.gz

root@nyc:~/wifi# cd driver
root@nyc:~/wifi/driver# ls bcmwl5.inf bcmwl5.sys bcmwl564.sys

now lets use this windows driver

root@nyc:~/wifi/driver# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...

if you got any error in this part that mean this driver not gonna work with your wireless card

now enter this commend
root@nyc:~/wifi/driver# ndiswrapper -l
the output must be like that

bcmwl5 : driver installed
device (14E4:4315) present

if you got output like that only

bcmwl5 : driver installed

that mean something wrong with the driver , and cannot continue installing this driver


root@nyc:~/wifi/driver# ndiswrapper -m

don't worry if you got error massage here nothing panic

then type next commands

root@nyc:~/wifi/driver# ndiswrapper -ma

root@nyc:~/wifi/driver# ndiswrapper -mi

root@nyc:~/wifi/driver# modprobe ndiswrapper

root@nyc:~/wifi/driver# echo ndiswrapper >> /etc/modules

root@nyc:~/wifi/driver# depmod -a

this commend to make sure the modules work are installed and set up properly.


now you must reboot

ok WB xD

now to make sure every thing is ok type dmesg |grep ndis

root@nyc:/home/raiden/ndiswrapper-1.53# dmesg |grep ndis
ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
ndiswrapper: driver bcmwl5 (Broadcom,09/20/2007, loaded
ndiswrapper: using IRQ 20
usbcore: registered new interface driver ndiswrapper
ndiswrapper: changing interface name from 'wlan0' to 'eth1'

if you have seen something like that
that mean every thing is ok
if not
that mean you need to retry again


lets go ahead

now our driver is already installed , we need to connect to the Internet using WPA encryption

Pappy McFae topic was very complex about this part

dont worry im gonna show you how to do it with in 1 min

my wireless interface is eth1

you can check yours by this commend


I think you will know which one is wireless and which not

slackware 12.1 comes with all wireless tools you need

so lets go on

you have to scan your network first

root@nyc:~# iwlist eth1 scan

Cell 05 - Address: 00:12:0E:55:26:26
Protocol:IEEE 802.11g
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK


network name = raiden
mode = Managed
Channel = 6
security = WPA
note:boot commands start here
we need to to use WPA security modules to make sure our encryption work

root@nyc:~# modprobe ieee80211_crypt_tkip

now we need to config wpa_supplicant
root@nyc:~# ifconfig eth1 up

root@nyc:~# killall wpa_supplicant
use it if you run wpa_supplicant before

root@nyc:~# wpa_passphrase raiden 'linux rock' > /etc/wpa_supplicant.conf

raiden is my network essid name

I used ' ' because I have space in my password

linux rock is my network wpa key

root@nyc:~# iwconfig eth1 mode Managed

root@nyc:~# iwconfig eth1 essid raiden
change raiden to any other network name
root@nyc:~# iwconfig eth1 channel 6

change number 6 to any other network number

channel 6 is my network channel

root@nyc:~# wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -d -D wext&

rock it baby

now we need to get ip address

my IP address :
subnet mask :
gateway :
dns :

now lets get our ip address

root@nyc:~# ifconfig eth1 up
root@nyc:~# ifconfig eth1 netmask

root@nyc:~# route add default gw
add your gateway

root@nyc:~# echo 'nameserver' >/etc/resolv.conf
that if you want to delete the old dns
if not

use echo like that
root@nyc:~# echo 'nameserver' >> /etc/resolv.conf

make sure you have '>>'

if you want to get your ip via DHCP use the next commend

root@nyc:~# dhcpcd eth1 up

now if you want to get ipaddress when your computer boot

dhcpcd eth1 up

and chmod it

chmod +x

for static ip

use static commend s in rc.local and chmod it

just open it with any editor and add your commands

if you want to rewrite it its ok

it doesn't matter if my name was in the document or not


have nice day guys xD

Last edited by Dj.r4iDeN; 10-13-2009 at 07:25 PM.
Old 09-14-2009, 03:28 PM   #2
LQ Newbie
Registered: Aug 2008
Location: Partizánske, Slovakia
Distribution: Slackware 12.1
Posts: 1

Rep: Reputation: 0
Works also on Slackware 64 13.0

I'm tested this tutorial on 64bit slackware 13.0 on my notebook hp dv5 1132es and it works without any problems. I'm only test drivers from author's link.
Old 09-20-2009, 04:54 PM   #3
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Pi OS & Android
Posts: 11,784

Rep: Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387

Maybe next time we could have less white space, please. Too many <return><return><return>s
Old 09-20-2009, 09:11 PM   #4
LQ Newbie
Registered: Mar 2006
Location: KENT OH US
Distribution: mostly Ubuntu 16
Posts: 7

Rep: Reputation: 1
Applied bits of this to problems I've been having getting my Belkin (Broadcom) wireless card working with Slackware 12.2 and had success - thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ndiswrapper broadcom bcmwl6 bychan Linux - Wireless Networking 23 04-25-2009 04:55 PM
Setting up Broadcom wireless networking under Slackware 11 pappy_mcfae LinuxAnswers Discussion 5 01-14-2009 08:33 PM
Anyone did neti2220.inf wireless driver work on Slackware? Panagiotis_IOA Slackware 2 03-23-2007 06:04 PM
Need Broadcom inf FinalStar Linux - Wireless Networking 1 08-09-2004 12:53 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:06 AM.

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