[Sovled] How to insall ucode?

How does one install ucode drivers? I dont have a gui or internet access on the linux machine?

Edit /etc/apt/sources.lst (or something to that effect)

Add contrib non-free to the end of the deb lines.

Run aptitude update
Run aptitude search ucode

Install the ones you need. If you not sure or if that doesn't give a result look for linuxfirmware or firmware and install the Linux firmware package

i dont have internet but i downloaded the drivers manually.

mhmm.. a quick google just led me to a vanished debian wiki entry... can't you under no circumstance use wired nertwork?

yes i only have access to wifi but cant connect due to drivers not being installed.

Ah OK. Use dpkg -I packagename

https://www.linux.com/learn/tutorials/806072-how-to-install-firmware-in-debian-to-enable-wireless-video-or-sound/ this seems to be a working tutorial

The first part is about how to during installation, but further down the part about doing it with the OS running comes.

the ucode file is in a tar file and .deb

what driver is it, maybe I can find you a .deb for it... the content of the .tar was meant to be extracted onto a USB and used during installation (in the setup wizard)

ok ill try to find a .deb file to use.

even better, it seems that you can copy the .ucode file into
/usr/local/lib/firmware (if that folder does not exist create it as root) and after a reboot it should be used by the kernel.

(source of that info: https://wiki.debian.org/Firmware)

kernal still cant see the driver

what does sudo lshw -c network actually say?

Ok got it working needed to move .ucode files to /lib/firmware. for some reason /lib/firmware was a file instead of a folder. changed that to a folder moved .ucode to their and it worked. Updating now.

2 Likes