Commit Graph

4487 Commits

Author SHA1 Message Date
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
b8fb5f1766 fixup build 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
2857f19351 fixup! luacheck add element global 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
a651971edb misc: add Warning global to .luacheckrc 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
Tom Herbers
b85135467b
ramips-mt76x8: add support for Xiaomi Mi Router 4A (100M International Edition) (#2593) 2022-08-11 02:06:42 +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
David Bauer
03bfa36808
Merge pull request #2605 from herbetom/master-updates
modules: update to latest HEAD
2022-08-10 17:03:32 +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
Tom Herbers
69e8b98ca1
modules: update packages
5343d6a09 yq: Update to 4.27.2
0fd2eb51a python-paho-mqtt: add missing dependency
cd36b6eb8 sslh: update to v1.22c Change notes: 	Updated Makefile package version and hash. 	Added libpcre2 dependency 	Removed USELIBPCRE make flag (no longer optional within sslh) 	Updated patch 001 to work with new sslh Makefile
1eb707605 luajit: patch: PPC/e500 SPE: use soft float instead of failing
b169fd026 libgpg-error: update to 1.45
8694f7f95 squashfs-tools: enable zstd compression by default
5c987e57d cryptsetup: fix library paths by calling autoreconf
79d1abd4c ffmpeg: update to 5.1
cec18eb0d chrony: Avoid building unused gnutls and ca dependencies
7727beb71 gensio: Avoid building unused python and libstdcpp dependecies
51ccd0761 gnutls: Avoid building unused gnutls dependency
bf519e9bc fail2ban: fix patch for python 3.10
3c5270c9d django: bump to version 4.0.6
8fdc92b86 rclone: update to 1.59.0
77afaaa47 nano: update to 6.4
2022-08-09 21:31:38 +02:00
Tom Herbers
af7c6b9b7c
modules: update openwrt
ca58b8b4fe ramips: Add Xiaomi Mi Router 4A 100M International
707ec48ab3 zlib: backport null dereference fix
5e0173de51 zlib: bump PKG_RELEASE after CVE fix
7561eab8e8 zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)
1f9d603141 odhcpd: update to git HEAD
39ac29a68a uboot-mvebu: update to v2022.07
ec8b5cf0e6 realtek: Fix typo in Kconfig prompt
247ef07540 ramips: support fw_printenv for Netgear WAX202
62fff4e1e6 umdns: add missing syscall to seccomp filter
ecf0dc7055 ramips: Add support command fw_setsys for Xiaomi routers
bd9bb13012 ltq-vdsl-app: Fix counter overflow resulting in negative values
bd74c11155 kernel: silence refresh warning
dcb782792b x86: add missing Lex 3I380NX network detection
c2c32bdc80 lantiq: fix lan port 3+4 phy-mode settings for Fritzbox 3390
456d05d6d8 ipq40xx: fix RUTX10 Wi-Fi woes
daa73dc681 libmnl: fix build when bash is not located at /bin/bash
596efe1356 OpenWrt v22.03.0-rc6: revert to branch defaults
f1ff3fd95c OpenWrt v22.03.0-rc6: adjust config defaults
042d558536 mac80211: Update to version 5.15.58-1
c9cc3189ed wolfssl: fix math library build
535f4a5bff odhcp6c: update to latest git HEAD
5a7bcd6977 firewall3: update file hash
c5f0eab222 uboot-at91: fix build on buildbots
972b833e91 uboot-at91: update to linux4sam-2022.04
39810995fb at91bootstrap: update at91bootstrap v4 targets to v4.0.3
2022-08-09 21:31:36 +02:00