LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


View Poll Results: Why do you use linux?
Because It's free 28 39.44%
Because it's fantastic, I would even pay to get away from Windows 52 73.24%
It makes feel and look cool 22 30.99%
Multiple Choice Poll. Voters: 71. You may not vote on this poll

Reply
  Search this Thread
Old 05-01-2007, 09:32 AM   #1
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Rep: Reputation: 0
Broadcom 4318 refuses to work in ubuntu feisty


I just upgraded to ubuntu feisty, and my wireless went bye bye.

Here is what I did.

After upgrading and downloading all the updates, I downloaded the new ndiswrapper from sourceforge.net
I followed the install instruction to install ndiswrapper with make uninstall, make and then make install file

ndiswrapper -i bcmwl5.inf
ndiswrapper -l
showed the driver present and working with hardware.

I also created a file in /etc/network/if-pre-up.d with the following content

#!/bin/sh -e

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

exit 0



I also edited /etc/network/interfaces and here is the content

auto eth1
iface eth1 inet dhcp
wireless-essid murugo
wireless-key s:internetyomurugo


iface eth0 inet dhcp
auto eth0




After installing wlassistant, every
I can see the networks scanned from my neighborhood (and mine too)but still can't connect
Please help
 
Old 05-01-2007, 10:37 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
What’s with the multiple choice poll?
 
Old 05-01-2007, 11:38 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
What are the outputs of iwconfig, ifconfig and lsmod?
 
Old 05-02-2007, 05:43 AM   #4
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Original Poster
Rep: Reputation: 0
Hahaha, The poll is just for fun.

Here is the output of ifconfig, iwconfig and lsmod
I realize that these are things that i should know already. I promise, i am gonna read more



root@kacyira:/home/willyha# iwconfig


lo no wireless extensions.

eth1 IEEE 802.11g ESSIDff/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

root@kacyira:/home/willyha# ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:B0:C6:E7:89
inet addr:192.168.1.16 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b0ff:fec6:e789/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5306 errors:0 dropped:0 overruns:0 frame:0
TX packets:5415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5751574 (5.4 MiB) TX bytes:857638 (837.5 KiB)
Interrupt:21 Base address:0x8400

eth1 Link encap:Ethernet HWaddr 00:14:A5:71:FC:85
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Memory:c0204000-c0206000

eth1:avah Link encap:Ethernet HWaddr 00:14:A5:71:FC:85
inet addr:169.254.9.59 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:22 Memory:c0204000-c0206000

