Ik ben LINUX aan het leren

11 april 2007

Broadcom wifi gebruiken

Na bijna een half jaar is het me eindelijk gelukt om draadloos te internetten op m'n laptop. Deze artikel gaat over het instellen van een "broadcom 4306"-netwerkkaart. Tijdens het internetten kwam ik het volgende artikel tegen, die voor mij werkt:
This laptop includes 802.11b/g support through a Broadcom BCM4306 chipset. Fedora Core 6 does include the bcm43xx Open Source driver. It's a little rouge around the edges but does work.

First you'll need the WINE Windows emulator to extract the firmware from the XP driver as well as a tool to cut the firmware out of the drivers:

# yum -y install wine bcm43xx-fwcutter

Second you'll need to download the XP Broadcom Wifi drivers from HP's support site. The file should be called sp30381.exe . Then run it through WINE to extract the files:

$ wine sp30381.exe

This will extract the files to ~/.wine/drive_c/SWSetup/SP30381A where you will need to use the fwcuttter you also installed to yank the firmware out of the driver files. You'll need to run this as root as it will install the firmware in the correct system directory.

# cd ~user/.wine/drive_c/SWSetup/SP30381A
# bcm43xx-fwcutter -w /lib/firmware bcmwl5.sys

Then finally create a file /etc/modprobe.d/bcm43xx with the following contents:

alias pci:v000014E4d0x00004301sv*sd*bc*sc*i* bcm43xx
alias pci:v000014E4d0x00004307sv*sd*bc*sc*i* bcm43xx
alias pci:v000014E4d0x00004318sv*sd*bc*sc*i* bcm43xx
alias pci:v000014E4d0x00004320sv*sd*bc*sc*i* bcm43xx
alias pci:v000014E4d0x00004324sv*sd*bc*sc*i* bcm43xx
alias pci:v000014E4d0x00004325sv*sd*bc*sc*i* bcm43xx

Then you should be able to load the module and it should appear as eth1 and you can set up that interface as any other wireless interface. (modprobe bcm43xx)

Wanneer je de bovenstaande instructies met succes heb gevolgt, installeer je de "wifi-radar". Vervolgens start je de computer opnieuw op. Daarna start je de programma op en klik je op "New" en voer je de draadloos netwerkgegevens in en klik je weer op "Ok".
Als je nu op "connect" klikt dan wordt een ip-adres ontvangen van de router en kun je draadloos internetten!

PS. De handeling "Connect" moet je iedere keer uitvoeren na het starten van de computer, omdat tijdens het starten niet lukt om een ip-adres te ontvangen.

Bron: http://www.fedora-linux.nl/forum/viewtopic.php?p=12696#12696