Difference between revisions of "Custom IP Address"

From MOD Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
<code>
 
<code>
sed -i "s|192.168.51.|192.168.88.|" /etc/network/interfaces /etc/dnsmasq.conf
+
sed -i "s|192.168.51.|192.168.88.|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config
 
</code>
 
</code>

Revision as of 13:26, 25 October 2016

first we need to 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