diff options
author | John Klug <john.klug@multitech.com> | 2017-03-16 15:40:50 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-03-16 15:40:50 -0500 |
commit | 15b3c0dcb160e1aa41223be97bb881628e78c978 (patch) | |
tree | 44edb6be30fe6afc522a5f67c8bb3231e3173896 /recipes-core | |
parent | e73ac5241933e8e25926186d9b4152dcb0ee3b3c (diff) | |
download | meta-mlinux-15b3c0dcb160e1aa41223be97bb881628e78c978.tar.gz meta-mlinux-15b3c0dcb160e1aa41223be97bb881628e78c978.tar.bz2 meta-mlinux-15b3c0dcb160e1aa41223be97bb881628e78c978.zip |
WiFi comments for Conduit refresh and udhcpc_opts parameter
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/multitech/config/network/interfaces | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/network/interfaces b/recipes-core/multitech/config/network/interfaces index 546fd29..c56962a 100644 --- a/recipes-core/multitech/config/network/interfaces +++ b/recipes-core/multitech/config/network/interfaces @@ -20,10 +20,44 @@ netmask 255.255.255.0 # netmask 255.255.255.0 # Wifi client +# +# For MTR WiFi only: # NOTE: udev rules will bring up wlan0 automatically if a wifi device is detected # and the wlan0 interface is defined, therefore an "auto wlan0" line is not needed. # If "auto wlan0" is also specified, startup conflicts may result. #iface wlan0 inet dhcp #wpa-conf /var/config/wpa_supplicant.conf #wpa-driver nl80211 - +# +# For Conduit WiFi: +# You must configure wpa_supplicant.conf as appropriate for your WiFi access point +# and its security. The "pre-up" section is needed to create the VAP device, +# wifi0. udhcpc_opts should be used to prevent DHCP from giving up too soon. The +# default timeout is less than 10 seconds, and in some circumstances is not enough +# time for wifi to connect. The udhcpc options specified below are in addition to +# those preconfigured in the ifup program. The option "-t" specifies the number +# of DHCP retries. By default each trial is 3 seconds long. As specified here, +# udhcpc will try for thirty seconds. The option "-b" specifies that if the +# attempts are made and all fail, the boot will proceed, and the udhcpc program +# will continue to periodically attempt to reach the DHCP server. Without the -b +# option, udhcpc will fail and abort if the server is not reached within the +# specified timeout. The boot will continue after the timeout, but the network +# will never be connected without some other intervention. +# +# Specifying "-t 0" results in udhcpc not running in the background, regardless +# of the presence of "-b". This causes udhcpc to enter a loop trying to reach +# the DHCP server, and only relinquising control to the boot (or ifup) if the +# server responds. +# +# The udhcpc_opts parameter will result in the following invocation +# of udhcpc from ifup: +# udhcpc -R -n -p /var/run/udhcpc.wlan0.pid -i wlan0 -t 10 -b +# +# See https://busybox.net/downloads/BusyBox.html for more information. +# +#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 |