Difference between revisions of "USB armory"

From YobiWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
* [https://github.com/inversepath/usbarmory HW/SW source]
 
* [https://github.com/inversepath/usbarmory HW/SW source]
 
* [https://github.com/inversepath/u-boot-usbarmory U-Boot]
 
* [https://github.com/inversepath/u-boot-usbarmory U-Boot]
  +
* [http://dev.inversepath.com/download/usbarmory/ Initial SDcard image notes]
  +
 
=Quick setup=
 
=Quick setup=
 
Set manual ip to usb0: 10.0.0.2, no routing, no DNS, via NotworkManager or:
 
Set manual ip to usb0: 10.0.0.2, no routing, no DNS, via NotworkManager or:

Revision as of 22:29, 5 March 2015

my personal notes about USB armory

Hardware

Links

Quick setup

Set manual ip to usb0: 10.0.0.2, no routing, no DNS, via NotworkManager or:

/sbin/ip link set usb0 up
/sbin/ip addr add 10.0.0.2/24 dev usb0

Give connectivity to USB armory

/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.1/32 -o wlan0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

Connect

ssh usbarmory@10.0.0.1 # pwd usbarmory

Setup time (required at each boot if you don't use a daemon)

ssh usbarmory sudo date --set $(date +@%s)