You are not logged in.

#1 2011-06-25 18:39:51

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Getting wireless to work [SOLVED]

i just installed arch linux.
core, x86-64.
i took care to install the wireless packages as well.

i can detect my wireless card by typing:
lspci | grep -i net
and then i get:
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

So how do i connect to the internet wirelessly from now on?

Last edited by hermanningjaldsson (2011-06-26 20:36:28)

Offline

#2 2011-06-25 19:00:55

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Getting wireless to work [SOLVED]


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-25 19:35:04

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

im here:
https://wiki.archlinux.org/index.php/Broadcom_wireless

since i have a:
05:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Etnernet PCI Express [14e4:1713] (rev 02)

my card is not listed anywhere,.
that means i have a b43/b43 legacy.
but since my type can neither be found under the b43 or b43 legacy, how do i find out which one it is?

Offline

#4 2011-06-25 20:54:18

Gooru
Member
From: Poland
Registered: 2010-08-25
Posts: 53

Re: Getting wireless to work [SOLVED]

Can't you just try both?
I learnt faster, because of making mistakes and spending time trying to fix all of them. IMHO that's the best way to explore your os.

Offline

#5 2011-06-25 20:59:24

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Getting wireless to work [SOLVED]

Isn't Atheros Communications Inc. AR5001 (not the Broadcom) your wireless?

https://wiki.archlinux.org/index.php/Wi … etup#ath5k

Last edited by anonymous_user (2011-06-25 20:59:42)

Offline

#6 2011-06-25 22:57:47

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

Re: Getting wireless to work [SOLVED]

hermanningjaldsson wrote:

im here:
https://wiki.archlinux.org/index.php/Broadcom_wireless

since i have a:
05:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Etnernet PCI Express [14e4:1713] (rev 02)

my card is not listed anywhere,.
that means i have a b43/b43 legacy.
but since my type can neither be found under the b43 or b43 legacy, how do i find out which one it is?

Um, that would be your wired Ethernet.  It will show up if you use ip  link.  Or, using the deprecated method, ipconfig -a

As to the wireless, anonymous_user is correct.


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

Online

#7 2011-06-26 08:55:17

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

can anybody help me with getting this wireless to work?

the manual is telling me to installa modules, but off course i cant do that because i dont have wireless.

Offline

#8 2011-06-26 16:20:42

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

Re: Getting wireless to work [SOLVED]

hermanningjaldsson wrote:

can anybody help me with getting this wireless to work?

I thought we were.

Unfortunately, you have some wrong ideas about your system.  We have pointed that out to you, but you have acknowledged nothing.

Your system does not have a Broadcom Wireless.
Your system does not use b43.
Did you read the link provided by anonymous_user?

I think the drivers may already be installed.  If they are not, there exists a plan B; you will need to find a way to import the packages using a disk, or by chrooting from a live cd of a distribution that will provide wireless access.


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

Online

#9 2011-06-26 16:32:00

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

yes and thanks for the help.

i did go over that link, and had a hard time using it to achieve my end.

how can i find out if the drivers are already installed?

Offline

#10 2011-06-26 16:55:23

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

Re: Getting wireless to work [SOLVED]

hermanningjaldsson wrote:

how can i find out if the drivers are already installed?

The command lsmod will show you the installed modules.
Also, can you post the output of ip link  ?? If that does not work, then the output of ifconfig -a ??

Lastly, just to be certain of the driver, can you post the output of lspci -nn | grep Wireless  ??


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

Online

#11 2011-06-26 17:14:05

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

ip link didnt work.
ifconfig -a gave me:

eth0
.....

lo
....

wlan0
Link encap: Ethernet HWaddr 00:1F:3A:BC:40:84
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)



lspci -nn | grep Wireless:
06:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c]   (rev 01)

Offline

#12 2011-06-26 17:36:41

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

Re: Getting wireless to work [SOLVED]

Okay, so you have a wireless card and it is seen by the system big_smile

What happens if you try iwlist scan  ??


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

Online

#13 2011-06-26 17:44:42

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

iwlist scan:

lo   Interface doesnt support scanning.

eth0  Interface doesnt support scanning.

wlan0  Interface doesnt support scanning : Network is down.

Offline

#14 2011-06-26 17:50:24

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

Re: Getting wireless to work [SOLVED]

Okay, we are making progress.  Try (as root) ifconfig wlan0 up  then try the iwscan list

If there are problems with that, post the output of  rfkill list  (I hope it is installed)


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

Online

#15 2011-06-26 18:00:42

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

to do something as root, hmm.
i am root@myhost, i guess that means im doing things as root.

ifconfig wlan0:
wlan0
Link encap:Ethernet HWaddr 00:1F:3A:BC:40:84
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)

iwscan list:
-bash: iwscan: command not found

Offline

#16 2011-06-26 18:02:03

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

ok now i did
ifconfig wlan0 up.

that just went, no response.

Last edited by hermanningjaldsson (2011-06-26 18:02:23)

Offline

#17 2011-06-26 18:06:30

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

