WPA with Dell Wireless 1500 (Broadcom 4328)
Hi! First of all my name is Dimi.
I'm a kind of noob to linux and I thought installing Gentoo Linux by myself will give me some deeper insight into Linux OS. So I grabbed my brand new Dell Inspiron 640 notebook with a Dell Wireless 1500 WiFi Controller and now I'm trying to get this damn network card to work for almost 5 days. I'm now so far that I can establish a wireless connetion to an unencrypted network. For now I'm using the ndiswrapper driver 1.33 and wpa_supplicant 0.5.4. The problem I have is that I wasn't yet successful connecting to my WPA1 encrypted network. As I said connecting to a plain network works fine. I have already googled for every possible combination of keywords but it seems that there aren't many people with this problem, so I thought that maybe you guys can help me out. I'm not sure which info I should provide, so that you can give me a proper advice, so I will just wait for someone to tell me ;) . The config for my WPA network looks like this (/etc/wpa_supplicant/wpa_supplicant.conf snippet): network={ ssid "foo" #proto=WPA key_mgmt=WPA-PSK #pairwise=TKIP #group=TKIP psk=........ } The commented switches are one I've already tested, that means that I tried to connect with and without them. I'm sure that my psk key is correct, I tried the ASCII key and the one generated with wpa_passphrase. To test my connection I'm using the following command: wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -d I also tried to use the -Dwext switch instead of the -Dndiswrapper (i haven't found a description for the wext driver, I have no idea what it is) as it was suggested in one of the articles I found, but I still had no luck. Also I'm sure that my wlan card at least sees the network because it is displayed by using: iwlist wlan0 scan command. I hope that someone can help me out because I don't have a clue how to get it to work. Thanks! |
For comparison, here is a WPA entry I know works:
Code:
network={ The command you're using to start wpa_supplicant looks good. Does anything show up in either your logs or in dmesg when you start it? Also, once you've started wpa_supplicant, what does your iwconfig look like? Quote:
|
wpa_supplicant output
So, I finally found some time to post a reply. Sorry that it took so long, I was very busy this week. Here is what wpa_supplicant says:
Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A' Code:
Driver does not support WPA. |
Some more messages
Here are some more program outputs:
ifconfig (with started wpa_supplicant) Code:
wlan0 Protokoll:Ethernet Hardware Adresse 00:16:CF:B3:7A:6D Code:
wlan0 IEEE 802.11g ESSID:off/any Code:
wlan0 Scan completed : |
Quote:
|
Compiling with Gentoo
Hi. As I've already mentioned, I'm a newbie to linux. I'm using the gentoo 2006.1 distribution and as gentoo has a very cool package management and compiling interface (portage) I thought that it would automatically configure the wpa_supplicant build file so that it will work. Should I really recompile wpa_supplicant by hand or is it unnecessary? (USE flags I used to compile: dbus readline ssl; deactivated USE flags: -gsm -madwifi -qt3 -qt4)
|
I do understand how Gentoo does things, and that was one of the reasons I asked about wpa_supplicant. If you download the source code and read the installation instructions, one of the things that you have to do is write your own configuration file for the compilation. They give you a couple of examples, but they really aren't very easy to understand which leads to lots of confusion. It is one of the reasons why I keep a config file posted on my site. Anyway, knowing what Gentoo used for its config file might be a way to find out why you're getting that error.
Quote:
The other thing to try (and maybe do this first) is make sure you've got the latest drivers from Dell. WPA has been around a long time, and if your hunch is right and the error is referring to the Windows driver rather than wpa_supplicant, that might do it. |
OK, thanks, I'll look for the build config file. I'm sure I've got the latest Windows drivers (the newest I could find on Dell site) and I have at least the newest wpa_supplicant and ndiswrapper available on portage (I also unmasked both packages, so I have the testing tree). The flags I wrote down are the ones wpa_supplicant package has, there aren't any more, less or others available for this package. The qt* flags are switched off, because I don't use KDE, the rest is set by default. Anyway, I'll look, what options in the build file portage used to compile this package.
|
Hi. I tried to find the makefile that portage generates to compile the wpa_supplicant package but it seems that portage deletes the file after compile. As I'm not very familiar to Linux I don't know how to compile the package by hand :) . If someone could give me advice, I would appreciate it. Thanks.
|
For wpa_supplicant it is pretty easy:
- unpack the tarball - cd into the directory - Using a text editor, create a .config file (you can probably use the one I've got on my site) - in the console, run make - in the console, as root, cp wpa_supplicant wpa_cli /usr/local/bin - create your /etc/wpa_supplicant.conf file with a text editor. There are detailed instructions in the README file that comes with the tarball, so I would read those as well. |
Hi. I have finally finished with my exams and found some time to compile wpa_supplicant by hand. I made all the steps described in the README file and I also read the notes on Hangdog42's site. The result of my work is that wpa_supplicant still brings about the same messages I wrote about before. I'm now in a state of depression :) . Nothing seems to work for me.
I even found out, that on the unencrypted network used at university, where I have to log in via OpenVPN I'm not able to log in. Why? I don't have a clue. As I tried to log in using the wired connection and OpenVPN everything worked fine but using the WLAN connection it worked exactly twice and never since. (OpenVPN says it cannot find route to host, I think it is a driver problem, since the wired connection works. iwconfig says it is connected with the right network, an IP address is assigned, the routes are set but OpenVPN cant find the route :scratch: ). I am very disappointed with the whole situation, although I know that the only one I have to blame is BROADCOM. I am curious: do I have a chance to get this card to work with BCM43xx native driver? All the FAQ's say no, but maybe someone had experience with this card? I am grateful for any help I can get to finally solve the problem. Thanks! |
Quote:
|
Sorry, I should have forgotten to write it down (the thread name says it all :p ). Its the Broadcom 4328 chipset (at least thats what lspci says), the card is Dell TrueMobile 1500.
I also already mentioned, that I read almost every spec from the BCM43xx project and it seems that this chipset isn't supported yet and won't be in the near future. |
Quote:
Sheesh. One of these days I'll learn to read, and then I'll be dangerous...... The only suggestion I have is to try as many different Windows drivers as you can with ndiswrapper. You shouldn't have to recompile wpa_supplicant for each, but I would try starting wpa_supplicant with both the ndiswrapper and wext options and see if one works better than the others. If you haven't already, check the ndiswrapper wiki and see if anyone there has success with this chipset. Otherwise try any driver you can find for this on either the Dell or the Broadcom websites. Of course a better alternative might be to find a new wireless card that actually has Linux support. However, only you can determine if your wallet can handle the load. |
All times are GMT -5. The time now is 04:16 PM. |