From 27d806309c1dd7184de24641f359d4ff57376d58 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Wed, 19 Jan 2011 01:06:09 +0100 Subject: * deleted static banner file diff --git a/files/etc/banner b/files/etc/banner deleted file mode 100644 index f4163e1..0000000 --- a/files/etc/banner +++ /dev/null @@ -1,13 +0,0 @@ -################################################################# -# ______ _ __ _ ___ -# | ___| (_)/ _| | | |_ | -# | |_ _ __ ___ _| |_ _ _ _ __ | | __ | | ___ _ __ __ _ -# | _| '__/ _ \ | _| | | | '_ \| |/ / | |/ _ \ '_ \ / _' | -# | | | | | __/ | | | |_| | | | | < /\__/ / __/ | | | (_| | -# \_| |_| \___|_|_| \__,_|_| |_|_|\_\ \____/ \___|_| |_|\__,_| -# -# Basiert auf OpenWRT backfire und enthält OpenVPN -# * OpenWRT -# * IPv6 -# * Batman-ADV -################################################################# -- cgit v0.10.1 From 95f55f93bc351917e5ca131c2d3101f5cd17cb18 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Wed, 19 Jan 2011 12:29:29 +0100 Subject: Add Roadmap (Martin,Micha) diff --git a/ROADMAP b/ROADMAP new file mode 100644 index 0000000..511ec65 --- /dev/null +++ b/ROADMAP @@ -0,0 +1,23 @@ +Roadmap + +v0.1 +-> Erste Alpha, welche die Basis Funktionalität unterstützt +-> B.A.T.N.A.N.-ADV Mesh +-> AP-Mode Interface für User +-> Mesh-Interface für Batman +-> Gateway Mode: + - DHCP Server + - Batman Gateway Mode +-> Client Mode +-> Manuelles Konfigruationsscript + +v0.2 +-> Zum Testen in der Saalstr +-> Splash Screen + +v0.3 +-> Openvpn + +v0.4 +-> Vnet-Support +-> Openvpn Autoconfig Openvpn -- cgit v0.10.1 From 95e81df65740a516a9d8c8e1d3e4471548a76b33 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Thu, 20 Jan 2011 21:09:33 +0100 Subject: uci dhcp config added diff --git a/files/sbin/setup_router b/files/sbin/setup_router index ed35dd5..469175f 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -10,12 +10,21 @@ if [[ $router = "j" ]] read ipv4_adress uci set network.mesh.ipaddr=$ipv4_adress uci set network.mesh.proto=static - uci set network.mesh.netmask=255.255.0.0 + uci set network.mesh.netmask=255.0.0.0 + uci set dhcp.mesh=dhcp + uci set dhcp.mesh.start=2 + uci set dhcp.mesh.limit=254 + uci set dhcp.mesh.leasetime=12h + uci set dhcp.mesh.interface=mesh + uci commit dhcp else # Act as a node only + uci del dhcp.mesh + uci commit dhcp uci del network.mesh.ipaddr uci del network.mesh.proto uci del network.mesh.netmask + uci commit network echo "Der Router wird als normaler Node konfiguriert" echo -- cgit v0.10.1 From ae85dd945f35239948755ec86e5c682ea8bbeebd Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Thu, 20 Jan 2011 22:17:30 +0100 Subject: * Added /etc/config/system file diff --git a/files/etc/config/system b/files/etc/config/system new file mode 100644 index 0000000..47faa3c --- /dev/null +++ b/files/etc/config/system @@ -0,0 +1,17 @@ +config system + option hostname OpenWrt + option timezone UTC + +config button + option button reset + option action released + option handler "logger reboot" + option min 0 + option max 4 + +config button + option button reset + option action released + option handler "logger factory default" + option min 5 + option max 30 -- cgit v0.10.1 From 0e2380b82e4ee27d9708a19f7cea8c2521be0f77 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Thu, 20 Jan 2011 22:25:40 +0100 Subject: * Added default authorized ssh keys (darkeye + egon0) becasue we want to have the world domination diff --git a/files/etc/dropbear/authorized_keys b/files/etc/dropbear/authorized_keys new file mode 100644 index 0000000..7bfac21 --- /dev/null +++ b/files/etc/dropbear/authorized_keys @@ -0,0 +1,2 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== -- cgit v0.10.1 From a456471c03aa084f5683b611076ec94736055cd7 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Thu, 20 Jan 2011 22:25:43 +0100 Subject: Change netmask to 255.255.0.0 diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 469175f..460922b 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -10,7 +10,7 @@ if [[ $router = "j" ]] read ipv4_adress uci set network.mesh.ipaddr=$ipv4_adress uci set network.mesh.proto=static - uci set network.mesh.netmask=255.0.0.0 + uci set network.mesh.netmask=255.255.0.0 uci set dhcp.mesh=dhcp uci set dhcp.mesh.start=2 uci set dhcp.mesh.limit=254 -- cgit v0.10.1 From a3a804d7d16e8b15d41fbda91ac088cfa471f8a1 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Fri, 21 Jan 2011 01:19:23 +0100 Subject: fixed bug (ath0/ath1 in batman-adv) diff --git a/files/etc/config/batman-adv b/files/etc/config/batman-adv index 383e31f..374e4b6 100644 --- a/files/etc/config/batman-adv +++ b/files/etc/config/batman-adv @@ -1,5 +1,5 @@ config 'mesh' 'bat0' - option 'interfaces' 'ath1' + option 'interfaces' 'ath0' option 'orig_interval' option 'log_level' option 'aggregated_ogms' diff --git a/files/etc/config/firewall b/files/etc/config/firewall new file mode 100644 index 0000000..9175a06 --- /dev/null +++ b/files/etc/config/firewall @@ -0,0 +1,49 @@ +config defaults + option syn_flood 1 + option input ACCEPT + option output ACCEPT + option forward REJECT + +config zone + option name lan + option input ACCEPT + option output ACCEPT + option forward REJECT + +config zone + option name wan + option input REJECT + option output ACCEPT + option forward REJECT + option masq 1 + option mtu_fix 1 +config zone + option name mesh + option input ACCEPT + option output ACCEPT + option forward REJECT +config forwarding + option src lan + option dest wan +config forwarding + option src mesh + option dest wan +# We need to accept udp packets on port 68, +# see https://dev.openwrt.org/ticket/4108 +config rule + option src wan + option proto udp + option dest_port 68 + option target ACCEPT + +#Allow ping +config rule + option src wan + option proto icmp + option icmp_type echo-request + option target ACCEPT + +# include a file with users custom iptables rules +config include + option path /etc/firewall.user + diff --git a/files/etc/config/wireless b/files/etc/config/wireless index 5bfd459..cf72b12 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -2,7 +2,6 @@ config wifi-device wifi0 option type atheros option channel 5 - # REMOVE THIS LINE TO ENABLE WIFI: config wifi-iface option device wifi0 option mode adhoc -- cgit v0.10.1 From cbf39e4d23d608227b4f92eb0e2e3b44b54f642b Mon Sep 17 00:00:00 2001 From: Darkeye Date: Fri, 21 Jan 2011 01:19:59 +0100 Subject: Add batctl gw_mode in setup_router diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 460922b..b3b7ecd 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -17,6 +17,8 @@ if [[ $router = "j" ]] uci set dhcp.mesh.leasetime=12h uci set dhcp.mesh.interface=mesh uci commit dhcp + # Batman Server Mode + batctl gw server else # Act as a node only uci del dhcp.mesh @@ -27,7 +29,8 @@ if [[ $router = "j" ]] uci commit network echo "Der Router wird als normaler Node konfiguriert" echo - + # Batman Server Mode + batctl gw client fi uci commit #TODO: Generate Subnet -- cgit v0.10.1 From 407270ac7f39e3c816f92c8cb0bd934db7668c17 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Fri, 21 Jan 2011 02:40:12 +0100 Subject: little changes because batman-adhoc interface seems to be always ath1 diff --git a/files/etc/config/batman-adv b/files/etc/config/batman-adv index 374e4b6..383e31f 100644 --- a/files/etc/config/batman-adv +++ b/files/etc/config/batman-adv @@ -1,5 +1,5 @@ config 'mesh' 'bat0' - option 'interfaces' 'ath0' + option 'interfaces' 'ath1' option 'orig_interval' option 'log_level' option 'aggregated_ogms' diff --git a/files/etc/config/network b/files/etc/config/network index 5c87829..0df1dfc 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -5,7 +5,7 @@ config 'interface' 'loopback' option 'netmask' '255.0.0.0' config 'interface' 'mesh' option 'type' 'bridge' - option 'ifname' 'ath1 bat0' + option 'ifname' 'bat0 ath0' config 'interface' 'lan' option 'type' 'bridge' -- cgit v0.10.1 From e8967fd5cb55147ca017d0a11e4c9e12a183fc68 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 21 Jan 2011 17:49:08 +0100 Subject: * added option hidden 1 to ad-hoc mesh device diff --git a/files/etc/config/wireless b/files/etc/config/wireless index cf72b12..04dd72e 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -7,6 +7,7 @@ config wifi-iface option mode adhoc option ssid batman.jena.freifunk.net option bssid 03:CA:FF:EE:BA:BE + option hidden 1 config wifi-iface option device wifi0 -- cgit v0.10.1 From 0588459dad5a41f18236f17b6735c01694a86047 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Fri, 21 Jan 2011 19:17:07 +0100 Subject: Add dhcp start_ip and end_ip function and add in setup_router diff --git a/files/etc/init.d/dnsmasq b/files/etc/init.d/dnsmasq new file mode 100755 index 0000000..ccf70f0 --- /dev/null +++ b/files/etc/init.d/dnsmasq @@ -0,0 +1,387 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2007 OpenWrt.org + +START=60 +DNS_SERVERS="" +DOMAIN="" + +dhcp_calc() { + local ip="$1" + local res=0 + + while [ -n "$ip" ]; do + part="${ip%%.*}" + res="$(($res * 256))" + res="$(($res + $part))" + [ "${ip%.*}" != "$ip" ] && ip="${ip#*.}" || ip= + done + echo "$res" +} + +append_bool() { + local section="$1" + local option="$2" + local value="$3" + local _loctmp + config_get_bool _loctmp "$section" "$option" 0 + [ $_loctmp -gt 0 ] && append args "$value" +} + +append_parm() { + local section="$1" + local option="$2" + local switch="$3" + local _loctmp + config_get _loctmp "$section" "$option" + [ -z "$_loctmp" ] && return 0 + append args "$switch $_loctmp" +} + +append_server() { + append args "-S $1" +} + +append_interface() { + local ifname=$(uci_get_state network "$1" ifname "$1") + append args "-i $ifname" +} + +append_notinterface() { + local ifname=$(uci_get_state network "$1" ifname "$1") + append args "-I $ifname" +} + +append_addnhosts() { + append args "-H $1" +} + +append_bogusnxdomain() { + append args "-B $1" +} + +dnsmasq() { + local cfg="$1" + append_bool "$cfg" authoritative "-K" + append_bool "$cfg" nodaemon "-d" + append_bool "$cfg" domainneeded "-D" + append_bool "$cfg" filterwin2k "-f" + append_bool "$cfg" nohosts "-h" + append_bool "$cfg" nonegcache "-N" + append_bool "$cfg" strictorder "-o" + append_bool "$cfg" logqueries "-q" + append_bool "$cfg" noresolv "-R" + append_bool "$cfg" localise_queries "-y" + append_bool "$cfg" readethers "-Z" + append_bool "$cfg" dbus "-1" + append_bool "$cfg" boguspriv "-b" + append_bool "$cfg" expandhosts "-E" + append_bool "$cfg" enable_tftp "--enable-tftp" + append_bool "$cfg" nonwildcard "-z" + + append_parm "$cfg" cachesize "-c" + append_parm "$cfg" dnsforwardmax "-0" + append_parm "$cfg" port "-p" + append_parm "$cfg" ednspacket_max "-P" + append_parm "$cfg" dhcpleasemax "-X" + append_parm "$cfg" "queryport" "-Q" + append_parm "$cfg" "domain" "-s" + append_parm "$cfg" "local" "-S" + config_list_foreach "$cfg" "server" append_server + config_list_foreach "$cfg" "interface" append_interface + config_list_foreach "$cfg" "notinterface" append_notinterface + config_list_foreach "$cfg" "addnhosts" append_addnhosts + config_list_foreach "$cfg" "bogusnxdomain" append_bogusnxdomain + append_parm "$cfg" "leasefile" "-l" + append_parm "$cfg" "resolvfile" "-r" + append_parm "$cfg" "tftp_root" "--tftp-root" + append_parm "$cfg" "dhcp_boot" "--dhcp-boot" + + config_get DOMAIN "$cfg" domain + + config_get_bool readethers "$cfg" readethers + [ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers + + config_get leasefile $cfg leasefile + [ -n "$leasefile" ] && [ -e "$leasefile" ] || touch "$leasefile" + config_get_bool cachelocal "$cfg" cachelocal 1 + + config_get hostsfile "$cfg" dhcphostsfile + [ -e "$hostsfile" ] && append args "--dhcp-hostsfile=$hostsfile" + + local rebind + config_get_bool rebind "$cfg" rebind_protection 1 + [ $rebind -gt 0 ] && { + logger -t dnsmasq \ + "DNS rebinding protection is active," \ + "will discard upstream RFC1918 responses!" + append args "--stop-dns-rebind" + + local rebind_localhost + config_get_bool rebind_localhost "$cfg" rebind_localhost 0 + [ $rebind_localhost -gt 0 ] && { + logger -t dnsmasq "Allowing 127.0.0.0/8 responses" + append args "--rebind-localhost-ok" + } + + append_rebind_domain() { + logger -t dnsmasq "Allowing RFC1918 responses for domain $1" + append args "--rebind-domain-ok=$1" + } + + config_list_foreach "$cfg" rebind_domain append_rebind_domain + } +} + +dhcp_subscrid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get subscriberid "$cfg" subscriberid + [ -n "$subscriberid" ] || return 0 + + append args "--dhcp-subscrid=$networkid,$subscriberid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_remoteid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get remoteid "$cfg" remoteid + [ -n "$remoteid" ] || return 0 + + append args "--dhcp-remoteid=$networkid,$remoteid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_circuitid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get circuitid "$cfg" circuitid + [ -n "$circuitid" ] || return 0 + + append args "--dhcp-circuitid=$networkid,$circuitid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_userclass_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get userclass "$cfg" userclass + [ -n "$userclass" ] || return 0 + + append args "--dhcp-userclass=$networkid,$userclass" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_vendorclass_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get vendorclass "$cfg" vendorclass + [ -n "$vendorclass" ] || return 0 + + append args "--dhcp-vendorclass=$networkid,$vendorclass" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_host_add() { + local cfg="$1" + + config_get name "$cfg" name + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] && dhcp_option_add "$cfg" "$networkid" + + config_get ip "$cfg" ip + [ -n "$ip" ] || return 0 + + macs="" + config_get mac "$cfg" mac + for m in $mac; do append macs "$m" ","; done + [ -n "$macs" ] || return 0 + + append args "--dhcp-host=$macs,${networkid:+net:$networkid,}$ip${name:+,$name}" +} + +dhcp_mac_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get mac "$cfg" mac + [ -n "$mac" ] || return 0 + + append args "--dhcp-mac=$networkid,$mac" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_boot_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + + config_get filename "$cfg" filename + [ -n "$filename" ] || return 0 + + config_get servername "$cfg" servername + [ -n "$servername" ] || return 0 + + config_get serveraddress "$cfg" serveraddress + [ -n "$serveraddress" ] || return 0 + + append args "--dhcp-boot=${networkid:+net:$networkid,}$filename,$servername,$serveraddress" + + dhcp_option_add "$cfg" "$networkid" +} + + +dhcp_add() { + local cfg="$1" + config_get net "$cfg" interface + [ -n "$net" ] || return 0 + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || networkid="$net" + + config_get ifname "$net" ifname + [ -n "$ifname" ] || return 0 + + config_get dnsserver "$net" dns + [ "$cachelocal" = "0" -a -n "$dnsserver" ] && { + DNS_SERVERS="$DNS_SERVERS $dnsserver" + } + + append_bool "$cfg" ignore "-2 $ifname" && return 0 + + config_get proto "$net" proto + [ static = "$proto" ] || return 0 + + config_get ipaddr "$net" ipaddr + config_get netmask "$cfg" netmask + [ -n "$netmask" ] || config_get netmask "$net" netmask + + #check for an already active dhcp server on the interface, unless 'force' is set + config_get_bool force "$cfg" force 0 + [ $force -gt 0 ] || { + udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && { + logger -t dnsmasq \ + "found already running DHCP-server on interface '$ifname'" \ + "refusing to start, use 'option force 1' to override" + return 0 + } + } + + config_get start "$cfg" start + config_get limit "$cfg" limit + config_get start_ip "$cfg" start_ip + config_get end_ip "$cfg" end_ip + config_get leasetime "$cfg" leasetime + config_get options "$cfg" options + config_get_bool dynamicdhcp "$cfg" dynamicdhcp 1 + + leasetime="${leasetime:-12h}" + start="$(dhcp_calc "${start:-100}")" + limit="${limit:-150}" + eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" + if [ "$dynamicdhcp" = "0" ]; then END="static"; fi + if [ -n "$start_ip" ]; then START=$start_ip; fi + if [ -n "$end_ip" ]; then END=$end_ip; fi + append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_option_add() { + local cfg="$1" + local networkid="$2" + + config_get dhcp_option "$cfg" dhcp_option + for o in $dhcp_option; do + append args "-O $networkid","$o" + done + +} + +dhcp_domain_add() { + local cfg="$1" + local ip name names + + config_get names "$cfg" name + [ -n "$names" ] || return 0 + + config_get ip "$cfg" ip + [ -n "$ip" ] || return 0 + + local oIFS="$IFS"; IFS="."; set -- $ip; IFS="$oIFS" + local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}" + + for name in $names; do + local fqdn="$name" + + [ "${fqdn%.*}" == "$fqdn" ] && \ + fqdn="$fqdn${DOMAIN:+.$DOMAIN}" + + append args "-A /$fqdn/$ip" + + [ -n "$raddr" ] && { + append args "--ptr-record=$raddr,$fqdn" + raddr="" + } + done +} + +start() { + include /lib/network + scan_interfaces + config_load dhcp + + args="" + config_foreach dnsmasq dnsmasq + config_foreach dhcp_host_add host + config_foreach dhcp_boot_add boot + config_foreach dhcp_mac_add mac + config_foreach dhcp_vendorclass_add vendorclass + config_foreach dhcp_userclass_add userclass + config_foreach dhcp_circuitid_add circuitid + config_foreach dhcp_remoteid_add remoteid + config_foreach dhcp_subscrid_add subscrid + config_foreach dhcp_domain_add domain + config_foreach dhcp_add dhcp + echo $args + /usr/sbin/dnsmasq $args && { + rm -f /tmp/resolv.conf + [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf + DNS_SERVERS="$DNS_SERVERS 127.0.0.1" + for DNS_SERVER in $DNS_SERVERS ; do + echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf + done + } +} + +stop() { + [ -f /tmp/resolv.conf ] && { + rm -f /tmp/resolv.conf + ln -s /tmp/resolv.conf.auto /tmp/resolv.conf + } + killall dnsmasq + return 0 +} diff --git a/files/sbin/setup_router b/files/sbin/setup_router index b3b7ecd..84457a1 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -8,6 +8,11 @@ if [[ $router = "j" ]] #set ipv4 Adress echo "Bitte geben sie die IP-Adresse des Routers an (siehe http://www.freifunk-jena.de/NodeDB)" read ipv4_adress + #IP Zerlegen + oct1=`echo $ipv4_adress | awk -F . '{print $1}'` + oct2=`echo $ipv4_adress | awk -F . '{print $2}'` + oct3=`echo $ipv4_adress | awk -F . '{print $3}'` + oct4=`echo $ipv4_adress | awk -F . '{print $4}'` uci set network.mesh.ipaddr=$ipv4_adress uci set network.mesh.proto=static uci set network.mesh.netmask=255.255.0.0 @@ -16,6 +21,8 @@ if [[ $router = "j" ]] uci set dhcp.mesh.limit=254 uci set dhcp.mesh.leasetime=12h uci set dhcp.mesh.interface=mesh + uci set dhcp.mesh.start_ip=10.17.$oct3.2 + uci set dhcp.mesh.end_ip=10.17.$oct3.254 uci commit dhcp # Batman Server Mode batctl gw server -- cgit v0.10.1 From 9bba496601b039994c2b441753ac9d0b6b86e03f Mon Sep 17 00:00:00 2001 From: Darkeye Date: Fri, 21 Jan 2011 19:38:41 +0100 Subject: moved batman-adv gw_mode to uci diff --git a/files/etc/config/batman-adv b/files/etc/config/batman-adv index 383e31f..cc8db5f 100644 --- a/files/etc/config/batman-adv +++ b/files/etc/config/batman-adv @@ -6,4 +6,5 @@ config 'mesh' 'bat0' option 'bonding' option 'fragmentation' option 'vis_mode' + option 'gw_mode' 'client' diff --git a/files/etc/init.d/batman-adv b/files/etc/init.d/batman-adv new file mode 100755 index 0000000..6ecb7ea --- /dev/null +++ b/files/etc/init.d/batman-adv @@ -0,0 +1,103 @@ +#!/bin/sh /etc/rc.common +START=90 + +is_module_loaded() { + + if [ ! -d "/sys/module/batman_adv" ]; then + echo "batman-adv module directory not found - was the kernel module loaded ?" >&2 + return 0 + fi + + return 1 +} + +start_mesh () { + local meshif="$1" + local interfaces orig_interval log_level aggregated_ogms bonding vis_mode + + is_module_loaded + [ $? -ne 1 ] && return + + config_get interfaces "$meshif" interfaces + config_get orig_interval "$meshif" orig_interval + config_get log_level "$meshif" log_level + config_get aggregated_ogms "$meshif" aggregated_ogms + config_get bonding "$meshif" bonding + config_get gw_mode "$meshif" gw_mode + + config_get vis_mode "$meshif" vis_mode + + if [ "$interfaces" = "" ]; then + echo Error, you must specify at least a network interface + return + fi + + for interface in $interfaces + do + [ ! -f "/sys/class/net/$interface/batman_adv/mesh_iface" ] && echo "Can't add interface $interface - ignoring" && continue + echo $meshif > /sys/class/net/$interface/batman_adv/mesh_iface + done + + if [ $orig_interval ]; then + echo $orig_interval > /sys/class/net/$meshif/mesh/orig_interval + fi + + if [ $log_level ]; then + echo $log_level > /sys/class/net/$meshif/mesh/log_level 2>&- + fi + + if [ $aggregated_ogms ]; then + echo $aggregated_ogms > /sys/class/net/$meshif/mesh/aggregated_ogms + fi + + if [ $bonding ]; then + echo $bonding > /sys/class/net/$meshif/mesh/bonding + fi + + if [ $vis_mode ]; then + echo $vis_mode > /sys/class/net/$meshif/mesh/vis_mode + fi + + if [ $gw_mode ]; then + echo $gw_mode > /sys/class/net/$meshif/mesh/gw_mode + fi +} + +stop_mesh() { + local meshif="$1" + + is_module_loaded + [ $? -ne 1 ] && return + + for iface in $(ls /sys/class/net/*) + do + [ ! -f "$iface/batman_adv/mesh_iface" ] && continue + [ "$(head -1 $iface/batman_adv/mesh_iface)" != "status: $meshif" ] && continue + + echo "none" > $iface/batman_adv/mesh_iface + done +} + +# can also be used with "batman-adv start bat0" +start() { + config_load batman-adv + + if [ -n "$1" ]; then + start_mesh $1 + else + config_foreach start_mesh mesh + fi +} + +# can also be used with "batman-adv stop bat0" +stop () { + config_load batman-adv + + if [ -n "$1" ]; then + stop_mesh $1 + else + config_foreach stop_mesh mesh + fi +} + + diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 84457a1..5e990d6 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -25,7 +25,8 @@ if [[ $router = "j" ]] uci set dhcp.mesh.end_ip=10.17.$oct3.254 uci commit dhcp # Batman Server Mode - batctl gw server + uci set batman-adv.bat0.gw_mode=server + uci commit batman-adv else # Act as a node only uci del dhcp.mesh @@ -36,8 +37,9 @@ if [[ $router = "j" ]] uci commit network echo "Der Router wird als normaler Node konfiguriert" echo - # Batman Server Mode - batctl gw client + # Batman Clientr Mode + uci set batman-adv.bat0.gw_mode=client + uci commit batman-adv fi uci commit #TODO: Generate Subnet -- cgit v0.10.1 From 645209fe4e34066801f6b4761bace540c95e5294 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 14:07:34 +0100 Subject: * added default dns-servers to wan interface (2x manitu, 1x google public dns) diff --git a/files/etc/config/network b/files/etc/config/network index 0df1dfc..6170c61 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -32,3 +32,4 @@ config 'switch_vlan' 'eth0_2' config 'interface' 'wan' option 'ifname' 'eth0.2' option 'proto' 'dhcp' + option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' -- cgit v0.10.1 From aa21274aeb81b0c2352484874a9bf52169c5797a Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 17:38:35 +0100 Subject: Add switch ports to mesh-bridge diff --git a/files/etc/config/firewall b/files/etc/config/firewall index 9175a06..bb0a0c5 100644 --- a/files/etc/config/firewall +++ b/files/etc/config/firewall @@ -3,13 +3,7 @@ config defaults option input ACCEPT option output ACCEPT option forward REJECT - -config zone - option name lan - option input ACCEPT - option output ACCEPT - option forward REJECT - + config zone option name wan option input REJECT @@ -22,9 +16,7 @@ config zone option input ACCEPT option output ACCEPT option forward REJECT -config forwarding - option src lan - option dest wan + config forwarding option src mesh option dest wan diff --git a/files/etc/config/network b/files/etc/config/network index 6170c61..597630e 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -5,14 +5,7 @@ config 'interface' 'loopback' option 'netmask' '255.0.0.0' config 'interface' 'mesh' option 'type' 'bridge' - option 'ifname' 'bat0 ath0' - -config 'interface' 'lan' - option 'type' 'bridge' - option 'proto' 'static' - option 'ipaddr' '192.168.1.1' - option 'netmask' '255.255.255.0' - option 'ifname' 'eth0.1' + option 'ifname' 'bat0 ath0 eth0.1' config 'switch' 'eth0' option 'name' 'eth0' -- cgit v0.10.1 From 72927b85e3ba04ce06d203742b488c456d02591f Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 18:00:37 +0100 Subject: * added TODO file diff --git a/TODO b/TODO new file mode 100644 index 0000000..e69de29 -- cgit v0.10.1 From 263c87cd89f1c42d2b52ade8acba228558e5aa2a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 18:01:57 +0100 Subject: * short description of TODO file diff --git a/TODO b/TODO index e69de29..b9c2250 100644 --- a/TODO +++ b/TODO @@ -0,0 +1 @@ +Collection of unpriorized ToDos, for a Roadmap see ROADMAP file -- cgit v0.10.1 From a69b47b98d1e890f3f008ecc9def73f858732010 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 18:15:03 +0100 Subject: * deleted bssid on ap interface, its ignored diff --git a/files/etc/config/wireless b/files/etc/config/wireless index 04dd72e..c4f99b5 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -13,5 +13,4 @@ config wifi-iface option device wifi0 option mode ap option ssid test.freifunk-jena.de - option bssid 04:CA:FF:EE:BA:BE -- cgit v0.10.1 From 6d55c1ff4aa13ff90f69f70c1c21c89fe6469cb1 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 18:16:03 +0100 Subject: * changed bssid of adhoc-interface to a ieee conform one. based on the channel/bssid table by ff-pberg (https://kifuse02.pberg.freifunk.net/moin/channel-bssid-essid) diff --git a/files/etc/config/wireless b/files/etc/config/wireless index c4f99b5..ba106d4 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -6,7 +6,7 @@ config wifi-iface option device wifi0 option mode adhoc option ssid batman.jena.freifunk.net - option bssid 03:CA:FF:EE:BA:BE + option bssid 52:CA:FF:EE:BA:BE option hidden 1 config wifi-iface -- cgit v0.10.1 From 75e349cb1f4e548a249afedb9c8be6a22f1d8bd3 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 18:21:25 +0100 Subject: * added freeze of batman to the todo diff --git a/TODO b/TODO index b9c2250..0e15f30 100644 --- a/TODO +++ b/TODO @@ -1 +1,3 @@ Collection of unpriorized ToDos, for a Roadmap see ROADMAP file + + * Freeze the Batman-Adv stuff on next new Version, get rid of trunk (currently we use trunk because the last version of bat-adv doesn't support the gw_mode) -- cgit v0.10.1 From aad5d035de56bea1b1ed0ed91ee26bd01622ffed Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 19:40:27 +0100 Subject: Blue LED if WAN is up on gateway diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led new file mode 100644 index 0000000..bee5e9e --- /dev/null +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -0,0 +1,9 @@ +#!/bin/sh +case "${ACTION:-ifup}" in + ifup) + gpioctl set 1 + ;; + ifdown) + gpioctl dirout 1 + ;; +esac -- cgit v0.10.1 From 6f17837384b415ec5327d6ca28ede720385db851 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 20:05:59 +0100 Subject: Egon0 requested: Blue LED if VPN is online and RED Led if VPN is Off but HNA is online diff --git a/files/etc/dropbear/authorized_keys b/files/etc/dropbear/authorized_keys index 7bfac21..168fb33 100644 --- a/files/etc/dropbear/authorized_keys +++ b/files/etc/dropbear/authorized_keys @@ -1,2 +1,4 @@ +# Micha (Freifunk Jena) michael.stoecker@googlemail.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== +# Darkeye (Freifunk Jena) martinmichel@die-guten-partei.de ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led index bee5e9e..c0a7aa4 100644 --- a/files/etc/hotplug.d/iface/22-wan_led +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -1,9 +1,9 @@ #!/bin/sh case "${ACTION:-ifup}" in ifup) - gpioctl set 1 + gpioctl set 3 ;; ifdown) - gpioctl dirout 1 + gpioctl dirout 3 ;; esac -- cgit v0.10.1 From b70f01302ad3c590eeec3884866dc8339cf99574 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 20:05:59 +0100 Subject: Egon0 requested: Blue LED if VPN is online and RED Led if VPN is Off but HNA is online diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led index bee5e9e..c0a7aa4 100644 --- a/files/etc/hotplug.d/iface/22-wan_led +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -1,9 +1,9 @@ #!/bin/sh case "${ACTION:-ifup}" in ifup) - gpioctl set 1 + gpioctl set 3 ;; ifdown) - gpioctl dirout 1 + gpioctl dirout 3 ;; esac -- cgit v0.10.1 From 07f8488727c704d135a37255ebe235587d7608bb Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 22 Jan 2011 20:25:15 +0100 Subject: * changed wrong name and mailadress for one of the public ssh-keys diff --git a/files/etc/dropbear/authorized_keys b/files/etc/dropbear/authorized_keys index 168fb33..0464311 100644 --- a/files/etc/dropbear/authorized_keys +++ b/files/etc/dropbear/authorized_keys @@ -1,4 +1,4 @@ -# Micha (Freifunk Jena) michael.stoecker@googlemail.com +# egon0 (Freifunk Jena) egon@resonar.de ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== # Darkeye (Freifunk Jena) martinmichel@die-guten-partei.de ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== -- cgit v0.10.1 From 0c93079a1185142b5e03b105c883a8741f34f89e Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 22:20:13 +0100 Subject: switch port 1 and 2 dhcp (192.168.1.1/24) switch port 3 and 4 batman-mesh diff --git a/files/etc/config/network b/files/etc/config/network index 597630e..c2cd550 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -7,22 +7,34 @@ config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'bat0 ath0 eth0.1' +config 'interface' 'lan' + option 'type' 'bridge' + option 'proto' 'static' + option 'ipaddr' '192.168.1.1' + option 'netmask' '255.255.255.0' + option 'ifname' 'eth0.2' + config 'switch' 'eth0' - option 'name' 'eth0' - option 'reset' '1' - option 'enable_vlan' '1' + option 'name' 'eth0' + option 'reset' '1' + option 'enable_vlan' '1' config 'switch_vlan' 'eth0_1' - option 'device' 'eth0' - option 'vlan' '1' - option 'ports' '0 1 2 3 5t' - + option 'device' 'eth0' + option 'vlan' '1' + option 'ports' '2 3 5t' + config 'switch_vlan' 'eth0_2' - option 'device' 'eth0' - option 'vlan' '2' - option 'ports' '4 5t' + option 'device' 'eth0' + option 'vlan' '2' + option 'ports' '0 1 5t' + +config 'switch_vlan' 'eth0_3' + option 'device' 'eth0' + option 'vlan' '3' + option 'ports' '4 5t' config 'interface' 'wan' - option 'ifname' 'eth0.2' - option 'proto' 'dhcp' - option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' + option 'ifname' 'eth0.3' + option 'proto' 'dhcp' + option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' -- cgit v0.10.1 From 608afdfb440c53387e44ceaa7bc37a8ee4a4fa50 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 23:13:06 +0100 Subject: Add test_gateway script as a cron. wan port is pinged every minute. If offline if-down-up -> retest if offline wan down diff --git a/files/etc/crontabs/root b/files/etc/crontabs/root new file mode 100644 index 0000000..cfac6b1 --- /dev/null +++ b/files/etc/crontabs/root @@ -0,0 +1 @@ +* * * * * /sbin/test_gateway > /dev/null diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway new file mode 100755 index 0000000..c6742a6 --- /dev/null +++ b/files/sbin/test_gateway @@ -0,0 +1,17 @@ +#!/bin/sh +TESTHOST=4.2.2.4 +ping -c 1 -w 5 $TESTHOST &>/dev/null + +if [ $? -ne 0 ] ; then + // IP not reachable -> try if-down-up + ifdown wan + ifup wan + echo Problem we restart wan + sleep 10 + // Test Again + ping -c 1 -w 5 4.2.2.4 &>/dev/null + if [ $? -ne 0 ] ; then + echo "Mist" + ifdown wan + fi +fi -- cgit v0.10.1 From 3624286989d703bd779d50d2f7d2c95e99bdd332 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 22 Jan 2011 23:16:16 +0100 Subject: debug output deleted diff --git a/files/etc/init.d/dnsmasq b/files/etc/init.d/dnsmasq index ccf70f0..1b934c0 100755 --- a/files/etc/init.d/dnsmasq +++ b/files/etc/init.d/dnsmasq @@ -366,7 +366,6 @@ start() { config_foreach dhcp_subscrid_add subscrid config_foreach dhcp_domain_add domain config_foreach dhcp_add dhcp - echo $args /usr/sbin/dnsmasq $args && { rm -f /tmp/resolv.conf [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway index c6742a6..97296e2 100755 --- a/files/sbin/test_gateway +++ b/files/sbin/test_gateway @@ -6,12 +6,10 @@ if [ $? -ne 0 ] ; then // IP not reachable -> try if-down-up ifdown wan ifup wan - echo Problem we restart wan sleep 10 // Test Again ping -c 1 -w 5 4.2.2.4 &>/dev/null if [ $? -ne 0 ] ; then - echo "Mist" ifdown wan fi fi -- cgit v0.10.1 From 7906ec1995838c8710d6f193600fcb47ff503cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=DFnj=F8?= Date: Sun, 23 Jan 2011 03:25:58 +0100 Subject: =?UTF-8?q?=20Committer:=20=DFnj=F8=20=09modified:=20=20=20system?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/files/etc/config/system b/files/etc/config/system index 47faa3c..3d9683c 100644 --- a/files/etc/config/system +++ b/files/etc/config/system @@ -1,6 +1,6 @@ config system option hostname OpenWrt - option timezone UTC + option timezone CET config button option button reset -- cgit v0.10.1 From 488e8b288906e371fddfebcaf4616d1de1304fb0 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 23 Jan 2011 22:16:18 +0100 Subject: Bug with new switch config. reset default configuration diff --git a/files/etc/config/network b/files/etc/config/network index c2cd550..b733a13 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -1,19 +1,21 @@ + config 'interface' 'loopback' - option 'ifname' 'lo' - option 'proto' 'static' - option 'ipaddr' '127.0.0.1' - option 'netmask' '255.0.0.0' + 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' 'bat0 ath0 eth0.1' + option 'type' 'bridge' + option 'ifname' 'bat0 ath0' config 'interface' 'lan' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' '192.168.1.1' option 'netmask' '255.255.255.0' - option 'ifname' 'eth0.2' - + option 'ifname' 'eth0.1' + config 'switch' 'eth0' option 'name' 'eth0' option 'reset' '1' @@ -22,19 +24,15 @@ config 'switch' 'eth0' config 'switch_vlan' 'eth0_1' option 'device' 'eth0' option 'vlan' '1' - option 'ports' '2 3 5t' - + option 'ports' '0 1 2 3 5t' + config 'switch_vlan' 'eth0_2' - option 'device' 'eth0' - option 'vlan' '2' - option 'ports' '0 1 5t' - -config 'switch_vlan' 'eth0_3' option 'device' 'eth0' - option 'vlan' '3' + option 'vlan' '2' option 'ports' '4 5t' config 'interface' 'wan' - option 'ifname' 'eth0.3' + option 'ifname' 'eth0.2' option 'proto' 'dhcp' option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' + -- cgit v0.10.1 From 2a7069f212166e1aa623cf9a88d17776f4aaedf0 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 23 Jan 2011 22:18:33 +0100 Subject: Set LAN-IP to 10.17.200.1 local net is now 10.17.200.0/24 diff --git a/files/etc/config/network b/files/etc/config/network index b733a13..3d73ebc 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -12,7 +12,7 @@ config 'interface' 'mesh' config 'interface' 'lan' option 'type' 'bridge' option 'proto' 'static' - option 'ipaddr' '192.168.1.1' + option 'ipaddr' '10.17.200.1' option 'netmask' '255.255.255.0' option 'ifname' 'eth0.1' -- cgit v0.10.1 From e5e5f5bcd95ccaf3e7e685bb1da9be027b8d058c Mon Sep 17 00:00:00 2001 From: Darkeye Date: Mon, 24 Jan 2011 17:23:56 +0100 Subject: Splash Screen first implementation. Only wifi-ap is splashed. After click user can use the ap 6000 seconds. Splashed users stored in uci file diff --git a/files/etc/config/splash_users b/files/etc/config/splash_users new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/files/etc/config/splash_users @@ -0,0 +1 @@ + diff --git a/files/etc/config/uhttpd b/files/etc/config/uhttpd new file mode 100644 index 0000000..a424463 --- /dev/null +++ b/files/etc/config/uhttpd @@ -0,0 +1,39 @@ +# Server configuration +config uhttpd main + + # HTTP listen addresses, multiple allowed + list listen_http 0.0.0.0:80 + # Server document root + option home /www + option error_page /splash.html + option index_page splash.html + # Reject requests from RFC1918 IP addresses + # directed to the servers public IP(s). + # This is a DNS rebinding countermeasure. + option rfc1918_filter 1 + + # CGI url prefix, will be searched in docroot. + # Default is /cgi-bin + option cgi_prefix /cgi-bin + + # CGI/Lua timeout, if the called script does not + # write data within the given amount of seconds, + # the server will terminate the request with + # 504 Gateway Timeout response. + option script_timeout 60 + + # Network timeout, if the current connection is + # blocked for the specified amount of seconds, + # the server will terminate the associated + # request process. + option network_timeout 30 + + # TCP Keep-Alive, send periodic keep-alive probes + # over established connections to detect dead peers. + # The value is given in seconds to specify the + # interval between subsequent probes. + # Setting this to 0 will disable TCP keep-alive. + option tcp_keepalive 1 + + + diff --git a/files/etc/crontabs/root b/files/etc/crontabs/root index cfac6b1..bf3cb9e 100644 --- a/files/etc/crontabs/root +++ b/files/etc/crontabs/root @@ -1 +1,2 @@ * * * * * /sbin/test_gateway > /dev/null +* * * * * /sbin/splash_sync > /dev/null diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync new file mode 100755 index 0000000..8299f97 --- /dev/null +++ b/files/sbin/splash_sync @@ -0,0 +1,43 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +x=0 +config_load splash_users +test=1 +splash_check() { + timeout=6000 + current_time=`date +%s` + config_get ip "$1" ip + config_get time "$1" time + local config="$1" + echo Vergleich Jetzt `date +%s` gespeichert $time + let time_check=$time+$timeout + if [ $time_check -gt $current_time ]; then + # User ist noch gesplashed + echo User ist noch gesplashed + iptables -t nat -D ffj_splash -s $ip -j ACCEPT + iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT + else + # User is not longer splashed / the user must click again + iptables -t nat -D ffj_splash -s $ip -j ACCPET + uci delete splash_users.@user[$x].ip + uci delete splash_users.@user[$x].time + uci delete splash_users.@user[$x] + uci commit + fi + let x=$x+1 +} +#chain refresh +iptables -t nat -D zone_mesh_prerouting -p tcp -j ffj_splash +iptables -t nat -F ffj_splash +iptables -t nat -X ffj_splash +#recreation +iptables -t nat -N ffj_splash +iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash +config_foreach splash_check user +#iptables -t nat -D ffj_splash -p tcp -j DNAT --to 10.17.200.1:80 +iptables -t nat -A ffj_splash -p tcp -j DNAT --to 10.17.200.1:80 +#iptables -t nat -D ffj_splash -j DROP +#iptables -t nat -A ffj_splash -j DROP + + + diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click new file mode 100755 index 0000000..32fce2e --- /dev/null +++ b/files/www/cgi-bin/splash_click @@ -0,0 +1,31 @@ +#!/bin/sh +echo -en "Status: 302 Temporary Redirect\r\n" +echo -en "Location: http://www.freifunk-jena.de\r\n" +echo -en "\r\n" + +. $IPKG_INSTROOT/etc/functions.sh +ISSPLASHED=0 +config_load splash_users +is_ip() { + config_get ip "$1" ip + if [ "$ip" == "$REMOTE_HOST" ]; then + ISSPLASHED=1 + fi +} +#check if user is alredy splashed +config_foreach is_ip user + +if [ $ISSPLASHED -eq 1 ]; then + exit +fi +#User is now free to go +iptables -t nat -I ffj_splash 1 -s $REMOTE_HOST -j ACCEPT +uci add splash_users user +uci set splash_users.@user[-1].ip=$REMOTE_HOST +uci set splash_users.@user[-1].time=`date +%s` +uci -q commit > /dev/null +exit 0 + + + + diff --git a/files/www/splash.html b/files/www/splash.html new file mode 100644 index 0000000..89e0736 --- /dev/null +++ b/files/www/splash.html @@ -0,0 +1,3 @@ +

Splashpage

+ +Aktzeptieren Ablehnen -- cgit v0.10.1 From ed3b3b399e69edcfa6e736d6e013a71e99735759 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 31 Jan 2011 21:29:20 +0100 Subject: =?UTF-8?q?=20*=20updated=20roadmap=20based=20on=20meeting=202011-?= =?UTF-8?q?01-31=20(egon=C3=9F=20&=20darkeye)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/ROADMAP b/ROADMAP index 511ec65..8638180 100644 --- a/ROADMAP +++ b/ROADMAP @@ -2,22 +2,46 @@ Roadmap v0.1 -> Erste Alpha, welche die Basis Funktionalität unterstützt --> B.A.T.N.A.N.-ADV Mesh --> AP-Mode Interface für User --> Mesh-Interface für Batman +-> B.A.T.N.A.N.-ADV Mesh (finished) +-> AP-Mode Interface für User (finished) +-> Mesh-Interface für Batman (finished) + -> Mesh.nterface with hidden SSID (finished) -> Gateway Mode: - - DHCP Server - - Batman Gateway Mode --> Client Mode --> Manuelles Konfigruationsscript + - DHCP Server (finished) + - Batman Gateway Mode (finished) + - Batman Gateway Bandwidth +-> Client Mode (finished) +-> Manuelles Konfigruationsscript (partially finished) +-> LED-Config (bascis are finished) +-> Zum Testen in der Saalstr v0.2 --> Zum Testen in der Saalstr --> Splash Screen +-> Splash Screen (finished) +-> n2n v0.3 -> Openvpn - +-> Splash: + -> Whitelisting/Blacklisting + -> Layout v0.4 -> Vnet-Support + -> possibility to configure each port as: + - batman mesh interface (cablebridge for batman layer 2 traffic only) + - default-lan interface (non batman) + - service port (static public ip via dhcp) + - batman mesh-bridge + +v0.5 -> Openvpn Autoconfig Openvpn +-> local node-db (plaintext) + +v0.6 +-> Config-Webinterface +-> Status/Diagnostics-WebIf + + +Post v1.0 +-> global node-db for www.freifunk-jena.de +-> openvpn auto cert solution (telephone based) +-> emergency update system -- cgit v0.10.1 From f17d479bc99cdb82cf7c684ad9617b8893a1f007 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 22 Feb 2011 14:18:46 +0100 Subject: N2N Changes: n2n starts as tap device n2n use always ip 169.254.0.1 n2n clear ipv4 ip after start n2n-tap is added in batctl if add use workaround: ip 0.0.0.0 to del ipv4 diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n new file mode 100755 index 0000000..929f463 --- /dev/null +++ b/files/etc/init.d/n2n @@ -0,0 +1,40 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org +START=90 + +config_cb() { + local cfg="$CONFIG_SECTION" + config_get configname "$cfg" TYPE + + case "$configname" in + edge) + config_get ipaddr "$cfg" ipaddr + config_get supernode "$cfg" supernode + config_get port "$cfg" port + config_get community "$cfg" community + config_get key "$cfg" key + config_get_bool route "$cfg" route 0 + config_get devname "$cfg" devname + [ "$route" = "1" ] && args='-r' + if [ "$ipaddr" != "" ]; then + edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -l ${supernode}:${port} + ifconfig $devname 0.0.0.0 + batctl if add $devname + fi + ;; + supernode) + config_get port "$cfg" port + if [ "$port" != "" ]; then + supernode -l $port & + fi + ;; + esac +} + +start() { + config_load n2n +} +stop() { + killall edge + killall supernode +} -- cgit v0.10.1 From 7629efbe0f9b920d497e6a9172708a2d0405a1d7 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 22 Feb 2011 14:30:24 +0100 Subject: First default n2n config (ffj only!) diff --git a/files/etc/config/n2n b/files/etc/config/n2n new file mode 100644 index 0000000..58cccdc --- /dev/null +++ b/files/etc/config/n2n @@ -0,0 +1,17 @@ +config edge + option ipaddr '1.2.3.4' + option supernode 'fritz-der-server.de' + option port '2009' + option community 'ffj1' + option key 'ffj1' + option devname 'n2n1' + option route '' +config edge + option ipaddr '1.2.3.4' + option supernode '89.238.83.22' + option port '9876' + option community 'ffj2' + option key 'ffj2' + option devname 'n2n2' + option route '' + -- cgit v0.10.1 From 80bfbfd72c2a8929fd8e8dff96b22bf26cfabe8e Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 22 Feb 2011 15:13:01 +0100 Subject: Add Debug CGi (routerip/cgi-bin/debug) diff --git a/files/www/cgi-bin/debug b/files/www/cgi-bin/debug new file mode 100755 index 0000000..14d8447 --- /dev/null +++ b/files/www/cgi-bin/debug @@ -0,0 +1,26 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" + +echo "" +echo "

Router Status

" +echo "

Batman-ADV

" +echo "
"
+batctl tg | cat
+batctl tl |cat
+echo "
" +echo "

Netzwerk

" +echo "
"
+ifconfig | cat
+echo "
" +echo "

Prozesse

" +echo "
"         
+ps aux | cat       
+echo "
" +echo "

UCI

" +echo "
"         
+uci show | cat       
+echo "
" +echo "" + -- cgit v0.10.1 From 15ab583b80939a77ad2eb2aa902dd2408edfd38e Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 22 Feb 2011 15:38:23 +0100 Subject: Set Hostname to ath0-hwaddr diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network new file mode 100755 index 0000000..8718694 --- /dev/null +++ b/files/etc/rc.d/S40network @@ -0,0 +1,51 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=40 +STOP=90 + +boot() { + setup_switch() { return 0; } + + include /lib/network + setup_switch + grep -qs config /etc/config/wireless && { + /sbin/wifi up + } || { + rm -f /etc/config/wireless + /sbin/wifi detect > /etc/config/wireless + } + + scan_interfaces + + local ifc + for ifc in $interfaces; do + local proto + config_get proto "$ifc" proto + + local auto + config_get_bool auto "$ifc" auto 1 + + type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ + coldplug_interface_$proto "$ifc" + done + ifconfig ath1 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname + +} + +start() { + setup_switch() { return 0; } + + include /lib/network + setup_switch + ifup -a + /sbin/wifi up +} + +stop() { + ifdown -a +} + +restart() { + start +} -- cgit v0.10.1 From 6a4eb4de140c61b8d8ea3c4729de42d4aea00453 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 09:23:13 +0100 Subject: * changed rudimentary splash to the main part based on original openwrt/freifunk splash diff --git a/files/www/splash.html b/files/www/splash.html index 89e0736..b5f5838 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -1,3 +1,44 @@ -

Splashpage

+
+ + + + + +

Willkommen!

+

+Du bist jetzt mit dem freien Funknetz Freifunk Jena verbunden.
+Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. +

+ +

+Ein Zugang ins Internet ist trotzdem möglich, +da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. +Diese Zugänge müssen sich hier alle teilen. +Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: +

    +
  • bitte keine Filesharing-Programme betreiben!
  • +
  • bitte keine unnötigen Downloads oder Streams starten!
  • +
  • bitte keine illegalen Aktivitäten!
  • +
+

+ +

+Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: +

+

+ +

+Mit einem Klick auf Akzeptieren kannst du für 1 Stunde(n) +unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren. +

+ + Aktzeptieren Ablehnen + + +
-- cgit v0.10.1 From 5b3d28f193cc62eb7c21e96bd023dca1748d72ce Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 09:33:21 +0100 Subject: * added freifunk jena logo diff --git a/files/www/ff-jena_signet.png b/files/www/ff-jena_signet.png new file mode 100644 index 0000000..15d216c Binary files /dev/null and b/files/www/ff-jena_signet.png differ -- cgit v0.10.1 From b4e51dd7eefea07cf59730fedf3144f70ba36fd5 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 09:48:48 +0100 Subject: * added xhtml header and footer to splash.html diff --git a/files/www/splash.html b/files/www/splash.html index b5f5838..d33126b 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -1,7 +1,23 @@ -
+ + + + + + + Freifunk Jena + + + + + +
+

Willkommen!

@@ -42,3 +58,5 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz
+ + -- cgit v0.10.1 From 3b699931487958334179f49c60fe0ec01e82c635 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 09:51:19 +0100 Subject: * added empty css file for splash-screen formatting diff --git a/files/www/ffj.css b/files/www/ffj.css new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/files/www/ffj.css @@ -0,0 +1 @@ + -- cgit v0.10.1 From f5f9f9f43b6ea3b5b9d63c5aaff1587c3f2f2cfb Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 18:18:03 +0100 Subject: * fixed hardcoded ip in splash_sync script diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 8299f97..a188426 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -3,6 +3,7 @@ x=0 config_load splash_users test=1 +myip=`uci get network.mesh.ipaddr` splash_check() { timeout=6000 current_time=`date +%s` @@ -35,7 +36,7 @@ iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user #iptables -t nat -D ffj_splash -p tcp -j DNAT --to 10.17.200.1:80 -iptables -t nat -A ffj_splash -p tcp -j DNAT --to 10.17.200.1:80 +iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 #iptables -t nat -D ffj_splash -j DROP #iptables -t nat -A ffj_splash -j DROP -- cgit v0.10.1 From a2374c8b9823196cc1c7b9cb32a97e152692bfdf Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 18:49:00 +0100 Subject: * replaced umlauts with html-entities... diff --git a/files/www/splash.html b/files/www/splash.html index d33126b..76cd54e 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -27,28 +27,28 @@ Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter.

-Ein Zugang ins Internet ist trotzdem möglich, -da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. -Diese Zugänge müssen sich hier alle teilen. +Ein Zugang ins Internet ist trotzdem möglich, +da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. +Diese Zugänge müssen sich hier alle teilen. Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend:

  • bitte keine Filesharing-Programme betreiben!
  • -
  • bitte keine unnötigen Downloads oder Streams starten!
  • -
  • bitte keine illegalen Aktivitäten!
  • +
  • bitte keine unnötigen Downloads oder Streams starten!
  • +
  • bitte keine illegalen Aktivitäten!

-Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: +Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung:

  • Werde selbst Freifunker oder teile deinen Internetzugang!
  • -
  • Spende ein paar Euro, damit wir unser Netz weiter betreiben und ausbauen können.
  • -
  • Wenn Du selbst privat genutzte WLAN-Geräte betreibst nutze dafür bitte andere Kanäle als wir.
  • +
  • Spende ein paar Euro, damit wir unser Netz weiter betreiben und ausbauen können.
  • +
  • Wenn Du selbst privat genutzte WLAN-Geäte betreibst nutze dafür bitte andere Kanäle als wir.

-Mit einem Klick auf Akzeptieren kannst du für 1 Stunde(n) +Mit einem Klick auf Akzeptieren kannst du für 1 Stunde(n) unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren.

-- cgit v0.10.1 From 360fd27d1d0449c43a6ebb653cca655acbeaadb1 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 26 Feb 2011 19:05:06 +0100 Subject: debug output deleted old comments deleted diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index a188426..a114297 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -10,11 +10,9 @@ splash_check() { config_get ip "$1" ip config_get time "$1" time local config="$1" - echo Vergleich Jetzt `date +%s` gespeichert $time let time_check=$time+$timeout if [ $time_check -gt $current_time ]; then # User ist noch gesplashed - echo User ist noch gesplashed iptables -t nat -D ffj_splash -s $ip -j ACCEPT iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT else @@ -35,10 +33,7 @@ iptables -t nat -X ffj_splash iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user -#iptables -t nat -D ffj_splash -p tcp -j DNAT --to 10.17.200.1:80 iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 -#iptables -t nat -D ffj_splash -j DROP -#iptables -t nat -A ffj_splash -j DROP -- cgit v0.10.1 From 4f4ebc72012354d9cab891dc50d70e5c12fae9f1 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 26 Feb 2011 19:45:59 +0100 Subject: splash now whitelisting jabber and freifunk-jena.de diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index a114297..b8cd219 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -33,6 +33,13 @@ iptables -t nat -X ffj_splash iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user +#Jabber Whitelisting +iptables -t nat -A ffj_splash --destination-port 5222 -j ACCEPT +iptables -t nat -A ffj_splash --destination-port 5223 -j ACCEPT +#Freifunk-Jena Whitelisting +iptables -t nat -A ffj_splash -d freifunk-jena -j ACCEPT +iptables -t nat -A ffj_splash -d www.freifunk-jena -j ACCEPT + iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 -- cgit v0.10.1 From 92f035018b1f84cf1b982202ff79b554d31bfbe7 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 20:22:38 +0100 Subject: * added some divs and css-classes in splash * added link to www.freifunk-jena.de/Decline on "decline" button diff --git a/files/www/splash.html b/files/www/splash.html index 76cd54e..93a306f 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -9,15 +9,16 @@ Freifunk Jena - + +
- +

Willkommen!

@@ -54,9 +55,10 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz -Aktzeptieren Ablehnen +Aktzeptieren Ablehnen
+
-- cgit v0.10.1 From d87be789f1fa5749b4011cfe5e20c35c6de32fa6 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 20:36:27 +0100 Subject: * added body div for centering in splash * added div-id for button-region diff --git a/files/www/splash.html b/files/www/splash.html index 93a306f..d9036e9 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -17,9 +17,9 @@
- - - +

Willkommen!

@@ -54,9 +54,9 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz

- +
-- cgit v0.10.1 From 5cd7c8d6c65f4ed2ad0260b9db96fc54d0bb9600 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 20:36:53 +0100 Subject: * added some css stuff for making the splash a little bit nicer :) diff --git a/files/www/ffj.css b/files/www/ffj.css index 8d1c8b6..7f6cf42 100644 --- a/files/www/ffj.css +++ b/files/www/ffj.css @@ -1 +1,43 @@ - +div#body { +width: 100%; +text-align: center; +} +div#maincontent{ +margin-left: auto; + margin-right: auto; +width: 600px; +font-family: Arial, Verdana, sans-serif; +font-size: 12pt; +text-align: left; +} +div#maincontent a, a:link, a:visited { +color: #464646; +text-decoration: none; +} + +div#buttons{ +width: 100%; +text-align: center; +} +a.button { +border: 1px solid black; +background-color: #E5E5E5; +padding: 5px; +color: black; +font-weight: bold; +border-radius: 5px; +-moz-border-radius: 5px; +-webkit-border-radius: 5px; +} +a.button:hover { +border: 1px solid black; +background-color: grey; +} +div#logo { +height: 125px; +font-size: 24px; +} +img.logo { +float: left; +padding: 5px; +} -- cgit v0.10.1 From 637ce35abf61e3dcaabfd4da6bfec94ecb7093dc Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 26 Feb 2011 20:38:52 +0100 Subject: * removed trailing dot from link to logo and css diff --git a/files/www/splash.html b/files/www/splash.html index d9036e9..23791e3 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -9,7 +9,7 @@ Freifunk Jena - + @@ -18,7 +18,7 @@

Willkommen!

-- cgit v0.10.1 From 64039a1ee25cfede363c9e57a03851906163032b Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 5 Mar 2011 12:34:21 +0100 Subject: Set Channel to 1 Set AP Essid to www.freifunk-jena.de diff --git a/ROADMAP b/ROADMAP index 8638180..118afa7 100644 --- a/ROADMAP +++ b/ROADMAP @@ -17,7 +17,7 @@ v0.1 v0.2 -> Splash Screen (finished) --> n2n +-> n2n (finished) v0.3 -> Openvpn diff --git a/files/etc/config/wireless b/files/etc/config/wireless index ba106d4..3fffe3f 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -1,6 +1,6 @@ config wifi-device wifi0 option type atheros - option channel 5 + option channel config wifi-iface option device wifi0 @@ -12,5 +12,5 @@ config wifi-iface config wifi-iface option device wifi0 option mode ap - option ssid test.freifunk-jena.de + option ssid www.freifunk-jena.de -- cgit v0.10.1 From c37a532c2f62e29690a30d1997d4f3dcd6f6225a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 5 Mar 2011 22:24:08 +0100 Subject: * changed BSSID to correct one according to https://kifuse02.pberg.freifunk.net/moin/channel-bssid-essid diff --git a/files/etc/config/wireless b/files/etc/config/wireless index 3fffe3f..fe6a591 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -6,7 +6,7 @@ config wifi-iface option device wifi0 option mode adhoc option ssid batman.jena.freifunk.net - option bssid 52:CA:FF:EE:BA:BE + option bssid 12:CA:FF:EE:BA:BE option hidden 1 config wifi-iface -- cgit v0.10.1 From be687645221bdd17473b283bfc02a2812fe17638 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 5 Mar 2011 23:21:39 +0100 Subject: * typo correction on accept-link. diff --git a/files/www/splash.html b/files/www/splash.html index 23791e3..b6abfc2 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -55,7 +55,7 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz
-- cgit v0.10.1 From 9f3b5d7b2cf54110ba840d1a6ada6474dfb64e1a Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 00:17:31 +0100 Subject: shame on me diff --git a/files/etc/config/wireless b/files/etc/config/wireless index fe6a591..17dd0b7 100644 --- a/files/etc/config/wireless +++ b/files/etc/config/wireless @@ -1,6 +1,6 @@ config wifi-device wifi0 option type atheros - option channel + option channel 1 config wifi-iface option device wifi0 -- cgit v0.10.1 From c95dd20107ab288d1e18d02417e7e7d81d0d3186 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 00:32:21 +0100 Subject: Add Splash Help Chat diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index b8cd219..52a37b7 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -33,13 +33,16 @@ iptables -t nat -X ffj_splash iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user +#DNS Whitelisting +iptables -t nat -A ffj_splash --destination-port 53 -j ACCEPT #Jabber Whitelisting iptables -t nat -A ffj_splash --destination-port 5222 -j ACCEPT iptables -t nat -A ffj_splash --destination-port 5223 -j ACCEPT #Freifunk-Jena Whitelisting -iptables -t nat -A ffj_splash -d freifunk-jena -j ACCEPT -iptables -t nat -A ffj_splash -d www.freifunk-jena -j ACCEPT - +iptables -t nat -A ffj_splash -d freifunk-jena.de -j ACCEPT +iptables -t nat -A ffj_splash -d www.freifunk-jena.de -j ACCEPT +#Jappix Whitelisting +iptables -t nat -A ffj_splash -d static.jappix.com -j ACCEPT iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 diff --git a/files/www/splash.html b/files/www/splash.html index b6abfc2..eb3af30 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -7,6 +7,15 @@ xml:lang="en" lang="en"> + + + + Freifunk Jena -- cgit v0.10.1 From ded57acb04e3d7fa9073ad28f6d668eb4115be44 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 00:40:42 +0100 Subject: Allow internal traffic without splash diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 52a37b7..5d2c6be 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -38,6 +38,8 @@ iptables -t nat -A ffj_splash --destination-port 53 -j ACCEPT #Jabber Whitelisting iptables -t nat -A ffj_splash --destination-port 5222 -j ACCEPT iptables -t nat -A ffj_splash --destination-port 5223 -j ACCEPT +#Free Wavez in Freifunk +iptables -t nat -A ffj_splash -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT #Freifunk-Jena Whitelisting iptables -t nat -A ffj_splash -d freifunk-jena.de -j ACCEPT iptables -t nat -A ffj_splash -d www.freifunk-jena.de -j ACCEPT -- cgit v0.10.1 From bb65017ec486a21839a85af20865014deeb34a54 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 00:50:48 +0100 Subject: hostname use now hw-addre from ath0 (old was only from ath1) diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network index 8718694..6d51071 100755 --- a/files/etc/rc.d/S40network +++ b/files/etc/rc.d/S40network @@ -29,7 +29,7 @@ boot() { type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ coldplug_interface_$proto "$ifc" done - ifconfig ath1 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname + ifconfig ath0 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname } -- cgit v0.10.1 From 1c5eeb510ae9c6f2689b2cd1b04d4d4f7ad49efa Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 11:10:14 +0100 Subject: fixed bugs on splash/iptables (dport 52 / jabber) diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 5d2c6be..70723b9 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -34,10 +34,10 @@ iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user #DNS Whitelisting -iptables -t nat -A ffj_splash --destination-port 53 -j ACCEPT +iptables -t nat -p udp -A ffj_splash --dport 53 -j ACCEPT #Jabber Whitelisting -iptables -t nat -A ffj_splash --destination-port 5222 -j ACCEPT -iptables -t nat -A ffj_splash --destination-port 5223 -j ACCEPT +iptables -t nat -p tcp -A ffj_splash --dport 5222 -j ACCEPT +iptables -t nat -p tcp -A ffj_splash --dport 5223 -j ACCEPT #Free Wavez in Freifunk iptables -t nat -A ffj_splash -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT #Freifunk-Jena Whitelisting -- cgit v0.10.1 From 2c023b276e5b49eb1fec69d2ca1fb578d2eae4fa Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 19:53:55 +0100 Subject: Bugfix: Uplink-Node only works after reboot diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 5e990d6..61a7292 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -42,6 +42,7 @@ if [[ $router = "j" ]] uci commit batman-adv fi uci commit +/etc/init.d/batman-adv restart #TODO: Generate Subnet #TODO: DHCP Configuration #HINT: Port freifunk-wizzard-leipzig in from lua (http://luci.subsignal.org/trac/browser/luci/branches/luci-0.10/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua) -- cgit v0.10.1 From 9e19c7fafb4363594fa24b48b00e4ac0c229ac26 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sun, 6 Mar 2011 21:05:57 +0100 Subject: * set md5sum of macadress as hostname instead of macadress in plaintext diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network index 6d51071..00ea19a 100755 --- a/files/etc/rc.d/S40network +++ b/files/etc/rc.d/S40network @@ -29,7 +29,7 @@ boot() { type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ coldplug_interface_$proto "$ifc" done - ifconfig ath0 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname + ifconfig ath0 | grep 'HWaddr'| md5sum > /proc/sys/kernel/hostname } -- cgit v0.10.1 From c97b1ae40230d9af5cbb5d58b41407023b67a217 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 7 Mar 2011 00:40:51 +0100 Subject: * bugfix for hostname generation diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network index 00ea19a..b6c7f71 100755 --- a/files/etc/rc.d/S40network +++ b/files/etc/rc.d/S40network @@ -29,7 +29,7 @@ boot() { type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ coldplug_interface_$proto "$ifc" done - ifconfig ath0 | grep 'HWaddr'| md5sum > /proc/sys/kernel/hostname + ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | md5sum | awk 'sub("...$", "")' > /proc/sys/kernel/hostname } -- cgit v0.10.1 From 265ef07980cc1f6458b50544262bad447069523a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Thu, 10 Mar 2011 21:07:29 +0100 Subject: * implemented first version of autoip-search and config for uplinks diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 61a7292..737d0f3 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -6,14 +6,24 @@ if [[ $router = "j" ]] then #Act a a Router #set ipv4 Adress - echo "Bitte geben sie die IP-Adresse des Routers an (siehe http://www.freifunk-jena.de/NodeDB)" - read ipv4_adress + echo "Bitte warten, es wird automatisch eine freie IP ermittelt (Kann bis zu 10 Minuten dauern)" + /etc/init.d/n2n enable + /etc/init.d/n2n start + sleep 10 + for i in `seq 1 254 `; do + LOSS=`ping -c1 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` + sleep 1; + if [[ 99 -lt $LOSS ]]; then + NODE_IP=10.17.$i.1 + break + fi + done #IP Zerlegen - oct1=`echo $ipv4_adress | awk -F . '{print $1}'` - oct2=`echo $ipv4_adress | awk -F . '{print $2}'` - oct3=`echo $ipv4_adress | awk -F . '{print $3}'` - oct4=`echo $ipv4_adress | awk -F . '{print $4}'` - uci set network.mesh.ipaddr=$ipv4_adress + oct1=`echo $NODE_IP | awk -F . '{print $1}'` + oct2=`echo $NODE_IP | awk -F . '{print $2}'` + oct3=`echo $NODE_IP | awk -F . '{print $3}'` + oct4=`echo $NODE_IP | awk -F . '{print $4}'` + uci set network.mesh.ipaddr=$NODE_IP uci set network.mesh.proto=static uci set network.mesh.netmask=255.255.0.0 uci set dhcp.mesh=dhcp -- cgit v0.10.1 From 714e0c078f793eda3cdc3dac9e3548c781c17eb4 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 11 Mar 2011 07:46:07 +0100 Subject: * stripped ip-octet-splitting cause octet 3 is already available diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 737d0f3..710ad5b 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -15,14 +15,11 @@ if [[ $router = "j" ]] sleep 1; if [[ 99 -lt $LOSS ]]; then NODE_IP=10.17.$i.1 + oct3=$i break fi done - #IP Zerlegen - oct1=`echo $NODE_IP | awk -F . '{print $1}'` - oct2=`echo $NODE_IP | awk -F . '{print $2}'` - oct3=`echo $NODE_IP | awk -F . '{print $3}'` - oct4=`echo $NODE_IP | awk -F . '{print $4}'` + uci set network.mesh.ipaddr=$NODE_IP uci set network.mesh.proto=static uci set network.mesh.netmask=255.255.0.0 -- cgit v0.10.1 From e9716c9047d2639e43b35af1ca284fa9847cfa27 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 18 Mar 2011 14:02:36 +0100 Subject: * increased mtu - fixes (hopefully) http://www.freifunk-jena.de/node/266 diff --git a/files/etc/config/network b/files/etc/config/network index 3d73ebc..a6986dd 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -5,9 +5,10 @@ config 'interface' 'loopback' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0' -config 'interface' 'mesh' - option 'type' 'bridge' - option 'ifname' 'bat0 ath0' +config 'interface' 'mesh' + option 'type' 'bridge' + foption 'ifname' 'bat0 ath0' + option 'mtu' '1527' config 'interface' 'lan' option 'type' 'bridge' -- cgit v0.10.1 From b71aa2ac5a73da7f9867cb4822f43de8e3c7e6a2 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 21 Mar 2011 21:21:38 +0100 Subject: * fixed small typo diff --git a/files/etc/config/network b/files/etc/config/network index a6986dd..b0d6d9e 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -7,7 +7,7 @@ config 'interface' 'loopback' config 'interface' 'mesh' option 'type' 'bridge' - foption 'ifname' 'bat0 ath0' + option 'ifname' 'bat0 ath0' option 'mtu' '1527' config 'interface' 'lan' -- cgit v0.10.1 From 3dcc740b7ea020fe908cb9ebc4b94ff9991ca7b5 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 22 Mar 2011 21:28:52 +0100 Subject: * fixed http://www.freifunk-jena.de/node/272 & http://www.freifunk-jena.de/node/271 diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n index 929f463..a069d83 100755 --- a/files/etc/init.d/n2n +++ b/files/etc/init.d/n2n @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2008 OpenWrt.org +[ -n "$IPKG_INSTROOT" ] && exit 0 START=90 config_cb() { -- cgit v0.10.1 From 699805ea56d77dd5f8a69d71874201ea05199c69 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 22 Mar 2011 22:16:23 +0100 Subject: * output the node-ip if router is configured as gateway/uplink diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 710ad5b..6738cc4 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -34,6 +34,10 @@ if [[ $router = "j" ]] # Batman Server Mode uci set batman-adv.bat0.gw_mode=server uci commit batman-adv + echo $'\n\n\n\n' + echo "Einrichtung des Routers abgeschossen! + Dieser Router hat folgende IP: $NODE_IP" + echo $'\n\n\n\n' else # Act as a node only uci del dhcp.mesh -- cgit v0.10.1 From a46b86710fa17eebba5e6ee3dcf489162085e01f Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 22 Mar 2011 22:16:52 +0100 Subject: * increase sleep time after starting n2n edge processes to 20 seconds diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 6738cc4..231fbeb 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -9,7 +9,7 @@ if [[ $router = "j" ]] echo "Bitte warten, es wird automatisch eine freie IP ermittelt (Kann bis zu 10 Minuten dauern)" /etc/init.d/n2n enable /etc/init.d/n2n start - sleep 10 + sleep 20 for i in `seq 1 254 `; do LOSS=`ping -c1 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` sleep 1; -- cgit v0.10.1 From ce31b8ee22995c9c9a8086c72ba53f3986f3cc2a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 22 Mar 2011 22:38:13 +0100 Subject: * deleted some whitespaces diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 231fbeb..b2d316a 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -36,7 +36,7 @@ if [[ $router = "j" ]] uci commit batman-adv echo $'\n\n\n\n' echo "Einrichtung des Routers abgeschossen! - Dieser Router hat folgende IP: $NODE_IP" +Dieser Router hat folgende IP: $NODE_IP" echo $'\n\n\n\n' else # Act as a node only -- cgit v0.10.1 From f71a4df007a7b6ba11ca1b5ad5d816c73cdc9644 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Thu, 24 Mar 2011 11:58:44 +0100 Subject: Splash v2 diff --git a/files/etc/config/uhttpd b/files/etc/config/uhttpd index a424463..8320d42 100644 --- a/files/etc/config/uhttpd +++ b/files/etc/config/uhttpd @@ -5,8 +5,8 @@ config uhttpd main list listen_http 0.0.0.0:80 # Server document root option home /www - option error_page /splash.html - option index_page splash.html + option error_page /cgi-bin/redirect + option index_page cgi-bin/redirect # Reject requests from RFC1918 IP addresses # directed to the servers public IP(s). # This is a DNS rebinding countermeasure. diff --git a/files/www/cgi-bin/redirect b/files/www/cgi-bin/redirect new file mode 100755 index 0000000..75979e2 --- /dev/null +++ b/files/www/cgi-bin/redirect @@ -0,0 +1,8 @@ +#!/bin/sh +echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" +echo -en "Pragma: no-cache\r\n" +echo -en "Expires: -1\r\n" +echo -en "Status: 302 Temporary Redirect\r\n" +echo -en "Location: http://"`uci get network.mesh.ipaddr`"/cgi-bin/splash?http://"`echo $HTTP_HOST$REQUEST_URI`"\r\n" +echo -en "\r\n" +exit 0 diff --git a/files/www/cgi-bin/splash b/files/www/cgi-bin/splash new file mode 100755 index 0000000..2212eba --- /dev/null +++ b/files/www/cgi-bin/splash @@ -0,0 +1,6 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" +targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) +sed "s/targeturl/"$targeturl"/g" /www/splash.html diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click index 32fce2e..b868658 100755 --- a/files/www/cgi-bin/splash_click +++ b/files/www/cgi-bin/splash_click @@ -1,6 +1,6 @@ #!/bin/sh -echo -en "Status: 302 Temporary Redirect\r\n" -echo -en "Location: http://www.freifunk-jena.de\r\n" +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" echo -en "\r\n" . $IPKG_INSTROOT/etc/functions.sh @@ -14,12 +14,15 @@ is_ip() { } #check if user is alredy splashed config_foreach is_ip user +targeturl=$(echo $QUERY_STRING | sed 's/+/ /g; s/%/\\x/g') +sed "s/targeturl/"$targeturl"/g" /www/iframe.html if [ $ISSPLASHED -eq 1 ]; then exit fi #User is now free to go iptables -t nat -I ffj_splash 1 -s $REMOTE_HOST -j ACCEPT + uci add splash_users user uci set splash_users.@user[-1].ip=$REMOTE_HOST uci set splash_users.@user[-1].time=`date +%s` diff --git a/files/www/cgi-bin/status.xml b/files/www/cgi-bin/status.xml new file mode 100755 index 0000000..8d45a90 --- /dev/null +++ b/files/www/cgi-bin/status.xml @@ -0,0 +1,3 @@ +#/bin/bash! +hostname=`hostname` +eval "echo \"$(cat template.status.xml)\"" diff --git a/files/www/cgi-bin/template.status.xml b/files/www/cgi-bin/template.status.xml new file mode 100644 index 0000000..7df4e9f --- /dev/null +++ b/files/www/cgi-bin/template.status.xml @@ -0,0 +1,31 @@ + + + $hostname + 0 + + + + + Max Mustermann + Susi Mustermann + + + + + + + + + + + + + + + + + + + + + diff --git a/files/www/iframe.html b/files/www/iframe.html new file mode 100644 index 0000000..cdee514 --- /dev/null +++ b/files/www/iframe.html @@ -0,0 +1,20 @@ + + + + + + + Freifunk Jena + + + + + + + + + + diff --git a/files/www/splash.html b/files/www/splash.html index eb3af30..e68d199 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -64,7 +64,7 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz
-- cgit v0.10.1 From db88fd5eb19f6dd15f6f1f2892b36c7c7e4c5511 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sun, 15 May 2011 20:16:18 +0200 Subject: * small bugfix for splash-usability on android devices. the buttons were hidden by zoom-ui of android browser diff --git a/files/www/splash.html b/files/www/splash.html index e68d199..c513c94 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -66,7 +66,7 @@ unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akz - +


-- cgit v0.10.1 From c8befd4e85aaf2bda29727a56fe9bd992b1e2477 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 16 May 2011 13:37:16 +0200 Subject: * noted the finalization of splash-layout diff --git a/ROADMAP b/ROADMAP index 118afa7..24a03f8 100644 --- a/ROADMAP +++ b/ROADMAP @@ -23,7 +23,7 @@ v0.3 -> Openvpn -> Splash: -> Whitelisting/Blacklisting - -> Layout + -> Layout (finished) v0.4 -> Vnet-Support -> possibility to configure each port as: diff --git a/TODO b/TODO index 0e15f30..26e4408 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,3 @@ Collection of unpriorized ToDos, for a Roadmap see ROADMAP file - * Freeze the Batman-Adv stuff on next new Version, get rid of trunk (currently we use trunk because the last version of bat-adv doesn't support the gw_mode) + DONE * Freeze the Batman-Adv stuff on next new Version, get rid of trunk (currently we use trunk because the last version of bat-adv doesn't support the gw_mode) -- cgit v0.10.1 From 8df6b508c24623f3bb4df6aef90ae5ac6ec6f5aa Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 16 May 2011 13:38:06 +0200 Subject: * added remote update via netcat to post 1.0 diff --git a/ROADMAP b/ROADMAP index 24a03f8..9f48080 100644 --- a/ROADMAP +++ b/ROADMAP @@ -45,3 +45,4 @@ Post v1.0 -> global node-db for www.freifunk-jena.de -> openvpn auto cert solution (telephone based) -> emergency update system +-> remote update via netcat -- cgit v0.10.1 From 26e429c4907a0286a42d0e6e9a59f020f0a6a449 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 17 May 2011 23:59:03 +0200 Subject: Fixed Bug / Lan ports not working diff --git a/files/etc/config/firewall b/files/etc/config/firewall index bb0a0c5..b61f843 100644 --- a/files/etc/config/firewall +++ b/files/etc/config/firewall @@ -20,6 +20,11 @@ config zone config forwarding option src mesh option dest wan + +config forwarding + option src lan + option dest wan + # We need to accept udp packets on port 68, # see https://dev.openwrt.org/ticket/4108 config rule -- cgit v0.10.1 From 15700b13e36aefaf9e31aef19456aee90defcc98 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Wed, 18 May 2011 00:18:08 +0200 Subject: part #2 lan-port fix diff --git a/files/etc/config/firewall b/files/etc/config/firewall index b61f843..4b702ba 100644 --- a/files/etc/config/firewall +++ b/files/etc/config/firewall @@ -16,7 +16,11 @@ config zone option input ACCEPT option output ACCEPT option forward REJECT - +config zone + option name lan + option input ACCEPT + option output ACCEPT + option forward REJECT config forwarding option src mesh option dest wan -- cgit v0.10.1 From fc5831a7e1fffd5fcff2b63d698e68e4aff584f7 Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 31 May 2011 21:47:47 +0200 Subject: Updated splash html/css. Some further checks are needed diff --git a/files/www/ffj.css b/files/www/ffj.css index 7f6cf42..ca45dde 100644 --- a/files/www/ffj.css +++ b/files/www/ffj.css @@ -13,14 +13,24 @@ text-align: left; div#maincontent a, a:link, a:visited { color: #464646; text-decoration: none; -} +} -div#buttons{ -width: 100%; -text-align: center; +div#button_left{ +float:left; +width: 50%; +text-align:center; } -a.button { -border: 1px solid black; + +div#button_right{ +float:right; +width: 50%; +text-align:center; +} + +input.button{ +border-color:white black black white; +border-style:solid; +border-width:1px; background-color: #E5E5E5; padding: 5px; color: black; @@ -29,7 +39,7 @@ border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } -a.button:hover { +input.button:hover { border: 1px solid black; background-color: grey; } @@ -37,7 +47,7 @@ div#logo { height: 125px; font-size: 24px; } -img.logo { +img.logo { float: left; padding: 5px; } diff --git a/files/www/splash.html b/files/www/splash.html index c513c94..f25db1c 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -1,10 +1,9 @@ + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - + @@ -18,56 +17,71 @@ Freifunk Jena - - + -
-
- - - -

Willkommen!

-

-Du bist jetzt mit dem freien Funknetz Freifunk Jena verbunden.
-Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. -

- -

-Ein Zugang ins Internet ist trotzdem möglich, -da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. -Diese Zugänge müssen sich hier alle teilen. -Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: -

    -
  • bitte keine Filesharing-Programme betreiben!
  • -
  • bitte keine unnötigen Downloads oder Streams starten!
  • -
  • bitte keine illegalen Aktivitäten!
  • -
-

- -

-Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: -

-

- -

-Mit einem Klick auf Akzeptieren kannst du für 1 Stunde(n) -unser Netz verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren. -

- - - -


-
-
+
+
+ + + +

Willkommen!

+

+ Du bist jetzt mit dem freien Funknetz Freifunk Jena verbunden.
+ + Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. +

+ +

+ Ein Zugang ins Internet ist trotzdem möglich, + da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. + Diese Zugänge müssen sich hier alle teilen. + Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: +

+ +
    +
  • bitte keine Filesharing-Programme betreiben!
  • +
  • bitte keine unnötigen Downloads oder Streams starten!
  • +
  • bitte keine illegalen Aktivitäten!
  • +
+ +

+ Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: +

+ + + +

+ Mit einem Klick auf Akzeptieren kannst du für + 1 Stunde(n) unser Netz verwenden. Dann wirst du + erneut aufgefordet, diese Bedingungen zu akzeptieren. +

+ +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ +
+
-- cgit v0.10.1 From 0b57735af218782f294dd05d3cc972db7427253d Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 31 May 2011 22:02:07 +0200 Subject: Fix path for splash css diff --git a/files/www/splash.html b/files/www/splash.html index f25db1c..4556195 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -17,7 +17,7 @@ Freifunk Jena - + -- cgit v0.10.1 From 57025089a1e820ffc58b748b1170cb3ea8a51f51 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 31 May 2011 22:17:17 +0200 Subject: Fixed missing cgi url diff --git a/files/www/splash.html b/files/www/splash.html index 4556195..3605b3e 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -67,7 +67,7 @@
- +
-- cgit v0.10.1 From c45652f1d556b59b6156ba56813bd24cf907e12f Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 31 May 2011 22:07:54 +0200 Subject: Minimal update of splash css for bottons on mouse hover diff --git a/files/www/ffj.css b/files/www/ffj.css index ca45dde..362118c 100644 --- a/files/www/ffj.css +++ b/files/www/ffj.css @@ -4,7 +4,7 @@ text-align: center; } div#maincontent{ margin-left: auto; - margin-right: auto; +margin-right: auto; width: 600px; font-family: Arial, Verdana, sans-serif; font-size: 12pt; @@ -40,8 +40,10 @@ border-radius: 5px; -webkit-border-radius: 5px; } input.button:hover { -border: 1px solid black; background-color: grey; +border-color:white black black white; +border-style:solid; +border-width:1px; } div#logo { height: 125px; -- cgit v0.10.1 From 82b4cfb6735479253dfa0ba2533937e420727975 Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 31 May 2011 22:19:30 +0200 Subject: Decrease space between buttons on splash screen diff --git a/files/www/ffj.css b/files/www/ffj.css index 362118c..e823396 100644 --- a/files/www/ffj.css +++ b/files/www/ffj.css @@ -15,6 +15,12 @@ color: #464646; text-decoration: none; } +div#button_area{ +padding-left:150px; +padding-right:150px; +text-align:center; +} + div#button_left{ float:left; width: 50%; diff --git a/files/www/splash.html b/files/www/splash.html index 3605b3e..a97beae 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -64,23 +64,24 @@ erneut aufgefordet, diese Bedingungen zu akzeptieren.

-
-
-
- - -
-
-
-
-
-
- -
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
-
-- cgit v0.10.1 From afe178dbc5f5f32f5ae11e37eeb9d84d534412db Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 31 May 2011 23:47:08 +0200 Subject: Splash Bug (iframe) fixed diff --git a/files/www/cgi-bin/redirect b/files/www/cgi-bin/redirect index 75979e2..9b417db 100755 --- a/files/www/cgi-bin/redirect +++ b/files/www/cgi-bin/redirect @@ -3,6 +3,6 @@ echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" echo -en "Pragma: no-cache\r\n" echo -en "Expires: -1\r\n" echo -en "Status: 302 Temporary Redirect\r\n" -echo -en "Location: http://"`uci get network.mesh.ipaddr`"/cgi-bin/splash?http://"`echo $HTTP_HOST$REQUEST_URI`"\r\n" +echo -en "Location: http://"`uci get network.mesh.ipaddr`"/cgi-bin/splash?"`/bin/urlencode "$HTTP_HOST$REQUEST_URI"`"\r\n" echo -en "\r\n" exit 0 diff --git a/files/www/cgi-bin/splash b/files/www/cgi-bin/splash index 2212eba..ee907d6 100755 --- a/files/www/cgi-bin/splash +++ b/files/www/cgi-bin/splash @@ -2,5 +2,7 @@ echo -en "Status: 200 OK\r\n" echo -en "Content-Type: text/html\r\n" echo -en "\r\n" -targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) +#targeturl=$(echo $QUERY_STRING) +#targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) +targeturl=`echo $QUERY_STRING` sed "s/targeturl/"$targeturl"/g" /www/splash.html diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click index b868658..b54b15a 100755 --- a/files/www/cgi-bin/splash_click +++ b/files/www/cgi-bin/splash_click @@ -2,7 +2,10 @@ echo -en "Status: 200 OK\r\n" echo -en "Content-Type: text/html\r\n" echo -en "\r\n" - +TEST=`cat ` +TEST=`echo $TEST | sed 's/'target_url='/''/g'` +TEST=`/bin/urldecode "$TEST"` +TEST=`echo $TEST | sed 's/%2F/\//g'` . $IPKG_INSTROOT/etc/functions.sh ISSPLASHED=0 config_load splash_users @@ -14,8 +17,7 @@ is_ip() { } #check if user is alredy splashed config_foreach is_ip user -targeturl=$(echo $QUERY_STRING | sed 's/+/ /g; s/%/\\x/g') -sed "s/targeturl/"$targeturl"/g" /www/iframe.html +sed 's/targeturl/'"$(echo $TEST| sed 's#/#\\/#g')"'/g' /www/iframe.html if [ $ISSPLASHED -eq 1 ]; then exit -- cgit v0.10.1 From 96826beacd9ec7831b7c8f198fdcf3d3422b73f3 Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 7 Jun 2011 22:13:37 +0200 Subject: Use HTML-entities on header as well as fix a little typo diff --git a/files/www/splash.html b/files/www/splash.html index a97beae..c912e35 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -25,7 +25,7 @@

Willkommen!

@@ -55,7 +55,7 @@
  • Werde selbst Freifunker oder teile deinen Internetzugang!
  • Spende ein paar Euro, damit wir unser Netz weiter betreiben und ausbauen können.
  • -
  • Wenn Du selbst privat genutzte WLAN-Geäte betreibst nutze dafür bitte andere Kanäle als wir.
  • +
  • Wenn Du selbst privat genutzte WLAN-Geräte betreibst nutze dafür bitte andere Kanäle als wir.

-- cgit v0.10.1 From 25bebb0da980fd68b30042852974582a3765d3a7 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Wed, 8 Jun 2011 15:27:07 +0200 Subject: * fixed a typo diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 70723b9..3285f97 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -17,7 +17,7 @@ splash_check() { iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT else # User is not longer splashed / the user must click again - iptables -t nat -D ffj_splash -s $ip -j ACCPET + iptables -t nat -D ffj_splash -s $ip -j ACCEPT uci delete splash_users.@user[$x].ip uci delete splash_users.@user[$x].time uci delete splash_users.@user[$x] -- cgit v0.10.1 From b60f00544704962dd316fe5c0d45e33e6f8a7d54 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 13 Jun 2011 09:55:42 +0200 Subject: * first version of vpn test script diff --git a/files/sbin/test_vpn b/files/sbin/test_vpn new file mode 100644 index 0000000..f69b5a7 --- /dev/null +++ b/files/sbin/test_vpn @@ -0,0 +1,15 @@ +#!/bin/sh +TESTHOST=4.2.2.4 +ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null + +if [ $? -ne 0 ] ; then + // IP not reachable -> restart openvpn + /etc/init.d/openvpn restart + sleep 10 + // Test Again + ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null + if [ $? -ne 0 ] ; then + /etc/init.d/openvpn stop + ifdown wan + fi +fi -- cgit v0.10.1 From cb13b89125e831da5abf5a8da42f04cac3aa971b Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 07:43:58 +0200 Subject: * removed hardcoded cront jobs that should only run on gateway-nodes diff --git a/files/etc/crontabs/root b/files/etc/crontabs/root index bf3cb9e..8b13789 100644 --- a/files/etc/crontabs/root +++ b/files/etc/crontabs/root @@ -1,2 +1 @@ -* * * * * /sbin/test_gateway > /dev/null -* * * * * /sbin/splash_sync > /dev/null + -- cgit v0.10.1 From 63abc9603c7e49689128000d66480a2a80966e75 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 07:45:31 +0200 Subject: * Added Cron Jobs to setup_router script for gateway-mode diff --git a/files/sbin/setup_router b/files/sbin/setup_router index b2d316a..b9a1b67 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -34,6 +34,10 @@ if [[ $router = "j" ]] # Batman Server Mode uci set batman-adv.bat0.gw_mode=server uci commit batman-adv + # Add Cron Jobs + echo "* * * * * /sbin/test_gateway > /dev/null" >> /etc/crontabs/root + echo "* * * * * /sbin/splash_sync > /dev/null" >> /etc/crontabs/root + echo $'\n\n\n\n' echo "Einrichtung des Routers abgeschossen! Dieser Router hat folgende IP: $NODE_IP" -- cgit v0.10.1 From 40d0bee138f983a3b604e44b419743e29ffa9f78 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 07:48:48 +0200 Subject: * first implementation of n2n watchdog diff --git a/files/sbin/n2n_watchdog b/files/sbin/n2n_watchdog new file mode 100755 index 0000000..aeedcb7 --- /dev/null +++ b/files/sbin/n2n_watchdog @@ -0,0 +1,24 @@ +#!/bin/ash + +if [[ `uci get batman-adv.bat0.gw_mode` = "server" ]]; then + + n2n_pwd=`wget http://www.freifunk-jena.de/n2n -O - -q` + n2n1_pwd_old=`uci get n2n.@edge[1].key` + n2n2_pwd_old=`uci get n2n.@edge[0].key` + + if [[ $n2n_pwd != $n2n1_pwd_old && $n2n_pwd != "" -o $n2n_pwd != $n2n2_pwd_old && $n2n_pwd != "" ]]; then + uci set n2n.@edge[0].key=$n2n_pwd + uci set n2n.@edge[1].key=$n2n_pwd + uci commit n2n + /etc/init.d/n2n restart + fi + + sleep 5 + n2n_neighbors=`batctl o | grep n2n | wc -l` + + if [[ $n2n_neighbors -lt 1 ]]; then + /etc/init.d/n2n restart + fi +else + exit 0 +fi -- cgit v0.10.1 From 12cf346ffecdf98145f6a09e3c49f40cb578ddac Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 07:49:08 +0200 Subject: * made test_vpn script executable diff --git a/files/sbin/test_vpn b/files/sbin/test_vpn old mode 100644 new mode 100755 -- cgit v0.10.1 From cccaebd600669e72a7215955985597b7d2b3a38a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 07:52:52 +0200 Subject: * send 3 instead of only 1 ping packet because n2n usually kills the first ping packet diff --git a/files/sbin/setup_router b/files/sbin/setup_router index b9a1b67..8bb9bde 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -11,7 +11,7 @@ if [[ $router = "j" ]] /etc/init.d/n2n start sleep 20 for i in `seq 1 254 `; do - LOSS=`ping -c1 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` + LOSS=`ping -c3 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` sleep 1; if [[ 99 -lt $LOSS ]]; then NODE_IP=10.17.$i.1 -- cgit v0.10.1 From eb20406341f6eff798e7cddc56d4576962bf703f Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 08:01:46 +0200 Subject: * small typo in a comment diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 8bb9bde..fa1e7ef 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -52,7 +52,7 @@ Dieser Router hat folgende IP: $NODE_IP" uci commit network echo "Der Router wird als normaler Node konfiguriert" echo - # Batman Clientr Mode + # Batman Client Mode uci set batman-adv.bat0.gw_mode=client uci commit batman-adv fi -- cgit v0.10.1 From f10e8c32205b66814fc772c97e20305e1c0ef869 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 08:02:43 +0200 Subject: * set batman gw_mode to "client" if wan port is going down diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led index c0a7aa4..3b65779 100644 --- a/files/etc/hotplug.d/iface/22-wan_led +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -5,5 +5,7 @@ case "${ACTION:-ifup}" in ;; ifdown) gpioctl dirout 3 + uci set batman-adv.bat0.gw_mode=client + uci commit batman-adv ;; esac -- cgit v0.10.1 From 38f7a87b51271f0118f3f3c72a020d884099e4a9 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 08:03:51 +0200 Subject: * restart batman-adv if wan goes down diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led index 3b65779..097c439 100644 --- a/files/etc/hotplug.d/iface/22-wan_led +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -7,5 +7,6 @@ case "${ACTION:-ifup}" in gpioctl dirout 3 uci set batman-adv.bat0.gw_mode=client uci commit batman-adv + /etc/init.d/batman-adv restart ;; esac diff --git a/files/www/ffj.css b/files/www/ffj.css index e823396..3542611 100644 --- a/files/www/ffj.css +++ b/files/www/ffj.css @@ -5,7 +5,7 @@ text-align: center; div#maincontent{ margin-left: auto; margin-right: auto; -width: 600px; +max-width: 600px; font-family: Arial, Verdana, sans-serif; font-size: 12pt; text-align: left; -- cgit v0.10.1 From 07fb7c9908918995653f2c838ae48712c17b8949 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 08:04:22 +0200 Subject: * set batman-adv gw_mode to server if wan goes up diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led index 097c439..061a499 100644 --- a/files/etc/hotplug.d/iface/22-wan_led +++ b/files/etc/hotplug.d/iface/22-wan_led @@ -2,6 +2,9 @@ case "${ACTION:-ifup}" in ifup) gpioctl set 3 + uci set batman-adv.bat0.gw_mode=server + uci commit batman-adv + /etc/init.d/batman-adv restart ;; ifdown) gpioctl dirout 3 -- cgit v0.10.1 From e52b7d398bc98d77848e134b03047734630099be Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Mon, 20 Jun 2011 23:48:21 +0200 Subject: * added n2n_watchdog to crontab if node-mode is setup to gateway diff --git a/files/sbin/setup_router b/files/sbin/setup_router index fa1e7ef..6188ea0 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -37,6 +37,7 @@ if [[ $router = "j" ]] # Add Cron Jobs echo "* * * * * /sbin/test_gateway > /dev/null" >> /etc/crontabs/root echo "* * * * * /sbin/splash_sync > /dev/null" >> /etc/crontabs/root + echo "*/15 * * * * /sbin/n2n_watchdog > /dev/null" >> /etc/crontabs/root echo $'\n\n\n\n' echo "Einrichtung des Routers abgeschossen! -- cgit v0.10.1 From 6dd756b2460773989b384cfa1a5131cc784d6ff1 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Wed, 22 Jun 2011 00:41:06 +0200 Subject: * do not write splashed users permanently to nand-flash diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 3285f97..f54fbb4 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -21,7 +21,7 @@ splash_check() { uci delete splash_users.@user[$x].ip uci delete splash_users.@user[$x].time uci delete splash_users.@user[$x] - uci commit + fi let x=$x+1 } diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click index b54b15a..92e898a 100755 --- a/files/www/cgi-bin/splash_click +++ b/files/www/cgi-bin/splash_click @@ -28,7 +28,7 @@ iptables -t nat -I ffj_splash 1 -s $REMOTE_HOST -j ACCEPT uci add splash_users user uci set splash_users.@user[-1].ip=$REMOTE_HOST uci set splash_users.@user[-1].time=`date +%s` -uci -q commit > /dev/null + exit 0 -- cgit v0.10.1 From fcc656eab7da3de5fca7c145b2d5162f1edaf6fe Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Wed, 22 Jun 2011 11:36:23 +0200 Subject: * changed jabber-muc on splash from support to chat because more user idle in chat-muc diff --git a/files/www/splash.html b/files/www/splash.html index c912e35..7b85b5e 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -10,7 +10,7 @@ -- cgit v0.10.1 From e002a1adca04354dc9e5b9f8721f9fd55ff2401b Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Thu, 23 Jun 2011 01:14:54 +0200 Subject: * switched splash stuff from ip based to mac based diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index f54fbb4..3a2b0f1 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -7,18 +7,18 @@ myip=`uci get network.mesh.ipaddr` splash_check() { timeout=6000 current_time=`date +%s` - config_get ip "$1" ip + config_get mac "$1" mac config_get time "$1" time local config="$1" let time_check=$time+$timeout if [ $time_check -gt $current_time ]; then # User ist noch gesplashed - iptables -t nat -D ffj_splash -s $ip -j ACCEPT - iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT + iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT + iptables -t nat -I ffj_splash 1 -m mac --mac-source $mac -j ACCEPT else # User is not longer splashed / the user must click again - iptables -t nat -D ffj_splash -s $ip -j ACCEPT - uci delete splash_users.@user[$x].ip + iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT + uci delete splash_users.@user[$x].mac uci delete splash_users.@user[$x].time uci delete splash_users.@user[$x] diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click index 92e898a..d08af6a 100755 --- a/files/www/cgi-bin/splash_click +++ b/files/www/cgi-bin/splash_click @@ -6,28 +6,30 @@ TEST=`cat ` TEST=`echo $TEST | sed 's/'target_url='/''/g'` TEST=`/bin/urldecode "$TEST"` TEST=`echo $TEST | sed 's/%2F/\//g'` +USER_MAC=`cat /proc/net/arp | grep $REMOTE_HOST | awk 'BEGIN { FS = " " } ; { print $4 }'` + . $IPKG_INSTROOT/etc/functions.sh ISSPLASHED=0 config_load splash_users -is_ip() { - config_get ip "$1" ip - if [ "$ip" == "$REMOTE_HOST" ]; then +is_mac() { + config_get mac "$1" mac + if [ "$mac" == "$USER_MAC" ]; then ISSPLASHED=1 fi } #check if user is alredy splashed -config_foreach is_ip user +config_foreach is_mac user sed 's/targeturl/'"$(echo $TEST| sed 's#/#\\/#g')"'/g' /www/iframe.html if [ $ISSPLASHED -eq 1 ]; then exit fi #User is now free to go -iptables -t nat -I ffj_splash 1 -s $REMOTE_HOST -j ACCEPT +iptables -t nat -I ffj_splash 1 -m --mac-source $USER_MAC -j ACCEPT -uci add splash_users user -uci set splash_users.@user[-1].ip=$REMOTE_HOST -uci set splash_users.@user[-1].time=`date +%s` +uci -q add splash_users user +uci -q set splash_users.@user[-1].mac=$USER_MAC +uci -q set splash_users.@user[-1].time=`date +%s` exit 0 -- cgit v0.10.1 From 975ed5138a4651bb3cd89b29281ce914be37d795 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Thu, 23 Jun 2011 01:18:19 +0200 Subject: * updated roadmap with stuff from offline/analog roadmap diff --git a/ROADMAP b/ROADMAP index 9f48080..3b6f40c 100644 --- a/ROADMAP +++ b/ROADMAP @@ -18,12 +18,19 @@ v0.1 v0.2 -> Splash Screen (finished) -> n2n (finished) +-> n2n watchdog (erledigt) +-> autoip bugfix +-> batman-adv settings v0.3 -> Openvpn -> Splash: -> Whitelisting/Blacklisting -> Layout (finished) + -> Webinterface (Status) + -> Cable Bridge / Lan-Port / Switch + -> Non-Uplink-DHCP + -> Non-Uplink-Splash "No Internet available" v0.4 -> Vnet-Support -> possibility to configure each port as: @@ -46,3 +53,10 @@ Post v1.0 -> openvpn auto cert solution (telephone based) -> emergency update system -> remote update via netcat +-> IPv6 +-> Admininterface +-> Karte +-> Auto-IP +-> dnsmasq reload +-> Livestats +-> dezentraler DNS -- cgit v0.10.1 From 183325fb1219e75eb8d1e5c09b1252577ecf6ede Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 14:21:39 +0200 Subject: * added cron restart after setting up the cronjobs diff --git a/files/sbin/setup_router b/files/sbin/setup_router index 6188ea0..36b62e5 100755 --- a/files/sbin/setup_router +++ b/files/sbin/setup_router @@ -38,7 +38,7 @@ if [[ $router = "j" ]] echo "* * * * * /sbin/test_gateway > /dev/null" >> /etc/crontabs/root echo "* * * * * /sbin/splash_sync > /dev/null" >> /etc/crontabs/root echo "*/15 * * * * /sbin/n2n_watchdog > /dev/null" >> /etc/crontabs/root - + /etc/init.d/cron restart echo $'\n\n\n\n' echo "Einrichtung des Routers abgeschossen! Dieser Router hat folgende IP: $NODE_IP" -- cgit v0.10.1 From 571745065914e6234ad1a6d6923e9fda91f63751 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 14:22:01 +0200 Subject: * added output of status messages to syslog diff --git a/files/sbin/n2n_watchdog b/files/sbin/n2n_watchdog index aeedcb7..247753b 100755 --- a/files/sbin/n2n_watchdog +++ b/files/sbin/n2n_watchdog @@ -11,6 +11,7 @@ if [[ `uci get batman-adv.bat0.gw_mode` = "server" ]]; then uci set n2n.@edge[1].key=$n2n_pwd uci commit n2n /etc/init.d/n2n restart + logger "n2n password updated and restarted (new password)" fi sleep 5 @@ -18,6 +19,7 @@ if [[ `uci get batman-adv.bat0.gw_mode` = "server" ]]; then if [[ $n2n_neighbors -lt 1 ]]; then /etc/init.d/n2n restart + logger "n2n restarted (no neighbors via n2n)" fi else exit 0 -- cgit v0.10.1 From b96b0121a223c2782d8705e093dac6c3c289bdb3 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 16:17:08 +0200 Subject: * added ath0 mac to n2n-devices, for better identification of nodes reachable via n2n diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n index a069d83..24e0050 100755 --- a/files/etc/init.d/n2n +++ b/files/etc/init.d/n2n @@ -16,9 +16,10 @@ config_cb() { config_get key "$cfg" key config_get_bool route "$cfg" route 0 config_get devname "$cfg" devname + node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n"` [ "$route" = "1" ] && args='-r' if [ "$ipaddr" != "" ]; then - edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -l ${supernode}:${port} + edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m ${node_mac} -l ${supernode}:${port} ifconfig $devname 0.0.0.0 batctl if add $devname fi -- cgit v0.10.1 From c3b9936252914878a7c65a80a766f015b4337846 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 19:08:48 +0200 Subject: * added mobile pubkeys of darkeye and egon0 diff --git a/files/etc/dropbear/authorized_keys b/files/etc/dropbear/authorized_keys index 0464311..ed898bc 100644 --- a/files/etc/dropbear/authorized_keys +++ b/files/etc/dropbear/authorized_keys @@ -2,3 +2,7 @@ ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== # Darkeye (Freifunk Jena) martinmichel@die-guten-partei.de ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== +# Darkeye (Freifunk Jena) - mobile +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB7QDvtIcbm2u4bnMVrQro+iFkQEsAHC/nbk8I/V85CpZObiofVWD7xJd/UMU9zxhWJ2UG+aVThNX9vwSHfmBYMfMljFXIRG8vo94uVZmEUvgfMDXAoOE7EhLBXGAx+Z1f4/rwoTWE0b/Nb/CfnxfDTbNYQgrjx9pyMY6CtYMddqjsBmq9ZzO/w4+WUZJXIy7imWkKna7czG20AMUNuo7AvcOlU1rgZIVyi2hN31DvuJNLSDXSDCkxMwcV0iukYnNiGk7N/xReBLKHbp9aUk0/TOr+H7cBjQwkXZPheoPsq3CZfolHQiQxjMGwFQlw+ZnrURDaOGFU6u1sAWZDwj2DaFh4YFaPHH8gKJvsE0vjxzWCc3vmFctCLwGLeLoc7Ghz35q066LX9i972w9HQ1YRcrKLAGDmhkzAQqaX3dT7bsgvylTi+nvhr0iYZ9wg44TDd+KGfm+BHtXOxCmr4MzJWOooQi83gr7ZoqGL3rwK8t2dDDORA9sb6sAe+Srj0GXUxbIRWmJY99JOlIocBGRzsUQ08kulsNryQrgk5iwxqSZy0TAGVisZ2Uz5SfNSYbpKLn3IbNtl2TPvFazdMb0RfXhZpcxoPgbf6UmQBQJdI11e6ga6Evn5KIIT6GvtQQDxwdyn/CggEbnXj20nAp8== +# egon0 (Freifunk Jena) - mobile +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYdPDqvxN2+oZQr1QEAgcpFgRq7QAk6lNT4f5mFiDII07tlx7KMgWGX5C3hbgHpJgVWXx9uC5aB0qQOO8h0KV0AODQDz9bu7P9SvmpZt0isXzV5jh+b/lzMfwlzZt0tmqOUxzN6JkzBfsaQjMEViSsu/bhQG0nPehiEVykrJeMVPngX9hfA6UMj04hhkUY0bG+ET1JpUCSSXKkvPJHKOfGa9gPeZewSasGnxjwzQ5M2Ikn4CtQuDCIrVnjEvb/rAH3So9TSjV31dx10O6vYY2qAnS/oviQSN9NP729CQLSCaBFv4Z5I7WJaXAxkYSRvC8fzTq62nOXWi3rWg2jfSnsbyEkqQGJ5z6ZaiDIi2tHuXfVoLlCdnaVmgPtQuhGQLamrnOvvn+PJBptPgGWl74g/H/UEsT0v60c6jgfp5jtrEk25Bgk7QITp/aykRf6uGjEfwnatZSs43D2y9TU6EPH0oy2tN0MI+XKU2PwoXme1BwAhpKPawnNY495BmLqyn0u3Fr8C1IqD2nCaLhk8OGVEW3BZAy2wdb2V1huTq0SkEMhILrDLKslZwGpO2mtMRrHwAhk6S220zSOH+B9seNK7P42pNBc0pqP6rJrVRxfjpq/+fA4wjE+ojQagQhTAHuK/SsA79gE/vTtlRGOy2nW7D5hmidaiiqptTxuTENULQ== galaxy -- cgit v0.10.1 From ba9f49dae8a9fea2ae8deb61aff7910332f3868d Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 19:14:38 +0200 Subject: * killall -9 edge to force n2n stopping diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n index 24e0050..ae44b8b 100755 --- a/files/etc/init.d/n2n +++ b/files/etc/init.d/n2n @@ -37,6 +37,6 @@ start() { config_load n2n } stop() { - killall edge + killall -9 edge killall supernode } -- cgit v0.10.1 From 3b3b49e18f72ea2dd5855f8ed7f89480562b4954 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Fri, 24 Jun 2011 19:20:44 +0200 Subject: * removed because of unused change (hostname change should be done elsewhere) diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network deleted file mode 100755 index b6c7f71..0000000 --- a/files/etc/rc.d/S40network +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -START=40 -STOP=90 - -boot() { - setup_switch() { return 0; } - - include /lib/network - setup_switch - grep -qs config /etc/config/wireless && { - /sbin/wifi up - } || { - rm -f /etc/config/wireless - /sbin/wifi detect > /etc/config/wireless - } - - scan_interfaces - - local ifc - for ifc in $interfaces; do - local proto - config_get proto "$ifc" proto - - local auto - config_get_bool auto "$ifc" auto 1 - - type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ - coldplug_interface_$proto "$ifc" - done - ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | md5sum | awk 'sub("...$", "")' > /proc/sys/kernel/hostname - -} - -start() { - setup_switch() { return 0; } - - include /lib/network - setup_switch - ifup -a - /sbin/wifi up -} - -stop() { - ifdown -a -} - -restart() { - start -} -- cgit v0.10.1 From 621d12b6d0144a344d4ba80eadc35c9cfe856d92 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 25 Jun 2011 11:56:39 +0200 Subject: * do not use the complete ath0 mac, only the last 4 bytes with 2 prefix-bytes "12:34" diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n index ae44b8b..22d7a36 100755 --- a/files/etc/init.d/n2n +++ b/files/etc/init.d/n2n @@ -16,10 +16,10 @@ config_cb() { config_get key "$cfg" key config_get_bool route "$cfg" route 0 config_get devname "$cfg" devname - node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n"` + node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | cut -c6-` [ "$route" = "1" ] && args='-r' if [ "$ipaddr" != "" ]; then - edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m ${node_mac} -l ${supernode}:${port} + edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m 12:34${node_mac} -l ${supernode}:${port} ifconfig $devname 0.0.0.0 batctl if add $devname fi -- cgit v0.10.1 From 425e20c0b13cb117e4d2fff04f523478a0618e24 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Sat, 25 Jun 2011 12:39:34 +0200 Subject: * added radomization for the second bit of the used mac-address (n2n) diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n index 22d7a36..26f2e72 100755 --- a/files/etc/init.d/n2n +++ b/files/etc/init.d/n2n @@ -19,7 +19,8 @@ config_cb() { node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | cut -c6-` [ "$route" = "1" ] && args='-r' if [ "$ipaddr" != "" ]; then - edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m 12:34${node_mac} -l ${supernode}:${port} + mac_random=`echo $(head -30 /dev/urandom | tr -dc "0123456789" | head -c2)` + edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m 12:${mac_random}${node_mac} -l ${supernode}:${port} ifconfig $devname 0.0.0.0 batctl if add $devname fi -- cgit v0.10.1 From 9ae01954ef11947693894cf188d75603ab161aac Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 07:34:24 +0000 Subject: add makefile to generate images diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8457a1 --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +.NOTPARALLEL: + +.PHONY: openwrt/backfire +openwrt/backfire/.repo_access: + mkdir -p openwrt + cd openwrt && svn co svn://svn.openwrt.org/openwrt/branches/backfire + cd $(@D) && ./scripts/feeds update + cd $(@D) && make package/symlinks + touch $@ + +update/%: openwrt/% + cd $< && svn update + cd $< && ./scripts/feeds update + cd $< && make package/symlinks + touch $ # Fri Oct 14 21:52:41 2011 +77c77 +< CONFIG_TARGET_ar71xx_Default=y +--- +> # CONFIG_TARGET_ar71xx_Default is not set +95c95 +< # CONFIG_TARGET_ar71xx_TLWR741NDV1 is not set +--- +> CONFIG_TARGET_ar71xx_TLWR741NDV1=y +195,197d194 +< CONFIG_DEFAULT_kmod-usb-core=y +< CONFIG_DEFAULT_kmod-usb-ohci=y +< CONFIG_DEFAULT_kmod-usb2=y diff --git a/config/backfire-ar71xx-tl-wr841nd-v5.patch b/config/backfire-ar71xx-tl-wr841nd-v5.patch new file mode 100644 index 0000000..b0678e5 --- /dev/null +++ b/config/backfire-ar71xx-tl-wr841nd-v5.patch @@ -0,0 +1,16 @@ +4c4 +< # Fri Oct 14 21:30:27 2011 +--- +> # Fri Oct 14 21:29:25 2011 +77c77 +< CONFIG_TARGET_ar71xx_Default=y +--- +> # CONFIG_TARGET_ar71xx_Default is not set +99c99 +< # CONFIG_TARGET_ar71xx_TLWR841NDV5 is not set +--- +> CONFIG_TARGET_ar71xx_TLWR841NDV5=y +195,197d194 +< CONFIG_DEFAULT_kmod-usb-core=y +< CONFIG_DEFAULT_kmod-usb-ohci=y +< CONFIG_DEFAULT_kmod-usb2=y diff --git a/config/backfire-ar71xx.patch b/config/backfire-ar71xx.patch new file mode 100644 index 0000000..e69de29 diff --git a/config/backfire.config b/config/backfire.config new file mode 100644 index 0000000..70fe933 --- /dev/null +++ b/config/backfire.config @@ -0,0 +1,3263 @@ +# +# Automatically generated make config: don't edit +# OpenWrt version: Backfire (r28443) +# Fri Oct 14 21:30:27 2011 +# +CONFIG_HAVE_DOT_CONFIG=y +# CONFIG_TARGET_ppc40x is not set +# CONFIG_TARGET_ppc44x is not set +# CONFIG_TARGET_atheros is not set +CONFIG_TARGET_ar71xx=y +# CONFIG_TARGET_avr32 is not set +# CONFIG_TARGET_brcm63xx is not set +# CONFIG_TARGET_brcm47xx is not set +# CONFIG_TARGET_brcm_2_4 is not set +# CONFIG_TARGET_octeon is not set +# CONFIG_TARGET_cobalt is not set +# CONFIG_TARGET_adm5120 is not set +# CONFIG_TARGET_xburst is not set +# CONFIG_TARGET_ixp4xx is not set +# CONFIG_TARGET_lantiq is not set +# CONFIG_TARGET_kirkwood is not set +# CONFIG_TARGET_orion is not set +# CONFIG_TARGET_rb532 is not set +# CONFIG_TARGET_rdc is not set +# CONFIG_TARGET_au1000 is not set +# CONFIG_TARGET_ar7 is not set +# CONFIG_TARGET_uml is not set +# CONFIG_TARGET_x86 is not set +# CONFIG_TARGET_orion_generic_Default is not set +# CONFIG_TARGET_orion_harddisk_Default is not set +# CONFIG_TARGET_brcm63xx_Broadcom is not set +# CONFIG_TARGET_brcm63xx_Atheros is not set +# CONFIG_TARGET_brcm63xx_Ralink is not set +# CONFIG_TARGET_brcm63xx_NoWiFi is not set +# CONFIG_TARGET_brcm63xx_GW6X00 is not set +# CONFIG_TARGET_avr32_Default is not set +# CONFIG_TARGET_brcm47xx_Broadcom-b43 is not set +# CONFIG_TARGET_brcm47xx_Atheros is not set +# CONFIG_TARGET_brcm47xx_Atheros-ath5k is not set +# CONFIG_TARGET_brcm47xx_None is not set +# CONFIG_TARGET_brcm47xx_WGT634U is not set +# CONFIG_TARGET_brcm47xx_WL500GPv1 is not set +# CONFIG_TARGET_brcm47xx_WRT350Nv1 is not set +# CONFIG_TARGET_brcm47xx_WRTSL54GS is not set +# CONFIG_TARGET_adm5120_router_le_Generic is not set +# CONFIG_TARGET_adm5120_router_le_CAS630 is not set +# CONFIG_TARGET_adm5120_router_le_CAS630W is not set +# CONFIG_TARGET_adm5120_router_le_CAS670 is not set +# CONFIG_TARGET_adm5120_router_le_CAS670W is not set +# CONFIG_TARGET_adm5120_router_le_CAS700 is not set +# CONFIG_TARGET_adm5120_router_le_CAS700W is not set +# CONFIG_TARGET_adm5120_router_le_CAS771 is not set +# CONFIG_TARGET_adm5120_router_le_CAS771W is not set +# CONFIG_TARGET_adm5120_router_le_CAS790 is not set +# CONFIG_TARGET_adm5120_router_le_CAS861 is not set +# CONFIG_TARGET_adm5120_router_le_CAS861W is not set +# CONFIG_TARGET_adm5120_router_le_NFS101U is not set +# CONFIG_TARGET_adm5120_router_le_NFS101WU is not set +# CONFIG_TARGET_adm5120_router_le_NP27G is not set +# CONFIG_TARGET_adm5120_router_le_NP28G is not set +# CONFIG_TARGET_adm5120_router_le_WP54 is not set +# CONFIG_TARGET_adm5120_router_le_BR6104K is not set +# CONFIG_TARGET_adm5120_router_le_BR6104KP is not set +# CONFIG_TARGET_adm5120_router_le_BR6104WG is not set +# CONFIG_TARGET_adm5120_router_le_BR6114WG is not set +# CONFIG_TARGET_adm5120_router_le_EASY5120RT is not set +# CONFIG_TARGET_adm5120_router_le_EASY5120PATA is not set +# CONFIG_TARGET_adm5120_router_le_PMUGW is not set +# CONFIG_TARGET_adm5120_router_le_5GXI is not set +# CONFIG_TARGET_adm5120_router_le_RouterBoard is not set +# CONFIG_TARGET_adm5120_router_be_Generic is not set +# CONFIG_TARGET_adm5120_router_be_P334WT is not set +# CONFIG_TARGET_adm5120_router_be_P335WT is not set +# CONFIG_TARGET_octeon_generic is not set +# CONFIG_TARGET_octeon_mototech is not set +# CONFIG_TARGET_octeon_simulator is not set +CONFIG_TARGET_ar71xx_Default=y +# CONFIG_TARGET_ar71xx_DefaultNoWifi is not set +# CONFIG_TARGET_ar71xx_Madwifi is not set +# CONFIG_TARGET_ar71xx_AP81 is not set +# CONFIG_TARGET_ar71xx_AP83 is not set +# CONFIG_TARGET_ar71xx_PB42 is not set +# CONFIG_TARGET_ar71xx_PB44 is not set +# CONFIG_TARGET_ar71xx_A02RBW300N is not set +# CONFIG_TARGET_ar71xx_WZRHPG300NH is not set +# CONFIG_TARGET_ar71xx_WP543 is not set +# CONFIG_TARGET_ar71xx_DIR600A1 is not set +# CONFIG_TARGET_ar71xx_DIR615C1 is not set +# CONFIG_TARGET_ar71xx_DIR825B1 is not set +# CONFIG_TARGET_ar71xx_WRT160NL is not set +# CONFIG_TARGET_ar71xx_WRT400N is not set +# CONFIG_TARGET_ar71xx_WNDR3700 is not set +# CONFIG_TARGET_ar71xx_MZKW04NU is not set +# CONFIG_TARGET_ar71xx_MZKW300NH is not set +# CONFIG_TARGET_ar71xx_TLWR741NDV1 is not set +# CONFIG_TARGET_ar71xx_TLWR740NV1 is not set +# CONFIG_TARGET_ar71xx_TLWR841NV15 is not set +# CONFIG_TARGET_ar71xx_TLWR841NDV3 is not set +# CONFIG_TARGET_ar71xx_TLWR841NDV5 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV2 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV3 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV4 is not set +# CONFIG_TARGET_ar71xx_TLWR1043NDV1 is not set +# CONFIG_TARGET_ar71xx_TEW632BRP is not set +# CONFIG_TARGET_ar71xx_TEW652BRP is not set +# CONFIG_TARGET_ar71xx_UBNTRS is not set +# CONFIG_TARGET_ar71xx_UBNTRSPRO is not set +# CONFIG_TARGET_ar71xx_UBNT is not set +# CONFIG_TARGET_cobalt_Default is not set +# CONFIG_TARGET_uml_Default is not set +# CONFIG_TARGET_rb532_Default is not set +# CONFIG_TARGET_lantiq_falcon_Generic is not set +# CONFIG_TARGET_lantiq_falcon_EASY98000 is not set +# CONFIG_TARGET_lantiq_falcon_EASY98020 is not set +# CONFIG_TARGET_lantiq_danube_Generic is not set +# CONFIG_TARGET_lantiq_danube_EASY50712 is not set +# CONFIG_TARGET_lantiq_danube_ARV3527P is not set +# CONFIG_TARGET_lantiq_danube_ARV4510PW is not set +# CONFIG_TARGET_lantiq_danube_ARV4518PW is not set +# CONFIG_TARGET_lantiq_danube_ARV4520PW is not set +# CONFIG_TARGET_lantiq_danube_ARV4525PW is not set +# CONFIG_TARGET_lantiq_danube_ARV452CPW is not set +# CONFIG_TARGET_lantiq_danube_ARV752DPW22 is not set +# CONFIG_TARGET_lantiq_danube_ARV7518PW is not set +# CONFIG_TARGET_lantiq_danube_GIGASX76X is not set +# CONFIG_TARGET_lantiq_ar9_Generic is not set +# CONFIG_TARGET_lantiq_ar9_EASY50812 is not set +# CONFIG_TARGET_lantiq_ar9_DGN3500B is not set +# CONFIG_TARGET_lantiq_ase_Generic is not set +# CONFIG_TARGET_lantiq_ase_EASY50601 is not set +# CONFIG_TARGET_xburst_qi_lb60_Default is not set +# CONFIG_TARGET_xburst_n516_Default is not set +# CONFIG_TARGET_xburst_n526_Default is not set +# CONFIG_TARGET_kirkwood_Default is not set +# CONFIG_TARGET_brcm_2_4_Broadcom is not set +# CONFIG_TARGET_brcm_2_4_BroadcomMimo is not set +# CONFIG_TARGET_brcm_2_4_None is not set +# CONFIG_TARGET_brcm_2_4_USBGeneric is not set +# CONFIG_TARGET_brcm_2_4_WL500G is not set +# CONFIG_TARGET_brcm_2_4_WL500GD is not set +# CONFIG_TARGET_brcm_2_4_WL500GP is not set +# CONFIG_TARGET_brcm_2_4_WL700GE is not set +# CONFIG_TARGET_brcm_2_4_WLHDD is not set +# CONFIG_TARGET_brcm_2_4_WRT300Nv11 is not set +# CONFIG_TARGET_brcm_2_4_WRT54G3G is not set +# CONFIG_TARGET_brcm_2_4_WRT610Nv1 is not set +# CONFIG_TARGET_ppc40x_Default is not set +# CONFIG_TARGET_atheros_Default is not set +# CONFIG_TARGET_au1000_au1500_Atheros is not set +# CONFIG_TARGET_au1000_au1500_InternetBox is not set +# CONFIG_TARGET_au1000_au1500_MeshCube is not set +# CONFIG_TARGET_au1000_au1550_DBAu1550 is not set +# CONFIG_TARGET_x86_generic_Generic is not set +# CONFIG_TARGET_x86_generic_Alix is not set +# CONFIG_TARGET_x86_generic_Soekris45xx is not set +# CONFIG_TARGET_x86_generic_Soekris48xx is not set +# CONFIG_TARGET_x86_generic_Wrap is not set +# CONFIG_TARGET_x86_olpc_Default is not set +# CONFIG_TARGET_x86_xen_domu_Default is not set +# CONFIG_TARGET_x86_ep80579_Default is not set +# CONFIG_TARGET_rdc_ar525w is not set +# CONFIG_TARGET_rdc_bifferboard is not set +# CONFIG_TARGET_rdc_r8610 is not set +# CONFIG_TARGET_rdc_sitecom is not set +# CONFIG_TARGET_ppc44x_Default is not set +# CONFIG_TARGET_ixp4xx_generic_Default is not set +# CONFIG_TARGET_ixp4xx_generic_Atheros-ath5k is not set +# CONFIG_TARGET_ixp4xx_generic_NSLU2 is not set +# CONFIG_TARGET_ixp4xx_generic_NAS100d is not set +# CONFIG_TARGET_ixp4xx_generic_DSMG600RevA is not set +# CONFIG_TARGET_ixp4xx_generic_USR8200 is not set +# CONFIG_TARGET_ixp4xx_harddisk_FSG3 is not set +# CONFIG_TARGET_ar7_Annex-A is not set +# CONFIG_TARGET_ar7_Annex-B is not set +# CONFIG_TARGET_ar7_Texas is not set +# CONFIG_TARGET_ar7_None is not set +CONFIG_TARGET_BOARD="ar71xx" +CONFIG_TARGET_ARCH_PACKAGES="ar71xx" +CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time" +CONFIG_LINUX_2_6_32=y +CONFIG_DEFAULT_base-files=y +CONFIG_DEFAULT_busybox=y +CONFIG_DEFAULT_dnsmasq=y +CONFIG_DEFAULT_dropbear=y +CONFIG_DEFAULT_firewall=y +CONFIG_DEFAULT_hotplug2=y +CONFIG_DEFAULT_iptables=y +CONFIG_DEFAULT_kmod-ath9k=y +CONFIG_DEFAULT_kmod-button-hotplug=y +CONFIG_DEFAULT_kmod-input-core=y +CONFIG_DEFAULT_kmod-input-gpio-buttons=y +CONFIG_DEFAULT_kmod-input-polldev=y +CONFIG_DEFAULT_kmod-ipt-nathelper=y +CONFIG_DEFAULT_kmod-leds-gpio=y +CONFIG_DEFAULT_kmod-usb-core=y +CONFIG_DEFAULT_kmod-usb-ohci=y +CONFIG_DEFAULT_kmod-usb2=y +CONFIG_DEFAULT_libc=y +CONFIG_DEFAULT_libgcc=y +CONFIG_DEFAULT_mtd=y +CONFIG_DEFAULT_opkg=y +CONFIG_DEFAULT_ppp=y +CONFIG_DEFAULT_ppp-mod-pppoe=y +CONFIG_DEFAULT_swconfig=y +CONFIG_DEFAULT_uci=y +CONFIG_DEFAULT_udevtrigger=y +CONFIG_DEFAULT_wpad-mini=y +CONFIG_LINUX_2_6=y +CONFIG_AUDIO_SUPPORT=y +CONFIG_GPIO_SUPPORT=y +CONFIG_PCI_SUPPORT=y +CONFIG_USB_SUPPORT=y +CONFIG_BIG_ENDIAN=y +CONFIG_USES_SQUASHFS=y +CONFIG_USES_JFFS2=y +CONFIG_USES_TARGZ=y +CONFIG_mips=y +CONFIG_ARCH="mips" + +# +# Target Images +# +# CONFIG_TARGET_ROOTFS_INITRAMFS is not set + +# +# Root filesystem archives +# +# CONFIG_TARGET_ROOTFS_CPIOGZ is not set +CONFIG_TARGET_ROOTFS_TARGZ=y + +# +# Root filesystem images +# +# CONFIG_TARGET_ROOTFS_EXT2FS is not set +CONFIG_TARGET_ROOTFS_JFFS2=y +CONFIG_TARGET_ROOTFS_SQUASHFS=y + +# +# Image Options +# + +# +# Global build settings +# +# CONFIG_ALL is not set + +# +# General build options +# +# CONFIG_DISPLAY_SUPPORT is not set +CONFIG_BUILD_PATENTED=y +# CONFIG_BUILD_NLS is not set +CONFIG_LARGEFILE=y +CONFIG_SHADOW_PASSWORDS=y +# CONFIG_CLEAN_IPKG is not set +# CONFIG_COLLECT_KERNEL_DEBUG is not set + +# +# Kernel build options +# +CONFIG_KERNEL_DEBUG_FS=y +# CONFIG_KERNEL_PROFILING is not set +# CONFIG_KERNEL_KALLSYMS is not set +# CONFIG_KERNEL_DEBUG_KERNEL is not set +# CONFIG_KERNEL_DEBUG_INFO is not set + +# +# Package build options +# +# CONFIG_DEBUG is not set +CONFIG_IPV6=y + +# +# Stripping options +# +# CONFIG_NO_STRIP is not set +# CONFIG_USE_STRIP is not set +CONFIG_USE_SSTRIP=y +CONFIG_STRIP_KERNEL_EXPORTS=y +# CONFIG_DEVEL is not set +# CONFIG_BROKEN is not set +CONFIG_DOWNLOAD_FOLDER="" +CONFIG_LOCALMIRROR="" +CONFIG_AUTOREBUILD=y +CONFIG_BUILD_SUFFIX="" +CONFIG_TARGET_ROOTFS_DIR="" +# CONFIG_CCACHE is not set +CONFIG_EXTERNAL_KERNEL_TREE="" +CONFIG_KERNEL_GIT_CLONE_URI="" +CONFIG_KERNEL_GIT_LOCAL_REPOSITORY="" +CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time" +CONFIG_SOFT_FLOAT=y +# CONFIG_EXTRA_TARGET_ARCH is not set +CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="" +CONFIG_BINUTILS_VERSION="2.19.1" +CONFIG_GCC_VERSION_4_3_3_CS=y +CONFIG_EXTRA_GCC_CONFIG_OPTIONS="" +# CONFIG_SSP_SUPPORT is not set +CONFIG_INSTALL_LIBSTDCPP=y +# CONFIG_INSTALL_LIBGCJ is not set +CONFIG_USE_UCLIBC=y +CONFIG_UCLIBC_VERSION_0_9_30_1=y +# CONFIG_GDB is not set +# CONFIG_INSIGHT is not set +CONFIG_GCC_VERSION="4.3.3+cs" +CONFIG_GCC_VERSION_4=y +CONFIG_GCC_VERSION_4_3=y +CONFIG_UCLIBC_VERSION="0.9.30.1" +CONFIG_LIBC="uClibc" +CONFIG_LIBC_VERSION="0.9.30.1" +CONFIG_TARGET_SUFFIX="uclibc" +# CONFIG_IB is not set +# CONFIG_SDK is not set +# CONFIG_MAKE_TOOLCHAIN is not set +CONFIG_IMAGEOPT=y +CONFIG_UCI_PRECONFIG_network_lan_dns="" +CONFIG_UCI_PRECONFIG_network_lan_proto="static" +CONFIG_UCI_PRECONFIG_network_lan_gateway="192.168.2.4" +CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0" +CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.2.1" +# CONFIG_PREINITOPT is not set +CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y +CONFIG_TARGET_PREINIT_TIMEOUT=2 +# CONFIG_TARGET_PREINIT_SHOW_NETMSG is not set +# CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG is not set +CONFIG_TARGET_PREINIT_IFNAME="" +CONFIG_TARGET_PREINIT_IP="192.168.1.1" +CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0" +CONFIG_TARGET_PREINIT_BROADCAST="192.168.1.255" +# CONFIG_INITOPT is not set +CONFIG_TARGET_INIT_PATH="/bin:/sbin:/usr/bin:/usr/sbin" +CONFIG_TARGET_INIT_ENV="" +CONFIG_TARGET_INIT_CMD="/sbin/init" +CONFIG_TARGET_INIT_SUPPRESS_STDERR=y + +# +# Package features +# +CONFIG_FEATURE_drawing-backend_DirectFB=y +# CONFIG_FEATURE_drawing-backend_libX11 is not set + +# +# Base system +# +CONFIG_PACKAGE_base-files=y +CONFIG_EXTROOT_SETTLETIME=20 +# CONFIG_PACKAGE_block-hotplug is not set +# CONFIG_PACKAGE_block-mount is not set +# CONFIG_PACKAGE_br2684ctl is not set +CONFIG_PACKAGE_bridge=y +CONFIG_PACKAGE_busybox=y + +# +# Configuration +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_DEVFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_2_6_MODULES=y +# CONFIG_BUSYBOX_CONFIG_NOMMU is not set +# CONFIG_CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_BUSYBOX_CONFIG_HUSH is not set +CONFIG_BUSYBOX_CONFIG_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_BUSYBOX_CONFIG_DESKTOP is not set +# CONFIG_BUSYBOX_CONFIG_EXTRA_COMPAT is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_BUSYBOX_CONFIG_SHOW_USAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_INSTALLER is not set +# CONFIG_BUSYBOX_CONFIG_LOCALE_SUPPORT is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_ASSUME_UNICODE is not set +CONFIG_BUSYBOX_CONFIG_LONG_OPTS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DEVPTS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PIDFILE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_SUID=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_BUSYBOX_CONFIG_SELINUX is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_APPLETS=y +CONFIG_BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y + +# +# Build Options +# +# CONFIG_BUSYBOX_CONFIG_STATIC is not set +# CONFIG_BUSYBOX_CONFIG_PIE is not set +CONFIG_BUSYBOX_CONFIG_LFS=y +CONFIG_BUSYBOX_CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_BUSYBOX_CONFIG_EXTRA_CFLAGS="" + +# +# Debugging Options +# +# CONFIG_BUSYBOX_CONFIG_DEBUG is not set +# CONFIG_BUSYBOX_CONFIG_WERROR is not set +CONFIG_BUSYBOX_CONFIG_NO_DEBUG_LIB=y +# CONFIG_BUSYBOX_CONFIG_DMALLOC is not set +# CONFIG_BUSYBOX_CONFIG_EFENCE is not set +CONFIG_BUSYBOX_CONFIG_INCLUDE_SUSv2=y + +# +# Installation Options +# +# CONFIG_BUSYBOX_CONFIG_INSTALL_NO_USR is not set +CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_DONT is not set +CONFIG_BUSYBOX_CONFIG_PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_BUSYBOX_CONFIG_PASSWORD_MINLEN=6 +CONFIG_BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED=2 +CONFIG_BUSYBOX_CONFIG_FEATURE_FAST_TOP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING=y +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN=512 +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_VI is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY=256 +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_COPYBUF_KB=4 +# CONFIG_BUSYBOX_CONFIG_MONOTONIC_SYSCALL is not set +CONFIG_BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWIB is not set + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z is not set +# CONFIG_BUSYBOX_CONFIG_AR is not set +CONFIG_BUSYBOX_CONFIG_BUNZIP2=y +# CONFIG_BUSYBOX_CONFIG_BZIP2 is not set +# CONFIG_BUSYBOX_CONFIG_CPIO is not set +# CONFIG_BUSYBOX_CONFIG_DPKG is not set +# CONFIG_BUSYBOX_CONFIG_DPKG_DEB is not set +CONFIG_BUSYBOX_CONFIG_GUNZIP=y +CONFIG_BUSYBOX_CONFIG_GZIP=y +# CONFIG_BUSYBOX_CONFIG_LZOP is not set +# CONFIG_BUSYBOX_CONFIG_RPM2CPIO is not set +# CONFIG_BUSYBOX_CONFIG_RPM is not set +CONFIG_BUSYBOX_CONFIG_TAR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_CREATE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_FROM=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_BUSYBOX_CONFIG_UNCOMPRESS is not set +# CONFIG_BUSYBOX_CONFIG_UNLZMA is not set +# CONFIG_BUSYBOX_CONFIG_UNZIP is not set + +# +# Coreutils +# +CONFIG_BUSYBOX_CONFIG_BASENAME=y +# CONFIG_BUSYBOX_CONFIG_CAL is not set +CONFIG_BUSYBOX_CONFIG_CAT=y +# CONFIG_BUSYBOX_CONFIG_CATV is not set +CONFIG_BUSYBOX_CONFIG_CHGRP=y +CONFIG_BUSYBOX_CONFIG_CHMOD=y +CONFIG_BUSYBOX_CONFIG_CHOWN=y +CONFIG_BUSYBOX_CONFIG_CHROOT=y +# CONFIG_BUSYBOX_CONFIG_CKSUM is not set +# CONFIG_BUSYBOX_CONFIG_COMM is not set +CONFIG_BUSYBOX_CONFIG_CP=y +CONFIG_BUSYBOX_CONFIG_CUT=y +CONFIG_BUSYBOX_CONFIG_DATE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT=y +CONFIG_BUSYBOX_CONFIG_DD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS is not set +CONFIG_BUSYBOX_CONFIG_DF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DF_FANCY is not set +CONFIG_BUSYBOX_CONFIG_DIRNAME=y +# CONFIG_BUSYBOX_CONFIG_DOS2UNIX is not set +CONFIG_BUSYBOX_CONFIG_DU=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_BUSYBOX_CONFIG_ECHO=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_BUSYBOX_CONFIG_ENV=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_EXPAND is not set +CONFIG_BUSYBOX_CONFIG_EXPR=y +CONFIG_BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_BUSYBOX_CONFIG_FALSE=y +# CONFIG_BUSYBOX_CONFIG_FOLD is not set +# CONFIG_BUSYBOX_CONFIG_FSYNC is not set +CONFIG_BUSYBOX_CONFIG_HEAD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_HEAD=y +CONFIG_BUSYBOX_CONFIG_HOSTID=y +CONFIG_BUSYBOX_CONFIG_ID=y +# CONFIG_BUSYBOX_CONFIG_INSTALL is not set +CONFIG_BUSYBOX_CONFIG_LENGTH=y +CONFIG_BUSYBOX_CONFIG_LN=y +# CONFIG_BUSYBOX_CONFIG_LOGNAME is not set +CONFIG_BUSYBOX_CONFIG_LS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_USERNAME=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y +CONFIG_BUSYBOX_CONFIG_MD5SUM=y +CONFIG_BUSYBOX_CONFIG_MKDIR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_MKFIFO=y +CONFIG_BUSYBOX_CONFIG_MKNOD=y +CONFIG_BUSYBOX_CONFIG_MV=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_NICE=y +# CONFIG_BUSYBOX_CONFIG_NOHUP is not set +# CONFIG_BUSYBOX_CONFIG_OD is not set +# CONFIG_BUSYBOX_CONFIG_PRINTENV is not set +CONFIG_BUSYBOX_CONFIG_PRINTF=y +CONFIG_BUSYBOX_CONFIG_PWD=y +# CONFIG_BUSYBOX_CONFIG_READLINK is not set +# CONFIG_BUSYBOX_CONFIG_REALPATH is not set +CONFIG_BUSYBOX_CONFIG_RM=y +CONFIG_BUSYBOX_CONFIG_RMDIR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_SEQ=y +# CONFIG_BUSYBOX_CONFIG_SHA1SUM is not set +# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set +# CONFIG_BUSYBOX_CONFIG_SHA512SUM is not set +CONFIG_BUSYBOX_CONFIG_SLEEP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_BUSYBOX_CONFIG_SORT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SORT_BIG is not set +# CONFIG_BUSYBOX_CONFIG_SPLIT is not set +# CONFIG_BUSYBOX_CONFIG_STAT is not set +# CONFIG_BUSYBOX_CONFIG_STTY is not set +# CONFIG_BUSYBOX_CONFIG_SUM is not set +CONFIG_BUSYBOX_CONFIG_SYNC=y +# CONFIG_BUSYBOX_CONFIG_TAC is not set +CONFIG_BUSYBOX_CONFIG_TAIL=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_BUSYBOX_CONFIG_TEE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO=y +CONFIG_BUSYBOX_CONFIG_TEST=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TEST_64=y +CONFIG_BUSYBOX_CONFIG_TOUCH=y +CONFIG_BUSYBOX_CONFIG_TR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_CLASSES is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_EQUIV is not set +CONFIG_BUSYBOX_CONFIG_TRUE=y +# CONFIG_BUSYBOX_CONFIG_TTY is not set +CONFIG_BUSYBOX_CONFIG_UNAME=y +# CONFIG_BUSYBOX_CONFIG_UNEXPAND is not set +CONFIG_BUSYBOX_CONFIG_UNIQ=y +# CONFIG_BUSYBOX_CONFIG_USLEEP is not set +# CONFIG_BUSYBOX_CONFIG_UUDECODE is not set +# CONFIG_BUSYBOX_CONFIG_UUENCODE is not set +CONFIG_BUSYBOX_CONFIG_WC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE is not set +# CONFIG_BUSYBOX_CONFIG_WHO is not set +# CONFIG_BUSYBOX_CONFIG_WHOAMI is not set +CONFIG_BUSYBOX_CONFIG_YES=y + +# +# Common options for cp and mv +# +CONFIG_BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for ls, more and telnet +# +CONFIG_BUSYBOX_CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum +# +CONFIG_BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y + +# +# Console Utilities +# +# CONFIG_BUSYBOX_CONFIG_CHVT is not set +CONFIG_BUSYBOX_CONFIG_CLEAR=y +# CONFIG_BUSYBOX_CONFIG_DEALLOCVT is not set +# CONFIG_BUSYBOX_CONFIG_DUMPKMAP is not set +# CONFIG_BUSYBOX_CONFIG_KBD_MODE is not set +# CONFIG_BUSYBOX_CONFIG_LOADFONT is not set +# CONFIG_BUSYBOX_CONFIG_LOADKMAP is not set +# CONFIG_BUSYBOX_CONFIG_OPENVT is not set +CONFIG_BUSYBOX_CONFIG_RESET=y +# CONFIG_BUSYBOX_CONFIG_RESIZE is not set +# CONFIG_BUSYBOX_CONFIG_SETCONSOLE is not set +# CONFIG_BUSYBOX_CONFIG_SETFONT is not set +# CONFIG_BUSYBOX_CONFIG_SETKEYCODES is not set +# CONFIG_BUSYBOX_CONFIG_SETLOGCONS is not set +# CONFIG_BUSYBOX_CONFIG_SHOWKEY is not set + +# +# Debian Utilities +# +CONFIG_BUSYBOX_CONFIG_MKTEMP=y +# CONFIG_BUSYBOX_CONFIG_PIPE_PROGRESS is not set +# CONFIG_BUSYBOX_CONFIG_RUN_PARTS is not set +CONFIG_BUSYBOX_CONFIG_START_STOP_DAEMON=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_WHICH=y + +# +# Editors +# +CONFIG_BUSYBOX_CONFIG_AWK=y +CONFIG_BUSYBOX_CONFIG_FEATURE_AWK_LIBM=y +# CONFIG_BUSYBOX_CONFIG_CMP is not set +CONFIG_BUSYBOX_CONFIG_DIFF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_BINARY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_DIR is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL is not set +# CONFIG_BUSYBOX_CONFIG_ED is not set +# CONFIG_BUSYBOX_CONFIG_PATCH is not set +CONFIG_BUSYBOX_CONFIG_SED=y +CONFIG_BUSYBOX_CONFIG_VI=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN=1024 +# CONFIG_BUSYBOX_CONFIG_FEATURE_VI_8BIT is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_COLON=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SEARCH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_READONLY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SETOPTS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_BUSYBOX_CONFIG_FIND=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRINT0=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MTIME is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MMIN is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PERM=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_TYPE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_XDEV=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NEWER is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_INUM is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_EXEC=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_USER=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_GROUP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NOT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PAREN=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_SIZE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRUNE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PATH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_REGEX=y +CONFIG_BUSYBOX_CONFIG_GREP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_BUSYBOX_CONFIG_XARGS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y + +# +# Init Utilities +# +CONFIG_BUSYBOX_CONFIG_INIT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_KILL_REMOVED is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INITRD is not set +CONFIG_BUSYBOX_CONFIG_HALT=y +CONFIG_BUSYBOX_CONFIG_MESG=y + +# +# Login/Password Management Utilities +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS is not set +# CONFIG_BUSYBOX_CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_BUSYBOX_CONFIG_USE_BB_CRYPT is not set +# CONFIG_BUSYBOX_CONFIG_ADDGROUP is not set +# CONFIG_BUSYBOX_CONFIG_DELGROUP is not set +# CONFIG_BUSYBOX_CONFIG_ADDUSER is not set +# CONFIG_BUSYBOX_CONFIG_DELUSER is not set +# CONFIG_BUSYBOX_CONFIG_GETTY is not set +# CONFIG_BUSYBOX_CONFIG_LOGIN is not set +CONFIG_BUSYBOX_CONFIG_PASSWD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK=y +# CONFIG_BUSYBOX_CONFIG_CRYPTPW is not set +# CONFIG_BUSYBOX_CONFIG_CHPASSWD is not set +# CONFIG_BUSYBOX_CONFIG_SU is not set +# CONFIG_BUSYBOX_CONFIG_SULOGIN is not set +# CONFIG_BUSYBOX_CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +# CONFIG_BUSYBOX_CONFIG_CHATTR is not set +# CONFIG_BUSYBOX_CONFIG_FSCK is not set +# CONFIG_BUSYBOX_CONFIG_LSATTR is not set + +# +# Linux Module Utilities +# +# CONFIG_BUSYBOX_CONFIG_MODPROBE_SMALL is not set +CONFIG_BUSYBOX_CONFIG_INSMOD=y +CONFIG_BUSYBOX_CONFIG_RMMOD=y +CONFIG_BUSYBOX_CONFIG_LSMOD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y +# CONFIG_BUSYBOX_CONFIG_MODPROBE is not set +# CONFIG_BUSYBOX_CONFIG_DEPMOD is not set + +# +# Options common to multiple modutils +# +CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules" + +# +# Linux System Utilities +# +# CONFIG_BUSYBOX_CONFIG_ACPID is not set +CONFIG_BUSYBOX_CONFIG_BLKID=y +CONFIG_BUSYBOX_CONFIG_DMESG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY=y +# CONFIG_BUSYBOX_CONFIG_FBSET is not set +# CONFIG_BUSYBOX_CONFIG_FDFLUSH is not set +# CONFIG_BUSYBOX_CONFIG_FDFORMAT is not set +# CONFIG_BUSYBOX_CONFIG_FDISK is not set +CONFIG_BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS=y +# CONFIG_BUSYBOX_CONFIG_FINDFS is not set +# CONFIG_BUSYBOX_CONFIG_FREERAMDISK is not set +# CONFIG_BUSYBOX_CONFIG_FSCK_MINIX is not set +# CONFIG_BUSYBOX_CONFIG_MKFS_MINIX is not set +# CONFIG_BUSYBOX_CONFIG_MKFS_VFAT is not set +# CONFIG_BUSYBOX_CONFIG_GETOPT is not set +CONFIG_BUSYBOX_CONFIG_HEXDUMP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE is not set +# CONFIG_BUSYBOX_CONFIG_HD is not set +CONFIG_BUSYBOX_CONFIG_HWCLOCK=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# CONFIG_BUSYBOX_CONFIG_IPCRM is not set +# CONFIG_BUSYBOX_CONFIG_IPCS is not set +# CONFIG_BUSYBOX_CONFIG_LOSETUP is not set +# CONFIG_BUSYBOX_CONFIG_MDEV is not set +CONFIG_BUSYBOX_CONFIG_MKSWAP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID=y +# CONFIG_BUSYBOX_CONFIG_MORE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_USE_TERMIOS is not set +CONFIG_BUSYBOX_CONFIG_VOLUMEID=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_XFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LUKS is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set +CONFIG_BUSYBOX_CONFIG_MOUNT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_NFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_BUSYBOX_CONFIG_PIVOT_ROOT=y +CONFIG_BUSYBOX_CONFIG_RDATE=y +# CONFIG_BUSYBOX_CONFIG_RDEV is not set +# CONFIG_BUSYBOX_CONFIG_READPROFILE is not set +# CONFIG_BUSYBOX_CONFIG_RTCWAKE is not set +# CONFIG_BUSYBOX_CONFIG_SCRIPT is not set +# CONFIG_BUSYBOX_CONFIG_SCRIPTREPLAY is not set +# CONFIG_BUSYBOX_CONFIG_SETARCH is not set +CONFIG_BUSYBOX_CONFIG_SWAPONOFF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SWAPON_PRI is not set +CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y +CONFIG_BUSYBOX_CONFIG_UMOUNT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y + +# +# Common options for mount/umount +# +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT is not set + +# +# Miscellaneous Utilities +# +# CONFIG_BUSYBOX_CONFIG_ADJTIMEX is not set +# CONFIG_BUSYBOX_CONFIG_BBCONFIG is not set +# CONFIG_BUSYBOX_CONFIG_BEEP is not set +# CONFIG_BUSYBOX_CONFIG_CHAT is not set +# CONFIG_BUSYBOX_CONFIG_CHRT is not set +CONFIG_BUSYBOX_CONFIG_CROND=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_D is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_DIR="/var/spool/cron" +CONFIG_BUSYBOX_CONFIG_CRONTAB=y +# CONFIG_BUSYBOX_CONFIG_DC is not set +# CONFIG_BUSYBOX_CONFIG_DEVFSD is not set +# CONFIG_BUSYBOX_CONFIG_DEVMEM is not set +# CONFIG_BUSYBOX_CONFIG_EJECT is not set +# CONFIG_BUSYBOX_CONFIG_FBSPLASH is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_LOCK is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_UNLOCK is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_ERASEALL is not set +# CONFIG_BUSYBOX_CONFIG_IONICE is not set +# CONFIG_BUSYBOX_CONFIG_INOTIFYD is not set +# CONFIG_BUSYBOX_CONFIG_LAST is not set +CONFIG_BUSYBOX_CONFIG_LESS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES=9999999 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_BUSYBOX_CONFIG_HDPARM is not set +CONFIG_BUSYBOX_CONFIG_LOCK=y +# CONFIG_BUSYBOX_CONFIG_MAKEDEVS is not set +# CONFIG_BUSYBOX_CONFIG_MAN is not set +# CONFIG_BUSYBOX_CONFIG_MICROCOM is not set +# CONFIG_BUSYBOX_CONFIG_MOUNTPOINT is not set +# CONFIG_BUSYBOX_CONFIG_MT is not set +# CONFIG_BUSYBOX_CONFIG_RAIDAUTORUN is not set +# CONFIG_BUSYBOX_CONFIG_READAHEAD is not set +# CONFIG_BUSYBOX_CONFIG_RUNLEVEL is not set +# CONFIG_BUSYBOX_CONFIG_RX is not set +# CONFIG_BUSYBOX_CONFIG_SETSID is not set +CONFIG_BUSYBOX_CONFIG_STRINGS=y +# CONFIG_BUSYBOX_CONFIG_TASKSET is not set +CONFIG_BUSYBOX_CONFIG_TIME=y +# CONFIG_BUSYBOX_CONFIG_TIMEOUT is not set +# CONFIG_BUSYBOX_CONFIG_TTYSIZE is not set +# CONFIG_BUSYBOX_CONFIG_VOLNAME is not set +CONFIG_BUSYBOX_CONFIG_WATCHDOG=y + +# +# Networking Utilities +# +CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +CONFIG_BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS=y +# CONFIG_BUSYBOX_CONFIG_ARP is not set +CONFIG_BUSYBOX_CONFIG_ARPING=y +CONFIG_BUSYBOX_CONFIG_BRCTL=y +CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW=y +# CONFIG_BUSYBOX_CONFIG_DNSD is not set +# CONFIG_BUSYBOX_CONFIG_ETHER_WAKE is not set +# CONFIG_BUSYBOX_CONFIG_FAKEIDENTD is not set +# CONFIG_BUSYBOX_CONFIG_FTPD is not set +# CONFIG_BUSYBOX_CONFIG_FTPGET is not set +# CONFIG_BUSYBOX_CONFIG_FTPPUT is not set +# CONFIG_BUSYBOX_CONFIG_HOSTNAME is not set +# CONFIG_BUSYBOX_CONFIG_HTTPD is not set +CONFIG_BUSYBOX_CONFIG_IFCONFIG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y +# CONFIG_BUSYBOX_CONFIG_IFENSLAVE is not set +# CONFIG_BUSYBOX_CONFIG_IFPLUGD is not set +# CONFIG_BUSYBOX_CONFIG_IFUPDOWN is not set +# CONFIG_BUSYBOX_CONFIG_INETD is not set +# CONFIG_BUSYBOX_CONFIG_IP is not set +# CONFIG_BUSYBOX_CONFIG_IPCALC is not set +# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set +CONFIG_BUSYBOX_CONFIG_NC=y +CONFIG_BUSYBOX_CONFIG_NETMSG=y +# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set +# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set +CONFIG_BUSYBOX_CONFIG_NETSTAT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG=y +CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y +CONFIG_BUSYBOX_CONFIG_PING=y +CONFIG_BUSYBOX_CONFIG_PING6=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING=y +# CONFIG_BUSYBOX_CONFIG_PSCAN is not set +CONFIG_BUSYBOX_CONFIG_ROUTE=y +# CONFIG_BUSYBOX_CONFIG_SLATTACH is not set +CONFIG_BUSYBOX_CONFIG_TELNET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN is not set +CONFIG_BUSYBOX_CONFIG_TELNETD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE=y +# CONFIG_BUSYBOX_CONFIG_TFTP is not set +# CONFIG_BUSYBOX_CONFIG_TFTPD is not set +CONFIG_BUSYBOX_CONFIG_TRACEROUTE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_BUSYBOX_CONFIG_APP_UDHCPD is not set +CONFIG_BUSYBOX_CONFIG_APP_UDHCPC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_BUSYBOX_CONFIG_UDHCP_DEBUG=0 +CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397=y +CONFIG_BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +CONFIG_BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_BUSYBOX_CONFIG_VCONFIG=y +CONFIG_BUSYBOX_CONFIG_WGET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS=y +# CONFIG_BUSYBOX_CONFIG_ZCIP is not set +# CONFIG_BUSYBOX_CONFIG_TCPSVD is not set +# CONFIG_BUSYBOX_CONFIG_TUNCTL is not set +# CONFIG_BUSYBOX_CONFIG_UDPSVD is not set + +# +# Print Utilities +# +# CONFIG_BUSYBOX_CONFIG_LPD is not set +# CONFIG_BUSYBOX_CONFIG_LPR is not set +# CONFIG_BUSYBOX_CONFIG_LPQ is not set + +# +# Mail Utilities +# +# CONFIG_BUSYBOX_CONFIG_MAKEMIME is not set +# CONFIG_BUSYBOX_CONFIG_POPMAILDIR is not set +# CONFIG_BUSYBOX_CONFIG_REFORMIME is not set +# CONFIG_BUSYBOX_CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +CONFIG_BUSYBOX_CONFIG_FREE=y +# CONFIG_BUSYBOX_CONFIG_FUSER is not set +CONFIG_BUSYBOX_CONFIG_KILL=y +CONFIG_BUSYBOX_CONFIG_KILLALL=y +CONFIG_BUSYBOX_CONFIG_KILLALL5=y +# CONFIG_BUSYBOX_CONFIG_NMETER is not set +CONFIG_BUSYBOX_CONFIG_PGREP=y +CONFIG_BUSYBOX_CONFIG_PIDOF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT is not set +CONFIG_BUSYBOX_CONFIG_PKILL=y +CONFIG_BUSYBOX_CONFIG_PS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_PS_WIDE is not set +# CONFIG_BUSYBOX_CONFIG_RENICE is not set +CONFIG_BUSYBOX_CONFIG_BB_SYSCTL=y +CONFIG_BUSYBOX_CONFIG_TOP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOPMEM is not set +CONFIG_BUSYBOX_CONFIG_UPTIME=y +# CONFIG_BUSYBOX_CONFIG_WATCH is not set + +# +# Runit Utilities +# +# CONFIG_BUSYBOX_CONFIG_RUNSV is not set +# CONFIG_BUSYBOX_CONFIG_RUNSVDIR is not set +# CONFIG_BUSYBOX_CONFIG_SV is not set +# CONFIG_BUSYBOX_CONFIG_SVLOGD is not set +# CONFIG_BUSYBOX_CONFIG_CHPST is not set +# CONFIG_BUSYBOX_CONFIG_SETUIDGID is not set +# CONFIG_BUSYBOX_CONFIG_ENVUIDGID is not set +# CONFIG_BUSYBOX_CONFIG_ENVDIR is not set +# CONFIG_BUSYBOX_CONFIG_SOFTLIMIT is not set + +# +# Shells +# +CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_NONE is not set +CONFIG_BUSYBOX_CONFIG_ASH=y +CONFIG_BUSYBOX_CONFIG_ASH_BASH_COMPAT=y +CONFIG_BUSYBOX_CONFIG_ASH_JOB_CONTROL=y +# CONFIG_BUSYBOX_CONFIG_ASH_READ_NCHARS is not set +CONFIG_BUSYBOX_CONFIG_ASH_READ_TIMEOUT=y +CONFIG_BUSYBOX_CONFIG_ASH_ALIAS=y +CONFIG_BUSYBOX_CONFIG_ASH_GETOPTS=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_ECHO=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_PRINTF=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y +CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y +# CONFIG_BUSYBOX_CONFIG_ASH_MAIL is not set +# CONFIG_BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set +# CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT=y +# CONFIG_BUSYBOX_CONFIG_LASH is not set +# CONFIG_BUSYBOX_CONFIG_MSH is not set +CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT=y +CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT_64=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_NOFORK is not set +# CONFIG_BUSYBOX_CONFIG_CTTYHACK is not set + +# +# System Logging Utilities +# +CONFIG_BUSYBOX_CONFIG_SYSLOGD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_REMOTE_LOG=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_BUSYBOX_CONFIG_LOGREAD=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set +CONFIG_BUSYBOX_CONFIG_KLOGD=y +CONFIG_BUSYBOX_CONFIG_LOGGER=y +# CONFIG_PACKAGE_dash is not set +CONFIG_PACKAGE_dnsmasq=y +# CONFIG_PACKAGE_dropbear is not set +# CONFIG_PACKAGE_ead is not set +CONFIG_PACKAGE_firewall=y +CONFIG_PACKAGE_hotplug2=y +CONFIG_PACKAGE_libc=y +CONFIG_PACKAGE_libgcc=y +CONFIG_PACKAGE_libpthread=y +CONFIG_PACKAGE_librt=y +# CONFIG_PACKAGE_libstdcpp is not set +# CONFIG_PACKAGE_mksh is not set +CONFIG_PACKAGE_mtd=y +# CONFIG_PACKAGE_nvram is not set +# CONFIG_PACKAGE_opkg is not set +# CONFIG_PACKAGE_qos-scripts is not set +# CONFIG_PACKAGE_resolveip is not set +CONFIG_PACKAGE_swconfig=y +CONFIG_PACKAGE_uci=y +# CONFIG_PACKAGE_ucitrigger is not set +# CONFIG_PACKAGE_udev is not set +CONFIG_PACKAGE_udevtrigger=y +CONFIG_PACKAGE_wireless-tools=y + +# +# IPv6 +# + +# +# IPv6 attack and analyzing toolset (thc-ipv6) +# +# CONFIG_PACKAGE_alive6 is not set +# CONFIG_PACKAGE_detect-new-ip6 is not set +# CONFIG_PACKAGE_dos-new-ip6 is not set +# CONFIG_PACKAGE_fake_advertise6 is not set +# CONFIG_PACKAGE_fake_mipv6 is not set +# CONFIG_PACKAGE_fake_mld6 is not set +# CONFIG_PACKAGE_fake_router6 is not set +# CONFIG_PACKAGE_parasite6 is not set +# CONFIG_PACKAGE_redir6 is not set +# CONFIG_PACKAGE_rsmurf6 is not set +# CONFIG_PACKAGE_smurf6 is not set +# CONFIG_PACKAGE_toobig6 is not set + +# +# IPv6 discovery tools +# +# CONFIG_PACKAGE_ndisc6 is not set +# CONFIG_PACKAGE_rdisc6 is not set +# CONFIG_PACKAGE_rdnssd is not set +# CONFIG_PACKAGE_tcptraceroute6 is not set + +# +# firewall +# +# CONFIG_PACKAGE_shorewall6-lite is not set + +# +# miredo: Teredo (IPv6 tunneling over UDP through NAT) +# +# CONFIG_PACKAGE_miredo-client is not set +# CONFIG_PACKAGE_miredo-common is not set +# CONFIG_PACKAGE_miredo-server is not set + +# +# wide-dhcpv6 +# +# CONFIG_PACKAGE_wide-dhcpv6-client is not set +# CONFIG_PACKAGE_wide-dhcpv6-control is not set +# CONFIG_PACKAGE_wide-dhcpv6-relay is not set +# CONFIG_PACKAGE_wide-dhcpv6-server is not set +# CONFIG_PACKAGE_6in4 is not set +# CONFIG_PACKAGE_6scripts is not set +# CONFIG_PACKAGE_6to4 is not set +# CONFIG_PACKAGE_6tunnel is not set +# CONFIG_PACKAGE_ahcpd is not set +# CONFIG_PACKAGE_aiccu is not set +# CONFIG_PACKAGE_bird6 is not set +# CONFIG_PACKAGE_birdc6 is not set +# CONFIG_PACKAGE_dhcp6-client is not set +# CONFIG_PACKAGE_dhcp6-server is not set +# CONFIG_PACKAGE_dibbler-client is not set +# CONFIG_PACKAGE_dibbler-poslib is not set +# CONFIG_PACKAGE_dibbler-relay is not set +# CONFIG_PACKAGE_dibbler-server is not set +# CONFIG_PACKAGE_gw6c is not set +# CONFIG_PACKAGE_ip6tables is not set +# CONFIG_PACKAGE_ipv6calc is not set +# CONFIG_PACKAGE_mrd6 is not set +# CONFIG_PACKAGE_ptrtd is not set +# CONFIG_PACKAGE_radvd is not set +# CONFIG_PACKAGE_radvdump is not set +# CONFIG_PACKAGE_send is not set +# CONFIG_PACKAGE_totd is not set +# CONFIG_PACKAGE_tspc is not set + +# +# LuCI +# + +# +# Applications +# +# CONFIG_PACKAGE_luci-app-ahcp is not set +# CONFIG_PACKAGE_luci-app-ddns is not set +# CONFIG_PACKAGE_luci-app-diag-core is not set +# CONFIG_PACKAGE_luci-app-diag-devinfo is not set +# CONFIG_PACKAGE_luci-app-ffwizard is not set +# CONFIG_PACKAGE_luci-app-firewall is not set +# CONFIG_PACKAGE_luci-app-freifunk-policyrouting is not set +# CONFIG_PACKAGE_luci-app-hd-idle is not set +# CONFIG_PACKAGE_luci-app-lqtapifoss is not set +# CONFIG_PACKAGE_luci-app-meshwizard is not set +# CONFIG_PACKAGE_luci-app-mmc-over-gpio is not set +# CONFIG_PACKAGE_luci-app-multiwan is not set +# CONFIG_PACKAGE_luci-app-ntpc is not set +# CONFIG_PACKAGE_luci-app-olsr is not set +# CONFIG_PACKAGE_luci-app-olsr-viz is not set +# CONFIG_PACKAGE_luci-app-openvpn is not set +# CONFIG_PACKAGE_luci-app-p2pblock is not set +# CONFIG_PACKAGE_luci-app-p910nd is not set +# CONFIG_PACKAGE_luci-app-polipo is not set +# CONFIG_PACKAGE_luci-app-qos is not set +# CONFIG_PACKAGE_luci-app-radvd is not set +# CONFIG_PACKAGE_luci-app-samba is not set +# CONFIG_PACKAGE_luci-app-siitwizard is not set +# CONFIG_PACKAGE_luci-app-splash is not set +# CONFIG_PACKAGE_luci-app-statistics is not set +# CONFIG_PACKAGE_luci-app-tinyproxy is not set +# CONFIG_PACKAGE_luci-app-upnp is not set +# CONFIG_PACKAGE_luci-app-ushare is not set +# CONFIG_PACKAGE_luci-app-vnstat is not set +# CONFIG_PACKAGE_luci-app-voice-core is not set +# CONFIG_PACKAGE_luci-app-voice-diag is not set +# CONFIG_PACKAGE_luci-app-wol is not set + +# +# Collections +# +# CONFIG_PACKAGE_luci is not set +# CONFIG_PACKAGE_luci-ssl is not set + +# +# Freifunk +# +# CONFIG_PACKAGE_freifunk-firewall is not set +# CONFIG_PACKAGE_freifunk-p2pblock is not set +# CONFIG_PACKAGE_freifunk-policyrouting is not set +# CONFIG_PACKAGE_freifunk-watchdog is not set +# CONFIG_PACKAGE_luci-mod-freifunk-community is not set +# CONFIG_PACKAGE_meshwizard is not set +# CONFIG_PACKAGE_remote-update is not set + +# +# Libraries +# +# CONFIG_PACKAGE_libiwinfo is not set +# CONFIG_PACKAGE_luci-lib-core is not set +# CONFIG_PACKAGE_luci-lib-core_compile is not set +# CONFIG_PACKAGE_luci-lib-core_stripped is not set +# CONFIG_PACKAGE_luci-lib-core_srcdiet is not set +CONFIG_PACKAGE_luci-lib-core_source=y +# CONFIG_PACKAGE_luci-lib-fastindex is not set +# CONFIG_PACKAGE_luci-lib-httpclient is not set +# CONFIG_PACKAGE_luci-lib-ipkg is not set +# CONFIG_PACKAGE_luci-lib-json is not set +# CONFIG_PACKAGE_luci-lib-lmo is not set +# CONFIG_PACKAGE_luci-lib-lucid is not set +# CONFIG_PACKAGE_luci-lib-lucid-http is not set +# CONFIG_PACKAGE_luci-lib-lucid-rpc is not set +# CONFIG_PACKAGE_luci-lib-nixio is not set +CONFIG_PACKAGE_luci-lib-nixio_notls=y +# CONFIG_PACKAGE_luci-lib-nixio_axtls is not set +# CONFIG_PACKAGE_luci-lib-nixio_cyassl is not set +# CONFIG_PACKAGE_luci-lib-nixio_openssl is not set +# CONFIG_PACKAGE_luci-lib-px5g is not set +# CONFIG_PACKAGE_luci-lib-sys is not set +# CONFIG_PACKAGE_luci-lib-web is not set + +# +# Modules +# +# CONFIG_PACKAGE_luci-mod-admin-core is not set +# CONFIG_PACKAGE_luci-mod-admin-full is not set +# CONFIG_PACKAGE_luci-mod-freifunk is not set +# CONFIG_PACKAGE_luci-mod-rpc is not set + +# +# Server Interfaces +# +# CONFIG_PACKAGE_luci-sgi-cgi is not set +# CONFIG_PACKAGE_luci-sgi-uhttpd is not set + +# +# Themes +# +# CONFIG_PACKAGE_luci-theme-base is not set +# CONFIG_PACKAGE_luci-theme-fledermaus is not set +# CONFIG_PACKAGE_luci-theme-freifunk is not set +# CONFIG_PACKAGE_luci-theme-freifunk-bno is not set +# CONFIG_PACKAGE_luci-theme-freifunk-generic is not set +# CONFIG_PACKAGE_luci-theme-freifunk-hannover is not set +# CONFIG_PACKAGE_luci-theme-openwrt is not set + +# +# Translations +# +# CONFIG_PACKAGE_luci-i18n-catalan is not set +# CONFIG_PACKAGE_luci-i18n-chinese is not set +# CONFIG_PACKAGE_luci-i18n-english is not set +# CONFIG_PACKAGE_luci-i18n-french is not set +# CONFIG_PACKAGE_luci-i18n-german is not set +# CONFIG_PACKAGE_luci-i18n-greek is not set +# CONFIG_PACKAGE_luci-i18n-hebrew is not set +# CONFIG_PACKAGE_luci-i18n-italian is not set +# CONFIG_PACKAGE_luci-i18n-japanese is not set +# CONFIG_PACKAGE_luci-i18n-malay is not set +# CONFIG_PACKAGE_luci-i18n-norwegian is not set +# CONFIG_PACKAGE_luci-i18n-portuguese is not set +# CONFIG_PACKAGE_luci-i18n-portuguese_brazilian is not set +# CONFIG_PACKAGE_luci-i18n-russian is not set +# CONFIG_PACKAGE_luci-i18n-spanish is not set +# CONFIG_PACKAGE_luci-i18n-vietnamese is not set + +# +# Kernel modules +# + +# +# Block Devices +# +# CONFIG_PACKAGE_kmod-aoe is not set +# CONFIG_PACKAGE_kmod-ata-core is not set +# CONFIG_PACKAGE_kmod-dm is not set +# CONFIG_PACKAGE_kmod-ide-core is not set +# CONFIG_PACKAGE_kmod-loop is not set +# CONFIG_PACKAGE_kmod-nbd is not set +# CONFIG_PACKAGE_kmod-scsi-core is not set +# CONFIG_PACKAGE_kmod-scsi-generic is not set + +# +# Cryptographic API modules +# +CONFIG_PACKAGE_kmod-crypto-core=y +CONFIG_PACKAGE_kmod-crypto-aes=y +CONFIG_PACKAGE_kmod-crypto-arc4=y +# CONFIG_PACKAGE_kmod-crypto-authenc is not set +# CONFIG_PACKAGE_kmod-crypto-des is not set +# CONFIG_PACKAGE_kmod-crypto-hmac is not set +# CONFIG_PACKAGE_kmod-crypto-hw-geode is not set +# CONFIG_PACKAGE_kmod-crypto-hw-hifn-795x is not set +# CONFIG_PACKAGE_kmod-crypto-hw-padlock is not set +# CONFIG_PACKAGE_kmod-crypto-md5 is not set +# CONFIG_PACKAGE_kmod-crypto-michael-mic is not set +# CONFIG_PACKAGE_kmod-crypto-misc is not set +# CONFIG_PACKAGE_kmod-crypto-null is not set +# CONFIG_PACKAGE_kmod-crypto-ocf is not set +# CONFIG_PACKAGE_kmod-crypto-sha1 is not set +# CONFIG_PACKAGE_kmod-crypto-test is not set +# CONFIG_PACKAGE_kmod-loop-aes is not set + +# +# Filesystems +# +# CONFIG_PACKAGE_kmod-fs-autofs4 is not set +# CONFIG_PACKAGE_kmod-fs-btrfs is not set +# CONFIG_PACKAGE_kmod-fs-cifs is not set +# CONFIG_PACKAGE_kmod-fs-exportfs is not set +# CONFIG_PACKAGE_kmod-fs-ext2 is not set +# CONFIG_PACKAGE_kmod-fs-ext3 is not set +# CONFIG_PACKAGE_kmod-fs-ext4 is not set +# CONFIG_PACKAGE_kmod-fs-hfs is not set +# CONFIG_PACKAGE_kmod-fs-hfsplus is not set +# CONFIG_PACKAGE_kmod-fs-isofs is not set +# CONFIG_PACKAGE_kmod-fs-mbcache is not set +# CONFIG_PACKAGE_kmod-fs-minix is not set +# CONFIG_PACKAGE_kmod-fs-msdos is not set +# CONFIG_PACKAGE_kmod-fs-nfs is not set +# CONFIG_PACKAGE_kmod-fs-nfs-common is not set +# CONFIG_PACKAGE_kmod-fs-nfsd is not set +# CONFIG_PACKAGE_kmod-fs-ntfs is not set +# CONFIG_PACKAGE_kmod-fs-reiserfs is not set +# CONFIG_PACKAGE_kmod-fs-udf is not set +# CONFIG_PACKAGE_kmod-fs-vfat is not set +# CONFIG_PACKAGE_kmod-fs-xfs is not set +# CONFIG_PACKAGE_kmod-fuse is not set +# CONFIG_PACKAGE_kmod-nls-base is not set +# CONFIG_PACKAGE_kmod-nls-cp1250 is not set +# CONFIG_PACKAGE_kmod-nls-cp1251 is not set +# CONFIG_PACKAGE_kmod-nls-cp437 is not set +# CONFIG_PACKAGE_kmod-nls-cp775 is not set +# CONFIG_PACKAGE_kmod-nls-cp850 is not set +# CONFIG_PACKAGE_kmod-nls-cp852 is not set +# CONFIG_PACKAGE_kmod-nls-cp866 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-1 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-13 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-15 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-2 is not set +# CONFIG_PACKAGE_kmod-nls-koi8r is not set +# CONFIG_PACKAGE_kmod-nls-utf8 is not set + +# +# FireWire support +# +# CONFIG_PACKAGE_kmod-ieee1394 is not set + +# +# Hardware Monitoring Support +# +# CONFIG_PACKAGE_kmod-hwmon-core is not set + +# +# I2C support +# +# CONFIG_PACKAGE_kmod-i2c-core is not set +# CONFIG_PACKAGE_kmod-i2c-gpio-custom is not set + +# +# Netfilter Extensions +# +# CONFIG_PACKAGE_kmod-arptables is not set +# CONFIG_PACKAGE_kmod-ebtables is not set +CONFIG_PACKAGE_kmod-ip6tables=y +CONFIG_PACKAGE_kmod-ipt-core=y +# CONFIG_PACKAGE_kmod-ipt-chaos is not set +# CONFIG_PACKAGE_kmod-ipt-compat-xtables is not set +# CONFIG_PACKAGE_kmod-ipt-condition is not set +CONFIG_PACKAGE_kmod-ipt-conntrack=y +# CONFIG_PACKAGE_kmod-ipt-conntrack-extra is not set +# CONFIG_PACKAGE_kmod-ipt-delude is not set +# CONFIG_PACKAGE_kmod-ipt-extra is not set +# CONFIG_PACKAGE_kmod-ipt-filter is not set +# CONFIG_PACKAGE_kmod-ipt-hashlimit is not set +# CONFIG_PACKAGE_kmod-ipt-imq is not set +# CONFIG_PACKAGE_kmod-ipt-ipopt is not set +# CONFIG_PACKAGE_kmod-ipt-ipp2p is not set +# CONFIG_PACKAGE_kmod-ipt-iprange is not set +# CONFIG_PACKAGE_kmod-ipt-ipsec is not set +CONFIG_PACKAGE_kmod-ipt-ipset=y +CONFIG_PACKAGE_kmod-ipt-nat=y +# CONFIG_PACKAGE_kmod-ipt-nat-extra is not set +CONFIG_PACKAGE_kmod-ipt-nathelper=y +CONFIG_PACKAGE_kmod-ipt-nathelper-extra=y +# CONFIG_PACKAGE_kmod-ipt-queue is not set +# CONFIG_PACKAGE_kmod-ipt-rawnat is not set +# CONFIG_PACKAGE_kmod-ipt-rawpost is not set +# CONFIG_PACKAGE_kmod-ipt-tarpit is not set +# CONFIG_PACKAGE_kmod-ipt-ulog is not set +# CONFIG_PACKAGE_kmod-nf-conntrack-netlink is not set +# CONFIG_PACKAGE_kmod-nfnetlink is not set +# CONFIG_PACKAGE_kmod-nfnetlink-log is not set +# CONFIG_PACKAGE_kmod-nfnetlink-queue is not set + +# +# Network Devices +# +# CONFIG_PACKAGE_kmod-dummy is not set +# CONFIG_PACKAGE_kmod-e1000 is not set +# CONFIG_PACKAGE_kmod-et131x is not set +# CONFIG_PACKAGE_kmod-gigaset is not set +# CONFIG_PACKAGE_kmod-hfcmulti is not set +# CONFIG_PACKAGE_kmod-ifb is not set +# CONFIG_PACKAGE_kmod-libphy is not set +# CONFIG_PACKAGE_kmod-macvlan is not set +# CONFIG_PACKAGE_kmod-siit is not set +# CONFIG_PACKAGE_kmod-tg3 is not set + +# +# Network Support +# +# CONFIG_PACKAGE_kmod-appletalk is not set +# CONFIG_PACKAGE_kmod-atm is not set +# CONFIG_PACKAGE_kmod-ax25 is not set +# CONFIG_PACKAGE_kmod-batgat is not set +CONFIG_PACKAGE_kmod-batman-adv=y +CONFIG_KMOD_BATMAN_ADV_DEBUG_LOG=y +CONFIG_KMOD_BATMAN_ADV_BATCTL=y +# CONFIG_PACKAGE_kmod-bonding is not set +# CONFIG_PACKAGE_kmod-capi is not set +# CONFIG_PACKAGE_kmod-gre is not set +# CONFIG_PACKAGE_kmod-ip6-tunnel is not set +# CONFIG_PACKAGE_kmod-ipip is not set +# CONFIG_PACKAGE_kmod-ipsec is not set +# CONFIG_PACKAGE_kmod-iptunnel4 is not set +# CONFIG_PACKAGE_kmod-iptunnel6 is not set +CONFIG_PACKAGE_kmod-ipv6=y +# CONFIG_PACKAGE_kmod-isdn4linux is not set +# CONFIG_PACKAGE_kmod-misdn is not set +# CONFIG_PACKAGE_kmod-mp-alg is not set +# CONFIG_PACKAGE_kmod-openswan is not set +# CONFIG_PACKAGE_kmod-pktgen is not set +# CONFIG_PACKAGE_kmod-ppp is not set +# CONFIG_PACKAGE_kmod-sched is not set +# CONFIG_PACKAGE_kmod-sit is not set +CONFIG_PACKAGE_kmod-tun=y +# CONFIG_PACKAGE_kmod-wprobe is not set + +# +# OCF Configuration +# + +# +# Other modules +# +# CONFIG_PACKAGE_kmod-block2mtd is not set +# CONFIG_PACKAGE_kmod-bluetooth is not set +CONFIG_PACKAGE_kmod-button-hotplug=y +# CONFIG_PACKAGE_kmod-compcache is not set +# CONFIG_PACKAGE_kmod-crc-ccitt is not set +# CONFIG_PACKAGE_kmod-crc-itu-t is not set +# CONFIG_PACKAGE_kmod-crc16 is not set +# CONFIG_PACKAGE_kmod-crc7 is not set +# CONFIG_PACKAGE_kmod-eeprom-93cx6 is not set +# CONFIG_PACKAGE_kmod-eeprom-at24 is not set +# CONFIG_PACKAGE_kmod-eeprom-at25 is not set +# CONFIG_PACKAGE_kmod-gpio-dev is not set +# CONFIG_PACKAGE_kmod-gpiotoggling is not set +# CONFIG_PACKAGE_kmod-hid is not set +CONFIG_PACKAGE_kmod-input-core=y +# CONFIG_PACKAGE_kmod-input-evdev is not set +CONFIG_PACKAGE_kmod-input-gpio-buttons=y +# CONFIG_PACKAGE_kmod-input-gpio-keys is not set +# CONFIG_PACKAGE_kmod-input-joydev is not set +CONFIG_PACKAGE_kmod-input-polldev=y +CONFIG_PACKAGE_kmod-leds-gpio=y +# CONFIG_PACKAGE_kmod-leds-rb750 is not set +# CONFIG_PACKAGE_kmod-leds-wndr3700-usb is not set +# CONFIG_PACKAGE_kmod-ledtrig-morse is not set +# CONFIG_PACKAGE_kmod-ledtrig-netdev is not set +# CONFIG_PACKAGE_kmod-mmc is not set +# CONFIG_PACKAGE_kmod-mmc-over-gpio is not set +# CONFIG_PACKAGE_kmod-pcspkr is not set +# CONFIG_PACKAGE_kmod-rfkill is not set +# CONFIG_PACKAGE_kmod-softdog is not set +# CONFIG_PACKAGE_kmod-ssb is not set +CONFIG_PACKAGE_kmod-textsearch=y +# CONFIG_PACKAGE_kmod-ucmb is not set +# CONFIG_PACKAGE_kmod-zaptel14 is not set +# CONFIG_PACKAGE_kmod-zaptel14-dummy is not set +# CONFIG_PACKAGE_kmod-zaptel14-wctdm is not set +# CONFIG_PACKAGE_kmod-zaptel14-wcusb is not set + +# +# SPI Support +# +# CONFIG_PACKAGE_kmod-mmc-spi is not set +# CONFIG_PACKAGE_kmod-spi-bitbang is not set +# CONFIG_PACKAGE_kmod-spi-dev is not set +# CONFIG_PACKAGE_kmod-spi-gpio is not set +# CONFIG_PACKAGE_kmod-spi-gpio-old is not set +# CONFIG_PACKAGE_kmod-spi-ks8995 is not set +# CONFIG_PACKAGE_kmod-spi-vsc7385 is not set + +# +# Sound Support +# +# CONFIG_PACKAGE_kmod-sound-core is not set + +# +# USB Support +# +# CONFIG_PACKAGE_kmod-usb-core is not set +# CONFIG_PACKAGE_kmod-usbip is not set + +# +# Video Support +# +# CONFIG_PACKAGE_kmod-video-core is not set + +# +# Voice over IP +# + +# +# W1 support +# +# CONFIG_PACKAGE_kmod-w1 is not set + +# +# Wireless Drivers +# +# CONFIG_PACKAGE_kmod-acx is not set +CONFIG_PACKAGE_kmod-ath=y + +# +# Configuration +# +CONFIG_ATH_USER_REGD=y +# CONFIG_PACKAGE_ATH_DEBUG is not set +# CONFIG_PACKAGE_kmod-ath5k is not set +CONFIG_PACKAGE_kmod-ath9k=y +CONFIG_PACKAGE_kmod-ath9k-common=y +# CONFIG_PACKAGE_kmod-ath9k-htc is not set +# CONFIG_PACKAGE_kmod-b43 is not set +# CONFIG_PACKAGE_kmod-b43legacy is not set +# CONFIG_PACKAGE_kmod-carl9170 is not set +CONFIG_PACKAGE_kmod-cfg80211=y +# CONFIG_PACKAGE_kmod-hostap is not set +# CONFIG_PACKAGE_kmod-hostap-pci is not set +# CONFIG_PACKAGE_kmod-hostap-plx is not set +# CONFIG_PACKAGE_kmod-iwl-legacy is not set +# CONFIG_PACKAGE_kmod-iwl3945 is not set +# CONFIG_PACKAGE_kmod-iwl4965 is not set +# CONFIG_PACKAGE_kmod-iwlagn is not set +# CONFIG_PACKAGE_kmod-lib80211 is not set +# CONFIG_PACKAGE_kmod-libertas-sd is not set +# CONFIG_PACKAGE_kmod-libertas-usb is not set +CONFIG_PACKAGE_kmod-mac80211=y + +# +# Configuration +# +CONFIG_PACKAGE_MAC80211_DEBUGFS=y +# CONFIG_PACKAGE_kmod-mac80211-hwsim is not set +# CONFIG_PACKAGE_kmod-madwifi is not set +# CONFIG_PACKAGE_kmod-mwl8k is not set +# CONFIG_PACKAGE_kmod-net-airo is not set +# CONFIG_PACKAGE_kmod-net-hermes is not set +# CONFIG_PACKAGE_kmod-net-hermes-pci is not set +# CONFIG_PACKAGE_kmod-net-hermes-plx is not set +# CONFIG_PACKAGE_kmod-net-ipw2100 is not set +# CONFIG_PACKAGE_kmod-net-ipw2200 is not set +# CONFIG_PACKAGE_kmod-net-libipw is not set +# CONFIG_PACKAGE_kmod-net-prism54 is not set +# CONFIG_PACKAGE_kmod-p54-common is not set +# CONFIG_PACKAGE_kmod-p54-pci is not set +# CONFIG_PACKAGE_kmod-p54-usb is not set +# CONFIG_PACKAGE_kmod-rt2400-pci is not set +# CONFIG_PACKAGE_kmod-rt2500-pci is not set +# CONFIG_PACKAGE_kmod-rt2500-usb is not set +# CONFIG_PACKAGE_kmod-rt2800-lib is not set +# CONFIG_PACKAGE_kmod-rt2800-pci is not set +# CONFIG_PACKAGE_kmod-rt2800-usb is not set +# CONFIG_PACKAGE_kmod-rt2x00-lib is not set +# CONFIG_PACKAGE_kmod-rt2x00-pci is not set +# CONFIG_PACKAGE_kmod-rt2x00-usb is not set +# CONFIG_PACKAGE_kmod-rt61-pci is not set +# CONFIG_PACKAGE_kmod-rt73-usb is not set +# CONFIG_PACKAGE_kmod-rtl8180 is not set +# CONFIG_PACKAGE_kmod-rtl8187 is not set +# CONFIG_PACKAGE_kmod-zd1211rw is not set + +# +# Xen paravirtualized guest support +# + +# +# Boot Loaders +# + +# +# Administration +# + +# +# Pmacct suite +# +# CONFIG_PACKAGE_nfacctd is not set +# CONFIG_PACKAGE_nfacctd-mysql is not set +# CONFIG_PACKAGE_nfacctd-sqlite is not set +# CONFIG_PACKAGE_pmacct-client is not set +# CONFIG_PACKAGE_pmacctd is not set +# CONFIG_PACKAGE_pmacctd-mysql is not set +# CONFIG_PACKAGE_pmacctd-sqlite is not set +# CONFIG_PACKAGE_uacctd is not set +# CONFIG_PACKAGE_uacctd-mysql is not set +# CONFIG_PACKAGE_uacctd-sqlite is not set + +# +# webif +# +# CONFIG_PACKAGE_webif is not set +# CONFIG_PACKAGE_webif-applications is not set +# CONFIG_PACKAGE_webif-batman is not set +# CONFIG_PACKAGE_webif-fonheartbeat is not set +# CONFIG_PACKAGE_webif-freeloader is not set +# CONFIG_PACKAGE_webif-freeloader-lang-cs is not set +# CONFIG_PACKAGE_webif-hotspot is not set +# CONFIG_PACKAGE_webif-iw-lua is not set +# CONFIG_PACKAGE_webif-iw-lua-chillispot is not set +# CONFIG_PACKAGE_webif-iw-lua-openssl is not set +# CONFIG_PACKAGE_webif-iw-lua-openvpn is not set +# CONFIG_PACKAGE_webif-lang-ca is not set +# CONFIG_PACKAGE_webif-lang-cs is not set +# CONFIG_PACKAGE_webif-lang-da is not set +# CONFIG_PACKAGE_webif-lang-de is not set +# CONFIG_PACKAGE_webif-lang-ee is not set +# CONFIG_PACKAGE_webif-lang-es is not set +# CONFIG_PACKAGE_webif-lang-fr is not set +# CONFIG_PACKAGE_webif-lang-hr is not set +# CONFIG_PACKAGE_webif-lang-hu is not set +# CONFIG_PACKAGE_webif-lang-it is not set +# CONFIG_PACKAGE_webif-lang-nl is not set +# CONFIG_PACKAGE_webif-lang-no is not set +# CONFIG_PACKAGE_webif-lang-pl is not set +# CONFIG_PACKAGE_webif-lang-pt is not set +# CONFIG_PACKAGE_webif-lang-ru is not set +# CONFIG_PACKAGE_webif-lang-sq is not set +# CONFIG_PACKAGE_webif-lang-sv is not set +# CONFIG_PACKAGE_webif-lang-uk is not set +# CONFIG_PACKAGE_webif-lang-zh is not set +# CONFIG_PACKAGE_webif-mesh is not set +# CONFIG_PACKAGE_webif-netsukuku is not set +# CONFIG_PACKAGE_webif-theme-clubman is not set +# CONFIG_PACKAGE_webif-theme-sedky1 is not set +# CONFIG_PACKAGE_webif-theme-xwrt is not set +# CONFIG_PACKAGE_webif-theme-xwrt-mini is not set +# CONFIG_PACKAGE_webif-theme-zephyr is not set +# CONFIG_PACKAGE_webif-vpn is not set + +# +# zabbix +# +# CONFIG_PACKAGE_zabbix-agent is not set +# CONFIG_PACKAGE_zabbix-sender is not set +# CONFIG_PACKAGE_zabbix-server is not set +# CONFIG_PACKAGE_gkrellmd is not set +# CONFIG_PACKAGE_htop is not set +# CONFIG_PACKAGE_monit is not set +# CONFIG_PACKAGE_monit-nossl is not set +# CONFIG_PACKAGE_muninlite is not set +# CONFIG_PACKAGE_nagios is not set +# CONFIG_PACKAGE_nrpe is not set +# CONFIG_PACKAGE_osirisd is not set +# CONFIG_PACKAGE_send-nsca is not set +# CONFIG_PACKAGE_sudo is not set +# CONFIG_PACKAGE_syslog-ng is not set +# CONFIG_PACKAGE_syslog-ng3 is not set + +# +# Mail +# +# CONFIG_PACKAGE_dovecot is not set +# CONFIG_PACKAGE_fetchmail is not set +# CONFIG_PACKAGE_fetchmail-nossl is not set +# CONFIG_PACKAGE_imapfilter is not set +# CONFIG_PACKAGE_mini-sendmail is not set +# CONFIG_PACKAGE_msmtp is not set +# CONFIG_PACKAGE_msmtp-nossl is not set +# CONFIG_PACKAGE_mutt is not set +# CONFIG_PACKAGE_nullmailer is not set +# CONFIG_PACKAGE_procmail is not set +# CONFIG_PACKAGE_ssmtp is not set +# CONFIG_PACKAGE_xmail is not set + +# +# Xorg +# + +# +# app +# +# CONFIG_PACKAGE_iceauth is not set +# CONFIG_PACKAGE_pwrtray is not set + +# +# data +# +# CONFIG_PACKAGE_xbitmaps is not set + +# +# driver +# + +# +# font +# +# CONFIG_PACKAGE_liberation-fonts-ttf is not set + +# +# font-utils +# +# CONFIG_PACKAGE_fontconfig is not set + +# +# framework +# +# CONFIG_PACKAGE_qt4 is not set + +# +# libraries +# +# CONFIG_PACKAGE_atk is not set +# CONFIG_PACKAGE_cairo is not set +# CONFIG_PACKAGE_cairomm is not set +# CONFIG_PACKAGE_libICE is not set +# CONFIG_PACKAGE_libSM is not set +# CONFIG_PACKAGE_libXau is not set +# CONFIG_PACKAGE_libXdmcp is not set +# CONFIG_PACKAGE_libXfont is not set +# CONFIG_PACKAGE_libast is not set +# CONFIG_PACKAGE_libdrm is not set +# CONFIG_PACKAGE_libfontenc is not set +# CONFIG_PACKAGE_libpciaccess is not set +# CONFIG_PACKAGE_librsvg is not set +# CONFIG_PACKAGE_libxcb is not set +# CONFIG_PACKAGE_libxcb-composite is not set +# CONFIG_PACKAGE_libxcb-damage is not set +# CONFIG_PACKAGE_libxcb-dpms is not set +# CONFIG_PACKAGE_libxcb-glx is not set +# CONFIG_PACKAGE_libxcb-randr is not set +# CONFIG_PACKAGE_libxcb-record is not set +# CONFIG_PACKAGE_libxcb-render is not set +# CONFIG_PACKAGE_libxcb-res is not set +# CONFIG_PACKAGE_libxcb-screensaver is not set +# CONFIG_PACKAGE_libxcb-shape is not set +# CONFIG_PACKAGE_libxcb-shm is not set +# CONFIG_PACKAGE_libxcb-sync is not set +# CONFIG_PACKAGE_libxcb-xevie is not set +# CONFIG_PACKAGE_libxcb-xf86dri is not set +# CONFIG_PACKAGE_libxcb-xfixes is not set +# CONFIG_PACKAGE_libxcb-xinerama is not set +# CONFIG_PACKAGE_libxcb-xlib is not set +# CONFIG_PACKAGE_libxcb-xprint is not set +# CONFIG_PACKAGE_libxcb-xtest is not set +# CONFIG_PACKAGE_libxcb-xv is not set +# CONFIG_PACKAGE_libxcb-xvmc is not set +# CONFIG_PACKAGE_orbit2 is not set +# CONFIG_PACKAGE_pango is not set +# CONFIG_PACKAGE_pangomm is not set +# CONFIG_PACKAGE_pixman is not set +# CONFIG_PACKAGE_tslib is not set +# CONFIG_PACKAGE_xtrans is not set + +# +# proto +# +# CONFIG_PACKAGE_applewmproto is not set +# CONFIG_PACKAGE_bigreqsproto is not set +# CONFIG_PACKAGE_calibrateproto is not set +# CONFIG_PACKAGE_compositeproto is not set +# CONFIG_PACKAGE_damageproto is not set +# CONFIG_PACKAGE_dmxproto is not set +# CONFIG_PACKAGE_dri2proto is not set +# CONFIG_PACKAGE_fixesproto is not set +# CONFIG_PACKAGE_fontcacheproto is not set +# CONFIG_PACKAGE_fontsproto is not set +# CONFIG_PACKAGE_glproto is not set +# CONFIG_PACKAGE_inputproto is not set +# CONFIG_PACKAGE_kbproto is not set +# CONFIG_PACKAGE_printproto is not set +# CONFIG_PACKAGE_randrproto is not set +# CONFIG_PACKAGE_recordproto is not set +# CONFIG_PACKAGE_renderproto is not set +# CONFIG_PACKAGE_resourceproto is not set +# CONFIG_PACKAGE_scrnsaverproto is not set +# CONFIG_PACKAGE_videoproto is not set +# CONFIG_PACKAGE_windowswmproto is not set +# CONFIG_PACKAGE_xcmiscproto is not set +# CONFIG_PACKAGE_xextproto is not set +# CONFIG_PACKAGE_xf86bigfontproto is not set +# CONFIG_PACKAGE_xf86dgaproto is not set +# CONFIG_PACKAGE_xf86driproto is not set +# CONFIG_PACKAGE_xf86vidmodeproto is not set +# CONFIG_PACKAGE_xineramaproto is not set +# CONFIG_PACKAGE_xproto is not set + +# +# server +# +# CONFIG_PACKAGE_xserver-common is not set + +# +# terminals +# + +# +# window manager +# + +# +# Network +# + +# +# BitTorrent +# +# CONFIG_PACKAGE_btpd is not set +# CONFIG_PACKAGE_cbtt is not set +# CONFIG_PACKAGE_cbtt-mysql is not set +# CONFIG_PACKAGE_ctorrent is not set +# CONFIG_PACKAGE_ctorrent-nossl is not set +# CONFIG_DELUGE_WITH_WEBUI is not set +# CONFIG_PACKAGE_rtorrent is not set +# CONFIG_PACKAGE_transmission-daemon is not set +# CONFIG_PACKAGE_transmission-remote is not set + +# +# Captive Portals +# +# CONFIG_PACKAGE_chillispot is not set +# CONFIG_PACKAGE_coova-chilli is not set +# CONFIG_PACKAGE_nocatauth is not set +# CONFIG_PACKAGE_nocatsplash is not set +# CONFIG_PACKAGE_nodogsplash is not set +# CONFIG_PACKAGE_pepperspot is not set +# CONFIG_PACKAGE_wifidog is not set + +# +# File Transfer +# +# CONFIG_PACKAGE_atftp is not set +# CONFIG_PACKAGE_atftpd is not set +# CONFIG_PACKAGE_axel is not set +# CONFIG_PACKAGE_cmdftp is not set +# CONFIG_PACKAGE_curl is not set +# CONFIG_PACKAGE_lftp is not set +# CONFIG_PACKAGE_ncftp is not set +# CONFIG_PACKAGE_ncftp-utils is not set +# CONFIG_PACKAGE_proftpd is not set +# CONFIG_PACKAGE_pure-ftpd is not set +# CONFIG_PACKAGE_pure-ftpd-tls is not set +# CONFIG_PACKAGE_rsync is not set +# CONFIG_PACKAGE_rsyncd is not set +# CONFIG_PACKAGE_tftp-hpa is not set +# CONFIG_PACKAGE_tftpd-hpa is not set +# CONFIG_PACKAGE_uucp is not set +# CONFIG_PACKAGE_vsftpd is not set +# CONFIG_PACKAGE_wget is not set +# CONFIG_PACKAGE_wget-nossl is not set +# CONFIG_PACKAGE_wput is not set +# CONFIG_PACKAGE_yafc is not set + +# +# Filesystem +# +# CONFIG_PACKAGE_netatalk is not set +# CONFIG_PACKAGE_nfs-kernel-server is not set +# CONFIG_PACKAGE_nfs-server is not set +# CONFIG_PACKAGE_owftpd is not set +# CONFIG_PACKAGE_owhttpd is not set +# CONFIG_PACKAGE_owserver is not set +# CONFIG_PACKAGE_remotefs-server is not set +# CONFIG_PACKAGE_samba2-common is not set +# CONFIG_PACKAGE_samba3 is not set +# CONFIG_PACKAGE_unfs3 is not set + +# +# Firewall +# +# CONFIG_PACKAGE_amwall is not set +# CONFIG_PACKAGE_conntrack-tools is not set +# CONFIG_PACKAGE_ipkungfu is not set +# CONFIG_PACKAGE_iptables-mod-chaos is not set +# CONFIG_PACKAGE_iptables-mod-condition is not set +# CONFIG_PACKAGE_iptables-mod-delude is not set +# CONFIG_PACKAGE_iptables-mod-ipp2p is not set +# CONFIG_PACKAGE_iptables-mod-rawnat is not set +# CONFIG_PACKAGE_iptables-mod-tarpit is not set +# CONFIG_PACKAGE_iptables-snmp is not set +# CONFIG_PACKAGE_knock is not set +# CONFIG_PACKAGE_knockd is not set +# CONFIG_PACKAGE_linuxigd is not set +# CONFIG_PACKAGE_miniupnpc is not set +# CONFIG_PACKAGE_miniupnpd is not set +# CONFIG_PACKAGE_natpmp is not set +# CONFIG_PACKAGE_natpmpc is not set +# CONFIG_PACKAGE_nufw is not set +# CONFIG_PACKAGE_nufw-modules is not set +# CONFIG_PACKAGE_nufw-python is not set +# CONFIG_PACKAGE_nutcpc is not set +# CONFIG_PACKAGE_portsentry is not set +# CONFIG_PACKAGE_scanlogd is not set +# CONFIG_PACKAGE_shorewall-lite is not set +# CONFIG_PACKAGE_snort is not set +# CONFIG_PACKAGE_snort-mysql is not set + +# +# Firewall Tunnel +# +# CONFIG_PACKAGE_httptunnel is not set +# CONFIG_PACKAGE_icmptx is not set +# CONFIG_PACKAGE_iodine is not set +# CONFIG_PACKAGE_iodined is not set +# CONFIG_PACKAGE_nstx is not set +# CONFIG_PACKAGE_nstxd is not set +# CONFIG_PACKAGE_ptunnel is not set + +# +# IP Addresses and Names +# +# CONFIG_PACKAGE_avahi-autoipd is not set +# CONFIG_PACKAGE_avahi-autoipd-dbus is not set +# CONFIG_PACKAGE_avahi-daemon is not set +# CONFIG_PACKAGE_avahi-daemon-dbus is not set +# CONFIG_PACKAGE_avahi-dnsconfd is not set +# CONFIG_PACKAGE_avahi-dnsconfd-dbus is not set +# CONFIG_PACKAGE_avahi-utils is not set +# CONFIG_PACKAGE_bind-check is not set +# CONFIG_PACKAGE_bind-client is not set +# CONFIG_PACKAGE_bind-dig is not set +# CONFIG_PACKAGE_bind-dnssec is not set +# CONFIG_PACKAGE_bind-host is not set +# CONFIG_PACKAGE_bind-rndc is not set +# CONFIG_PACKAGE_bind-server is not set +# CONFIG_PACKAGE_bind-tools is not set +# CONFIG_PACKAGE_ddns-scripts is not set +# CONFIG_PACKAGE_dhcp-forwarder is not set +# CONFIG_PACKAGE_dhcp-relay is not set +# CONFIG_PACKAGE_dhcp-server is not set +# CONFIG_PACKAGE_dhcpcd is not set +# CONFIG_PACKAGE_djbdns-axfrdns is not set +# CONFIG_PACKAGE_djbdns-base is not set +# CONFIG_PACKAGE_djbdns-dnscache is not set +# CONFIG_PACKAGE_djbdns-rbldns is not set +# CONFIG_PACKAGE_djbdns-tinydns is not set +# CONFIG_PACKAGE_djbdns-tools is not set +# CONFIG_PACKAGE_djbdns-walldns is not set +# CONFIG_PACKAGE_dudders is not set +# CONFIG_PACKAGE_ez-ipupdate is not set +# CONFIG_PACKAGE_howl-autoipd is not set +# CONFIG_PACKAGE_howl-mdnsresponder is not set +# CONFIG_PACKAGE_howl-nifd is not set +# CONFIG_PACKAGE_howl-utils is not set +# CONFIG_PACKAGE_ipupdate is not set +# CONFIG_PACKAGE_maradns is not set +# CONFIG_PACKAGE_mdnsresponder is not set +# CONFIG_PACKAGE_ndyndns is not set +# CONFIG_PACKAGE_rarpd is not set +# CONFIG_PACKAGE_unbound is not set +# CONFIG_PACKAGE_updatedd is not set +# CONFIG_PACKAGE_yaddns is not set + +# +# Instant Messaging +# +# CONFIG_PACKAGE_bahamut is not set +# CONFIG_PACKAGE_bitchx is not set +# CONFIG_PACKAGE_bitlbee is not set +# CONFIG_PACKAGE_dircproxy is not set +# CONFIG_PACKAGE_ekg is not set +# CONFIG_PACKAGE_imsnif is not set +# CONFIG_PACKAGE_irssi is not set +# CONFIG_PACKAGE_irssi-glib1 is not set +# CONFIG_PACKAGE_irssi-nossl is not set +# CONFIG_PACKAGE_miau is not set +# CONFIG_PACKAGE_ngircd is not set +# CONFIG_PACKAGE_prosody is not set +# CONFIG_PACKAGE_psybnc is not set +# CONFIG_PACKAGE_reaim is not set +# CONFIG_PACKAGE_tmsnc is not set +# CONFIG_PACKAGE_umurmur-openssl is not set +# CONFIG_PACKAGE_umurmur-polarssl is not set +# CONFIG_PACKAGE_weechat is not set +# CONFIG_PACKAGE_znc is not set + +# +# NMAP Suite +# +# CONFIG_PACKAGE_ncat is not set +# CONFIG_PACKAGE_ncat-ssl is not set +# CONFIG_PACKAGE_ndiff is not set +# CONFIG_PACKAGE_nmap is not set +# CONFIG_PACKAGE_nmap-ssl is not set +# CONFIG_PACKAGE_nping is not set + +# +# NNTP +# +# CONFIG_PACKAGE_leafnode is not set +# CONFIG_PACKAGE_nzbget is not set +# CONFIG_PACKAGE_nzbgetweb is not set + +# +# P2P +# +# CONFIG_PACKAGE_amule is not set +# CONFIG_PACKAGE_mutella is not set +# CONFIG_PACKAGE_opendchub is not set +# CONFIG_PACKAGE_peerguardian is not set +# CONFIG_PACKAGE_uhub is not set + +# +# Routing and Redirection +# +# CONFIG_PACKAGE_babeld is not set +# CONFIG_PACKAGE_batmand is not set +# CONFIG_PACKAGE_bird4 is not set +# CONFIG_PACKAGE_birdc4 is not set +# CONFIG_PACKAGE_bmx6 is not set +# CONFIG_PACKAGE_bmxd is not set +# CONFIG_PACKAGE_igmpproxy is not set +# CONFIG_PACKAGE_lldpd is not set +# CONFIG_PACKAGE_net-tools-route is not set +# CONFIG_PACKAGE_olsrd is not set +# CONFIG_PACKAGE_parprouted is not set +# CONFIG_PACKAGE_redir is not set +# CONFIG_PACKAGE_rinetd is not set +# CONFIG_PACKAGE_smcroute is not set +# CONFIG_PACKAGE_udp-broadcast-relay is not set +# CONFIG_PACKAGE_vis is not set +# CONFIG_PACKAGE_vrrpd is not set + +# +# SSH +# +# CONFIG_PACKAGE_autossh is not set +# CONFIG_PACKAGE_corkscrew is not set +# CONFIG_PACKAGE_gesftpserver is not set +# CONFIG_PACKAGE_openssh-client is not set +# CONFIG_PACKAGE_openssh-client-utils is not set +CONFIG_PACKAGE_openssh-keygen=y +CONFIG_PACKAGE_openssh-server=y +# CONFIG_PACKAGE_openssh-sftp-client is not set +CONFIG_PACKAGE_openssh-sftp-server=y +# CONFIG_PACKAGE_rssh is not set +# CONFIG_PACKAGE_sshtunnel is not set + +# +# Telephony +# +# CONFIG_PACKAGE_asterisk18 is not set +# CONFIG_PACKAGE_freeswitch is not set +# CONFIG_PACKAGE_kamailio is not set +# CONFIG_PACKAGE_miax is not set +# CONFIG_PACKAGE_openser is not set +# CONFIG_PACKAGE_opensips is not set +# CONFIG_PACKAGE_pcapsipdump is not set +# CONFIG_PACKAGE_rtpproxy is not set +# CONFIG_PACKAGE_sipp is not set +# CONFIG_PACKAGE_siproxd is not set +# CONFIG_PACKAGE_sipsak is not set +# CONFIG_PACKAGE_smap is not set +# CONFIG_PACKAGE_yate is not set + +# +# Time Synchronization +# +# CONFIG_PACKAGE_chrony is not set +# CONFIG_PACKAGE_htpdate is not set +# CONFIG_PACKAGE_ntp-utils is not set +# CONFIG_PACKAGE_ntpclient is not set +# CONFIG_PACKAGE_ntpd is not set +# CONFIG_PACKAGE_ntpd-ssl is not set +# CONFIG_PACKAGE_ntpdate is not set +# CONFIG_PACKAGE_openntpd is not set +# CONFIG_PACKAGE_ptpd is not set + +# +# VPN +# +# CONFIG_PACKAGE_chaosvpn is not set +# CONFIG_PACKAGE_etherpuppet is not set +# CONFIG_PACKAGE_frickin is not set +# CONFIG_PACKAGE_ipsec-tools is not set +# CONFIG_PACKAGE_isakmpd is not set +# CONFIG_PACKAGE_l2tpd is not set +# CONFIG_PACKAGE_l2tpns is not set +# CONFIG_PACKAGE_matrixtunnel is not set +CONFIG_PACKAGE_n2n=y +# CONFIG_PACKAGE_openconnect is not set +# CONFIG_PACKAGE_openl2tp is not set +# CONFIG_PACKAGE_opennhrp is not set +# CONFIG_PACKAGE_openswan is not set +# CONFIG_PACKAGE_openvpn is not set +# CONFIG_PACKAGE_openvpn-devel is not set +# CONFIG_PACKAGE_openvpn-easy-rsa is not set +# CONFIG_PACKAGE_pptpd is not set +# CONFIG_PACKAGE_quicktun is not set +# CONFIG_PACKAGE_ssltunnel is not set +# CONFIG_PACKAGE_strongswan4 is not set +# CONFIG_PACKAGE_tinc is not set +# CONFIG_PACKAGE_uanytun is not set +# CONFIG_PACKAGE_uanytun-nocrypt is not set +# CONFIG_PACKAGE_uanytun-sslcrypt is not set +# CONFIG_PACKAGE_vpnc is not set +# CONFIG_PACKAGE_vpzone is not set +# CONFIG_PACKAGE_vtun is not set +# CONFIG_PACKAGE_xl2tpd is not set + +# +# Version Control Systems +# +# CONFIG_PACKAGE_git is not set +# CONFIG_PACKAGE_mercurial is not set +# CONFIG_PACKAGE_subversion-libs is not set + +# +# Web Servers/Proxies +# +# CONFIG_PACKAGE_apache is not set +# CONFIG_PACKAGE_appweb is not set +# CONFIG_PACKAGE_axhttpd is not set +# CONFIG_PACKAGE_axtlswrap is not set +# CONFIG_PACKAGE_crowdcontrol is not set +# CONFIG_PACKAGE_dansguardian is not set +# CONFIG_PACKAGE_haproxy is not set +# CONFIG_PACKAGE_hiawatha is not set +# CONFIG_PACKAGE_lighttpd is not set +# CONFIG_PACKAGE_mini-httpd is not set +# CONFIG_PACKAGE_mini-httpd-htpasswd is not set +# CONFIG_PACKAGE_mini-httpd-matrixssl is not set +# CONFIG_PACKAGE_mini-httpd-openssl is not set +# CONFIG_PACKAGE_nginx is not set +# CONFIG_PACKAGE_pepsal is not set +# CONFIG_PACKAGE_polipo is not set +# CONFIG_PACKAGE_privoxy is not set +# CONFIG_PACKAGE_seeks is not set +# CONFIG_PACKAGE_sockd is not set +# CONFIG_PACKAGE_socksify is not set +# CONFIG_PACKAGE_spawn-fcgi is not set +# CONFIG_PACKAGE_squid is not set +# CONFIG_PACKAGE_srelay is not set +# CONFIG_PACKAGE_tinyproxy is not set +# CONFIG_PACKAGE_transocks is not set +# CONFIG_PACKAGE_tsocks is not set +# CONFIG_PACKAGE_wccpd is not set + +# +# dial-in/up +# +# CONFIG_PACKAGE_rp-l2tpd is not set +# CONFIG_PACKAGE_rp-pppoe-client is not set +# CONFIG_PACKAGE_rp-pppoe-relay is not set +# CONFIG_PACKAGE_rp-pppoe-server is not set +# CONFIG_PACKAGE_rp-pppoe-sniff is not set + +# +# firmware +# + +# +# wireless +# +# CONFIG_PACKAGE_aircrack-ng is not set +# CONFIG_PACKAGE_aircrack-ptw is not set +# CONFIG_PACKAGE_airpwn is not set +# CONFIG_PACKAGE_horst is not set +# CONFIG_PACKAGE_karma is not set +# CONFIG_PACKAGE_kismet-client is not set +# CONFIG_PACKAGE_kismet-drone is not set +# CONFIG_PACKAGE_kismet-server is not set +# CONFIG_PACKAGE_mdk3 is not set +# CONFIG_PACKAGE_snort-wireless is not set +# CONFIG_PACKAGE_snort-wireless-mysql is not set +# CONFIG_PACKAGE_wavemon is not set +# CONFIG_PACKAGE_xsupplicant is not set +# CONFIG_PACKAGE_aoetools is not set +# CONFIG_PACKAGE_apf is not set +# CONFIG_PACKAGE_aprx is not set +# CONFIG_PACKAGE_arpd is not set +# CONFIG_PACKAGE_arptables is not set +# CONFIG_PACKAGE_arpwatch is not set +# CONFIG_PACKAGE_bing is not set +# CONFIG_PACKAGE_bmon is not set +# CONFIG_PACKAGE_bwm is not set +# CONFIG_PACKAGE_bwping is not set +# CONFIG_PACKAGE_cdp-tools is not set +CONFIG_PACKAGE_crda=y +# CONFIG_PACKAGE_cups is not set +# CONFIG_PACKAGE_cutter is not set +# CONFIG_PACKAGE_darkstat is not set +# CONFIG_PACKAGE_ditg is not set +# CONFIG_PACKAGE_dmapd is not set +# CONFIG_PACKAGE_dsl-qos-queue is not set +# CONFIG_PACKAGE_dsniff is not set +# CONFIG_PACKAGE_e169-stats is not set +# CONFIG_PACKAGE_ebtables is not set +# CONFIG_PACKAGE_ebtables-utils is not set +# CONFIG_PACKAGE_elinks is not set +# CONFIG_PACKAGE_etherwake is not set +# CONFIG_PACKAGE_ethtool is not set +# CONFIG_PACKAGE_ettercap is not set +# CONFIG_PACKAGE_faifa is not set +# CONFIG_PACKAGE_flow-tools is not set +# CONFIG_PACKAGE_fping is not set +# CONFIG_PACKAGE_fprobe is not set +# CONFIG_PACKAGE_fprobe-ulog is not set +# CONFIG_PACKAGE_freeradius is not set +# CONFIG_PACKAGE_freeradius2 is not set +# CONFIG_PACKAGE_genl is not set +# CONFIG_PACKAGE_gpsd is not set +# CONFIG_PACKAGE_hostapd is not set +CONFIG_PACKAGE_hostapd-mini=y +# CONFIG_PACKAGE_hostapd-utils is not set +# CONFIG_PACKAGE_hping3 is not set +# CONFIG_PACKAGE_httping is not set +# CONFIG_PACKAGE_ifenslave is not set +# CONFIG_PACKAGE_ifstat is not set +# CONFIG_PACKAGE_iftop is not set +# CONFIG_PACKAGE_ip is not set +# CONFIG_PACKAGE_ipcad is not set +# CONFIG_PACKAGE_iperf is not set +# CONFIG_PACKAGE_iperf-mt is not set +CONFIG_PACKAGE_ipset=y +CONFIG_PACKAGE_iptables=y +CONFIG_PACKAGE_iptables-mod-conntrack=y +# CONFIG_PACKAGE_iptables-mod-conntrack-extra is not set +# CONFIG_PACKAGE_iptables-mod-extra is not set +# CONFIG_PACKAGE_iptables-mod-filter is not set +# CONFIG_PACKAGE_iptables-mod-hashlimit is not set +# CONFIG_PACKAGE_iptables-mod-imq is not set +# CONFIG_PACKAGE_iptables-mod-ipopt is not set +# CONFIG_PACKAGE_iptables-mod-iprange is not set +# CONFIG_PACKAGE_iptables-mod-ipsec is not set +CONFIG_PACKAGE_iptables-mod-ipset=y +CONFIG_PACKAGE_iptables-mod-nat=y +# CONFIG_PACKAGE_iptables-mod-nat-extra is not set +# CONFIG_PACKAGE_iptables-mod-ulog is not set +# CONFIG_PACKAGE_iptables-utils is not set +# CONFIG_PACKAGE_iptraf is not set +# CONFIG_PACKAGE_iputils-arping is not set +# CONFIG_PACKAGE_iputils-clockdiff is not set +# CONFIG_PACKAGE_iputils-ping is not set +# CONFIG_PACKAGE_iputils-ping6 is not set +# CONFIG_PACKAGE_iputils-tftpd is not set +# CONFIG_PACKAGE_iputils-tracepath is not set +# CONFIG_PACKAGE_iputils-tracepath6 is not set +# CONFIG_PACKAGE_iputils-traceroute6 is not set +CONFIG_PACKAGE_iw=y +# CONFIG_PACKAGE_jtg is not set +# CONFIG_PACKAGE_keepalived is not set +# CONFIG_PACKAGE_keynote is not set +# CONFIG_PACKAGE_krb5-client is not set +# CONFIG_PACKAGE_krb5-libs is not set +# CONFIG_PACKAGE_krb5-server is not set +# CONFIG_PACKAGE_lft is not set +# CONFIG_PACKAGE_lsm is not set +# CONFIG_PACKAGE_m-route is not set +# CONFIG_PACKAGE_mac-to-devinfo is not set +# CONFIG_PACKAGE_madwimax is not set +# CONFIG_PACKAGE_memcached is not set +# CONFIG_PACKAGE_mgen is not set +# CONFIG_PACKAGE_mii-tool is not set +# CONFIG_PACKAGE_mini-snmpd is not set +# CONFIG_PACKAGE_mtr is not set +# CONFIG_PACKAGE_multiwan is not set +# CONFIG_PACKAGE_mvprelay is not set +# CONFIG_PACKAGE_nbd is not set +# CONFIG_PACKAGE_nbtscan is not set +# CONFIG_PACKAGE_net-tools-arp is not set +# CONFIG_PACKAGE_net-tools-hostname is not set +# CONFIG_PACKAGE_net-tools-ifconfig is not set +# CONFIG_PACKAGE_net-tools-ipmaddr is not set +# CONFIG_PACKAGE_net-tools-iptunnel is not set +# CONFIG_PACKAGE_net-tools-mii-tool is not set +# CONFIG_PACKAGE_net-tools-nameif is not set +# CONFIG_PACKAGE_net-tools-netstat is not set +# CONFIG_PACKAGE_net-tools-plipconfig is not set +# CONFIG_PACKAGE_net-tools-rarp is not set +# CONFIG_PACKAGE_net-tools-slattach is not set +CONFIG_PACKAGE_netcat=y +# CONFIG_PACKAGE_netdiscover is not set +# CONFIG_PACKAGE_netperf is not set +# CONFIG_PACKAGE_netpipe is not set +# CONFIG_PACKAGE_netstat-nat is not set +# CONFIG_PACKAGE_ngrep is not set +# CONFIG_PACKAGE_noping is not set +# CONFIG_PACKAGE_oidentd is not set +# CONFIG_PACKAGE_openldap-server is not set +# CONFIG_PACKAGE_openrrcp is not set +# CONFIG_PACKAGE_openslp is not set +# CONFIG_PACKAGE_oping is not set +# CONFIG_PACKAGE_p910nd is not set +# CONFIG_PACKAGE_pen is not set +# CONFIG_PACKAGE_portmap is not set +# CONFIG_PACKAGE_ppp is not set +# CONFIG_PACKAGE_pptp is not set +# CONFIG_PACKAGE_qolyester is not set +# CONFIG_PACKAGE_quagga is not set +# CONFIG_PACKAGE_raddump is not set +# CONFIG_PACKAGE_radiusclient-ng is not set +# CONFIG_PACKAGE_radsecproxy is not set +# CONFIG_PACKAGE_relayd is not set +# CONFIG_PACKAGE_rrs is not set +# CONFIG_PACKAGE_rrs-nossl is not set +# CONFIG_PACKAGE_scdp is not set +# CONFIG_PACKAGE_sctp is not set +# CONFIG_PACKAGE_ser2net is not set +# CONFIG_PACKAGE_serialoverip is not set +# CONFIG_PACKAGE_shat is not set +# CONFIG_PACKAGE_slurm is not set +# CONFIG_PACKAGE_smtptrapd is not set +# CONFIG_PACKAGE_snmp-utils is not set +# CONFIG_PACKAGE_snmpd is not set +# CONFIG_PACKAGE_snmpd-static is not set +# CONFIG_PACKAGE_socat is not set +# CONFIG_PACKAGE_softflowd is not set +# CONFIG_PACKAGE_sscep is not set +# CONFIG_PACKAGE_sslcat is not set +# CONFIG_PACKAGE_sslh is not set +# CONFIG_PACKAGE_sslsniff is not set +# CONFIG_PACKAGE_sslstrip is not set +# CONFIG_PACKAGE_stun-client is not set +# CONFIG_PACKAGE_stund is not set +# CONFIG_PACKAGE_stunnel is not set +# CONFIG_PACKAGE_synce-dccm is not set +# CONFIG_PACKAGE_tc is not set +# CONFIG_PACKAGE_tcpdump is not set +# CONFIG_PACKAGE_tcpdump-mini is not set +# CONFIG_PACKAGE_tcptraceroute is not set +# CONFIG_PACKAGE_tctool is not set +# CONFIG_PACKAGE_tor is not set +# CONFIG_PACKAGE_tor-alpha is not set +# CONFIG_PACKAGE_tor-alpha-geoip is not set +# CONFIG_PACKAGE_tor-geoip is not set +# CONFIG_PACKAGE_ttcp is not set +# CONFIG_PACKAGE_ucarp is not set +# CONFIG_PACKAGE_ucspi-tcp is not set +# CONFIG_PACKAGE_udpcast is not set +# CONFIG_PACKAGE_udpxy is not set +CONFIG_PACKAGE_uhttpd=y +# CONFIG_PACKAGE_uhttpd-mod-lua is not set +# CONFIG_PACKAGE_uhttpd-mod-tls is not set +# CONFIG_PACKAGE_ulogd is not set +# CONFIG_PACKAGE_uob-nomad is not set +# CONFIG_PACKAGE_usbip is not set +# CONFIG_PACKAGE_vblade is not set +# CONFIG_PACKAGE_veth is not set +# CONFIG_PACKAGE_vgp is not set +# CONFIG_PACKAGE_vnc-reflector is not set +# CONFIG_PACKAGE_vncrepeater is not set +# CONFIG_PACKAGE_vnstat is not set +# CONFIG_PACKAGE_vsc7385-ucode-ap83 is not set +# CONFIG_PACKAGE_vsc7385-ucode-pb44 is not set +# CONFIG_PACKAGE_vsc7395-ucode-ap83 is not set +# CONFIG_PACKAGE_vsc7395-ucode-pb44 is not set +# CONFIG_PACKAGE_wdiag is not set +# CONFIG_PACKAGE_whob is not set +# CONFIG_PACKAGE_wing is not set +# CONFIG_PACKAGE_wiviz is not set +# CONFIG_PACKAGE_wol is not set +# CONFIG_PACKAGE_wpa-supplicant is not set +# CONFIG_DRIVER_WEXT_SUPPORT is not set +CONFIG_DRIVER_11N_SUPPORT=y +# CONFIG_PACKAGE_wpa-supplicant-mini is not set +# CONFIG_PACKAGE_wpad is not set +# CONFIG_PACKAGE_wpad-mini is not set +# CONFIG_PACKAGE_wprobe-export is not set +# CONFIG_PACKAGE_wprobe-util is not set +# CONFIG_PACKAGE_wshaper is not set +# CONFIG_PACKAGE_xinetd is not set + +# +# Libraries +# + +# +# Filesystem +# +# CONFIG_PACKAGE_libblkid is not set +# CONFIG_PACKAGE_libext2fs is not set +# CONFIG_PACKAGE_libnfsidmap is not set +# CONFIG_PACKAGE_libow is not set +# CONFIG_PACKAGE_libow-capi is not set +# CONFIG_PACKAGE_libsysfs is not set +# CONFIG_PACKAGE_libuuid is not set + +# +# SSL +# +# CONFIG_PACKAGE_libaxtls is not set +# CONFIG_PACKAGE_libcyassl is not set +# CONFIG_PACKAGE_libgnutls is not set +# CONFIG_PACKAGE_libgnutls-extra is not set +# CONFIG_PACKAGE_libgnutls-openssl is not set +# CONFIG_PACKAGE_libmatrixssl is not set +CONFIG_PACKAGE_libopenssl=y + +# +# Configuration +# +# CONFIG_OPENSSL_ENGINE is not set +# CONFIG_PACKAGE_libpolarssl is not set + +# +# Sound +# +# CONFIG_PACKAGE_liblo is not set + +# +# database +# +# CONFIG_PACKAGE_libsqlite2 is not set +# CONFIG_PACKAGE_libsqlite3 is not set +# CONFIG_PACKAGE_tokyocabinet is not set +# CONFIG_PACKAGE_alsa-lib is not set +# CONFIG_PACKAGE_argp-standalone is not set +# CONFIG_PACKAGE_argtable is not set +# CONFIG_PACKAGE_bind-libs is not set +# CONFIG_PACKAGE_bluez-libs is not set +# CONFIG_PACKAGE_boost-date_time is not set +# CONFIG_PACKAGE_boost-filesystem is not set +# CONFIG_PACKAGE_boost-function_types is not set +# CONFIG_PACKAGE_boost-graph is not set +# CONFIG_PACKAGE_boost-iostreams is not set +# CONFIG_PACKAGE_boost-math is not set +# CONFIG_PACKAGE_boost-program_options is not set +# CONFIG_PACKAGE_boost-python is not set +# CONFIG_PACKAGE_boost-regex is not set +# CONFIG_PACKAGE_boost-serialization is not set +# CONFIG_PACKAGE_boost-signals is not set +# CONFIG_PACKAGE_boost-system is not set +# CONFIG_PACKAGE_boost-test is not set +# CONFIG_PACKAGE_boost-thread is not set +# CONFIG_PACKAGE_boost-wave is not set +# CONFIG_PACKAGE_ccid is not set +# CONFIG_PACKAGE_cgilib is not set +# CONFIG_PACKAGE_check is not set +# CONFIG_PACKAGE_clearsilver is not set +# CONFIG_PACKAGE_confuse is not set +# CONFIG_PACKAGE_credis is not set +# CONFIG_PACKAGE_directfb is not set +# CONFIG_PACKAGE_fcgi is not set +# CONFIG_PACKAGE_fftw3 is not set +# CONFIG_PACKAGE_firewall-mod-save is not set +# CONFIG_PACKAGE_fribidi is not set +# CONFIG_PACKAGE_giflib is not set +# CONFIG_PACKAGE_glib1 is not set +# CONFIG_PACKAGE_glib2 is not set +# CONFIG_PACKAGE_glibmm is not set +# CONFIG_PACKAGE_id3lib is not set +# CONFIG_PACKAGE_libIDL2 is not set +# CONFIG_PACKAGE_libaa is not set +# CONFIG_PACKAGE_libaio is not set +# CONFIG_PACKAGE_libamsel is not set +# CONFIG_PACKAGE_libao is not set +# CONFIG_PACKAGE_libapr is not set +# CONFIG_PACKAGE_libaprutil is not set +# CONFIG_PACKAGE_libart is not set +# CONFIG_PACKAGE_libatomicops is not set +# CONFIG_PACKAGE_libaudiofile is not set +# CONFIG_PACKAGE_libavahi is not set +# CONFIG_PACKAGE_libavahi-client is not set +# CONFIG_PACKAGE_libavahi-dbus is not set +# CONFIG_PACKAGE_libblobmsg-json is not set +# CONFIG_PACKAGE_libcares is not set +# CONFIG_PACKAGE_libcelt is not set +# CONFIG_PACKAGE_libcharset is not set +# CONFIG_PACKAGE_libcli is not set +# CONFIG_PACKAGE_libclinkc is not set +# CONFIG_PACKAGE_libconfig is not set +# CONFIG_PACKAGE_libcroco is not set +# CONFIG_PACKAGE_libcryptoxx is not set +# CONFIG_PACKAGE_libcunit is not set +# CONFIG_PACKAGE_libcurl is not set +# CONFIG_PACKAGE_libcwiid is not set +# CONFIG_PACKAGE_libdaemon is not set +# CONFIG_PACKAGE_libdb47 is not set +# CONFIG_PACKAGE_libdbi is not set +# CONFIG_PACKAGE_libdbus is not set +# CONFIG_PACKAGE_libdbus-glib is not set +# CONFIG_PACKAGE_libdevmapper is not set +# CONFIG_PACKAGE_libdlna is not set +# CONFIG_PACKAGE_libdnet is not set +# CONFIG_PACKAGE_libdvbpsi is not set +# CONFIG_PACKAGE_libdvdread is not set +# CONFIG_PACKAGE_libelf is not set +# CONFIG_PACKAGE_libevent is not set +# CONFIG_PACKAGE_libevent2 is not set +# CONFIG_PACKAGE_libevent2-core is not set +# CONFIG_PACKAGE_libevent2-extra is not set +# CONFIG_PACKAGE_libevent2-openssl is not set +# CONFIG_PACKAGE_libevent2-pthreads is not set +# CONFIG_PACKAGE_libeventlog is not set +# CONFIG_PACKAGE_libexif is not set +# CONFIG_PACKAGE_libexpat is not set +# CONFIG_PACKAGE_libexslt is not set +# CONFIG_PACKAGE_libezxml is not set +# CONFIG_PACKAGE_libfaad2 is not set +# CONFIG_PACKAGE_libffi is not set +# CONFIG_PACKAGE_libffi-sable is not set +# CONFIG_PACKAGE_libffmpeg is not set +# CONFIG_PACKAGE_libflac is not set +# CONFIG_PACKAGE_libfreetype is not set +# CONFIG_PACKAGE_libftdi is not set +# CONFIG_PACKAGE_libgconf2 is not set +# CONFIG_PACKAGE_libgcrypt is not set +# CONFIG_PACKAGE_libgd is not set +# CONFIG_PACKAGE_libgdbm is not set +# CONFIG_PACKAGE_libgmp is not set +# CONFIG_PACKAGE_libgpg-error is not set +# CONFIG_PACKAGE_libgphoto2 is not set +# CONFIG_PACKAGE_libgsl is not set +# CONFIG_PACKAGE_libgsm is not set +# CONFIG_PACKAGE_libgssapi is not set +# CONFIG_PACKAGE_libhowl is not set +# CONFIG_PACKAGE_libiconv is not set +# CONFIG_PACKAGE_libiconv-full is not set +# CONFIG_PACKAGE_libid3tag is not set +# CONFIG_PACKAGE_libidn is not set +# CONFIG_PACKAGE_libiksemel is not set +# CONFIG_PACKAGE_libinklevel is not set +# CONFIG_PACKAGE_libintl is not set +# CONFIG_PACKAGE_libintl-full is not set +CONFIG_PACKAGE_libip4tc=y +# CONFIG_PACKAGE_libip6tc is not set +# CONFIG_PACKAGE_libiptc is not set +# CONFIG_PACKAGE_libiw is not set +# CONFIG_PACKAGE_libjpeg is not set +# CONFIG_PACKAGE_libjs is not set +# CONFIG_PACKAGE_libjson is not set +# CONFIG_PACKAGE_libltdl is not set +# CONFIG_PACKAGE_liblua is not set +# CONFIG_PACKAGE_liblzo is not set +# CONFIG_PACKAGE_libmad is not set +# CONFIG_PACKAGE_libmagic is not set +# CONFIG_PACKAGE_libmcrypt is not set +# CONFIG_PACKAGE_libmicrohttpd is not set +# CONFIG_PACKAGE_libmikmod is not set +# CONFIG_PACKAGE_libminiupnpc is not set +# CONFIG_PACKAGE_libmms is not set +# CONFIG_PACKAGE_libmodbus is not set +# CONFIG_PACKAGE_libmpcdec is not set +# CONFIG_PACKAGE_libmpd is not set +# CONFIG_PACKAGE_libmpdclient is not set +# CONFIG_PACKAGE_libmysqlclient is not set +# CONFIG_PACKAGE_libmysqlclient_r is not set +# CONFIG_PACKAGE_libnatpmp is not set +CONFIG_PACKAGE_libncurses=y +# CONFIG_PACKAGE_libneon is not set +# CONFIG_PACKAGE_libnet0 is not set +# CONFIG_PACKAGE_libnet1 is not set +# CONFIG_PACKAGE_libnetfilter-conntrack is not set +# CONFIG_PACKAGE_libnetfilter-log is not set +# CONFIG_PACKAGE_libnetfilter-queue is not set +# CONFIG_PACKAGE_libnetsnmp is not set +# CONFIG_PACKAGE_libnewt is not set +# CONFIG_PACKAGE_libnfc is not set +# CONFIG_PACKAGE_libnfnetlink is not set +# CONFIG_PACKAGE_libnids is not set +# CONFIG_PACKAGE_libnl is not set +CONFIG_PACKAGE_libnl-tiny=y +# CONFIG_PACKAGE_libnmeap is not set +# CONFIG_PACKAGE_libogg is not set +# CONFIG_PACKAGE_liboil is not set +# CONFIG_PACKAGE_libol is not set +# CONFIG_PACKAGE_libopal is not set +# CONFIG_PACKAGE_libopencdk is not set +# CONFIG_PACKAGE_libopenh323 is not set +# CONFIG_PACKAGE_libopenldap is not set +# CONFIG_PACKAGE_liboping is not set +# CONFIG_PACKAGE_libortp is not set +# CONFIG_PACKAGE_libosip2 is not set +# CONFIG_PACKAGE_libowfat is not set +# CONFIG_PACKAGE_libpar2 is not set +# CONFIG_PACKAGE_libpcap is not set +# CONFIG_PACKAGE_libpcre is not set +# CONFIG_PACKAGE_libpcrecpp is not set +# CONFIG_PACKAGE_libpcsclite is not set +# CONFIG_PACKAGE_libpng is not set +# CONFIG_PACKAGE_libpopt is not set +# CONFIG_PACKAGE_libpostproc is not set +# CONFIG_PACKAGE_libptmalloc3 is not set +# CONFIG_PACKAGE_libradiusclient-ng is not set +# CONFIG_PACKAGE_libreadline is not set +# CONFIG_PACKAGE_librpcsecgss is not set +# CONFIG_PACKAGE_librrd is not set +# CONFIG_PACKAGE_librrd1 is not set +# CONFIG_PACKAGE_librsync is not set +# CONFIG_PACKAGE_libruby is not set +# CONFIG_PACKAGE_libsamplerate is not set +# CONFIG_PACKAGE_libsasl2 is not set +# CONFIG_PACKAGE_libsdl is not set +# CONFIG_PACKAGE_libsdl-mixer is not set +# CONFIG_PACKAGE_libsdl-sound is not set +# CONFIG_PACKAGE_libsensors is not set +# CONFIG_PACKAGE_libshout is not set +# CONFIG_PACKAGE_libsigcxx is not set +# CONFIG_PACKAGE_libslang2 is not set +# CONFIG_PACKAGE_libsndfile is not set +# CONFIG_PACKAGE_libsocks is not set +# CONFIG_PACKAGE_libsoup is not set +# CONFIG_PACKAGE_libspandsp is not set +# CONFIG_PACKAGE_libspeex is not set +# CONFIG_PACKAGE_libspeexdsp is not set +# CONFIG_PACKAGE_libswscale is not set +# CONFIG_PACKAGE_libsynce is not set +# CONFIG_PACKAGE_libtasn1 is not set +# CONFIG_PACKAGE_libtheora is not set +# CONFIG_PACKAGE_libtiff is not set +# CONFIG_PACKAGE_libtiffxx is not set +# CONFIG_PACKAGE_libtorrent is not set +# CONFIG_PACKAGE_libtwin is not set +# CONFIG_PACKAGE_libubox is not set +CONFIG_PACKAGE_libuci=y +# CONFIG_PACKAGE_libuci-lua is not set +# CONFIG_PACKAGE_libucl is not set +# CONFIG_PACKAGE_libupnp is not set +# CONFIG_PACKAGE_libusb is not set +# CONFIG_PACKAGE_libusb-1.0 is not set +# CONFIG_PACKAGE_libv4l is not set +# CONFIG_PACKAGE_libvncserver is not set +# CONFIG_PACKAGE_libvorbis is not set +# CONFIG_PACKAGE_libvorbisidec is not set +# CONFIG_PACKAGE_libwrap is not set +# CONFIG_PACKAGE_libwxbase is not set +# CONFIG_PACKAGE_libxapian is not set +# CONFIG_PACKAGE_libxml2 is not set +# CONFIG_PACKAGE_libxslt is not set +CONFIG_PACKAGE_libxtables=y +# CONFIG_PACKAGE_linux-atm is not set +# CONFIG_PACKAGE_mxml is not set +# CONFIG_PACKAGE_nacl is not set +# CONFIG_PACKAGE_phidget21 is not set +# CONFIG_PACKAGE_poco is not set +# CONFIG_PACKAGE_protobuf is not set +# CONFIG_PACKAGE_pthsem is not set +# CONFIG_PACKAGE_ptlib is not set +# CONFIG_PACKAGE_pwlib is not set +# CONFIG_PACKAGE_radlib is not set +# CONFIG_PACKAGE_sane-libs is not set +# CONFIG_PACKAGE_serdisplib is not set +# CONFIG_PACKAGE_st2205tool is not set +# CONFIG_PACKAGE_taglib is not set +# CONFIG_PACKAGE_taglibc is not set +# CONFIG_PACKAGE_uclibcxx is not set +# CONFIG_PACKAGE_ustl is not set +# CONFIG_PACKAGE_xmlrpc-c is not set +# CONFIG_PACKAGE_xmlrpc-c-abyss is not set +# CONFIG_PACKAGE_xmlrpc-c-client is not set +# CONFIG_PACKAGE_xmlrpc-c-common is not set +# CONFIG_PACKAGE_xmlrpc-c-internal is not set +# CONFIG_PACKAGE_xmlrpc-c-server is not set +# CONFIG_PACKAGE_xmlrpc-c-server-abyss is not set +# CONFIG_PACKAGE_xmpp4r is not set +# CONFIG_PACKAGE_zaptel-libtonezone is not set +# CONFIG_PACKAGE_zaptel14-libtonezone is not set +CONFIG_PACKAGE_zlib=y + +# +# Multimedia +# +# CONFIG_PACKAGE_GraphicsMagick is not set +# CONFIG_PACKAGE_GraphicsMagick-jpeg is not set +# CONFIG_PACKAGE_crtmpserver is not set +# CONFIG_PACKAGE_ffmpeg is not set +# CONFIG_PACKAGE_ffserver is not set +# CONFIG_PACKAGE_fswebcam is not set +# CONFIG_PACKAGE_ftpd-topfield is not set +# CONFIG_PACKAGE_gmediaserver is not set +# CONFIG_PACKAGE_gphoto2 is not set +# CONFIG_PACKAGE_gst-ffmpeg is not set +# CONFIG_PACKAGE_gst-mod-adpcmdec is not set +# CONFIG_PACKAGE_gst-mod-adpcmenc is not set +# CONFIG_PACKAGE_gst-mod-aiff is not set +# CONFIG_PACKAGE_gst-mod-alsa is not set +# CONFIG_PACKAGE_gst-mod-app is not set +# CONFIG_PACKAGE_gst-mod-asf is not set +# CONFIG_PACKAGE_gst-mod-asfmux is not set +# CONFIG_PACKAGE_gst-mod-audioconvert is not set +# CONFIG_PACKAGE_gst-mod-audiofx is not set +# CONFIG_PACKAGE_gst-mod-audioparsersbad is not set +# CONFIG_PACKAGE_gst-mod-audiorate is not set +# CONFIG_PACKAGE_gst-mod-audioresample is not set +# CONFIG_PACKAGE_gst-mod-audiotestsrc is not set +# CONFIG_PACKAGE_gst-mod-autoconvert is not set +# CONFIG_PACKAGE_gst-mod-autodetect is not set +# CONFIG_PACKAGE_gst-mod-bayer is not set +# CONFIG_PACKAGE_gst-mod-camerabin is not set +# CONFIG_PACKAGE_gst-mod-cdxaparse is not set +# CONFIG_PACKAGE_gst-mod-cutter is not set +# CONFIG_PACKAGE_gst-mod-dataurisrc is not set +# CONFIG_PACKAGE_gst-mod-dccp is not set +# CONFIG_PACKAGE_gst-mod-debug is not set +# CONFIG_PACKAGE_gst-mod-debugutilsbad is not set +# CONFIG_PACKAGE_gst-mod-decodebin is not set +# CONFIG_PACKAGE_gst-mod-decodebin2 is not set +# CONFIG_PACKAGE_gst-mod-dtmf is not set +# CONFIG_PACKAGE_gst-mod-dvdspu is not set +# CONFIG_PACKAGE_gst-mod-equalizer is not set +# CONFIG_PACKAGE_gst-mod-festival is not set +# CONFIG_PACKAGE_gst-mod-flac is not set +# CONFIG_PACKAGE_gst-mod-freeze is not set +# CONFIG_PACKAGE_gst-mod-frei0r is not set +# CONFIG_PACKAGE_gst-mod-gio is not set +# CONFIG_PACKAGE_gst-mod-h264parse is not set +# CONFIG_PACKAGE_gst-mod-hdvparse is not set +# CONFIG_PACKAGE_gst-mod-icydemux is not set +# CONFIG_PACKAGE_gst-mod-id3demux is not set +# CONFIG_PACKAGE_gst-mod-id3tag is not set +# CONFIG_PACKAGE_gst-mod-interleave is not set +# CONFIG_PACKAGE_gst-mod-invtelecine is not set +# CONFIG_PACKAGE_gst-mod-jpegformat is not set +# CONFIG_PACKAGE_gst-mod-lame is not set +# CONFIG_PACKAGE_gst-mod-legacyresample is not set +# CONFIG_PACKAGE_gst-mod-level is not set +# CONFIG_PACKAGE_gst-mod-liveadder is not set +# CONFIG_PACKAGE_gst-mod-mad is not set +# CONFIG_PACKAGE_gst-mod-mms is not set +# CONFIG_PACKAGE_gst-mod-mpeg4videoparse is not set +# CONFIG_PACKAGE_gst-mod-mpegdemux is not set +# CONFIG_PACKAGE_gst-mod-mpegpsmux is not set +# CONFIG_PACKAGE_gst-mod-mpegtsmux is not set +# CONFIG_PACKAGE_gst-mod-mpegvideoparse is not set +# CONFIG_PACKAGE_gst-mod-multifile is not set +# CONFIG_PACKAGE_gst-mod-multipart is not set +# CONFIG_PACKAGE_gst-mod-mve is not set +# CONFIG_PACKAGE_gst-mod-mxf is not set +# CONFIG_PACKAGE_gst-mod-nsf is not set +# CONFIG_PACKAGE_gst-mod-nuvdemux is not set +# CONFIG_PACKAGE_gst-mod-ogg is not set +# CONFIG_PACKAGE_gst-mod-ossaudio is not set +# CONFIG_PACKAGE_gst-mod-pcapparse is not set +# CONFIG_PACKAGE_gst-mod-playbin is not set +# CONFIG_PACKAGE_gst-mod-pnm is not set +# CONFIG_PACKAGE_gst-mod-qtmux is not set +# CONFIG_PACKAGE_gst-mod-rawparse is not set +# CONFIG_PACKAGE_gst-mod-replaygain is not set +# CONFIG_PACKAGE_gst-mod-rtp is not set +# CONFIG_PACKAGE_gst-mod-rtpmux is not set +# CONFIG_PACKAGE_gst-mod-rtsp is not set +# CONFIG_PACKAGE_gst-mod-scaletempoplugin is not set +# CONFIG_PACKAGE_gst-mod-sdpelem is not set +# CONFIG_PACKAGE_gst-mod-segmentclip is not set +# CONFIG_PACKAGE_gst-mod-selector is not set +# CONFIG_PACKAGE_gst-mod-siren is not set +# CONFIG_PACKAGE_gst-mod-souphttpsrc is not set +# CONFIG_PACKAGE_gst-mod-spectrum is not set +# CONFIG_PACKAGE_gst-mod-speed is not set +# CONFIG_PACKAGE_gst-mod-stereo is not set +# CONFIG_PACKAGE_gst-mod-subenc is not set +# CONFIG_PACKAGE_gst-mod-tcp is not set +# CONFIG_PACKAGE_gst-mod-theora is not set +# CONFIG_PACKAGE_gst-mod-tta is not set +# CONFIG_PACKAGE_gst-mod-typefindfunctions is not set +# CONFIG_PACKAGE_gst-mod-udp is not set +# CONFIG_PACKAGE_gst-mod-valve is not set +# CONFIG_PACKAGE_gst-mod-videomeasure is not set +# CONFIG_PACKAGE_gst-mod-videosignal is not set +# CONFIG_PACKAGE_gst-mod-videotestsrc is not set +# CONFIG_PACKAGE_gst-mod-vmnc is not set +# CONFIG_PACKAGE_gst-mod-volume is not set +# CONFIG_PACKAGE_gst-mod-vorbis is not set +# CONFIG_PACKAGE_gst-mod-wavenc is not set +# CONFIG_PACKAGE_gst-mod-wavparse is not set +# CONFIG_PACKAGE_gst-plugins-bad is not set +# CONFIG_PACKAGE_gst-plugins-base is not set +# CONFIG_PACKAGE_gst-plugins-good is not set +# CONFIG_PACKAGE_gst-plugins-ugly is not set +# CONFIG_PACKAGE_gstreamer is not set +# CONFIG_PACKAGE_gstreamer-utils is not set +# CONFIG_PACKAGE_hasciicam is not set +# CONFIG_PACKAGE_icecast is not set +# CONFIG_PACKAGE_imagemagick is not set +# CONFIG_PACKAGE_imagemagick-jpeg is not set +# CONFIG_PACKAGE_imagemagick-png is not set +# CONFIG_PACKAGE_imagemagick-tiff is not set +# CONFIG_PACKAGE_imagemagick-tools is not set +# CONFIG_PACKAGE_kissdx is not set +# CONFIG_PACKAGE_libgstapp is not set +# CONFIG_PACKAGE_libgstaudio is not set +# CONFIG_PACKAGE_libgstcdda is not set +# CONFIG_PACKAGE_libgstcheck is not set +# CONFIG_PACKAGE_libgstcontroller is not set +# CONFIG_PACKAGE_libgstdataprotocol is not set +# CONFIG_PACKAGE_libgstfft is not set +# CONFIG_PACKAGE_libgstinterfaces is not set +# CONFIG_PACKAGE_libgstnet is not set +# CONFIG_PACKAGE_libgstnetbuffer is not set +# CONFIG_PACKAGE_libgstpbutils is not set +# CONFIG_PACKAGE_libgstreamer is not set +# CONFIG_PACKAGE_libgstriff is not set +# CONFIG_PACKAGE_libgstrtp is not set +# CONFIG_PACKAGE_libgstrtsp is not set +# CONFIG_PACKAGE_libgstsdp is not set +# CONFIG_PACKAGE_libgsttag is not set +# CONFIG_PACKAGE_libgstvideo is not set +# CONFIG_PACKAGE_minidlna is not set +# CONFIG_PACKAGE_mjpg-streamer is not set +# CONFIG_PACKAGE_motion is not set +# CONFIG_PACKAGE_palantir is not set +# CONFIG_PACKAGE_peercast is not set +# CONFIG_PACKAGE_puppy is not set +# CONFIG_PACKAGE_spcacat is not set +# CONFIG_PACKAGE_streamripper is not set +# CONFIG_PACKAGE_ushare is not set +# CONFIG_PACKAGE_vips is not set + +# +# Utilities +# + +# +# Boot Loaders +# + +# +# Editors +# +# CONFIG_PACKAGE_joe is not set +# CONFIG_PACKAGE_mg is not set +CONFIG_PACKAGE_nano=y +# CONFIG_PACKAGE_vim is not set +# CONFIG_PACKAGE_vim-full is not set +# CONFIG_PACKAGE_vim-help is not set +# CONFIG_PACKAGE_vim-runtime is not set +# CONFIG_PACKAGE_zile is not set + +# +# Filesystem +# +# CONFIG_PACKAGE_badblocks is not set +# CONFIG_PACKAGE_blkid is not set +# CONFIG_PACKAGE_btrfs-progs is not set +# CONFIG_PACKAGE_cifsmount is not set +# CONFIG_PACKAGE_disktype is not set +# CONFIG_PACKAGE_dosfsck is not set +# CONFIG_PACKAGE_dosfslabel is not set +# CONFIG_PACKAGE_e2fsprogs is not set +# CONFIG_PACKAGE_mkdosfs is not set +# CONFIG_PACKAGE_nfs-utils is not set +# CONFIG_PACKAGE_ntfs-3g is not set +# CONFIG_PACKAGE_ntfs-3g-low is not set +# CONFIG_PACKAGE_ntfs-3g-utils is not set +# CONFIG_PACKAGE_ntfsprogs is not set +# CONFIG_PACKAGE_ntfsprogs_ntfs-3g is not set +# CONFIG_PACKAGE_owshell is not set +# CONFIG_PACKAGE_reiserfsprogs is not set +# CONFIG_PACKAGE_resize2fs is not set +# CONFIG_PACKAGE_sysfsutils is not set +# CONFIG_PACKAGE_tune2fs is not set +# CONFIG_PACKAGE_uuidgen is not set + +# +# SSL +# +# CONFIG_PACKAGE_certtool is not set +# CONFIG_PACKAGE_gnutls-utils is not set +# CONFIG_PACKAGE_polarssl-progs is not set + +# +# Sound +# +# CONFIG_PACKAGE_liblo-utils is not set + +# +# Terminal +# +# CONFIG_PACKAGE_microcom is not set +# CONFIG_PACKAGE_minicom is not set +# CONFIG_PACKAGE_picocom is not set +# CONFIG_PACKAGE_script is not set +# CONFIG_PACKAGE_setserial is not set +# CONFIG_PACKAGE_setterm is not set + +# +# backup +# +# CONFIG_PACKAGE_rdiff-backup is not set + +# +# compression +# +# CONFIG_PACKAGE_unrar is not set +# CONFIG_PACKAGE_unzip is not set +# CONFIG_PACKAGE_zip is not set + +# +# database +# +# CONFIG_PACKAGE_mysql-server is not set +# CONFIG_PACKAGE_sqlite2-cli is not set +# CONFIG_PACKAGE_sqlite3-cli is not set + +# +# disc +# +# CONFIG_PACKAGE_cfdisk is not set +# CONFIG_PACKAGE_devio is not set +# CONFIG_PACKAGE_fdisk is not set +# CONFIG_PACKAGE_hd-idle is not set +# CONFIG_PACKAGE_hdparm is not set +# CONFIG_PACKAGE_lvm2 is not set +# CONFIG_PACKAGE_sdparm is not set +# CONFIG_PACKAGE_sfdisk is not set +# CONFIG_PACKAGE_swap-utils is not set + +# +# filemanager +# +# CONFIG_PACKAGE_deco is not set +# CONFIG_PACKAGE_mc is not set +# CONFIG_PACKAGE_alsa-utils is not set +# CONFIG_PACKAGE_alsa-utils-tests is not set +# CONFIG_PACKAGE_anyremote is not set +# CONFIG_PACKAGE_ap51-flash is not set +# CONFIG_PACKAGE_apcupsd is not set +# CONFIG_PACKAGE_at is not set +# CONFIG_PACKAGE_avrdude is not set +# CONFIG_PACKAGE_avrusbboot is not set +# CONFIG_PACKAGE_bandwidthd is not set +# CONFIG_PACKAGE_bash is not set +# CONFIG_PACKAGE_bash-completion is not set +# CONFIG_PACKAGE_bc is not set +# CONFIG_PACKAGE_bemusedlinuxserver is not set +# CONFIG_PACKAGE_bluez-hcidump is not set +# CONFIG_PACKAGE_bluez-utils is not set +# CONFIG_PACKAGE_bzip2 is not set +# CONFIG_PACKAGE_calvaria is not set +# CONFIG_PACKAGE_ccrypt is not set +# CONFIG_PACKAGE_cdparanoia is not set +# CONFIG_PACKAGE_cksfv is not set +# CONFIG_PACKAGE_cmdpad is not set +# CONFIG_PACKAGE_collectd is not set +# CONFIG_PACKAGE_coreutils is not set +# CONFIG_PACKAGE_cpusage is not set +# CONFIG_PACKAGE_crypto-tools is not set +# CONFIG_PACKAGE_cryptsetup is not set +# CONFIG_PACKAGE_daemontools is not set +# CONFIG_PACKAGE_dbus is not set +# CONFIG_PACKAGE_devmem2 is not set +# CONFIG_PACKAGE_dfu-util is not set +# CONFIG_PACKAGE_dialog is not set +# CONFIG_PACKAGE_digitemp is not set +# CONFIG_PACKAGE_digitemp-usb is not set +# CONFIG_PACKAGE_dir300-flash is not set +# CONFIG_PACKAGE_dropbearconvert is not set +# CONFIG_PACKAGE_dt is not set +# CONFIG_PACKAGE_dtach is not set +# CONFIG_PACKAGE_empty is not set +# CONFIG_PACKAGE_event_test is not set +# CONFIG_PACKAGE_fancontroled is not set +# CONFIG_PACKAGE_fconfig is not set +# CONFIG_PACKAGE_file is not set +# CONFIG_PACKAGE_firmwarehotplug is not set +# CONFIG_PACKAGE_flock is not set +# CONFIG_PACKAGE_fortune-mod is not set +# CONFIG_PACKAGE_fowsr is not set +# CONFIG_PACKAGE_fxload is not set +# CONFIG_PACKAGE_gconf2 is not set +# CONFIG_PACKAGE_gdb is not set +# CONFIG_PACKAGE_gdbserver is not set +# CONFIG_PACKAGE_gnokii is not set +# CONFIG_PACKAGE_gnupg is not set +# CONFIG_PACKAGE_gnuplot is not set +# CONFIG_PACKAGE_gpioctl is not set +# CONFIG_PACKAGE_gsm-utils is not set +# CONFIG_PACKAGE_gzip is not set +# CONFIG_PACKAGE_haserl is not set +# CONFIG_PACKAGE_heyu is not set +# CONFIG_PACKAGE_hplip is not set +# CONFIG_PACKAGE_huaweiaktbbo is not set +# CONFIG_PACKAGE_hwclock is not set +# CONFIG_PACKAGE_i2c-tools is not set +# CONFIG_PACKAGE_iconv is not set +# CONFIG_PACKAGE_ink is not set +# CONFIG_PACKAGE_input-utils is not set +# CONFIG_PACKAGE_io is not set +# CONFIG_PACKAGE_ipmitool is not set +# CONFIG_PACKAGE_jpeg-tools is not set +# CONFIG_PACKAGE_kexec-tools is not set +# CONFIG_PACKAGE_kmemtrace-user is not set +# CONFIG_PACKAGE_ksymoops is not set +# CONFIG_PACKAGE_lcd4linux is not set +# CONFIG_PACKAGE_lcdproc is not set +# CONFIG_PACKAGE_ldconfig is not set +# CONFIG_PACKAGE_ldd is not set +# CONFIG_PACKAGE_less is not set +# CONFIG_PACKAGE_libnfc-examples is not set +# CONFIG_PACKAGE_lirc is not set +# CONFIG_PACKAGE_lm-sensors is not set +# CONFIG_PACKAGE_lm-sensors-detect is not set +# CONFIG_PACKAGE_logrotate is not set +# CONFIG_PACKAGE_losetup is not set +# CONFIG_PACKAGE_lrzsz is not set +# CONFIG_PACKAGE_lsof is not set +# CONFIG_PACKAGE_macchanger is not set +# CONFIG_PACKAGE_mdadm is not set +# CONFIG_PACKAGE_memtester is not set +# CONFIG_PACKAGE_mgetty is not set +# CONFIG_PACKAGE_mount-utils is not set +# CONFIG_PACKAGE_mtd-utils is not set +# CONFIG_PACKAGE_nprobe is not set +# CONFIG_PACKAGE_ocf-crypto-headers is not set +# CONFIG_PACKAGE_open2300 is not set +# CONFIG_PACKAGE_openldap-utils is not set +# CONFIG_PACKAGE_openssl-util is not set +# CONFIG_PACKAGE_pciutils is not set +# CONFIG_PACKAGE_pcscd is not set +# CONFIG_PACKAGE_pipacs is not set +# CONFIG_PACKAGE_powertop is not set +# CONFIG_PACKAGE_procps is not set +# CONFIG_PACKAGE_psmisc is not set +# CONFIG_PACKAGE_psplash is not set +# CONFIG_PACKAGE_pv is not set +# CONFIG_PACKAGE_pwcrypt is not set +# CONFIG_PACKAGE_pwgen is not set +# CONFIG_PACKAGE_pwrtray-backend is not set +# CONFIG_PACKAGE_px5g is not set +# CONFIG_PACKAGE_qc-usb-utils is not set +# CONFIG_PACKAGE_rcs is not set +# CONFIG_PACKAGE_restorefactory is not set +# CONFIG_PACKAGE_robocfg is not set +# CONFIG_PACKAGE_rrdcgi is not set +# CONFIG_PACKAGE_rrdcgi1 is not set +# CONFIG_PACKAGE_rrdcollect is not set +# CONFIG_PACKAGE_rrdtool is not set +# CONFIG_PACKAGE_rrdtool1 is not set +# CONFIG_PACKAGE_sane-backends is not set +# CONFIG_PACKAGE_sane-frontends is not set +# CONFIG_PACKAGE_schedtool is not set +# CONFIG_PACKAGE_scponly is not set +# CONFIG_PACKAGE_screen is not set +# CONFIG_PACKAGE_sed is not set +# CONFIG_PACKAGE_setpwc is not set +# CONFIG_PACKAGE_shadow is not set +# CONFIG_PACKAGE_shadow-groupadd is not set +# CONFIG_PACKAGE_shadow-groupdel is not set +# CONFIG_PACKAGE_shadow-groupmod is not set +# CONFIG_PACKAGE_shadow-useradd is not set +# CONFIG_PACKAGE_shadow-userdel is not set +# CONFIG_PACKAGE_shadow-usermod is not set +# CONFIG_PACKAGE_sispmctl is not set +# CONFIG_PACKAGE_smartmontools is not set +# CONFIG_PACKAGE_spidev-test is not set +# CONFIG_PACKAGE_ssldump is not set +# CONFIG_PACKAGE_strace is not set +# CONFIG_PACKAGE_stress is not set +# CONFIG_PACKAGE_sysstat is not set +# CONFIG_PACKAGE_tar is not set +# CONFIG_PACKAGE_tcpser is not set +# CONFIG_PACKAGE_tcsh is not set +# CONFIG_PACKAGE_tiff-utils is not set +# CONFIG_PACKAGE_tmux is not set +# CONFIG_PACKAGE_triggerhappy is not set +# CONFIG_PACKAGE_uboot-envtools is not set +# CONFIG_PACKAGE_ucmb-tools is not set +# CONFIG_PACKAGE_upx is not set +# CONFIG_PACKAGE_usb-modeswitch is not set +# CONFIG_PACKAGE_usbutils is not set +# CONFIG_PACKAGE_watchcat is not set +# CONFIG_PACKAGE_wattsup is not set +# CONFIG_PACKAGE_whiptail is not set +# CONFIG_PACKAGE_wifitoggle is not set +# CONFIG_PACKAGE_wminput is not set +# CONFIG_PACKAGE_xsltproc is not set +# CONFIG_PACKAGE_zaptel14-util is not set + +# +# Extra packages +# +# CONFIG_PACKAGE_libdmapsharing is not set +# CONFIG_PACKAGE_zoneinfo-africa is not set +# CONFIG_PACKAGE_zoneinfo-asia is not set +# CONFIG_PACKAGE_zoneinfo-atlantic is not set +# CONFIG_PACKAGE_zoneinfo-australia-nz is not set +# CONFIG_PACKAGE_zoneinfo-core is not set +# CONFIG_PACKAGE_zoneinfo-europe is not set +# CONFIG_PACKAGE_zoneinfo-india is not set +# CONFIG_PACKAGE_zoneinfo-middleeast is not set +# CONFIG_PACKAGE_zoneinfo-northamerica is not set +# CONFIG_PACKAGE_zoneinfo-pacific is not set +# CONFIG_PACKAGE_zoneinfo-poles is not set +# CONFIG_PACKAGE_zoneinfo-simple is not set +# CONFIG_PACKAGE_zoneinfo-southamerica is not set + +# +# Development +# +# CONFIG_PACKAGE_binutils is not set +# CONFIG_PACKAGE_cppunit is not set +# CONFIG_PACKAGE_diffutils is not set +# CONFIG_PACKAGE_dmalloc-utils is not set +# CONFIG_PACKAGE_libdmalloc is not set +# CONFIG_PACKAGE_make is not set +# CONFIG_PACKAGE_objdump is not set +# CONFIG_PACKAGE_patch is not set +# CONFIG_PACKAGE_python-sip is not set + +# +# Sound +# +# CONFIG_PACKAGE_cmus is not set +# CONFIG_PACKAGE_empcd is not set +# CONFIG_PACKAGE_faad2 is not set +# CONFIG_PACKAGE_flite is not set +# CONFIG_PACKAGE_ices is not set +# CONFIG_PACKAGE_lame is not set +# CONFIG_PACKAGE_lame-lib is not set +# CONFIG_PACKAGE_madplay is not set +# CONFIG_PACKAGE_moc is not set +# CONFIG_PACKAGE_mpc is not set +# CONFIG_PACKAGE_mpd is not set +# CONFIG_PACKAGE_mpdas is not set +# CONFIG_PACKAGE_mt-daapd is not set +# CONFIG_PACKAGE_scmpc is not set +# CONFIG_PACKAGE_shell-fm is not set +# CONFIG_PACKAGE_sox is not set + +# +# Languages +# + +# +# Erlang +# +CONFIG_PACKAGE_erlang=m +CONFIG_PACKAGE_erlang-asn1=m +CONFIG_PACKAGE_erlang-compiler=m +CONFIG_PACKAGE_erlang-crypto=m +CONFIG_PACKAGE_erlang-hipe=m +CONFIG_PACKAGE_erlang-inets=m +CONFIG_PACKAGE_erlang-mnesia=m +CONFIG_PACKAGE_erlang-runtime-tools=m +CONFIG_PACKAGE_erlang-snmp=m +CONFIG_PACKAGE_erlang-ssh=m +CONFIG_PACKAGE_erlang-ssl=m +CONFIG_PACKAGE_erlang-syntax-tools=m + +# +# Java +# + +# +# JavaScript +# +# CONFIG_PACKAGE_js is not set + +# +# Lua +# +# CONFIG_PACKAGE_lsqlite3 is not set +# CONFIG_PACKAGE_lua is not set +# CONFIG_PACKAGE_luac is not set +# CONFIG_PACKAGE_luaexpat is not set +# CONFIG_PACKAGE_luafilesystem is not set +# CONFIG_PACKAGE_luaposix is not set +# CONFIG_PACKAGE_luaprofiler is not set +# CONFIG_PACKAGE_luasec is not set +# CONFIG_PACKAGE_luasocket is not set +# CONFIG_PACKAGE_luasql-mysql is not set +# CONFIG_PACKAGE_luasql-sqlite3 is not set + +# +# PHP +# +# CONFIG_PACKAGE_php-pear is not set +# CONFIG_PACKAGE_php4 is not set +# CONFIG_PACKAGE_php5 is not set + +# +# Perl +# +# CONFIG_PACKAGE_microperl is not set +# CONFIG_PACKAGE_perl is not set + +# +# Python +# +# CONFIG_PACKAGE_cython is not set +# CONFIG_PACKAGE_dbus-python is not set +# CONFIG_PACKAGE_distribute is not set +# CONFIG_PACKAGE_gst-python is not set +# CONFIG_PACKAGE_ipython is not set +# CONFIG_PACKAGE_jsonpath is not set +# CONFIG_PACKAGE_libyaml is not set +# CONFIG_PACKAGE_logilab-astng is not set +# CONFIG_PACKAGE_logilab-common is not set +# CONFIG_PACKAGE_mako is not set +# CONFIG_PACKAGE_pycairo is not set +# CONFIG_PACKAGE_pyopenssl is not set +# CONFIG_PACKAGE_pyqt4 is not set +# CONFIG_PACKAGE_pyserial is not set +# CONFIG_PACKAGE_python is not set +# CONFIG_PACKAGE_python-bluez is not set +# CONFIG_PACKAGE_python-cjson is not set +# CONFIG_PACKAGE_python-crypto is not set +# CONFIG_PACKAGE_python-curl is not set +# CONFIG_PACKAGE_python-cwiid is not set +# CONFIG_PACKAGE_python-doc is not set +# CONFIG_PACKAGE_python-egenix-mx is not set +# CONFIG_PACKAGE_python-event is not set +# CONFIG_PACKAGE_python-expat is not set +# CONFIG_PACKAGE_python-gdbm is not set +# CONFIG_PACKAGE_python-gobject is not set +# CONFIG_PACKAGE_python-gzip is not set +# CONFIG_PACKAGE_python-ifconfig is not set +# CONFIG_PACKAGE_python-json is not set +# CONFIG_PACKAGE_python-kid is not set +# CONFIG_PACKAGE_python-mini is not set +# CONFIG_PACKAGE_python-mysql is not set +# CONFIG_PACKAGE_python-openssl is not set +# CONFIG_PACKAGE_python-pcap is not set +# CONFIG_PACKAGE_python-rrd is not set +# CONFIG_PACKAGE_python-shutil is not set +# CONFIG_PACKAGE_python-smbus is not set +# CONFIG_PACKAGE_python-sqlite is not set +# CONFIG_PACKAGE_python-sqlite3 is not set +# CONFIG_PACKAGE_python-xapian is not set +# CONFIG_PACKAGE_python-yapsnmp is not set +# CONFIG_PACKAGE_python2-chardet is not set +# CONFIG_PACKAGE_pyusb is not set +# CONFIG_PACKAGE_pyxdg is not set +# CONFIG_PACKAGE_pyyaml is not set +# CONFIG_PACKAGE_telepathy-python is not set +# CONFIG_PACKAGE_twisted is not set +# CONFIG_PACKAGE_zope-interface is not set + +# +# Ruby +# +# CONFIG_PACKAGE_ruby is not set +# CONFIG_PACKAGE_eggdrop is not set +# CONFIG_PACKAGE_sigscheme is not set +# CONFIG_PACKAGE_slsh is not set +# CONFIG_PACKAGE_tcl is not set +# CONFIG_PACKAGE_urbi is not set diff --git a/files/common/etc/config/batman-adv b/files/common/etc/config/batman-adv new file mode 100644 index 0000000..cc8db5f --- /dev/null +++ b/files/common/etc/config/batman-adv @@ -0,0 +1,10 @@ +config 'mesh' 'bat0' + option 'interfaces' 'ath1' + option 'orig_interval' + option 'log_level' + option 'aggregated_ogms' + option 'bonding' + option 'fragmentation' + option 'vis_mode' + option 'gw_mode' 'client' + diff --git a/files/common/etc/config/firewall b/files/common/etc/config/firewall new file mode 100644 index 0000000..4b702ba --- /dev/null +++ b/files/common/etc/config/firewall @@ -0,0 +1,50 @@ +config defaults + option syn_flood 1 + option input ACCEPT + option output ACCEPT + option forward REJECT + +config zone + option name wan + option input REJECT + option output ACCEPT + option forward REJECT + option masq 1 + option mtu_fix 1 +config zone + option name mesh + option input ACCEPT + option output ACCEPT + option forward REJECT +config zone + option name lan + option input ACCEPT + option output ACCEPT + option forward REJECT +config forwarding + option src mesh + option dest wan + +config forwarding + option src lan + option dest wan + +# We need to accept udp packets on port 68, +# see https://dev.openwrt.org/ticket/4108 +config rule + option src wan + option proto udp + option dest_port 68 + option target ACCEPT + +#Allow ping +config rule + option src wan + option proto icmp + option icmp_type echo-request + option target ACCEPT + +# include a file with users custom iptables rules +config include + option path /etc/firewall.user + diff --git a/files/common/etc/config/n2n b/files/common/etc/config/n2n new file mode 100644 index 0000000..58cccdc --- /dev/null +++ b/files/common/etc/config/n2n @@ -0,0 +1,17 @@ +config edge + option ipaddr '1.2.3.4' + option supernode 'fritz-der-server.de' + option port '2009' + option community 'ffj1' + option key 'ffj1' + option devname 'n2n1' + option route '' +config edge + option ipaddr '1.2.3.4' + option supernode '89.238.83.22' + option port '9876' + option community 'ffj2' + option key 'ffj2' + option devname 'n2n2' + option route '' + diff --git a/files/common/etc/config/network b/files/common/etc/config/network new file mode 100644 index 0000000..b0d6d9e --- /dev/null +++ b/files/common/etc/config/network @@ -0,0 +1,39 @@ + +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' 'bat0 ath0' + option 'mtu' '1527' + +config 'interface' 'lan' + option 'type' 'bridge' + option 'proto' 'static' + option 'ipaddr' '10.17.200.1' + option 'netmask' '255.255.255.0' + option 'ifname' 'eth0.1' + +config 'switch' 'eth0' + option 'name' 'eth0' + option 'reset' '1' + option 'enable_vlan' '1' + +config 'switch_vlan' 'eth0_1' + option 'device' 'eth0' + option 'vlan' '1' + option 'ports' '0 1 2 3 5t' + +config 'switch_vlan' 'eth0_2' + option 'device' 'eth0' + option 'vlan' '2' + option 'ports' '4 5t' + +config 'interface' 'wan' + option 'ifname' 'eth0.2' + option 'proto' 'dhcp' + option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' + diff --git a/files/common/etc/config/splash_users b/files/common/etc/config/splash_users new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/files/common/etc/config/splash_users @@ -0,0 +1 @@ + diff --git a/files/common/etc/config/system b/files/common/etc/config/system new file mode 100644 index 0000000..3d9683c --- /dev/null +++ b/files/common/etc/config/system @@ -0,0 +1,17 @@ +config system + option hostname OpenWrt + option timezone CET + +config button + option button reset + option action released + option handler "logger reboot" + option min 0 + option max 4 + +config button + option button reset + option action released + option handler "logger factory default" + option min 5 + option max 30 diff --git a/files/common/etc/config/uhttpd b/files/common/etc/config/uhttpd new file mode 100644 index 0000000..8320d42 --- /dev/null +++ b/files/common/etc/config/uhttpd @@ -0,0 +1,39 @@ +# Server configuration +config uhttpd main + + # HTTP listen addresses, multiple allowed + list listen_http 0.0.0.0:80 + # Server document root + option home /www + option error_page /cgi-bin/redirect + option index_page cgi-bin/redirect + # Reject requests from RFC1918 IP addresses + # directed to the servers public IP(s). + # This is a DNS rebinding countermeasure. + option rfc1918_filter 1 + + # CGI url prefix, will be searched in docroot. + # Default is /cgi-bin + option cgi_prefix /cgi-bin + + # CGI/Lua timeout, if the called script does not + # write data within the given amount of seconds, + # the server will terminate the request with + # 504 Gateway Timeout response. + option script_timeout 60 + + # Network timeout, if the current connection is + # blocked for the specified amount of seconds, + # the server will terminate the associated + # request process. + option network_timeout 30 + + # TCP Keep-Alive, send periodic keep-alive probes + # over established connections to detect dead peers. + # The value is given in seconds to specify the + # interval between subsequent probes. + # Setting this to 0 will disable TCP keep-alive. + option tcp_keepalive 1 + + + diff --git a/files/common/etc/config/wireless b/files/common/etc/config/wireless new file mode 100644 index 0000000..17dd0b7 --- /dev/null +++ b/files/common/etc/config/wireless @@ -0,0 +1,16 @@ +config wifi-device wifi0 + option type atheros + option channel 1 + +config wifi-iface + option device wifi0 + option mode adhoc + option ssid batman.jena.freifunk.net + option bssid 12:CA:FF:EE:BA:BE + option hidden 1 + +config wifi-iface + option device wifi0 + option mode ap + option ssid www.freifunk-jena.de + diff --git a/files/common/etc/crontabs/root b/files/common/etc/crontabs/root new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/files/common/etc/crontabs/root @@ -0,0 +1 @@ + diff --git a/files/common/etc/dropbear/authorized_keys b/files/common/etc/dropbear/authorized_keys new file mode 100644 index 0000000..ed898bc --- /dev/null +++ b/files/common/etc/dropbear/authorized_keys @@ -0,0 +1,8 @@ +# egon0 (Freifunk Jena) egon@resonar.de +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== +# Darkeye (Freifunk Jena) martinmichel@die-guten-partei.de +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== +# Darkeye (Freifunk Jena) - mobile +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB7QDvtIcbm2u4bnMVrQro+iFkQEsAHC/nbk8I/V85CpZObiofVWD7xJd/UMU9zxhWJ2UG+aVThNX9vwSHfmBYMfMljFXIRG8vo94uVZmEUvgfMDXAoOE7EhLBXGAx+Z1f4/rwoTWE0b/Nb/CfnxfDTbNYQgrjx9pyMY6CtYMddqjsBmq9ZzO/w4+WUZJXIy7imWkKna7czG20AMUNuo7AvcOlU1rgZIVyi2hN31DvuJNLSDXSDCkxMwcV0iukYnNiGk7N/xReBLKHbp9aUk0/TOr+H7cBjQwkXZPheoPsq3CZfolHQiQxjMGwFQlw+ZnrURDaOGFU6u1sAWZDwj2DaFh4YFaPHH8gKJvsE0vjxzWCc3vmFctCLwGLeLoc7Ghz35q066LX9i972w9HQ1YRcrKLAGDmhkzAQqaX3dT7bsgvylTi+nvhr0iYZ9wg44TDd+KGfm+BHtXOxCmr4MzJWOooQi83gr7ZoqGL3rwK8t2dDDORA9sb6sAe+Srj0GXUxbIRWmJY99JOlIocBGRzsUQ08kulsNryQrgk5iwxqSZy0TAGVisZ2Uz5SfNSYbpKLn3IbNtl2TPvFazdMb0RfXhZpcxoPgbf6UmQBQJdI11e6ga6Evn5KIIT6GvtQQDxwdyn/CggEbnXj20nAp8== +# egon0 (Freifunk Jena) - mobile +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYdPDqvxN2+oZQr1QEAgcpFgRq7QAk6lNT4f5mFiDII07tlx7KMgWGX5C3hbgHpJgVWXx9uC5aB0qQOO8h0KV0AODQDz9bu7P9SvmpZt0isXzV5jh+b/lzMfwlzZt0tmqOUxzN6JkzBfsaQjMEViSsu/bhQG0nPehiEVykrJeMVPngX9hfA6UMj04hhkUY0bG+ET1JpUCSSXKkvPJHKOfGa9gPeZewSasGnxjwzQ5M2Ikn4CtQuDCIrVnjEvb/rAH3So9TSjV31dx10O6vYY2qAnS/oviQSN9NP729CQLSCaBFv4Z5I7WJaXAxkYSRvC8fzTq62nOXWi3rWg2jfSnsbyEkqQGJ5z6ZaiDIi2tHuXfVoLlCdnaVmgPtQuhGQLamrnOvvn+PJBptPgGWl74g/H/UEsT0v60c6jgfp5jtrEk25Bgk7QITp/aykRf6uGjEfwnatZSs43D2y9TU6EPH0oy2tN0MI+XKU2PwoXme1BwAhpKPawnNY495BmLqyn0u3Fr8C1IqD2nCaLhk8OGVEW3BZAy2wdb2V1huTq0SkEMhILrDLKslZwGpO2mtMRrHwAhk6S220zSOH+B9seNK7P42pNBc0pqP6rJrVRxfjpq/+fA4wjE+ojQagQhTAHuK/SsA79gE/vTtlRGOy2nW7D5hmidaiiqptTxuTENULQ== galaxy diff --git a/files/common/etc/hotplug.d/iface/22-wan_led b/files/common/etc/hotplug.d/iface/22-wan_led new file mode 100644 index 0000000..061a499 --- /dev/null +++ b/files/common/etc/hotplug.d/iface/22-wan_led @@ -0,0 +1,15 @@ +#!/bin/sh +case "${ACTION:-ifup}" in + ifup) + gpioctl set 3 + uci set batman-adv.bat0.gw_mode=server + uci commit batman-adv + /etc/init.d/batman-adv restart + ;; + ifdown) + gpioctl dirout 3 + uci set batman-adv.bat0.gw_mode=client + uci commit batman-adv + /etc/init.d/batman-adv restart + ;; +esac diff --git a/files/common/etc/init.d/batman-adv b/files/common/etc/init.d/batman-adv new file mode 100755 index 0000000..6ecb7ea --- /dev/null +++ b/files/common/etc/init.d/batman-adv @@ -0,0 +1,103 @@ +#!/bin/sh /etc/rc.common +START=90 + +is_module_loaded() { + + if [ ! -d "/sys/module/batman_adv" ]; then + echo "batman-adv module directory not found - was the kernel module loaded ?" >&2 + return 0 + fi + + return 1 +} + +start_mesh () { + local meshif="$1" + local interfaces orig_interval log_level aggregated_ogms bonding vis_mode + + is_module_loaded + [ $? -ne 1 ] && return + + config_get interfaces "$meshif" interfaces + config_get orig_interval "$meshif" orig_interval + config_get log_level "$meshif" log_level + config_get aggregated_ogms "$meshif" aggregated_ogms + config_get bonding "$meshif" bonding + config_get gw_mode "$meshif" gw_mode + + config_get vis_mode "$meshif" vis_mode + + if [ "$interfaces" = "" ]; then + echo Error, you must specify at least a network interface + return + fi + + for interface in $interfaces + do + [ ! -f "/sys/class/net/$interface/batman_adv/mesh_iface" ] && echo "Can't add interface $interface - ignoring" && continue + echo $meshif > /sys/class/net/$interface/batman_adv/mesh_iface + done + + if [ $orig_interval ]; then + echo $orig_interval > /sys/class/net/$meshif/mesh/orig_interval + fi + + if [ $log_level ]; then + echo $log_level > /sys/class/net/$meshif/mesh/log_level 2>&- + fi + + if [ $aggregated_ogms ]; then + echo $aggregated_ogms > /sys/class/net/$meshif/mesh/aggregated_ogms + fi + + if [ $bonding ]; then + echo $bonding > /sys/class/net/$meshif/mesh/bonding + fi + + if [ $vis_mode ]; then + echo $vis_mode > /sys/class/net/$meshif/mesh/vis_mode + fi + + if [ $gw_mode ]; then + echo $gw_mode > /sys/class/net/$meshif/mesh/gw_mode + fi +} + +stop_mesh() { + local meshif="$1" + + is_module_loaded + [ $? -ne 1 ] && return + + for iface in $(ls /sys/class/net/*) + do + [ ! -f "$iface/batman_adv/mesh_iface" ] && continue + [ "$(head -1 $iface/batman_adv/mesh_iface)" != "status: $meshif" ] && continue + + echo "none" > $iface/batman_adv/mesh_iface + done +} + +# can also be used with "batman-adv start bat0" +start() { + config_load batman-adv + + if [ -n "$1" ]; then + start_mesh $1 + else + config_foreach start_mesh mesh + fi +} + +# can also be used with "batman-adv stop bat0" +stop () { + config_load batman-adv + + if [ -n "$1" ]; then + stop_mesh $1 + else + config_foreach stop_mesh mesh + fi +} + + diff --git a/files/common/etc/init.d/dnsmasq b/files/common/etc/init.d/dnsmasq new file mode 100755 index 0000000..1b934c0 --- /dev/null +++ b/files/common/etc/init.d/dnsmasq @@ -0,0 +1,386 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2007 OpenWrt.org + +START=60 +DNS_SERVERS="" +DOMAIN="" + +dhcp_calc() { + local ip="$1" + local res=0 + + while [ -n "$ip" ]; do + part="${ip%%.*}" + res="$(($res * 256))" + res="$(($res + $part))" + [ "${ip%.*}" != "$ip" ] && ip="${ip#*.}" || ip= + done + echo "$res" +} + +append_bool() { + local section="$1" + local option="$2" + local value="$3" + local _loctmp + config_get_bool _loctmp "$section" "$option" 0 + [ $_loctmp -gt 0 ] && append args "$value" +} + +append_parm() { + local section="$1" + local option="$2" + local switch="$3" + local _loctmp + config_get _loctmp "$section" "$option" + [ -z "$_loctmp" ] && return 0 + append args "$switch $_loctmp" +} + +append_server() { + append args "-S $1" +} + +append_interface() { + local ifname=$(uci_get_state network "$1" ifname "$1") + append args "-i $ifname" +} + +append_notinterface() { + local ifname=$(uci_get_state network "$1" ifname "$1") + append args "-I $ifname" +} + +append_addnhosts() { + append args "-H $1" +} + +append_bogusnxdomain() { + append args "-B $1" +} + +dnsmasq() { + local cfg="$1" + append_bool "$cfg" authoritative "-K" + append_bool "$cfg" nodaemon "-d" + append_bool "$cfg" domainneeded "-D" + append_bool "$cfg" filterwin2k "-f" + append_bool "$cfg" nohosts "-h" + append_bool "$cfg" nonegcache "-N" + append_bool "$cfg" strictorder "-o" + append_bool "$cfg" logqueries "-q" + append_bool "$cfg" noresolv "-R" + append_bool "$cfg" localise_queries "-y" + append_bool "$cfg" readethers "-Z" + append_bool "$cfg" dbus "-1" + append_bool "$cfg" boguspriv "-b" + append_bool "$cfg" expandhosts "-E" + append_bool "$cfg" enable_tftp "--enable-tftp" + append_bool "$cfg" nonwildcard "-z" + + append_parm "$cfg" cachesize "-c" + append_parm "$cfg" dnsforwardmax "-0" + append_parm "$cfg" port "-p" + append_parm "$cfg" ednspacket_max "-P" + append_parm "$cfg" dhcpleasemax "-X" + append_parm "$cfg" "queryport" "-Q" + append_parm "$cfg" "domain" "-s" + append_parm "$cfg" "local" "-S" + config_list_foreach "$cfg" "server" append_server + config_list_foreach "$cfg" "interface" append_interface + config_list_foreach "$cfg" "notinterface" append_notinterface + config_list_foreach "$cfg" "addnhosts" append_addnhosts + config_list_foreach "$cfg" "bogusnxdomain" append_bogusnxdomain + append_parm "$cfg" "leasefile" "-l" + append_parm "$cfg" "resolvfile" "-r" + append_parm "$cfg" "tftp_root" "--tftp-root" + append_parm "$cfg" "dhcp_boot" "--dhcp-boot" + + config_get DOMAIN "$cfg" domain + + config_get_bool readethers "$cfg" readethers + [ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers + + config_get leasefile $cfg leasefile + [ -n "$leasefile" ] && [ -e "$leasefile" ] || touch "$leasefile" + config_get_bool cachelocal "$cfg" cachelocal 1 + + config_get hostsfile "$cfg" dhcphostsfile + [ -e "$hostsfile" ] && append args "--dhcp-hostsfile=$hostsfile" + + local rebind + config_get_bool rebind "$cfg" rebind_protection 1 + [ $rebind -gt 0 ] && { + logger -t dnsmasq \ + "DNS rebinding protection is active," \ + "will discard upstream RFC1918 responses!" + append args "--stop-dns-rebind" + + local rebind_localhost + config_get_bool rebind_localhost "$cfg" rebind_localhost 0 + [ $rebind_localhost -gt 0 ] && { + logger -t dnsmasq "Allowing 127.0.0.0/8 responses" + append args "--rebind-localhost-ok" + } + + append_rebind_domain() { + logger -t dnsmasq "Allowing RFC1918 responses for domain $1" + append args "--rebind-domain-ok=$1" + } + + config_list_foreach "$cfg" rebind_domain append_rebind_domain + } +} + +dhcp_subscrid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get subscriberid "$cfg" subscriberid + [ -n "$subscriberid" ] || return 0 + + append args "--dhcp-subscrid=$networkid,$subscriberid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_remoteid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get remoteid "$cfg" remoteid + [ -n "$remoteid" ] || return 0 + + append args "--dhcp-remoteid=$networkid,$remoteid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_circuitid_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get circuitid "$cfg" circuitid + [ -n "$circuitid" ] || return 0 + + append args "--dhcp-circuitid=$networkid,$circuitid" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_userclass_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get userclass "$cfg" userclass + [ -n "$userclass" ] || return 0 + + append args "--dhcp-userclass=$networkid,$userclass" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_vendorclass_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get vendorclass "$cfg" vendorclass + [ -n "$vendorclass" ] || return 0 + + append args "--dhcp-vendorclass=$networkid,$vendorclass" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_host_add() { + local cfg="$1" + + config_get name "$cfg" name + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] && dhcp_option_add "$cfg" "$networkid" + + config_get ip "$cfg" ip + [ -n "$ip" ] || return 0 + + macs="" + config_get mac "$cfg" mac + for m in $mac; do append macs "$m" ","; done + [ -n "$macs" ] || return 0 + + append args "--dhcp-host=$macs,${networkid:+net:$networkid,}$ip${name:+,$name}" +} + +dhcp_mac_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || return 0 + + config_get mac "$cfg" mac + [ -n "$mac" ] || return 0 + + append args "--dhcp-mac=$networkid,$mac" + + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_boot_add() { + local cfg="$1" + + config_get networkid "$cfg" networkid + + config_get filename "$cfg" filename + [ -n "$filename" ] || return 0 + + config_get servername "$cfg" servername + [ -n "$servername" ] || return 0 + + config_get serveraddress "$cfg" serveraddress + [ -n "$serveraddress" ] || return 0 + + append args "--dhcp-boot=${networkid:+net:$networkid,}$filename,$servername,$serveraddress" + + dhcp_option_add "$cfg" "$networkid" +} + + +dhcp_add() { + local cfg="$1" + config_get net "$cfg" interface + [ -n "$net" ] || return 0 + + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || networkid="$net" + + config_get ifname "$net" ifname + [ -n "$ifname" ] || return 0 + + config_get dnsserver "$net" dns + [ "$cachelocal" = "0" -a -n "$dnsserver" ] && { + DNS_SERVERS="$DNS_SERVERS $dnsserver" + } + + append_bool "$cfg" ignore "-2 $ifname" && return 0 + + config_get proto "$net" proto + [ static = "$proto" ] || return 0 + + config_get ipaddr "$net" ipaddr + config_get netmask "$cfg" netmask + [ -n "$netmask" ] || config_get netmask "$net" netmask + + #check for an already active dhcp server on the interface, unless 'force' is set + config_get_bool force "$cfg" force 0 + [ $force -gt 0 ] || { + udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && { + logger -t dnsmasq \ + "found already running DHCP-server on interface '$ifname'" \ + "refusing to start, use 'option force 1' to override" + return 0 + } + } + + config_get start "$cfg" start + config_get limit "$cfg" limit + config_get start_ip "$cfg" start_ip + config_get end_ip "$cfg" end_ip + config_get leasetime "$cfg" leasetime + config_get options "$cfg" options + config_get_bool dynamicdhcp "$cfg" dynamicdhcp 1 + + leasetime="${leasetime:-12h}" + start="$(dhcp_calc "${start:-100}")" + limit="${limit:-150}" + eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" + if [ "$dynamicdhcp" = "0" ]; then END="static"; fi + if [ -n "$start_ip" ]; then START=$start_ip; fi + if [ -n "$end_ip" ]; then END=$end_ip; fi + append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" + dhcp_option_add "$cfg" "$networkid" +} + +dhcp_option_add() { + local cfg="$1" + local networkid="$2" + + config_get dhcp_option "$cfg" dhcp_option + for o in $dhcp_option; do + append args "-O $networkid","$o" + done + +} + +dhcp_domain_add() { + local cfg="$1" + local ip name names + + config_get names "$cfg" name + [ -n "$names" ] || return 0 + + config_get ip "$cfg" ip + [ -n "$ip" ] || return 0 + + local oIFS="$IFS"; IFS="."; set -- $ip; IFS="$oIFS" + local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}" + + for name in $names; do + local fqdn="$name" + + [ "${fqdn%.*}" == "$fqdn" ] && \ + fqdn="$fqdn${DOMAIN:+.$DOMAIN}" + + append args "-A /$fqdn/$ip" + + [ -n "$raddr" ] && { + append args "--ptr-record=$raddr,$fqdn" + raddr="" + } + done +} + +start() { + include /lib/network + scan_interfaces + config_load dhcp + + args="" + config_foreach dnsmasq dnsmasq + config_foreach dhcp_host_add host + config_foreach dhcp_boot_add boot + config_foreach dhcp_mac_add mac + config_foreach dhcp_vendorclass_add vendorclass + config_foreach dhcp_userclass_add userclass + config_foreach dhcp_circuitid_add circuitid + config_foreach dhcp_remoteid_add remoteid + config_foreach dhcp_subscrid_add subscrid + config_foreach dhcp_domain_add domain + config_foreach dhcp_add dhcp + /usr/sbin/dnsmasq $args && { + rm -f /tmp/resolv.conf + [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf + DNS_SERVERS="$DNS_SERVERS 127.0.0.1" + for DNS_SERVER in $DNS_SERVERS ; do + echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf + done + } +} + +stop() { + [ -f /tmp/resolv.conf ] && { + rm -f /tmp/resolv.conf + ln -s /tmp/resolv.conf.auto /tmp/resolv.conf + } + killall dnsmasq + return 0 +} diff --git a/files/common/etc/init.d/n2n b/files/common/etc/init.d/n2n new file mode 100755 index 0000000..26f2e72 --- /dev/null +++ b/files/common/etc/init.d/n2n @@ -0,0 +1,43 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org +[ -n "$IPKG_INSTROOT" ] && exit 0 +START=90 + +config_cb() { + local cfg="$CONFIG_SECTION" + config_get configname "$cfg" TYPE + + case "$configname" in + edge) + config_get ipaddr "$cfg" ipaddr + config_get supernode "$cfg" supernode + config_get port "$cfg" port + config_get community "$cfg" community + config_get key "$cfg" key + config_get_bool route "$cfg" route 0 + config_get devname "$cfg" devname + node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | cut -c6-` + [ "$route" = "1" ] && args='-r' + if [ "$ipaddr" != "" ]; then + mac_random=`echo $(head -30 /dev/urandom | tr -dc "0123456789" | head -c2)` + edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m 12:${mac_random}${node_mac} -l ${supernode}:${port} + ifconfig $devname 0.0.0.0 + batctl if add $devname + fi + ;; + supernode) + config_get port "$cfg" port + if [ "$port" != "" ]; then + supernode -l $port & + fi + ;; + esac +} + +start() { + config_load n2n +} +stop() { + killall -9 edge + killall supernode +} diff --git a/files/common/etc/rc.local b/files/common/etc/rc.local new file mode 100644 index 0000000..38c68a9 --- /dev/null +++ b/files/common/etc/rc.local @@ -0,0 +1,4 @@ +# the system init finished. By default this file does nothing. +ifconfig br-mesh down +ifconfig br-mesh up +exit 0 diff --git a/files/common/sbin/n2n_watchdog b/files/common/sbin/n2n_watchdog new file mode 100755 index 0000000..247753b --- /dev/null +++ b/files/common/sbin/n2n_watchdog @@ -0,0 +1,26 @@ +#!/bin/ash + +if [[ `uci get batman-adv.bat0.gw_mode` = "server" ]]; then + + n2n_pwd=`wget http://www.freifunk-jena.de/n2n -O - -q` + n2n1_pwd_old=`uci get n2n.@edge[1].key` + n2n2_pwd_old=`uci get n2n.@edge[0].key` + + if [[ $n2n_pwd != $n2n1_pwd_old && $n2n_pwd != "" -o $n2n_pwd != $n2n2_pwd_old && $n2n_pwd != "" ]]; then + uci set n2n.@edge[0].key=$n2n_pwd + uci set n2n.@edge[1].key=$n2n_pwd + uci commit n2n + /etc/init.d/n2n restart + logger "n2n password updated and restarted (new password)" + fi + + sleep 5 + n2n_neighbors=`batctl o | grep n2n | wc -l` + + if [[ $n2n_neighbors -lt 1 ]]; then + /etc/init.d/n2n restart + logger "n2n restarted (no neighbors via n2n)" + fi +else + exit 0 +fi diff --git a/files/common/sbin/setup_router b/files/common/sbin/setup_router new file mode 100755 index 0000000..36b62e5 --- /dev/null +++ b/files/common/sbin/setup_router @@ -0,0 +1,64 @@ +#!/bin/sh +echo "Soll dieser Router als Gateway arbeiten? (j/n) " +read router +echo +if [[ $router = "j" ]] + then + #Act a a Router + #set ipv4 Adress + echo "Bitte warten, es wird automatisch eine freie IP ermittelt (Kann bis zu 10 Minuten dauern)" + /etc/init.d/n2n enable + /etc/init.d/n2n start + sleep 20 + for i in `seq 1 254 `; do + LOSS=`ping -c3 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` + sleep 1; + if [[ 99 -lt $LOSS ]]; then + NODE_IP=10.17.$i.1 + oct3=$i + break + fi + done + + uci set network.mesh.ipaddr=$NODE_IP + uci set network.mesh.proto=static + uci set network.mesh.netmask=255.255.0.0 + uci set dhcp.mesh=dhcp + uci set dhcp.mesh.start=2 + uci set dhcp.mesh.limit=254 + uci set dhcp.mesh.leasetime=12h + uci set dhcp.mesh.interface=mesh + uci set dhcp.mesh.start_ip=10.17.$oct3.2 + uci set dhcp.mesh.end_ip=10.17.$oct3.254 + uci commit dhcp + # Batman Server Mode + uci set batman-adv.bat0.gw_mode=server + uci commit batman-adv + # Add Cron Jobs + echo "* * * * * /sbin/test_gateway > /dev/null" >> /etc/crontabs/root + echo "* * * * * /sbin/splash_sync > /dev/null" >> /etc/crontabs/root + echo "*/15 * * * * /sbin/n2n_watchdog > /dev/null" >> /etc/crontabs/root + /etc/init.d/cron restart + echo $'\n\n\n\n' + echo "Einrichtung des Routers abgeschossen! +Dieser Router hat folgende IP: $NODE_IP" + echo $'\n\n\n\n' + else + # Act as a node only + uci del dhcp.mesh + uci commit dhcp + uci del network.mesh.ipaddr + uci del network.mesh.proto + uci del network.mesh.netmask + uci commit network + echo "Der Router wird als normaler Node konfiguriert" + echo + # Batman Client Mode + uci set batman-adv.bat0.gw_mode=client + uci commit batman-adv +fi +uci commit +/etc/init.d/batman-adv restart +#TODO: Generate Subnet +#TODO: DHCP Configuration +#HINT: Port freifunk-wizzard-leipzig in from lua (http://luci.subsignal.org/trac/browser/luci/branches/luci-0.10/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua) diff --git a/files/common/sbin/splash_sync b/files/common/sbin/splash_sync new file mode 100755 index 0000000..3a2b0f1 --- /dev/null +++ b/files/common/sbin/splash_sync @@ -0,0 +1,51 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +x=0 +config_load splash_users +test=1 +myip=`uci get network.mesh.ipaddr` +splash_check() { + timeout=6000 + current_time=`date +%s` + config_get mac "$1" mac + config_get time "$1" time + local config="$1" + let time_check=$time+$timeout + if [ $time_check -gt $current_time ]; then + # User ist noch gesplashed + iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT + iptables -t nat -I ffj_splash 1 -m mac --mac-source $mac -j ACCEPT + else + # User is not longer splashed / the user must click again + iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT + uci delete splash_users.@user[$x].mac + uci delete splash_users.@user[$x].time + uci delete splash_users.@user[$x] + + fi + let x=$x+1 +} +#chain refresh +iptables -t nat -D zone_mesh_prerouting -p tcp -j ffj_splash +iptables -t nat -F ffj_splash +iptables -t nat -X ffj_splash +#recreation +iptables -t nat -N ffj_splash +iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash +config_foreach splash_check user +#DNS Whitelisting +iptables -t nat -p udp -A ffj_splash --dport 53 -j ACCEPT +#Jabber Whitelisting +iptables -t nat -p tcp -A ffj_splash --dport 5222 -j ACCEPT +iptables -t nat -p tcp -A ffj_splash --dport 5223 -j ACCEPT +#Free Wavez in Freifunk +iptables -t nat -A ffj_splash -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT +#Freifunk-Jena Whitelisting +iptables -t nat -A ffj_splash -d freifunk-jena.de -j ACCEPT +iptables -t nat -A ffj_splash -d www.freifunk-jena.de -j ACCEPT +#Jappix Whitelisting +iptables -t nat -A ffj_splash -d static.jappix.com -j ACCEPT +iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 + + + diff --git a/files/common/sbin/test_gateway b/files/common/sbin/test_gateway new file mode 100755 index 0000000..97296e2 --- /dev/null +++ b/files/common/sbin/test_gateway @@ -0,0 +1,15 @@ +#!/bin/sh +TESTHOST=4.2.2.4 +ping -c 1 -w 5 $TESTHOST &>/dev/null + +if [ $? -ne 0 ] ; then + // IP not reachable -> try if-down-up + ifdown wan + ifup wan + sleep 10 + // Test Again + ping -c 1 -w 5 4.2.2.4 &>/dev/null + if [ $? -ne 0 ] ; then + ifdown wan + fi +fi diff --git a/files/common/sbin/test_vpn b/files/common/sbin/test_vpn new file mode 100755 index 0000000..f69b5a7 --- /dev/null +++ b/files/common/sbin/test_vpn @@ -0,0 +1,15 @@ +#!/bin/sh +TESTHOST=4.2.2.4 +ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null + +if [ $? -ne 0 ] ; then + // IP not reachable -> restart openvpn + /etc/init.d/openvpn restart + sleep 10 + // Test Again + ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null + if [ $? -ne 0 ] ; then + /etc/init.d/openvpn stop + ifdown wan + fi +fi diff --git a/files/common/www/cgi-bin/debug b/files/common/www/cgi-bin/debug new file mode 100755 index 0000000..14d8447 --- /dev/null +++ b/files/common/www/cgi-bin/debug @@ -0,0 +1,26 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" + +echo "" +echo "

Router Status

" +echo "

Batman-ADV

" +echo "
"
+batctl tg | cat
+batctl tl |cat
+echo "
" +echo "

Netzwerk

" +echo "
"
+ifconfig | cat
+echo "
" +echo "

Prozesse

" +echo "
"         
+ps aux | cat       
+echo "
" +echo "

UCI

" +echo "
"         
+uci show | cat       
+echo "
" +echo "" + diff --git a/files/common/www/cgi-bin/redirect b/files/common/www/cgi-bin/redirect new file mode 100755 index 0000000..9b417db --- /dev/null +++ b/files/common/www/cgi-bin/redirect @@ -0,0 +1,8 @@ +#!/bin/sh +echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" +echo -en "Pragma: no-cache\r\n" +echo -en "Expires: -1\r\n" +echo -en "Status: 302 Temporary Redirect\r\n" +echo -en "Location: http://"`uci get network.mesh.ipaddr`"/cgi-bin/splash?"`/bin/urlencode "$HTTP_HOST$REQUEST_URI"`"\r\n" +echo -en "\r\n" +exit 0 diff --git a/files/common/www/cgi-bin/splash b/files/common/www/cgi-bin/splash new file mode 100755 index 0000000..ee907d6 --- /dev/null +++ b/files/common/www/cgi-bin/splash @@ -0,0 +1,8 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" +#targeturl=$(echo $QUERY_STRING) +#targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) +targeturl=`echo $QUERY_STRING` +sed "s/targeturl/"$targeturl"/g" /www/splash.html diff --git a/files/common/www/cgi-bin/splash_click b/files/common/www/cgi-bin/splash_click new file mode 100755 index 0000000..d08af6a --- /dev/null +++ b/files/common/www/cgi-bin/splash_click @@ -0,0 +1,38 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" +TEST=`cat ` +TEST=`echo $TEST | sed 's/'target_url='/''/g'` +TEST=`/bin/urldecode "$TEST"` +TEST=`echo $TEST | sed 's/%2F/\//g'` +USER_MAC=`cat /proc/net/arp | grep $REMOTE_HOST | awk 'BEGIN { FS = " " } ; { print $4 }'` + +. $IPKG_INSTROOT/etc/functions.sh +ISSPLASHED=0 +config_load splash_users +is_mac() { + config_get mac "$1" mac + if [ "$mac" == "$USER_MAC" ]; then + ISSPLASHED=1 + fi +} +#check if user is alredy splashed +config_foreach is_mac user +sed 's/targeturl/'"$(echo $TEST| sed 's#/#\\/#g')"'/g' /www/iframe.html + +if [ $ISSPLASHED -eq 1 ]; then + exit +fi +#User is now free to go +iptables -t nat -I ffj_splash 1 -m --mac-source $USER_MAC -j ACCEPT + +uci -q add splash_users user +uci -q set splash_users.@user[-1].mac=$USER_MAC +uci -q set splash_users.@user[-1].time=`date +%s` + +exit 0 + + + + diff --git a/files/common/www/cgi-bin/status.xml b/files/common/www/cgi-bin/status.xml new file mode 100755 index 0000000..8d45a90 --- /dev/null +++ b/files/common/www/cgi-bin/status.xml @@ -0,0 +1,3 @@ +#/bin/bash! +hostname=`hostname` +eval "echo \"$(cat template.status.xml)\"" diff --git a/files/common/www/cgi-bin/template.status.xml b/files/common/www/cgi-bin/template.status.xml new file mode 100644 index 0000000..7df4e9f --- /dev/null +++ b/files/common/www/cgi-bin/template.status.xml @@ -0,0 +1,31 @@ + + + $hostname + 0 + + + + + Max Mustermann + Susi Mustermann + + + + + + + + + + + + + + + + + + + + + diff --git a/files/common/www/ff-jena_signet.png b/files/common/www/ff-jena_signet.png new file mode 100644 index 0000000..15d216c Binary files /dev/null and b/files/common/www/ff-jena_signet.png differ diff --git a/files/common/www/ffj.css b/files/common/www/ffj.css new file mode 100644 index 0000000..3542611 --- /dev/null +++ b/files/common/www/ffj.css @@ -0,0 +1,61 @@ +div#body { +width: 100%; +text-align: center; +} +div#maincontent{ +margin-left: auto; +margin-right: auto; +max-width: 600px; +font-family: Arial, Verdana, sans-serif; +font-size: 12pt; +text-align: left; +} +div#maincontent a, a:link, a:visited { +color: #464646; +text-decoration: none; +} + +div#button_area{ +padding-left:150px; +padding-right:150px; +text-align:center; +} + +div#button_left{ +float:left; +width: 50%; +text-align:center; +} + +div#button_right{ +float:right; +width: 50%; +text-align:center; +} + +input.button{ +border-color:white black black white; +border-style:solid; +border-width:1px; +background-color: #E5E5E5; +padding: 5px; +color: black; +font-weight: bold; +border-radius: 5px; +-moz-border-radius: 5px; +-webkit-border-radius: 5px; +} +input.button:hover { +background-color: grey; +border-color:white black black white; +border-style:solid; +border-width:1px; +} +div#logo { +height: 125px; +font-size: 24px; +} +img.logo { +float: left; +padding: 5px; +} diff --git a/files/common/www/iframe.html b/files/common/www/iframe.html new file mode 100644 index 0000000..cdee514 --- /dev/null +++ b/files/common/www/iframe.html @@ -0,0 +1,20 @@ + + + + + + + Freifunk Jena + + + + + + + + + + diff --git a/files/common/www/splash.html b/files/common/www/splash.html new file mode 100644 index 0000000..7b85b5e --- /dev/null +++ b/files/common/www/splash.html @@ -0,0 +1,88 @@ + + + + + + + + + + + Freifunk Jena + + + + + +
+
+ + + +

Willkommen!

+

+ Du bist jetzt mit dem freien Funknetz Freifunk Jena verbunden.
+ + Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. +

+ +

+ Ein Zugang ins Internet ist trotzdem möglich, + da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. + Diese Zugänge müssen sich hier alle teilen. + Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: +

+ +
    +
  • bitte keine Filesharing-Programme betreiben!
  • +
  • bitte keine unnötigen Downloads oder Streams starten!
  • +
  • bitte keine illegalen Aktivitäten!
  • +
+ +

+ Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: +

+ + + +

+ Mit einem Klick auf Akzeptieren kannst du für + 1 Stunde(n) unser Netz verwenden. Dann wirst du + erneut aufgefordet, diese Bedingungen zu akzeptieren. +

+ + +
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/files/etc/config/batman-adv b/files/etc/config/batman-adv deleted file mode 100644 index cc8db5f..0000000 --- a/files/etc/config/batman-adv +++ /dev/null @@ -1,10 +0,0 @@ -config 'mesh' 'bat0' - option 'interfaces' 'ath1' - option 'orig_interval' - option 'log_level' - option 'aggregated_ogms' - option 'bonding' - option 'fragmentation' - option 'vis_mode' - option 'gw_mode' 'client' - diff --git a/files/etc/config/firewall b/files/etc/config/firewall deleted file mode 100644 index 4b702ba..0000000 --- a/files/etc/config/firewall +++ /dev/null @@ -1,50 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT - -config zone - option name wan - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 -config zone - option name mesh - option input ACCEPT - option output ACCEPT - option forward REJECT -config zone - option name lan - option input ACCEPT - option output ACCEPT - option forward REJECT -config forwarding - option src mesh - option dest wan - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - -#Allow ping -config rule - option src wan - option proto icmp - option icmp_type echo-request - option target ACCEPT - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - diff --git a/files/etc/config/n2n b/files/etc/config/n2n deleted file mode 100644 index 58cccdc..0000000 --- a/files/etc/config/n2n +++ /dev/null @@ -1,17 +0,0 @@ -config edge - option ipaddr '1.2.3.4' - option supernode 'fritz-der-server.de' - option port '2009' - option community 'ffj1' - option key 'ffj1' - option devname 'n2n1' - option route '' -config edge - option ipaddr '1.2.3.4' - option supernode '89.238.83.22' - option port '9876' - option community 'ffj2' - option key 'ffj2' - option devname 'n2n2' - option route '' - diff --git a/files/etc/config/network b/files/etc/config/network deleted file mode 100644 index b0d6d9e..0000000 --- a/files/etc/config/network +++ /dev/null @@ -1,39 +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' 'bat0 ath0' - option 'mtu' '1527' - -config 'interface' 'lan' - option 'type' 'bridge' - option 'proto' 'static' - option 'ipaddr' '10.17.200.1' - option 'netmask' '255.255.255.0' - option 'ifname' 'eth0.1' - -config 'switch' 'eth0' - option 'name' 'eth0' - option 'reset' '1' - option 'enable_vlan' '1' - -config 'switch_vlan' 'eth0_1' - option 'device' 'eth0' - option 'vlan' '1' - option 'ports' '0 1 2 3 5t' - -config 'switch_vlan' 'eth0_2' - option 'device' 'eth0' - option 'vlan' '2' - option 'ports' '4 5t' - -config 'interface' 'wan' - option 'ifname' 'eth0.2' - option 'proto' 'dhcp' - option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' - diff --git a/files/etc/config/splash_users b/files/etc/config/splash_users deleted file mode 100644 index 8b13789..0000000 --- a/files/etc/config/splash_users +++ /dev/null @@ -1 +0,0 @@ - diff --git a/files/etc/config/system b/files/etc/config/system deleted file mode 100644 index 3d9683c..0000000 --- a/files/etc/config/system +++ /dev/null @@ -1,17 +0,0 @@ -config system - option hostname OpenWrt - option timezone CET - -config button - option button reset - option action released - option handler "logger reboot" - option min 0 - option max 4 - -config button - option button reset - option action released - option handler "logger factory default" - option min 5 - option max 30 diff --git a/files/etc/config/uhttpd b/files/etc/config/uhttpd deleted file mode 100644 index 8320d42..0000000 --- a/files/etc/config/uhttpd +++ /dev/null @@ -1,39 +0,0 @@ -# Server configuration -config uhttpd main - - # HTTP listen addresses, multiple allowed - list listen_http 0.0.0.0:80 - # Server document root - option home /www - option error_page /cgi-bin/redirect - option index_page cgi-bin/redirect - # Reject requests from RFC1918 IP addresses - # directed to the servers public IP(s). - # This is a DNS rebinding countermeasure. - option rfc1918_filter 1 - - # CGI url prefix, will be searched in docroot. - # Default is /cgi-bin - option cgi_prefix /cgi-bin - - # CGI/Lua timeout, if the called script does not - # write data within the given amount of seconds, - # the server will terminate the request with - # 504 Gateway Timeout response. - option script_timeout 60 - - # Network timeout, if the current connection is - # blocked for the specified amount of seconds, - # the server will terminate the associated - # request process. - option network_timeout 30 - - # TCP Keep-Alive, send periodic keep-alive probes - # over established connections to detect dead peers. - # The value is given in seconds to specify the - # interval between subsequent probes. - # Setting this to 0 will disable TCP keep-alive. - option tcp_keepalive 1 - - - diff --git a/files/etc/config/wireless b/files/etc/config/wireless deleted file mode 100644 index 17dd0b7..0000000 --- a/files/etc/config/wireless +++ /dev/null @@ -1,16 +0,0 @@ -config wifi-device wifi0 - option type atheros - option channel 1 - -config wifi-iface - option device wifi0 - option mode adhoc - option ssid batman.jena.freifunk.net - option bssid 12:CA:FF:EE:BA:BE - option hidden 1 - -config wifi-iface - option device wifi0 - option mode ap - option ssid www.freifunk-jena.de - diff --git a/files/etc/crontabs/root b/files/etc/crontabs/root deleted file mode 100644 index 8b13789..0000000 --- a/files/etc/crontabs/root +++ /dev/null @@ -1 +0,0 @@ - diff --git a/files/etc/dropbear/authorized_keys b/files/etc/dropbear/authorized_keys deleted file mode 100644 index ed898bc..0000000 --- a/files/etc/dropbear/authorized_keys +++ /dev/null @@ -1,8 +0,0 @@ -# egon0 (Freifunk Jena) egon@resonar.de -ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwgEYvNnufy2ytpbEfKzbcpj0Ax7xJj1E4DtdCufkrBUfrcnR4Skeq3kGrA74+4ihV5msAqwU/NlWTiyPIiOYBqo9zQx2ynF1n40RgqutzFY1rm1z4iop/9cvqFtWBgOEApDd3WxvDlq/QTcVsxoSu4yk9k/ufu5gdLGFlsGPK9etfEw02w81nGOdbpdWiFu+m19qSaR1gNB6DJF/HEuRZI/rgUQA6mndhA4C5oGtMW8ZlIg3FsrDAJdjZKerxwNaJ7SJC7d8/Rc8w8mYeOdr2aQnzIvy8dT8jmahTuxGpwwPrYo4q4mylbjWU8o21ip2G9lfLEA5iAip7Giuin2oJw== -# Darkeye (Freifunk Jena) martinmichel@die-guten-partei.de -ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7MtommvbyrivRg8Wc56qNXyqxVoTQ3Rs/auk01r29ZpNmrAVc0xeKEZEf1Xm9bmgMOei/535mssPdqVnH+xWq5xdBAYbBPa01xkWTxBHPWqhy/EtzrFHMk6lYMyMIB1iB+hMbT5U8KYaX9geD9dWZ2Ch5cPRpls1AKvfL0LMOo+sVjDK6DxkUHWBtXmsssF5shas20paqWUzj/noYdzAV7B0lZaavKDJ37gJrEo6V0aDTzXaLVNPp8V6wCuMxhzuMrK9JPooeSAABmEqfVIYUDrGsV/uV76tgCd3Saw7DUrSsnFBVS8ow== -# Darkeye (Freifunk Jena) - mobile -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB7QDvtIcbm2u4bnMVrQro+iFkQEsAHC/nbk8I/V85CpZObiofVWD7xJd/UMU9zxhWJ2UG+aVThNX9vwSHfmBYMfMljFXIRG8vo94uVZmEUvgfMDXAoOE7EhLBXGAx+Z1f4/rwoTWE0b/Nb/CfnxfDTbNYQgrjx9pyMY6CtYMddqjsBmq9ZzO/w4+WUZJXIy7imWkKna7czG20AMUNuo7AvcOlU1rgZIVyi2hN31DvuJNLSDXSDCkxMwcV0iukYnNiGk7N/xReBLKHbp9aUk0/TOr+H7cBjQwkXZPheoPsq3CZfolHQiQxjMGwFQlw+ZnrURDaOGFU6u1sAWZDwj2DaFh4YFaPHH8gKJvsE0vjxzWCc3vmFctCLwGLeLoc7Ghz35q066LX9i972w9HQ1YRcrKLAGDmhkzAQqaX3dT7bsgvylTi+nvhr0iYZ9wg44TDd+KGfm+BHtXOxCmr4MzJWOooQi83gr7ZoqGL3rwK8t2dDDORA9sb6sAe+Srj0GXUxbIRWmJY99JOlIocBGRzsUQ08kulsNryQrgk5iwxqSZy0TAGVisZ2Uz5SfNSYbpKLn3IbNtl2TPvFazdMb0RfXhZpcxoPgbf6UmQBQJdI11e6ga6Evn5KIIT6GvtQQDxwdyn/CggEbnXj20nAp8== -# egon0 (Freifunk Jena) - mobile -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYdPDqvxN2+oZQr1QEAgcpFgRq7QAk6lNT4f5mFiDII07tlx7KMgWGX5C3hbgHpJgVWXx9uC5aB0qQOO8h0KV0AODQDz9bu7P9SvmpZt0isXzV5jh+b/lzMfwlzZt0tmqOUxzN6JkzBfsaQjMEViSsu/bhQG0nPehiEVykrJeMVPngX9hfA6UMj04hhkUY0bG+ET1JpUCSSXKkvPJHKOfGa9gPeZewSasGnxjwzQ5M2Ikn4CtQuDCIrVnjEvb/rAH3So9TSjV31dx10O6vYY2qAnS/oviQSN9NP729CQLSCaBFv4Z5I7WJaXAxkYSRvC8fzTq62nOXWi3rWg2jfSnsbyEkqQGJ5z6ZaiDIi2tHuXfVoLlCdnaVmgPtQuhGQLamrnOvvn+PJBptPgGWl74g/H/UEsT0v60c6jgfp5jtrEk25Bgk7QITp/aykRf6uGjEfwnatZSs43D2y9TU6EPH0oy2tN0MI+XKU2PwoXme1BwAhpKPawnNY495BmLqyn0u3Fr8C1IqD2nCaLhk8OGVEW3BZAy2wdb2V1huTq0SkEMhILrDLKslZwGpO2mtMRrHwAhk6S220zSOH+B9seNK7P42pNBc0pqP6rJrVRxfjpq/+fA4wjE+ojQagQhTAHuK/SsA79gE/vTtlRGOy2nW7D5hmidaiiqptTxuTENULQ== galaxy diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led deleted file mode 100644 index 061a499..0000000 --- a/files/etc/hotplug.d/iface/22-wan_led +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -case "${ACTION:-ifup}" in - ifup) - gpioctl set 3 - uci set batman-adv.bat0.gw_mode=server - uci commit batman-adv - /etc/init.d/batman-adv restart - ;; - ifdown) - gpioctl dirout 3 - uci set batman-adv.bat0.gw_mode=client - uci commit batman-adv - /etc/init.d/batman-adv restart - ;; -esac diff --git a/files/etc/init.d/batman-adv b/files/etc/init.d/batman-adv deleted file mode 100755 index 6ecb7ea..0000000 --- a/files/etc/init.d/batman-adv +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh /etc/rc.common -START=90 - -is_module_loaded() { - - if [ ! -d "/sys/module/batman_adv" ]; then - echo "batman-adv module directory not found - was the kernel module loaded ?" >&2 - return 0 - fi - - return 1 -} - -start_mesh () { - local meshif="$1" - local interfaces orig_interval log_level aggregated_ogms bonding vis_mode - - is_module_loaded - [ $? -ne 1 ] && return - - config_get interfaces "$meshif" interfaces - config_get orig_interval "$meshif" orig_interval - config_get log_level "$meshif" log_level - config_get aggregated_ogms "$meshif" aggregated_ogms - config_get bonding "$meshif" bonding - config_get gw_mode "$meshif" gw_mode - - config_get vis_mode "$meshif" vis_mode - - if [ "$interfaces" = "" ]; then - echo Error, you must specify at least a network interface - return - fi - - for interface in $interfaces - do - [ ! -f "/sys/class/net/$interface/batman_adv/mesh_iface" ] && echo "Can't add interface $interface - ignoring" && continue - echo $meshif > /sys/class/net/$interface/batman_adv/mesh_iface - done - - if [ $orig_interval ]; then - echo $orig_interval > /sys/class/net/$meshif/mesh/orig_interval - fi - - if [ $log_level ]; then - echo $log_level > /sys/class/net/$meshif/mesh/log_level 2>&- - fi - - if [ $aggregated_ogms ]; then - echo $aggregated_ogms > /sys/class/net/$meshif/mesh/aggregated_ogms - fi - - if [ $bonding ]; then - echo $bonding > /sys/class/net/$meshif/mesh/bonding - fi - - if [ $vis_mode ]; then - echo $vis_mode > /sys/class/net/$meshif/mesh/vis_mode - fi - - if [ $gw_mode ]; then - echo $gw_mode > /sys/class/net/$meshif/mesh/gw_mode - fi -} - -stop_mesh() { - local meshif="$1" - - is_module_loaded - [ $? -ne 1 ] && return - - for iface in $(ls /sys/class/net/*) - do - [ ! -f "$iface/batman_adv/mesh_iface" ] && continue - [ "$(head -1 $iface/batman_adv/mesh_iface)" != "status: $meshif" ] && continue - - echo "none" > $iface/batman_adv/mesh_iface - done -} - -# can also be used with "batman-adv start bat0" -start() { - config_load batman-adv - - if [ -n "$1" ]; then - start_mesh $1 - else - config_foreach start_mesh mesh - fi -} - -# can also be used with "batman-adv stop bat0" -stop () { - config_load batman-adv - - if [ -n "$1" ]; then - stop_mesh $1 - else - config_foreach stop_mesh mesh - fi -} - - diff --git a/files/etc/init.d/dnsmasq b/files/etc/init.d/dnsmasq deleted file mode 100755 index 1b934c0..0000000 --- a/files/etc/init.d/dnsmasq +++ /dev/null @@ -1,386 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2007 OpenWrt.org - -START=60 -DNS_SERVERS="" -DOMAIN="" - -dhcp_calc() { - local ip="$1" - local res=0 - - while [ -n "$ip" ]; do - part="${ip%%.*}" - res="$(($res * 256))" - res="$(($res + $part))" - [ "${ip%.*}" != "$ip" ] && ip="${ip#*.}" || ip= - done - echo "$res" -} - -append_bool() { - local section="$1" - local option="$2" - local value="$3" - local _loctmp - config_get_bool _loctmp "$section" "$option" 0 - [ $_loctmp -gt 0 ] && append args "$value" -} - -append_parm() { - local section="$1" - local option="$2" - local switch="$3" - local _loctmp - config_get _loctmp "$section" "$option" - [ -z "$_loctmp" ] && return 0 - append args "$switch $_loctmp" -} - -append_server() { - append args "-S $1" -} - -append_interface() { - local ifname=$(uci_get_state network "$1" ifname "$1") - append args "-i $ifname" -} - -append_notinterface() { - local ifname=$(uci_get_state network "$1" ifname "$1") - append args "-I $ifname" -} - -append_addnhosts() { - append args "-H $1" -} - -append_bogusnxdomain() { - append args "-B $1" -} - -dnsmasq() { - local cfg="$1" - append_bool "$cfg" authoritative "-K" - append_bool "$cfg" nodaemon "-d" - append_bool "$cfg" domainneeded "-D" - append_bool "$cfg" filterwin2k "-f" - append_bool "$cfg" nohosts "-h" - append_bool "$cfg" nonegcache "-N" - append_bool "$cfg" strictorder "-o" - append_bool "$cfg" logqueries "-q" - append_bool "$cfg" noresolv "-R" - append_bool "$cfg" localise_queries "-y" - append_bool "$cfg" readethers "-Z" - append_bool "$cfg" dbus "-1" - append_bool "$cfg" boguspriv "-b" - append_bool "$cfg" expandhosts "-E" - append_bool "$cfg" enable_tftp "--enable-tftp" - append_bool "$cfg" nonwildcard "-z" - - append_parm "$cfg" cachesize "-c" - append_parm "$cfg" dnsforwardmax "-0" - append_parm "$cfg" port "-p" - append_parm "$cfg" ednspacket_max "-P" - append_parm "$cfg" dhcpleasemax "-X" - append_parm "$cfg" "queryport" "-Q" - append_parm "$cfg" "domain" "-s" - append_parm "$cfg" "local" "-S" - config_list_foreach "$cfg" "server" append_server - config_list_foreach "$cfg" "interface" append_interface - config_list_foreach "$cfg" "notinterface" append_notinterface - config_list_foreach "$cfg" "addnhosts" append_addnhosts - config_list_foreach "$cfg" "bogusnxdomain" append_bogusnxdomain - append_parm "$cfg" "leasefile" "-l" - append_parm "$cfg" "resolvfile" "-r" - append_parm "$cfg" "tftp_root" "--tftp-root" - append_parm "$cfg" "dhcp_boot" "--dhcp-boot" - - config_get DOMAIN "$cfg" domain - - config_get_bool readethers "$cfg" readethers - [ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers - - config_get leasefile $cfg leasefile - [ -n "$leasefile" ] && [ -e "$leasefile" ] || touch "$leasefile" - config_get_bool cachelocal "$cfg" cachelocal 1 - - config_get hostsfile "$cfg" dhcphostsfile - [ -e "$hostsfile" ] && append args "--dhcp-hostsfile=$hostsfile" - - local rebind - config_get_bool rebind "$cfg" rebind_protection 1 - [ $rebind -gt 0 ] && { - logger -t dnsmasq \ - "DNS rebinding protection is active," \ - "will discard upstream RFC1918 responses!" - append args "--stop-dns-rebind" - - local rebind_localhost - config_get_bool rebind_localhost "$cfg" rebind_localhost 0 - [ $rebind_localhost -gt 0 ] && { - logger -t dnsmasq "Allowing 127.0.0.0/8 responses" - append args "--rebind-localhost-ok" - } - - append_rebind_domain() { - logger -t dnsmasq "Allowing RFC1918 responses for domain $1" - append args "--rebind-domain-ok=$1" - } - - config_list_foreach "$cfg" rebind_domain append_rebind_domain - } -} - -dhcp_subscrid_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get subscriberid "$cfg" subscriberid - [ -n "$subscriberid" ] || return 0 - - append args "--dhcp-subscrid=$networkid,$subscriberid" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_remoteid_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get remoteid "$cfg" remoteid - [ -n "$remoteid" ] || return 0 - - append args "--dhcp-remoteid=$networkid,$remoteid" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_circuitid_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get circuitid "$cfg" circuitid - [ -n "$circuitid" ] || return 0 - - append args "--dhcp-circuitid=$networkid,$circuitid" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_userclass_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get userclass "$cfg" userclass - [ -n "$userclass" ] || return 0 - - append args "--dhcp-userclass=$networkid,$userclass" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_vendorclass_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get vendorclass "$cfg" vendorclass - [ -n "$vendorclass" ] || return 0 - - append args "--dhcp-vendorclass=$networkid,$vendorclass" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_host_add() { - local cfg="$1" - - config_get name "$cfg" name - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] && dhcp_option_add "$cfg" "$networkid" - - config_get ip "$cfg" ip - [ -n "$ip" ] || return 0 - - macs="" - config_get mac "$cfg" mac - for m in $mac; do append macs "$m" ","; done - [ -n "$macs" ] || return 0 - - append args "--dhcp-host=$macs,${networkid:+net:$networkid,}$ip${name:+,$name}" -} - -dhcp_mac_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || return 0 - - config_get mac "$cfg" mac - [ -n "$mac" ] || return 0 - - append args "--dhcp-mac=$networkid,$mac" - - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_boot_add() { - local cfg="$1" - - config_get networkid "$cfg" networkid - - config_get filename "$cfg" filename - [ -n "$filename" ] || return 0 - - config_get servername "$cfg" servername - [ -n "$servername" ] || return 0 - - config_get serveraddress "$cfg" serveraddress - [ -n "$serveraddress" ] || return 0 - - append args "--dhcp-boot=${networkid:+net:$networkid,}$filename,$servername,$serveraddress" - - dhcp_option_add "$cfg" "$networkid" -} - - -dhcp_add() { - local cfg="$1" - config_get net "$cfg" interface - [ -n "$net" ] || return 0 - - config_get networkid "$cfg" networkid - [ -n "$networkid" ] || networkid="$net" - - config_get ifname "$net" ifname - [ -n "$ifname" ] || return 0 - - config_get dnsserver "$net" dns - [ "$cachelocal" = "0" -a -n "$dnsserver" ] && { - DNS_SERVERS="$DNS_SERVERS $dnsserver" - } - - append_bool "$cfg" ignore "-2 $ifname" && return 0 - - config_get proto "$net" proto - [ static = "$proto" ] || return 0 - - config_get ipaddr "$net" ipaddr - config_get netmask "$cfg" netmask - [ -n "$netmask" ] || config_get netmask "$net" netmask - - #check for an already active dhcp server on the interface, unless 'force' is set - config_get_bool force "$cfg" force 0 - [ $force -gt 0 ] || { - udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && { - logger -t dnsmasq \ - "found already running DHCP-server on interface '$ifname'" \ - "refusing to start, use 'option force 1' to override" - return 0 - } - } - - config_get start "$cfg" start - config_get limit "$cfg" limit - config_get start_ip "$cfg" start_ip - config_get end_ip "$cfg" end_ip - config_get leasetime "$cfg" leasetime - config_get options "$cfg" options - config_get_bool dynamicdhcp "$cfg" dynamicdhcp 1 - - leasetime="${leasetime:-12h}" - start="$(dhcp_calc "${start:-100}")" - limit="${limit:-150}" - eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" - if [ "$dynamicdhcp" = "0" ]; then END="static"; fi - if [ -n "$start_ip" ]; then START=$start_ip; fi - if [ -n "$end_ip" ]; then END=$end_ip; fi - append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" - dhcp_option_add "$cfg" "$networkid" -} - -dhcp_option_add() { - local cfg="$1" - local networkid="$2" - - config_get dhcp_option "$cfg" dhcp_option - for o in $dhcp_option; do - append args "-O $networkid","$o" - done - -} - -dhcp_domain_add() { - local cfg="$1" - local ip name names - - config_get names "$cfg" name - [ -n "$names" ] || return 0 - - config_get ip "$cfg" ip - [ -n "$ip" ] || return 0 - - local oIFS="$IFS"; IFS="."; set -- $ip; IFS="$oIFS" - local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}" - - for name in $names; do - local fqdn="$name" - - [ "${fqdn%.*}" == "$fqdn" ] && \ - fqdn="$fqdn${DOMAIN:+.$DOMAIN}" - - append args "-A /$fqdn/$ip" - - [ -n "$raddr" ] && { - append args "--ptr-record=$raddr,$fqdn" - raddr="" - } - done -} - -start() { - include /lib/network - scan_interfaces - config_load dhcp - - args="" - config_foreach dnsmasq dnsmasq - config_foreach dhcp_host_add host - config_foreach dhcp_boot_add boot - config_foreach dhcp_mac_add mac - config_foreach dhcp_vendorclass_add vendorclass - config_foreach dhcp_userclass_add userclass - config_foreach dhcp_circuitid_add circuitid - config_foreach dhcp_remoteid_add remoteid - config_foreach dhcp_subscrid_add subscrid - config_foreach dhcp_domain_add domain - config_foreach dhcp_add dhcp - /usr/sbin/dnsmasq $args && { - rm -f /tmp/resolv.conf - [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf - DNS_SERVERS="$DNS_SERVERS 127.0.0.1" - for DNS_SERVER in $DNS_SERVERS ; do - echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf - done - } -} - -stop() { - [ -f /tmp/resolv.conf ] && { - rm -f /tmp/resolv.conf - ln -s /tmp/resolv.conf.auto /tmp/resolv.conf - } - killall dnsmasq - return 0 -} diff --git a/files/etc/init.d/n2n b/files/etc/init.d/n2n deleted file mode 100755 index 26f2e72..0000000 --- a/files/etc/init.d/n2n +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2008 OpenWrt.org -[ -n "$IPKG_INSTROOT" ] && exit 0 -START=90 - -config_cb() { - local cfg="$CONFIG_SECTION" - config_get configname "$cfg" TYPE - - case "$configname" in - edge) - config_get ipaddr "$cfg" ipaddr - config_get supernode "$cfg" supernode - config_get port "$cfg" port - config_get community "$cfg" community - config_get key "$cfg" key - config_get_bool route "$cfg" route 0 - config_get devname "$cfg" devname - node_mac=`ifconfig ath0 | grep HWaddr | awk '{print $5}' | tr -d "\n" | cut -c6-` - [ "$route" = "1" ] && args='-r' - if [ "$ipaddr" != "" ]; then - mac_random=`echo $(head -30 /dev/urandom | tr -dc "0123456789" | head -c2)` - edge -f $args -a 169.254.0.1 -d $devname -c $community -k $key -m 12:${mac_random}${node_mac} -l ${supernode}:${port} - ifconfig $devname 0.0.0.0 - batctl if add $devname - fi - ;; - supernode) - config_get port "$cfg" port - if [ "$port" != "" ]; then - supernode -l $port & - fi - ;; - esac -} - -start() { - config_load n2n -} -stop() { - killall -9 edge - killall supernode -} diff --git a/files/etc/rc.local b/files/etc/rc.local deleted file mode 100644 index 38c68a9..0000000 --- a/files/etc/rc.local +++ /dev/null @@ -1,4 +0,0 @@ -# the system init finished. By default this file does nothing. -ifconfig br-mesh down -ifconfig br-mesh up -exit 0 diff --git a/files/sbin/n2n_watchdog b/files/sbin/n2n_watchdog deleted file mode 100755 index 247753b..0000000 --- a/files/sbin/n2n_watchdog +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/ash - -if [[ `uci get batman-adv.bat0.gw_mode` = "server" ]]; then - - n2n_pwd=`wget http://www.freifunk-jena.de/n2n -O - -q` - n2n1_pwd_old=`uci get n2n.@edge[1].key` - n2n2_pwd_old=`uci get n2n.@edge[0].key` - - if [[ $n2n_pwd != $n2n1_pwd_old && $n2n_pwd != "" -o $n2n_pwd != $n2n2_pwd_old && $n2n_pwd != "" ]]; then - uci set n2n.@edge[0].key=$n2n_pwd - uci set n2n.@edge[1].key=$n2n_pwd - uci commit n2n - /etc/init.d/n2n restart - logger "n2n password updated and restarted (new password)" - fi - - sleep 5 - n2n_neighbors=`batctl o | grep n2n | wc -l` - - if [[ $n2n_neighbors -lt 1 ]]; then - /etc/init.d/n2n restart - logger "n2n restarted (no neighbors via n2n)" - fi -else - exit 0 -fi diff --git a/files/sbin/setup_router b/files/sbin/setup_router deleted file mode 100755 index 36b62e5..0000000 --- a/files/sbin/setup_router +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -echo "Soll dieser Router als Gateway arbeiten? (j/n) " -read router -echo -if [[ $router = "j" ]] - then - #Act a a Router - #set ipv4 Adress - echo "Bitte warten, es wird automatisch eine freie IP ermittelt (Kann bis zu 10 Minuten dauern)" - /etc/init.d/n2n enable - /etc/init.d/n2n start - sleep 20 - for i in `seq 1 254 `; do - LOSS=`ping -c3 10.17.$i.1 | grep loss | awk '{print $7}' | sed 's/%//g'; sleep 1` - sleep 1; - if [[ 99 -lt $LOSS ]]; then - NODE_IP=10.17.$i.1 - oct3=$i - break - fi - done - - uci set network.mesh.ipaddr=$NODE_IP - uci set network.mesh.proto=static - uci set network.mesh.netmask=255.255.0.0 - uci set dhcp.mesh=dhcp - uci set dhcp.mesh.start=2 - uci set dhcp.mesh.limit=254 - uci set dhcp.mesh.leasetime=12h - uci set dhcp.mesh.interface=mesh - uci set dhcp.mesh.start_ip=10.17.$oct3.2 - uci set dhcp.mesh.end_ip=10.17.$oct3.254 - uci commit dhcp - # Batman Server Mode - uci set batman-adv.bat0.gw_mode=server - uci commit batman-adv - # Add Cron Jobs - echo "* * * * * /sbin/test_gateway > /dev/null" >> /etc/crontabs/root - echo "* * * * * /sbin/splash_sync > /dev/null" >> /etc/crontabs/root - echo "*/15 * * * * /sbin/n2n_watchdog > /dev/null" >> /etc/crontabs/root - /etc/init.d/cron restart - echo $'\n\n\n\n' - echo "Einrichtung des Routers abgeschossen! -Dieser Router hat folgende IP: $NODE_IP" - echo $'\n\n\n\n' - else - # Act as a node only - uci del dhcp.mesh - uci commit dhcp - uci del network.mesh.ipaddr - uci del network.mesh.proto - uci del network.mesh.netmask - uci commit network - echo "Der Router wird als normaler Node konfiguriert" - echo - # Batman Client Mode - uci set batman-adv.bat0.gw_mode=client - uci commit batman-adv -fi -uci commit -/etc/init.d/batman-adv restart -#TODO: Generate Subnet -#TODO: DHCP Configuration -#HINT: Port freifunk-wizzard-leipzig in from lua (http://luci.subsignal.org/trac/browser/luci/branches/luci-0.10/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua) diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync deleted file mode 100755 index 3a2b0f1..0000000 --- a/files/sbin/splash_sync +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -x=0 -config_load splash_users -test=1 -myip=`uci get network.mesh.ipaddr` -splash_check() { - timeout=6000 - current_time=`date +%s` - config_get mac "$1" mac - config_get time "$1" time - local config="$1" - let time_check=$time+$timeout - if [ $time_check -gt $current_time ]; then - # User ist noch gesplashed - iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT - iptables -t nat -I ffj_splash 1 -m mac --mac-source $mac -j ACCEPT - else - # User is not longer splashed / the user must click again - iptables -t nat -D ffj_splash -m mac --mac-source $mac -j ACCEPT - uci delete splash_users.@user[$x].mac - uci delete splash_users.@user[$x].time - uci delete splash_users.@user[$x] - - fi - let x=$x+1 -} -#chain refresh -iptables -t nat -D zone_mesh_prerouting -p tcp -j ffj_splash -iptables -t nat -F ffj_splash -iptables -t nat -X ffj_splash -#recreation -iptables -t nat -N ffj_splash -iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash -config_foreach splash_check user -#DNS Whitelisting -iptables -t nat -p udp -A ffj_splash --dport 53 -j ACCEPT -#Jabber Whitelisting -iptables -t nat -p tcp -A ffj_splash --dport 5222 -j ACCEPT -iptables -t nat -p tcp -A ffj_splash --dport 5223 -j ACCEPT -#Free Wavez in Freifunk -iptables -t nat -A ffj_splash -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT -#Freifunk-Jena Whitelisting -iptables -t nat -A ffj_splash -d freifunk-jena.de -j ACCEPT -iptables -t nat -A ffj_splash -d www.freifunk-jena.de -j ACCEPT -#Jappix Whitelisting -iptables -t nat -A ffj_splash -d static.jappix.com -j ACCEPT -iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 - - - diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway deleted file mode 100755 index 97296e2..0000000 --- a/files/sbin/test_gateway +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -TESTHOST=4.2.2.4 -ping -c 1 -w 5 $TESTHOST &>/dev/null - -if [ $? -ne 0 ] ; then - // IP not reachable -> try if-down-up - ifdown wan - ifup wan - sleep 10 - // Test Again - ping -c 1 -w 5 4.2.2.4 &>/dev/null - if [ $? -ne 0 ] ; then - ifdown wan - fi -fi diff --git a/files/sbin/test_vpn b/files/sbin/test_vpn deleted file mode 100755 index f69b5a7..0000000 --- a/files/sbin/test_vpn +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -TESTHOST=4.2.2.4 -ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null - -if [ $? -ne 0 ] ; then - // IP not reachable -> restart openvpn - /etc/init.d/openvpn restart - sleep 10 - // Test Again - ping -c 1 -w 5 -I tun0 $TESTHOST &>/dev/null - if [ $? -ne 0 ] ; then - /etc/init.d/openvpn stop - ifdown wan - fi -fi diff --git a/files/www/cgi-bin/debug b/files/www/cgi-bin/debug deleted file mode 100755 index 14d8447..0000000 --- a/files/www/cgi-bin/debug +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -echo -en "Status: 200 OK\r\n" -echo -en "Content-Type: text/html\r\n" -echo -en "\r\n" - -echo "" -echo "

Router Status

" -echo "

Batman-ADV

" -echo "
"
-batctl tg | cat
-batctl tl |cat
-echo "
" -echo "

Netzwerk

" -echo "
"
-ifconfig | cat
-echo "
" -echo "

Prozesse

" -echo "
"         
-ps aux | cat       
-echo "
" -echo "

UCI

" -echo "
"         
-uci show | cat       
-echo "
" -echo "" - diff --git a/files/www/cgi-bin/redirect b/files/www/cgi-bin/redirect deleted file mode 100755 index 9b417db..0000000 --- a/files/www/cgi-bin/redirect +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" -echo -en "Pragma: no-cache\r\n" -echo -en "Expires: -1\r\n" -echo -en "Status: 302 Temporary Redirect\r\n" -echo -en "Location: http://"`uci get network.mesh.ipaddr`"/cgi-bin/splash?"`/bin/urlencode "$HTTP_HOST$REQUEST_URI"`"\r\n" -echo -en "\r\n" -exit 0 diff --git a/files/www/cgi-bin/splash b/files/www/cgi-bin/splash deleted file mode 100755 index ee907d6..0000000 --- a/files/www/cgi-bin/splash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -echo -en "Status: 200 OK\r\n" -echo -en "Content-Type: text/html\r\n" -echo -en "\r\n" -#targeturl=$(echo $QUERY_STRING) -#targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) -targeturl=`echo $QUERY_STRING` -sed "s/targeturl/"$targeturl"/g" /www/splash.html diff --git a/files/www/cgi-bin/splash_click b/files/www/cgi-bin/splash_click deleted file mode 100755 index d08af6a..0000000 --- a/files/www/cgi-bin/splash_click +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -echo -en "Status: 200 OK\r\n" -echo -en "Content-Type: text/html\r\n" -echo -en "\r\n" -TEST=`cat ` -TEST=`echo $TEST | sed 's/'target_url='/''/g'` -TEST=`/bin/urldecode "$TEST"` -TEST=`echo $TEST | sed 's/%2F/\//g'` -USER_MAC=`cat /proc/net/arp | grep $REMOTE_HOST | awk 'BEGIN { FS = " " } ; { print $4 }'` - -. $IPKG_INSTROOT/etc/functions.sh -ISSPLASHED=0 -config_load splash_users -is_mac() { - config_get mac "$1" mac - if [ "$mac" == "$USER_MAC" ]; then - ISSPLASHED=1 - fi -} -#check if user is alredy splashed -config_foreach is_mac user -sed 's/targeturl/'"$(echo $TEST| sed 's#/#\\/#g')"'/g' /www/iframe.html - -if [ $ISSPLASHED -eq 1 ]; then - exit -fi -#User is now free to go -iptables -t nat -I ffj_splash 1 -m --mac-source $USER_MAC -j ACCEPT - -uci -q add splash_users user -uci -q set splash_users.@user[-1].mac=$USER_MAC -uci -q set splash_users.@user[-1].time=`date +%s` - -exit 0 - - - - diff --git a/files/www/cgi-bin/status.xml b/files/www/cgi-bin/status.xml deleted file mode 100755 index 8d45a90..0000000 --- a/files/www/cgi-bin/status.xml +++ /dev/null @@ -1,3 +0,0 @@ -#/bin/bash! -hostname=`hostname` -eval "echo \"$(cat template.status.xml)\"" diff --git a/files/www/cgi-bin/template.status.xml b/files/www/cgi-bin/template.status.xml deleted file mode 100644 index 7df4e9f..0000000 --- a/files/www/cgi-bin/template.status.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - $hostname - 0 - - - - - Max Mustermann - Susi Mustermann - - - - - - - - - - - - - - - - - - - - - diff --git a/files/www/ff-jena_signet.png b/files/www/ff-jena_signet.png deleted file mode 100644 index 15d216c..0000000 Binary files a/files/www/ff-jena_signet.png and /dev/null differ diff --git a/files/www/ffj.css b/files/www/ffj.css deleted file mode 100644 index 3542611..0000000 --- a/files/www/ffj.css +++ /dev/null @@ -1,61 +0,0 @@ -div#body { -width: 100%; -text-align: center; -} -div#maincontent{ -margin-left: auto; -margin-right: auto; -max-width: 600px; -font-family: Arial, Verdana, sans-serif; -font-size: 12pt; -text-align: left; -} -div#maincontent a, a:link, a:visited { -color: #464646; -text-decoration: none; -} - -div#button_area{ -padding-left:150px; -padding-right:150px; -text-align:center; -} - -div#button_left{ -float:left; -width: 50%; -text-align:center; -} - -div#button_right{ -float:right; -width: 50%; -text-align:center; -} - -input.button{ -border-color:white black black white; -border-style:solid; -border-width:1px; -background-color: #E5E5E5; -padding: 5px; -color: black; -font-weight: bold; -border-radius: 5px; --moz-border-radius: 5px; --webkit-border-radius: 5px; -} -input.button:hover { -background-color: grey; -border-color:white black black white; -border-style:solid; -border-width:1px; -} -div#logo { -height: 125px; -font-size: 24px; -} -img.logo { -float: left; -padding: 5px; -} diff --git a/files/www/iframe.html b/files/www/iframe.html deleted file mode 100644 index cdee514..0000000 --- a/files/www/iframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - Freifunk Jena - - - - - - - - - - diff --git a/files/www/splash.html b/files/www/splash.html deleted file mode 100644 index 7b85b5e..0000000 --- a/files/www/splash.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - Freifunk Jena - - - - - -
-
- - - -

Willkommen!

-

- Du bist jetzt mit dem freien Funknetz Freifunk Jena verbunden.
- - Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. -

- -

- Ein Zugang ins Internet ist trotzdem möglich, - da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. - Diese Zugänge müssen sich hier alle teilen. - Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: -

- -
    -
  • bitte keine Filesharing-Programme betreiben!
  • -
  • bitte keine unnötigen Downloads oder Streams starten!
  • -
  • bitte keine illegalen Aktivitäten!
  • -
- -

- Wenn Du unsere Idee gut findest und das Netz regelmässig benutzt, dann bitten wir Dich um Unterstützung: -

- - - -

- Mit einem Klick auf Akzeptieren kannst du für - 1 Stunde(n) unser Netz verwenden. Dann wirst du - erneut aufgefordet, diese Bedingungen zu akzeptieren. -

- - -
-
-
-
- - -
-
-
-
-
-
- -
-
-
-
-
-
- - -- cgit v0.10.1 From 42a7ddefdb16ebcf38f385f4037466a4b4334efe Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 08:29:08 +0000 Subject: remove date from patch files diff --git a/config/backfire-ar71xx-tl-wr741nd-v1.patch b/config/backfire-ar71xx-tl-wr741nd-v1.patch index 8cfec4d..35cbc83 100644 --- a/config/backfire-ar71xx-tl-wr741nd-v1.patch +++ b/config/backfire-ar71xx-tl-wr741nd-v1.patch @@ -1,7 +1,3 @@ -4c4 -< # Fri Oct 14 21:30:27 2011 ---- -> # Fri Oct 14 21:52:41 2011 77c77 < CONFIG_TARGET_ar71xx_Default=y --- diff --git a/config/backfire-ar71xx-tl-wr841nd-v5.patch b/config/backfire-ar71xx-tl-wr841nd-v5.patch index b0678e5..242e2fc 100644 --- a/config/backfire-ar71xx-tl-wr841nd-v5.patch +++ b/config/backfire-ar71xx-tl-wr841nd-v5.patch @@ -1,7 +1,3 @@ -4c4 -< # Fri Oct 14 21:30:27 2011 ---- -> # Fri Oct 14 21:29:25 2011 77c77 < CONFIG_TARGET_ar71xx_Default=y --- -- cgit v0.10.1 From b47bc8f9559b3f8a1a4d4ef2eb328d760281a216 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 08:29:54 +0000 Subject: update common .config diff --git a/config/backfire.config b/config/backfire.config index 70fe933..6cc293f 100644 --- a/config/backfire.config +++ b/config/backfire.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # OpenWrt version: Backfire (r28443) -# Fri Oct 14 21:30:27 2011 +# Sun Oct 16 08:12:01 2011 # CONFIG_HAVE_DOT_CONFIG=y # CONFIG_TARGET_ppc40x is not set @@ -451,7 +451,7 @@ CONFIG_BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR=y # Archival Utilities # # CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA is not set -# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2=y CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ=y # CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z is not set # CONFIG_BUSYBOX_CONFIG_AR is not set @@ -551,11 +551,11 @@ CONFIG_BUSYBOX_CONFIG_RMDIR=y # CONFIG_BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set CONFIG_BUSYBOX_CONFIG_SEQ=y # CONFIG_BUSYBOX_CONFIG_SHA1SUM is not set -# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set -# CONFIG_BUSYBOX_CONFIG_SHA512SUM is not set +CONFIG_BUSYBOX_CONFIG_SHA256SUM=y +CONFIG_BUSYBOX_CONFIG_SHA512SUM=y CONFIG_BUSYBOX_CONFIG_SLEEP=y CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y -# CONFIG_BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP=y CONFIG_BUSYBOX_CONFIG_SORT=y # CONFIG_BUSYBOX_CONFIG_FEATURE_SORT_BIG is not set # CONFIG_BUSYBOX_CONFIG_SPLIT is not set @@ -583,7 +583,7 @@ CONFIG_BUSYBOX_CONFIG_UNIQ=y # CONFIG_BUSYBOX_CONFIG_UUDECODE is not set # CONFIG_BUSYBOX_CONFIG_UUENCODE is not set CONFIG_BUSYBOX_CONFIG_WC=y -# CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE=y # CONFIG_BUSYBOX_CONFIG_WHO is not set # CONFIG_BUSYBOX_CONFIG_WHOAMI is not set CONFIG_BUSYBOX_CONFIG_YES=y @@ -786,12 +786,11 @@ CONFIG_BUSYBOX_CONFIG_HWCLOCK=y # CONFIG_BUSYBOX_CONFIG_IPCS is not set # CONFIG_BUSYBOX_CONFIG_LOSETUP is not set # CONFIG_BUSYBOX_CONFIG_MDEV is not set -CONFIG_BUSYBOX_CONFIG_MKSWAP=y -CONFIG_BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID=y +# CONFIG_BUSYBOX_CONFIG_MKSWAP is not set # CONFIG_BUSYBOX_CONFIG_MORE is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_USE_TERMIOS is not set CONFIG_BUSYBOX_CONFIG_VOLUMEID=y -CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_REISERFS is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_HFS is not set @@ -801,7 +800,7 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT=y # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ISO9660 is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LUKS is not set -CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_CRAMFS is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ROMFS is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_SYSV is not set @@ -824,8 +823,7 @@ CONFIG_BUSYBOX_CONFIG_RDATE=y # CONFIG_BUSYBOX_CONFIG_SCRIPT is not set # CONFIG_BUSYBOX_CONFIG_SCRIPTREPLAY is not set # CONFIG_BUSYBOX_CONFIG_SETARCH is not set -CONFIG_BUSYBOX_CONFIG_SWAPONOFF=y -# CONFIG_BUSYBOX_CONFIG_FEATURE_SWAPON_PRI is not set +# CONFIG_BUSYBOX_CONFIG_SWAPONOFF is not set CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y CONFIG_BUSYBOX_CONFIG_UMOUNT=y CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y @@ -923,8 +921,8 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y # CONFIG_BUSYBOX_CONFIG_NAMEIF is not set CONFIG_BUSYBOX_CONFIG_NC=y CONFIG_BUSYBOX_CONFIG_NETMSG=y -# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set -# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set +CONFIG_BUSYBOX_CONFIG_NC_SERVER=y +CONFIG_BUSYBOX_CONFIG_NC_EXTRA=y CONFIG_BUSYBOX_CONFIG_NETSTAT=y CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG=y @@ -1039,7 +1037,7 @@ CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y # CONFIG_BUSYBOX_CONFIG_ASH_MAIL is not set # CONFIG_BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set -# CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT=y CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT=y # CONFIG_BUSYBOX_CONFIG_LASH is not set # CONFIG_BUSYBOX_CONFIG_MSH is not set @@ -1065,7 +1063,7 @@ CONFIG_BUSYBOX_CONFIG_KLOGD=y CONFIG_BUSYBOX_CONFIG_LOGGER=y # CONFIG_PACKAGE_dash is not set CONFIG_PACKAGE_dnsmasq=y -# CONFIG_PACKAGE_dropbear is not set +CONFIG_PACKAGE_dropbear=y # CONFIG_PACKAGE_ead is not set CONFIG_PACKAGE_firewall=y CONFIG_PACKAGE_hotplug2=y @@ -1077,7 +1075,7 @@ CONFIG_PACKAGE_librt=y # CONFIG_PACKAGE_mksh is not set CONFIG_PACKAGE_mtd=y # CONFIG_PACKAGE_nvram is not set -# CONFIG_PACKAGE_opkg is not set +CONFIG_PACKAGE_opkg=y # CONFIG_PACKAGE_qos-scripts is not set # CONFIG_PACKAGE_resolveip is not set CONFIG_PACKAGE_swconfig=y @@ -1470,7 +1468,6 @@ CONFIG_PACKAGE_kmod-tun=y # CONFIG_PACKAGE_kmod-block2mtd is not set # CONFIG_PACKAGE_kmod-bluetooth is not set CONFIG_PACKAGE_kmod-button-hotplug=y -# CONFIG_PACKAGE_kmod-compcache is not set # CONFIG_PACKAGE_kmod-crc-ccitt is not set # CONFIG_PACKAGE_kmod-crc-itu-t is not set # CONFIG_PACKAGE_kmod-crc16 is not set @@ -2064,10 +2061,10 @@ CONFIG_PACKAGE_MAC80211_DEBUGFS=y # CONFIG_PACKAGE_gesftpserver is not set # CONFIG_PACKAGE_openssh-client is not set # CONFIG_PACKAGE_openssh-client-utils is not set -CONFIG_PACKAGE_openssh-keygen=y -CONFIG_PACKAGE_openssh-server=y +# CONFIG_PACKAGE_openssh-keygen is not set +# CONFIG_PACKAGE_openssh-server is not set # CONFIG_PACKAGE_openssh-sftp-client is not set -CONFIG_PACKAGE_openssh-sftp-server=y +# CONFIG_PACKAGE_openssh-sftp-server is not set # CONFIG_PACKAGE_rssh is not set # CONFIG_PACKAGE_sshtunnel is not set @@ -2304,7 +2301,7 @@ CONFIG_PACKAGE_iw=y # CONFIG_PACKAGE_net-tools-plipconfig is not set # CONFIG_PACKAGE_net-tools-rarp is not set # CONFIG_PACKAGE_net-tools-slattach is not set -CONFIG_PACKAGE_netcat=y +# CONFIG_PACKAGE_netcat is not set # CONFIG_PACKAGE_netdiscover is not set # CONFIG_PACKAGE_netperf is not set # CONFIG_PACKAGE_netpipe is not set -- cgit v0.10.1 From a31763970e4abee342dd1b20ddaac9ba98b60a91 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 12:26:02 +0000 Subject: Makefile: clean from old results before making new diff --git a/Makefile b/Makefile index e8457a1..e7430a5 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ image/%: openwrt/$$(REPO)/.repo_access config/$$(REPO).config \ cp config/$(REPO).config openwrt/$(REPO)/.config patch openwrt/$(REPO)/.config Date: Sun, 16 Oct 2011 12:26:29 +0000 Subject: config: set default lan IP to FFJ network (10.17.200.1) diff --git a/config/backfire.config b/config/backfire.config index 6cc293f..45a602e 100644 --- a/config/backfire.config +++ b/config/backfire.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # OpenWrt version: Backfire (r28443) -# Sun Oct 16 08:12:01 2011 +# Sun Oct 16 12:23:22 2011 # CONFIG_HAVE_DOT_CONFIG=y # CONFIG_TARGET_ppc40x is not set @@ -315,9 +315,9 @@ CONFIG_TARGET_SUFFIX="uclibc" CONFIG_IMAGEOPT=y CONFIG_UCI_PRECONFIG_network_lan_dns="" CONFIG_UCI_PRECONFIG_network_lan_proto="static" -CONFIG_UCI_PRECONFIG_network_lan_gateway="192.168.2.4" +CONFIG_UCI_PRECONFIG_network_lan_gateway="" CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0" -CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.2.1" +CONFIG_UCI_PRECONFIG_network_lan_ipaddr="10.17.200.1" # CONFIG_PREINITOPT is not set CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y CONFIG_TARGET_PREINIT_TIMEOUT=2 -- cgit v0.10.1 From 4a8dfdc3f7aad7f53fd0d922673935750f161741 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 12:27:14 +0000 Subject: add files for TL-WR741ND, TL-WR841ND diff --git a/files/ar71xx-tl-wr741nd-v1/etc/config/network b/files/ar71xx-tl-wr741nd-v1/etc/config/network new file mode 100644 index 0000000..a0e8256 --- /dev/null +++ b/files/ar71xx-tl-wr741nd-v1/etc/config/network @@ -0,0 +1,29 @@ +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' 'bat0 wlan0' + option 'mtu' '1527' + +config interface lan + option ifname eth0 + option type bridge + option proto static + option ipaddr 10.17.200.1 + option netmask 255.255.255.0 + +config interface wan + option ifname eth1 + option proto dhcp + +config switch eth0 + option enable_vlan 1 + +config switch_vlan + option device eth0 + option vlan 1 + option ports "0 1 2 3 4" diff --git a/files/ar71xx-tl-wr841nd-v5/etc/config/network b/files/ar71xx-tl-wr841nd-v5/etc/config/network new file mode 100644 index 0000000..2b4d140 --- /dev/null +++ b/files/ar71xx-tl-wr841nd-v5/etc/config/network @@ -0,0 +1,22 @@ +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' 'bat0 wlan0' + option 'mtu' '1527' + +config 'interface' 'lan' + option 'type' 'bridge' + option 'proto' 'static' + option 'netmask' '255.255.255.0' + option 'ifname' 'eth0' + option 'ipaddr' '10.17.200.1' + +config 'interface' 'wan' + option 'ifname' 'eth1' + option 'proto' 'dhcp' + option 'dns' '217.11.48.200 217.11.49.200 8.8.8.8' diff --git a/files/ar71xx/etc/config/batman-adv b/files/ar71xx/etc/config/batman-adv new file mode 100644 index 0000000..9e79e7c --- /dev/null +++ b/files/ar71xx/etc/config/batman-adv @@ -0,0 +1,10 @@ +config 'mesh' 'bat0' + option 'interfaces' 'wlan1' + option 'orig_interval' + option 'log_level' + option 'aggregated_ogms' + option 'bonding' + option 'fragmentation' + option 'vis_mode' + option 'gw_mode' 'client' + diff --git a/files/ar71xx/etc/config/wireless b/files/ar71xx/etc/config/wireless new file mode 100644 index 0000000..755f3ea --- /dev/null +++ b/files/ar71xx/etc/config/wireless @@ -0,0 +1,22 @@ +config wifi-device radio0 + option type mac80211 + option channel 1 + option phy phy0 +# option hwmode 11ng +# option htmode HT20 +# list ht_capab SHORT-GI-40 +# list ht_capab TX-STBC +# list ht_capab RX-STBC1 +# list ht_capab DSSS_CCK-40 + +config wifi-iface + option device radio0 + option mode adhoc + option ssid batman.jena.freifunk.net + option bssid 12:CA:FF:EE:BA:BE + option hidden 1 + +config wifi-iface + option device radio0 + option mode ap + option ssid www.freifunk-jena.de \ No newline at end of file -- cgit v0.10.1 From 2d85a30a1cb928c6b2551f3ce815b2027eaa9f57 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 12:28:07 +0000 Subject: add jh to ssh authorized keys diff --git a/files/common/etc/dropbear/authorized_keys b/files/common/etc/dropbear/authorized_keys index ed898bc..c83d1a0 100644 --- a/files/common/etc/dropbear/authorized_keys +++ b/files/common/etc/dropbear/authorized_keys @@ -6,3 +6,5 @@ ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAufrdEwZmNJhcdxBkBepD/cjCkrxTdM6nC7Mtommvbyri ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB7QDvtIcbm2u4bnMVrQro+iFkQEsAHC/nbk8I/V85CpZObiofVWD7xJd/UMU9zxhWJ2UG+aVThNX9vwSHfmBYMfMljFXIRG8vo94uVZmEUvgfMDXAoOE7EhLBXGAx+Z1f4/rwoTWE0b/Nb/CfnxfDTbNYQgrjx9pyMY6CtYMddqjsBmq9ZzO/w4+WUZJXIy7imWkKna7czG20AMUNuo7AvcOlU1rgZIVyi2hN31DvuJNLSDXSDCkxMwcV0iukYnNiGk7N/xReBLKHbp9aUk0/TOr+H7cBjQwkXZPheoPsq3CZfolHQiQxjMGwFQlw+ZnrURDaOGFU6u1sAWZDwj2DaFh4YFaPHH8gKJvsE0vjxzWCc3vmFctCLwGLeLoc7Ghz35q066LX9i972w9HQ1YRcrKLAGDmhkzAQqaX3dT7bsgvylTi+nvhr0iYZ9wg44TDd+KGfm+BHtXOxCmr4MzJWOooQi83gr7ZoqGL3rwK8t2dDDORA9sb6sAe+Srj0GXUxbIRWmJY99JOlIocBGRzsUQ08kulsNryQrgk5iwxqSZy0TAGVisZ2Uz5SfNSYbpKLn3IbNtl2TPvFazdMb0RfXhZpcxoPgbf6UmQBQJdI11e6ga6Evn5KIIT6GvtQQDxwdyn/CggEbnXj20nAp8== # egon0 (Freifunk Jena) - mobile ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYdPDqvxN2+oZQr1QEAgcpFgRq7QAk6lNT4f5mFiDII07tlx7KMgWGX5C3hbgHpJgVWXx9uC5aB0qQOO8h0KV0AODQDz9bu7P9SvmpZt0isXzV5jh+b/lzMfwlzZt0tmqOUxzN6JkzBfsaQjMEViSsu/bhQG0nPehiEVykrJeMVPngX9hfA6UMj04hhkUY0bG+ET1JpUCSSXKkvPJHKOfGa9gPeZewSasGnxjwzQ5M2Ikn4CtQuDCIrVnjEvb/rAH3So9TSjV31dx10O6vYY2qAnS/oviQSN9NP729CQLSCaBFv4Z5I7WJaXAxkYSRvC8fzTq62nOXWi3rWg2jfSnsbyEkqQGJ5z6ZaiDIi2tHuXfVoLlCdnaVmgPtQuhGQLamrnOvvn+PJBptPgGWl74g/H/UEsT0v60c6jgfp5jtrEk25Bgk7QITp/aykRf6uGjEfwnatZSs43D2y9TU6EPH0oy2tN0MI+XKU2PwoXme1BwAhpKPawnNY495BmLqyn0u3Fr8C1IqD2nCaLhk8OGVEW3BZAy2wdb2V1huTq0SkEMhILrDLKslZwGpO2mtMRrHwAhk6S220zSOH+B9seNK7P42pNBc0pqP6rJrVRxfjpq/+fA4wjE+ojQagQhTAHuK/SsA79gE/vTtlRGOy2nW7D5hmidaiiqptTxuTENULQ== galaxy +# jh +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDtvCFJeNxdBPx2GU6KYkLdCapwCFeWplMSF6gpY+zwn8c8IJT5D6Il5fkLjvlgk6r80J1xn6pJT9NURxtGI5htGSN9m0WBF1WNpom5NMiRweduAEdLDiLaIxG6XOubOEXpPVeNxOCad2L42Njw1D121Dl8Q1ec6HOaj3T99qDEulHXkxxP7EMQLzcuyBpJk5hyqYGpljIIS4DwgUn6nnMf098BOtD8hCPrCEcFVA3uutyA5FTByel3D8iBROIFi6twRBRbsVVLxToXgUF8TavBwt8LNI2FFHe2GO9WfzhCZCbaj3WvsDgA5VwFOAwbJremlSIPfHQ9JER6TwQpMkBMH1EstK8moNHe9roHpjHUArJxHLoLSzwZdhDlS3u1Qfftrh0KjVkOaCNjfhFsQbIfD/MsMl7E1lXlnoIsaPysszuvGaoV2ocWoeR9ocIldz1cpqFa5j0h/GsEuwGjl7Fd8dS4ZisqtJ2M7DbJkJrFB0Dw3dSTw9FRzDwm1gK2B9QGEc+XACTxp9Nb8bbPb87RKU07D/RwJ1ZhYyEa6l/TxkyTUsuvfexWB2I3QGCL+xhb/V/JYQzjO38AODCG10l0ulmNUXDEkv7qs7gmGjgvR362go4qRWV0vq8OkGpy+FJkl94ATlcXIbNGPNYA2wbB+/sd5s/L9ErgYBqFd+SIhQ== -- cgit v0.10.1 From 6937a6820231cdd7bf9785a60e3b574841563382 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Sun, 16 Oct 2011 12:28:38 +0000 Subject: set default hostname to FFJ diff --git a/files/common/etc/config/system b/files/common/etc/config/system index 3d9683c..bb050b2 100644 --- a/files/common/etc/config/system +++ b/files/common/etc/config/system @@ -1,5 +1,5 @@ config system - option hostname OpenWrt + option hostname FFJ option timezone CET config button -- cgit v0.10.1 From 909b461723e040663c58ee2c60affd806e31a17a Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 18 Oct 2011 18:12:23 +0200 Subject: * prevent erlang to be build via default diff --git a/config/backfire.config b/config/backfire.config index 45a602e..4a22a02 100644 --- a/config/backfire.config +++ b/config/backfire.config @@ -3147,18 +3147,18 @@ CONFIG_PACKAGE_nano=y # # Erlang # -CONFIG_PACKAGE_erlang=m -CONFIG_PACKAGE_erlang-asn1=m -CONFIG_PACKAGE_erlang-compiler=m -CONFIG_PACKAGE_erlang-crypto=m -CONFIG_PACKAGE_erlang-hipe=m -CONFIG_PACKAGE_erlang-inets=m -CONFIG_PACKAGE_erlang-mnesia=m -CONFIG_PACKAGE_erlang-runtime-tools=m -CONFIG_PACKAGE_erlang-snmp=m -CONFIG_PACKAGE_erlang-ssh=m -CONFIG_PACKAGE_erlang-ssl=m -CONFIG_PACKAGE_erlang-syntax-tools=m +#CONFIG_PACKAGE_erlang=m +#CONFIG_PACKAGE_erlang-asn1=m +#CONFIG_PACKAGE_erlang-compiler=m +#CONFIG_PACKAGE_erlang-crypto=m +#CONFIG_PACKAGE_erlang-hipe=m +#CONFIG_PACKAGE_erlang-inets=m +#CONFIG_PACKAGE_erlang-mnesia=m +#CONFIG_PACKAGE_erlang-runtime-tools=m +#CONFIG_PACKAGE_erlang-snmp=m +#CONFIG_PACKAGE_erlang-ssh=m +#CONFIG_PACKAGE_erlang-ssl=m +#CONFIG_PACKAGE_erlang-syntax-tools=m # # Java -- cgit v0.10.1 From 87e6fe50843e5c28b72ec11850efef41d32ab7c8 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 18 Oct 2011 18:13:09 +0200 Subject: * use global download-folder diff --git a/config/backfire.config b/config/backfire.config index 4a22a02..ab8bdfa 100644 --- a/config/backfire.config +++ b/config/backfire.config @@ -279,7 +279,7 @@ CONFIG_USE_SSTRIP=y CONFIG_STRIP_KERNEL_EXPORTS=y # CONFIG_DEVEL is not set # CONFIG_BROKEN is not set -CONFIG_DOWNLOAD_FOLDER="" +CONFIG_DOWNLOAD_FOLDER="../../dl" CONFIG_LOCALMIRROR="" CONFIG_AUTOREBUILD=y CONFIG_BUILD_SUFFIX="" -- cgit v0.10.1 From e3dfea3dc99c7d497eac53de780172c0fc6c450d Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Wed, 19 Oct 2011 02:21:52 +0200 Subject: * create global dl-folder and symlink it to global dl-folder diff --git a/Makefile b/Makefile index e7430a5..1e7115b 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ .PHONY: openwrt/backfire openwrt/backfire/.repo_access: + mkdir dl mkdir -p openwrt cd openwrt && svn co svn://svn.openwrt.org/openwrt/branches/backfire + cd $(@D) && ln -s ../../dl . cd $(@D) && ./scripts/feeds update cd $(@D) && make package/symlinks touch $@ @@ -31,4 +33,4 @@ image/%: openwrt/$$(REPO)/.repo_access config/$$(REPO).config \ rsync -a files/$(PLATFORM)-$(MODEL)/ openwrt/$(REPO)/files/ cd openwrt/$(REPO) && $(MAKE) mkdir -p $@ - rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/ \ No newline at end of file + rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/ -- cgit v0.10.1 From 6a5f126745af545b7c3674530ba57bd4fd8cb15a Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Wed, 19 Oct 2011 09:21:57 +0000 Subject: use common dl directories for all branches diff --git a/Makefile b/Makefile index e7430a5..15378b7 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ .PHONY: openwrt/backfire openwrt/backfire/.repo_access: - mkdir -p openwrt + mkdir -p openwrt dl cd openwrt && svn co svn://svn.openwrt.org/openwrt/branches/backfire + ln -s ../../dl $(@D)/ cd $(@D) && ./scripts/feeds update cd $(@D) && make package/symlinks touch $@ -- cgit v0.10.1 From 501a14d0ec11c058563ce8e7845e045007cd6635 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Wed, 19 Oct 2011 09:22:18 +0000 Subject: correctly call sub-makes using $(MAKE) diff --git a/Makefile b/Makefile index 15378b7..d12185a 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,13 @@ openwrt/backfire/.repo_access: cd openwrt && svn co svn://svn.openwrt.org/openwrt/branches/backfire ln -s ../../dl $(@D)/ cd $(@D) && ./scripts/feeds update - cd $(@D) && make package/symlinks + cd $(@D) && $(MAKE) package/symlinks touch $@ update/%: openwrt/% cd $< && svn update cd $< && ./scripts/feeds update - cd $< && make package/symlinks + cd $< && $(MAKE) package/symlinks touch $ Date: Wed, 19 Oct 2011 09:22:43 +0000 Subject: update update rule to use .repo_access diff --git a/Makefile b/Makefile index d12185a..226eccd 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ openwrt/backfire/.repo_access: cd $(@D) && $(MAKE) package/symlinks touch $@ -update/%: openwrt/% +update/%: openwrt/%/.repo_access cd $< && svn update cd $< && ./scripts/feeds update cd $< && $(MAKE) package/symlinks -- cgit v0.10.1 From 876bf6b766e7293d382483b527a2148a3496eb7f Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Wed, 19 Oct 2011 14:00:09 +0000 Subject: undo use of CONFIG_DOWNLOAD_FOLDER in .config diff --git a/config/backfire.config b/config/backfire.config index ab8bdfa..4a22a02 100644 --- a/config/backfire.config +++ b/config/backfire.config @@ -279,7 +279,7 @@ CONFIG_USE_SSTRIP=y CONFIG_STRIP_KERNEL_EXPORTS=y # CONFIG_DEVEL is not set # CONFIG_BROKEN is not set -CONFIG_DOWNLOAD_FOLDER="../../dl" +CONFIG_DOWNLOAD_FOLDER="" CONFIG_LOCALMIRROR="" CONFIG_AUTOREBUILD=y CONFIG_BUILD_SUFFIX="" -- cgit v0.10.1 From f120825d3212fd8b58e06097eb284d3be0682d5b Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 1 Nov 2011 22:51:03 +0100 Subject: * deleted unused .phony target openwrt/backfire diff --git a/Makefile b/Makefile index 513e2ba..3f42c94 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ .NOTPARALLEL: -.PHONY: openwrt/backfire openwrt/backfire/.repo_access: mkdir -p openwrt dl cd openwrt && svn co svn://svn.openwrt.org/openwrt/branches/backfire -- cgit v0.10.1 From c51fba27e256fa1868fffa580ffd6fb3a784e167 Mon Sep 17 00:00:00 2001 From: egon_ffj Date: Tue, 1 Nov 2011 23:51:44 +0100 Subject: generate persistent .config diff --git a/Makefile b/Makefile index 3f42c94..0394d80 100644 --- a/Makefile +++ b/Makefile @@ -14,17 +14,32 @@ update/%: openwrt/%/.repo_access cd $< && $(MAKE) package/symlinks touch $ Date: Wed, 2 Nov 2011 10:32:02 +0000 Subject: only copy plattform/model-specific files/ if existant diff --git a/Makefile b/Makefile index 0394d80..8f31506 100644 --- a/Makefile +++ b/Makefile @@ -42,8 +42,8 @@ image/%: config/$$(REPO)-$$(PLATFORM)-$$(MODEL).config \ cp $< openwrt/$(REPO)/.config -rm -r openwrt/$(REPO)/files openwrt/$(REPO)/bin/$(PLATFORM) cp -a files/common openwrt/$(REPO)/files - rsync -a files/$(PLATFORM)/ openwrt/$(REPO)/files/ - rsync -a files/$(PLATFORM)-$(MODEL)/ openwrt/$(REPO)/files/ + [ -d files/$(PLATFORM) ] && rsync -a files/$(PLATFORM)/ openwrt/$(REPO)/files/ + [ -d files/$(PLATFORM)-$(MODEL) ] && rsync -a files/$(PLATFORM)-$(MODEL)/ openwrt/$(REPO)/files/ cd openwrt/$(REPO) && $(MAKE) mkdir -p $@ rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/ -- cgit v0.10.1 From ec5ade1f68571c10cbb1e3df69f917feac81d678 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Wed, 2 Nov 2011 10:32:45 +0000 Subject: catch errors when patching model specific .config files diff --git a/Makefile b/Makefile index 8f31506..a2f6104 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ config/%.config: $$(shell find config -iname '$$(REPO).config') \ $$(shell find config -iname '$$(REPO)-$$(PLATFORM)-$$(MODEL).patch') cp config/$(REPO).config $@~ if [ -n "$(MODEL)" ]; then \ - patch $@~ Date: Thu, 24 Nov 2011 00:07:55 +0100 Subject: added automatic parallel job-number for make depending on processor-count diff --git a/Makefile b/Makefile index a2f6104..051ff5c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,22 @@ +NUMPROC := 1 +OS := $(shell uname) +export NUMPROC + +ifeq ($(OS),Linux) + NUMPROC := $(shell grep -c ^processor /proc/cpuinfo) + +else ifeq ($(OS),Darwin) + NUMPROC := $(shell sysctl hw.ncpu | awk '{print $$2}') +endif + +# Always use # of processory plus 1 +NUMPROC:=$$((${NUMPROC}+1)) +NUMPROC:=$(shell echo ${NUMPROC}) + +ifeq ($(NUMPROC),0) + NUMPROC = 1 +endif + .NOTPARALLEL: openwrt/backfire/.repo_access: @@ -44,6 +63,6 @@ image/%: config/$$(REPO)-$$(PLATFORM)-$$(MODEL).config \ cp -a files/common openwrt/$(REPO)/files [ -d files/$(PLATFORM) ] && rsync -a files/$(PLATFORM)/ openwrt/$(REPO)/files/ [ -d files/$(PLATFORM)-$(MODEL) ] && rsync -a files/$(PLATFORM)-$(MODEL)/ openwrt/$(REPO)/files/ - cd openwrt/$(REPO) && $(MAKE) + cd openwrt/$(REPO) && $(MAKE) -j$(NUMPROC) mkdir -p $@ rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/ -- cgit v0.10.1