LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No Wi-Fi on Debian 9.4.0 (https://www.linuxquestions.org/questions/linux-newbie-8/no-wi-fi-on-debian-9-4-0-a-4175631189/)

jabbathehutt 06-04-2018 12:26 PM

No Wi-Fi on Debian 9.4.0
 
Hi.
I have a problem. I just installed Debian 9.4.0 on my laptop (HP 250 G5) and I don't have Wi-Fi. My network controller is Intel Corporation Wireless 3165 (rev 81). Do you know how to install Wi-Fi firmware? It's also not possible to do apt update. When I try terminal says:
Quote:

Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Can you help me? Please describe everything the easy way. It's my first day with Linux. Thanks.

colorpurple21859 06-04-2018 01:08 PM

If you have an ethernet connection you can edit your /etc/apt/sources.list to add non-free repository by editing the line to look like this
Code:

deb http://ftp.de.debian.org/debian stretch main non-free
If not then will have to download the pkg and then install manually with dpkg:
https://packages.debian.org/stretch/...lwifi/download

pan64 06-04-2018 01:10 PM

probably you started it as regular user, but need to be root.

jsbjsb001 06-04-2018 01:14 PM

When you opened a terminal, do you see the word "root" ?

The "root" user in Linux has all permissions and can perform any action - similar to the administrator account in Windows.

If not, try typing the following in the terminal window:

Code:

su -
You will need to enter the password for the "root" user account, that you setup during the installation of the system. Then try running the command you ran to get the messages you have posted. As, it doesn't appear that you have "root privileges".

(I don't run Debian Linux myself - I use a different Linux distribution)

EDIT: Others have replied while I was still typing. You're in good hands. Sorry.

frankbell 06-04-2018 08:19 PM

Also, it would be helpful to know what wireless chipset is in that machine.

The command lspci issued in a terminal should reveal that information. You may have to issue the command as root. Please surround any command output with "code" tags, which become available when you click the "Go Advanced" button beneath the compose post window.

jabbathehutt 06-05-2018 06:30 PM

Thanks everyone. Yes I needed to be logged as a root to do apt update. And about the Wi-Fi problem: I installed Linux again because I did partitioning wrong and this time I plugged USB stick with non-free firmware package when installation asked for it. It worked!


All times are GMT -5. The time now is 09:34 AM.