ipipconfig

This page has moved to ipconfig.

IPCONFIG

ipconfig(8) is used to configure networking.

STATIC NETWORKING

To configure static networking (a permanent IP address) for a cpu server, 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 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.


Last modified Tue Mar 3 03:26:21 PST 2026 [ Top | Edit | History | Changelog | Create a new page ] About the server | Powered by Plan 9