DebianThis forum is for the discussion of Debian Linux.
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.
Hi: I have installed debian (debian-9.4.0-i386-DVD-1.iso) on an Acer Aspire One computer. The driver for the wi-fi controller is propietary (non-free firmware) and, so, it is not included in the distribution. However the installer asks for media containing the file (iwlwifi-3160-17.ucode) to be inserted. I have tested in several ways, including putting it into a directory called /media, with no results. So I gave up and installed instead the firmware iso image which comes with non-free distributable drivers. However I want to be able to install without recourse to internet and so (that is to install from the debian-9.4.0-i386-DVD-1.iso) I need a means to install the driver by hand. OK.
As you can see, the firmware installer put the driver into /lib/firmware. So, what if after installing debian-9.4.0-i386-DVD-1.iso I copy the driver to /lib/firmware and make modprobe <name of the driver>? Could it be as simple as that?
Note: I have two partitions mounted. One with Stretch and the other with Arch linux, which is the running OS at present. Hence the duplicated entries. Stretch is mounted on /stretch.
Yes, it's as simple as that. All firmware goes in /lib/firmware. That's where the kernel will look for it.
You may not need to use modprobe. I once had a laptop with a broadcom card and the kernel found and loaded the main driver by itself. Then the main driver loaded the firmware.
Thanks. Tell me, what permissions should I give that file in /lib/firmware, that is the driver I will copy? And what utility could I use to see if things work (I have no GUI at present)? Maybe the ping command?
I think it is not really important, but read only should be sufficient (check other files in that dir).
you can use dmesg or lsmod to check if that was picked (during boot)
Well, I have just been able to login as root (a whole day trying to get it) and have just copied the iwlwifiIdontKnowWhat.ucode file, after creating the /lib/firmware directory. I'll see dmesg and in any case I can rm the module and modprobe it. A strange thing is I don't find the ifconfig command, but I installed from a netinst image with the firmware driver and have only a basic install (no GUI). But I do have apt-get. In the ping man page, the syntax is
ping [options] destination
What is that destination? An IP? How could I use ping to verify connectivity?
What is that destination? An IP? How could I use ping to verify connectivity?
If you want to verify connectivity, your destination must be an ip address. If you use a domain name and you can't get through, you have no way of knowing whether it's the name resolution that is failing or the actual connection. 8.8.8.8 is a very good address to use. It's one of the Google name servers so it's always up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.