Difference between revisions of "Custom IP Address"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<source lang="bash"> | <source lang="bash"> | ||
− | sed -i "s|192.168.51.1|192.168.52. | + | sed -i "s|192.168.51.1|192.168.52.1|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config |
systemctl disable avahi-daemon | systemctl disable avahi-daemon | ||
systemctl disable avahi-dnsconfd | systemctl disable avahi-dnsconfd |
Revision as of 10:55, 21 March 2017
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.52.1|" /etc/dnsmasq.conf /etc/network/interfaces /etc/ssh/sshd_config
systemctl disable avahi-daemon
systemctl disable avahi-dnsconfd
sync && mount / -o remount,ro && sync && reboot
NOTE: At this point it's not possible to have 2 MODs connected via USB, even if they use different IPs.
If you need 2 MODs, consider using one MOD connected via USB and the other connected via Bluetooth.