LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-21-2016, 11:22 AM   #31
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567

Maybe restart as WTF in security... https://www.linuxquestions.org/quest...ux-security-4/ der?
 
Old 06-21-2016, 01:45 PM   #32
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by WTFDOIDONOW??? View Post
i think maybe you guys just dont know youreselves
Probably nobody does know how to get your card working under Kali without actually doing it. That is because for most people using Kali a sound card isn't even needed.
As for the kernel -- as far as I know Kali runs as root so sudo and all that is unnecessary. Compiling your own kernel like this may work.
However, the very fact you need people to tell you this means that Kali is not for you.
 
1 members found this post helpful.
Old 06-21-2016, 01:53 PM   #33
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
To get the card working one could look up its PCI ID and if it is not in running kernel get an out-of-kernel driver from ALSA. But I'm sure this advice is greek for our Kali hero, too. He wants fish instead of fishing pole.
 
Old 06-21-2016, 03:29 PM   #34
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 12.1, Alpine 5.4, Manjaro 19, Alpine on WSL [Win10]
Posts: 194

Rep: Reputation: 213Reputation: 213Reputation: 213
First, calm down. Insulting everyone isn't going to get you any help. Just because you don't understand how people are trying to help, doesn't mean that they aren't.

I can't say for certain why your audio won't work. Here's what I can say for certain:

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# ls  ../*.deb
../linux-headers-4.5.0_1.0.NAS_amd64.deb
../linux-image-4.5.0_1.0.NAS_amd64.deb
Here, you list the directory above the current one (which is what ".." denotes), asking for files that end in ".deb". As you see, in the directory above the current one (/usr/src/linux-4.5), you have two files that meet this criteria.

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# ../linux-headers-4.5.0_1.0.NAS_amd64.deb  ../linux-image-4.5.0_1.0.NAS_amd64.deb
bash: ../linux-headers-4.5.0_1.0.NAS_amd64.deb: Permission denied
Still in the current directory (see where I'm going with this?), you try to directly execute these .deb files in the directory above (correctly using the "..", however), which are not executable. So it fails.

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# sudo dpkg -i linux-headers-4.5.0_1.0.NAS_amd64.deb
dpkg: error processing archive linux-headers-4.5.0_1.0.NAS_amd64.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 linux-headers-4.5.0_1.0.NAS_amd64.deb
Here, you try to install the .deb package using dpkg, but the file is not in this directory. It's in the directory above. Hence the message "cannot access archive: No such file or directory". You also prefix the command with "sudo", which is unnecessary since you're already logged in as root ("root@kali").

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# dpkg -i linux-image-4.5.0_1.0.NAS_amd64.deb
dpkg: error processing archive linux-image-4.5.0_1.0.NAS_amd64.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 linux-image-4.5.0_1.0.NAS_amd64.deb
This one is the same as above, but without the sudo. Still doesn't exist in that directory, so not found again...

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# sudo ../linux-headers-4.5.0_1.0.NAS_amd64.deb  ../linux-image-4.5.0_1.0.NAS_amd64.deb
sudo: ../linux-headers-4.5.0_1.0.NAS_amd64.deb: command not found
Here's a mix of some of the above, where you try to execute the non-executable files directly (which isn't going to work), and prefixed with an unnecessary sudo again.

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Code:
root@kali:/usr/src/linux-4.5/linux-4.5# fakeroot ../linux-headers-4.5.0_1.0.NAS_amd64.deb  ../linux-image-4.5.0_1.0.NAS_amd64.deb
/usr/bin/fakeroot: line 178: ../linux-headers-4.5.0_1.0.NAS_amd64.deb: Permission denied
...same thing as above essentially.

Quote:
Originally Posted by WTFDOIDONOW??? View Post
Permission Denied!! WTFDOIDONOW???
You could cd into the actual directory where the packages are, and run dpkg from there.

Also, not that you care, but +1 to using a distro that doesn't have a specific use case. You're just going to get frustrated, because there simply aren't going to be fixes for some things that will make Kali into what you want to make it into. It's not a standard desktop distro.
 
1 members found this post helpful.
Old 06-21-2016, 03:59 PM   #35
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
May actually be better off with Backtrack5 http://www.backtrack-linux.org/downloads/
from a share network or some archive somewhere? But of course, will have even bigger security issues so not really recommended!!! (Like Kali. )
 
Old 06-21-2016, 08:37 PM   #36
WTFDOIDONOW???
LQ Newbie
 
Registered: Jun 2016
Posts: 25

Original Poster
Rep: Reputation: Disabled
thank you very much Urbankws, for a cardinal direction.

noob errors that i can see now.
 
  


Reply



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
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 08:34 AM
Permission denied when compiling a kernel module gudrun Linux - Kernel 2 03-01-2012 09:46 AM
Debian Update => /bin/bash: Permission denied 0SAlim Linux - Software 1 08-01-2008 01:18 PM
Root user denied permission to update/install software appin69 Fedora 4 07-08-2008 11:43 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:53 AM.

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
Open Source Consulting | Domain Registration