root@kacyira:/home/willyha# lsmod
Module Size Used by
battery 10756 0
ac 6020 0
thermal 14856 0
fan 5636 0
button 8720 0
8139too 27648 0
ndiswrapper 194608 0
isofs 36284 1
udf 85252 0
ipv6 268704 8
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
ppdev 10116 0
powernow_k8 16064 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9228 1
freq_table 5792 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 8200 0
tc1100_wmi 8068 0
pcc_acpi 13184 0
dev_acpi 12292 0
sony_acpi 6284 0
video 16388 0
sbs 15652 0
i2c_ec 5888 1 sbs
dock 10268 0
container 5248 0
asus_acpi 17308 0
backlight 7040 1 asus_acpi
fuse 46612 1
sbp2 23812 0
parport_pc 36388 0
lp 12452 0
parport 36936 3 ppdev,parport_pc,lp
joydev 10816 0
pcmcia 39212 0
tifm_sd 12168 0
sdhci 18700 0
snd_atiixp_modem 17160 0
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
pcspkr 4224 0
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
pcmcia_core 40852 3 pcmcia,yenta_socket,rsrc_nonstatic
mmc_core 26756 2 tifm_sd,sdhci
snd_atiixp 20620 1
snd_ac97_codec 98336 2 snd_atiixp_modem,snd_atiixp
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse 38920 0
serio_raw 7940 0
tifm_7xx1 10240 0
tifm_core 9856 2 tifm_sd,tifm_7xx1
k8temp 6656 0
ati_agp 10124 0
snd 54020 13 snd_atiixp_modem,snd_seq_oss,snd_rawmidi,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm ,snd_seq,snd_timer,snd_seq_device
soundcore 8672 1 snd
snd_page_alloc 10888 3 snd_atiixp_modem,snd_atiixp,snd_pcm
agpgart 35400 1 ati_agp
i2c_piix4 9740 0
i2c_core 22784 2 i2c_ec,i2c_piix4
af_packet 23816 6
shpchp 34324 0
pci_hotplug 32576 1 shpchp
evdev 11008 5
tsdev 8768 0
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
ide_cd 32672 1
cdrom 37664 1 ide_cd
ide_disk 17024 3
ata_generic 9092 0
libata 125720 1 ata_generic
scsi_mod 142348 2 sbp2,libata
generic 5124 0 [permanent]
8139cp 25088 0
mii 6528 2 8139too,8139cp
ohci1394 36528 0
ieee1394 299448 2 sbp2,ohci1394
atiixp 7440 0 [permanent]
ehci_hcd 34188 0
ohci_hcd 22532 0
usbcore 134280 4 ndiswrapper,ehci_hcd,ohci_hcd
processor 31048 2 thermal,powernow_k8
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability
root@kacyira:/home/willyha# lsmod
Module Size Used by
battery 10756 0
ac 6020 0
thermal 14856 0
fan 5636 0
button 8720 0
8139too 27648 0
ndiswrapper 194608 0
isofs 36284 1
udf 85252 0
ipv6 268704 8
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
ppdev 10116 0
powernow_k8 16064 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9228 1
freq_table 5792 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 8200 0
tc1100_wmi 8068 0
pcc_acpi 13184 0
dev_acpi 12292 0
sony_acpi 6284 0
video 16388 0
sbs 15652 0
i2c_ec 5888 1 sbs
dock 10268 0
container 5248 0
asus_acpi 17308 0
backlight 7040 1 asus_acpi
fuse 46612 1
sbp2 23812 0
parport_pc 36388 0
lp 12452 0
parport 36936 3 ppdev,parport_pc,lp
joydev 10816 0
pcmcia 39212 0
tifm_sd 12168 0
sdhci 18700 0
snd_atiixp_modem 17160 0
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
pcspkr 4224 0
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
pcmcia_core 40852 3 pcmcia,yenta_socket,rsrc_nonstatic
mmc_core 26756 2 tifm_sd,sdhci
snd_atiixp 20620 1
snd_ac97_codec 98336 2 snd_atiixp_modem,snd_atiixp
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse 38920 0
serio_raw 7940 0
tifm_7xx1 10240 0
tifm_core 9856 2 tifm_sd,tifm_7xx1
k8temp 6656 0
ati_agp 10124 0
snd 54020 13 snd_atiixp_modem,snd_seq_oss,snd_rawmidi,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm ,snd_seq,snd_timer,snd_seq_device
soundcore 8672 1 snd
snd_page_alloc 10888 3 snd_atiixp_modem,snd_atiixp,snd_pcm
agpgart 35400 1 ati_agp
i2c_piix4 9740 0
i2c_core 22784 2 i2c_ec,i2c_piix4
af_packet 23816 6
shpchp 34324 0
pci_hotplug 32576 1 shpchp
evdev 11008 5
tsdev 8768 0
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
ide_cd 32672 1
cdrom 37664 1 ide_cd
ide_disk 17024 3
ata_generic 9092 0
libata 125720 1 ata_generic
scsi_mod 142348 2 sbp2,libata
generic 5124 0 [permanent]
8139cp 25088 0
mii 6528 2 8139too,8139cp
ohci1394 36528 0
ieee1394 299448 2 sbp2,ohci1394
atiixp 7440 0 [permanent]
ehci_hcd 34188 0
ohci_hcd 22532 0
usbcore 134280 4 ndiswrapper,ehci_hcd,ohci_hcd
processor 31048 2 thermal,powernow_k8
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability
 
Old 05-02-2007, 06:47 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
So far, so good. You only have one driver (ndiswrapper) in your lsmod output so there shouldn't be any conflicts and iwconfig and ifconfig both see your wireless card (eth1).

