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 installed debian jessie on an 8 year old Toshiba laptop. During the install, it noted that it needed the non-free driver file "iwlwifi-4965-2.ucode". After the installation finished, everything seems to be working properly (except the wifi).
I could not figure out how to get that file during the debian install, but I have it downloaded now to a flash drive. I tried copying that file to /lib/firmware but got an error "no such file or directory".
I guess it is a permission problem, but I'm really not sure. What is the best way to get this file into the correct location?
I could not figure out how to get that file during the debian install, but I have it downloaded now to a flash drive. I tried copying that file to /lib/firmware but got an error "no such file or directory".
Ideally, you should show the exact command you typed and the output generated, rather than a verbal description/interpretation. It is likely that you got the path or source file name wrong, rather than the target directory not existing.
Tip: For a machine without internet access, output and be copy/pasted to a text file and transferred via a memory stick to a machine with internet access, so that it can then be posted.
Ideally, you should show the exact command you typed and the output generated, rather than a verbal description/interpretation. It is likely that you got the path or source file name wrong, rather than the target directory not existing.
Here is what shows up in the Terminal when I tried to copy the file from my Kingston USB drive:
They are .iso images to install the distribution that includes the firmware.
Did you want to do a fresh installation?
The firmware that you need to install in order to get your wireless working is on the page I linked. You can download it (depending on what wifi card you have) and transfer it to a flash drive like ferrari suggested.
To find out what wifi card you have run this command and write it down.
Code:
lspci | grep -i network
Once you know that you can download the firmware for your wifi card on the page I linked and install it with gdebi or the dpkg --install command.
<OR> you can perform a fresh install with the firmware included in the .iso.
It's up to you.
If it were me, I'd download the firmware install it. Once installed a reboot should give you your wifi connection.
OOPS, I misunderstood the question. Earlier I posted the source of the iso files that I used to do my new fresh install of debian jessie.
During the install, I got hundreds of error messages about this file: iwlwifi-3945-2.ucode. After the install, I did a Google search on that, and downloaded the firmware from this page: https://packages.debian.org/jessie/k...rmware-iwlwifi
In an attempt to override the permission problem, I tried using sudo. But that gives a different error:
rick@localhost:/lib/firmware$ sudo cp /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi-3945-2.ucode
[sudo] password for rick: <entered it>
rick is not in the sudoers file. This incident will be reported.
I logged in as root, then added rick to the sudo group. But I still get the same error:
su
Password: <entered it>
root@localhost:/lib/firmware# adduser rick sudo
Adding user 'rick' to group 'sudo'
Adding user rick to group sudo
Done
root@localhost:/lib/firmware# exit
exit
rick@localhost:/lib/firmware$ sudo cp /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware/iwlwifi-3945-2.ucode
[sudo] password for rick: <entered it>
rick is not in the sudoers file. This incident will be reported.
OOPS, I misunderstood the question. Earlier I posted the source of the iso files that I used to do my new fresh install of debian jessie.
During the install, I got hundreds of error messages about this file: iwlwifi-3945-2.ucode. After the install, I did a Google search on that, and downloaded the firmware from this page: https://packages.debian.org/jessie/k...rmware-iwlwifi
Good than you have what you need.
Open the terminal and cd to where you have that firmware.
Than become root 'su' and install it with the dpkg command.
Code:
dpkg --install firmware-iwlwifi_0.43_all.deb
If that doesn't work right click on the firmware and install it with gdebi.
Once it's installed, reboot.
su
password: <entered>
cd /media/rick/KINGSTON/firmware-iwlwifi_0_extracted/data/lib/firmware
dpkg --install firmware-iwlwifi_0.43_all.deb
dpkg: error processing archive firmware-iwlwifi_0.43_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
firmware-iwlwifi_0.43_all.deb
Then I changed this to process the single file that I do have, but got the same error
dpkg --install iwlwifi-3945-2.ucode
dpkg: error processing archive iwlwifi-3945-2.ucode (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
iwlwifi-3945-2.ucode
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.