forked from freifunk-franken/firmware
there's no rampips-support in backfire
This commit is contained in:
parent
b08e07e9ca
commit
ada76d5db8
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +0,0 @@
|
|||
config 'mesh' 'bat0'
|
||||
option 'interfaces' 'wlan0'
|
||||
option 'orig_interval'
|
||||
option 'log_level'
|
||||
option 'aggregated_ogms'
|
||||
option 'bonding'
|
||||
option 'fragmentation'
|
||||
option 'vis_mode'
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
config 'interface' 'loopback'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
|
||||
config 'interface' 'wlanmesh'
|
||||
option 'ifname' 'wlan0'
|
||||
option 'mtu' '1527'
|
||||
|
||||
|
||||
config 'interface' 'mesh'
|
||||
option 'type' 'bridge'
|
||||
option 'ifname' 'eth0.1 bat0 tap0'
|
||||
option 'stp' '1'
|
||||
|
||||
config 'interface' 'wan'
|
||||
option 'ifname' 'eth0.2'
|
||||
option 'proto' 'dhcp'
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
config wifi-device radio0
|
||||
option type mac80211
|
||||
option channel 6
|
||||
option macaddr 10:00:00:00:71:07
|
||||
option hwmode 11ng
|
||||
option htmode HT20
|
||||
list ht_capab GF
|
||||
list ht_capab SHORT-GI-20
|
||||
list ht_capab SHORT-GI-40
|
||||
list ht_capab TX-STBC
|
||||
list ht_capab RX-STBC1
|
||||
|
||||
config 'wifi-iface'
|
||||
option 'device' 'radio0'
|
||||
option 'mode' 'adhoc'
|
||||
option 'ssid' 'batman.oldenburg.freifunk.net'
|
||||
option 'bssid' '02:CA:FF:EE:BA:BE'
|
||||
option 'encryption' 'none'
|
||||
option 'hidden' '1'
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# Put your custom commands here that should be executed once
|
||||
# the system init finished. By default this file does nothing.
|
||||
|
||||
#Set Mac-Addr of wifi interface if not right
|
||||
HARDWARE_MACADDR=`cat /sys/class/ieee80211/phy0/macaddress`
|
||||
SOFTWARE_MACADDR=`uci get wireless.@wifi-device[0].macaddr`
|
||||
|
||||
if [[ "$HARDWARE_MACADDR" != "$SOFTWARE_MACADDR" ]]; then
|
||||
uci set wireless.@wifi-device[0].macaddr=$HARDWARE_MACADDR
|
||||
uci commit
|
||||
reboot
|
||||
fi
|
||||
|
||||
ifconfig br-mesh down
|
||||
ifconfig br-mesh up
|
||||
|
||||
ifdown lan
|
||||
ifup lan
|
||||
|
||||
# Starting NTP-Client Daemon
|
||||
ntpd -p "fe80::201:2ff:fe03:405%br-mesh"
|
||||
|
||||
chown root.root /etc/crontabs/root
|
||||
/etc/init.d/cron stop
|
||||
/etc/init.d/cron start
|
||||
|
||||
sh /etc/firewall.user
|
||||
|
||||
/etc/init.d/qos disable
|
||||
/etc/init.d/qos stop
|
||||
|
||||
#busybox-httpd for crawldata
|
||||
mkdir /tmp/crawldata
|
||||
httpd -h /tmp/crawldata
|
||||
|
||||
sh /etc/configurator.sh
|
||||
|
||||
exit 0
|
|
@ -1,8 +0,0 @@
|
|||
config 'mesh' 'bat0'
|
||||
option 'interfaces'
|
||||
option 'orig_interval'
|
||||
option 'log_level'
|
||||
option 'aggregated_ogms'
|
||||
option 'bonding'
|
||||
option 'fragmentation'
|
||||
option 'vis_mode'
|
|
@ -1,18 +0,0 @@
|
|||
|
||||
config 'interface' 'loopback'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
|
||||
|
||||
|
||||
config 'interface' 'mesh'
|
||||
option 'type' 'bridge'
|
||||
option 'ifname' 'wlan0 tap0'
|
||||
option 'stp' '1'
|
||||
|
||||
config 'interface' 'wan'
|
||||
option 'ifname' 'eth0.2'
|
||||
option 'proto' 'dhcp'
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
config wifi-device radio0
|
||||
option type mac80211
|
||||
option channel 6
|
||||
option macaddr 10:00:00:00:71:07
|
||||
option hwmode 11ng
|
||||
option htmode HT20
|
||||
list ht_capab GF
|
||||
list ht_capab SHORT-GI-20
|
||||
list ht_capab SHORT-GI-40
|
||||
list ht_capab TX-STBC
|
||||
list ht_capab RX-STBC1
|
||||
|
||||
|
||||
config 'wifi-iface'
|
||||
option 'device' 'radio0'
|
||||
option 'mode' 'ap'
|
||||
option 'ssid' 'oldenburg.freifunk.net'
|
||||
option 'encryption' 'none'
|
|
@ -1,38 +0,0 @@
|
|||
# Put your custom commands here that should be executed once
|
||||
# the system init finished. By default this file does nothing.
|
||||
|
||||
#Set Mac-Addr of wifi interface if not right
|
||||
HARDWARE_MACADDR=`cat /sys/class/ieee80211/phy0/macaddress`
|
||||
SOFTWARE_MACADDR=`uci get wireless.@wifi-device[0].macaddr`
|
||||
|
||||
if [[ "$HARDWARE_MACADDR" != "$SOFTWARE_MACADDR" ]]; then
|
||||
uci set wireless.@wifi-device[0].macaddr=$HARDWARE_MACADDR
|
||||
uci commit
|
||||
reboot
|
||||
fi
|
||||
|
||||
ifconfig br-mesh down
|
||||
ifconfig br-mesh up
|
||||
|
||||
ifdown lan
|
||||
ifup lan
|
||||
|
||||
# Starting NTP-Client Daemon
|
||||
ntpd -p "fe80::201:2ff:fe03:405%br-mesh"
|
||||
|
||||
chown root.root /etc/crontabs/root
|
||||
/etc/init.d/cron stop
|
||||
/etc/init.d/cron start
|
||||
|
||||
sh /etc/firewall.user
|
||||
|
||||
/etc/init.d/qos disable
|
||||
/etc/init.d/qos stop
|
||||
|
||||
#busybox-httpd for crawldata
|
||||
mkdir /tmp/crawldata
|
||||
httpd -h /tmp/crawldata
|
||||
|
||||
sh /etc/configurator.sh
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue