Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).

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
  1. mkdir /usr/pkgsrc
  2. cd /tmp
  3. cd /pub/NetBSD/NetBSD-current/tar_files/
  4. get pkgsrc.tar.gz
  5. cd /usr
  6. 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