From 4f716c2f228f5ad04ca0010015756e091afeba5d Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 5 Jan 2023 16:31:26 -0600 Subject: Add "ip link set dev wifi1 down" for ifdown on rsi-91x WiFi driver --- recipes-core/multitech/config/network/interfaces | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipes-core/multitech/config/network/interfaces b/recipes-core/multitech/config/network/interfaces index 67c934b..a17a43a 100644 --- a/recipes-core/multitech/config/network/interfaces +++ b/recipes-core/multitech/config/network/interfaces @@ -62,12 +62,22 @@ netmask 255.255.255.0 # # See https://busybox.net/downloads/BusyBox.html for more information. # +# Currently rsi-91x driver requires pre-down to remove the wifi0 link # auto wifi0 # iface wifi0 inet dhcp # wpa-conf /etc/wpa_supplicant.conf # wpa-driver nl80211 # pre-up bash -c '([[ -d /sys/class/net/wifi0 ]] || /opt/rs9113/onebox_util rpine0 create_vap wifi0 sta sw_bmiss)' # udhcpc_opts -t 10 -b +# pre-down ip link set dev wifi0 down + +# wifi1 example for hostapd +# Currently rsi-91x driver requires pre-down to remove the wifi1 link +# auto wifi1 +# iface wifi1 inet static +# address 10.0.0.1 +# netmask 255.0.0.0 +# pre-down ip link set dev wifi1 down # The pan0 interface purpose is to support bluetooth pand # If access to another network is required, the ip forwarding -- cgit v1.2.3