Author Topic: WIFI problem - Wifi shows connected but no internet (Solved)  (Read 768 times)

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
WIFI problem - Wifi shows connected but no internet (Solved)
« on: January 08, 2020, 10:52:34 am »
My wifi was working just fine, but after restarting my laptop it shows that I am connected to wifi but I can not browse or download anything from the internet. There is No connection.

After running these code the problem was solved- (temporarily)
Code: [Select]
cd /etc/
sudo nano resolv.conf
Then creating nameserver  there.
Code: [Select]
nameserver 8.8.8.8
nameserver 8.8.4.4
Then.
Code: [Select]
sudo service network-manager restartThis worked, but every time I restart my laptop the same problem occurs. No internet.
And running above code brings back the connection.

But I am tired of running this same code again and again. Is there any permanent solution?
« Last Edit: January 17, 2020, 12:06:16 am by timehunter »

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #1 on: January 08, 2020, 11:33:16 am »
And here are the results you guys asked for common wifi problem-

Code: [Select]
timehunter@timehunter ~ $ sudo lspci -vnn | grep -i net
[sudo] password for timehunter:
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:8324]
03:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] [8086:24fb] (rev 10)
Code: [Select]
timehunter@timehunter ~ $ sudo lshw -C network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eno1
       version: 15
       serial: 10:e7:c6:db:d7:46
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:32 ioport:e000(size=256) memory:fea04000-fea04fff memory:fea00000-fea03fff
  *-network
       description: Wireless interface
       product: Dual Band Wireless-AC 3168NGW [Stone Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlo1
       version: 10
       serial: e0:9d:31:f6:a2:5c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.0.0-37-generic firmware=29.1044073957.0 ip=192.168.0.106 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:35 memory:fe900000-fe901fff
Code: [Select]
timehunter@timehunter ~ $ iwconfig
eno1      no wireless extensions.

lo        no wireless extensions.

wlo1      IEEE 802.11  ESSID:"Tapu" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: F4:F2:6D:45:2F:FC   
          Bit Rate=120 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=46/70  Signal level=-64 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:68   Missed beacon:0
Code: [Select]
timehunter@timehunter ~ $ ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 10:e7:c6:db:d7:46  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1481  bytes 111767 (111.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1481  bytes 111767 (111.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.106  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::24fd:2024:c11a:c16e  prefixlen 64  scopeid 0x20<link>
        ether e0:9d:31:f6:a2:5c  txqueuelen 1000  (Ethernet)
        RX packets 24  bytes 2620 (2.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 102  bytes 17850 (17.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Code: [Select]
timehunter@timehunter ~ $ sudo iwlist scan
eno1      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlo1      Scan completed :
          Cell 01 - Address: F4:F2:6D:45:2F:FC
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=49/70  Signal level=-61 dBm 
                    Encryption key:on
                    ESSID:"Tapu"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000009c8dc53d8
                    Extra: Last beacon: 692ms ago
                    IE: Unknown: 000454617075
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A6E1003FF00000000000000000000000000000000000000000000
                    IE: Unknown: 331A6E1003FF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0200000000000000000000000000000000000000
                    IE: Unknown: 3416010D0200000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD860050F204104A0001101044000102103B0001031047001000000000000010000000F4F26D452FFC1021000754502D4C494E4B10230009544C2D57523732304E10240003312E3010420003312E301054000800060050F20400011011001E54502D4C494E4B20576972656C65737320526F757465722057523732304E100800020086103C000101
Code: [Select]
timehunter@timehunter ~ $ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Code: [Select]
timehunter@timehunter ~ $ ping -c 3 dns.google.com
ping: dns.google.com: Temporary failure in name resolution
Code: [Select]
timehunter@timehunter ~ $ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=64.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=50 time=68.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=50 time=64.7 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 64.791/65.885/68.004/1.498 ms
timehunter@timehunter ~ $
« Last Edit: January 10, 2020, 12:17:01 am by timehunter »

Offline The Omen

  • Member
  • ***
  • Posts: 134
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Re: WIFI problem - Wifi shows connected but no internet
« Reply #2 on: January 08, 2020, 02:54:47 pm »
Hi timehunter, I can see from the beginning of your post that you can see the code tags and know how they work and how they are used.

If you could put your responses to code also in code tags, it will be much easier for the rest of us to read.

Respectfully submitted with warm regards,

The Omen

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: WIFI problem - Wifi shows connected but no internet
« Reply #3 on: January 08, 2020, 04:08:41 pm »
Hi Timehunter, how's it going  :)?  Have you tried turning off the IPv6 settings in your network manager?  If you haven't, right click on the network icon in the panel.  From there select:

Edit Connections...

From the list, select your network.  In the new dialog box, select the:

IPv6 Settings tab

Under the Method sub-heading, select from the drop down menu:

Ignore

Left click on Save and close the Network Connections dialog box.  Log out and back in.  Hopefully this'll help  ;).

Note: For future reference, could you please remember to encapsulate terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  If you're using either the Chromium Browser or Google Chrome, don't combine the functions.  Only use one or the other per output.  For some reason the formatting goes all goofy  :-\.  These functions preserve the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  Use the Preview button to see how it'll look in the forum.  I've made the necessary edits for you this time.  Many thanks  ;).

« Last Edit: January 08, 2020, 06:42:26 pm by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #4 on: January 08, 2020, 11:12:27 pm »
Thank you The Omen
Thank you AndylnMokum

I will remember those guidelines.

Editing the IPv6 settings didn't work.  should I change it back to previous state?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: WIFI problem - Wifi shows connected but no internet
« Reply #5 on: January 09, 2020, 12:54:25 am »
Thank you The Omen
Thank you AndylnMokum

I will remember those guidelines.

Editing the IPv6 settings didn't work.  should I change it back to previous state?
It's my pleasure  :).  No you don't need to change it back.  I see from previous posts, the Wifi Power Management is set to On.  You could try disabling this.  This has worked for me in the past.  In fact it's one of the first things I do after a fresh installation.  Lets double check the setting anyway.  Open up a terminal window with the following keystrokes:

Ctrl+Alt+t

Enter (Copy & Paste) the following command and hit enter:
Code: [Select]
iwconfigYou should see the Power Management is set to On.  Enter (Copy & Paste) the following command and hit enter:
Code: [Select]
xed admin:///etc/NetworkManager/conf.d/default-wifi-powersave-on.confEnter your password where asked.  A Xed text document will open with the following content:
Quote
[connection]
wifi.powersave = 3
Change the 3 to 2 and save the document, Ctrl+s and quit Xed.  Reboot your computer.  To check if the WiFi Power Management is set to Off, open a new terminal window and enter (Copy & Paste) the following command into the window:
Code: [Select]
iwconfigThe Power Management should now be set to Off.  Hopefully this makes a difference  :).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #6 on: January 09, 2020, 07:22:08 am »
No, it didn't work

I changed the value from 3 to 2 and saved the file
and after restarting still there is no connection.

running the code shows this now

Code: [Select]
timehunter@timehunter ~ $ iwconfig
wlo1      IEEE 802.11  ESSID:"Tapu" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: F4:F2:6D:45:2F:FC   
          Bit Rate=60 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=47/70  Signal level=-63 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:79   Missed beacon:0

eno1      no wireless extensions.

lo        no wireless extensions.

This is what the browser says when I try to browse the internet.


Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: WIFI problem - Wifi shows connected but no internet
« Reply #7 on: January 09, 2020, 04:16:42 pm »
This is odd, you should be connecting  :-\.  Do you have your firewall turned on?  You can check by entering the following command into a terminal window:
Code: [Select]
sudo ufw status
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #8 on: January 10, 2020, 12:12:58 am »
no, my firewall status says - inactive

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: WIFI problem - Wifi shows connected but no internet
« Reply #9 on: January 10, 2020, 03:24:18 pm »
no, my firewall status says - inactive

Okay I'm out of ideas  :-\.  Someone should pick this up soon and continue to assist you  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: WIFI problem - Wifi shows connected but no internet
« Reply #10 on: January 11, 2020, 01:29:52 am »
It's a DNS issue. Edit your connection in the network manager menu and ensure your DNS servers are specified correctly, as you've been pasting into resolv.conf

Offline Linuminator

  • Newly Subscribed
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #11 on: January 14, 2020, 04:07:14 am »
Hi guys,
New Peppermint user here.
I had the same issue.
My initial hunch was that wi fi block was caused by advert blocker - each time I enabled all options to block adds my internet connection somehow was disabled.
Only when I uninstalled advert blocker and deleted hosts file in etc/hosts the issue disappeared completely.

I am writing on this forum from a PC with internet re-established in such a way.

Try to replicate this solution yourself - let's see if it applies to everyone.

Offline whoisthatgirlisee

  • Newly Subscribed
  • *
  • Posts: 1
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #12 on: January 16, 2020, 08:32:02 pm »
Hi guys,
New Peppermint user here.
I had the same issue.
My initial hunch was that wi fi block was caused by advert blocker - each time I enabled all options to block adds my internet connection somehow was disabled.
Only when I uninstalled advert blocker and deleted hosts file in etc/hosts the issue disappeared completely.

I am writing on this forum from a PC with internet re-established in such a way.

Try to replicate this solution yourself - let's see if it applies to everyone.

I suspect that's the problem - I ran into this issue after enabling all advert options, the wi-fi was working just fine before then. I wonder if there's a specific one that should be avoided or just not to use that program at all? I'll try uninstalling the blocker and deleting the hosts files and see if it fixes it for me

edited from my peppermint laptop: success! uninstalled advert blocker, took me a while to figure out how to delete hosts files but yeah, internet's suddenly working again
« Last Edit: January 16, 2020, 09:06:07 pm by whoisthatgirlisee »

Offline timehunter

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint OS 10
Re: WIFI problem - Wifi shows connected but no internet
« Reply #13 on: January 17, 2020, 12:05:46 am »
Thank you, everyone.

Yes, the advert blocker was causing the problem.

I will mark this as solved.