My NetBSD Notes
This page lists my notes as I encounter various experiences while using/ fiddling NetBSD. I use NetBSD on my home router and a test box. Its a clean system with nice design with a high-quality networking subsystem. I would use it on my desktop too but for the lack of applications. Things lower down the order are less likely to work as is for obvious reasons.
- tcpdrop as an lkm (for easy inclusion into pkgsrc) The tarball here provides an lkm and tcpdrop itself. Just run 'make dependall && make install' in the top-level directory. Tested on -current on i386, amd64 and macppc by (thanks riz@ for the latter two)
- NetBSD Port of Free/OpenBSD Intel GigE driver
The sources sys_em.tar.gz contains the netbsd port of the Official Intel driver (via FreeBSD/OpenBSD). It works on the three cards I could lay my hands on. Feel free to give it a spin and let me know if it helps/hurts. This is for -current as of today (10 Nov 2005). Just replacewm* at pci? dev ? function ? # Intel 8254x gigabit with em* at pci? dev ? function ? # Intel GigE driverin your kernel config file. Don't have both. - tcpdrop for NetBSD
The patches patch-tcp_var and patch-tcp_usrreq implement the kernel sysctl handler. The user land utility tcpdrop can be grabbed here to be untarred in src/usr.sbin. Tested to work in -current as of 10 May 2005. - A little alpha code to implement sockets of a new address family in the NetBSD kernel can be found here. This is definitely work in progress.
- The wget package is needed to get authenticated on Georgia Tech lawn until lukemftp supports https urls. Of course, once could use curl or lynx too. the gtlawn script supports all of the three.
- Some random notes on how to use syspkg (packaged base system) as gathered from the lists can be found here
- A couple of ways to change CVS/Root in the cvs tree when you want to change to a different cvs server can be found here and here.
- As it stands, I do my programming on a Dell Inspiron 1100 notebook. acpi(4) is needed to shutdown and poweroff (halt -p) on this notebook. But enabling acpi causes problems with interrupt routing to the hard drive. using pcibios(4) with PCIBIOS_BUS_FIXUP fixes the problem. My config file can be seen here.
- A little dated patches to control the tx power on aironet cards can be found here. They will be committed in the future.