For information on editing, see the description of Plan 9 wiki syntax.
IPCONFIG ipconfig(8) is used to configure networking. STATIC NETWORKING To configure static networking (a permanent IP address) for a [cpu server | cpu], add this line to /cfg/$sysname/cpurc: ! ip/ipconfig -g $gateway ether /net/ether0 $address $mask Replace $gateway with your default gateway, $address with your static IP address, and $mask with your subnet mask. WIFI NETWORKING For wifi networking with DHCP, add these lines to either /cfg/$sysname/cpurc for [cpu server | cpu] or /cfg/$sysname/termrc for a [terminal]: ! bind -a '#l1' /net ! echo 'key proto=wpapsk essid=$essid !password='^`{cat /lib/wpa/$essid} > /mnt/factotum/ctl ! aux/wpa -2 -s '$essid' /net/ether1 ! ip/ipconfig ether /net/ether1 Replace $essid with your wifi ESSID and store the wifi password in /lib/wpa/$essid.