Broadcom Corporation BCM4312 802.11b/g & WICD [SOLVED]

Post Reply
dwjackson
Posts: 3
Joined: 11. Nov 2010, 23:28

Broadcom Corporation BCM4312 802.11b/g & WICD [SOLVED]

Post by dwjackson »

Hello all,
I have been working on this connection for many days.
I am closer now than I have ever been.
I have read all the posts that I can find on this forum and others.

lspci=Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

ifconfig=

eth0 Link encap:Ethernet HWaddr 00:26:22:d3:d4:75
inet addr:192.168.1.65 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::226:22ff:fed3:d475/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4206 errors:0 dropped:0 overruns:0 frame:0
TX packets:3422 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2215925 (2.1 MiB) TX bytes:575714 (562.2 KiB)
Interrupt:29 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2000 (1.9 KiB) TX bytes:2000 (1.9 KiB)

wlan0 Link encap:Ethernet HWaddr 00:26:82:35:dd:fe
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:17 Memory:96100000-96104000

iwconfig=

lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.442 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
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.


I am using NDISWRAPPER with the bcmwl5.inf driver
it loads ok with no problem

wicd finds network 100%
when I click on NETWORK
I always get message

Image


Connection Failed Bad Password

NOTE: I have no problem with other distros (except Slax)
I have no problem connecting with etho (wired)
just wlan0 (wireless)

thank you very much for any help
Last edited by dwjackson on 12. Nov 2010, 13:43, edited 1 time in total.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Broadcom Corporation BCM4312 802.11b/g & WICD

Post by djemos »

1) when you click on network you have to give the key . did you do it?

2) if you did it and connection fails then do this. (I have a laptop and b/c the linux driver is baggy i use windows driver with ndiswrapper)

first type in a konsole:
1) su ( to be root user) and give the password for root.

2) ndiswrapper -l (this is l as live) you will see if your windows driver for wifi has been loaded.

3) write this script and save it as wireless-up and make it executable (chmod 755 wireless-up)
where is your-key you have to write your wep key

##### wireless-up ####
rmmod ndiswrapper
modprobe ndiswrapper
iwconfig
ifconfig wlan0 up
iwconfig wlan0 essid NETWORK key your-key
dhcpcd -t 10 wlan0

4) chmod 644 /etc/rc.d/rc.wireless

5) execute the script wireless-up in a konsole
and tell me if your wifi connection works.
if it works then your can put this script in rc.local to be executed its time yor comuter boots in salix.

EDIT: This works for me. I have wifi right now using above script in salix-kde 13.1.2
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Broadcom Corporation BCM4312 802.11b/g & WICD

Post by gapan »

I'm guessing that ndiswrapper doesn't support encryption. What happens if you unlock your wifi? Also, I think there is a native (proprietary?) driver for your card. Maybe you'll have more luck with that. Do a search in these forums, I think it has been mentioned a few times.
Image
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Broadcom Corporation BCM4312 802.11b/g & WICD

Post by djemos »

ndiswrapper support encryption i use ndiswrapper with wep key.
It is wicd problem which does not work properly with ndiswapper and windows drivers.

Edit: if there is a native driver for your card then you have to blacklisted
add in the end of /etc/modprobe.d/blacklist.conf
blacklist your-card

and remove it after with rmmod your-card or reboot your pc
dwjackson
Posts: 3
Joined: 11. Nov 2010, 23:28

Re: Broadcom Corporation BCM4312 802.11b/g & WICD

Post by dwjackson »

1) when you click on network you have to give the key . did you do it?

YES

2) if you did it and connection fails then do this. (I have a laptop and b/c the linux driver is baggy i use windows driver with ndiswrapper)

I am using windows driver with ndiswrapper
bcmwl5.inf
ndiswrapper accepts this driver as OK


first type in a konsole:
1) su ( to be root user) and give the password for root.

DONE

2) ndiswrapper -l (this is l as live) you will see if your windows driver for wifi has been loaded.

root[one]# ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4315) present (alternate driver: ssb)


3) write this script and save it as wireless-up and make it executable (chmod 755 wireless-up)
where is your-key you have to write your wep key

##### wireless-up ####
rmmod ndiswrapper
modprobe ndiswrapper
iwconfig
ifconfig wlan0 up
iwconfig wlan0 essid NETWORK key your-key
dhcpcd -t 10 wlan0

4) chmod 644 /etc/rc.d/rc.wireless

root[one]# clear
root[one]# ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4315) present (alternate driver: ssb)
root[one]# chmod 755 wireless-up.sh
root[one]#
root[one]# bash wireless-up.sh
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
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


5) execute the script wireless-up in a konsole
and tell me if your wifi connection works.
if it works then your can put this script in rc.local to be executed its time yor comuter boots in salix.

I still get the same error message "No connection Bad Password in WICD"

EDIT: This works for me. I have wifi right now using above script in salix-kde 13.1.2

thanks very much for all of your help
dwjackson
Posts: 3
Joined: 11. Nov 2010, 23:28

Re: Broadcom Corporation BCM4312 802.11b/g & WICD

Post by dwjackson »

switched to WPA-PSK in my router
and I am up and running now

root[one]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"NETWORK"
Mode:Managed Frequency:2.442 GHz Access Point: 00:19:E4:A9:3B:89
Bit Rate=48 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:2F97-62EA-9C6B-F021-99CD-41B2-90D9-xxxx-8182-24B8-4784-96F8-5D83-A050-BB16-BA76 Security mode:restricted
Power Management:off
Link Quality:98/100 Signal level:-33 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root[one]#

thanks to all !
Post Reply