|
|
EOF
WLDEV=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
if [ "$REQUEST_METHOD" = "POST" ]; then
read QUERY_STRING
fi
if [ -n "$QUERY_STRING" ]; then
eval $(echo "$QUERY_STRING"|awk -F'&' '{for(i=1;i<=NF;i++){print $i}}')
fi
if [ -n "$post_olsr" ]; then
cat<Estado:
OLSR
EOF
elif [ -n "$post_route" ]; then
cat<Estado:
Rutas
EOF
elif [ -n "$post_scan" ]; then
cat<Estado: Búsqueda WLAN
EOF
else
cat<Estado: Resumen
EOF
if [ "00:90:96:00:00:00" = "$(nvram get et0macaddr)" ] || [ "00:90:96:00:00:02" = "$(nvram get il0macaddr)" ]; then
cat<
===Warning:
This SE505 device does not have the correct MAC address. Read the MAC
address from the bottom of the device and correct manually on the command
line shell, e.g. with nvram set et0macaddr=xx:xx:xx:xx:xx:xx ,
nvram set il0macaddr=xx:xx:xx:xx:xx:[xx+1] ,
nvram commit and reboot ===
EOF
fi
fi
cat<
|
|