add dipswitches page with missing image

This commit is contained in:
Rob Fuller 2014-10-30 23:56:08 -04:00
parent 3bc3bf1766
commit 7ba7d1dcca
3 changed files with 25 additions and 0 deletions

21
dip_switches.md Normal file
View File

@ -0,0 +1,21 @@
# DIP Switches
## What do the DIP Switches do?
The new DIP's on the Mark V are available to use as boot modes. These modes can be easily set from the Web UI, and are labeled 1 through 5 from left to right. Switches 1 and 5 and reserved for system use while 2 through 4 are available to set to whatever you want.
## How do I set the DIP Switches?
You can set the DIP's via clicking on the 'Configuration' tile in the Web UI, then navigating to the Boot Menu tab. You can then place BASH commands in the textboxes next to the combination of switches you would like to have. After saving these, you can boot your pineapple with the same combination set on the DIP's and expect your entered commands to execute on bootup.
![](imgs/missing_image.png)
## What are some examples of this?
Some examples of what to execute can be found below! Be sure to add your favourite commands to the list!
| Boot Mode | Command |
|:------------:|:------------:|
| Auto Capture | `ifconfig wlan1 up; airmon-ng start wlan1; airodump-ng --write /sd/airodump.csv --output-format pcap mon0;` |
| Karmasnarf | ```hostapd_cli -p /var/run/hostapd-phy0 karma_enable; urlsnarf -i br-lan > /sd/infusions/urlsnarf/includes/log/output_`date +%s`.log &``` |

BIN
imgs/missing_image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -7,6 +7,10 @@
* [Internet Connection Sharing](ics.md) * [Internet Connection Sharing](ics.md)
* [Creating Infusions](creating_infusions.md) * [Creating Infusions](creating_infusions.md)
* [Serial UART](serial_uart.md) * [Serial UART](serial_uart.md)
* [DIP Switches](dip_switches.md)
* [PlaceHolder](guide1.md)
* [PlaceHolder](guide1.md)
* [PlaceHolder](guide1.md)
* [PlaceHolder](guide1.md) * [PlaceHolder](guide1.md)
[Video Tutorials]() [Video Tutorials]()