Difference between revisions of "Custom IP Address"

From MOD Wiki
Jump to navigation Jump to search
Line 1: Line 1:
first we need to mount the FS as read-write:
+
ssh into the mod, then mount the FS as read-write:
  
 
<code>
 
<code>
Line 9: Line 9:
 
<code>
 
<code>
 
sed -i "s|192.168.51.|192.168.88.|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config
 
sed -i "s|192.168.51.|192.168.88.|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config
 +
</code>
 +
 +
on linux you might need this: (local computer, not in the MOD)
 +
 +
<code>
 +
sudo ifconfig usb0 192.168.88.54
 
</code>
 
</code>

Revision as of 13:33, 25 October 2016

ssh into the mod, then mount the FS as read-write:

mount / -o remount,rw

then run:

sed -i "s|192.168.51.|192.168.88.|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config

on linux you might need this: (local computer, not in the MOD)

sudo ifconfig usb0 192.168.88.54