Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Wireless driver for HP DV9000Z, Broadcom 4328 PRE-N
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1105
Location: San Jose, CA

PostPosted: Sun May 13, 2007 1:20 am    Post subject: [SOLVED] Wireless driver for HP DV9000Z, Broadcom 4328 PRE-N Reply with quote

Here's a mini how to, just in case you're having the same problem as me.

WPA-TKIP.

Here's the part from lspci:

Code:
03:00.0 Network controller: Broadcom Corporation Unknown device 4328 (rev 03)


There are several Windoze drivers which work:

http://ftp.us.dell.com/network/R140746.EXE
http://www.touslesdrivers.com/fichiers/broadcom/Broadcom_BCM43XX_4.100.15.5.zip

I'm using the latter driver.

Here's the basic flow:

Code:
emerge ndiswrapper wpa_supplicant wireless-tools
cd /etc
mkdir wireless
cd wireless
wget http://www.touslesdrivers.com/fichiers/broadcom/Broadcom_BCM43XX_4.100.15.5.zip
unzip Broadcom_BCM43XX_4.100.15.5.zip
ndiswrapper -i bcmwl5.inf
[You should get no errors]
echo ndiswrapper >> /etc/modules.autoload.d/kernel-2.6
modprobe ndiswrapper
dmesg


At this point you should see something like this from dmesg:

Code:
ndiswrapper version 1.43 loaded (smp=yes)
ndiswrapper (link_pe_images:577): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
ACPI: PCI Interrupt Link [LK4E] enabled at IRQ 10
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LK4E] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:03:00.0 to 64
ndiswrapper: using IRQ 10
wlan0: ethernet device 00:1a:73:4b:d2:ef using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: '', 14E4:4328.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
usbcore: registered new interface driver ndiswrapper


Next, add the following to your /etc/conf.d/net:

Code:
config_wlan0=( "dhcp" )
dhcpcd_wlan0="-t 30 -N"
#wpa_supplicant
wpa_supplicant_wlan0="-Dwext -iwlan0"
modules_wlan0=( "wpa_supplicant" )


PLEASE NOTICE the -Dwext option for wpa_supplicant! You can't specify -Dndiswrapper and use wpa! (this was what was killing me over the last few days).

Create /etc/wpa_supplicant/wpa_supplicant.conf:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
network={
        ssid="YOUR_SSID"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk="YOUR_PSK_PASSPHRASE"
# The higher the priority the sooner we are matched.
        priority=5
}

Note: you can list all the networks you can interface with here so wireless will autoconfigure for you.


Now you should be ready to fire it up:

Code:
cd /etc/init.d
ln -s net.lo net.wlan0
/etc/init.d/net.wlan0 start
/etc/init.d/net.wlan0 status


If you don't get "Starting" and then "Started" from the status queries, then do this:

Code:
/etc/init.d/net.wlan0 stop
ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf


This will tell you if its finding a network to connect to (and its MAC address and SSID).
And will give you some clue as to why it can't connect.

My experience with ndiswrapper is its very good at connecting and staying connected.

Good luck!

Raydude
_________________
Some day there will only be free software.


Last edited by RayDude on Tue May 15, 2007 12:51 pm; edited 2 times in total
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 2513

PostPosted: Sun May 13, 2007 2:46 am    Post subject: Reply with quote

did you used an driver with the 64 bit finish with ndis?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein

[img]http://boinc.mundayweb.com/one/teamStats.php/userID:8653/.png[/img]
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1105
Location: San Jose, CA

PostPosted: Sun May 13, 2007 12:26 pm    Post subject: Reply with quote

Update: With NDISWRAPPER I was getting random hangs with my BCM card until I bought a wireless router with a BCM chipset in it.

Now my uptime is 5 days without problem, where as before I could barely make 36 hours before a network hang.

With the old kernel and Atheros router I would get a dead lock but with the latest suspend2-sources-2.6.21-r5 and the latest ndiswrapper (1.45) just ndiswrapper itself hangs. Although it is impossible to kill ndiswrapper. I must press and hold the power button on my laptop to get it to shut off and then reboot.

Raydude
_________________
Some day there will only be free software.


Last edited by RayDude on Fri Jun 08, 2007 10:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1105
Location: San Jose, CA

PostPosted: Tue May 15, 2007 3:22 am    Post subject: Reply with quote

deleted
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum