Commit Graph

1665 Commits

Author SHA1 Message Date
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