Wi-Fi
Connect Manually
bind '#l1' /net aux/wpa -s network-name -p /net/ether1 ip/ipconfig ether /net/ether1
Wifiscan script
This script will display all Wi-Fi networks in the vacinity:
#! /bin/rc
#
# wifiscan - scan for Wifi networks
#
if(! test -f /net/ether1){
bind -a '#l1' /net
sleep 1
}
cat /net/ether1/ifstats
Connect to Wi-Fi
#! /bin/rc
#
# wifi - connect to wifi network
#
if(~ $#1 0){
echo usage: wifi ssid
exit usage
}
if(! test -f /net/ether1){
bind -a '#l1' /net
sleep 1
}
aux/wpa -s $1 -p /net/ether1
ip/ipconfig -r ether /net/ether1
netaudit
Also See:
/plan9/