Re: Getting wireless to work [SOLVED]

I said

then try the iwscan list

I need more coffee.  The command, of course, is iwlist scan.  Since the network did not complain when you put it up, I bet this will show you a list of access points around you.
Sorry about the brain glitch.

Edit: Damm I did it again


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

Online

#18 2011-06-26 18:14:20

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

iwlist scan:
lo :interface doesnt support scanning
eth0: interface doesnt support scanning
and there came many pages of text, split into cells, apparently. 23 of them.

i guess this is good.

so what would be the next step?

Offline

#19 2011-06-26 18:23:15

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

Re: Getting wireless to work [SOLVED]

Next, we have to associate with a wireless access point.

Tell me about the network you would like to join.
Do you have administrative rights on it?
Is it WEP?
Is it WPA? If so can you turn that off for now?
If is WPA and you cannot turn that off, have you installed wpa_supplicant (does  pacman -Qs wpa-supplicant show anything?)
Have you installed a wireless manager like wicd or NetworkManager?


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

Online

#20 2011-06-26 18:29:03

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

Its just a router over here.
i dont know if i have administrative rights, i have the password to it.

how do i find out if its WEP or WPA? it didnt say on the router itself.

and how do i turn WEP and WPA off?


pacman -Qs wpa-supplicant:
gives no reaction.

i dont have wicd or NetworkManager installed.

Offline

#21 2011-06-26 18:38:26

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

Re: Getting wireless to work [SOLVED]

Lets go back to the iwlist scan command.  Pipe it through less : iwlist scan | less.  Look through the output for the cell that has the ESSID of your access point. 
Here is mine:

wlan0     Scan completed :
          Cell 01 - Address: <redacted>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-32 dBm  
                    Encryption key:on
                    ESSID:"<redacted>"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000005b693318ef7
                    Extra: Last beacon: 53ms ago
                    IE: Unknown: 0007576F6F646C796E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B001700000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD7E0050F204104A00011010440001021041000100103B000103104700100784249D1E40E1EFDD2FEF7AD4D3BE4E1021000D4E4554474541522C20496E632E10230008574E44523334303010240008574E4452333430301042000230311054000800060050F204000110110008574E445233343030100800020084103C000103
                    IE: Unknown: DD090010180206F0050000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C337C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B001700000000000000000000000000000000000000

These lines:
Encryption key:on
and
IE: IEEE 802.11i/WPA2 Version 1
Tell me my router is encrypted and is using wpa2. 
Look for lines like that in your output, or post the portion of the output (cell) related to your access point


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

Online

#22 2011-06-26 18:52:00

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

just curious, how do i flush the output to a file?

its cell01 that has my router, it has
ESSID: woaw7.com
it has multiple IE: ...  and one of them has, "WPA Version 1".
so i guess that means its WPA.

so i should turn that off, how does that happen?

It also has: Encryption key: on.

Offline

#23 2011-06-26 19:14:17

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

Re: Getting wireless to work [SOLVED]

hermanningjaldsson wrote:

just curious, how do i flush the output to a file?

You can use the operator '>' which says to take the standard output (as opposed to error output) and send it to the file names to the right.
iwlist scan > scandump.txt
Whereas the '|' operator says to take the standard output and send it to the standard input of the program named to the right.  That is what I did with the less command.

its cell01 that has my router, it has
ESSID: woaw7.com
it has multiple IE: ...  and one of them has, "WPA Version 1".
so i guess that means its WPA.

so i should turn that off, how does that happen?

It also has: Encryption key: on.

I was afraid of that.  It does,indeed use WPA encryption.  That is good; it is much more secure than is WEP.  The bad news is that you must use wpa_supplicant to connect to WPA encrypted routers.  You don't have it installed, and we cannot connect with the tools at hand.

Here are some solutions (In rough order of complexity). Let me know which you want to pursue.

1. Find a WEP or Open access point and use it to install the missing tools.
2. Obtain the packages on disk and import them to your system using "Sneaker net" (carrying media across the room and mounting it on your system)
3. Use another computer that can connect to your router to use the router's configuration page to temporarily turn of WEP on the router.  (Your system has a wired Ethernet, why can't you plug into the router using a cable?  On-the-other-hand, you  may not have a browser installed yet)
4. Use a live CD of any Linux distribution that has wpa_supplicant and will associate with your router.  establish that connection, then chroot into your Arch installation as the guest and then installing the tools (using the Router connection provided by the host OS)


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

Online

#24 2011-06-26 19:17:56

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: Getting wireless to work [SOLVED]

its seems like i actually do have wpa_supplicant installed.

when i installed i took care to install also, "wireless_tools".

at least i can type wpa_s and then hit tab and it turns to wpa_supplicant
.

Offline

#25 2011-06-26 19:24:53

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

Re: Getting wireless to work [SOLVED]

Great. 
It has been a long time since I have flown wpa_supplicant by hand.  Bear with me as I read https://wiki.archlinux.org/index.php/Wpa_supplicant.  I'll be back shortly.


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

Online

Board footer

Powered by FluxBB