Difference between revisions of "Custom IP Address"

From MOD Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
ssh into the mod, then mount the FS as read-write:
 
ssh into the mod, then mount the FS as read-write:
  
<code>
+
<source lang="bash">
 
mount / -o remount,rw
 
mount / -o remount,rw
</code>
+
</source>
  
 
then run:
 
then run:

Revision as of 12:40, 7 November 2016

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

mount / -o remount,rw

then run:

sed -i "s|192.168.51.1|192.168.51.2|" /etc/network/interfaces /etc/ssh/sshd_config
sed -i "s|modduo|modduo2|" /etc/hostname /etc/hosts
sync && mount / -o remount,ro && reboot