LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Wicd / wireless can't get IP address (http://www.linuxquestions.org/questions/slackware-14/wicd-wireless-cant-get-ip-address-730548/)

Innervision 06-03-2009 09:42 PM

Wicd / wireless can't get IP address
 
Hey guys,

I've just installed Slackware 12.2, and I'm trying to get my wireless connection going using wicd. It gets stuck at "obtaining IP address...", but it never gets the connection.

The network controller is "Broadcom Corporation BCM4328 802.11a/b/g/n"

It's using WEP encryption, and the passphrase is definitely correct. In advanced settings, I've checked "Use Encryption," and it is set to use WEP (Passphrase).

Any help with this would be very much appreciated.

jamescondron 06-03-2009 10:05 PM

Give this a look: http://linuxwireless.org/en/users/Dr...wn_PCI_devices

It is possible that support for you is shakey at best; I had similar issues and decided it would be better to stick a new card in, ten quid and a two day wait

Innervision 06-03-2009 10:17 PM

I do also have an ALFA Networks USB 500mw (USB wireless adapter card), but I'm not really sure how to begin installing the software to make it work. It came with a driver disc (with Linux support), but I'm very new to Linux, so I don't know how to use the files on the disc.

Any help?

tomtomjkw 06-03-2009 11:23 PM

Show us what you got:
first, log in as root nad type these commands from command line:
Code:

lspci
Code:

iwconfig
and post the output here.

Then connect your Alfa Networks card and post the output of
Code:

lsusb

trnz$mr 06-04-2009 12:27 AM

I fixed this problem yesterday on my computer. If I remember correctly I was told the BCM43XX 802.11g wireless card is supported by the b43 driver.

These are the steps I ran through yesterday and it worked on mine anyways:

run "lspci -vnn | grep 14e4" to list your device.

go to this site: http://linuxwireless.org/en/users/Dr...b43#fw-b43-new

these directions download the drivers needed for you nic card.

Quote:

It's using WEP encryption, and the passphrase is definitely correct. In advanced settings, I've checked "Use Encryption," and it is set to use WEP (Passphrase).
Can you look into your router to get the key? The WEP (passphrase) didn't work for me but the WEP (hex) did for wicd

Innervision 06-04-2009 07:10 AM

lspci
Code:


00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller
00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge
00:06.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Secondary PCI Express Bridge
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870
01:00.1 Audio device: ATI Technologies Inc Radeon HD 3870 Audio device
02:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)
04:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

iwconfig
Code:


lo        no wireless extensions.

eth0      no wireless extensions.

lsusb
Code:


Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 007 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 002: ID beef:0006 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I'll definitely check that out, trnz$mr.

Innervision 06-04-2009 07:40 AM

Well I tried those instructions from http://linuxwireless.org/en/users/Dr...b43#fw-b43-new , but it still does not want to work. I checked on the router itself, there was no hex code, only a "WEP key."

bgeddy 06-04-2009 08:35 AM

I'm not entirely sure your version of the wifi card is supported by the b43 driver. It may be but in any case I believe Broadcomm have released a Linux driver that does support this card which is available here. There is also a README file there which will detail building the driver from the supplied source code. This may seem a little daunting at first but it's not really that hard. There's always the "old" way of doing things with ndiswrapper but I don't think this is necessary any more with Linux driver advances.

Wifi in general can be a real pain. Alien Bob's excellent wiki article is a standard source of information for setting up Slackware networks and is here.

Innervision 06-04-2009 09:31 AM

From that link, it says it gives support for "Broadcom's IEEE 802.11a/b/g/n hybrid Linux® device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware."

Not for BCM4328, which is what I have :(

bgeddy 06-04-2009 09:59 AM

Nope - have a look at the Arch Linux Broadcomm wiki here - it says your card is supported by the driver. That's the first thing I checked !

Innervision 06-04-2009 01:18 PM

Thanks so much bgeddy, I'll give that a try.

BobNutfield 06-04-2009 01:45 PM

You also seem to have this:

Quote:

Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
This adapter has been supported since the 2.6.27 kernel. Before that, ndiswrapper was necessary. I would type lsmod
to see if the rtl8187 driver is loaded because it may be conflicting with your broadcom card. You might want to try the rtl8187b and see if it works. You may not need the broadcom card. The rtl8187B works out of the box with the 2.6.27 or higher kernel.

Bob

Innervision 06-04-2009 03:09 PM

What exactly am I looking for in lsmod? How would I remove that confliction?

BobNutfield 06-04-2009 03:14 PM

Quote:

Originally Posted by Innervision (Post 3563293)
What exactly am I looking for in lsmod? How would I remove that confliction?

,

Well, as it turns out, the rtl8187B is the wireless chipset I have in my Toshiba laptop. It works very well and supports both WEP and WPA. But, if you want to use the broadcom, remove the rtl8187 module. It will look like this when you run lsmod:

Code:

cfg80211              36436  2 rtl8187,mac80211
If you want to remove it, as root, run:

Code:

rmmod rtl8187
Then try to set up your broadcom card. If it works to your satisfaction, then you can blacklist the rtl8187 so that it does not reload at boot time. But, if you have the 2.6.27 (which you would with 12.2) or higher kernel, I would recommend trying the rtl8187B over the broadcom.

Bob

Innervision 06-04-2009 04:35 PM

I haven't had luck with my wireless, so for me, the rtl8187 didn't work out of the box, as others have experienced. What would cause the difference? I'd like to get the rtl8187 working, since it seems to have the highest compatibility, and not use the Broadcom at all. So what can I do?

Code:

Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
That's the display from lsusb, when my ALFA usb wireless card is plugged in, so I know that it's definitely detected.


All times are GMT -5. The time now is 09:24 AM.