I hopefully am posting this in the correct spot. I have been having some problems and doing a bunch of research and asking in other forums and I just can't find the answer!! But here is what the issue is. I am trying to install a driver for my Intel PRO/Wireless 3945 ABG wireless driver to enable packet injection. So I looked and found a tutorial on how to do it which can be found here: http://www.ubuntugeek.com/how-to-ena...less-card.html. Here is what is happening...
The tutorial says to do the following:
1. sudo apt-get install build-essential libssl-dev
Code:
root@GS6X:~# sudo apt-get install build-essential libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libssl-dev is already the newest version.
The following packages were automatically installed and are no longer required:
baobab caribou caribou-antler dnsmasq-base empathy empathy-common
fonts-cantarell gcalctool gnome-backgrounds gnome-dictionary
gnome-disk-utility gnome-font-viewer gnome-icon-theme-extras
gnome-packagekit gnome-packagekit-data gnome-screenshot gnome-system-log
gucharmap libavahi-gobject0 libavahi-ui-gtk3-0 libcaribou-gtk-module
libcaribou-gtk3-module libchamplain-0.12-0 libchamplain-gtk-0.12-0
libgdict-1.0-6 libgdict-common libgdu-gtk0 libgeocode-glib0 libjim0debian2
libmozjs22d libnfc3 libnl-route-3-200 libruby libtelepathy-farstream2
libunique-3.0-0 libwireshark2 libwiretap2 libwsutil2
mobile-broadband-provider-info modemmanager nautilus-sendto-empathy
network-manager network-manager-gnome python-apsw ruby-crack ruby-diff-lcs
ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks
ruby-simplecov ruby-simplecov-html sound-theme-freedesktop telepathy-gabble
telepathy-logger telepathy-salut usb-modeswitch usb-modeswitch-data vino
xulrunner-22.0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
2. wget http://dl.aircrack-ng.org/drivers/ip...022008.tar.bz2
Code:
root@GS6X:~# wget http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2
--2014-03-21 17:23:32-- http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2
Resolving dl.aircrack-ng.org (dl.aircrack-ng.org)... 2001:41d0:1:1b00:87:98:255:2, 87.98.255.2
Connecting to dl.aircrack-ng.org (dl.aircrack-ng.org)|2001:41d0:1:1b00:87:98:255:2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 177591 (173K) [application/x-bzip2]
Saving to: `ipwraw-ng-2.3.4-04022008.tar.bz2'
100%[======================================>] 177,591 261K/s in 0.7s
2014-03-21 17:23:33 (261 KB/s) - `ipwraw-ng-2.3.4-04022008.tar.bz2' saved [177591/177591]
root@GS6X:~#
3. Now I have to extract the folder, which I did using an archive program. And then change the directory to where the folder is.
Code:
root@GS6X:~# cd /root/ipwraw-ng
root@GS6X:~/ipwraw-ng#
4. Now they want me to compile the source, by using the 'make' command and this is where the error happens:
Code:
root@GS6X:~/ipwraw-ng# make
WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.
make -C /lib/modules/3.7-trunk-686-pae/build M=/root/ipwraw-ng modules
make: *** /lib/modules/3.7-trunk-686-pae/build: No such file or directory. Stop.
make: *** [modules] Error 2
root@GS6X:~/ipwraw-ng#
So, it says "WARNING: $SHELL not set to bash. if you experience build errors, try 'make SHELL=/bin/bash". So I tried two different options, one that had a result that was basically the same and the other I had no idea what to do next...
Code:
root@GS6X:~/ipwraw-ng# make SHELL=/bin/bash
make -C /lib/modules/3.7-trunk-686-pae/build M=/root/ipwraw-ng modules
make: *** /lib/modules/3.7-trunk-686-pae/build: No such file or directory. Stop.
make: *** [modules] Error 2
root@GS6X:~/ipwraw-ng#
and...
Code:
root@GS6X:~/ipwraw-ng# 'make SHELL=/bin/bash
>
I have no idea what to do after the > (As you can probably already tell I am new to Kali and new to Linux all together but I need to learn!!)
So I can not continue with the tutorial until I can make this file!!
After doing lots of research the most I could find is to do apt-get update, apt-get upgrade, and apt-get dist-upgrade which I have done hundreds of times. I have even tried reinstalling the OS and when it starts up clikcing the trunk 6.86 pae rather than the linux one. I can't get it and I need it to work!!
Or is there any other drivers or ways of doing this to make it work?
Thanks guys! Hopefully I posted this is the correct spot and please bare with me I am a complete newb to Linux!