Slideshow and module by 888 poker review

Nexx 3020 Basic MiniPwner

The Nexx 3020 has some aspects that make it a good MiniPwner platform:

  • It has 8 Meg of flash, enough room for basic packages like fdisk and netcat
  • It has two ethernet ports, so it can be used as an in-line sniffer, among other things
Basic Build Instructions as follows:
  1. Download the OpenWrt firmware http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7620/openwrt-15.05-ramips-mt7620-wt3020-8M-squashfs-factory.bin 
  2. Connect your computer to the router. Your computer should get a dhcp address from the router
  3. Navigate to http://192.168.8.1 on the router (the third octet may be different, check your DHCP address). You will get the NExx login screen. Login as admin/admin
  4. Click on "Advanced" in the upper right
  5. Click on "System Tools"
  6. Click "Upgrade Firmware"
  7. Browse to the openwrt-15.05-ramips-mt7620-wt3020-8M-squashfs-factory.bin you downloaded
  8. If you get an error try renaming the file to a shorter name with no special characters and try again
  9. The router should reboot itself after the firmware application is done
  10. Now set your laptops ethernet interface to 192.168.1.111 (or something else in the 192.168.1.x range except 1.1)
  11. Telnet to 192.168.1.1.  You should see the Openwrt terminal interface
  12. Format a USB thumb drive so that it has a swap partition and an ext3 or ext4 partition
  13. Follow the instructions at https://wiki.openwrt.org/doc/howto/extroot to mount the USB drive and pivot the OpenWrt root to it.
  14. Install additional packages (like tcpdump and netcat) using opkg install <packagename>

Password Rest

Here's the steps to reset the root password on your MiniPwner.

 

  1. Power off the MiniPwner
  2. Using a paper-clip (or other small object) press the reset button
  3. Power on the MiniPwner
  4. Release the reset button after 8 seconds
  5. Wait for the MiniPwner to finish booting (about 30 seconds)
  6. If it works, only the power LED will be lit
    • If more than the power LED is lit go back to step 1
  7. Telnet to the MiniPwner at 192.168.1.1
  8. Enter: mount_root
  9. Enter: passwd
  10. Type a new password in twice
  11. Enter: reboot
  12. When the MiniPwner reboots use the new password to login

War Walking with Kismet

The MiniPwner comes with a script to help you start, stop and monitor the status of Kismet.  The script can be found at /minipwner/kismet/kismet.sh in the MiniPwner.  The easiest way to start Kismet from a command prompt is to issue the following command:

/minipwner/kismet/kismet.sh start &

This will start Kismet and return you to a command prompt so you can logout and take the MiniPwner for a war walk.

Of course there are times you want Kismet to start when the system boots.  There are a few different ways to accomplish this, however one of the more reliable ways is to setup a cron job.  If you're not familiar with crontab, it's basic function is to run a command on a predetermined schedule.  For our example we'll setup a cron job to try and start Kismet every minute.  The quickest way is to issue the following command:

echo " * * * * * /root/kismetstart.sh start & > /dev/null 2>&1" >> /etc/crontabs/root

The above command is echoing (or putting) the text  * * * * * /root/kismetstart.sh start & > /dev/null 2>&1 into the /etc/conrtabs/root file.  This file is used by crontab to know what to run on what interval.  And don't worry, if Kismet is already started nothing bad will happen.

If you would like to learn more about crontab and how to use it, check out this reference.

 

I hope this guide helps.

- Michael

 

2011. © 2014 Kevin Bong / Michael Vieau
Auto Insurance Quotes