Difference between revisions of "USB armory"
Jump to navigation
Jump to search
m (→Quick setup) |
m (→Quick setup) |
||
Line 29: | Line 29: | ||
Or via [https://code.google.com/p/shellinabox/ ShellInABox]: https://10.0.0.1:4200/ |
Or via [https://code.google.com/p/shellinabox/ ShellInABox]: https://10.0.0.1:4200/ |
||
− | + | Quick setup time (in case ntpdate couldn't catch up at boot) |
|
ssh usbarmory sudo date --set $(date +@%s) |
ssh usbarmory sudo date --set $(date +@%s) |
||
Free the LED |
Free the LED |
||
+ | ssh usbarmory@10.0.0.1 sudo sed -i '/^ledtrig_heartbeat/d' /etc/modules |
||
− | ledtrig_heartbeat module in |
||
− | /etc/modules. |
||
+ | Quick backup of the most important things (~9Mb) |
||
− | Initial backup |
||
− | ssh -n usbarmory@10.0.0.1 'sudo tar -cpf - |
+ | ssh -n usbarmory@10.0.0.1 'sudo tar -cpf - /etc /root /home /var' |gzip > backup-$(date "+%Y%m%d-%H%M%S").tgz |
Explore image |
Explore image |
Revision as of 00:02, 6 March 2015
my personal notes about USB armory
Hardware
- Freescale i.MX53 ARM® Cortex™-A8 800MHz
- 512MB DDR3 RAM
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
Or via ShellInABox: https://10.0.0.1:4200/
Quick setup time (in case ntpdate couldn't catch up at boot)
ssh usbarmory sudo date --set $(date +@%s)
Free the LED
ssh usbarmory@10.0.0.1 sudo sed -i '/^ledtrig_heartbeat/d' /etc/modules
Quick backup of the most important things (~9Mb)
ssh -n usbarmory@10.0.0.1 'sudo tar -cpf - /etc /root /home /var' |gzip > backup-$(date "+%Y%m%d-%H%M%S").tgz
Explore image
mkdir mnt sudo mount -o loop,offset=0x500000,ro usbarmory-debian_wheezy-base_image-20150302.raw mnt