ref: 90483ea4245e8085728f1fb953019fcb30e9f53b
dir: /util/wifi/
#!/bin/rc
rfork e
fn Ask{
echo -n $1
essid=`{dd -bs 64 -count 1 >[2]/dev/null}
}
if(test -e /net/ether1)
echo "/net/ether1 exists"
if not
bind -a '#l1' /net
if(~ $#* 0){
echo "Wifis disponibles"
grep node '#'l1/ether1/ifstats
echo
Ask 'essid='
}
aux/wpa -s $essid -p /net/ether1
ip/ipconfig ether /net/ether1
cat /net/ndb