forked from freifunk-franken/firmware
leerzeilen entfernt, fehlende shebangs hinzugefügt
This commit is contained in:
parent
329b24af32
commit
5d907840f7
|
@ -25,4 +25,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -16,4 +16,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -18,4 +18,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -15,4 +15,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -16,4 +16,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -17,4 +17,4 @@ board_postbuild() {
|
|||
|
||||
board_clean() {
|
||||
/bin/rm -rf $target bin/*$machine*
|
||||
}
|
||||
}
|
|
@ -9,4 +9,4 @@ config 'mesh' 'bat0'
|
|||
option 'log_level'
|
||||
option 'orig_interval'
|
||||
option 'vis_mode'
|
||||
option 'bridge_loop_avoidance' '0'
|
||||
option 'bridge_loop_avoidance' '0'
|
|
@ -1 +1 @@
|
|||
config model 'model'
|
||||
config model 'model'
|
|
@ -21,4 +21,4 @@ config 'crawl'
|
|||
option 'update_hash' '1'
|
||||
|
||||
config 'netmon'
|
||||
option 'autoadd_ipv6_address' '1'
|
||||
option 'autoadd_ipv6_address' '1'
|
|
@ -30,4 +30,4 @@ config dhcp lan
|
|||
|
||||
config dhcp wan
|
||||
option interface wan
|
||||
option ignore 1
|
||||
option ignore 1
|
|
@ -1,4 +1,4 @@
|
|||
config dropbear
|
||||
option PasswordAuth 'on'
|
||||
option Port '22'
|
||||
# option BannerFile '/etc/banner'
|
||||
# option BannerFile '/etc/banner'
|
|
@ -100,4 +100,4 @@ config include
|
|||
# option src_dport 80
|
||||
# option dest_ip 194.25.2.129
|
||||
# option dest_port 120
|
||||
# option proto tcp
|
||||
# option proto tcp
|
|
@ -24,4 +24,4 @@ config interface 'ethmesh'
|
|||
|
||||
config interface 'bat'
|
||||
option ifname 'bat0'
|
||||
option mtu '1500'
|
||||
option mtu '1500'
|
|
@ -5,4 +5,4 @@ config 'script'
|
|||
option 'data_file' '/tmp/crawldata/node.data'
|
||||
|
||||
config 'network'
|
||||
option 'mesh_interface' 'br-mesh'
|
||||
option 'mesh_interface' 'br-mesh'
|
|
@ -48,7 +48,6 @@ config reclassify
|
|||
option mark "!Bulk"
|
||||
option tcpflags "ACK"
|
||||
|
||||
|
||||
# Don't change the stuff below unless you
|
||||
# really know what it means :)
|
||||
|
||||
|
@ -56,7 +55,6 @@ config classgroup "Default"
|
|||
option classes "Priority Express Normal Bulk"
|
||||
option default "Normal"
|
||||
|
||||
|
||||
config class "Priority"
|
||||
option packetsize 400
|
||||
option maxsize 400
|
||||
|
@ -83,4 +81,4 @@ config class "Normal_down"
|
|||
|
||||
config class "Bulk"
|
||||
option avgrate 1
|
||||
option packetdelay 200
|
||||
option packetdelay 200
|
|
@ -8,5 +8,4 @@ config location 'location'
|
|||
config contact 'contact'
|
||||
option name ''
|
||||
option email ''
|
||||
option telephone ''
|
||||
|
||||
option telephone ''
|
|
@ -26,4 +26,4 @@ config 'led' 'led_vpn_blue'
|
|||
option 'dev' '${VPN_PROJECT}VPN'
|
||||
option 'mode' 'link'
|
||||
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -1,2 +1,2 @@
|
|||
config timeserver
|
||||
option hostname time.fu-berlin.de
|
||||
option hostname time.fu-berlin.de
|
|
@ -22,4 +22,4 @@ config wifi-iface
|
|||
option ifname w2ap
|
||||
option mode ap
|
||||
option ssid '${ESSID_AP}'
|
||||
option 'encryption' 'none'
|
||||
option 'encryption' 'none'
|
|
@ -171,4 +171,4 @@ fi
|
|||
|
||||
if [ "$SCRIPT_SYNC_HOSTNAME" = "1" ]; then
|
||||
sync_hostname
|
||||
fi
|
||||
fi
|
|
@ -3,5 +3,4 @@
|
|||
#15 01 * * * rdate -s time.fu-berlin.de > /dev/null
|
||||
|
||||
#Enable zapp script if you are running a gateway
|
||||
#*/1 * * * * /etc/init.d/zapp
|
||||
|
||||
#*/1 * * * * /etc/init.d/zapp
|
|
@ -51,4 +51,4 @@ print_definitions() {
|
|||
}
|
||||
|
||||
# program
|
||||
print_definitions
|
||||
print_definitions
|
|
@ -91,4 +91,4 @@ else
|
|||
fi
|
||||
|
||||
exit 0
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -11,4 +11,4 @@ iptables -A INPUT -i $WAN -j REJECT
|
|||
|
||||
# Limit ssh to 3 new connections per 60 seconds
|
||||
/usr/sbin/ip6tables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name dropbear
|
||||
/usr/sbin/ip6tables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 --rttl --name dropbear -j DROP
|
||||
/usr/sbin/ip6tables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 --rttl --name dropbear -j DROP
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
wget -T15 http://[`uci get configurator.@api[0].ipv6_address`%`uci get configurator.@api[0].ipv6_interface`]/api_nodewatcher.php?section=get_hostnames_and_mac -O - | grep -v -e "^..-..-" | sort -u > /tmp/bat-hosts
|
||||
wget -T15 http://[`uci get configurator.@api[0].ipv6_address`%`uci get configurator.@api[0].ipv6_interface`]/api_nodewatcher.php?section=get_hostnames_and_mac -O - | grep -v -e "^..-..-" | sort -u > /tmp/bat-hosts
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
|
@ -99,4 +100,4 @@ if [[ -n "$ROUTERMAC" ]]; then
|
|||
ifconfig br-mesh up
|
||||
/etc/init.d/network restart
|
||||
fi
|
||||
fi
|
||||
fi
|
|
@ -215,4 +215,4 @@ delete_log
|
|||
err "`date`: Generate actual status data"
|
||||
crawl
|
||||
|
||||
exit 0
|
||||
exit 0
|
|
@ -1,3 +1,3 @@
|
|||
root:$1$OmvoKpjK$e.lPVnBxsrAbNV4EoH3xb1:0:0:root:/root:/bin/ash
|
||||
nobody:*:65534:65534:nobody:/var:/bin/false
|
||||
daemon:*:65534:65534:daemon:/var:/bin/false
|
||||
daemon:*:65534:65534:daemon:/var:/bin/false
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Put your custom commands here that should be executed once
|
||||
# the system init finished. By default this file does nothing.
|
||||
|
||||
|
@ -38,4 +39,4 @@ httpd -h /tmp/crawldata
|
|||
|
||||
touch /tmp/started
|
||||
|
||||
exit 0
|
||||
exit 0
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
|
||||
|
@ -22,4 +22,4 @@ DEV=$1
|
|||
SEDDEV=`brctl showstp $DEV | egrep '\([0-9]\)' | sed -e "s/(//;s/)//" | awk '{ print "s/^ "$2"/"$1"/;" }'`
|
||||
SEDMAC=`cat /etc/bat-hosts | sed -e "s/^/s\//;s/$/\/;/;s/ /\//"`
|
||||
|
||||
brctl showmacs $DEV | sed -e "$SEDMAC" | sed -e "$SEDDEV"
|
||||
brctl showmacs $DEV | sed -e "$SEDMAC" | sed -e "$SEDDEV"
|
|
@ -68,6 +68,4 @@ net.ipv6.conf.all.dad_transmits = 3
|
|||
|
||||
# How many global unicast IPv6 addresses can be assigned to each interface?
|
||||
net.ipv6.conf.default.max_addresses = 0
|
||||
net.ipv6.conf.all.max_addresses = 0
|
||||
|
||||
|
||||
net.ipv6.conf.all.max_addresses = 0
|
|
@ -1 +1 @@
|
|||
/etc/shadow
|
||||
/etc/shadow
|
|
@ -24,4 +24,4 @@ else
|
|||
[Nn]|* ) echo -ne "\nAborting firmware upgrade.\n\n"; rm -f ${FILE}*; exit 0;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
fi
|
|
@ -170,5 +170,4 @@ fsm_transition() {
|
|||
# program
|
||||
fsm_load
|
||||
fsm_transition
|
||||
fsm_save
|
||||
|
||||
fsm_save
|
|
@ -27,4 +27,4 @@ config 'interface' 'ethmesh'
|
|||
option proto 'batadv'
|
||||
option mesh 'bat0'
|
||||
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -52,4 +52,4 @@ config wifi-iface 'w5ap'
|
|||
option ssid '${ESSID_AP}'
|
||||
option 'encryption' 'none'
|
||||
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth1
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="0t 1 2"
|
||||
|
@ -7,4 +6,4 @@ BATMAN_PORTS="0t 3 4"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap w5ap"
|
||||
ETHMESHMAC=
|
||||
ROUTERMAC=w2mesh
|
||||
ROUTERMAC=w2mesh
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="0t 4 5"
|
||||
|
@ -7,4 +6,4 @@ BATMAN_PORTS="0t 2 3"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap w5ap"
|
||||
ETHMESHMAC=
|
||||
ROUTERMAC=w5mesh
|
||||
ROUTERMAC=w5mesh
|
|
@ -27,4 +27,4 @@ config 'interface' 'ethmesh'
|
|||
option proto 'batadv'
|
||||
option mesh 'bat0'
|
||||
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -52,4 +52,4 @@ config wifi-iface 'w2ap'
|
|||
option ssid '${ESSID_AP}'
|
||||
option 'encryption' 'none'
|
||||
|
||||
# vim: noexpandtab
|
||||
# vim: noexpandtab
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="0t 4 5"
|
||||
|
@ -7,4 +6,4 @@ BATMAN_PORTS="0t 2 3"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap w5ap"
|
||||
ETHMESHMAC=
|
||||
ROUTERMAC=w5mesh
|
||||
ROUTERMAC=w5mesh
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="3 4 5t"
|
||||
|
@ -7,4 +6,4 @@ BATMAN_PORTS="1 2 5t"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=w2ap
|
||||
ROUTERMAC=eth0
|
||||
ROUTERMAC=eth0
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="1 2 6t"
|
||||
|
@ -7,4 +6,4 @@ BATMAN_PORTS="3 4 6t"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=
|
||||
ROUTERMAC=eth1
|
||||
ROUTERMAC=eth1
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth1
|
||||
# WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
|
@ -8,4 +7,4 @@ BATMAN_PORTS="2 3 0t"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=eth1
|
||||
ROUTERMAC=w2mesh
|
||||
ROUTERMAC=w2mesh
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth1
|
||||
# WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
|
@ -8,4 +7,4 @@ BATMAN_PORTS="3 4 0t"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=eth1
|
||||
ROUTERMAC=w2mesh
|
||||
ROUTERMAC=w2mesh
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
WANDEV=eth1
|
||||
# WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
|
@ -8,4 +7,4 @@ BATMAN_PORTS="2 3 0t"
|
|||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=eth1
|
||||
ROUTERMAC=w2mesh
|
||||
ROUTERMAC=w2mesh
|
|
@ -32,7 +32,7 @@ index 0000000..57d8491
|
|||
+Using this option wrongly will break your mesh network, use this option
|
||||
+wisely and at your own risk!
|
||||
+
|
||||
+Signed-off-by: Linus Lüssing <linus.luessing@web.de>
|
||||
+Signed-off-by: Linus L<EFBFBD>ssing <linus.luessing@web.de>
|
||||
+---
|
||||
+ hard-interface.c | 2 ++
|
||||
+ send.c | 4 +++
|
||||
|
@ -79,7 +79,7 @@ index 0000000..57d8491
|
|||
+
|
||||
++What: /sys/class/net/<iface>/batman-adv/no_rebroadcast
|
||||
++Date: Sep 2013
|
||||
++Contact: Linus Lüssing <linus.luessing@web.de>
|
||||
++Contact: Linus L<EFBFBD>ssing <linus.luessing@web.de>
|
||||
++Description:
|
||||
++ With this option set incoming multicast payload frames on
|
||||
++ <iface> are not being rebroadcasted on <iface> again. This
|
||||
|
@ -192,4 +192,3 @@ index 0000000..57d8491
|
|||
+
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
|
|
|
@ -3,4 +3,4 @@ src-link routing PATH/routing
|
|||
src-link tunneldigger PATH/tunneldigger
|
||||
src-link fastd PATH/fastd
|
||||
src-link libremap PATH/libremap
|
||||
src-link packagesol PATH/ffol
|
||||
src-link packagesol PATH/ffol
|
|
@ -10,4 +10,4 @@ Index: package/base-files/files/sbin/sysupgrade
|
|||
+ /etc/sysupgrade.conf 2>/dev/null) \
|
||||
-type f 2>/dev/null;
|
||||
opkg list-changed-conffiles ) | sort -u > "$file"
|
||||
return 0
|
||||
return 0
|
|
@ -1,9 +0,0 @@
|
|||
BATMAN_CHANNEL=6
|
||||
BATMAN_CHANNEL_5GHZ=36
|
||||
ESSID_AP=oldenburg.freifunk.net
|
||||
ESSID_MESH=batman.oldenburg.freifunk.net
|
||||
BSSID_MESH=02:CA:FF:EE:BA:BE
|
||||
NETMON_IP=fe80::201:2ff:fe03:405
|
||||
VPN_PROJECT=ffol
|
||||
NTPD_IP=fe80::201:2ff:fe03:405%br-mesh
|
||||
UPGRADE_PATH=http://firmware.freifunk-ol.de/latest/upgrade/
|
|
@ -48,4 +48,4 @@ define Package/libwlocate/install
|
|||
$(CP) $(PKG_BUILD_DIR)/libwlocate.so $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libwlocate))
|
||||
$(eval $(call BuildPackage,libwlocate))
|
Loading…
Reference in New Issue