LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wicd shows network name as "none" + unable to get IP (protected networks) (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wicd-shows-network-name-as-none-unable-to-get-ip-protected-networks-753087/)

r11_kaede 09-06-2009 11:03 AM

wicd shows network name as "none" + unable to get IP (protected networks)
 
Hi guys,

well, as the subject name goes, its really as much as I can say on that.

Initially, the network name did show up on wicd, but i was still unable to get the IP on protected networks, despite me putting in the correct password and testing it on all 3 WEP choices.

So I decided to reinstall ndiswrapper on my Mininote 2133, Hardy Heron, 2.6.24-19.

Same result, unable to connect to IP on protected networks, and now the network name shows "none" at the lower left hand corner, regardless of the network i connect to.

I'm out of ideas. Any one? :)

Regards.

business_kid 09-08-2009 01:50 PM

Can you try with no encryption first?
What's your 1.Wireless card? 2.Distro? 3.Kernel version?
are we on pci, usb, or pcmcia?
Have you 1.the wireless modules in /etc/modprobe.d/blasclist? 2.Wlan0? 3.The exact error?

PTrenholme 09-08-2009 06:02 PM

You can ignore the "none" thing. A peculiarity of wicd is that it displays the name of the last network to which it connected as the name of the network to which it's connecting. Whenever I switch from one AP to another one, I'm told I'm connecting to the old AP until the connection is actually made.

And, are you sure that the AP to which you want to connect is using the old, broken, WEP security method? The current cracker tools usually take less than a minute to "beak" a WEP protected network.

r11_kaede 09-09-2009 09:54 AM

@businesskid: I can connect to non-encrypted/public networks, no problem. I'm using Hardy Heron (Ubuntu), 2.6.24-19, Gnome 2.22.3, Broadcom Corporation BCM4312 802.11b/g. I think my card is PCI, but I'm not sure. Is there any way to check?

lspci gives me this: 02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01).

I'm pretty sure that I blacklisted the modules (except ndiswrapper) on /etc/modprobe.d/blacklist.

ifconfig:
wlan0 Link encap:Ethernet HWaddr 00:21:00:2d:1d:d2
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:23 Memory:fdffc000-fe000000

And the exact error was : Unable to Obtain IP address.

@PTrenholme: well, it wasn't really my choice, actually. I was at my friend's place = his network. :p

Anyway, thanks guys, much appreciated.

PTrenholme 09-09-2009 05:18 PM

I think that the b43 FOSS Broadcom driver is sufficiently mature now that it works better than using ndiwrapper to emulate a Windows box on which the vendor's sys file expects to be run. Note that the b43 driver does use the Broadcom microcode (which is why you need to run the b43fwcutter program to extract the code from a object file supplied by Broadcom).

Do a ps -e | grep -i b43 on your friend's system to see if there's any other Broadcom driver being loaded. (There are several different ones in the repositories, and you may have missed one in the blacklist.)

But I'd recommend you toss the ndiswrapper work-around, and go with the b43 driver Ubuntu will have automatically installed.

r11_kaede 09-09-2009 11:39 PM

Hmmm.

I think I get what you are driving at, but I'm not too sure that I have much of a choice. Actually I'm using the HP Mininote 2133, and I followed the instructions from the Ubuntu Wiki.

https://wiki.ubuntu.com/LaptopTestin...%20and%20Fixes
(Part 8: Wireless Driver)

Unless I have been reading it wrong from the very start, then thats a whole new ball game.

I did "ps -e | grep -i b43" in terminal, no output.

Thanks. :)

business_kid 09-10-2009 03:13 AM

Quote:

Originally Posted by r11_kaede (Post 3675935)
@businesskid: I can connect to non-encrypted/public networks, no problem. I'm using Hardy Heron (Ubuntu), 2.6.24-19, Gnome 2.22.3, Broadcom Corporation BCM4312 802.11b/g. I think my card is PCI, but I'm not sure. Is there any way to check?

