LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-05-2014, 11:54 AM   #16
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

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.
 
Old 06-05-2014, 11:56 AM   #17
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://docs.kali.org/general-use/kal...t-repositories
 
Old 06-08-2014, 01:57 PM   #18
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
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/
 
Old 06-08-2014, 02:26 PM   #19
sean.ferguson
LQ Newbie
 
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25

Rep: Reputation: Disabled
did you run apt-get as root?

Code:
sudo apt-get update
Code:
sudo apt-get upgrade
 
Old 06-08-2014, 10:12 PM   #20
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-08-2014, 11:36 PM   #21
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You need to execute this command in a terminal:
Code:
uname -r
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
 
Old 06-08-2014, 11:47 PM   #22
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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.
Old 06-09-2014, 11:33 AM   #23
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-09-2014, 12:59 PM   #24
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Golden_fox View Post
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
 
Old 06-09-2014, 01:32 PM   #25
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Okay the headers have installed. I tried
Code:
sudo modprobe rt3572sta
again but i still get
Code:
FATAL: Module rt3572sta not found.
 
Old 06-09-2014, 04:38 PM   #26
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The rt2800 should be loaded
Post output of lsmod
Also you might try
Quote:
ifup wlan0

Last edited by EDDY1; 06-09-2014 at 04:44 PM.
 
Old 06-09-2014, 05:06 PM   #27
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-09-2014, 05:30 PM   #28
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
He you tried
Quote:
modprobe rt2800usb
 
Old 06-09-2014, 11:05 PM   #29
Golden_fox
LQ Newbie
 
Registered: Jun 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
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.
 
Old 06-09-2014, 11:15 PM   #30
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
On my system it shows the name of my usb adapter.
What is lsmod saying 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
Driver issues with Wireless card (Asus PCE-N13, ie ralink rt2860) in Fedora 12 cander49 Linux - Networking 2 10-28-2010 01:52 PM
Fedora 12, driver issues with Wireless card (Asus PCE-N13, ie ralink rt2860) cander49 Fedora 0 08-24-2010 04:52 PM
ralink technology Wireless card problem Graeme5 Linux - Wireless Networking 2 10-15-2008 08:33 PM
Ralink wireless card wont enable chriswhiteoak Linux - Wireless Networking 2 08-15-2008 03:40 PM
Help Ubuntu with wireless card Ralink italiano40 Linux - Wireless Networking 1 10-14-2006 07:34 AM

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

All times are GMT -5. The time now is 01:54 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