wifi suddenly not connecting

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

wifi suddenly not connecting

Post by DMG » Thu Mar 08, 2018 2:55 pm

My issue is that I can not connect from my Linux mint 18.3 to wifi, It worked fine yesterday, but today it's not. I checked from other devices and network is working, End it is working even from this PC, if I load Linux Mint from USB and connect to wifi from there. I tried to reinstall network-manager, but it didn't help either. Everything works from cable, but wifi connection thows out error "Secrets were required, but not provided". In log it looks like this:

08.03.18 20:52 dell-7559 NetworkManager[1315] <warn> [1520535122.6551] device (wlp5s0): No agents were available for this request.
08.03.18 20:52 dell-7559 NetworkManager[1315] <info> [1520535122.6552] device (wlp5s0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
08.03.18 20:52 dell-7559 NetworkManager[1315] <warn> [1520535122.6555] device (wlp5s0): Activation: failed for connection 'ASUS'
08.03.18 20:52 dell-7559 NetworkManager[1315] <info> [1520535122.6558] device (wlp5s0): state change: failed -> disconnected (reason 'none') [120 30 0]
08.03.18 20:52 dell-7559 kernel [ 1113.367399] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready

Only update yesterday was to google chrome. Please, help me with some idea how to fix this,

User avatar
thx-1138
Level 6
Level 6
Posts: 1290
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: wifi suddenly not connecting

Post by thx-1138 » Thu Mar 08, 2018 4:06 pm

...have you tried rebooting the router?
Google reveals quite a few suggestions, eg. here, here & also here.

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Thu Mar 08, 2018 4:50 pm

Yes rebooted router twice and it did not help.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: wifi suddenly not connecting

Post by Sir Charles » Thu Mar 08, 2018 5:00 pm

Hi DMG,
Not that I know how to help you, but it would be useful if you could provide some info about your system:
Please run each of the following commands from a terminal and copy-paste the output of each between code tags: </>

Code: Select all

inxi -Fxz

Code: Select all

rfkill list all

Code: Select all

iwconfig
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 12:26 am

Code: Select all

~ $ inxi -Fxz
System:    Host: dell-7559 Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: KDE Plasma 5.8.8 (Qt 5.6.1) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell (portable) product: Inspiron 7559 v: 1.1.8
           Mobo: Dell model: 0H0CC0 v: A00 Bios: Dell v: 1.1.8 date: 04/17/2016
CPU:       Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 2600 MHz 2: 2600 MHz 3: 2600 MHz 4: 2600 MHz 5: 2600 MHz 6: 2600 MHz
           7: 2600 MHz 8: 2600 MHz
Graphics:  Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 02:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.01hz, 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 960M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 04:00.0
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel Wireless 3165 driver: iwlwifi bus-ID: 05:00.0
           IF: wlp5s0 state: down mac: <filter>
Drives:    HDD Total Size: 1500.3GB (43.3% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 500.1GB
           ID-2: /dev/sdb model: ST1000LM014 size: 1000.2GB
Partition: ID-1: / size: 443G used: 179G (43%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 17.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: 29.8C gpu: 0.0:49C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 229 Uptime: 5 min Memory: 1967.3/15914.0MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

Code: Select all

rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

Code: Select all

iwconfig
enp4s0    no wireless extensions.

wlp5s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm                                               
          Retry short limit:7   RTS thr:off   Fragment thr:off                                                      
          Power Management:on                                                                                       
                                                                                                                    
lo        no wireless extensions.  

asinoro
Level 4
Level 4
Posts: 246
Joined: Mon Feb 12, 2018 11:43 am

Re: wifi suddenly not connecting

Post by asinoro » Fri Mar 09, 2018 2:02 am

Can you post this?

Code: Select all

cat /var/log/dpkg.log 

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 11:45 am

I can't:
Your message contains 61624 characters.
The maximum number of allowed characters is 60000.

asinoro
Level 4
Level 4
Posts: 246
Joined: Mon Feb 12, 2018 11:43 am

Re: wifi suddenly not connecting

Post by asinoro » Fri Mar 09, 2018 11:51 am

DMG wrote:
Fri Mar 09, 2018 11:45 am
I can't:
Your message contains 61624 characters.
The maximum number of allowed characters is 60000.
It doesn’t matter as long you see them. You have installed to many things probably also remove and something went wrong.

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

Re: wifi suddenly not connecting

Post by JeremyB » Fri Mar 09, 2018 11:51 am

See the wireless script link in my signature and post results

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 12:48 pm

asinoro wrote:
Fri Mar 09, 2018 2:02 am
Can you post this?

Code: Select all

cat /var/log/dpkg.log 
cat_result.zip
cat /var/log/dpkg.log results
(3.01 KiB) Downloaded 9 times

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 12:51 pm

JeremyB wrote:
Fri Mar 09, 2018 11:51 am
See the wireless script link in my signature and post results
wireless-info.tar.gz
(7.84 KiB) Downloaded 80 times

asinoro
Level 4
Level 4
Posts: 246
Joined: Mon Feb 12, 2018 11:43 am

Re: wifi suddenly not connecting

Post by asinoro » Fri Mar 09, 2018 2:00 pm

Reinstall network-manager.
Reinstall also systemd.
Reboot
If this is not working go back to previous version 1.2.6-0ubuntu0.16.04.1 but be careful you need first to have the deb version before you remove this one.. After that you should not upgrade it again until a future version appears that works with you.

Why you ask for problems by installing 4 level updates like systemd?

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 3:05 pm

asinoro wrote:
Fri Mar 09, 2018 2:00 pm
Reinstall network-manager.
Reinstall also systemd.
Reboot
If this is not working go back to previous version 1.2.6-0ubuntu0.16.04.1 but be careful you need first to have the deb version before you remove this one.. After that you should not upgrade it again until a future version appears that works with you.

Why you ask for problems by installing 4 level updates like systemd?
I reinstalled network-manager and it's not helped. And I do not understand your question about 4 level updates. I use Linux Mint recommended update settings. And everything worked few days ago. Only update before this issue was to google chrome. And how can I reinstall systemd?

User avatar
thx-1138
Level 6
Level 6
Posts: 1290
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: wifi suddenly not connecting

Post by thx-1138 » Fri Mar 09, 2018 3:52 pm

...i think we're somewhat delving into more far-fetched situations.
DMG, besides rebooting the router, did you tried the other suggestions mentioned in the links i posted in my earlier reply?

First one says to killall wpa_supplicant, then run nmcli d wifi connect [ssid] password '[pass]'
Where ssid is your connection's name, and pass obviously your router's pass.

Second one says sudo systemctl disable networkmanager.service, then nmcli d wifi connect “mySSID” password “myPassword”...

Other things that come to mind...have you tried establishing a new connection from NetworkManager's applet?
In the applet / connection's Edit settings / General, is everyone allowed to connect to?
Or, also, what happens if you set a different pass on the router and then try to initiate a new connection from the ground up?

Also..."Secrets were required, but not provided"...so it must be an auth problem...or some glitch combined with an auth problem.
Is gnome-keyring running? Is it properly set?

asinoro
Level 4
Level 4
Posts: 246
Joined: Mon Feb 12, 2018 11:43 am

Re: wifi suddenly not connecting

Post by asinoro » Fri Mar 09, 2018 4:48 pm

4 level updates are not in green color.
Everything you can reinstall easy from synaptic.
To find old packages if you have adjust your system to keep them you will find them at /var/cache/apt/archives/.

DMG
Level 1
Level 1
Posts: 13
Joined: Mon Dec 12, 2016 2:59 pm

Re: wifi suddenly not connecting

Post by DMG » Fri Mar 09, 2018 5:27 pm

thx-1138 wrote:
Fri Mar 09, 2018 3:52 pm
...i think we're somewhat delving into more far-fetched situations.
DMG, besides rebooting the router, did you tried the other suggestions mentioned in the links i posted in my earlier reply?

First one says to killall wpa_supplicant, then run nmcli d wifi connect [ssid] password '[pass]'
Where ssid is your connection's name, and pass obviously your router's pass.

Second one says sudo systemctl disable networkmanager.service, then nmcli d wifi connect “mySSID” password “myPassword”...

Other things that come to mind...have you tried establishing a new connection from NetworkManager's applet?
In the applet / connection's Edit settings / General, is everyone allowed to connect to?
Or, also, what happens if you set a different pass on the router and then try to initiate a new connection from the ground up?

Also..."Secrets were required, but not provided"...so it must be an auth problem...or some glitch combined with an auth problem.
Is gnome-keyring running? Is it properly set?
Wait now I'm closer to result. I did not know what is ssid in that command, but with your help I understand now. And it worked:
$ killall wpa_supplicant
wpa_supplicant(1608): Operation not permitted
wpa_supplicant: no process found
$ nmcli d wifi connect ASUS password ***
[1] 8767
146: command not found
Device 'wlp5s0' successfully activated with 'f429d9ab-8ed0-4074-b8e7-10b7da375689'.

And it works even after reboot. Yet do not understand reason of this issue, but thank you for help!

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

Re: wifi suddenly not connecting

Post by JeremyB » Fri Mar 09, 2018 5:45 pm

I would try

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Then reboot

User avatar
Pjotr
Level 20
Level 20
Posts: 11065
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: wifi suddenly not connecting

Post by Pjotr » Fri Mar 09, 2018 6:26 pm

A shot in the dark, but this is what solved a long-standing annoying connection problem for me, on two different laptops:
https://sites.google.com/site/easylinux ... rrent-user
(item 1.5, left column)
Tip: 10 things to do after installing Linux Mint 19.1 Tessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Wireless”