Thanks. Each of proposed variants works.
there is a question of such a plan: if there is a usb wifi adapter, how can
it be run in plan 9?

ср, 11 авг. 2021 г., 8:14 <a...@9srv.net>:

> 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-M16b8281e4dbdf2118fe749a1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to