forked from freifunk-franken/firmware
9343153547
Flashing instructions:
The image can only be flashed via TFTP, not via WebUI.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "...-tftp-recovery.bin" to "tp_recovery.bin" and place
it in tftp server directory.
3. Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
4. Router will download file from server, write it to flash and reboot.
ref: 24043a0d2e
Signed-off-by: Dominik Heidler <dominik@heidler.eu>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[add commit message, rebase]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
13 lines
230 B
Plaintext
13 lines
230 B
Plaintext
. /lib/functions/system.sh
|
|
|
|
PORTORDER="0 1 2 3 4"
|
|
|
|
WANDEV=eth0
|
|
SWITCHDEV=eth0
|
|
CLIENT_PORTS="6t 3 4"
|
|
WAN_PORTS="6t 0"
|
|
BATMAN_PORTS="6t 1 2"
|
|
|
|
ROUTERMAC=$(cat /sys/class/net/eth0/address)
|
|
ETHMESHMAC=$(macaddr_setbit_la "$ROUTERMAC")
|