[SOLVED] WiFi connected but no internet while running Live USB

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
User avatar
MMcD488
Level 2
Level 2
Posts: 70
Joined: Wed Feb 17, 2016 8:32 pm
Location: Marietta, GA, USA

[SOLVED] WiFi connected but no internet while running Live USB

Postby MMcD488 » Thu Nov 09, 2017 12:31 am

I decided to try out 18.2 Cinnamon 64 bit on my laptop. When I booted up the USB, I immediately had internet issues. I selected my WiFi network from the list and entered my password and got a notification saying I was connected, but when I clicked Firefox it brought up "Server not Found." I went into the terminal and verified that I was connected:

Code: Select all

mint@mint ~ $ iwconfig
lo        no wireless extensions.

wlo1      IEEE 802.11  ESSID:"McDermott" 
          Mode:Managed  Frequency:5.785 GHz  Access Point: C0:C1:C0:D9:6F:E3   
          Bit Rate=144.4 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-31 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:27   Missed beacon:0

enp0s25   no wireless extensions.

then I tried pinging my router:

Code: Select all

mint@mint ~ $ ping 192.168.1.1
connect: Network is unreachable

I tried re-writing the USB several times, trying different image writing programs and re-downloading the Mint ISO each time. I tried different mirrors and even torrent to make sure I didn't get a bad ISO and I checked the file's SHA256 sum each time with the sha256sum.txt from the "Verify your ISO" page. After doing that, I still get the same result from my Live USB.
Here's my system info:

Code: Select all

mint@mint ~ $ inxi -Fxz
System:    Host: mint 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: Hewlett-Packard (portable) product: HP EliteBook Folio 9480m v: A3009DD10303
           Mobo: Hewlett-Packard model: 22DA v: KBC Version 92.17
           Bios: Hewlett-Packard v: M85 Ver. 01.38 date: 09/26/2016
CPU:       Dual core Intel Core i5-4310U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10376
           clock speeds: max: 3000 MHz 1: 1143 MHz 2: 1363 MHz 3: 1578 MHz
           4: 1107 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Intel Ethernet Connection I218-LM
           driver: e1000e v: 3.2.6-k port: 5080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 08:00.0
           IF: wlo1 state: up mac: <filter>
Drives:    HDD Total Size: 196.1GB (0.9% used)
           ID-1: /dev/sda model: INTEL_SSDSC2BF18 size: 180.0GB temp: 0C
           ID-2: USB /dev/sdb model: Cruzer_Glide size: 16.0GB temp: 0C
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 194 Uptime: 14 min Memory: 616.5/7392.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Also, If it's helpful, the router is a Linksys E3200 Dual-band N router updated to the latest firmware and It's set to N only mode on both bands since all the devices in my apartment are N capable. Hopefully someone can help me sort this issue out as it's the only thing keeping me from installing and dual-booting Mint on my laptop. Thanks in advance.
Last edited by MMcD488 on Sat Nov 11, 2017 7:20 pm, edited 1 time in total.
New Linux enthusiast
Old Mint box - Dell XPS m140 running Mint 18.2 32-bit with XFCE and LXQt
New Mint box - HP EliteBook Folio 9480m Dual-boot with Windows 10 Pro 64-bit and Mint 18.2 Cinnamon 64-bit

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

Re: WiFi connected but no internet while running Live USB

Postby JeremyB » Thu Nov 09, 2017 6:33 am

I know people have issues with Intel wifi when power management is enabled

Code: Select all

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

Code: Select all

systemctl restart network-manager.service

Then it might work

User avatar
MMcD488
Level 2
Level 2
Posts: 70
Joined: Wed Feb 17, 2016 8:32 pm
Location: Marietta, GA, USA

Re: WiFi connected but no internet while running Live USB

Postby MMcD488 » Thu Nov 09, 2017 8:21 pm

Thanks for the quick reply. I tried the commands that you listed and afterward ran iwconfig to verify that power management was off and it was. Unfortunately upon connection to my wifi network I had the same results as before. When I opened Firefox, I still got "Server not found" and when I tried pinging my router I still got "Network is unreachable."
New Linux enthusiast
Old Mint box - Dell XPS m140 running Mint 18.2 32-bit with XFCE and LXQt
New Mint box - HP EliteBook Folio 9480m Dual-boot with Windows 10 Pro 64-bit and Mint 18.2 Cinnamon 64-bit

User avatar
MMcD488
Level 2
Level 2
Posts: 70
Joined: Wed Feb 17, 2016 8:32 pm
Location: Marietta, GA, USA

Re: [SOLVED] WiFi connected but no internet while running Live USB

Postby MMcD488 » Sat Nov 11, 2017 7:35 pm

UPDATE: So I was able to resolve the issue. I went into my router's settings page from my phone and changed the wireless properties from "n-only" to "mixed mode" on both bands and it started working instantly on my laptop running the Live USB. I searched online for my wireless card's linux driver and stumbled upon a reddit post saying about how others using the same card as my laptop had similar issues with n-only wifi and recommended using mixed mode.
New Linux enthusiast
Old Mint box - Dell XPS m140 running Mint 18.2 32-bit with XFCE and LXQt
New Mint box - HP EliteBook Folio 9480m Dual-boot with Windows 10 Pro 64-bit and Mint 18.2 Cinnamon 64-bit

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

Re: [SOLVED] WiFi connected but no internet while running Live USB

Postby JeremyB » Sun Nov 12, 2017 8:41 am

You could see if N mode can be used after

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwopts.conf

Code: Select all

sudo modprobe -r iwlwifi && sleep 20 && sudo modprobe iwlwifi

My Intel 6250 wouldn't connect to a wireless N only router until I used that option

User avatar
MMcD488
Level 2
Level 2
Posts: 70
Joined: Wed Feb 17, 2016 8:32 pm
Location: Marietta, GA, USA

Re: [SOLVED] WiFi connected but no internet while running Live USB

Postby MMcD488 » Wed Nov 15, 2017 1:45 pm

That worked perfectly! I ran those commands and then checked the results of iwconfig. My connection speed went up to the full 300Mb/s that my router is capable of and after switching my router back to N-only mode it still stayed connected in Mint. Thanks!
New Linux enthusiast
Old Mint box - Dell XPS m140 running Mint 18.2 32-bit with XFCE and LXQt
New Mint box - HP EliteBook Folio 9480m Dual-boot with Windows 10 Pro 64-bit and Mint 18.2 Cinnamon 64-bit


Return to “Wireless”