Maciej Krüger
4195b5a569
web-wifi-config: allow adjusting channel
2022-08-11 11:13:44 +02:00
Maciej Krüger
057bc2334c
core: fix channel adjustable
2022-08-11 11:13:44 +02:00
Maciej Krüger
38f12f7a01
static-ip: run migrations in right order
2022-08-11 11:13:44 +02:00
Maciej Krüger
5a54eb4dab
olsrd: dhcp-hack
2022-08-11 11:13:44 +02:00
Maciej Krüger
fc6c753d82
manman-sync: multiple remotes
2022-08-11 11:13:44 +02:00
Maciej Krüger
5b94764ca7
manman-sync: map eth to lan (eth -> mesh_lan)
2022-08-11 11:13:44 +02:00
Maciej Krüger
f0152a9cbb
manman-sync: prepare for signed responses
...
Co-Authored-By: Matthias Schiffer <mschiffer@universe-factory.net>
2022-08-11 11:13:44 +02:00
Maciej Krüger
5634c0cb9a
wifi-config: mark ibss as outdated
2022-08-11 11:13:44 +02:00
Maciej Krüger
ee65187d07
wifi-config: fix ibss option
2022-08-11 11:13:44 +02:00
Maciej Krüger
8c3ad7fc04
openvpn: config is now table instead of string
2022-08-11 11:13:44 +02:00
Maciej Krüger
117659d1c7
gluon-lib-ecdsa: fix some memory corruption issues
...
great, yay, krüger's first sophisticated C piece
I should really get someone to audit my mess
2022-08-11 11:13:44 +02:00
Maciej Krüger
4612ba45af
manman-sync: depend on lib-ecdsa
2022-08-11 11:13:44 +02:00
Maciej Krüger
7b4e0bb547
gluon-lib-ecdsa: make hashing it's own function
2022-08-11 11:13:44 +02:00
Maciej Krüger
6a8ec191a5
gluon-lib-ecdsa: init
2022-08-11 11:13:44 +02:00
Maciej Krüger
1ad2134aec
static-ip: don't del proto
2022-08-11 11:13:44 +02:00
Maciej Krüger
5208ecb081
static-ip: properly get if things are enabled
2022-08-11 11:13:44 +02:00
Maciej Krüger
2dc780f9d6
config-mode-theme-funkfeuer: add .gluon-warning class
2022-08-11 11:13:44 +02:00
Maciej Krüger
2ee2015e80
static/olsrd: add ibss support
2022-08-11 11:13:44 +02:00
Maciej Krüger
0867f38ca2
core: lax bssid check to allow format strings
2022-08-11 11:13:44 +02:00
Maciej Krüger
5cd7ea70cd
Revert "gluon-web-wifi-config: drop IBSS enable setting"
...
This reverts commit 2fdb3080ce
.
2022-08-11 11:13:44 +02:00
Maciej Krüger
f06c05e3a4
Revert "gluon-core: drop IBSS support"
...
This reverts commit 066158a27b
.
2022-08-11 11:13:44 +02:00
Maciej Krüger
7854d9b2dd
static-ip: use correct mesh vpn id
2022-08-11 11:13:44 +02:00
Maciej Krüger
c5ec42b5e8
static-ip: more resilent mac setting
2022-08-11 11:13:44 +02:00
Maciej Krüger
d6afc66859
manman-sync: run reconfigure aswell
2022-08-11 11:13:44 +02:00
Maciej Krüger
bf43cb50ff
manman-sync: fix setting cron
2022-08-11 11:13:44 +02:00
Maciej Krüger
f3673173b1
manman-sync: use error codes correctly
2022-08-11 11:13:44 +02:00
Maciej Krüger
4411acd89d
manman-sync: handle non-200 gracefully
2022-08-11 11:13:44 +02:00
Maciej Krüger
c8e86123b4
static-ip: make macs more random this time
2022-08-11 11:13:44 +02:00
Maciej Krüger
8b6abdbe6f
[downstream] lax dns check to allow v4
2022-08-11 11:13:44 +02:00
Maciej Krüger
28db34d0b1
manman-sync: fix dependencies
2022-08-11 11:13:44 +02:00
Maciej Krüger
e0ecf226d7
mesh-vpn-openvpn: fix
2022-08-11 11:13:44 +02:00
Maciej Krüger
5874659918
mesh-vpn-openvpn: enable for real
2022-08-11 11:13:44 +02:00
Maciej Krüger
a1f9015fbd
manman-sync finiush
2022-08-11 11:13:44 +02:00
Maciej Krüger
46f58256e9
manman-sync node_id -> location_id
2022-08-11 11:13:44 +02:00
Maciej Krüger
c5ccdf15f8
manman-sync fix statuspage
2022-08-11 11:13:44 +02:00
Maciej Krüger
436f3eaff5
manman-sync fix storing data
2022-08-11 11:13:43 +02:00
Maciej Krüger
503893fdf7
manman-sync fix datatype
2022-08-11 11:13:43 +02:00
Maciej Krüger
406276a23e
manman-sync fix
2022-08-11 11:13:43 +02:00
Maciej Krüger
a76ffcbf5e
static-ip fix storing values
2022-08-11 11:13:43 +02:00
Maciej Krüger
6424501645
static-ip make it work
2022-08-11 11:13:43 +02:00
Maciej Krüger
0810a08519
manman tweaks
2022-08-11 11:13:43 +02:00
Maciej Krüger
4dcf3e0212
mamman-sync: more wip
2022-08-11 11:13:43 +02:00
Maciej Krüger
751589417b
static-ip: init
2022-08-11 11:13:43 +02:00
Maciej Krüger
e63dc9b644
mesh-vpn: set correct device
2022-08-11 11:13:43 +02:00
Maciej Krüger
703a51b3b9
manman-sync init
2022-08-11 11:13:43 +02:00
Maciej Krüger
45ee680cd0
fix adhoc hack
2022-08-11 11:13:43 +02:00
Maciej Krüger
807a810049
mesh-openvpn: traffic shaping fixe
2022-08-11 11:13:43 +02:00
Maciej Krüger
6348376e3a
core: hacks for wifi no adhoc
2022-08-11 11:13:43 +02:00
Maciej Krüger
d259b0c8d4
fix mesh vpn
2022-08-11 11:13:43 +02:00
Maciej Krüger
48f247f946
fix mesh vpn config missing
2022-08-11 11:13:43 +02:00
Maciej Krüger
68f22154c2
gluon-mesh-vpn-openvpn: initial
2022-08-11 11:13:43 +02:00
Maciej Krüger
435eb64dc6
gluon-config-mode-theme-funkfeuer: theme things
2022-08-11 11:13:43 +02:00
Maciej Krüger
3eabe5eb52
refactor static-ip to match babel settings
2022-08-11 11:13:43 +02:00
Maciej Krüger
dec697a996
olsr stuffs
2022-08-11 11:13:43 +02:00
lemoer
b3eb380e6f
gluon-web-network: make mesh and client role exclusive
2022-08-11 11:13:43 +02:00
lemoer
cbe49cb9a4
gluon-core: allow subindexing sysconfig references for interface roles
...
This allows to specify something like "/lan[1]" as interface role:
root@platzhalter-525400123457:/# cat /lib/gluon/core/sysconfig/lan_ifname
eth0 eth2
root@platzhalter-525400123457:/# cat /etc/config/gluon
...
config interface 'iface_lan_1'
option name '/lan[1]' # this references eth2
list role 'client'
...
2022-08-11 11:13:43 +02:00
lemoer
c982e7e0ff
gluon-web-network: make roles "uplink" and "client" exclusive
2022-08-11 11:13:43 +02:00
lemoer
fee8384415
gluon-web-model: allow exclusive options in MultiListValue
2022-08-11 11:13:43 +02:00
lemoer
92feadfa23
gluon-web-network: add actions, list interfaces based on /etc/config/gluon
2022-08-11 11:13:43 +02:00
lemoer
bb669eefd5
gluon-web-network: initial draft of role configuration
2022-08-11 11:13:43 +02:00
lemoer
29167d9ea9
gluon-web-model: add MultiListValue class
2022-08-11 11:13:43 +02:00
Maciej Krüger
c22ae0449f
fixup! webmodel title
2022-08-11 11:13:43 +02:00
Maciej Krüger
857da4d402
fixup! privatewifi warning
2022-08-11 11:13:43 +02:00
Maciej Krüger
0bc06f8de0
fixup! webmodel element kv
2022-08-11 11:13:43 +02:00
Maciej Krüger
f1274a7242
fixup! webmodel warning support for title/description
2022-08-11 11:13:43 +02:00
Maciej Krüger
804ad14139
fixup! privatewifi warning depends on enabled
2022-08-11 11:13:43 +02:00
Maciej Krüger
dd0e968439
fixup! webmodel make warning an element
2022-08-11 11:13:43 +02:00
Maciej Krüger
826585bf46
fixup! webmodel add element type
2022-08-11 11:13:43 +02:00
Maciej Krüger
a12478e471
fixup! privatewifi typo
2022-08-11 11:13:43 +02:00
Maciej Krüger
810e94a647
fixup! privatewifi use template method
2022-08-11 11:13:43 +02:00
Maciej Krüger
dcb8efd90f
fixup! model template method
2022-08-11 11:13:43 +02:00
Maciej Krüger
ea410df1e9
fixup! model show warning only if content
2022-08-11 11:13:43 +02:00
Maciej Krüger
6ace824580
web-private-wifi: add warning about mesh on wan
2022-08-11 11:13:43 +02:00
Maciej Krüger
1d4ee602c8
gluon-config-mode-theme: add Warning
2022-08-11 11:13:43 +02:00
Maciej Krüger
099febb41f
gluon-web-model: add Warning
2022-08-11 11:13:43 +02:00
Maciej Krüger
6285e3de0c
olsr fix neigh
2022-08-11 11:13:43 +02:00
Maciej Krüger
c8dff2838d
olsr cli neigh
2022-08-11 11:13:43 +02:00
Maciej Krüger
33b6189aaa
olsr2 remove log
2022-08-11 11:13:43 +02:00
Maciej Krüger
087a6afacf
rest
2022-08-11 11:13:43 +02:00
Maciej Krüger
dbf6214dd0
radvd
2022-08-11 11:13:43 +02:00
Maciej Krüger
cbeb3ea492
gluon-layer3-common: add ip6 from babel
2022-08-11 11:13:37 +02:00
Maciej Krüger
a07924a0f0
olsr use l3
2022-08-11 11:08:17 +02:00
Maciej Krüger
44129f02e5
olsr remove fw
2022-08-11 11:01:41 +02:00
Maciej Krüger
7891d54602
gluon-mesh-babel: fix merge conflict
2022-08-11 11:01:22 +02:00
Maciej Krüger
a554758192
gluon-layer3-common: add package
2022-08-11 10:59:46 +02:00
Maciej Krüger
d78d521a40
olsr2
2022-08-11 10:59:46 +02:00
David Bauer
50130c3832
gluon-core: increase ath10k peer limit ( #2607 )
...
Increase the peer limit for ath10k-ct from 32 to 96 STAs like it is set
for the non-ct firmware / driver. In order to make this work with the
memory constraints of the wireless platform, reduce the number of
concurrent vdevs to the maximum Gluon uses (4).
Closes #2604
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-08-10 17:05:51 +02:00
lemoer
70951318bc
gluon-respondd: fix missing section "wifi" for request type "neighbours" ( #2599 )
...
The below mentioned commit introduced a regression, that the "wifi"
section of the request type "neighbours" was empty:
~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
{
"wifi": [
],
...
}
After this commit, the section (correctly) looks like this:
root@UFU-FWH-A272-Tresckowstr-GemR-vorne:~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
{
"wifi": {
"ca:38:7e:42:5f:21": {
"neighbours": {
"fe:9f:4d:01:ea:e1": {
"noise": -102,
"inactive": 50,
"signal": -84
},
"fe:df:b9:84:37:51": {
"noise": -102,
"inactive": 20,
"signal": -73
}
}
}
},
...
}
The issue was due to the fact, that the iteration over the (mesh) wifi interfaces
was broken. The code was assuming, that the section
config interface 'mesh_radio0'
option proto 'gluon_mesh'
in /etc/config/network contains an option "ifname", which it does not.
The ifname property is only stored in the corresponding section in
/etc/config/wireless:
config wifi-iface 'mesh_radio0'
option ifname 'mesh0'
option network 'mesh_radio0'
option mode 'mesh'
...
Therefore, we now iterate over wifi-ifaces in /etc/config/wireless, that
have the mode 'mesh' instead. This resolves the issue.
Fixes 0f1fa243f7
2022-08-09 22:24:44 +02:00
lemoer
6df0647301
gluon-mesh-batman-adv: add "gateway_tq" field to respondd statistics ( #2596 )
...
This new field reflects the TQ to the selected gateway.
Before this commit, if you had connectivity issues in a larger mesh,
it was a tedious task to understand which nodes are affected and which
are not. By providing this new value for each node, it becomes easier
to see which nodes are affected by the connectivity issues and which
are not.
The new field "gateway_tq" is located at the toplevel of the
statistics resource (next to "gateway" and "gateway_nexthop"):
gluon-neighbour-info -d ::1 -r statistics
{
...
"gateway": "02:a1:71:04:09:10",
"gateway_nexthop": "88:e6:40:20:90:10",
"gateway_tq": 193,
...
}
2022-08-09 21:09:28 +02:00
David Bauer
5600b87014
Merge pull request #2553 from ffgraz/mmfd
...
Move common firewall rules to respective packages
2022-08-09 20:43:14 +02:00
Tom Herbers
75ceb0d963
web-admin: ignore minor compat-version on upgrade ( #2590 )
...
This implements the same behavior as it is used in the autoupdater [1].
This is for example required to allow the manual installation of
firmware upgrades via the config mode on devices which where migrated
from swconfig to DSA. Otherwise the image will always be invalid.
[1] b804281664
2022-08-09 20:16:33 +02:00
Matthias Schiffer
20eea9b9ca
gluon-mesh-vpn-fastd: fix respondd segfault under load ( #2594 )
...
When running "fastd -v" fails, line may be NULL, causing a segfault in
strncmp.
2022-08-09 20:09:31 +02:00
aiyion.prime
26b5764c74
gluon-setup-mode: add fallback led-boot as status
...
for devices in targets that do no implement `get_status_led` in /etc/diag.sh
and do not have an led-running in their dts
2022-07-10 23:22:11 +02:00
J. Burfeind
11905af169
ath79-generic: (re)add support for UniFi AC Mesh Pro ( #2462 )
...
Gone due to
commit 45c84a117b
("ar71xx: drop target")
2022-07-10 23:10:07 +02:00
Matthias Schiffer
e53e4440ae
gluon-core: always store primary MAC address in lowercase hex digits ( #2579 )
...
Depending on the source of the primary MAC address, uppercase digits
would be used on some devices. Convert the address to lowercase for
consistency.
We only change the case for newly configured nodes to avoid changing the
node ID and derives MAC addresses for existing installations.
2022-07-08 20:55:24 +02:00
David Bauer
a9fff111bd
treewide: rename ip6tables-legacy
...
The ip6tables-legacy metapackage was renamed to ip6ables-zz-legacy.
2022-07-07 19:06:14 +02:00
Maciej Krüger
242a2dccd5
gluon-mesh-layer3-common: add node_prefix6 to check_site
2022-07-07 13:54:08 +02:00
Maciej Krüger
c3af0aca96
gluon-mesh-layer3-common: add radvd from babel
2022-07-07 13:54:05 +02:00
Maciej Krüger
b5f36c7e00
gluon-mesh-layer3-common: add ip6 from babel
2022-07-07 13:52:25 +02:00
Maciej Krüger
b59eb548b5
gluon-mesh-babel: use layer3 common
2022-07-07 13:52:25 +02:00