I have a 4312. Gnome Network manager is probably what you should use, or set up the init scripts like I have done in Slackware. Mine is on usb, and only shows on pci because of ssb.ko containing the b43_pci_bridge driver.
You need ssb & b43 or ndiswrapper and a windowws driver.

If you set up wpa_supplicant or try gnome network manager you will probably crack it.

business_kid 09-11-2009 03:36 AM

Forgot to mention


I did "ps -e | grep -i b43" in terminal,

Should probably be

lsmod |grep b43

http://linuxwireless.org/en/users/Drivers/b43

r11_kaede 09-11-2009 07:11 AM

I went back to Network Manager, and no joy too.

wpa_cli still gave me "Could not connect to wpa_supplicant - re-trying"

lsmod | grep b43 gave me no output.

lshw -C network gave me this:

description: Wireless interface
product: BCM4312 802.11b/g
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:21:00:2d:1d:d2
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.55+Broadcom,09/20/2007, 4.170. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g

... How on earth do I set up wpa_supplicant anyway? I actually installed it via Synaptic.

Thanks a lot, and apologies for the slow understanding. :)

PTrenholme 09-11-2009 09:40 AM

Quote:

Originally Posted by r11_kaede (Post 3678666)
I went back to Network Manager, and no joy too.

wpa_cli still gave me "Could not connect to wpa_supplicant - re-trying"

lsmod | grep b43 gave me no output.

:redface: Sorry, I misspoke, above, re ps -e, business_kid was correct.
Quote:

lshw -C network gave me this:

description: Wireless interface
product: BCM4312 802.11b/g
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:21:00:2d:1d:d2
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.55+Broadcom,09/20/2007, 4.170. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
Well, I think that the parti I highlighted in red, above, is telling you that you've got ndswarpper installed and running, using the Broadcom driver from the bcmwl5 file. So that part - as you said - should be working.
Quote:

... How on earth do I set up wpa_supplicant anyway? I actually installed it via Synaptic.
Using wicd, just click on the "Properties" button in the AP selection pop-up and, under the "Security" tab, enter the security information. wicd will handle the rest.

<edit>
FYI, the wicd connection settings (including the WPA information in plain text) are stored in /etc/wicd/wireless-settings.conf. Of course, only "root" can read or write that file.
</edit>

r11_kaede 09-11-2009 11:49 PM

@PTrenholme: this is where it pretty much gets back to square one, haha.

None:Validating Authentication
None: Obtaining IP address
Connection Failed: Unable to Get IP Address

Quote:

Using wicd, just click on the "Properties" button in the AP selection pop-up and, under the "Security" tab, enter the security information. wicd will handle the rest.
I did exactly that, selecting WPA + correct passphrase.

No go.

business_kid 09-12-2009 03:32 AM

Ideally things should run wpa_supplicant for you. You tell you system that the connection is type wpa, and all goes forward from there automagically.

Other useful commands are:
iwconfig wlan0 - allows you to see how much of your settings the device has picked up. If it says "Not Associated", you're offline. If it gives a mac address you are associated to, run dhcpcd or dhclient. You can also set wireless parameters.

iwlist wlan0 scan shows you available networks. I don't know ubuntu well. BTW, on kernel 2.6.24, forget b43 as that wasn't usable before 2.6.27. My bad.

PTrenholme 09-12-2009 10:10 AM

Can you upgrade your Ubuntu distribution Jaunty? It uses a newer kernel (2.6.28) which provides better wireless support. I've been using wicd and WPA on Jaunty for some time now without any problems.

r11_kaede 09-13-2009 04:01 AM

@businesskid and PTrenholme: Yeah, I think upgrading to Jaunty is my final option. I was putting it off, because I actually wanted the long-term support and upgrades. Guess it was too much to hope for, haha.

Thanks guys. :)


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