LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-04-2018, 12:26 PM   #1
jabbathehutt
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Rep: Reputation: Disabled
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.
 
Old 06-04-2018, 01:08 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,314

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
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

Last edited by colorpurple21859; 06-04-2018 at 01:10 PM.
 
Old 06-04-2018, 01:10 PM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,618

Rep: Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754Reputation: 4754
probably you started it as regular user, but need to be root.
 
1 members found this post helpful.
Old 06-04-2018, 01:14 PM   #4
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
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.

Last edited by jsbjsb001; 06-04-2018 at 01:21 PM.
 
1 members found this post helpful.
Old 06-04-2018, 08:19 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,309
Blog Entries: 27

Rep: Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876
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.
 
Old 06-05-2018, 06:30 PM   #6
jabbathehutt
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automate update of security issue from debian announce list on Debian Sid? s.verma Debian 6 12-19-2015 11:34 PM
Asus k53tk-sx012v (win7 & Debian 7) to replace Debian 7 with slackware 14 amosse Linux - Newbie 1 09-05-2013 12:55 AM
LXer: How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS LXer Syndicated Linux News 0 03-09-2011 05:20 AM
LXer: Goodbye Fedora, welcome back Debian, Part 2: Review of Debian Squeeze LXer Syndicated Linux News 0 12-02-2010 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration