If you're already familiar with NetBSD, this information may not be particulary new or useful to you. It's not particularly Atari-specific. I do however use this for my own reference when I install NetBSD/atari.
- Make sure to run through the pkgsrc configuration described in the packages section.
- I use an APC Smart-UPS SC 420. The instructions below assume a serial Smart-UPS is present.
- Connect the UPS to the second modem port on the TT030. This is the right-most serial port (not including the ports on the VME card) if you're looking at the front of the machine. Reference: http://www.netbsd.org/ports/atari/faq.html#serial
- cd /usr/pkgsrc/sysutils/apcupsd
- sudo make install
- su to root when install is finished.
- vi /usr/pkg/etc/apcupsd/apcupsd.conf
- UPSCABLE smart
- UPSTYPE apcsmart
- DEVICE /dev/ttyA1
- BATTERYLEVEL 10
- MINUTES 6
- Add apcupsd=YES to your /etc/rc.conf
- cp /usr/pkg/share/examples/rc.d/apcupsd /etc/rc.d/apcupsd
- To start apcupsd manually now, run: /etc/rc.d/apcupsd start
- To check status, run: apcaccess status
- If you'd like, go through the testing procedures in the manual linked below.
- To stop apcupsd manually now, run: /etc/rc.d/apcupsd stop
- To update settings in the UPS EEPROM, run: apctest
- Press 5 to set UPS EEPROM values.
- Set the Shutdown grace delay ("SLEEP") to 180. This will give the Atari sufficient time to shut down. You may also consider setting the name, setting the return threshold to 15 percent, and setting "BEEPSTATE" to N to prevent the UPS from making noise.
- Reboot. You should observe apcupsd start as the system comes up.
Notes: