You are not logged in.

#1 2010-04-08 19:57:21

hosage
Member
Registered: 2010-04-08
Posts: 21

Wicd doesn't detect wifi networks

Just installed Arch in a Dell Inspiron 1525 and after some fights, almost everything is working perfect, except for the wifi.

I used this guide: http://wiki.archlinux.org/index.php/Broadcom_BCM4312
not sure if i make a mistake, i don't think so, but... who knows

After that, i installed Wicd, but it doesn't detect wireless networks (wireless is already set as wlan0). Wired nets works perfect so far (only tested in my house)

Well
When i type iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

and here is ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:1E:C9:F9:20:23  
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:c9ff:fef9:2023/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3630 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3026 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3530896 (3.3 Mb)  TX bytes:426620 (416.6 Kb)
          Interrupt:16 

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

and some stuff from rc.conf:

...
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(lib80211_crypt_tkip)
...
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)
...
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
...
DAEMONS=(syslog-ng !network dbus netfs crond alsa hal wicd)
...

any idea to get the wifi?
Thanks guys.

Offline

#2 2010-04-08 20:22:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Wicd doesn't detect wifi networks

What is the output of 'iwlist scan' ??
If it complains that wlan0 is down, try 'sudo ifconfig wlan0 up' first.

I have a feeling you are not associating either because the radio is off, it doesn't know with which essid to associate, or the network is encrypted.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-04-08 21:08:10

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

This is "iwlist scan"

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Failed to read scan data : Network is down

you were right.
then tried  "sudo ifconfig wlan0 up" and got this:

SIOCSIFFLAGS: No such file or directory

Update:
Just checked /var/log/messages.log and found this:

Apr  8 17:03:59 DeathStar kernel: b43 ssb0:0: firmware: requesting b43/ucode15.fw
Apr  8 17:03:59 DeathStar kernel: b43 ssb0:0: firmware: requesting b43-open/ucode15.fw

missing firmware?

Last edited by hosage (2010-04-08 21:17:07)

Offline

#4 2010-04-08 22:52:22

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Wicd doesn't detect wifi networks

I have an Inspiron 1525 too, but it has the 'PRO/Wireless 3945ABG [Golan] Network Connection module' which uses the iwl3945 module instead. However, I installed Arch on my daughter's HP/Compaq Mini 110c notebook and it does have the Broadcom BCM4312 wifi interface.

Here's what I needed to get it working on the 110c with wicd (versions might be a bit out of date now):
#pacman -U broadcom-wl-5.10.91.9.3-1-i686.pkg.tar.gz  # from AUR
/etc/rc.conf: MODULES=(... lib80211_crypt_tkip wl !b43 !ssb ...)  # NB: Using wl NOT b43 module

Though it works fine, I did find that the network interface randomly swapped between eth0 and eth1, so I had to do something like:

udevadm info -a -p /sys/class/net/<device> | grep address  # check MAC addresses
create: /etc/udev/rules.d/10-network.rules (MACs must be lowercase):
   SUBSYSTEM=="net", ATTR{address}=="00:xx:xx:xx:xx:xx", NAME="eth0"
   SUBSYSTEM=="net", ATTR{address}=="0c:xx:xx:xx:xx:xx", NAME="wlan0"
Then specify these devices in Wicd preferences

Hope this helps.

Offline

#5 2010-04-08 23:35:23

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

there was broadcom-wl 5.60.48.36-1 already installed and lib80211_crypt_tkip was already in the modules list, wl didn't, but there was no difference when i added it anyway

Last edited by hosage (2010-04-08 23:37:35)

Offline

#6 2010-04-09 02:17:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Wicd doesn't detect wifi networks

hosage wrote:
Apr  8 17:03:59 DeathStar kernel: b43 ssb0:0: firmware: requesting b43/ucode15.fw
Apr  8 17:03:59 DeathStar kernel: b43 ssb0:0: firmware: requesting b43-open/ucode15.fw

