Developing lightweight computation at the DSG edge

Commit 3447ef3e authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Add support for D-Link DIR-810L

parent 60c582b8
../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
}
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