[Solved] Cannot connect to the internet
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
[Solved] Cannot connect to the internet
Hi,
I don't know why but certain distro's including mint cannot connect to the internet on my machine. It connects to the network fine and i can access 192.168.1.1 fine but it i open the browser it times out the page. Older versions of mint used to work on the machine without problems.
This is the motherboard i have in the machine and this is the router i connect to. For some or other reason these distros (Manjaro, Opensuse and Windows) work with the current setup out of the box without extra configuration, but i prefer to use linux mint.
I don't know why but certain distro's including mint cannot connect to the internet on my machine. It connects to the network fine and i can access 192.168.1.1 fine but it i open the browser it times out the page. Older versions of mint used to work on the machine without problems.
This is the motherboard i have in the machine and this is the router i connect to. For some or other reason these distros (Manjaro, Opensuse and Windows) work with the current setup out of the box without extra configuration, but i prefer to use linux mint.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Cannot connect to the internet
Hello therealrobojock,
Could you go to a terminal and type these command and post the output here - thanks.
Could you go to a terminal and type these command and post the output here - thanks.
Code: Select all
inxi -Nn
Code: Select all
iwconfig
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
inxi -Nn results
iwconfig results
Code: Select all
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169
IF: enp1s0 state: up speed: 100 Mbps duplex: full
mac: 40:8d:5c:4d:fd:8a
Code: Select all
enp1s0 no wireless extensions.
lo no wireless extensions.
Re: Cannot connect to the internet
please post the output of
Also you may find this page helpful. This is a known problem and it is unfortunately not fixed in ubuntu 16.04 which mint is based upon so you'll have to do the fix yourself. https://medium.com/@lgobinath/no-ethern ... e2779dc9b8
Code: Select all
uname -r
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
uname -r results
Code: Select all
4.10.0-38-generic
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
According to link you gave towards the end there is an updated solution, the thing is how do i do step 1. without an internet connection
Step 1
Step 1
Code: Select all
sudo apt-get install build-essential linux-headers-$(uname -r)
Re: Cannot connect to the internet
Follow the steps on the web page I posted in previous post to manually install r8168 driver and blacklist r8169 driver.
It should work for now. Sorry it's so difficult in Mint/Ubuntu. But that is just the way things are at present
You may have to download the correct driver from here. https://packages.ubuntu.com/de/xenial/a ... s/download using another computer.
then save it to a flash drive or cd and install it with this command:
reboot see if it connects.
It should work for now. Sorry it's so difficult in Mint/Ubuntu. But that is just the way things are at present
You may have to download the correct driver from here. https://packages.ubuntu.com/de/xenial/a ... s/download using another computer.
then save it to a flash drive or cd and install it with this command:
Code: Select all
sudo apt install PATH_TO_THE_DEB_FILE
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
I have done as told, blacklisted the r8169 driver and installed the .deb file. Rebooted a few times and it still doesn't work r8169 keeps loading
Re: Cannot connect to the internet
Post results for
Code: Select all
lspci -nnk | grep -iA3 net
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
Code: Select all
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
Kernel driver in use: r8169
Kernel modules: r8168
Re: Cannot connect to the internet
try this command the reboot :
Code: Select all
sudo 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf'
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Re: Cannot connect to the internet
I would have suggested that you try a supported kernel version. 4.10 is no longer supported and therefore not recommended, AFAIK. (please correct me if I'm wrong) You could try 4.4, or, if you're not a VirtualBox user (or are happy downloading it from the website) you can use 4.13. Another reason I would suggest not using 4.10 is that 4.4 and 4.13 are getting Spectre and Meltdown patches, whereas 4.10 and 4.8 are, from what I'm told, not.
Try opening a terminal and running
Try opening a terminal and running
sudo modprobe -r r8169
to temporarily disable that module, then, if the usual way you connect doesn't work, try dhclient
to (hopefully) get your Internet rolling. This is more of a test than anything.I'm also Terminalforlife on GitHub.
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
This does not work, it gives me an error of command not found or something like. The command from the guidekc1di wrote: ⤴Fri Mar 23, 2018 8:38 am try this command the reboot :Code: Select all
sudo 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf'
sudo sh -c ‘echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf’
works and if i cat /etc/modprobe.d/blacklist.conf
it shows at the bottom blacklist r8169
This also does not work
What i don't understand is if i plug in a different modem it works, if i switch back to the modem i want to use it doesn't work. Distro's (like debian, opensuse leap 42.3) that use older kernels like 4.9 it works, if it is a newer kernel 4.10 and up it doesn't work
Re: Cannot connect to the internet
That makes me believe the problem is with how 4.10 -4.13 kernels are doing something that prevents that particular driver from loading correctly.therealrobojock wrote: ⤴Sat Mar 24, 2018 6:16 am
What i don't understand is if i plug in a different modem it works, if i switch back to the modem i want to use it doesn't work. Distro's (like debian, opensuse leap 42.3) that use older kernels like 4.9 it works, if it is a newer kernel 4.10 and up it doesn't work
In any event the only way around it that I see right now is to revert to the 4.4 kernel series. As from what I've been able to find in the chatter on line is that kernel 4.10 and above have r8169 installed and doesn't allow the module for r8168 to load or it conflicts with it. But someone more knowledgeable than I will have to explain the whys of that. So for now the only recourse I believe may be to use the 4.4 kernel.
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
Yes there is you can go here http://ubuntuhandbook.org/index.php/201 ... in-ubuntu/ and download the 4.4 kernel on another machine and install them with gdebi or dpkg. once installed boot into the 4.4 kernel and see if you can get wifi going if you can the update the 4.4 kernel to the latest version. good luck.
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
No luck there either Yes i selected 4.4 kernel from the grup menu before boot, but still no luck
Re: Cannot connect to the internet
ok now boot to 4.4 and you'll have to reinstall the r8168 module to build against the 4.4 kernel.
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
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
-
- Level 1
- Posts: 38
- Joined: Thu Jun 11, 2015 9:33 am
Re: Cannot connect to the internet
What does 'netstat -rn' say?
What does 'cat /etc/resolv.conf' say?
What does 'cat /etc/resolv.conf' say?
-
- Level 1
- Posts: 32
- Joined: Tue Apr 19, 2016 6:27 am
Re: Cannot connect to the internet
Tried everything still doesn't work
The thing is the network card "works" i can access 192.168.1.1, i just cannot go onto the internet even if i run linux mint from live from usb. I think previous versions 17.x worked. Some distros have the same issue. Ubuntu 17.10 live usb works that how i access the forum.
The thing is the network card "works" i can access 192.168.1.1, i just cannot go onto the internet even if i run linux mint from live from usb. I think previous versions 17.x worked. Some distros have the same issue. Ubuntu 17.10 live usb works that how i access the forum.
Code: Select all
inxi -Nn
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8168
IF: enp1s0 state: up speed: 100 Mbps duplex: full
mac: 40:8d:5c:4d:fd:8a
Code: Select all
uname -r
4.4.0-040400-generic
Code: Select all
lspci | grep -iA3 net
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Code: Select all
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp1s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp1s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp1s0
Code: Select all
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1