Broadcom 4318 wireless card in FC6: installed with ndsiwrapper as eth1
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Broadcom 4318 wireless card in FC6: not connecting yet
I used ndiswrapper1.31 with FC6 on acer aspire 3100.
It installed nicely, and the driver too, downloaded from Broadcom's site.
So the driver seems to work, and, in fact, 'ifconfig'/'iwconfig' recognize the card as a wireless one, with 'eth1' identifier.
I used the same configuration I use in windows.
However I still can't connect.
When I try 'ifconfig up', or 'iwconfig up', it tells me something like this:
"Aquiring IP information for eth1...
Initialization incomplete, Check the cable?"
It's like when I connect through 'eth0' without having plugged the cable, so I suppose it can't find the access point.
What did I miss?
Is it correct that the card is recognized as 'eth1' instead of 'wlan0', as ndiswrapper's tutorials report?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
The kernels for FC6 comes with a wireless module for the Broadcom chipsets called bcm43xx. The module is broken for the 4318 Broadcom chipset and needs to be blacklisted in order for ndiswrapper to work; http://bcm43xx.berlios.de/?go=devices
As root edit the /etc/modprobe.d/blacklist file and add something like;
# wireless drivers
blacklist bcm43xx
Also check the /etc/modprobe.conf file for the eth1 entry and maybe change this to something like;
alias eth1 ndiswrapper
You also need to create a new file in the /etc/sysconfig/modules directory named something like 4318.modules which has the line entry; modprobe ndiswrapper
It does not matter if the wireless device is aliased as eth1 or wlan0 as long as the system knows the alias is for ndiswrapper in all related files. This can be changed in the /etc/modprobe.conf file as the example above. If you change the alias to be wlan0 then you need to copy/rename the /etc/sysconfig/network-scripts/ifcfg-eth1 file to ifcfg-wlan0 and edit the DEVICE= line inside the file to be; DEVICE=wlan0
It would be a god idea to restart the system after your done.
Thank you, but I still can't find the precise cause of the problem.
I configured eth1 using gnome's utility (system-config-network), and I inserted the passphrase as well.
However that configuration didn't regard wpa encryption, so I left passphrase field empty, and I properly configured wpa_supplicant.
It function nicely, I think.
The fact is that , from iwconfig's output, the device can't find the access point, it tells me that Signal is 0, so, though the initial configuration was wrong, and you helped me to fix it, it still can't connect.
There could be two problems:
- the device emits no signal
- the device can't find access point
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Sometimes you need to tell the wireless device the GATEWAY IP address (the wireless routers IP address). This is done by editing the ifcfg-something file located in the /etc/sysconfig/network-scripts directory, sample below;
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=no
ONHOTPLUG=yes
USERCTL=yes
PEERDNS=no
TYPE=Wireless
DEVICE=eth1
HWADDR=
BOOTPROTO=dhcp
DHCP_HOSTNAME=Linux
IPADDR=
NETMASK=
GATEWAY=192.168.0.1
DOMAIN=
ESSID=
CHANNEL=1
MODE=auto
RATE=
</etc/wpa_supplicant/wpa_supplicant.conf> contains the following configuration:
Code:
# home net
network={
ssid="MyOwnNet"
scan_ssid=1
key_mgmt=WPA-PSK
psk="very secret psk"
}
Is there anything I should report in addition to this?
Is there anything missing/wrong?
...
However, just today, I discovered that my card doesn't work on Windows either!!!
I thought it was due to rebooting the same machine with different drivers, so I firstly rebooted windows, then I uninstalled each driver , rebooting windows each time, always after having turned off the pc.
No results!
It can't find that router!
Naturally, my card used to work on windows last time I worked with it, and, since I reset both ways the drivers and the machine itself, I fear that my wireless card got broken during my working period under linux, what a mess!!!
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
As a suggestion until you can connect to the wireless router is to disable wpa on the router and maybe use static IP address's in both Windows and Linux with in the router's IP address range. It is OK to use the same IP address (say 192.168.1.50) on a dual boot system.
A copy of my /etc/sysconfig/network-scripts/ifcfg-wlan0 file and other related files;
Ok, as usual, working during Christmas's holidays on computers brings me bad luck...
Both in Windows and Linux I get the same problem: radio signal is 0, or, more precisely, disabled, and there was nothing I could do via software to fix it.
Broadcom's utility in Windows tells me to turn the hardware swicth on...what am I supposed to do?
Open my notebook and twist a switch which I didn't actually turn off?
SIGH!
PS:Lenard thank you! the configuration is perfect now
When I ran wpa with debugging infos I got this , I hope interesting, output:
Quote:
Originally Posted by service wpa_supplicant start
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=500 (from group name 'tavs')
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=8):
4d 79 4f 77 6e 4e 65 74 MyOwnNet
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
priority=1 (0x1)
Priority group 1
id=0 ssid='MyOwnNet'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:16:ce:11:a3:f0 Driver does not support WPA. wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Daemonize..
There's something wrong, isn't it?
I can't explain why ndsiwrapper shouldn't be able to use that stupid wpa enc, since the driver I loaded within is the same I use in windows, in the same pc, and it works!
Uh, I've reconfigured eth1, and fedora ,this time, has found the card as wlan0, and not eth1, anyway it's the same thing as you can see, it loads always ndiswrapper, whose module has been properly aliased, of course
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.