You are not logged in.

#1 2010-12-20 20:25:23

phpeter
Member
Registered: 2010-12-20
Posts: 6

[SOLVED] Trying to connect to wireless network

EDIT: A guy on the Linux Questions forum recommended I try the STA driver and it works perfectly now!

Hey guys! I installed Arch last night, and have been trying to get the wifi working since. I tried using ifconfig/iwconfig/etc. but it never actually connects D:

Any help would be awesome!

-Peter

Last edited by phpeter (2010-12-25 16:17:36)

Offline

#2 2010-12-20 20:43:44

mike54
Member
From: CZ
Registered: 2010-07-28
Posts: 44

Re: [SOLVED] Trying to connect to wireless network

Hi, welcome to the forum...
Can you be more specific? What wifi card do you have? What desktop enviroment are you using? Does "ifconfig -a" list your card?

Last edited by mike54 (2010-12-20 20:44:19)

Offline

#3 2010-12-20 20:54:14

phpeter
Member
Registered: 2010-12-20
Posts: 6

Re: [SOLVED] Trying to connect to wireless network

I'm using the Broadcom BCM4312 network card, and I installed the correct drivers for it. I haven't installed a desktop environment yet, and ifconfig -a lists wlan0, which I guess is my wireless card...

Offline

#4 2010-12-20 21:36:25

phpeter
Member
Registered: 2010-12-20
Posts: 6

Re: [SOLVED] Trying to connect to wireless network

A little more info:

I've gone through the steps on the Wireless Setup page on the Arch Wiki, and it worked fine until I got to the DHCP setup, in which the output was something like:

wlan0: rebinding lease of [ip address]
wlan0: carrier lost
wlan9: broadcasting for a lease
timed out

Offline

#5 2010-12-21 16:24:03

phpeter
Member
Registered: 2010-12-20
Posts: 6

Re: [SOLVED] Trying to connect to wireless network

Okay, so I installed netcfg and made a profile and all that. Now when I connect with it, it seems successful, but when I type iwconfig wlan0 it lists my network info but also says "Access point: not associated" and when I try to ping google, it says unknown host: google.com.

I really need to get this working! D:
Thanks in advance,
Peter

P.S. Sorry for the horrible grammar and spelling, I'm writing this from my iPod.

Offline

#6 2010-12-22 05:29:42

dakiato
Member
Registered: 2010-11-28
Posts: 7

Re: [SOLVED] Trying to connect to wireless network

What encryption does your network use? Also, can you post your configuration here?

Thanks.

Offline

#7 2010-12-22 06:49:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] Trying to connect to wireless network

Please clearly outline the steps you have taken to get your wireless working. First use the separate tools (iwconfig, wpa_supplicant, dhcpcd) to get a working connection so you can troubleshoot at what stage it fails, if you get it to work, you can put that all nicely together in a netcfg profile. Until then, such tools will only obfuscate the problem.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2010-12-22 14:44:35

phpeter
Member
Registered: 2010-12-20
Posts: 6

Re: [SOLVED] Trying to connect to wireless network

Thanks for the replies.

This is what I go through to try and set up wireless:

# iwconfig wlan0 essid "mynetwork" key 1234567890
# dhcpcd wlan0
(times out waiting for carrier)
# iwconfig wlan0 channel auto
# dhcpcd wlan0
(same thing)

Last edited by phpeter (2010-12-22 19:45:11)

Offline

#9 2010-12-22 18:43:33

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: [SOLVED] Trying to connect to wireless network

Hi,
do you know there's a typo? Should be essid, not essie.
Could you copy here the result of

iwlist wlan0 scan

? (of course the part with your network would be sufficient)
And you could also try to extend the timeout of dhcpcd, this is done by

dhcpcd wlan0 --timeout 40

(more than 40 second should not be necessary).


GNUniverse - May the source be with you...

Offline

#10 2010-12-22 20:22:31

phpeter
Member
Registered: 2010-12-20
Posts: 6

Re: [SOLVED] Trying to connect to wireless network

Ghaad,

The "essie" was a typo, haha. I was posting from my iPod and it auto-corrected essid.

Here is the output of iwlist wlan0 scan:

Cell 02 - Address: 00:25:9C:C9:F2:09
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-30 dBm  
                    Encryption key:on
                    ESSID:"Forsee"
                    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=000000aaa5813a62
                    Extra: Last beacon: 203ms ago
                    IE: Unknown: 0006466F72736565
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B001700000000000000000000000000000000000000
                    IE: Unknown: DD6F0050F204104A00011010440001021041000100103B00010310470010C0E406C3E24703A03A78BB6597324F1C102100074C696E6B737973102300075752543136304E102400063132333435361042000234321054000800060050F2040001101100075752543136304E100800020084
                    IE: Unknown: DD050050F20500
                    IE: Unknown: DD090010180202F4050000
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C337C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B001700000000000000000000000000000000000000

Also, I tried dhcpcd wlan0 --timeout 40 and it didn't work. Maybe because I'm using networkmanager at the same time?

Offline

#11 2010-12-24 15:44:28

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: [SOLVED] Trying to connect to wireless network

Hmm, I must say that I have no idea at the moment. Could you disable the encryption of your wifi access point and try to connect to it without the "key" in iwconfig? If this works then all you have to do is to set up the right kind of encryption (maybe your wifi card can't handle this encryption).


GNUniverse - May the source be with you...

Offline

#12 2010-12-24 15:56:27

Fleet
Member
Registered: 2008-07-09
Posts: 33

Re: [SOLVED] Trying to connect to wireless network

Hi,

You could try the "manual" setup (https://wiki.archlinux.org/index.php/Wi … nual_setup) and copy my configuration file from this post of mine (ofc change ssid and psk): https://bbs.archlinux.org/viewtopic.php … 66#p867266

Sincerely, Fleet

Last edited by Fleet (2010-12-24 15:58:06)

Offline

Board footer

Powered by FluxBB