missing firmware?

This is not bad.  Any other lines containing 'b43' ?
I ask, because the fact that the network shows up says the kernel thinks it is there and is usable. 

Which Broadcom chip do you have? ( what is the output of lspci  ?)

My system:

l

spci:
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
lsmod | grep b43
b43                   167975  0 
mac80211              166738  1 b43
cfg80211              122783  2 b43,mac80211
led_class               2577  3 b43,hp_accel,sdhci
ssb                    45950  1 b43
mmc_core               51600  4 b43,mmc_block,sdhci,ssb
pcmcia                 31077  2 b43,ssb
pcmcia_core            29111  3 b43,ssb,pcmcia

pacman -Qs b43
local/b43-fwcutter-git 19510101-1
    Firmware extractor for the bcm43xx kernel module - git revision

sudo grep b43 /var/log/everything.log
Password: 
Apr  7 07:37:27 odin kernel: b43-pci-bridge 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Apr  7 07:37:27 odin kernel: b43-pci-bridge 0000:02:00.0: setting latency timer to 64
Apr  7 07:37:27 odin kernel: b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Apr  7 07:37:27 odin kernel: Registered led device: b43-phy0::tx
Apr  7 07:37:27 odin kernel: Registered led device: b43-phy0::rx
Apr  7 07:37:27 odin kernel: Registered led device: b43-phy0::radio
Apr  7 07:37:33 odin kernel: b43 ssb0:0: firmware: requesting b43/ucode15.fw
Apr  7 07:37:33 odin kernel: b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
Apr  7 07:37:33 odin kernel: b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
Apr  7 07:37:33 odin kernel: b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
Apr  7 07:37:45 odin kernel: b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
Apr  7 07:37:50 odin kernel: b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)

Note that I am using the b43 native kernel driver, but using firmware version 478.104 which requires the git version of b43-fwcutter from AUR.

The result:

iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"woodlyn"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:24:01:67:44:43   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

vmnet1    no wireless extensions.

vmnet8    no wireless extensions.

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2010-04-09 02:33:53

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

The same BCM4312

lspci

0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

lsmod | grep b43

b43                   154371  0 
mac80211              149018  1 b43
cfg80211              106663  2 b43,mac80211
ssb                    39958  1 b43
mmc_core               45164  3 b43,sdhci,ssb
led_class               1933  2 b43,sdhci
pcmcia                 27513  2 b43,ssb
pcmcia_core            25675  3 b43,ssb,pcmcia

pacman -Qs b43

local/b43-fwcutter 012-1
    firmware extractor for the bcm43xx kernel module

Everything looks like your output, except for my full of errors everything.log:

sudo grep b43 /var/log/everything.log

Apr  6 01:15:53 DeathStar kernel: b43-pci-bridge 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Apr  6 01:15:53 DeathStar kernel: b43-pci-bridge 0000:0b:00.0: setting latency timer to 64
Apr  6 01:15:53 DeathStar kernel: b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Apr  6 01:15:53 DeathStar kernel: Registered led device: b43-phy0::tx
Apr  6 01:15:53 DeathStar kernel: Registered led device: b43-phy0::rx
Apr  6 01:15:53 DeathStar kernel: Registered led device: b43-phy0::radio
Apr  6 01:15:58 DeathStar kernel: b43 ssb0:0: firmware: requesting b43/ucode15.fw
Apr  6 01:15:58 DeathStar kernel: b43 ssb0:0: firmware: requesting b43-open/ucode15.fw
Apr  6 01:15:58 DeathStar kernel: b43-phy0 ERROR: Firmware file "b43/ucode15.fw" not found
Apr  6 01:15:58 DeathStar kernel: b43-phy0 ERROR: Firmware file "b43-open/ucode15.fw" not found
Apr  6 01:15:58 DeathStar kernel: b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.

Just got into the web that the output gave me and followed the instructions... this time it worked smile

