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
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
06-05-2014, 11:54 AM
#16
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
It seems you are mixing sid with stable & also kali has it's own repos which shouldn't be mixed with debian.
If you want to add repos you need to go back to the kali docs page which will tell you which repos that you should use. If you're using kali comment out or remove the references to debian.
06-05-2014, 11:56 AM
#17
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
06-08-2014, 01:57 PM
#18
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Okay now im getting this output when i try to update.
Code:
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
06-08-2014, 02:26 PM
#19
LQ Newbie
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25
Rep:
did you run apt-get as root?
Code:
sudo apt-get update
Code:
sudo apt-get upgrade
06-08-2014, 10:12 PM
#20
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Okay i updated and upgraded, but now when i do:
Code:
sudo apt-get install build-essential linux-headers-generic
I get:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'linux-headers-generic' has no installation candidate
06-08-2014, 11:36 PM
#21
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
You need to execute this command in a terminal:
Let's call the output of the above command
OUTPUT .
Now you need to execute this command:
Code:
sudo apt-get linux-headers-OUTPUT
where you have replaced OUTPUT with whatever the output of your uname -r command was.
jdk
06-08-2014, 11:47 PM
#22
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623
are you also aware that in Kali "networking" is DISABLED by default
you have to turn it on for wireless
-- a security feature
-- see #2 in the below link
http://docs.kali.org/introduction/sh...use-kali-linux
Kali is a single purpose OS
but together by security EXPERTS!!!
for use BY SECURITY EXPERTS !!!
and READ the "should i use kali"
http://docs.kali.org/introduction/sh...use-kali-linux
a good rule of thumb for kali( and it's predecessor BT5 )
is
" do you have at least a 6 year masters degree in CS ?"
if not
then you might want to use something else
Last edited by John VV; 06-08-2014 at 11:49 PM .
1 members found this post helpful.
06-09-2014, 11:33 AM
#23
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Code:
sudo apt-get linux-headers-3.14-kali1-amd64
Returns
Code:
E: Invalid operation linux-headers-3.14-kali1-amd64
Which Distro would you suggest for new linux users. Ive tried out ubuntu, but I like using a CLI more than a GUI.
06-09-2014, 12:59 PM
#24
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
Quote:
Originally Posted by
Golden_fox
Code:
sudo apt-get linux-headers-3.14-kali1-amd64
Returns
Code:
E: Invalid operation linux-headers-3.14-kali1-amd64
Which Distro would you suggest for new linux users. Ive tried out ubuntu, but I like using a CLI more than a GUI.
"install" is missing. The command should be:
Code:
sudo apt-get install linux-headers-3.14-kali1-amd64
jdk
06-09-2014, 01:32 PM
#25
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Okay the headers have installed. I tried
Code:
sudo modprobe rt3572sta
again but i still get
Code:
FATAL: Module rt3572sta not found.
06-09-2014, 04:38 PM
#26
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
The rt2800 should be loaded
Post output of lsmod
Also you might try
Last edited by EDDY1; 06-09-2014 at 04:44 PM .
06-09-2014, 05:06 PM
#27
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Heres lsmod.
Code:
Module Size Used by
nls_utf8 12456 1
hfsplus 97443 1
ctr 12927 1
ccm 17577 1
nfnetlink_log 17241 0
nfnetlink 12989 1 nfnetlink_log
binfmt_misc 16949 1
loop 26605 0
dm_crypt 22731 0
x86_pkg_temp_thermal 12965 0
intel_powerclamp 17159 0
arc4 12543 2
b43 366048 0
i915 742964 3
mac80211 488308 1 b43
btusb 25619 0
intel_rapl 17344 0
bluetooth 243618 2 btusb
drm_kms_helper 39998 1 i915
drm 240557 4 i915,drm_kms_helper
coretemp 12854 0
6lowpan_iphc 16588 1 bluetooth
cfg80211 436618 2 b43,mac80211
uvcvideo 78910 0
videobuf2_vmalloc 12816 1 uvcvideo
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 35348 1 uvcvideo
videodev 122088 2 uvcvideo,videobuf2_core
media 18303 2 uvcvideo,videodev
bcm5974 12845 0
kvm_intel 138949 0
snd_hda_codec_hdmi 45004 1
snd_hda_codec_cirrus 17637 1
i2c_algo_bit 12751 1 i915
joydev 17108 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
snd_hda_codec_generic 59079 1 snd_hda_codec_cirrus
lpc_ich 20768 0
i2c_i801 16963 0
i2c_core 24265 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
kvm 404503 1 kvm_intel
ssb 57040 1 b43
rfkill 18902 4 cfg80211,bluetooth
snd_hda_intel 39656 5
rng_core 12688 1 b43
apple_gmux 13057 0
snd_hda_codec 99921 4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_cirrus
pcmcia 40899 2 b43,ssb
pcmcia_core 18431 1 pcmcia
applesmc 18571 0
video 17804 2 i915,apple_gmux
processor 28221 0
mei_me 13446 0
mfd_core 12601 1 lpc_ich
bcma 37206 1 b43
mei 50039 1 mei_me
snd_hwdep 13148 1 snd_hda_codec
snd_pcm 88538 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer 26606 1 snd_pcm
snd 61039 17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore 13026 1 snd
thermal_sys 27685 4 video,intel_powerclamp,processor,x86_pkg_temp_thermal
evdev 17489 9
input_polldev 12906 1 applesmc
battery 13101 0
sbs 13012 0
apple_bl 12872 1 apple_gmux
sbshc 12842 1 sbs
ac 12678 0
button 12944 1 i915
ext4 489943 1
crc16 12343 2 ext4,bluetooth
mbcache 13082 1 ext4
jbd2 86788 1 ext4
dm_mod 89276 1 dm_crypt
sg 30043 0
sr_mod 21898 0
sd_mod 44346 3
cdrom 39232 1 sr_mod
crc_t10dif 12431 1 sd_mod
ata_generic 12490 0
hid_generic 12393 0
hid_appleir 12724 0
hid_apple 12596 0
usbhid 44481 0
hid 94062 4 hid_generic,usbhid,hid_appleir,hid_apple
crct10dif_pclmul 13348 1
crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif
crc32_pclmul 12915 0
crc32c_intel 21809 0
firewire_ohci 39468 0
uhci_hcd 30868 0
ehci_pci 12472 0
ehci_hcd 48517 1 ehci_pci
firewire_core 56838 1 firewire_ohci
ata_piix 33592 2
crc_itu_t 12347 1 firewire_core
ghash_clmulni_intel 12978 0
cryptd 14560 1 ghash_clmulni_intel
libata 169163 2 ata_generic,ata_piix
scsi_mod 186801 4 sg,libata,sd_mod,sr_mod
sdhci_pci 17956 0
sdhci 31015 1 sdhci_pci
mmc_core 93950 4 b43,ssb,sdhci,sdhci_pci
usbcore 166472 7 btusb,uhci_hcd,uvcvideo,ehci_hcd,ehci_pci,usbhid,bcm5974
usb_common 12440 1 usbcore
tg3 160593 0
ptp 17460 1 tg3
pps_core 13129 1 ptp
libphy 27778 1 tg3
06-09-2014, 05:30 PM
#28
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
06-09-2014, 11:05 PM
#29
LQ Newbie
Registered: Jun 2014
Posts: 15
Original Poster
Rep:
Quote:
Originally Posted by
EDDY1
He you tried
Haha, there it goes! LED on the chip lit up and i can see WLAN1 added to ifconfig.
In my network manager tab in the upper right of the screen, however, it says "Wirless Networks (Broadcom BCM4331 802.11a/b/g/n)".
Shouldnt it say "ralink" since its no longer the macintosh's internal broadcom chipset im using?
I did
Code:
ifconfig wlan0 down
to make sure i wasnt using the broadcom chip, but it staill says broadcom.
06-09-2014, 11:15 PM
#30
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
On my system it shows the name of my usb adapter.
What is lsmod saying now?
All times are GMT -5. The time now is 01:54 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News