<SOLVED> Internet won't work despite being "connected"

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
pumpkaboo710
Level 1
Level 1
Posts: 5
Joined: Thu Oct 14, 2021 5:10 pm

<SOLVED> Internet won't work despite being "connected"

Post by pumpkaboo710 »

(Disclaimer: I have never used a forum before, so if I make any formatting mistakes, please let me know!)

Hello! I am a new user of Linux, and I decided to start by installing Mint Cinnamon on a Dell Inspiron N5110 on Monday. It worked fine then, but when I booted up the laptop on Tuesday, I couldn't download anything over the internet (not web pages, updates, software, anything). I checked my internet connection, and it said it had a strong connection both with Ethernet and on WiFi. I tried using TimeShift to go back to Monday, but it didn't work. I tried searching these forums and the internet, and while I saw several people who had similar issues to me, I couldn't get any of their solutions to work either. Is there anything I can do to fix this without having to wipe the system and reinstall Mint from scratch?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Internet won't work despite being "connected"

Post by Larry78723 »

Please post an inxi -Fxpmzr report. This will give us a concise overview of your hardware and how Mint sees it per  How to get help .

Here is how to generate the report and post it:
Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Copy the following code and paste into the terminal (Ctrl-Shft-V) then hit Enter/Return:

Code: Select all

inxi -Fxpmrz 
exactly as it has been typed here.

Go to Edit, Select All, and then Copy, come back here, click on reply then code tags, </>, and then paste.
The results will help us to help you.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
pumpkaboo710
Level 1
Level 1
Posts: 5
Joined: Thu Oct 14, 2021 5:10 pm

Re: Internet won't work despite being "connected"

Post by pumpkaboo710 »

Alright, here's what it gave me:

Code: Select all

System:
  Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Portable System: Dell product: Inspiron N5110 v: N/A 
  serial: <filter> 
  Mobo: Dell model: 07MW3C v: A09 serial: <filter> BIOS: Dell v: A09 
  date: 09/30/2011 
Battery:
  ID-1: BAT0 charge: 48.8 Wh condition: 14.9/14.9 Wh (100%) 
  model: DELL 7XFJJA2 status: Unknown 
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510 
  charge: 55% (should be ignored) status: Discharging 
