2.6 CD Installation - New system setup

Once the new DragonFly system is booting from disk, there are a number of steps that may be useful before working further. The file /etc/rc.conf controls a number of options for booting the system.

2.6.1 Setting up rc.conf

Depending on location, a different keyboard map may be needed. This is only necessary for computers outside of North America.

          # kbdmap

Pick the appropriate keyboard map and remember the name. Place this name in /etc/rc.conf. For example:


The file /etc/rc.conf matches the one on the Live CD. Since it is now on an installed system are no longer running in a read-only environment, some changes should be made. Changes to this file will take effect after the next boot of the machine.

These lines can be removed.


For a system which uses USB, this line will need to be modified to a value of "YES":


inetd controls various small servers like telnet or ftp. By default, all servers are off, and must be individually uncommented in /etc/inetd.conf to start them. This is optional.

inetd_enable="YES"              # Run the network daemon dispatcher (YES/NO).
inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one.
inetd_flags="-wW"               # Optional flags to inetd

2.6.2 Network Setup

For acquiring an IP address through DHCP, place this entry in /etc/rc.conf, using the appropriate card name. (ep0 is used as an example here.)


For a fixed IP, /etc/rc.conf requires a few more lines of data. (Again, ep0 is used as an example here.) Supply the correct local values for IP, netmask, and default router. The hostname should reflect what is entered in DNS for this computer.

          ifconfig_ep0="inet 123.234.345.456 netmask"

Contact the Documentation mailing list for comments, suggestions and questions about this document.