Having a strange problem with my wireless connection

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Having a strange problem with my wireless connection

Postby dcihon » 2017-07-23 12:14

I will first try to describe my issue and then supply some system information.
Problem:
When I first start my system the wireless is working just fine. After about a minute (I haven't timed it exactly) I loose the wireless connection.
It shows connected but no Internet connection working.
I disconnect and re connect and it works fine after that.

Here is what dmesg shows:
Code: Select all
[  314.741636] wlp3s0: authenticate with 00:02:6f:12:34:56
[  314.758604] wlp3s0: send auth to 00:02:6f:12:34:56 (try 1/3)
[  314.762721] wlp3s0: authenticated
[  314.764644] wlp3s0: associate with 00:02:6f:12:34:56 (try 1/3)
[  314.769080] wlp3s0: RX AssocResp from 00:02:6f:12:34:56 (capab=0x1431 status=0 aid=5)
[  314.769085] wlp3s0: AP has invalid WMM params (AIFSN=0 for ACI 0), will use 2
[  314.769085] wlp3s0: AP has invalid WMM params (AIFSN=0 for ACI 1), will use 2
[  314.769086] wlp3s0: AP has invalid WMM params (AIFSN=0 for ACI 2), will use 2
[  314.769086] wlp3s0: AP has invalid WMM params (AIFSN=0 for ACI 3), will use 2
[  314.769086] wlp3s0: failed to set TX queue parameters for AC 0
[  314.769088] wlp3s0: failed to set TX queue parameters for AC 1
[  314.769089] wlp3s0: failed to set TX queue parameters for AC 2
[  314.769089] wlp3s0: failed to set TX queue parameters for AC 3
[  314.769162] wlp3s0: associated
[  314.769168] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[  314.771809] ath: EEPROM regdomain: 0x8348
[  314.771810] ath: EEPROM indicates we should expect a country code
[  314.771811] ath: doing EEPROM country->regdmn map search
[  314.771811] ath: country maps to regdmn code: 0x3a
[  314.771811] ath: Country alpha2 being used: US
[  314.771812] ath: Regpair used: 0x3a
[  314.771812] ath: regdomain 0x8348 dynamically updated by country IE
[  314.847836] wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:02:6f:12:34:56


Here is inxi -Fxx:
Code: Select all
cihonm@cihonm:~$ inxi -Fxx
System:    Host: cihonm Kernel: 4.11.0-1-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: MATE 1.16.2 (Gtk 3.22.16-1) dm: lightdm Distro: Debian GNU/Linux buster/sid
Machine:   Device: desktop System: Dell product: Inspiron 3650 v: X00 Chassis: type: 3
           Mobo: Dell model: 0C2XKD v: A01 UEFI [Legacy]: Dell v: 3.3.10 date: 03/15/2017
CPU:       Quad core Intel Core i7-6700 (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27264
           clock speeds: min/max: 800/4000 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 899 MHz 5: 900 MHz 6: 899 MHz
           7: 900 MHz 8: 898 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM]
           bus-ID: 01:00.0 chip-ID: 1002:665f
           Display Server: x11 (X.Org 1.19.3) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: Gallium 0.4 on AMD BONAIRE (DRM 2.49.0 / 4.11.0-1-amd64, LLVM 3.9.1)
           version: 4.3 Mesa 13.0.6 (compat-v: 3.0) Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]
           driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 1002:aac0
           Card-2 Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:a170
           Card-3 Logitech Webcam C270 driver: USB Audio usb-ID: 001-005 chip-ID: 046d:0825
           Sound: Advanced Linux Sound Architecture v: k4.11.0-1-amd64
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168
           IF: enp2s0 state: down mac: 48:4d:7e:9f:4d:2f
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           driver: ath9k bus-ID: 03:00.0 chip-ID: 168c:0036
           IF: wlp3s0 state: up mac: 90:cd:b6:50:f6:2d
           Card-3: Atheros usb-ID: 001-003 chip-ID: 0cf3:e005
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 2000.4GB (1.9% used)
           ID-1: /dev/sda model: ST2000DM001 size: 2000.4GB serial: Z4Z6SQWW temp: 41C
Partition: ID-1: / size: 30G used: 20G (71%) fs: ext4 dev: /dev/sda6
           ID-2: swap-1 size: 17.18GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors:   System Temperatures: cpu: 54.0C mobo: 29.8C gpu: 54.0
           Fan Speeds (in rpm): cpu: 838 fan-2: 862
Info:      Processes: 207 Uptime: 10 min Memory: 752.2/15994.5MB
           Init: systemd v: 234 runlevel: 5 default: 2 Gcc sys: 6.4.0
           Client: Shell (bash 4.4.121 running in mate-terminal) inxi: 2.3.23


Let me know if you need any other info
dcihon
 
Posts: 87
Joined: 2012-09-23 16:18

Re: Having a strange problem with my wireless connection

Postby shep » 2017-07-23 16:33

Sometimes dns resolution can fail. In this case, you are still connected but your system does not know how to get to where you want to go.
See https://nlp.stanford.edu/IR-book/html/htmledition/dns-resolution-1.html
You can test for this using
Code: Select all
ping 8.8.8.8
.
shep
 
Posts: 102
Joined: 2011-03-15 15:22

Re: Having a strange problem with my wireless connection

Postby dcihon » 2017-07-23 16:48

Code: Select all
cihonm@cihonm:~$ ping 8.8.8.8
connect: Network is unreachable
dcihon
 
Posts: 87
Joined: 2012-09-23 16:18

Re: Having a strange problem with my wireless connection

Postby shep » 2017-07-23 18:14

Now that dns resolution problems have been ruled out we can focus on the connection

There is a link, with a resolution, in this Mint forum thread for a similar problem with the ath9k driver.
shep
 
Posts: 102
Joined: 2011-03-15 15:22

Re: Having a strange problem with my wireless connection

Postby dcihon » 2017-07-24 10:06

I did what that link had in it and that didn't fix it for me:
Code: Select all
sudo nano /etc/modprobe.d/ath9k.conf


Code: Select all
options ath9k nohwcrypt=1 blink=1 btcoex_enable=1 enable_diversity=1


Any idea what to try next?
dcihon
 
Posts: 87
Joined: 2012-09-23 16:18

Re: Having a strange problem with my wireless connection

Postby dcihon » 2017-07-24 10:49

I also noticed this.
When I start the system and leave it at the login prompt without logging in for a minute or so there is no connection to the Internet also.
I ran this command and it worked also, but doesn't stay working after reboot.
Also I installed atheros-firmware but that hasn't made any difference either.
Here is the command I ran after logging in:
Code: Select all
 systemctl restart network-manager.service
dcihon
 
Posts: 87
Joined: 2012-09-23 16:18

Re: Having a strange problem with my wireless connection

Postby shep » 2017-07-24 11:46

I noticed you're are running Buster/Sid which increases the possibility of an upstream problem. Does the card work with Debian 9.1? You can test with a live version.
shep
 
Posts: 102
Joined: 2011-03-15 15:22


Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable