This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sun Apr 21 21:42:24 2024 user.info checkuplink: Loadbalancing enabled. | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: Unable to access interface: No such device | |
Sun Apr 21 21:42:24 2024 user.info checkuplink: Contacting wgkex broker https://broker.ffmuc.net/api/v2/wg/key/exchange | |
Sun Apr 21 21:42:24 2024 user.err checkuplink: Contacting wgkex broker failed, response: | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: lua: .../gluon-mesh-wireguard-vxlan/parse-wgkex-response.lua:3: Malformed JSON response, wrong JSON format | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: stack traceback: | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: [C]: in function 'assert' | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: .../gluon-mesh-wireguard-vxlan/parse-wgkex-response.lua:3: in main chunk | |
Sun Apr 21 21:42:24 2024 daemon.err micrond[3467]: [C]: ? | |
Sun Apr 21 21:42:24 2024 user.err checkuplink: Parsing wgkex broker data failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@OpenWrt:~# batctl gwl | |
Error - interface bat0 is not present or not a batman-adv interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.117358] pci_bus 0000:00: resource 6 [mem 0x000d4000-0x000d7fff window] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.119617] pci_bus 0000:00: resource 7 [mem 0x000d8000-0x000dbfff window] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.121963] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.123879] pci_bus 0000:00: resource 9 [io 0x0000-0x0cf7 window] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.125722] pci_bus 0000:00: resource 10 [io 0x0d00-0xfeff window] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.127484] pci_bus 0000:02: resource 0 [io 0x2000-0x3fff] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.129059] pci_bus 0000:02: resource 1 [mem 0xfd500000-0xfdffffff] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.130830] pci_bus 0000:02: resource 2 [mem 0xe7b00000-0xe7ffffff 64bit pref] | |
Thu Apr 4 07:08:34 2024 kern.info kernel: [ 2.132842] pci_bus 0000:02: resource 4 [m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[B.A.T.M.A.N. adv 2022.0-openwrt-9, MainIF/MAC: primary0/ae:25:e4:c2:1f:b3 (bat0/00:0c:29:8d:36:bb BATMAN_V)] | |
Router ( throughput) Next Hop [outgoingIf] Bandwidth | |
f2:00:27:10:00:00 ( 19.6) 66:40:88:9a:11:a8 [ mesh-vpn]: 1000.0/200.0 MBit | |
f2:00:25:10:00:00 ( 19.6) 66:40:88:9a:11:a8 [ mesh-vpn]: 1000.0/200.0 MBit | |
f2:00:26:10:00:00 ( 19.6) 66:40:88:9a:11:a8 [ mesh-vpn]: 1000.0/200.0 MBit | |
* f2:00:28:10:00:00 ( 999.9) 66:40:88:9a:11:a8 [ mesh-vpn]: 1000.0/200.0 MBit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wed Mar 27 18:08:39 2024 user.notice checkuplink: Reconnecting ... | |
Wed Mar 27 18:08:42 2024 user.info checkuplink: Loadbalancing enabled. | |
Wed Mar 27 18:08:42 2024 user.info checkuplink: Contacting wgkex broker https://broker.ffmuc.net/api/v2/wg/key/exchange | |
Wed Mar 27 18:08:42 2024 user.info checkuplink: Got data from wgkex broker: {"Endpoint":{"Address":"gw04.ext.ffmuc.net","AllowedIPs":["fe80::27c:16ff:fec0:6c74"],"Port":"40011","PublicKey":"TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g="}} | |
Wed Mar 27 18:08:42 2024 user.debug checkuplink: Successfully parsed wgkex broker data | |
Wed Mar 27 18:08:42 2024 user.info checkuplink: Connecting to gw04.ext.ffmuc.net([2001:678:e68:ff00::3]:40011) | |
Wed Mar 27 18:08:52 2024 daemon.err micrond[3729]: ip6tables: Bad rule (does a matching rule exist in that chain?). | |
Wed Mar 27 18:08:52 2024 daemon.notice netifd: Interface 'mesh_vpn' is enabled | |
Wed Mar 27 18:08:52 2024 daemon.notice netifd: Network device 'mesh-vpn' link is up | |
Wed Mar 27 18:08:52 2024 daemon.notice netifd: Inte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
lua parse-wgkex-response.lua '{"Message":"OK"}' | |
-- | |
no error Message/Output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Liste der Domains und ihrer möglichen Werte | |
$domains = @( | |
"ffmuc_muc_cty", | |
"ffmuc_muc_nord", | |
"ffmuc_muc_ost", | |
"ffmuc_muc_sued", | |
"ffmuc_muc_west", | |
"ffmuc_welt", | |
"ffwert_city" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tue Mar 26 21:44:16 2024 user.notice checkuplink: Reconnecting ... | |
Tue Mar 26 21:44:17 2024 user.info checkuplink: Loadbalancing enabled. | |
Tue Mar 26 21:44:17 2024 user.info checkuplink: Contacting wgkex broker https://broker.ffmuc.net/api/v3/wg/key/exchange | |
Tue Mar 26 21:44:17 2024 user.err checkuplink: Contacting wgkex broker failed, response: | |
Tue Mar 26 21:44:17 2024 daemon.err micrond[3452]: lua: .../gluon-mesh-wireguard-vxlan/parse-wgkex-response.lua:3: Malformed JSON responsen, no data provided | |
Tue Mar 26 21:44:17 2024 daemon.err micrond[3452]: stack traceback: | |
Tue Mar 26 21:44:17 2024 daemon.err micrond[3452]: [C]: in function 'error' | |
Tue Mar 26 21:44:17 2024 daemon.err micrond[3452]: .../gluon-mesh-wireguard-vxlan/parse-wgkex-response.lua:3: in main chunk | |
Tue Mar 26 21:44:17 2024 daemon.err micrond[3452]: [C]: ? | |
Tue Mar 26 21:44:17 2024 user.err checkuplink: Parsing wgkex broker data failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/busybox sh | |
# fail fast and abort early | |
set -eu | |
# set -o pipefail # TODO: pipefail needs more rework in the script | |
if { set -C; true 2>/dev/null >/var/lock/checkuplink.lock; }; then | |
trap "rm -f /var/lock/checkuplink.lock" EXIT | |
else | |
echo "Lock file exists... exiting" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/busybox sh | |
# fail fast and abort early | |
set -eu | |
# set -o pipefail # TODO: pipefail needs more rework in the script | |
if { set -C; true 2>/dev/null >/var/lock/checkuplink.lock; }; then | |
trap "rm -f /var/lock/checkuplink.lock" EXIT | |
else | |
echo "Lock file exists... exiting" |
NewerOlder