You are not logged in.
I have tried everything that is said in the wiki and the forums but my Broadcom BCM4322 wireless card simply won't work! It's so frustrating! grrrrrrr.
Can anyone share a success story and how to set it up?
EDIT: This thread also sheds some light on how to manually configure a wireless network as well as setting up networkmanager.
Last edited by trusktr (2012-04-04 17:17:04)
joe@trusktr.io - joe at true skater dot io.
Offline
Need more info to help. Please post to this thread, or to pastebin.org the output of the following commands:
lspci | grep BCM
lsmod | grep wl
lsmod | grep lib80211
cat /etc/rc.conf
sudo ifconfig
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Alrighty, check it out, here's those commands in the same order:
[root@skyship ~]# lspci | grep BCM
08:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
[root@skyship ~]# lsmod | grep wl
wl 1944206 0
lib80211 3950 2 lib80211_crypt_tkip,wl
[root@skyship ~]# lsmod | grep lib80211
lib80211_crypt_tkip 8429 0
lib80211 3950 2 lib80211_crypt_tkip,wl
[root@skyship ~]# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="America/Los_Angeles"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!b43 !ssb 80211_crypt_tkip wl)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="skyship"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
#wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus hal !network networkmanager netfs alsa @crond)
[root@skyship ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:23:8B:A4:5D:45
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:8bff:fea4:5d45/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1967 errors:0 dropped:0 overruns:0 frame:0
TX packets:1746 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1465013 (1.3 Mb) TX bytes:421522 (411.6 Kb)
Interrupt:27 Base address:0x2000
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 I've also included iwconfig:
[root@skyship ~]# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11abgn ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:44 Mb/s Tx-Power:24 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth1 no wireless extensions.
It seems to me that the drivers/modules are loaded, but for some reason networkmanager won't see any wireless network. If i left-click on the networmanager applet, it shows "wireless is disabled" and if i right-click on it to select the "enable wireless" checkbox, I can't because it is grayed out.
Last edited by trusktr (2010-07-24 03:21:14)
joe@trusktr.io - joe at true skater dot io.
Offline
I might have to try it if I can't get it working. I like networkmanager because it's so flexible, wired OR wireless. I'm stumped as to the reason why i can't connect. I've set up wireless on other machines before, but this one just doesn't wanna cooperate!
joe@trusktr.io - joe at true skater dot io.
Offline
In your /etc/rc.conf file, second last line, you have removed the network daemon with "!network". Remove the "!" and reboot.
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
But lagagnon, if you notice, I have the networkmanager daemon in it's place. They can't both run at the same time, right? networkmanager handles the network in place of network. It works fine for wired, just not wireless.
network manager has worked fine on my other computers. There's just something fishy with this particular wireless card.
joe@trusktr.io - joe at true skater dot io.
Offline
Check your logs for related errors.
Also standard wireless advice: try it using the simplest tools first - ifconfig/iwconfig/dhcpcd/wpa_supplicant/etc. GUIs and other extra layers get in the way of bug-hunting.
Offline
Did you try out the broadcom-wl package from the aur???
You have to blacklist ssb and b43 in rc.conf...
http://wiki.archlinux.org/index.php/Broadcom_BCM4312
Might do it for ya...
Offline
Yup, i've ried the broadcom-wl package from AUR, and have followed all those instructions but I still can't get a connection.
I'm gunna return to the basics like tomk suggested to see if I can get it to work.
joe@trusktr.io - joe at true skater dot io.
Offline
alright, so i have this in rc.conf:
eth0="dhcp"
eth1="dhcp" # the broadcom-wl driver creates eth0 as wireless instead of wlan0
INTERFACE=(eth0 eth1)
DAEMONS=(... !networkmanager network ...)
if config shows that both interfaces are up:
[root@skyship ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:00:CC:42:5E
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
eth1 Link encap:Ethernet HWaddr 00:23:8B:A4:5D:45
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12187 (11.9 Kb) TX bytes:2926 (2.8 Kb)
Interrupt:27 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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 iwconfig shows this:
[root@skyship ~]# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11abgn ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:44 Mb/s Tx-Power:off
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth1 no wireless extensions.
What should I do next? I'm experienced in this field at all. On my other machine, once my wired connection worked, i installed networkmanager and didn't have to worry about setting anything up. It simply just worked. I was able to choose a wireless network and enter my WEP key.
But on this machine, with Broadcom BCM4322, it's so frustrating because i have absolutely NO idea what to do.
Thanks for the help and I appreciate it.
Last edited by trusktr (2010-07-24 21:34:10)
joe@trusktr.io - joe at true skater dot io.
Offline
http://wiki.archlinux.org/index.php/Wir … nual_setup
Please use all available resources to answer your questions, starting with our wiki.
Offline
Hey tomk, i tried that but when i try "iwlist eth0 scan" it says:
[root@skyship ~]# iwlist eth0 scan
eth0 Failed to read scan data : Invalid argument
joe@trusktr.io - joe at true skater dot io.
Offline
Read to the end: https://bbs.archlinux.org/viewtopic.php?pid=765033
Offline
aha! coincidentally i had just found this article too and turned on my wireless power. Network manager is able to detect wireless networks now!
The problem now is that it appears to be connecting indefinitely and never connects.
joe@trusktr.io - joe at true skater dot io.
Offline
Yeah, so now i have wireless connectivity, but I can't connect to my network. After typing in the correct 128-bit passphrase (with the appropriate setting) it just shows the spinning circle with the two green dots like if it's connecting but this just goes on and on forever and never connects.
I've also had this problem on my other machine. On the other machine it would only connect if logged in as root.
On this machine, it's not connecting to the network at all. But at least I can see they are "available".
joe@trusktr.io - joe at true skater dot io.
Offline
I take it you're using WEP? What happens when you try to connect to it manually? Disable networking in network manager and try this...
[as@root]# iwconfig [interface] essid "[your network name]" key [passphrase]
You'll get errors if it can't connect. If it succeeds, try resolving DHCP manually too...
[as@root]# dhcpcd -k [interface]; dhcpcd [interface]
You might want to open a second terminal and watch dmesg while you run these commands. dmesg reports realtime kernel-level information. You can follow it by running...
dmesg | tail -f
Also, have you installed the firmware for your bcm43xx device? b43-firmware is available from the AUR. Install it manually or with clyde or yaourt.
Last edited by synthead (2010-07-25 10:22:57)
Offline
Hey synthead, that worked! I successfully connected to the internet, wirelessly, following those steps.
So now the question is why won't networkmanager connect?
joe@trusktr.io - joe at true skater dot io.
Offline
Ahh, there we go I'm glad you were able to connect. This tells us that there is either a configuration or permission problem with networkmanager. For me, I always have to fiddle with it to make it work right, but try adding your user name to the networkmanager group ...
[as@root]# gpasswd -a [your username] networkmanager
... then log out and log back in. Also, you might fish around the interface a bit to permanently add your connection. I believe that if you click the Edit button when your network is selected, you'll have an option to add the wireless key. After you've done this, click on the "Available to all users" checkbox on the bottom of the panel and click OK (or is it save? you'll figure it out). Somewhere in the process you might be asked to enter (or create) a keyring password. From here on, you should have permissions to select a network, and the one you want will be saved for use as a regular user.
I might be slightly wrong about a couple of things here, but I think you'll get it!
Offline
Hey synthead, adding my user to the networkmanager group indeed fixed the problem! wooo hooo!
Thanks for that, I had no idea. The "NetworkManager" page in the wiki doesn't mention this at all. I just added it!
joe@trusktr.io - joe at true skater dot io.
Offline
Just in case anyone reading this is wondering about the Broadcom BCM4322 wireless device, the broadcom-wl package from AUR works just fine. Turns out the only thing preventing me from connecting was networkmanager as described above.
Also, 80211_crypt_tkip is not necessary in the MODULES array. At boot my system kept saying it couldn't find the module, so I removed it from the array and everything is working just fine.
Thank you so much for the help synthead!
joe@trusktr.io - joe at true skater dot io.
Offline
Excellent! That's great to hear. Thank you for editing the wiki, btw
Offline