You are not logged in.

#1 2013-02-27 09:23:49

zoran119
Member
Registered: 2009-03-10
Posts: 33

WiFi connected, but no traffic

Hi all,

I have just installed Arch on my Dell XPS 14 Ultrabook. I use wifi-menu and it says that it successfully connected to my WiFi. However, I cannot ping anything (not event the gateway, it just sits there until I kill it with ^c).

However, I created a hotspot on my android phone and the laptop connected to it and I could browse the net.

Some diagnostics are included below. Any idea what might be going on?

# lspci | grep -i net
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)
08:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)

# dmesg | tail -10
[   25.595022] IPv6: ADDRCONF(NETDEV_CHANGE): wlp8s0: link becomes ready
[   25.595871] cfg80211: Calling CRDA for country: AU
[   35.708326] IPv6: ADDRCONF(NETDEV_UP): wlp8s0: link is not ready
[   39.623713] wlp8s0: authenticate with 00:04:ed:11:a8:4f
[   39.628850] wlp8s0: send auth to 00:04:ed:11:a8:4f (try 1/3)
[   39.631059] wlp8s0: authenticated
[   39.632674] wlp8s0: associate with 00:04:ed:11:a8:4f (try 1/3)
[   39.640424] wlp8s0: RX AssocResp from 00:04:ed:11:a8:4f (capab=0x411 status=0 aid=5)
[   39.640587] IPv6: ADDRCONF(NETDEV_CHANGE): wlp8s0: link becomes ready
[   39.640828] wlp8s0: associated

# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether b8:ca:3a:bf:a4:24 brd ff:ff:ff:ff:ff:ff
3: wlp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 9c:2a:70:24:50:c3 brd ff:ff:ff:ff:ff:ff


# iwconfig
wlp8s0    IEEE 802.11abgn  ESSID:"stoj"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:04:ED:11:A8:4F   
          Bit Rate=144.4 Mb/s   Tx-Power=17 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=65/70  Signal level=-45 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:22   Missed beacon:0

# ip route
default via 192.168.1.254 dev wlp8s0  metric 303 
192.168.1.0/24 dev wlp8s0  proto kernel  scope link  src 192.168.1.48  metric 303 

# lsmod | grep ath
ath3k                   5530  0 
ath9k                  86108  0 
ath9k_common            1605  1 ath9k
ath9k_hw              340030  2 ath9k_common,ath9k
ath                    12382  3 ath9k_common,ath9k,ath9k_hw
bluetooth             237711  3 ath3k,btusb
mac80211              372648  1 ath9k
cfg80211              155583  3 ath,ath9k,mac80211
usbcore               148616  5 ath3k,btusb,uvcvideo,ehci_hcd,xhci_hcd

# ps -ef | grep wpa
root       565     1  0 07:04 ?        00:00:00 wpa_supplicant -B -P /run/wpa_supplicant_wlp8s0.pid -i wlp8s0 -D nl80211,wext -c/run/network/wpa.wlp8s0/wpa.conf
root       726   339  0 07:18 tty1     00:00:00 grep wpa

# ps -ef | grep dhcp
root       660     1  0 07:05 ?        00:00:00 dhcpcd -qL -t 10 wlp8s0
root       731   339  0 07:19 tty1     00:00:00 grep dhcp

Offline

#2 2013-02-27 10:36:20

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: WiFi connected, but no traffic

First of all, try to connect it manually ithout any frontends.

Use iwconfig to connect your laptop to the SSID you want, and then launch dhcpcd on the wireless interface.

Post anything suspect.

And, yeah, try the to connect an other device to your router too. (Your phone, for example).


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2013-02-28 10:11:14

zoran119
Member
Registered: 2009-03-10
Posts: 33

Re: WiFi connected, but no traffic

I changed the security mode of my WiFi to WPA2 (as opposed to WPA/WPA2-PSK) and all is well now.

Offline

#4 2013-02-28 22:34:00

zoran119
Member
Registered: 2009-03-10
Posts: 33

Re: WiFi connected, but no traffic

I was wrong... it is not all good. Very intermittent. Works if I disable WiFi security completely. Any ideas?

Last edited by zoran119 (2013-02-28 22:34:11)

Offline

#5 2013-02-28 22:51:29

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: WiFi connected, but no traffic

https://wiki.archlinux.org/index.php/Beginners'_Guide/Installation#Wireless_2

Is wpa_supplicant installed along with the other stuff?

Offline

#6 2013-03-01 10:22:01

zoran119
Member
Registered: 2009-03-10
Posts: 33

Re: WiFi connected, but no traffic

Yes, everything is running (see the code I pasted in the first post). I can connect using wicd, NetworkManager, from command line or wifi-menu. I get an IP address every time. But no traffic at all about 90% of the time... I keep rebooting and then eventually it works... Have no idea where to start...

Offline

#7 2013-03-02 09:51:15

zoran119
Member
Registered: 2009-03-10
Posts: 33

Re: WiFi connected, but no traffic

Changed the WiFi network from channel 11 to 6 and it is all working now... go figure.

Offline

Board footer

Powered by FluxBB