- 06 Jul, 2020 1 commit
-
-
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>
-
- 04 May, 2020 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 14 Nov, 2019 1 commit
-
-
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>
-
- 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 2 commits
-
-
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>
-
- 03 Oct, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Commit commit:630bd7a8 fixed #464 but introduced a new bug in devices with a switched Ethernet interface, where the VLAN interfaces would not come up on time after restarting the network during the autoconfiguration process. Just reloading the network instantly applies the changes for wired interfaces, but restarting it is needed to ensure wifi interfaces work correctly. Restarting *and* then reloading ensures the network is up and running before continuing the autoconfiguration process, therefore no devices missdetection should occur. Fixes #466 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 25 Sep, 2018 1 commit
-
-
Roger Pueyo Centelles authored
In some corner cases, after changing the wireless settings, the physical [radio] interfaces come up but the logical ones holding them don't. By restarting the network, instead of reloading it, they appear to do. It's inconvenient, because it breaks connections for a while, but it's safer as the configuration is surely applied. Fixes #464 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 16 Sep, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Closes #391 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 16 Jul, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Fixes #452 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 10 May, 2018 1 commit
-
-
Roger Pueyo Centelles authored
This commit sets the "Ad hoc (mesh)" wireless mode as "Ad hoc (legacy mesh)" on the web GUI. It also introduces a backwards-compatible mode, the "802.11s (mesh) + Ad hoc (legacy mesh)", on the web GUI and adds code to the configuration scripts to handle it properly. This whole thing will ease the transition from current Ad hoc mesh networks towards 802.11s mesh networks (e.g. Guifi.net networks in Barcelona like Sants-Les Corts-UPC). Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 22 Mar, 2017 1 commit
-
-
Roger Pueyo Centelles authored
[qmp-system] 802.1ad VLANs for the routing protocol are created on top of the physical interface (II) Fix VLANs for wireless interfaces, which were broken by previous commit.
-
- 13 Mar, 2017 1 commit
-
-
Roger Pueyo Centelles authored
Previously, when an interface (i.e. eth0) was configured as "lan" and "mesh", it was added to the LAN bridge and, on top of the virtual "br-lan" interface, the VLAN for the routing protocol was created (i.e. lan_12). This was wrong in some cases, for example, when another interface was in the bridge but not meant to be meshing. Now the VLANs are created on the interfaces actually configured as "mesh".
-
- 07 Feb, 2017 1 commit
-
-
Roger Pueyo Centelles authored
· Drop community_id and community_node_id and replace it with community_name, mesh_name, device_name and mesh_id when appropriate · Revamp qMp easy setup · Rename node to device to avoid confusions (node == physical/geographical location, device == router)
-
- 15 Nov, 2016 1 commit
-
-
Roger Pueyo Centelles authored
[qmp-system] RouterStation Pro is treated as any other device (no target-specific hook in the middle of the code)
-
- 25 Apr, 2016 1 commit
-
-
Roger Pueyo Centelles authored
-
- 09 Mar, 2016 1 commit
-
-
Roger Pueyo Centelles authored
-
- 17 Oct, 2015 1 commit
-
-
Roger Pueyo Centelles authored
[qmp-system] [QinQ] Use 802.1ad VLANs on wired interfaces to enable compatibility with switched Ethernet ports already using 802.1q This breaks backwards compatibility with devices using previous qMp versions connected via cable.
-
- 04 Aug, 2015 2 commits
-
-
Roger Pueyo Centelles authored
created on and use the $viface identifier instead of the interface name itself.
-
Roger Pueyo Centelles authored
This commit fixes issue #377, regarding the ways VLANs are specified in /etc/config/network. The previous method (with @wlan0-like stuff) was never meant to work, although it just happened to work. Recent OpenWrt changes have deprecated that *unsupported* way to declare VLANs. Backporting the work in branch QinQ and adding a couple of changes (e.g. linklayer details for BMX6) fixes the problem.
-
- 20 Jul, 2015 1 commit
-
-
Roger Pueyo Centelles authored
-
- 27 Nov, 2014 3 commits
-
-
Roger Pueyo Centelles authored
-
Roger Pueyo Centelles authored
Add "Client (WAN)" mode" to wireless mode. Modify qmp_wireless.sh to add changes on wireless interfaces to qmp config file
-
Roger Pueyo Centelles authored
-
- 02 Oct, 2014 2 commits
-
-
Roger Pueyo Centelles authored
Use rescue virtual interface for VLAN tagging in WAN+MESH mode to have the interface despite not having DHCP lease
-
Roger Pueyo Centelles authored
Use rescue virtual interface for VLAN tagging in WAN+MESH mode to have the interface despite not having DHCP lease
-
- 15 Jul, 2014 1 commit
-
-
Pau Escrich authored
Move wireless functions of qmp_autoconf into qmp_functions.sh (firstboot hooks must be executed before configuring wifi)
-
- 04 Jul, 2014 1 commit
-
-
Pau Escrich authored
Remove all license references for individual files and add a single file COPYING and AUTHORS
-
- 21 Apr, 2014 2 commits
-
-
Simó Albert i Beltran authored
sed -i -e "s/\s*$//g" packages/qmp-system/files/etc/qmp/*.sh
-
Simó Albert i Beltran authored
-
- 13 Mar, 2014 1 commit
-
-
Pau Escrich authored
Make it compatible with OpenWRT BB
-
- 19 Feb, 2014 1 commit
-
-
Pau Escrich authored
-
- 26 Sep, 2013 1 commit
-
-
p4u authored
The VPN, Captive Portal, Maps, etc. Can be controled from the web interface (configuration/services). Adds a new section in the qMp config file to specify which services should run and which ones not.
-
- 16 Sep, 2013 1 commit
-
-
p4u authored
Move some networking functions from qmp_functions.sh to qmp_network.sh Change VLAN options approach: vid_offset is removed and protocol_vids specify the full VLAN tag (bmx6:2 -> bmx6:12). In case VLAN is not specified, tagging is not used. Adapt the default configuration file to the new syntax Add uci-default scripts to adapt the qmp config file to this new approach Minor changes in the code
-
- 10 Sep, 2013 1 commit
-
-
p4u authored
-
- 27 Aug, 2013 1 commit
-
-
p4u authored
Add function to create/remove TCP clamp MSS rule. It is executed when a network device is configured as WAN.
-
- 26 Aug, 2013 2 commits
-
-
p4u authored
ULA/LAN autogenerated address now uses the crc16 hash Fix issue with gateways offer (translation was not done properly)
-
p4u authored
before: last 8bit from MAC address now: crc16 from entire MAC address In case community mode (qmp.node.roaming=0) if the LAN address does not exist qMp autoconfiguration system generates an IP from this crc16 hash. It reduces the IP colision and hostname probability.
-