[SOLVED] How to install a network driver ? and where to get the driver?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I need to install A network/ethernet driver (WIRED). It had been loading and working fine, then for some reason the module is not loading, (but thats in another post)
How do I go about getting the driver and installing it? without internet on that computer?
I can download the driver to this system them move it over using a usb drive, but I cannot find the driver online anywhere. I thought I had found it, but on one site its not available and another it will not download
Is there a way to get the driver from the distro installation?
If you are using Xubuntu, 22.04 chances are you MUST get it from them.
1) the kernel must either have the driver built-in or built as "loadable"
2) some drivers require hardware blobs be loaded BEFORE loading the module
3) some modules won't work on some hardwares without Options (modules.conf)
4) much hardware has no driver. insure first your adapter is actually in a list supported by the driver.
I don't know what WIRED is. Is it:
? "Wired Intel Ethernet Adapter ?
> cannot find the driver
all the loadable kernel firware is in /lib/firmware ?
all the loadable kernel modules are in /lib/modules
You can't just rob modules from another kernel if the module you need isn't in Kubunto or whatever you've loaded. Perhaps they have a package with "extra modules" that aren't in /lib/modules unless called for?
___________________________
say what hardware specifically you have and if it's integrated or a pci card
* If you had the right module(s) you could transfer it by usb, run modprobe(1), and surf. Yes. that's the usual way. Most distro have "package managers" which have "kernel packages" that can be installed.
* you could check /boo/config and see if your kernel had it NO,YES,MODULES
If you are using Xubuntu, 22.04 chances are you MUST get it from them.
1) the kernel must either have the driver built-in or built as "loadable"
2) some drivers require hardware blobs be loaded BEFORE loading the module
3) some modules won't work on some hardwares without Options (modules.conf)
4) much hardware has no driver. insure first your adapter is actually in a list supported by the driver.
I don't know what WIRED is. Is it:
? "Wired Intel Ethernet Adapter ?
> cannot find the driver
all the loadable kernel firware is in /lib/firmware ?
all the loadable kernel modules are in /lib/modules
You can't just rob modules from another kernel if the module you need isn't in Kubunto or whatever you've loaded. Perhaps they have a package with "extra modules" that aren't in /lib/modules unless called for?
___________________________
say what hardware specifically you have and if it's integrated or a pci card
I need to install A network/ethernet driver (WIRED). It had been loading and working fine, then for some reason the module is not loading, (but thats in another post)
What makes you think you need to install a driver? Odds are very high the driver you need is installed. What you possibly may need is firmware. A module that depends on firmware won't load without it.
Quote:
How do I go about getting the driver and installing it? without internet on that computer?
Use a computer with working internet to fetch the package(s) containing what you do need, and transfer via USB, or possibly floppy disk. If it's only with the current kernel that network doesn't work, boot with a kernel which does provide working network.
Quote:
I can download the driver to this system them move it over using a usb drive, but I cannot find the driver online anywhere.
Kernel modules (drivers) ship with every kernel, though they may be in a separate package, which is how it works in *buntu:
Code:
# pinxi -S
System:
Host: big41 Kernel: 5.15.0-56-generic arch: x86_64 bits: 64
Console: pty pts/0 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
# dpkg -l | grep -E 'linux|mwar|ealtek'
ii amd64-microcode 3.20191218.1ubuntu2 amd64 Processor microcode firmware for AMD CPUs
ii binutils-x86-64-linux-gnu 2.38-4ubuntu2.1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii console-setup-linux 1.205ubuntu3 all Linux specific part of console-setup
ii intel-microcode 3.20220809.0ubuntu0.22.04.1 amd64 Processor microcode firmware for Intel CPUs
ii libselinux1:amd64 3.3-1build2 amd64 SELinux runtime shared libraries
ii linux-base 4.5ubuntu9 all Linux image base package
ii linux-firmware 20220329.git681281e4-0ubuntu3.7 all Firmware for Linux kernel drivers
ii linux-image-5.15.0-47-generic 5.15.0-47.51 amd64 Signed kernel image generic
ii linux-image-5.15.0-56-generic 5.15.0-56.62 amd64 Signed kernel image generic
ii linux-image-generic 5.15.0.56.54 amd64 Generic Linux kernel image
ii linux-modules-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-extra-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-extra-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii util-linux 2.37.2-4ubuntu3 amd64 miscellaneous system utilities
# ls -l /lib/modules/*/kernel/drivers/net/ethernet/realtek
/lib/modules/5.15.0-48-generic/kernel/drivers/net/ethernet/realtek:
total 394
-rw-r--r-- 1 root root 70737 Aug 26 05:12 8139cp.ko
-rw-r--r-- 1 root root 89849 Aug 26 05:12 8139too.ko
-rw-r--r-- 1 root root 26289 Aug 26 05:12 atp.ko
-rw-r--r-- 1 root root 210049 Aug 26 05:12 r8169.ko
/lib/modules/5.15.0-56-generic/kernel/drivers/net/ethernet/realtek:
total 395
-rw-r--r-- 1 root root 70689 Nov 22 10:08 8139cp.ko
-rw-r--r-- 1 root root 89865 Nov 22 10:08 8139too.ko
-rw-r--r-- 1 root root 26297 Nov 22 10:08 atp.ko
-rw-r--r-- 1 root root 210961 Nov 22 10:08 r8169.ko
# dpkg -S /lib/modules/5.15.0-56-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
linux-modules-extra-5.15.0-56-generic: /lib/modules/5.15.0-56-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
# pinxi -Naz
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: d800 bus-ID: 01:00.0 chip-ID: 10ec:8168
class-ID: 0200
# lsmod | grep -E 'real|net' | grep -v snd
realtek 32768 1
Yes, my kernel went haywire somehow and I had to revert to a previous one to get things fixed. The realtek driver for the ethernet card (on board) was gone/missing. I ended up updating the kernel to the most recent and that fixed the issue.
Thanks.
In your OP you indicated 5.15-0-56 presented the problem, yet 5.15-0-56 seems to be the latest available. What kernel did you install that solved the problem?
In your OP you indicated 5.15-0-56 presented the problem, yet 5.15-0-56 seems to be the latest available. What kernel did you install that solved the problem?
I installed version 6.0.9-06 using a program called Ubuntu Mainline Kernel installer. It seemed way too easy, but everything looks to be working, uname -r shows 6.0.9-060009-generic. It shows that in the grub menu as well.
I dont know exactly what caused the problem. The only thing I did was install Nvidia driver.
The system I am posting from is kernel 5.15-0-56 and it is running good, some kinda glitch with the other sytem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.