Memory:
  RAM: total: 5.72 GiB used: 960.6 MiB (16.4%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19952 
  Speed: 798 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 797 2: 798 
  3: 798 4: 798 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.4.0-88-generic 
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell 
  driver: r8169 v: kernel port: e000 bus ID: 05:00.0 
  IF: enp5s0 state: down mac: <filter> 
  Device-2: Intel Centrino Wireless-N 1030 [Rainbow Peak] driver: iwlwifi 
  v: kernel port: e000 bus ID: 09:00.0 
  IF: wlp9s0 state: down mac: <filter> 
  IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A 
  mac: <filter> 
  IF-ID-2: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 25.17 GiB (2.7%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10JPVT-75A1YT0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 913.74 GiB used: 24.96 GiB (2.7%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 703.5 MiB used: 208.4 MiB (29.6%) fs: ext4 
  dev: /dev/sda5 
  ID-3: /boot/efi size: 511.0 MiB used: 4 KiB (0.0%) fs: vfat dev: /dev/sda1 
  ID-4: /run/timeshift/backup raw size: 929.32 GiB 
  size: <superuser/root required> used: <superuser/root required> fs: ext4 
  dev: /dev/vgmint-root 
  ID-5: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 30.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb [removed to protect privacy] packages uma main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
  1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
Info:
  Processes: 290 Uptime: 23h 45m Init: systemd runlevel: 5 Compilers: 
  gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
EDIT: forgot to add that other devices are working on this internet/wifi network fine, it's just my Linux system that's having problems.
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Internet won't work despite being "connected"

Post by Larry78723 »

Go into Network Manager -> Network Settings then select your wifi connection. Click on the gear then select IPv6 and turn it off (slider at top). Also, turn off any VPN you might be using. Reboot and test wifi.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
pumpkaboo710
Level 1
Level 1
Posts: 5
Joined: Thu Oct 14, 2021 5:10 pm

Re: Internet won't work despite being "connected"

Post by pumpkaboo710 »

Just tried it, no luck. Here's the updated inxi -Fxmprz report:

Code: Select all

System:    Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma 
           base: Ubuntu 20.04 focal 
Machine:   Type: Portable System: Dell product: Inspiron N5110 v: N/A serial: <filter> 
           Mobo: Dell model: 07MW3C v: A09 serial: <filter> BIOS: Dell v: A09 date: 09/30/2011 
Battery:   ID-1: BAT0 charge: 48.8 Wh condition: 14.9/14.9 Wh (100%) model: DELL 7XFJJA2 status: Unknown 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510 charge: 55% (should be ignored) status: Discharging 
Memory:    RAM: total: 5.72 GiB used: 2.26 GiB (39.6%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19955 
           Speed: 832 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Dell driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-88-generic 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel port: e000 
           bus ID: 05:00.0 
           IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Centrino Wireless-N 1030 [Rainbow Peak] driver: iwlwifi v: kernel port: e000 bus ID: 09:00.0 
           IF: wlp9s0 state: up mac: <filter> 
           IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 25.59 GiB (2.7%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPVT-75A1YT0 size: 931.51 GiB 
Partition: ID-1: / size: 913.74 GiB used: 25.39 GiB (2.8%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 703.5 MiB used: 208.4 MiB (29.6%) fs: ext4 dev: /dev/sda5 
           ID-3: /boot/efi size: 511.0 MiB used: 4 KiB (0.0%) fs: vfat dev: /dev/sda1 
           ID-4: /run/timeshift/backup raw size: 929.32 GiB size: <superuser/root required> used: <superuser/root required> 
           fs: ext4 dev: /dev/vgmint-root 
           ID-5: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb [removed for privacy] uma main upstream import backport
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
           1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
Info:      Processes: 231 Uptime: 14m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
(I wasn't sure how to guarantee that my VPN was off, as it wouldn't start up, so I just uninstalled it.)
tgwilt
Level 3
Level 3
Posts: 131
Joined: Fri Jun 08, 2018 2:26 am
Location: Florida, USA

Re: Internet won't work despite being "connected"

Post by tgwilt »

I may be jumping the gun here, but have your tried using the ping command to ping the site's IP address instead of pinging FQDN (Fully Qualified Domain Name).

For instance, I happen to have the IP address for kadaza.com. It is 45.79.79.74

So you use the bash terminal and type 'ping 45.79.79.74' without the single quotes. See if you get a response.
If you receive a response, then try this 'ping kadaza.com' If you don't receive a response, then it is probably a DNS issue.
I usually assign my DNS server manual to either of these:
8.8.8.8
8.8.4.4.
1.1.1.1

If you try to edit the /etc/resolv.conf file, it won't last. There is a way to do it using the GUI for Network Manager.
Sometimes, this is an issue that can persuade an experienced network admin to remove some of his/her remaining hair.

Another thing you can do is to boot the install medium (USB or DVD) and when Mint appears, try the same thing. If it works from the install media, then it is definitely an issue with the DNS on your installation of Mint.

Too bad you don't live close by...I'd be happy to have you bring your computer over and work on it at my house.

One other question has to do with the connection between the computer and the router. Do you use a wired connection or a wi/fi connection?

Best of luck.
pumpkaboo710
Level 1
Level 1
Posts: 5
Joined: Thu Oct 14, 2021 5:10 pm

Re: Internet won't work despite being "connected"

Post by pumpkaboo710 »

I tried both methods you suggested, and they both seemed to indicate that this is a DNS issue, thank you so much! In order to fix it, would you suggest going in to manually fix the DNS, or just reinstalling the OS from scratch? I've only had this system running for a few days, so I wouldn't be losing anything important.

I typically use a mixture of wired ethernet and WiFi depending on what's most convenient at the time, I'd been testing both on the original system and neither worked, though both worked when booting on the install medium.
tgwilt
Level 3
Level 3
Posts: 131
Joined: Fri Jun 08, 2018 2:26 am
Location: Florida, USA

Re: Internet won't work despite being "connected"

Post by tgwilt »

My recommendation is to fix it on your machine.

There are at least 2 ways to do this; one is very easy and the other is easy also, but depends on your comfort editing a file.

At this point, let's try the 2nd method.

1 open a terminal window and become root with the 'sudo su' command
2. then type 'xed' in the terminal.
3. Xedit will open. Using the open file command, open /etc/NetworkManager/system-connections
4. You will need to know the name of the connection. Once you find that, you may want to save a backup copy of the file.
5. Edit the connection. Put the lines in it:
[ipv4]
dns=8.8.8.8;8.8.4.4;
dns-search=
method=manual
6. save and close the file.
7. restart your network to see if it works.

You can also use the NM GUI (Network Manager GUI) to do the same thing. Some people find this easier to do.
1. Open the Network Manger GUI. You can find it in the applications menu (listed as Network)
2. In the window, you should see a list of your network connections. Click on one of them, then click on the icon that looks like a gear. In the new window, click IPv4. Disable the DNS automatic section by clicking on the Automatic arrow so it become unchecked. In the DNS Server box, insert the following IP address numbers: 8.8.8.8
3. Restart your network connection and see if that works.
pumpkaboo710
Level 1
Level 1
Posts: 5
Joined: Thu Oct 14, 2021 5:10 pm

Re: Internet won't work despite being "connected"

Post by pumpkaboo710 »

It's working now, thank you so much!
Locked

Return to “Networking”