- http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
- http://lists.freebsd.org/pipermail/freebsd-ipfw/
- http://marc.theaimsgroup.com/?l=freebsd-ipfw&r=1&w=2
- http://marc.theaimsgroup.com/?l=freebsd-ipfw&w=2&r=1&s=newbie&q=b
- http://www.onlamp.com/pub/a/bsd/2001/04/25/FreeBSD_Basics.html
- http://www.onlamp.com/pub/a/bsd/2001/05/09/FreeBSD_Basics.html
- http://freebsd.hanirc.org/holyboard/holyboard.cgi?db=ipfw
- http://www.Google.com/search?q=%22ipfw_rules%22+Richard+Caley
- http://www.Google.com/search?q=ipfw+firewall+rules
- http://www.Google.com/search?q=%22ipfw_rules%22
- http://www.Google.com/search?q=ipfw+firewall+rules+primer
- http://dva.dyndns.org/faq.html
Thursday, February 26, 2004
ipfw HOW-TO links
freebsd-update port
Setting keyboard & font
I currently have the following in my rc.conf:
#
# vidcontrol stuff
#
font8x8="swiss-8x8"
font8x16="swiss-8x16"
allscreens_flags="80x60 lightwhite blue"
This sets my fonts to be the 'swiss' fonts, and screen to be in 80x60 mode, bright white on blue screen. Mind you, this is for all the virtual terminals (the ones you get to via Alt-F keys), and doesn't work in the X Terminals. I haven't been able to get the 132 column modes to work correctly yet.
Anyway, the following man page documents vidfont and kbdmap, two commands you can run interactively from the command line to let you select which video font and keyboard mapping to use. I haven't yet found a keyboard mapping that works right for me, so I'm still playing with this one too.
FreeBSD Hypertext Man Pages: kbdmpa, vidfont
You also should set the correct variables in /etc/rc.conf so the changes stick. See /etc/defaults/rc.conf for all the "System console options". That is what you do with the strings hat vidfont and kbdmap echo back for you, put them right into your rc.conf.
Disk Usage
$ du -hx -d 1 /
This command tells du to start in the root folder, do down 1 folder deep (-d 1), and give out stats in "human readable" form (-h) and to not traverse mounted file systems (-x). In a nutshell, it tells you which folders are taking up the most space on your root partition, something that is real nice to know.
Monday, February 16, 2004
Mount root filesystem read-only
# mount -u -o ro -f /
Of course, you do this as root (hence the '#' prompt).
Friday, February 13, 2004
Mail archive search
Anyway, this is a page to simply search the FreeBSD.org mailing lists. The search page on the FreeBSD site is more than just a little flakey. Depending on how you limit the search, you may or may not get a hit, even though the filter you put on your search should've had nothing to do with suppressing the message in question. This one, perhaps, works a little better.
ports Makefile args
Useful scripts
Computer - Programs Scripts
FreeBSD Basics articles
Realtek network cards
Geocrawler.com - freebsd-hardware - rl0: couldn`t map ports/memory
atacontrol
$ atacontrol list
will list all the IDE devices attached to your computer. It talkes about the 'channel', which is usually at least 0 and 1. When I do it on my computer, I get:
$ atacontrol list
ATA channel 0:
Master: ad0ATA/ATAPI rev 4
Slave: ad1ATA/ATAPI rev 5
ATA channel 1:
Master: acd0 <4X4X32/3.VR> ATA/ATAPI rev 0
Slave: no device present
Then you can set and adjust parameters for the various channels and devices. See the man page for more info.
init.d and security levels
kern_securelevel="1"
FreeBSD Hypertext Man Pages: securelevel
Thursday, February 12, 2004
Recovering forgotten root password
First, reboot the machine into single user mode. You do this by hitting space when FreeBSD says to "Hit [Enter] to boot immediately or any other key for command prompt", leaving you with the very cryptic "ok " prompt. Then type in :
ok boot -s
Once it finishes booting, then you can do:
# mount -u / ... mount root file system read/write
# mount /usr ... mount /usr file system (if seperate)
# passwd root .... change the password for root
Enter new password:
Enter password again:
# ^D ... enter ctrl-D to continue with startupbr>
This is all courtesy of the Complete FreeBSD book, by Lehey. I particularily love the chapter where he goes over the boot screen line by line, telling you what FreeBSD is doing.
Tuesday, February 10, 2004
How to use FreeBSD Questions
How to get best results from FreeBSD-questions
Terse sysctl.conf doc
sysctl descriptions
You can find more docs on sysctl, although not much more, in the man pages:
FreeBSD Hypertext Man Pages: sysctl
Another blog and "Content Management"
In addition, he mentiones both Zope and a CMF (Content Management Framework) that sits on top it it called Plone, both of which are, of course, available in ports (see www/zope and www/plone). I'm not exactly sure where something like Movable Type ends and a CMF like Zope/Plone begins, but it is something I've been meaning to investigate further.
Tuesday, February 3, 2004
apachetop - realtime apache stats
FreeBSD Ports: Sysutils
and I read about apachetop, which purports to show a real-time (a la top) display of the current apache session; something I've been thinking I needed. So I'm going to give it a try.
Port description for sysutils/apachetop
webmin
Port description for sysutils/webmin
dig - find DNS info
FreeBSD Hypertext Man Pages: dig
You can get all kinds of neat info about a domain names (dig stands for Domain Information Groper) and DNS servers. Ask them about your domain name, get info on mx records, etc.
phpbb - forum software
Port description for www/phpbb
phpBB.com :: Creating Communities