ipipconfig


Tue Mar 3 03:26:21 PST 2026, (104.167.242.140)

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.


Tue Mar 3 03:22:43 PST 2026, jrmu@inter9.org (104.167.242.140)
Add instructions for both static and wifi networking for 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.


Fri Feb 27 21:31:18 PST 2026, jrmu@inter9.org (104.167.242.140)
Fix formatting for ipconfig

IPCONFIG

ipconfig(8)

; mkdir /cfg/$sysname/
; dircp /cfg/example /cfg/$sysname/

Then, edit /cfg/$sysname/cpurc to uncomment this line:

# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask

Mon Feb 16 23:01:27 PST 2026, jrmu@inter9.org (104.167.242.140)
ip/ipconfig guide

term% mkdir /cfg/$sysname/ term% dircp /cfg/example /cfg/$sysname/

Then, edit /cfg/$sysname/cpurc to uncomment this line:

# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask



Last modified Mon Feb 16 23:01:27 PST 2026 [ Current version | History | Create a new page ] About the server | Powered by Plan 9