From charlesreid1

(Created page with "This page has some notes on the Raspberry Pi 3. Note that it's basically exactly the same as the Raspberry Pi 2. =Installing= ==Image== I utilized the image <code>ubuntu-16...")
 
 
Line 16: Line 16:


Anything you want to run on startup should go in /etc/rc.local
Anything you want to run on startup should go in /etc/rc.local
===Wifi On Boot===


If you want to start wifi on boot, you can add the wireless network name and credentials to the <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>
If you want to start wifi on boot, you can add the wireless network name and credentials to the <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>


For more info, see this page: http://charlesreid1.com/wiki/Linux/Wireless
For more info, see this page: http://charlesreid1.com/wiki/Linux/Wireless
===Wifi Sniffing On Boot===
Alternatively, you can turn on wifi sniffing on boot, by putting commands to put your card into monitor mode into the file <code>/etc/rc.local</code>
Here's the sequence I use:
<pre>
ifconfig wlan1 down
iwconfig wlan1 mode monitor
rfkill unblock all # optional
ifconfig wlan1 up
</pre>
This brings the wireless card up in monitor mode, where it does not discard any wireless packets received.
=Flags=
{{PiFlag}}

Latest revision as of 18:34, 25 February 2017

This page has some notes on the Raspberry Pi 3. Note that it's basically exactly the same as the Raspberry Pi 2.

Installing

Image

I utilized the image ubuntu-16.04-preinstalled-server-armhf+raspi3.img from this link: https://wiki.ubuntu.com/ARM/RaspberryPi

Booting

Everything's pretty straightforward, once you've written the Pi image file onto the SD card, you plug it in and you fire it up.

Running

Startup

Anything you want to run on startup should go in /etc/rc.local

Wifi On Boot

If you want to start wifi on boot, you can add the wireless network name and credentials to the /etc/wpa_supplicant/wpa_supplicant.conf

For more info, see this page: http://charlesreid1.com/wiki/Linux/Wireless

Wifi Sniffing On Boot

Alternatively, you can turn on wifi sniffing on boot, by putting commands to put your card into monitor mode into the file /etc/rc.local

Here's the sequence I use:

ifconfig wlan1 down
iwconfig wlan1 mode monitor
rfkill unblock all # optional 
ifconfig wlan1 up

This brings the wireless card up in monitor mode, where it does not discard any wireless packets received.



Flags