- mtu of 1528 is enough for no fragmentation
- also some cleanups
- interface 'bat' was never needed
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
Signed-off-by: Jan Kraus <mayosemmel@gmail.com>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
Changed mode of configurenetwork to 755
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
* adds openwrt patch
* adds networkconfig
power-LED is not working
Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
Signed-off-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
[rebased to master]
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
- remove httpd from .config
- remove httpd startup from rc.local
- add crawldata path creation in nodewatcher
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Tested-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Tested-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
- moves the node<-->client ra rules to package fff-uradvd
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Tested-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
also changed image comparing at sysupgrade to sha256 and added the related tool
Signed-off-by: Jan Kraus <mayosemmel@gmail.com>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
also removed function board_clean from bsp files and board_postbuild from buildscript
Signed-off-by: Jan Kraus <mayosemmel@gmail.com>
suggested-by: Alexander Wunschik <freifunk@wunschik.net>
Co-Authored-by: Alexander Wunschik <freifunk@wunschik.net>
Co-Authored-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
This patch adds a prefix advertisment for each node. Every node get also
the IPs
* $prefix::MAC
* $prefix::link-local
* $prefix::1
::1 is duplicated so we need filtering to not forward data into the
network for ::1.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Der TP-Link WA850RE ist von der Hardware baugleich mit dem WA860RE somit
wurde die Konfiguration zu größten Teilen kopiert. Der einzige
Unterschied ist der, das der Router keinen Durchgang für den Strom hat
und somit eine Steckdose blockiert.
Signed-off-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
With micrond it is possible that every package has its own crontab.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Steffen Pankratz <kratz00@gmx.de>
As we don't even have a DHCP server in the image.
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
Reveiwed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
- 'hidden = 1' does not make sense for ad-hoc networks, they need the
SSID to be visible for cell merging to function properly
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
Reveiwed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
brctl isn't part of OpenWRT anymore. Rewrite the client-count to bridge util
from iproute2 package.
Another alternative may be to use "batctl tl" but there we get false positives
for local interfaces.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Steffen Pankratz <kratz00@gmx.de>
This script is obsolete by the iproute2 bridge tool.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Steffen Pankratz <kratz00@gmx.de>
Only options or values which may contain spaces need them
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Michael Fritscher <michael@fritscher.net>
This is a normal scenario:
-- %< --
originator last-seen (quality) nexthop [interface]: .. possible nexthops ..
A 0.270s (134) A [ w2mesh]: C ( 79) A (134)
B 0.170s (245) B [ w2mesh]: B (245)
C 1.850s (152) C [ w2mesh]: A ( 83) C (152)
-- >% --
Nodewatcher will send only the originator, last-seen, quality, nexthop
and the interface. Nothing about the possible nexthops. Because Netmon
can't show every Originator (to bad performance), we need some filtering,
to only see direct neighbors. At the moment Netmon stores only
originator == nexthop entries. And there is no other way to filter,
because Netmon has only this information.
But this may fail. The problem occurs, if A has a better connection
(e.g. via eth0) with leads to an quality of 255:
-- %< --
A 0.270s (255) A [ eth0]: C ( 79) A (255)
B 0.170s (245) B [ w2mesh]: B (245)
C 1.850s (204) A [ eth0]: A (204) C (152)
-- >% --
In this example, Netmon wouldn't show the connection to C.
This patch doesn't use the originator == nexthop filter. Instead a
filter like "originator is anywhere in the possible nexthops" is used.
With this, we can disable the filtering in Netmon and show at least that
there is directly connection. With the "batctl o" command it is not
possible to show the correct interface for this direct connection.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
-> no new host-key to accept after upgrade
-> no copying of authorized_keys after upgrade
Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
* introduces new file network.mode currently only used for nanostation
* network.mode is added to sysupgrade.conf
=> once configured the the setting should survive an upgrade
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This helps batman-adv to find a new and better gateway.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
This ebtables rules are based on the gluon work.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
Suggested-by: Sebastian Laubscher <sebastian@laubscher.name>
Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
- Klammern um if-Statements
- == als Vergleichsoperator gibts nur in der Bash, wir haben aber nur sh (ash) verfuegbar
es ist nicht auszuschliessen, dass die Aenderungen nun andere Fehler zur Folge haben, wo vorher keine waren, da das Script doch irgendwie die "richtigen" Werte hatte.
Die bourne shell (sh) ist nicht so umfangreich wie die bourne again shell (bash).
der Update-Prozess laesst sich nun deutlich verkuerzen:
FILE="openwrt-ar71xx-generic-`uci get board.model.name`-squashfs-sysupgrade.bin"
echo "Loading $FILE"
cd /tmp/
wget http://$(uci get configurator.@api[0].ipv6_address)%$(uci get configurator.@api[0].ipv6_interface)/dev/firmware/current/${FILE}
wget http://$(uci get configurator.@api[0].ipv6_address)%$(uci get configurator.@api[0].ipv6_interface)/dev/firmware/current/${FILE}.md5
md5sum -c ${FILE}.md5 && sysupgrade ${FILE}
- remove obsolete crontabs
- move mac handling to network.sh
- update wr741xx, wr740 and wr1043 to new network config
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Series-to: ffol
Series-version: 1
Series-name: for_0.5.0
Cover-letter:
This patchset is meant to be applied to a branch which stores the changes for
the upcoming 0.5.0 release. It hold also all patches from my last set for 0.4.2.
This sets bumps up our OpenWRT base version.
Currently not working:
- Network on WDR3500 have wrong VLAN-IDs
Currently untested:
- All WRxxx and DIR300/Fonera boards
END
Series-changes: 1
- First version of this Patchset
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit deactivates some special treatments for low memory devices, we
need to first evaluate the current openwrt to check what is needed and what
not.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
With this changes it's possible to open the menuconfig and kernel_menuconfig
target and save the corresponding config files to the local bsp.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>