Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently installed Linux Mint 19.1 so i am completely newbie in this topic.
Everything works great except of my wifi keeps disconnecting randomly. Once disconnected wifi is not finding any network and i am unable to change this unless i restart my machine.
Feb 19 00:14:21 krzysztof-K501UQ wpa_supplicant[847]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=84:47:65:e2:42:c1 reason=4 locally_generated=1
Feb 19 00:14:21 krzysztof-K501UQ NetworkManager[868]: <warn> [1550535261.7035] sup-iface[0x5562de58b240,wlp3s0]: connection disconnected (reason -4)
Feb 19 00:14:21 krzysztof-K501UQ NetworkManager[868]: <info> [1550535261.7284] device (wlp3s0): supplicant interface state: completed -> disconnected
Feb 19 00:14:21 krzysztof-K501UQ NetworkManager[868]: <info> [1550535261.8099] device (wlp3s0): supplicant interface state: disconnected -> scanning
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: Internet Systems Consortium DHCP Client 4.3.5
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: Copyright 2004-2016 Internet Systems Consortium.
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: All rights reserved.
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: For info, please visit https://www.isc.org/software/dhcp/
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]:
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: Listening on LPF/wlp3s0/a4:02:b9:24:cf:16
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: Sending on LPF/wlp3s0/a4:02:b9:24:cf:16
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4259]: Sending on Socket/fallback
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Withdrawing address record for 192.168.1.2 on wlp3s0.
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.2.
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.4249] manager: NetworkManager state is now CONNECTED_SITE
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
Feb 19 00:14:22 krzysztof-K501UQ dbus-daemon[801]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.9' (uid=0 pid=868 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Feb 19 00:14:22 krzysztof-K501UQ systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 19 00:14:22 krzysztof-K501UQ dbus-daemon[801]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb 19 00:14:22 krzysztof-K501UQ systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Interface wlp3s0.IPv6 no longer relevant for mDNS.
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Leaving mDNS multicast group on interface wlp3s0.IPv6 with address fe80::a602:b9ff:fe24:cf16.
Feb 19 00:14:22 krzysztof-K501UQ avahi-daemon[793]: Withdrawing address record for fe80::a602:b9ff:fe24:cf16 on wlp3s0.
Feb 19 00:14:22 krzysztof-K501UQ dhclient[1480]: receive_packet failed on wlp3s0: Network is down
Feb 19 00:14:22 krzysztof-K501UQ nm-dispatcher: req:1 'connectivity-change': new request (1 scripts)
Feb 19 00:14:22 krzysztof-K501UQ nm-dispatcher: req:1 'connectivity-change': start running ordered scripts...
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.4469] device (wlp3s0): supplicant interface state: scanning -> disabled
Feb 19 00:14:22 krzysztof-K501UQ kernel: [ 831.107480] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.4526] device (wlp3s0): supplicant interface state: disabled -> scanning
Feb 19 00:14:22 krzysztof-K501UQ wpa_supplicant[847]: nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: Internet Systems Consortium DHCP Client 4.3.5
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: Copyright 2004-2016 Internet Systems Consortium.
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: All rights reserved.
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: For info, please visit https://www.isc.org/software/dhcp/
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]:
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: Listening on LPF/enp2s0/34:97:f6:72:5e:65
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: Sending on LPF/enp2s0/34:97:f6:72:5e:65
Feb 19 00:14:22 krzysztof-K501UQ dhclient[4291]: Sending on Socket/fallback
Feb 19 00:14:22 krzysztof-K501UQ wpa_supplicant[847]: p2p-dev-wlp3s0: CTRL-EVENT-TERMINATING
Feb 19 00:14:22 krzysztof-K501UQ wpa_supplicant[847]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Feb 19 00:14:22 krzysztof-K501UQ wpa_supplicant[847]: wlp3s0: CTRL-EVENT-TERMINATING
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.7360] supplicant: wpa_supplicant stopped
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.7362] device (wlp3s0): supplicant interface state: scanning -> down
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.7367] device (wlp3s0): state change: activated -> unavailable (reason 'supplicant-failed', sys-iface-state: 'managed')
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.7698] dhcp4 (wlp3s0): canceled DHCP transaction, DHCP client pid 1480
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.7699] dhcp4 (wlp3s0): state changed bound -> done
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.8084] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <info> [1550535262.8086] manager: NetworkManager state is now DISCONNECTED
Feb 19 00:14:22 krzysztof-K501UQ kernel: [ 831.467866] r8169 0000:02:00.0 enp2s0: link down
Feb 19 00:14:22 krzysztof-K501UQ kernel: [ 831.467933] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
Feb 19 00:14:22 krzysztof-K501UQ systemd[1]: Starting resolvconf-pull-resolved.service...
Feb 19 00:14:22 krzysztof-K501UQ NetworkManager[868]: <warn> [1550535262.8136] sup-iface: failed to remove network: The name :1.4 was not provided by any .service files
Feb 19 00:14:22 krzysztof-K501UQ nm-dispatcher: req:2 'down' [wlp3s0]: new request (1 scripts)
Feb 19 00:14:22 krzysztof-K501UQ nm-dispatcher: req:2 'down' [wlp3s0]: start running ordered scripts...
Feb 19 00:14:22 krzysztof-K501UQ systemd[1]: Started resolvconf-pull-resolved.service.
Feb 19 00:14:23 krzysztof-K501UQ goa-daemon[1392]: goa_ews_client_autodiscover() failed: 2 — Error resolving “outlook.office365.com”: Name or service not known
Feb 19 00:14:23 krzysztof-K501UQ goa-daemon[1392]: goa_ews_client_autodiscover() failed: 2 — Error resolving “autodiscover.outlook.office365.com”: Name or service not known
Feb 19 00:14:23 krzysztof-K501UQ goa-daemon[1392]: /org/gnome/OnlineAccounts/Accounts/account_1548784306_1: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: Invalid password with username “krzysztof.puchalski@joules.com” (goa-error-quark, 0): Cannot resolve hostname (goa-error-quark, 4)
Feb 19 00:14:24 krzysztof-K501UQ goa-daemon[1392]: goa_ews_client_autodiscover() failed: 2 — Error resolving “outlook.office365.com”: Name or service not known
Feb 19 00:14:24 krzysztof-K501UQ goa-daemon[1392]: goa_ews_client_autodiscover() failed: 2 — Error resolving “autodiscover.outlook.office365.com”: Name or service not known
Feb 19 00:14:33 krzysztof-K501UQ NetworkManager[868]: <info> [1550535273.2983] supplicant: wpa_supplicant die count reset
iwconfig
Code:
wlp3s0 IEEE 802.11 ESSID:"KoziolekMatolek"
Mode:Managed Frequency:5.5 GHz Access Point: 84:47:65:E2:42:C1
Bit Rate=866.7 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=54/70 Signal level=-56 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:45 Missed beacon:0
lo no wireless extensions.
enp2s0 no wireless extensions.
[connection]
wifi.powersave = 3
Open up the terminal and run the command below to add a line in /etc/modprobe.d/iwlwifi.conf, it will add what's in between the brackets.
Code:
echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
Reboot, if it's not working properly you may also need to disable power management for your wireless adapter, run the command below to open appropriate file in a text editor:
unstable driver can be the issue. Newer firmware might be available and solves the issue. Newer driver even, probably from a github source. Other quirks for drivers that don't yet have fixes, like disabling power-save modes.
Other possibilities like if you configure it on the CLI and there's a "manager" running, when it kicks in, it undoes what you did on the CLI. So stop that "manager" before you do a manual CLI configuration. Or actually use the manager to establish the connection. nmtui for network manager on some distros for the CLI option of that "manager". Or just wifi bridge through another device over ethernet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.