Build A MiniPwner - Mayhem Lab
Build A MiniPwner - Mayhem Lab
Mayhem Lab
Open Source Hardware Hacking
Build a MiniPwner
Like the rst version, here are the build instructions for version 2 of the MiniPwner.
TP-Link MR3040
SanDisk 16GB USB drive (or equivalent)
MiniPwner Overlay – found here
Setup two partitions on the USB drive, 1 500 MB partition for swap space and the rest of the space for storage.
This can be done on a Linux system using fdisk or GParted
Partition 1 = 500 MB SWAP
Partition 2 = 15.5GB ext4
Install OpenWrt
1. Download OpenWrt Barrier Breaker from here
2. Boot your TP-Link 3040 and login at http://192.168.0.1 (default credentials are admin/admin)
The Setup
http://www.mayhemlab.net/index.php/minipwner/build-a-minipwner/ 1/3
11/6/2018 Build a MiniPwner | Mayhem Lab
kmod-lib-crc16
kmod-crypto-hash
kmod-fs-ext4
5. Plug the USB drive into the 3G port and reboot the TP-Link
6. Log into the TP-Link via ssh using the user root and the password you just set
7. Modify the /etc/con g/fstab to match the following
12. If everything looks like the image above then you’re good to install any packages you would like
13. The following packages are installed by default on the MiniPwner
libpcap_1.5.3-1_ar71xx
libstdcpp_4.8-linaro-1_ar71xx
libpthread_0.9.33.2-1_ar71xx
zlib_1.2.8-1_ar71xx
libopenssl_1.0.1j-1_ar71xx
libbz2_1.0.6-1_ar71xx
bzip2_1.0.6-1_ar71xx
terminfo_5.9-1_ar71xx
libnet1_1.1.6-1_ar71xx
libpcre_8.35-2_ar71xx
libltdl_2.4-1_ar71xx
libncurses_5.9-1_ar71xx
librt_0.9.33.2-1_ar71xx
libruby_1.9.3-p545-1_ar71xx
wireless-tools_29-5_ar71xx
hostapd-common-old_2014-06-03.1-1_ar71xx
kmod-madwi _3.10.49+r3314-6_ar71xx
ruby_1.9.3-p545-1_ar71xx
uclibcxx_0.2.4-1_ar71xx
libnl_3.2.21-1_ar71xx
libcap_2.24-1_ar71xx
libreadline_6.2-1_ar71xx
libdnet_1.11-2_ar71xx
libdaq_1.1.1-1_ar71xx
libuuid_2.24.1-1_ar71xx
lib _3.0.13-1_ar71xx
http://www.mayhemlab.net/index.php/minipwner/build-a-minipwner/ 2/3
11/6/2018 Build a MiniPwner | Mayhem Lab
python-mini_2.7.3-2_ar71xx
openssl-util_1.0.1j-1_ar71xx
kmod-tun_3.10.49-1_ar71xx
liblzo_2.08-1_ar71xx
libevent2-core_2.0.21-1_ar71xx
libevent2-extra_2.0.21-1_ar71xx
libevent2-openssl_2.0.21-1_ar71xx
libevent2-pthreads_2.0.21-1_ar71xx
libevent2_2.0.21-1_ar71xx
aircrack-ng_1.1-3_ar71xx
elinks_0.11.7-1_ar71xx
ettercap_NG-0.7.3-2_ar71xx
karma_20060124-1_ar71xx
kismet-client_2010-07-R1-2_ar71xx
kismet-drone_2010-07-R1-2_ar71xx
kismet-server_2010-07-R1-2_ar71xx
nbtscan_1.5.1_ar71xx
netcat_0.7.1-2_ar71xx
nmap_6.46-1_ar71xx
openvpn-easy-rsa_2013-01-30-2_ar71xx
openvpn-openssl_2.3.6-1_ar71xx
perl_5.20.0-6_ar71xx
samba36-client_3.6.24-1_ar71xx
samba36-server_3.6.24-1_ar71xx
snort_2.9.2.2-3_ar71xx
tar_1.23-1_ar71xx
tcpdump_4.5.1-4_ar71xx
tmux_1.9a-1_ar71xx
yafc_1.1.1-2_ar71xx
wget_1.16-1_ar71xx
python_2.7.3-2_ar71xx
vim_7.3-1_ar71xx
unzip_6.0-1_ar71xx
14. Upload the MiniPwner Overlay tar le to the /tmp directory
15. Untar the le by issuing tar -xf MiniPwner-Setup_x.x.x.tar (where x.x.x is the version number)
16. Run the setup script by issuing sh setup.sh
17. Make sure the three position switch is in the middle position (WISP) and then reboot the MiniPwner
http://www.mayhemlab.net/index.php/minipwner/build-a-minipwner/ 3/3