LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-26-2022, 01:22 PM   #16
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860

You can look at this link, it gives you two ways to update your system to newer kernels.

https://itsfoss.com/upgrade-linux-kernel-ubuntu/
 
Old 12-26-2022, 04:02 PM   #17
Raxnic
Member
 
Registered: Aug 2019
Posts: 77

Original Poster
Rep: Reputation: Disabled
So i went ahead and did apt-get update then apt-get upgrade under the old kernel and all it did was upgrade programs. Still no internet

I can boot into either kernel, but no internet and nice (nvidia) graphics on the newer one, internet but nvidia driver and crappy graphics on the old kernel.

I know its a longshot but i feel that somehow installing the Nvidia drivers screwed up the kernel. Thats the only thing I did that changed when this started.


I think I am going to have to try installing the newest kernel (but its the same version I am having the ethernet/module problem with), or leave it as it is and use the older

one for now. Thanks for the link and help everyone.
 
Old 12-26-2022, 04:09 PM   #18
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
How did you install the Nvidia driver? Which kernel was active when it was installed?

I have been useing Nvidia drivers for years, you have to install it to the kernel you wish to use. So, If you have 2 different kernels, you install twice. The driver builds the loadedable module for what ever kernel was active at install time.

Did you use a driver directly from Nvidia, or did it come from your distro?
 
Old 12-26-2022, 04:26 PM   #19
Raxnic
Member
 
Registered: Aug 2019
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
How did you install the Nvidia driver? Which kernel was active when it was installed?

I have been useing Nvidia drivers for years, you have to install it to the kernel you wish to use. So, If you have 2 different kernels, you install twice. The driver builds the loadedable module for what ever kernel was active at install time.

Did you use a driver directly from Nvidia, or did it come from your distro?
I installed it using the ubuntu software update system, Im guessing the newer kernel (5.15.0-56-generic) was active because I did not install any other kernel and its the newer

one that must have been there when I installed Xubuntu.

The ubuntu software system has a tab that says additional drivers, I clicked on it and and it had the exact name and model of my graphics card, then I chose apply changes. Maybe

also, the sofware center says using nvidida driver metapackage from nvidia-driver-470 (proprietary-tested)

something went haywire during the driver install?

The kernel that it is installed to newest version (5.15.0-56-generic), is the one that is missing the realtek/ethernet modules with no internet.
When I log in under the older kernel internet works, but no nvidia driver.

Last edited by Raxnic; 12-26-2022 at 04:31 PM.
 
Old 12-26-2022, 04:30 PM   #20
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Quote:
something went haywire during the driver install?
If you were running the new kernel, and installed the Nvidia driver, the module built at install time is for the new kernel.

You can either stick to the new kernel, and fix the module problem, OR switch to your old kernel, and install the Nvidia driver again. Pick one.

Last edited by camorri; 12-26-2022 at 04:31 PM.
 
Old 12-26-2022, 04:33 PM   #21
Raxnic
Member
 
Registered: Aug 2019
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
If you were running the new kernel, and installed the Nvidia driver, the module built at install time is for the new kernel.

You can either stick to the new kernel, and fix the module problem, OR switch to your old kernel, and install the Nvidia driver again. Pick one.
I am afaid that if I install the nvidia driver on the ond kernel i will lose internet and have module problems on that one also.

I might try to install another newer kernel, install the Nvidia driver on that, then have the oldest one as a fallback incase something happens again.

Last edited by Raxnic; 12-26-2022 at 04:41 PM.
 
Old 12-26-2022, 04:43 PM   #22
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Fear will not get you anywhere. Nvidia drivers have no effect on kernels. The install process simply builds the necessary code to work with a kernel; the active one when you do the install.

If there was a problem with their driver like that, there would be thousands of user screaming at the top of their lungs. Look at the forum, see if you can find anyone where the Nvidia driver destroys a kernel.

Of course, you could take the Windoze way to fix things, learn nothing, and re-install.
 
Old 12-26-2022, 04:47 PM   #23
Raxnic
Member
 
Registered: Aug 2019
Posts: 77

Original Poster
Rep: Reputation: Disabled
Ok, Thanks for the help camorri.
 
Old 12-26-2022, 07:18 PM   #24
Raxnic
Member
 
Registered: Aug 2019
Posts: 77

Original Poster
Rep: Reputation: Disabled
I was able to install the most recent kernel (6.0.9-06), then install the nvidia driver (after several failed attempts) and everything is working as it should, even better than before.

Not sure how or why the 15.5 kernel went haywire.

Thanks to everyone that helped.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Nvidia graphics card on linux mint mate 17.3 when in a hybrid graphics card environment betty _frances Linux Mint 1 06-08-2016 06:31 AM
Cannot connect to internet (Wireless nor Wired) after Hard Reset boaty Linux - Newbie 30 02-04-2010 08:23 PM
cannot connect to wired internet in slackware 13 K.D.Mishra Linux - Newbie 1 11-02-2009 06:08 AM
After installing nvidia graphics card driver mandrva 2009 failed to start GUI. kumar3999 Mandriva 6 11-22-2008 05:35 PM
Cannot connect to internet via wired adapter psycovic23 Linux - Networking 1 06-05-2004 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration