Commit graph

109 commits

Author SHA1 Message Date
Clemens John
567236f697 Add systemclt section for starting and stopping the tftpd for flashing a dir300 on Archlinux
Signed-off-by: Clemens John <clemens-john@gmx.de>
2013-10-08 10:04:14 +00:00
Jan-Tarek Butt
f334acd23b Enfernen von Leerzeichen
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-05 21:25:26 +02:00
Jan-Tarek Butt
22995c940f Entfernen von überflüssigen Leerzeichen
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-05 21:12:33 +02:00
Tim Niemeyer
6893bf00fb bsp/default/fastdstart.sh.tpl: remove garbage
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-04 22:40:58 +02:00
Clemens John
5fae48753c configurator: Check if hostname is valid RFC 1123
(check length of labels, check the whole length
and allow . and - where allowed

Signed-off-by: Clemens John <clemens-john@gmx.de>

Rebased: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-03 22:25:20 +02:00
Clemens John
18b82b58a8 Prevent configurator from setting unwanted or malformed hostnames 2013-09-19 15:45:54 +00:00
Tim Niemeyer
a4c5d79aa5 bsp/dir300|fonera: remove the fastd template script
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 12:47:48 +02:00
Tim Niemeyer
8329a1fbfd buildscript: support community files with templates
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:16:31 +02:00
Tim Niemeyer
fe192d9a21 wlanwatchdog: do not use fixed addr for the gateway
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
360bdb2d28 wlanwatchdog: fix confusing batman message
If there is no batman originator the kernel reports "No batman nodes in range"
which was counted as one originator.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
844b16ea98 wlanwatchdog: do not find local macs as clients
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
2dd397b0f1 Preserve /etc/shadow to save password over reflash
With this change, the sysupgrade should be run without -n flag.
But only if this code runs already on the device.

Signed-off-by: Tim Niemeyer <tim@fipux.org>
2013-09-14 00:11:17 +02:00
Marc René Schädler
1f189ca402 add wlanwatchdog crontab entry to tplink boards 2013-09-09 11:07:25 +00:00
Marc René Schädler
c306813c26 add execution of environment variables script to rc.local 2013-09-09 11:07:16 +00:00
Marc René Schädler
212bdd41a1 add environment variables script
Use faststart.sh for get_vpn_interface
-- Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-09 11:07:09 +00:00
Marc René Schädler
6061b7a38e add wlanwatchdog script
Use *) as unknown STATE, fixes Startup delay
-- Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-09 11:07:00 +00:00
Tim Niemeyer
78e3d51531 bsp/*: remove ath9k-watchdog
This also fixes missing mii/eth-tool on wr841n8.

Signed-off-by: Tim Niemeyer <tim@fipux.org>
2013-09-09 11:06:52 +00:00
Tim Niemeyer
93bed97ecc wr841n8: fix eth1 multicast
(see OpenWRT r35564)

This fixes #603

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-08-04 22:44:21 +00:00
Clemens John
dda1cba333 Add an option for the ip version so that netmon does not need to guess 2013-08-04 17:31:04 +00:00
Clemens John
370d9f69d9 Add option for interface name so netmon does not need to add a dummy interface like configurator_ipv6 2013-08-04 17:02:45 +00:00
Clemens John
8f58079510 No code changes, just formatting. Replace whitespaces with tabs to indent 2013-08-04 16:58:53 +00:00
Clemens John
18111568fb Remove code duplicates and move adding of ipv6 addr to better place in script. 2013-08-04 16:56:08 +00:00
Clemens John
1dfb536728 Do not use bind option because it causes problems on some hosts and was not used before 2013-07-19 20:23:42 +00:00
Clemens John
42baa23a55 Changes settings for Freifunk Oldenburg (ipv6 server addr, ssid of mesh and ap, wlan channel) 2013-07-13 23:30:03 +00:00
Tim Niemeyer
1d0237eba6 bsp/wr841n8: configure switch
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-07-13 23:19:45 +00:00
Tim Niemeyer
82b3d32006 bsp/wr841n8: Initial support
Basically, this is a clone from wr841nd7.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-07-13 23:19:22 +00:00
Tim Niemeyer
d41a1bd919 bsp/*: add ethtool and mii-tool
Signed-off-by: Tim Niemeyer <tim@fipux.org>
2013-07-13 23:18:59 +00:00
Tim Niemeyer
734b8b23d2 fastdstart.sh: do not use the owrt init skript
The init skript is the wrong place to start this vpn daemon as it
needs wan connection first.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-07-13 23:11:57 +00:00
Clemens John
5bcc7c65db Try to add ipv6 adress also if the router is already assigned (if there went something wrong the first time). Add option for specififing the netask of an ip addres and remove the netmask from the end of the ip address 2013-07-13 11:12:24 +00:00
Clemens John
f592a8ae09 Store api key of router owner to be able to use netmons new REST API 2013-05-04 00:25:03 +02:00
Tim Niemeyer
66d46b1860 Nodwatcher: read also unknown interfaces
Fixes #501

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-04-01 17:57:18 +02:00
Tim Niemeyer
9beaf017a1 Enable atk9k-watchdog 2013-04-01 16:29:16 +02:00
Tim Niemeyer
dcee86e97c All: Disable 802.11b wifi
The new ODFM modulation is much better and the old one isn't really
used these days.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-04-01 16:29:16 +02:00
Tim Niemeyer
338936f81f wr1043: Added heartbeat LEDs
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 14:37:03 +01:00
Tim Niemeyer
3435b15679 DIR/Fonera: Force dhcp off on
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 11:42:27 +01:00
Tim Niemeyer
00d1d2c987 add an ipv6 host to fastdstart to detect connectivity
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 01:22:37 +01:00
Tim Niemeyer
118d7d8236 Enable IPv6 RA's on WAN Port
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 01:21:26 +01:00
Tim Niemeyer
192dd3765c Change BATMAN ethernet ports
BATMAN couldn't handle devices with the same MAC, so this uses the internal
switch to bridge the ports. It also changes the MAC to a localy unique
address.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 00:10:52 +01:00
Tim Niemeyer
fb277ed060 Always use provided dir300-flash
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-29 15:40:03 +01:00
Tim Niemeyer
92991371f6 Revert "DIR300: little work on memory consumption"
that work wasn't finished

This reverts commit 57d8060ab7.
2013-03-29 15:39:13 +01:00
Tim Niemeyer
57d8060ab7 DIR300: little work on memory consumption
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-29 11:01:24 +01:00
Tim Niemeyer
e833488780 DIR300: fix ipc switch
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-29 11:01:24 +01:00
Bjoern Franke
088fdca5ef 841nd7: fix switchconfig: wan - bat - bat - cli - cli 2013-03-17 22:34:46 +01:00
Bjoern Franke
313ef61f10 shortened L in FFOL-banner 2013-03-17 20:01:14 +01:00
Bjoern Franke
0dd9c6076a remove ath9k-watchdog, backport ath9k-patches from openwrt r35786, should fix many dDMA issues 2013-02-27 19:28:07 +01:00
Bjoern Franke
055ab542a2 forgot to add watchdog in last commit 2013-02-24 09:36:43 +01:00
Bjoern Franke
59304a1224 - moved ath9k-watchdog to default
- watchdog bites now in case of 'Failed to stop TX' instead of 'Could not stop RX'
- instead of reboot, reset wifi and add enable batman-adv on wifi again
2013-02-24 09:33:55 +01:00
Bjoern Franke
b96357b200 wr1043nd: enabled syslog/logread 2013-02-17 17:35:10 +01:00
Bjoern Franke
be251961fd Revert "wr1043md: enabled syslog/logread"
This reverts commit 23d0b725cc.
2013-02-17 17:33:44 +01:00
Bjoern Franke
23d0b725cc wr1043md: enabled syslog/logread 2013-02-17 14:02:08 +01:00