Posted by: anomsuratno | February 8, 2008

Mengaktifkan WLAN Broadcom 43xx dengan Ndiswrapper

Out With the Bad

The kernel module that serves as the device driver for this wireless
card is called ‘bcm43xx’. As root, remove it from memory, as in this
example:

[2338][scott@laptop:~]$ su
Password:
laptop:/home/scott # rmmod bcm43xx

Now, we have to politely instruct the system to refrain from loading
this module ever again. To do this, we are going to ‘blacklist’ the
module. As root, edit /etc/modprobe.conf.local . Add this line to tell it to never load the bcm43xx module:

blacklist bcm43xx
In With the Good

Ndiswrapper is a way to use a Windows driver in Linux. Thusly, the first thing you need to do is grab said Windows driver from this link.
Download it to somewhere that you will remember. When it is done, go
there, and extract the file (can be done as regular user):

[2339][scott@laptop:~]$ tar -jxvf bcmwl5.tar.bz2
bcmwl5/
bcmwl5/bcmwl5.inf
bcmwl5/bcmwl5.sys
[2339][scott@laptop:~]$

Next, as root, let’s install ndiswrapper using YAST with this simple command:

[2340][scott@laptop:~]$ su
Password:
laptop:/home/scott # yast -i ndiswrapper

Now we need to get ndiswrapper to run the wireless card. This is done as root as in this example:

[2341][scott@laptop:~]$ su
Password:
laptop:/home/scott # ndiswrapper -i /path/to/bcmwl5.inf

You can use ndiswrapper to make sure it worked like this:

[2342][scott@laptop:~]$ su
Password:
laptop:/home/scott # ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present

If you see something like that, you are golden.

Next, we need to write a config file for ndiswrapper. This is done with the following command (as root):

[2342][scott@laptop:~]$ su
Password:
laptop:/home/scott # ndiswrapper -m

Remove all CAT-5 cables from your machine, and then let’s start up ndiswrapper (as root):

[2342][scott@laptop:~]$ su
Password:
laptop:/home/scott # modprobe ndiswrapper

It’s just about set up. Now, we need to make sure it will work
properly when we reboot. We also need to put in the wireless networking
configuration for this adapter.

Make It Work Automatically on Reboot

Now obviously, when the machine reboots, we want to ensure that ndiswrapper
is loaded and used to run this wifi card. To do this is absolute cake.
Go into YAST, go into the Network Devices, and then into the Network
Card. Select the Broadcom wifi card in the list of adapters. Click
CONFIGURE. In the HARDWARE tab, there is a drop-down box called “Module
Name”. Type ‘ndiswrapper‘ in there. Click NEXT to configure your wireless network settings for this adapter.

If you have set up the wireless access point, you should know all
the configuration details that should be entered into this screen. If
you don’t, you can ask your system administrator to help you figure it
out. In any case, fill out this screen with all the appropriate
information.

Click NEXT again, and then FINISH.

Take all CAT-5 cables out of your machine, and reboot. When it comes back up, use iwconfig and ifconfig
to see if you have an IP address. Head to google and search for
something. If you are able to do this, you are in great shape. As such,
we are done here.


S

Powered by ScribeFire.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: