LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-29-2007, 09:18 PM   #1
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Rep: Reputation: 0
Wireless broadcom 4318 chipset not working in ubuntu


Hello from the dark continent,


I have just installed ubuntu 6.10 on my HP Pavilion dv5000, and cannot get the wireless to work
Here is what I did.

I first used the directions from ubuntuguide.org and it didn't work. So, I downloaded 'windows wireless drivers' package with automatix which helped me to install the the bcmlw5 drivers.
Then I typed the following commands in the shell

cd ~/Desktop (or wherever you downloaded the file)
tar -xf bcm4318*.tar.gz
sudo ./ndiswrapper_setup


After this I downloaded wireless assistant. I could scan and see my network and my neighbors, butI couldn't connect.

Can you geeks please tell me what I did wrong? I know that I am probably annoying you guys with this since there might be like gzillion howtos that are perfect for this. I am just lost


Thanks again.
 
Old 03-30-2007, 01:29 AM   #2
anon243
LQ Newbie
 
Registered: Apr 2006
Location: Szeged, Hungary
Distribution: Debian "squeeze"
Posts: 27

Rep: Reputation: 15
Hi.

I also had a problem with BCM4318 chipset but I finally made it work here is the solution.

1. install ndiswrapper and make a kernel module
2. copy this script in /etc/network/if-pre-up.d/ with a filename like bcm_ndis and chmod it 0766

#!/bin/sh -e

rmmod bcm43xx
rmmod ndiswrapper
modprobe ndiswrapper
ifconfig eth2 up # eth1 or eth2
iwconfig eth2 essid <wireless access point name>

exit 0

or put it somewhere to start at system startup.

3. edit /etc/network/interface

auto eth1 # eth1 or eth2
iface eth1 inet dhcp # eth1 or eth2
wireless-essid <wireless access point name>
wireless-key <wireless key>
wireless-ap <wireless access point MAC address>

4. restart computer
5. goto kcontrol > network > wireless settings ; type in your <wireless access point name> and press active profile button
6. now you should see the connect device with kwifimanager than start wlassistant and connect. It usually connects on the 5. or the 6. trys.

Unfortunatly you have to do step 5. 6. at every startup.
 
Old 04-01-2007, 10:48 PM   #3
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for replying so quick. I really appreciate that. I tried the steps and it didn't work.
I have a couple of quick questions? how do I make a kernel module? and if it is possible can you show me how
you edited your /etc/network/interfaces file?

Thank you again for your help
 
Old 04-02-2007, 12:33 AM   #4
anon243
LQ Newbie
 
Registered: Apr 2006
Location: Szeged, Hungary
Distribution: Debian "squeeze"
Posts: 27

Rep: Reputation: 15
Download the source package from http://sourceforge.net/projects/ndiswrapper/ and run: make && sudo make install

This is my /etc/network/interface file:

auto eth2
iface eth2 inet dhcp
wireless-essid SMC
wireless-key 123456789e
wireless-ap AB:CD:EF:00:12:34

This is for WEP configuration but it is possible to use WPA somehow but I don't know because I don't needed so far.


1. lsmod |grep bcm43xx (Be sure that bcm43xx is not loaded because it does not like ndiswrapper)
2. rmmod bcm43xx
3. rmmod ndiswrapper
4. ndiswrapper -l (check that windows driver is loaded)
5. modprobe ndiswrapper
6. type dmesg |tail -n 20 you should see something like this:

ndiswrapper version 1.37 loaded (preempt=no,smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,12/22/2004, 3.100.46.0) loaded
PCI: Enabling device 0000:02:07.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 23 (level, low) -> IRQ 193
ndiswrapper: using IRQ 193
wlan0: ethernet device AA:BB:CCD:12:34 using NDIS driver: bcmwl5, version: 0x3642e00, NDIS version: 0x501, vendor: '', 14E4:4318.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
usbcore: registered new driver ndiswrapper
ndiswrapper: changing interface name from 'wlan0' to 'eth2'


Don't give up I spend 6 hours to make it work correctly
 
Old 04-02-2007, 09:44 PM   #5
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Original Poster
Rep: Reputation: 0
Hey Errotan You are the man,
I finally got it to work by just downloading the source package and passing the make install command
maybe we should write a specific howto for this problem with more details.
AIM me or email me if you think that it is a good idea

Thank you so much
 
Old 04-02-2007, 09:46 PM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
I'm running Kubuntu 6.06, with my Broadcom 4318-based wifi card, but many of the same priniciples apply. If lsmod shows that the bcm43xx kernel module is loaded, then it is probably being loaded every time you boot your machine. If you are using ndiswrapper, the most effective way to make bcm43xx go away permanently is to blacklist it.

In Kubuntu the blacklist files are in the /etc/modprobe.d and there is probably a file already there named "blacklist". You can add an entry to that file such as :
Code:
# wrong driver for Buffalo wifi card
blacklist bcm43xx
The typical instructions for ndiswrapper also require issuing:
Code:
ndiswrapper -m
before doing a modprobe which actually sets up the correct module entry. Once I did the blacklist thing, my 4318 card just lit up. I then used Kwlan (use the Gnome equivalent) and wpa_supplicant to get WPA working.

There are probably other ways of making a Broadcom card work with the appropriate Windoze driver, but ndiswrapper works well with the right steps.
 
  


Reply



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
bcm43xx Broadcom 4318 wireless card Help Me Attacker87 Linux - Wireless Networking 1 01-19-2007 07:00 AM
Broadcom 4318 Driver CRACKED!!!!! (Ubuntu Dapper Drake) kelleychambers Linux - Laptop and Netbook 11 11-25-2006 08:03 PM
Mandriva/Broadcom 4318/wlan0 not working konfusionrave Linux - Laptop and Netbook 11 09-21-2006 11:04 PM
suse 10.1 hpzd8000 ndiswrapper 1.23 broadcom 4318 wireless problem mrchadman Linux - Laptop and Netbook 1 09-20-2006 08:03 AM
Broadcom 4318 - Working, but not with WEP huru Linux - Wireless Networking 3 03-09-2006 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:55 AM.

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