diff options
author | John Klug <john.klug@multitech.com> | 2023-01-05 16:31:26 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-06 09:06:51 -0600 |
commit | 4f716c2f228f5ad04ca0010015756e091afeba5d (patch) | |
tree | c719e33924719c72dbf67729173efe51eb9a5dcd | |
parent | accf4ed098a368ca810fffa9484b01a8c5a05361 (diff) | |
download | meta-mlinux-4f716c2f228f5ad04ca0010015756e091afeba5d.tar.gz meta-mlinux-4f716c2f228f5ad04ca0010015756e091afeba5d.tar.bz2 meta-mlinux-4f716c2f228f5ad04ca0010015756e091afeba5d.zip |
Add "ip link set dev wifi1 down" for ifdown on rsi-91x WiFi driver
-rw-r--r-- | recipes-core/multitech/config/network/interfaces | 10 |
1 files changed, 10 insertions, 0 deletions
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 |