You are not logged in.

#1 2012-08-07 03:06:23

kenshin421
Member
Registered: 2012-08-07
Posts: 12

Help with WiFi setup.

I'm trying to set up my wifi and my sound. I searched the arch wiki and arch linux forums for the past few days and couldn't find a solution.

When I input #dhcpcd wlan0 I receive
wlan0: waiting for carrier   
timed out

My output for $lspci | grep -i net
02:00,0 Network Controller: Realtek Semiconductor Co., Ltd. device 8723
03:00,2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0a)

I had to install the drivers manually with an ethernet connection from http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-bt-is-not-recognized.  I followed their instructions and managed to install the drivers.

#netcfg  Brandon
Brandon [BUSY]
WPA Authentication/Association Failed [FAIL]

even though I have an open network.

When I tried the Arch Wiki manual wireless setup, the timed out message appeared. I tried Mode: Managed and Mode: Ad-Hoc, but was unable to change the Mode into auto with "#iwconfig wlan0 channel auto" for some reason.

#iwconfig
eth0 no wireless extensions
lo no wireless extenstions
wlan0 IEEE 802.11bgn ESSID off/any Mode: Managed Access Point: Not-Associated Tx-Powe=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr: off
Encryption key: off
Power Management: off

I can associated the wlan0 with #iwconfig wlan0 essid Brandon but it still gives the timed out message when waiting for carrier.

Last edited by kenshin421 (2012-08-07 03:06:51)

Offline

#2 2012-08-07 03:31:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Help with WiFi setup.

kenshin421 wrote:

...I can associated the wlan0 with #iwconfig wlan0 essid Brandon but it still gives the timed out message when waiting for carrier.

How do you know it associated?   If the output of iwconfig does not show the MAC of the AP, you are not associated.

Just for a sanity check, please post the output of sudo iwlist scan


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-08-07 03:46:39

kenshin421
Member
Registered: 2012-08-07
Posts: 12

Re: Help with WiFi setup.

I think I overlooked the Access Point and thought just associating the ESSID would do it. Sorry, my bad. Here is the sudo iwlist scan. http://pastebin.com/1esrrnGy

Offline

#4 2012-08-07 03:56:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Help with WiFi setup.

Okay, the good news is that your wireless appears to be working.

After you try sudo iwconfig wlan0 essid Brandon
what does iwconfig report ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2012-08-07 04:08:46

kenshin421
Member
Registered: 2012-08-07
Posts: 12

Re: Help with WiFi setup.

Offline

#6 2012-08-07 04:27:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Help with WiFi setup.

I am not sure why it won't associate.  Let us look at the output of ip link

Also, maybe we can try to force the frequency.  Also, it might be trying to use a key.  Heck, lets ensure the transmitter is up...
iwconfig wlan0 essid Brandon  freq 2.452G txpower on key off


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2012-08-07 04:28:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Help with WiFi setup.

Also, maybe something is "Helping" you.  Ensure that the network daemon is not running.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2012-08-07 05:07:23

kenshin421
Member
Registered: 2012-08-07
Posts: 12

Re: Help with WiFi setup.

Output for #ip link
http://pastebin.com/1uczN9By

I didn't receive any output for iwconfig wlan0 essid Brandon  freq 2.452G txpower on key off

I rebooted after taking off networkmanager from the daemon. I got a new output for iwconfig
http://pastebin.com/ZdTgxghZ

I still received a timed out message when attempting dhcpcd wlan0.

Offline

#9 2012-08-07 05:17:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Help with WiFi setup.

wlan0     IEEE 802.11bgn  ESSID:"Brandon"                                                                                                                                                      
          Mode:Managed  Frequency:2.452 GHz  Access Point: 00:22:6B:54:E8:E8                                                                                                                    
          Bit Rate=7.2 Mb/s   Tx-Power=20 dBm                                                                                                                                                  
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off                                                                                                                              
          Encryption key:off
          Power Management:off
          Link Quality=56/70  Signal level=-54 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

That is a successful association !  smile

I still received a timed out message when attempting dhcpcd wlan0.

With the iwconfig output above ? hmm  It should not do that.

What happens (when you are associated) with dhcpcd -B -d wlan0   ??  edit As root

Last edited by ewaller (2012-08-07 05:17:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#10 2012-08-07 05:24:01

kenshin421
Member
Registered: 2012-08-07
Posts: 12

Re: Help with WiFi setup.

I redid the ip link set wlan0 down then the ESSID again and managed to connect to the network! Thank you so very much for your help! I've been at this problem for at least 4 days and I didn't think it was the networkmanager that was the problem smile

Offline

#11 2012-08-07 05:59:08

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: Help with WiFi setup.

kenshin421 wrote:

I redid the ip link set wlan0 down then the ESSID again and managed to connect to the network! Thank you so very much for your help! I've been at this problem for at least 4 days and I didn't think it was the networkmanager that was the problem smile

If you have networkmanager running you have to use it for the connection (with nmcli or nm-applet)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB