-
-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
After removing list modes 'ieee80211s' in config lime-wifi-band '2ghz' section in lime-node, when I run lime-config, wlan1-mesh (2 GHz) is still being configured.
root@kh-ab3657:~# lime-config
Mac-config: lime-0cea14ab3657
Clearing wireless config...
Clearing network config...
Disabling odhcpd
Cleaning dnsmasq
Disabling 6relayd...
network.scandevices found device eth0 in board.json
network.scandevices.owrt_ifname_parser found ifname wlan0-mesh
network.scandevices.dev_parser found WiFi device wlan0-mesh
network.scandevices.owrt_ifname_parser found ifname wlan1-apname
network.scandevices.dev_parser found WiFi device wlan1-apname
network.scandevices.dev_parser found plain Ethernet device eth0
network.scandevices.dev_parser found WiFi device wlan0-ap
network.scandevices.dev_parser found WiFi device wlan0-mesh
network.scandevices.dev_parser found WiFi device wlan1-ap
network.scandevices.dev_parser found WiFi device wlan1-mesh
Configuring system...
Let uhttpd listen on IPv4/IPv6
Applying generic configs:
uhttpd_https
Error on generic config uci_set: uhttpd.main.redirect_https=0
Done applying generic configs.
Copying assets:
Done copying assets.
Running assets on ATCONFIG :
Done running assets.
This is because it was still present in /sys/class/net. I believe these lines could safely be removed:
lime-packages/packages/lime-system/files/usr/lib/lua/lime/network.lua
Lines 271 to 273 in 23acdb5
| elseif dev:match("^wlan%d+"..wireless.WIFI_MODE_SEPARATOR().."%w+$") then | |
| utils.log( "network.scandevices.dev_parser found WiFi device %s", | |
| dev ) |
The correct wifi interfaces are still found by these lines:
lime-packages/packages/lime-system/files/usr/lib/lua/lime/network.lua
Lines 337 to 339 in 23acdb5
| --! Scrape from uci wireless | |
| local uci = config.get_uci_cursor() | |
| uci:foreach("wireless", "wifi-iface", owrt_ifname_parser) |
Metadata
Metadata
Assignees
Labels
No labels