Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 1.84 KB

postinst.md

File metadata and controls

68 lines (43 loc) · 1.84 KB

Useful things to do, right after a 9front installation

Disclaimer: do not follow all sections just because the title says that they are "useful". Only follow those which are useful to you.

Disable the boot prompts

9fs 9fat
acme /n/9fat/plan9.ini

and add

nobootprompt=<value>
user=<user>

where <value> is the root file system of choice and <user> is the default login user.

More info: plan9.ini(8).

Change the monitor size

9fs 9fat
acme /n/9fat/plan9.ini

and add or change

vgasize=<width>x<height>x<depth>

where <width>, <height>, and <depth> are the desired width, height, and depth.

Not all widths, heights, and depths are allowed. You can find all valid VESA modes here, along with other common modes.

More info: plan9.ini(8), vga(8).

Enable automatic DHCP client

Warning: automatic DHCP may have been set up during installation. If that is the case, you probably don't need to read this section.

acme /lib/ndb/local

and add ether=<addr> in a new tuple, where <addr> is the address (MAC address) of the ethernet interface for which you'd like to set up DHCP. You can get a list of available MAC addresses by using the following command.

cat /net/ether*/stats | grep 'addr:'

If that command does not show any output, I have bad news for you.

More info: ether(3), ndb(6), dhcpd(8)..

Change the machine's hostname

acme /lib/ndb/local

and add sys=<name> (<name> is the hostname) in the network in which you'd like that hostname to be used.

More info: ndb(6).