P U R E B S D 
OpenBSD and FreeBSD resources 
  /root | OpenBSD | FreeBSD
   >>  Main | System | Network | Daemons | Security | Software | Various

Sections  

/etc files  
Kernel  
Crontab  
Important files in /etc

Some important OpenBSD configuration files in the /etc directory:

  1. /etc/fstab
    file system table entries.
     
  2. /etc/hostname.<network-id>
    configuration directives for your network card.

    I added a Realtek 8139 based network card to my system and edited my /etc/hostname.ne1 to tell that NE2000 PnP ISA card (ne1) that it got a new job. ne1 first listened to 192.168.0.8, now it should listen for trafic heading for 10.0.0.8.
    The info for that Realtek card is located in /etc/hostname.rl0 for my specific system setup. So I edited that file to let rl0 know it should intercept any trafic directed at 192.168.0.8.
     
  3. /etc/rc
    I edited this file as to remove the automatic insertion of a info line into /etc/motd each time the system boots up.
    Search for the line that reads "# patch /etc/motd"
     
  4. /etc/rc.conf
    system startup configuration entries.
     
  5. /etc/shells
    contains a list of valid shells available on the system.

    I added /usr/local/bin/tcsh, so that I'd be able to use tcsh (:
     
  6. /etc/
    working on this one.. have patience
 

Contact | Feedback | License | Copyright © 2000,2001,2002,2003,2004,2005,2006 PureBSD.com
All rights reserved.
simonpam@purebsd.com