Thursday, March 26, 2015

It's been awhile let's catch up

Lately I have been working with command line Linux through Raspian. I've learned some things. I use the pipe more than Gandalf. if you ls -al on a 2.8in screen (from adafruit) you will want to pipe that to less. More importantly let's talk networking.

Plenty of tutorials out there on getting a Raspberry pi up on a network various ways. I rather enjoy the command line so I simply

sudo vi /etc/wpa_supplicant/wpa_supplicant.conf

move to the bottom and i something like

network =
     {
     ssid="networkname"
     psk="passwordfornetworkname"
     }

esc :wq and if you spelled everything right your in like flynn. If you don't know the wifi name you can scan with

sudo iwlist wlan0 scan

(sudo stands for superuser do I think, what it means is "I made you and I have a hammer above your hard drive so do what the heck I tell you to" in linuxeese. The windows equivalent is only known to bill gates and hackers.)

but what if you don't have the password? Well that is a bit more involved. I don't have the whole process down yet but I'm starting with Aircrack-ng.

you'll need some libraries.

sudo apt-get -y install libssl-dev
sudo apt-get -y install build-essential

not a bad pair to have around anyway. now we need aircrack itself

wget http://download.aircrack-ng.org/aircrack-ng-

in ended up with aircrack-ng-1.2-rc1.tar.gz so that means I have to 

tar -zxvf aircrack-ng-1.2-rcl.tar.gz

makes a folder called aircrack-ng-1.2-rc1 so cd into that and type

make

then go get a sandwich, watch tv... come back later... when you have a prompt again (after a refreshing nap)

make install

you should successfully install aircrack. What to do with it? well we will figure that out in another post.


No comments:

Post a Comment