Wifi only available after restarting computer

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
GreenGoulash

Wifi only available after restarting computer

Post by GreenGoulash »

I'm new to LinuxMint (18.2) having used it for a few months after switching from Windows.
It's all good apart from the following wifi issue.

When I turn the computer on, I can't connect to the wifi network, although I can connect when I restart the computer.
However, on the last few occassions I need to restart the computer several times until it detects the wifi network.

Does anyone have any suggestions how to just make the wifi work when I first turn the computer on?
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
orschiro
Level 4
Level 4
Posts: 229
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Wifi only available after restarting computer

Post by orschiro »

Do you have this problem only with Linux Mint? Have you already tried Mint 18.3?

Have you already tried a different kernel?
GreenGoulash

Re: Wifi only available after restarting computer

Post by GreenGoulash »

I tried 17.3, 18.0, 18.1 last year - wifi would work when booting from the Live USB, but not when installed.
Also tried Ubuntu (17.4)

After having some wifi success with 18.2, I'm a bit wary of installing 18.3 instead (unless I can find another SSD/HDD to install it on)
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Wifi only available after restarting computer

Post by kc1di »

Hi GreenGoulash and Welcome to Linux Mint,

Would you go to at terminal and enter this command

Code: Select all

inxi -Fxz
and post the output here. This will give us an Idea of what we are looking at for hardware so we can be of help.

Thanks.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
GreenGoulash

Re: Wifi only available after restarting computer

Post by GreenGoulash »

Thanks kc1di

here is the output when I successfully connect to wifi network
(and below that is the output when I don't connect)

inxi -Fxz

System: Host: elite130 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: System: ASUS product: All Series
Mobo: ASUSTeK model: N3150I-C v: Rev X.0x
Bios: American Megatrends v: 0507 date: 04/20/2016
CPU: Quad core Intel Celeron N3150 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12800
clock speeds: max: 2080 MHz 1: 1861 MHz 2: 2032 MHz 3: 2064 MHz
4: 1982 MHz
Graphics: Card: Intel Device 22b1 bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 400 (Braswell)
GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card Intel Device 2284 driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network: Card-1: Intel Wireless 8260 driver: iwlwifi bus-ID: 01:00.0
IF: wlp1s0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Drives: HDD Total Size: 120.0GB (15.3% used)
ID-1: /dev/sda model: KINGSTON_SUV400S size: 120.0GB
Partition: ID-1: / size: 74G used: 5.3G (8%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 31G used: 7.4G (26%) fs: ext4 dev: /dev/sda2
ID-3: swap-1 size: 5.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 26.8C mobo: N/A
Fan Speeds (in rpm): cpu: 0
Info: Processes: 225 Uptime: 0 min Memory: 710.8/3797.7MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
------------------------------------------------------------------------------------------------------------------------------------------
and here is the output when I first start the computer and fail to detect wifi network

System: Host: elite130 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: System: ASUS product: All Series
Mobo: ASUSTeK model: N3150I-C v: Rev X.0x
Bios: American Megatrends v: 0507 date: 04/20/2016
CPU: Quad core Intel Celeron N3150 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12800
clock speeds: max: 2080 MHz 1: 479 MHz 2: 498 MHz 3: 479 MHz
4: 479 MHz
Graphics: Card: Intel Device 22b1 bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 400 (Braswell)
GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card Intel Device 2284 driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Drives: HDD Total Size: 120.0GB (15.3% used)
ID-1: /dev/sda model: KINGSTON_SUV400S size: 120.0GB
Partition: ID-1: / size: 74G used: 5.3G (8%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 31G used: 7.4G (26%) fs: ext4 dev: /dev/sda2
ID-3: swap-1 size: 5.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 26.8C mobo: N/A
Fan Speeds (in rpm): cpu: 0
Info: Processes: 208 Uptime: 3 min Memory: 617.2/3797.7MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Wifi only available after restarting computer

Post by kc1di »

Next time if fails to detect the network please run the following command

Code: Select all

rfkill list
and post the output.

It seems for some reason it's not detecting the card at all.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
GreenGoulash

Re: Wifi only available after restarting computer

Post by GreenGoulash »

here are the outputs when connected and not connected.

when WIFI not connected/detected
$ rfkill list
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no


connected
$ rfkill list
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Wifi only available after restarting computer

Post by kc1di »

try this next time it will not connect wait a minute and see if wifi starts working?

Code: Select all

systemctl restart network-manager.service
if it connects after that the problem is that systemd is not starting NM at boot for some reason.
If that is the case I would recommend upgrading to 18.3.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
GreenGoulash

Re: Wifi only available after restarting computer

Post by GreenGoulash »

Just tried this and that didn't work either.
Any other suggestions?
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Wifi only available after restarting computer

Post by kc1di »

Ok it seems it may be a firmware problem. See this ask Ubuntu thread look at Chilli555's suggestion. https://askubuntu.com/questions/860331/ ... -10/860336
The problem sounds very similar to yours and it's the same wireless card.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Locked

Return to “Networking”