From ArchWiki
Revision as of 01:59, 5 February 2007 by Xabbott (talk | contribs) (categorized, cleaned up, linked to more info)
Jump to navigation Jump to search


# /etc/rc.conf - Main Configuration for Arch Linux

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Scan hardware and load required modules at bootup
# Module Blacklist - modules in this list will never be loaded by hwdetect
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
# Scan for LVM volume groups at startup, required if you use LVM

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
eth0="eth0 netmask broadcast"
INTERFACES=(lo eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
gateway="default gw"
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up
#   - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network-profiles
# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond)

# End of file


  • LOCALE: The preferred language and charset for shells, and applications. Also see:Configuring locales
  • HARDWARECLOCK: Specifies whether the hardware clock, which is synchronized from on bootup and to on shutdown, stores UTC time, or the localtime. UTC makes sense because it greatly simplifies changing timezones and daylight savings time. localtime is necessary if you dual boot with an operating system that only stores localtime to the hardware clock, such as Windows.
  • TIMEZONE: The timezone you live in, pick one from /usr/share/zoneinfo
  • KEYMAP: The keyboard layout you want to use. If you live in the US, you probably use qwerty, which is referred using us (default). The available keymaps are in /usr/share/kbd/keymaps. For more infoo see: KEYMAP
  • CONSOLEFONT: For more info see: Fonts in console
  • USECOLOR: Specifies whether you want color coding in shells


  • MOD_AUTOLOAD: Automatically scans and loads modules needed to run the current system
  • MOD_BLACKLIST: Modules you don't want to load
  • MODULES: List of modules you want (or don't want) to load
  • USELVM: Scan for LVM volume groups at startup, required if you use LVM. I think that specifying 'dm_mod' in MODULES is also necessary


  • HOSTNAME: Your hostname. Basically, this is the identity of your computer
  • lo: Loopback device info. Don't change this
  • eth0: Your first ethernet device. Specify "dhcp" when possible, unless your box is a server
  • INTERFACES: Network interfaces you want to have started at boot time
  • gateway: In most cases, the address of your router.
  • ROUTES: Which gateways to load (probably gateway). None if using DHCP


  • DAEMONS: Daemons (services) to start at boot time. More information can be found here.