I ran into a problem with portsnap on my FreeBSD box and just figured out how to fix it. There was little information on the problem online so I will share it in case anyone else encounters this problem:
/usr/ports/files/<hash>.gz not found — snapshot corrupt.
To fix it I did this as root:
rm -rf /var/db/portsnap/*
portsnap extract update
This removes the corrupt snapshot database and forces it to fetch an entirely new one, then continue the update as usual.
Last night I upgraded the server from FreeBSD 6.0 to FreeBSD 6.1, which was released May 8th.
Its always good to keep your software up to date for security and compatibility reasons, click here for the latest Linux Kernel
The other day my Linksys WRT54G finally died, my internet kept dropping and then I finally noticed that it was overheating and probably fried, I let it cool down, then I reset it ghetto style (connect pins 15 and 16 on its intel chip with a jewel screwdriver) and tftp’d the last official Linksys Firmware version to it, but it was still dead.
So the next day I bought a new WRT54G v2 (same router) and decided that it is an awesome router with all the possibilities of its firmware since it runs linux, but it has major cooling issues, so I made a solution that’s ugly, but works. Once I get the time I’ll clean it up and make a bracket for the fan to be mounted with and adapt the fan to be powered by a wall outlet.
For now I have a silent 80mm fan taped to the top of it pulling air out of the router from the holes on top of it. The fan is powered by the NeonPulse server’s PSU since the router is always next to the server anyways.