Developing lightweight computation at the DSG edge

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

Add support for Nexx WT3020 devices

parent e7cc76de
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"
[ "$STAGE" == "birth" ] && {
echo "Configuring network and wifi for D-Link DIR-810L"
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
}
../scripts/dir-810l.sh
\ No newline at end of file
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"
[ "$STAGE" == "birth" ] && {
echo "Configuring network and wifi for D-Link DIR-810L"
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
}
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"
[ "$STAGE" == "birth" ] && {
echo "Configuring network and wifi for Nexx WT3020"
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
}
../scripts/wt3020.sh
\ 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