However, your iwconfig clearly shows that you haven't configured your card. You need to enter your SSID and WEP key if you're using one:

iwconfig eth1 essid YourSSID
iwconfig eth1 key WEPKeyInHex

If you're using WPA then we'll need to look at getting wpa_supplicant up and running.

Once you've got the card properly configured try running ifup eth1. That should get you an IP address from your DHCP server.
 
Old 05-02-2007, 01:17 PM   #6
bryankaplan
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
Quote:
Because It's free
Because it's fantastic, I would even pay to get away from Windows
It makes feel and look cool
Well, that's a good start, but as a Linux aficionado, I want more options!
How about:
[ ]Because I identify with Tux
[ ]Because it's free (as in speech)
[ ]Because it's free (as in beer)
[ ]Because I'm fed up with Microsoft Windows
[ ]Because it makes feel and/or look cool
[ ]Because it's extraordinarily customizable
[ ]Because it can be highly stable
[ ]Because it's easier to keep secure
[ ]Because I'm a command-line junkie
[ ]Because it's got the most impressive eye-candy
[ ]Because I won't get a virus from reading my email
[ ]Because the higher-ups make me use it
[ ]Because it's so programmer-friendly
[ ]Because *nix has nearly four decades of proven reliability
[ ]Because it offers better file-systems
[ ]Because I get a perverse enjoyment out of futzing with ndiswrapper
[ ]Because it offers me many opportunities to learn more about how my computer works
[ ]Because it's easy to achieve triple-digit uptimes
[ ]Because of the wide range of excellent software that runs on it
[ ]Because of the large, friendly, helpful community that regularly offers me free support
[ ]Because I wasn't aware that there are any other operating systems available
[ ]Because configuration settings are not stored in a monolithic registry
[ ]Because of highly active development and frequent updates
[ ]Because it turns my 8086 back into a useful machine
[ ]Three words: Linux Genuine Advantage
 
Old 05-07-2007, 03:53 PM   #7
thewiseafrican1
LQ Newbie
 
Registered: Mar 2007
Location: Newark, DE-USA
Distribution: Ubuntu Feisty
Posts: 6

Original Poster
Rep: Reputation: 0
Ok I tried everything but still can't manage to get it to work. I did learn alot though.
Wlassistant still shows that it is detecting networks in my neighborhood but still can't connect.
Here is my output after I run ifup eth1

root@rwandanziza:/home/willyha# ifup eth1
run-parts: failed to exec /etc/network/if-pre-up.d/bcm_ndis: Exec format error
run-parts: /etc/network/if-pre-up.d/bcm_ndis exited with return code 1
Interface eth1 doesn't support IP addresses
eth1 Interface doesn't support IP addresses
Error for wireless request "Set AP Address" (8B14) :
invalid argument "<wireless".
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth1 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device eth1 ; No such device.
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: Permission denied
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
root@rwandanziza:/home/willyha#



One thing that stood out is the error from a file I created in /etc/network/if-pre-up.d directory called bcm_ndis
Here is the cat run of that file

#may 6th 2007
#!/bin/sh -e

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

exit 0


Please if you can see what I am doing wrong let me know
 
Old 05-07-2007, 08:07 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
What is the output of iwconfig prior to running ifup eth1? There are some REALLY funky errors there (like eth1 doesn't support IP addresses) so I'm not sure that your script is working correctly.
 
  


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
Wireless broadcom 4318 chipset not working in ubuntu thewiseafrican1 Linux - Wireless Networking 5 04-02-2007 09:46 PM
I cannot get my WiFi to work in FC6 [Broadcom 4318] MangoFresh Linux - Wireless Networking 19 03-22-2007 09:49 AM
Broadcom 4318 lkwtcnj Linux - Laptop and Netbook 1 12-27-2006 10:32 AM
Broadcom 4318 Driver CRACKED!!!!! (Ubuntu Dapper Drake) kelleychambers Linux - Laptop and Netbook 11 11-25-2006 08:03 PM
Having trouble getting broadcom 4318 wirless to work sly100100 Linux - Newbie 7 03-13-2006 01:55 AM

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

All times are GMT -5. The time now is 02:25 PM.

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