now i can detect wifi arround, but its unable to get the ip adress when connecting =/


UPDATE: Just rebooted and got no internet at all, including wired connection was unable to get an ip
then i panic and tried to install networkmanager
looks like it worked but i dont see any tray icon or something to start a gui, but anyways, i have wired connection.

my new rc.conf looks like:

MODULES=(lib80211_crypt_tkip !wl b43 uvcvideo)
...
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)
...
DAEMONS=(syslog-ng !network dhcdbd dbus netfs crond alsa hal networkmanager !wicd)

it was so near to get wifi connections sad
well, any help to get wifi enabled would be great, doesn't matter if this is using wicd or Network Manager, =P

Last edited by hosage (2010-04-09 04:56:07)

Offline

#8 2010-04-09 10:26:22

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Wicd doesn't detect wifi networks

hosage wrote:

there was broadcom-wl 5.60.48.36-1 already installed and lib80211_crypt_tkip was already in the modules list, wl didn't, but there was no difference when i added it anyway

But did you try specifically blocking the loading of b43 - by adding !b43 to the modules list?

Offline

#9 2010-04-09 17:32:01

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

yes, i already did and there was no difference.
now i have done several iwlist scan and some times it actually scan and give some net's info. I realized that the scan is ok seconds after y manually turn off the antena with the laptop switch.

well i think i will play arround with the settings to get some extra info.
is there any chance that after messing around with drivers and stuff now i have some kind of conflict that cause problems with the wifi?
i mean, i followed many different "how to's"...


tranks guys


UPDATE: Just tried once again with wicd. changed the rc.conf to suit wicd needs and after some iwconfig, ifconfig and stuff realized that there was a new "eth1" device, put it up with iwconfig eth1 up and changed the wicd settings and now i have wired net (again) with wicd. wlan0 isn't at the device list of iwconfig or ifconfig anymore, and wicd doesn't show wireless networks.

Some outputs:

rc.conf

MODULES=(lib80211_crypt_tkip wl !b43 uvcvideo)
...
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)
...
DAEMONS=(syslog-ng !network dhcdbd dbus netfs crond alsa hal !networkmanager wicd)

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:1F:E1:D0:6A:B0  
          inet6 addr: fe80::21f:e1ff:fed0:6ab0/64 Scope:Link
          UP BROADCAST RUNNING 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 Base address:0xc000 

eth1      Link encap:Ethernet  HWaddr 00:1E:C9:F9:20:23  
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:c9ff:fef9:2023/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1454 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1026 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1728117 (1.6 Mb)  TX bytes:109946 (107.3 Kb)
          Interrupt:16 

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

iwconfig

lo        no wireless extensions.

eth0      IEEE 802.11  Nickname:""
          Access Point: Not-Associated   
          Link Quality:5  Signal level:0  Noise level:0
          Rx invalid nwid:0  invalid crypt:0  invalid misc:0

eth1      no wireless extensions.

UPDATE2: Connected to wifi using eth0 as wireless device =P

Last edited by hosage (2010-04-09 19:21:45)

Offline

#10 2010-04-09 19:24:27

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Wicd doesn't detect wifi networks

Um, have you also seen http://bbs.archlinux.org/viewtopic.php?id=94888 ?
Something similar going on?

Offline

#11 2010-04-09 19:37:15

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

i think i'm in the swampping devices stage that you explained but whose solution i didn't understand

Offline

#12 2010-04-09 19:40:48

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Wicd doesn't detect wifi networks

Where I got the swapping instructions from originally:
http://wiki.archlinux.org/index.php/Bro … every_time

(Unfortunately I don't have access to the netbook at present, so just looking at my old notes.)

Offline

#13 2010-04-09 20:04:29

hosage
Member
Registered: 2010-04-08
Posts: 21

Re: Wicd doesn't detect wifi networks

works perfect!
thanks a lot smile

Offline

Board footer

Powered by FluxBB