Change default IP to 192.168.10.1 and enable wifi by default.
authorRISCi_ATOM <bob@bobcall.me>
Mon, 30 May 2016 23:14:37 +0000 (23:14 +0000)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 30 May 2016 23:14:37 +0000 (23:14 +0000)
trunk/package/base-files/files/etc/config/system
trunk/package/base-files/files/etc/preinit
trunk/package/kernel/mac80211/files/lib/wifi/mac80211.sh

index af68efabab1dd461221c7e59cc5edd90d44f6b19..761e7d2a37b0dcc0ec479d3d03ab85a86fedca4c 100644 (file)
@@ -4,9 +4,9 @@ config system
        option ttylogin 0
 
 config timeserver ntp
-       list server     0.librecmc.pool.ntp.org
-       list server     1.librecmc.pool.ntp.org
-       list server     2.librecmc.pool.ntp.org
-       list server     3.librecmc.pool.ntp.org
+       list server     0.pool.ntp.org
+       list server     1.pool.ntp.org
+       list server     2.pool.ntp.org
+       list server     3.pool.ntp.org
        option enabled 1
        option enable_server 0
index 181b332f146912b432c6f5c6dedb77f86b01493d..6f72af7617f33391cd1607e2d69e7007e0299bf8 100755 (executable)
@@ -7,13 +7,13 @@
 export PATH="%PATH%"
 
 pi_ifname=
-pi_ip=192.168.1.1
-pi_broadcast=192.168.1.255
+pi_ip=192.168.10.1
+pi_broadcast=192.168.10.255
 pi_netmask=255.255.255.0
 
 fs_failsafe_ifname=
-fs_failsafe_ip=192.168.1.1
-fs_failsafe_broadcast=192.168.1.255
+fs_failsafe_ip=192.168.10.1
+fs_failsafe_broadcast=192.168.10.255
 fs_failsafe_netmask=255.255.255.0
 
 fs_failsafe_wait_timeout=2
index 546edf9d1b7c1054069a3e2a3dcdd09c0305ced9..40929e29c10f973b2b7b894c172fc1c531213f0e 100644 (file)
@@ -117,14 +117,15 @@ config wifi-device  radio$devidx
 $dev_id
 $ht_capab
        # REMOVE THIS LINE TO ENABLE WIFI:
-       option disabled 1
+       option disabled 0
 
 config wifi-iface
        option device   radio$devidx
        option network  lan
        option mode     ap
        option ssid     libreCMC
-       option encryption none
+       option encryption 'psk2'
+       option key 'librecmc'
 
 EOF
        devidx=$(($devidx + 1))