WiFi peculiar behaviour

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
JeremyB
Level 19
Level 19
Posts: 9304
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sun Jan 28, 2018 10:03 am

Lets see if setting the country code helps

Code: Select all

sudo iw reg set IN
sudo sed -i 's/^REG.*=$/&IN/' /etc/default/crda
Reboot

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sun Jan 28, 2018 11:29 am

Working again. Thanks!

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sun Jan 28, 2018 12:07 pm

It worked for a while but now the internet is not working whereas the network manager says I am connected to the wifi.

JeremyB
Level 19
Level 19
Posts: 9304
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sun Jan 28, 2018 12:09 pm

See if putting the wifi router on channel 3 rather than auto helps, it might be changing channels

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Tue Jan 30, 2018 1:40 am

JeremyB wrote:See if putting the wifi router on channel 3 rather than auto helps, it might be changing channels
Same problems :(

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Wed Jan 31, 2018 7:23 am

The network works for sometime before going down.. it starts working again after a while and so on.

JeremyB
Level 19
Level 19
Posts: 9304
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Wed Jan 31, 2018 7:38 am

The next time it drops do

Code: Select all

cat /var/log/syslog | tail -20
See if there are any clues

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Thu Feb 08, 2018 10:09 am

I ran the above command after unplugging my ethernet while still connected to my WiFi. After removing the ethernet cable, the net stopped working.
Encryption - WPA/WPA2
Network manager said I was connected to wifi but internet did not work.
These are the logs.

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ cat /var/log/syslog | tail -20
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Withdrawing address record for 192.168.0.4 on eno1.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Leaving mDNS multicast group on interface eno1.IPv4 with address 192.168.0.4.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[949]: <info>  [1518098369.1354] manager: NetworkManager state is now CONNECTED_LOCAL
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Interface eno1.IPv4 no longer relevant for mDNS.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[949]: <info>  [1518098369.1357] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Withdrawing address record for fe80::8d2a:df69:20ae:9c82 on eno1.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[949]: <info>  [1518098369.1359] policy: set 'Auto Pratyush' (wlo1) as default for IPv4 routing and DNS
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Leaving mDNS multicast group on interface eno1.IPv6 with address fe80::8d2a:df69:20ae:9c82.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[949]: <info>  [1518098369.1363] dns-mgr: Writing DNS information to /sbin/resolvconf
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC avahi-daemon[886]: Interface eno1.IPv6 no longer relevant for mDNS.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC dnsmasq[1205]: setting upstream servers from DBus
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC dnsmasq[1205]: using nameserver 192.168.0.1#53(via wlo1)
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC dbus[922]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC dbus[922]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC systemd[1]: Started Network Manager Script Dispatcher Service.
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC nm-dispatcher: req:1 'down' [eno1]: new request (1 scripts)
Feb  8 19:29:29 pratyush-HP-Pavilion-15-Notebook-PC nm-dispatcher: req:1 'down' [eno1]: start running ordered scripts...
Feb  8 19:29:47 pratyush-HP-Pavilion-15-Notebook-PC ntpd[1563]: Soliciting pool server 2001:67c:1560:8003::c8
Feb  8 19:29:53 pratyush-HP-Pavilion-15-Notebook-PC ntpd[1563]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
After this, I tried setting the encryption to WPA2 only as referenced in a post on this thread. And now Network manager again refuses to connect to Wifi.
I ran the command again.

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ cat /var/log/syslog | tail -20
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC dbus[962]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC systemd[1]: Started Network Manager Script Dispatcher Service.
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC nm-dispatcher: req:1 'down' [eno1]: new request (1 scripts)
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC nm-dispatcher: req:1 'down' [eno1]: start running ordered scripts...
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC ntpd[1987]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Feb  8 19:51:36 pratyush-HP-Pavilion-15-Notebook-PC ntpd[1987]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Feb  8 19:51:37 pratyush-HP-Pavilion-15-Notebook-PC wpa_supplicant[1169]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <warn>  [1518099698.0383] device (wlo1): Activation: (wifi) association took too long
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <info>  [1518099698.0384] device (wlo1): state change: config -> failed (reason 'no-secrets') [50 120 7]
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <info>  [1518099698.0387] manager: NetworkManager state is now DISCONNECTED
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <info>  [1518099698.0389] manager: startup complete
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC kernel: [  129.983629] wlo1: deauthenticating from 1c:5f:2b:4c:9e:c6 by local choice (Reason: 3=DEAUTH_LEAVING)
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <warn>  [1518099698.0404] device (wlo1): Activation: failed for connection 'Auto Pratyush'
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <info>  [1518099698.0426] device (wlo1): state change: failed -> disconnected (reason 'none') [120 30 0]
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC wpa_supplicant[1169]: wlo1: CTRL-EVENT-DISCONNECTED bssid=1c:5f:2b:4c:9e:c6 reason=3 locally_generated=1
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC kernel: [  130.044113] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC wpa_supplicant[1169]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <warn>  [1518099698.1147] sup-iface[0xdaa0a0,wlo1]: connection disconnected (reason -3)
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC NetworkManager[974]: <info>  [1518099698.1151] device (wlo1): supplicant interface state: associated -> disconnected
Feb  8 19:51:38 pratyush-HP-Pavilion-15-Notebook-PC ntpd[1987]: Soliciting pool server 2406:f000:3:e000::2

JeremyB
Level 19
Level 19
Posts: 9304
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Thu Feb 08, 2018 6:04 pm

I would try

Code: Select all

echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf
Reboot

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Fri Feb 09, 2018 9:11 am

JeremyB wrote:
Thu Feb 08, 2018 6:04 pm
I would try

Code: Select all

echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf
Reboot
Worked for a couple of minutes before reverting to the previous state of showing connected but not working.

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Thu Feb 15, 2018 8:00 am

I disabled Firewall but that did not help too.

Post Reply

Return to “Wireless”