[SOLVED] Cannot connect to (Wired) internet after installing Nvidia graphics card and driver.
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cannot connect to (Wired) internet after installing Nvidia graphics card and driver.
Fresh install of Xubuntu and had been conncecting (wired) to internet fine for weeks, then I installed a Nvidia card and driver (wich works good) and now I cannot get on internet
I ran :
suco lshw -C network and I get a message saying UNCLAIMED and it shows the driver and version info.
I searched for UNCLAIMED linux network setting and didnt get much.
I disconnected the CAT5 cable And plugged it into another system and internet works fine.
I checked settings in network configuration and everything seems to be like it should
I am not sure why installing a graphics card would alter internet settings?
I am not sure why installing a graphics card would alter internet settings?
Absolutley nothing.
What is the status of your ethernet interface? Run the command ifconfig and or ip a and post the results. There should be an ip address present, and the interface should be up.
If your interface is named eth0, run the command ifconfig eth0 up will bring it up. You can look at the manpage for the ip command if you want to activate or deactivate the interface with that command.
What is the status of your ethernet interface? Run the command ifconfig and or ip a and post the results. There should be an ip address present, and the interface should be up.
If your interface is named eth0, run the command ifconfig eth0 up will bring it up. You can look at the manpage for the ip command if you want to activate or deactivate the interface with that command.
Code:
This is what I get with ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
When I do lsmod I dont see anything related to network card.
Does that mean the driver is not loaded into kernel?
when I do lspci I get this:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
I tried to bring up using ifconfig but I dont have ifconfig installed and "ip link set eth0 or eth1 up" says cannot find device.
From what I have researched it may be the driver for the network card (on motherboard) needs reinstalled.
There is also something called secure boot that "possibly" needs deactiveated in the bios ????
The network/internet was working fine for weeks, it was right after I installed the video card and driver that this happened.
How do I find out what driver I need to reinstall the network driver?
It appears the driver is not loaded. Look in the output of the command lsmod, if its loaded, it will be listed there. If not, then as root try to modporbe r8169.ko.
I have the same network card. Here is the output of inxi -n
Here is where the driver lives on my system.
It appears the driver is not loaded. Look in the output of the command lsmod, if its loaded, it will be listed there. If not, then as root try to modporbe r8169.ko.
No its not loaded
I guess after the last update a whole bunch of modules got whiped out. I dont have a network directory or a realtec directory at all under kernel 5.15.0-56-generic but when I look under /lib/modules/5.15.43-generic/kernel/drivers/net/ethernet/realtek/r8169.ko it is there. along with alot of other drivers.
Can I simply create the directories and copy over the driver to the newer kernel then reboot?
It looks like an upgrade? was done, is that correct?
When a new kernel is installed, you need the modules that match the kernel you are booting. The modules should be available from what ever program you use to update the system. Once installed, the boot loader needs updating to point to the new kernel.
Can you tell us exactly what has gone on with your system?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
One thing to try, which may help to install the missing packages etc., is to select more options in the GRUB screen and select a previous kernel - sorry not at home to find the exact wording but something like more Xubuntu options then select the 5.13 kernel (do not select any safe mode or anything like that) then you may have network connectivity with the old kernel so you can make sure the drivers are installed for the newer kernel.
It looks like an upgrade? was done, is that correct?
When a new kernel is installed, you need the modules that match the kernel you are booting. The modules should be available from what ever program you use to update the system. Once installed, the boot loader needs updating to point to the new kernel.
Can you tell us exactly what has gone on with your system?
Its a HP I3 processor, 8 gigs of ram and a new 2TB HD, I just installed Xubuntu a few weeks ago and it was working fine. The only things I did was upgrade normally through the ubuntu sofware center and I installed Nvidia driver and graphics card. I didnt try to install a new kernel or at least not knowlingly.
One thing to try, which may help to install the missing packages etc., is to select more options in the GRUB screen and select a previous kernel - sorry not at home to find the exact wording but something like more Xubuntu options then select the 5.13 kernel (do not select any safe mode or anything like that) then you may have network connectivity with the old kernel so you can make sure the drivers are installed for the newer kernel.
This is what I was going to try but not sure if that is a permanent solution.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by Raxnic
This is what I was going to try but not sure if that is a permanent solution.
It's not a permanent solution, no, but will let you install the missing drivers for your network card for the newer kernel.
My theory is that the drivers were installed manually, somehow, for the 13 kernel and it didn't, update with the kernel so you just need to find the generic driver package name and install that so it install each time the kernel is updated.
5.15.0-56-generic but when I look under /lib/modules/5.15.43-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
If this is accurate, you do not have a match between booting kernel and modules. They won't work. I have no idea how you made this mis-match, I guess you don't either.
I would stronly suggest you look at what kernels you have in /boot and what is in /boot/efi/EFI/yourbootdir. It looks like 5.15.43 kernel never got copied to the bootdir, or your boot loader did not get updated.
It's not a permanent solution, no, but will let you install the missing drivers for your network card for the newer kernel.
My theory is that the drivers were installed manually, somehow, for the 13 kernel and it didn't, update with the kernel so you just need to find the generic driver package name and install that so it install each time the kernel is updated.
I am going to give this a try and/or purchase a WIFI adapter and install that. I did that with this system and it worked really well.
If this is accurate, you do not have a match between booting kernel and modules. They won't work. I have no idea how you made this mis-match, I guess you don't either.
I would stronly suggest you look at what kernels you have in /boot and what is in /boot/efi/EFI/yourbootdir. It looks like 5.15.43 kernel never got copied to the bootdir, or your boot loader did not get updated.
I am not sure what to look for in /boot but I see a folder with initrd-5.15.0-43-generic and another initrd.img-5.15.0-56-generic
and files that say system map and config files with the same kernel names as above.
I cannot access efi directories at all even with sudo, and there is only one user on the system.
Code:
[update] I was able to change grub settings so i can boot into the older kernel and now I have internet back.
Is there a way to permanantly keep this older kernel and blacklist the newer one? or should I use the Ubuntu update center to update from where I am at?
I'm glad you can now boot, and your ethernet is now connected. That is progress.
Generally speaking, you should update to newer kernels, they often include security fixes and support for more features.
I am not familiar how you update a Xubuntu system. I think you have a tool to do that. You could look at the support doc from Ubuntu to see how they recommend updating kernels. Basically, its a mater up installing the correct packages, and updateing your boot loader. ( grub ).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.