How to change the IP and DNS used by USB Armory?

218 views
Skip to first unread message

ptr727

unread,
Feb 28, 2017, 8:43:02 PM2/28/17
to USB armory
Hi, just got my USB Armory, setting it up on Win10.

I could not get the internet sharing working following the Wiki, this doc got me going, and I can now ping any IP:
I suggest the Wiki gets updated to make it clear to enable network sharing, and then add the 10.0.0.2 IP and the 192.168.137.x IP, and then power cycle. 

So my real problem is with routing and DNS, I am on a network that already has 10.x.x.x hosts, including DNS and NTP servers.

Is there a way I change the static IP and DNS server IP's used by the USB Armory in the usbarmory.conf file, or do I have to use ifconfig?
I do not see a resolv.conf, how do I config the DNS server?

Thank you

Andrea Barisani

unread,
Mar 1, 2017, 3:12:02 AM3/1/17
to USB armory
If you are using the standard Debian image on the USB armory you can change the IP address in /etc/network/interfaces, the DNS server is specified in /etc/resolv.conf.

Cheers

ptr727

unread,
Mar 1, 2017, 12:49:11 PM3/1/17
to USB armory
I got it working thank you.

Configure USB Armory emulated USB Ethernet adapter:
Enable connection sharing on primary LAN connection
Sharing will set USB IP Armory to 192.168.137.1/24
Add 10.0.0.2/24 to USB Armory IP
Add 192.168.10.2/24 to USB Armory IP

Configure USB Armory internal IP:
SSH 10.0.0.1 usbarmory / usbarmory
sudo nano /etc/network/interfaces
Set IP to 192.168.10.1 and gateway to 192.168.10.2
sudo nano /etc/resolv.conf
Set nameserver to 192.168.88.1
sudo reboot

Configure USB Armory emulated USB Ethernet adapter:
Remove 10.0.0.2/24 from USB Armory IP

Reply all
Reply to author
Forward
0 new messages