Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wicd says wifi connects but no Internet

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
hruodland
Posts: 12
Joined: 2013-12-04 01:23

wicd says wifi connects but no Internet

#1 Post by hruodland »

I've been running Stretch for several months, no problems.

A couple days ago I suddenly lost wifi Internet connectivity even though wicd said I was connecting to my router normally.

1. Other devices connect OK.

2. Rebooting modem, router, and computer doesn't help.

3. When I boot into Stretch on the same computer using a USB drive it works fine.

4. When I change wireless cards it still doesn't work.

5. Reinstalling everything (aptitude -reinstall '~i') doesn't help.

6. ifconfig says:

Code: Select all

wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.43  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::6666:b3ff:fef4:68b0  prefixlen 64  scopeid 0x20<link>
        ether 64:66:b3:f4:68:b0  txqueuelen 1000  (Ethernet)
        RX packets 154  bytes 30836 (30.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 4474 (4.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
7. route -e says:

Code: Select all

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         192.168.1.1     0.0.0.0         UG        0 0          0 wlan1
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan1
8. lspci -knn | grep Net -A2 says:

Code: Select all

04:00.0 Network controller [0280]: Qualcomm Atheros AR9227 Wireless Network Adapter [168c:002d] (rev 01)
	Subsystem: Qualcomm Atheros AR9227 Wireless Network Adapter [168c:0301]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
9. ping yahoo.com says:

Code: Select all

ping: yahoo.com: Temporary failure in name resolution
Any thoughts?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#2 Post by Head_on_a_Stick »

Can we see

Code: Select all

/sbin/iwconfig
cat /etc/resolv.conf
ping -c3 206.190.36.45
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#3 Post by hruodland »

Code: Select all

/sbin/iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan1     IEEE 802.11  ESSID:"192690"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:4E:7F:19:26:8F   
          Bit Rate=1 Mb/s   Tx-Power=13 dBm   
          Retry short limit:7   RTS thr:off   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:21   Missed beacon:0

Code: Select all

cat /etc/resolv.conf
domain home
search home
nameserver 192.168.1.1

Code: Select all

ping -c3 206.190.36.45
PING 206.190.36.45 (206.190.36.45) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

--- 206.190.36.45 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2034ms

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#4 Post by Head_on_a_Stick »

hruodland wrote:

Code: Select all

ping: sendmsg: Operation not permitted
Did you try running the command as root?
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#5 Post by hruodland »

I ran it as root. That's the result.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#6 Post by Head_on_a_Stick »

Is the interface blocked?

Code: Select all

# rfkill list
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#7 Post by hruodland »

Code: Select all

rfkill list
1: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#8 Post by Head_on_a_Stick »

Firewall, perhaps?

Code: Select all

# nft list ruleset
# iptables -L
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#9 Post by hruodland »

Doubtful. Wired works fine. Anyway,

Code: Select all

nft list ruleset
zsh: command not found: nft

Code: Select all

iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
bad_packets  all  --  anywhere             anywhere            
DROP       all  --  anywhere             224.0.0.1           
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
tcp_inbound  tcp  --  anywhere             anywhere            
udp_inbound  udp  --  anywhere             anywhere            
icmp_packets  icmp --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
tcp_inbound  tcp  --  anywhere             anywhere            
udp_inbound  udp  --  anywhere             anywhere            
icmp_packets  icmp --  anywhere             anywhere            
DROP       all  --  anywhere             anywhere             PKTTYPE = broadcast
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 3 LOG level warning prefix "INPUT packet died: "

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
DROP       icmp --  anywhere             anywhere             state INVALID
ACCEPT     all  --  localhost            anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 3 LOG level warning prefix "OUTPUT packet died: "

Chain bad_packets (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             state INVALID LOG level warning prefix "Invalid packet: "
DROP       all  --  anywhere             anywhere             state INVALID
bad_tcp_packets  tcp  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere

Chain bad_tcp_packets (1 references)
target     prot opt source               destination         
LOG        tcp  --  anywhere             anywhere             tcp flags:!FIN,SYN,RST,ACK/SYN state NEW LOG level warning prefix "New not syn: "
DROP       tcp  --  anywhere             anywhere             tcp flags:!FIN,SYN,RST,ACK/SYN state NEW
LOG        tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
LOG        tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG
LOG        tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG
LOG        tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,ACK,URG LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,ACK,URG
LOG        tcp  --  anywhere             anywhere             tcp flags:SYN,RST/SYN,RST LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:SYN,RST/SYN,RST
LOG        tcp  --  anywhere             anywhere             tcp flags:FIN,SYN/FIN,SYN LOG level warning prefix "Stealth scan: "
DROP       tcp  --  anywhere             anywhere             tcp flags:FIN,SYN/FIN,SYN
RETURN     tcp  --  anywhere             anywhere            

Chain icmp_packets (2 references)
target     prot opt source               destination         
LOG        icmp -f  anywhere             anywhere             LOG level warning prefix "ICMP Fragment: "
DROP       icmp -f  anywhere             anywhere            
DROP       icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
RETURN     icmp --  anywhere             anywhere            

Chain tcp_inbound (2 references)
target     prot opt source               destination         
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpts:ftp-data:ftp
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:gopher
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:pop3
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpt:netbios-ssn
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpt:microsoft-ds
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpt:4711
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpts:5900:5902
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:1683
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:8000
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:tproxy
ACCEPT     tcp  --  anywhere             anywhere             tcp dpts:8082:8089
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:22222
RETURN     tcp  --  anywhere             anywhere            

Chain tcp_outbound (0 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            

Chain udp_inbound (2 references)
target     prot opt source               destination
DROP       udp  -- !192.168.1.0/24       anywhere             udp dpt:netbios-ns
DROP       udp  -- !192.168.1.0/24       anywhere             udp dpt:netbios-dgm
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ACCEPT     udp  --  192.168.1.0/24       anywhere             udp dpts:20:fsp
ACCEPT     udp  --  192.168.1.0/24       anywhere             udp dpts:netbios-ns:netbios-dgm
ACCEPT     udp  --  anywhere             anywhere             udp dpt:443
ACCEPT     udp  --  anywhere             anywhere             udp dpts:8081:8090
RETURN     udp  --  anywhere             anywhere            

Chain udp_outbound (0 references)
target     prot opt source               destination         
ACCEPT     udp  --  anywhere             anywhere

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#10 Post by Head_on_a_Stick »

hruodland wrote:Doubtful
Easy to test — does the connection (or `ping` command) work if you disable the firewall?

I don't use iptables so I can't really comment on your configuration but we do have some users here who are good with that sort of thing :)
deadbang

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#11 Post by Head_on_a_Stick »

Try disabling powersaving on the card, and perhaps switch to software encryption as well:

https://wiki.archlinux.org/index.php/Wi ... tion#ath9k
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#12 Post by hruodland »

Disabled iptables and no improvement. Power management already off on card (see output of iwconfig in my first post). Software encryption?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wicd says wifi connects but no Internet

#13 Post by Head_on_a_Stick »

hruodland wrote:Power management already off on card (see output of iwconfig in my first post).
The `iwconfig` output displays the kernel's power management strategy but the firmware on the wireless card also has a power saving option that can be toggled via a module option (as can the hardware encryption) — my ArchWiki link explains the method.
deadbang

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#14 Post by hruodland »

Adding

Code: Select all

options ath9k nohwcrypt=1
to

Code: Select all

/etc/modprobe.d/ath9k.conf
and

Code: Select all

iw dev wlan1 set power_save off
didn't help, if that was what you had in mind. (I removed and reinserted the ath9k module after the former change, if that matters.)

v&n
Posts: 624
Joined: 2015-02-04 02:57

Re: wicd says wifi connects but no Internet

#15 Post by v&n »

I wonder if the poor connection speed to the router is causing dns failure too..
hruodland wrote:

Code: Select all

wlan1     IEEE 802.11  ESSID:"192690"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:4E:7F:19:26:8F   
          Bit Rate=1 Mb/s   Tx-Power=13 dBm
The ath9k driver, as well as most of the atheros cards usually work nicely with Linux. So I am also suspecting router settings here.

What kind of encryption are you using in the router. I did read that "Other devices connect ok", but still think there may be something that may be optimized there. For example, changing the encryption to pure WPA2-PSK (AES) instead of WPA/WPA2 mixed mode with TKIP (the mixed mode is usually default in most routers).

Also, please show us :

Code: Select all

modinfo ath9k

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet [SOLVED]

#16 Post by hruodland »

The router says it's using WPA + WPA2. I tried connecting to a different router, and also using a different wifi card (actually a MediaLink 150N USB device that calls for the Debian iwlwifi package) and same result.

modinfo ath9k says

Code: Select all

filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
alias:          pci:v0000168Cd00000036sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001028sd0000020Ebc*sc*i*
alias:          pci:v0000168Cd00000036sv00001043sd000085F2bc*sc*i*
alias:          pci:v0000168Cd00000036sv000017AAsd00004026bc*sc*i*
alias:          pci:v0000168Cd00000036sv000017AAsd00003026bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E099bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E091bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E081bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E08Fbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E07Fbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000185Fsd0000A120bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000185Fsd00003027bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd000028A4bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd000028A2bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd00002813bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd00002810bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Fsd00007202bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd00002F82bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000218Cbc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000218Bbc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd00002182bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000213Bbc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd00002130bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000813bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000803bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000692bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00001832bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000832bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000612bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000652bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000642bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd0000302Cbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd00003027bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000412Abc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd00004129bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000411Ebc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000411Dbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000411Cbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000411Bbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000144Dsd0000411Abc*sc*i*
alias:          pci:v0000168Cd00000036sv00001028sd0000020Cbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000103Csd00002005bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000103Csd0000217Fbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000103Csd000018E3bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000213Cbc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000213Abc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000682bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd000006A2bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000662bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000672bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000622bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000185Fsd00003028bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E069bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd0000302Bbc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd00003026bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd00003025bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd00002F8Abc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd0000218Abc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd000028A3bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd000028A1bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd00002812bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001B9Asd00002811bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00006671bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00001842bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000842bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd000006B2bc*sc*i*
alias:          pci:v0000168Cd00000036sv000011ADsd00000632bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000185Fsd0000A119bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000105Bsd0000E068bc*sc*i*
alias:          pci:v0000168Cd00000036sv00001A3Bsd00002176bc*sc*i*
alias:          pci:v0000168Cd00000036sv0000168Csd00003028bc*sc*i*
alias:          pci:v0000168Cd00000037sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000034sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000030sv00001A56sd00002003bc*sc*i*
alias:          pci:v0000168Cd00000034sv000010CFsd00001783bc*sc*i*
alias:          pci:v0000168Cd00000034sv000014CDsd00000064bc*sc*i*
alias:          pci:v0000168Cd00000034sv000014CDsd00000063bc*sc*i*
alias:          pci:v0000168Cd00000034sv0000103Csd00001864bc*sc*i*
alias:          pci:v0000168Cd00000034sv000011ADsd00006641bc*sc*i*
alias:          pci:v0000168Cd00000034sv000011ADsd00006631bc*sc*i*
alias:          pci:v0000168Cd00000034sv00001043sd0000850Ebc*sc*i*
alias:          pci:v0000168Cd00000034sv00001A3Bsd00002110bc*sc*i*
alias:          pci:v0000168Cd00000034sv00001969sd00000091bc*sc*i*
alias:          pci:v0000168Cd00000034sv000017AAsd00003214bc*sc*i*
alias:          pci:v0000168Cd00000034sv0000168Csd00003117bc*sc*i*
alias:          pci:v0000168Cd00000034sv000011ADsd00006661bc*sc*i*
alias:          pci:v0000168Cd00000034sv00001A3Bsd00002116bc*sc*i*
alias:          pci:v0000168Cd00000033sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001043sd0000850Dbc*sc*i*
alias:          pci:v0000168Cd00000032sv00001B9Asd00001C01bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001B9Asd00001C00bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00001F95bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00001195bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00001F86bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00001186bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001B9Asd00002001bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001B9Asd00002000bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Fsd00007197bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000105Bsd0000E04Fbc*sc*i*
alias:          pci:v0000168Cd00000032sv0000105Bsd0000E04Ebc*sc*i*
alias:          pci:v0000168Cd00000032sv000011ADsd00006628bc*sc*i*
alias:          pci:v0000168Cd00000032sv000011ADsd00006627bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001C56sd00004001bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00002100bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00002C97bc*sc*i*
alias:          pci:v0000168Cd00000032sv000017AAsd00003219bc*sc*i*
alias:          pci:v0000168Cd00000032sv000017AAsd00003218bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000C708bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000C680bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000C706bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000410Fbc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000410Ebc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd0000410Dbc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd00004106bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000144Dsd00004105bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000185Fsd00003027bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000185Fsd00003119bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000168Csd00003122bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000168Csd00003119bc*sc*i*
alias:          pci:v0000168Cd00000032sv0000105Bsd0000E075bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00002152bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd0000126Abc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00002126bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00001237bc*sc*i*
alias:          pci:v0000168Cd00000032sv00001A3Bsd00002086bc*sc*i*
alias:          pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000030sv00001A56sd00002001bc*sc*i*
alias:          pci:v0000168Cd00000030sv00001A56sd00002000bc*sc*i*
alias:          pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Bsv00001A3Bsd00002C37bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv000010CFsd00001536bc*sc*i*
alias:          pci:v0000168Cd0000002Asv000010CFsd0000147Dbc*sc*i*
alias:          pci:v0000168Cd0000002Asv000010CFsd0000147Cbc*sc*i*
alias:          pci:v0000168Cd0000002Asv0000185Fsd0000309Dbc*sc*i*
alias:          pci:v0000168Cd0000002Asv00001A32sd00000306bc*sc*i*
alias:          pci:v0000168Cd0000002Asv000011ADsd00006642bc*sc*i*
alias:          pci:v0000168Cd0000002Asv000011ADsd00006632bc*sc*i*
alias:          pci:v0000168Cd0000002Asv0000105Bsd0000E01Fbc*sc*i*
alias:          pci:v0000168Cd0000002Asv00001A3Bsd00001C71bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv0000168Csd00002096bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends:        mac80211,ath9k_hw,ath9k_common,cfg80211,ath
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions 
parm:           debug:Debugging mask (uint)
parm:           nohwcrypt:Disable hardware encryption (int)
parm:           blink:Enable LED blink on activity (int)
parm:           led_active_high:Invert LED polarity (int)
parm:           btcoex_enable:Enable wifi-BT coexistence (int)
parm:           bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:           ps_enable:Enable WLAN PowerSave (int)
Last edited by hruodland on 2017-05-31 11:06, edited 1 time in total.

v&n
Posts: 624
Joined: 2015-02-04 02:57

Re: wicd says wifi connects but no Internet

#17 Post by v&n »

hruodland wrote:The router says it's using WPA + WPA2. I tried connecting to a different router
Most of the routers use that combination as default, and that is not optimal.
Please try changing it to pure WPA-PSK with CCMP (AES). No TKIP or the WPA+WPA2 mixed mode. Reboot the router after saving the changes and retry connecting.

If it still fails, please post the outputs of :

Code: Select all

grep [[:alnum:]] /sys/module/ath9k/parameters/*
dmesg | egrep -i 'ath9k|80211|wireless|wifi|switch|network'

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: wicd says wifi connects but no Internet

#18 Post by debiman »

the second ping error seems to be clearly firewall related:
ping: yahoo.com: Temporary failure in name resolution
the first error is less clear, but maybe also firewall:
ping: yahoo.com: Temporary failure in name resolution

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet

#19 Post by hruodland »

Plausible, but disabling firewall

Code: Select all

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
doesn't help. (Also, it works ok when I switch to the wired connection.)

hruodland
Posts: 12
Joined: 2013-12-04 01:23

Re: wicd says wifi connects but no Internet [SOLVED]

#20 Post by hruodland »

It turns out it was indeed iptables. The code above, which supposedly disabled iptables, didn't do the job sufficiently. Revoving the iptables.up.rules file from /etc did, and I've rewritten iptables.up.rules so it's no longer a problem.

Post Reply