Developing lightweight computation at the DSG edge

Commit 4b717985 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Add hook for NanoStation M5 XW

parent 29faf979
\ No newline at end of file
# Stage = [birth|firstboot|anyboot|preconf|postconf]
[ "$STAGE" == "birth" ] && {
echo "Configuring Ethernet switched Main and Secondary ports for NSM5-XW"
uci set qmp.interfaces.mesh_devices="wlan0"
uci set qmp.interfaces.lan_devices="eth0.1"
uci set qmp.interfaces.wan_devices="eth0.2"
uci set qmp.networks.disable_mesh_dhcp="0"
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 commit qmp
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