From 99ac28b104708c3dc9959564eb071001ee77a8c1 Mon Sep 17 00:00:00 2001 From: cyoung Date: Fri, 26 Jan 2018 11:15:55 -0500 Subject: [PATCH] Roll back changes. --- image/dhcpd.conf | 8 ++++---- image/interfaces | 6 +----- image/rc.local | 6 +++--- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/image/dhcpd.conf b/image/dhcpd.conf index 504cb696..fc267f2a 100644 --- a/image/dhcpd.conf +++ b/image/dhcpd.conf @@ -107,10 +107,10 @@ log-facility local7; # } #} -subnet 10.26.36.0 netmask 255.255.255.0 { - range 10.26.36.10 10.26.36.50; - option broadcast-address 10.26.36.255; - option routers 10.26.36.1; +subnet 192.168.10.0 netmask 255.255.255.0 { + range 192.168.10.10 192.168.10.50; + option broadcast-address 192.168.10.255; + option routers 192.168.10.1; default-lease-time 12000; max-lease-time 12000; option domain-name "stratux.local"; diff --git a/image/interfaces b/image/interfaces index 1e318e50..100390c5 100644 --- a/image/interfaces +++ b/image/interfaces @@ -8,15 +8,11 @@ iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet static - address 10.26.36.1 + address 192.168.10.1 netmask 255.255.255.0 post-up /usr/sbin/stratux-wifi.sh wireless-power off -auto eth0:0 -iface eth0:0 inet static - address 192.168.10.1 - netmask 255.255.255.0 ##################################################################### ## Custom settings not for novice users!!!!!! diff --git a/image/rc.local b/image/rc.local index 3cc8b9f0..656c8308 100755 --- a/image/rc.local +++ b/image/rc.local @@ -26,8 +26,8 @@ fi /usr/bin/stratux-screen.py start -route add default gw 10.26.36.1 - -screen -d -m -S ahrs_approx /usr/bin/ahrs_approx +# Dangerzone. +#route add default gw 10.26.36.1 +#screen -d -m -S ahrs_approx /usr/bin/ahrs_approx exit 0