An example of automating what Richard said:

My system name is 'syrup' and my local SSID is 'Ranch'. I
have a plain file, $home/lib/wpa/Ranch, which has the WPA
password in it. Then in /cfg/syrup/termrc, I have this:

bind -a '#l1' /net
echo 'key proto=wpapsk essid=Ranch !password='^`{cat $home/lib/wpa/Ranch} > 
/mnt/factotum/ctl
aux/wpa -p2s Ranch /net/ether1
ip/ipconfig -g 10.1.20.1 ether /net/ether1 add 10.1.20.120 255.255.255.0

If you want to do DHCP instead, replace that last line with
"ip/ipconfig ether /net/ether1" like Richard had.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T3464a8c7bad3062a-M71cc133debb25bd65c2dc63a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to