NetBSD
Configuration
- Keyboard layout : encoding=fr in /etc/wscons.conf
Network configuration
- The hostname is defined in /etc/myname
- The default gateway is defined in /etc/mygate
- The device are configure with /etc/ifconfig.<device>
Tips
Network
Display the routing table (without L2 cache)
# netstat -f inet -Lrn
Packages
Fetch the porttree
- mkdir /usr/pkgsrc
- cd /tmp
- ftp ftp.netbsd.org
- cd /pub/NetBSD/NetBSD-current/tar_files/
- get pkgsrc.tar.gz
- cd /usr
- tar xvfz /tmp/pkgsrc.tar.gz
Useful packages
- pkgtools/pkgfind
- pkgtools/pkgclean
mk.conf
- Set PKG_RCD_SCRIPTS=YES in order to copy rc.d scripts from package to /etc/rc.d


