Developing lightweight computation at the DSG edge

Commit bcff6842 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Add support for Xiaomi MiWiFi Mini

parent 8526aa5d
# Stage = [birth|firstboot|anyboot|preconf|postconf]
[ "$STAGE" == "birth" ] && {
echo "Configuring network for Xiaomi MiWiFi Mini"
uci set qmp.interfaces.lan_devices="eth0.1"
uci set qmp.interfaces.wan_devices="eth0.2"
uci set qmp.interfaces.ignore_devices="eth0"
uci add qmp wireless
uci set qmp.@wireless[0]=wireless
uci set qmp.@wireless[0].mode=adhoc
uci set qmp.@wireless[0].device=wlan0
uci add qmp wireless
uci set qmp.@wireless[1]=wireless
uci set qmp.@wireless[1].mode=80211s_aplan
uci set qmp.@wireless[1].device=wlan1
uci commit qmp
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment