- 19 Sep, 2021 1 commit
-
-
Roger Pueyo Centelles authored
Fixes #490 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 01 May, 2021 3 commits
-
-
Roger Pueyo Centelles authored
This modifies the qmp_configure_smart_network() function so that it can handle wired devices with a managed switch using the new DSA driver properly. Fixes #482. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
In some corner cases, function qmp_get_dec_node_id() would throw an error when asking for the MAC address of a missing interface, and then printing the LSBs in decimal number. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 08 Dec, 2020 3 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 07 Dec, 2020 2 commits
-
-
Roger Pueyo Centelles authored
Look for wireless devices in /proc/net/wireless (legacy code), then under /sys/class/net (sometimes slow to provide info), via ubus (fix #481) and also get the configured devices in /etc/config/wireless. This should finally make rescue IPv4 addresses stop appearing in br-lan. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Some devices (e.g., ath79 MikroTik) have their MAC addresses configured via /etc/config/network in "Xan_ethN_dev" device sections (e.g., lan_eth0_dev"). When removing old network settings, to not remove MAC address settings. Fixes #485. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 07 Jul, 2020 4 commits
-
-
Roger Pueyo Centelles authored
Continues 7c75474e, cb7fd04423ce05fa64b96efb6667421b33bf100c, 6c5212f1 and b45499e1 . Fixes #481. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Continues 7c75474e, cb7fd04423ce05fa64b96efb6667421b33bf100c, 6c5212f1 and b45499e1 . Fixes #481. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Still with #481, for some devices, qmp_get_wifi_devices() reports less devices than actually present. Add an additional source of devices and some verbosity. Continues cb7fd04423ce05fa64b96efb6667421b33bf100c, 6c5212f1 and b45499e1 . Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Continues 6c5212f1 and b45499e1 . Still some devices that take extremely long to initialize the wifi seem to put mesh wlan0 in the lan bridge. Add some verbosity and an additional check. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 06 Jul, 2020 2 commits
-
-
Roger Pueyo Centelles authored
Continues b45499e1 . Still, for some devices, wlan0 is not considered to be a wifi device. Add an additional check for that. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
On first boot, routers with a single 2.4 GHz radio had it auto- configured as 80211s_aplan, with interface wlan0 as 80211s and wlan0ap as AP. However, the wlan0 interface was wrongly considered as being inside the virtual interface (viface) "lan" instead of "mesh_w0". This was a corner case in the qmp_get_virtual_iface() function, which ultimately made rescue_ip 169.254.x.y to be incorrectly assigned to "br-lan" instead of "mesh_w0". Fixes #481. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 05 May, 2020 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 04 May, 2020 8 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Filter wireless devices ending in "a" (for compat. adhoc+802.11s mode) and also those ending in "ap" (for mesh+ap or adhoc+ap) to avoid getting wlan0-wlan0ap turning into wlan0ap-wlan0apap. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
It has been restarted immediately before. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 30 Apr, 2020 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 29 Apr, 2020 1 commit
-
-
Roger Pueyo Centelles authored
LuCI recently implemented ACL for RPCD. This commit allows qMp LuCI pages to have full access to configuration files in /etc/config. It is meant to be a quick fix for #480, hoping for a proper solution to be implemented. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 21 Feb, 2020 2 commits
-
-
Roger Pueyo Centelles authored
Now the CN mesh name can be prepended ad lib to the hostname. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
The device_id field is now properly managed for both public and natted, and appended ad lib. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 20 Feb, 2020 2 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Closes #461 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 14 Nov, 2019 2 commits
-
-
Roger Pueyo Centelles authored
Since devices started to have switched Ethernet devices (namely, eth0.1 and eth0.2), using VLANs for the routing protocols (i.e., VLAN12 for BMX6) became a challenge. The 802.1ad (QinQ) VLANs solution was cool, but the MTU had to be changed to fit the extra 4 bytes, and it never quite worked well. Therefore, it seems better to not use VLAN for the routing protocol by default. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 20 Oct, 2019 1 commit
-
-
Roger Pueyo Centelles authored
This commit allows setting a common network key for 802.11s mesh networks, using the wpad-mesh-openssl packages, as it is being done elsewhere (e.g., Freifunk). By default, the network is kept open. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 29 Sep, 2019 1 commit
-
-
Roger Pueyo Centelles authored
Certain combinations of wireless drivers (e.g., ath10k, mt7615) and wireless modes (e.g., adhoc, 80211s) end up with the radio interfaces not being risen up and not appearing in /sys/class/net/. Therefore, they are never detected as wireless interfaces and, upon reconfiguration, they are treated as wired ones, leading to wrong settings in /etc/config/network. To avoid this behaviour, wireless interfaces are now tested for *not* being "non-wireless. Fixes #473 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 18 Sep, 2019 2 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Some corner cases (e.g., devices with eth2) were not completely correct. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 17 Sep, 2019 3 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Previously, eth0/eth0.1 was used as LAN by default, then any other interface as WAN. For those devices not matching this a specific hook was needed. By using /etc/board.json information, now the LAN/WAN roles are assigned the same way as OpenWrt does it, so no hooks are needed to avoid roles swap. Fixes #214. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
The qmp_get_openwrt_default_network() function fetches the /etc/board.json file to obtain the default interfaces for the lan and wan network roles. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 16 May, 2019 1 commit
-
-
Roger Pueyo Centelles authored
New gateways can be added now, by using the section type "new_offer_gateway" or "new_search_gateway", which are converted to regular "gateway" sections on submitting the form. Fixes #295. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-