<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ice</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ice"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/Ice"/>
		<updated>2026-04-06T08:01:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSD_ISO_layout</id>
		<title>FreeBSD ISO layout</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSD_ISO_layout"/>
				<updated>2007-11-04T16:15:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: vnconfig(8) has been discontinued -&amp;gt; mdconfig(8)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Sample ISO layout of 6.2-RELEASE i386==&lt;br /&gt;
&lt;br /&gt;
The directory &amp;lt;tt&amp;gt;ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2&amp;lt;/tt&amp;gt; lists the following contents:   &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
6.2-RELEASE-i386-bootonly.iso  	 24848 KB  	01/12/2007  	12:00:00 AM&lt;br /&gt;
6.2-RELEASE-i386-disc1.iso 	587138 KB 	01/12/2007 	12:00:00 AM&lt;br /&gt;
6.2-RELEASE-i386-disc2.iso 	654402 KB 	01/12/2007 	12:00:00 AM&lt;br /&gt;
6.2-RELEASE-i386-docs.iso 	192414 KB 	01/12/2007 	12:00:00 AM&lt;br /&gt;
CHECKSUM.MD5 	                     1 KB 	01/12/2007 	12:00:00 AM&lt;br /&gt;
CHECKSUM.SHA256	                     1 KB 	01/12/2007 	12:00:00 AM&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;tt&amp;gt;CHECKSUM.MD5&amp;lt;/tt&amp;gt; contains the following text: &lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
MD5 (6.2-RELEASE-i386-bootonly.iso) = 4e8701ac951bc4537f8420fdac7efbb5&lt;br /&gt;
MD5 (6.2-RELEASE-i386-disc1.iso) = 3d27214700687c0b5390e8b6dd3706e3&lt;br /&gt;
MD5 (6.2-RELEASE-i386-disc2.iso) = fd30bfc65ef8adaa67aeffd07c72bf21&lt;br /&gt;
MD5 (6.2-RELEASE-i386-docs.iso) = e3512834982a9beebc3670499c7f3817&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The four ISO images were downloaded to an OpenBSD host (from various mirrors) and the signatures were verified using the OpenBSD &amp;lt;tt&amp;gt;md5&amp;lt;/tt&amp;gt; command.  For some other systems the command is &amp;lt;tt&amp;gt;md5sum&amp;lt;/tt&amp;gt; instead.    &lt;br /&gt;
&lt;br /&gt;
The four ISO images were then loopback mounted using svnd devices as follows: &lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
mkdir boot disc1 disc2 docs &lt;br /&gt;
&lt;br /&gt;
sudo mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso &lt;br /&gt;
sudo mount -t cd9660 /dev/md0 boot&lt;br /&gt;
&lt;br /&gt;
sudo mdconfig -a -t vnode -f 6.2-RELEASE-i386-disc1.iso &lt;br /&gt;
sudo mount -t cd9660 /dev/md1 disc1&lt;br /&gt;
&lt;br /&gt;
sudo mdconfig -a -t vnode -f 6.2-RELEASE-i386-disc2.iso &lt;br /&gt;
sudo mount -t cd9660 /dev/md2 disc2&lt;br /&gt;
&lt;br /&gt;
sudo mdconfig -a -t vnode -f 6.2-RELEASE-i386-docs.iso &lt;br /&gt;
sudo mount -t cd9660 /dev/md3 docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After mounting the four images as above, the top-level structure of the ISO images was listed out with the command: &lt;br /&gt;
 find . -maxdepth 4 -type d  &lt;br /&gt;
which produces the following output:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./boot&lt;br /&gt;
./boot/boot&lt;br /&gt;
./boot/boot/defaults&lt;br /&gt;
./boot/boot/kernel&lt;br /&gt;
./boot/boot/modules&lt;br /&gt;
./disc1&lt;br /&gt;
./disc1/6.2-RELEASE&lt;br /&gt;
./disc1/6.2-RELEASE/base&lt;br /&gt;
./disc1/6.2-RELEASE/catpages&lt;br /&gt;
./disc1/6.2-RELEASE/dict&lt;br /&gt;
./disc1/6.2-RELEASE/doc&lt;br /&gt;
./disc1/6.2-RELEASE/games&lt;br /&gt;
./disc1/6.2-RELEASE/info&lt;br /&gt;
./disc1/6.2-RELEASE/kernels&lt;br /&gt;
./disc1/6.2-RELEASE/manpages&lt;br /&gt;
./disc1/6.2-RELEASE/ports&lt;br /&gt;
./disc1/6.2-RELEASE/proflibs&lt;br /&gt;
./disc1/6.2-RELEASE/src&lt;br /&gt;
./disc1/bin&lt;br /&gt;
./disc1/boot&lt;br /&gt;
./disc1/boot/defaults&lt;br /&gt;
./disc1/boot/kernel&lt;br /&gt;
./disc1/boot/modules&lt;br /&gt;
./disc1/dev&lt;br /&gt;
./disc1/etc&lt;br /&gt;
./disc1/etc/bluetooth&lt;br /&gt;
./disc1/etc/defaults&lt;br /&gt;
./disc1/etc/gnats&lt;br /&gt;
./disc1/etc/isdn&lt;br /&gt;
./disc1/etc/mail&lt;br /&gt;
./disc1/etc/mtree&lt;br /&gt;
./disc1/etc/ntp&lt;br /&gt;
./disc1/etc/pam.d&lt;br /&gt;
./disc1/etc/periodic&lt;br /&gt;
./disc1/etc/periodic/daily&lt;br /&gt;
./disc1/etc/periodic/monthly&lt;br /&gt;
./disc1/etc/periodic/security&lt;br /&gt;
./disc1/etc/periodic/weekly&lt;br /&gt;
./disc1/etc/ppp&lt;br /&gt;
./disc1/etc/rc.d&lt;br /&gt;
./disc1/etc/security&lt;br /&gt;
./disc1/etc/skel&lt;br /&gt;
./disc1/etc/ssh&lt;br /&gt;
./disc1/etc/ssl&lt;br /&gt;
./disc1/etc/X11&lt;br /&gt;
./disc1/floppies&lt;br /&gt;
./disc1/lib&lt;br /&gt;
./disc1/lib/geom&lt;br /&gt;
./disc1/libexec&lt;br /&gt;
./disc1/media&lt;br /&gt;
./disc1/mnt&lt;br /&gt;
./disc1/packages&lt;br /&gt;
./disc1/packages/All&lt;br /&gt;
./disc1/packages/devel&lt;br /&gt;
./disc1/packages/emulators&lt;br /&gt;
./disc1/packages/graphics&lt;br /&gt;
./disc1/packages/lang&lt;br /&gt;
./disc1/packages/linux&lt;br /&gt;
./disc1/packages/perl5&lt;br /&gt;
./disc1/packages/print&lt;br /&gt;
./disc1/packages/textproc&lt;br /&gt;
./disc1/packages/x11&lt;br /&gt;
./disc1/packages/x11-fonts&lt;br /&gt;
./disc1/packages/x11-servers&lt;br /&gt;
./disc1/proc&lt;br /&gt;
./disc1/rescue&lt;br /&gt;
./disc1/root&lt;br /&gt;
./disc1/sbin&lt;br /&gt;
./disc1/tmp&lt;br /&gt;
./disc1/tools&lt;br /&gt;
./disc1/tools/bsdboot&lt;br /&gt;
./disc1/tools/dist&lt;br /&gt;
./disc1/tools/srcs&lt;br /&gt;
./disc1/tools/srcs/bteasy&lt;br /&gt;
./disc1/tools/srcs/EXTIPL&lt;br /&gt;
./disc1/tools/srcs/fips&lt;br /&gt;
./disc1/tools/srcs/ide_conf&lt;br /&gt;
./disc1/tools/srcs/pfdisk&lt;br /&gt;
./disc1/tools/srcs/rawrite&lt;br /&gt;
./disc1/usr&lt;br /&gt;
./disc1/usr/bin&lt;br /&gt;
./disc1/usr/games&lt;br /&gt;
./disc1/usr/include&lt;br /&gt;
./disc1/usr/include/altq&lt;br /&gt;
./disc1/usr/include/arpa&lt;br /&gt;
./disc1/usr/include/bsm&lt;br /&gt;
./disc1/usr/include/bsnmp&lt;br /&gt;
./disc1/usr/include/cam&lt;br /&gt;
./disc1/usr/include/crypto&lt;br /&gt;
./disc1/usr/include/c++&lt;br /&gt;
./disc1/usr/include/dev&lt;br /&gt;
./disc1/usr/include/fs&lt;br /&gt;
./disc1/usr/include/geom&lt;br /&gt;
./disc1/usr/include/gnu&lt;br /&gt;
./disc1/usr/include/gpib&lt;br /&gt;
./disc1/usr/include/isofs&lt;br /&gt;
./disc1/usr/include/kadm5&lt;br /&gt;
./disc1/usr/include/libmilter&lt;br /&gt;
./disc1/usr/include/lwres&lt;br /&gt;
./disc1/usr/include/machine&lt;br /&gt;
./disc1/usr/include/net&lt;br /&gt;
./disc1/usr/include/net80211&lt;br /&gt;
./disc1/usr/include/netatalk&lt;br /&gt;
./disc1/usr/include/netatm&lt;br /&gt;
./disc1/usr/include/netgraph&lt;br /&gt;
./disc1/usr/include/netinet&lt;br /&gt;
./disc1/usr/include/netinet6&lt;br /&gt;
./disc1/usr/include/netipsec&lt;br /&gt;
./disc1/usr/include/netipx&lt;br /&gt;
./disc1/usr/include/netkey&lt;br /&gt;
./disc1/usr/include/netnatm&lt;br /&gt;
./disc1/usr/include/netncp&lt;br /&gt;
./disc1/usr/include/netsmb&lt;br /&gt;
./disc1/usr/include/nfs&lt;br /&gt;
./disc1/usr/include/nfsclient&lt;br /&gt;
./disc1/usr/include/nfsserver&lt;br /&gt;
./disc1/usr/include/objc&lt;br /&gt;
./disc1/usr/include/openssl&lt;br /&gt;
./disc1/usr/include/pccard&lt;br /&gt;
./disc1/usr/include/posix4&lt;br /&gt;
./disc1/usr/include/protocols&lt;br /&gt;
./disc1/usr/include/readline&lt;br /&gt;
./disc1/usr/include/rpc&lt;br /&gt;
./disc1/usr/include/rpcsvc&lt;br /&gt;
./disc1/usr/include/security&lt;br /&gt;
./disc1/usr/include/sys&lt;br /&gt;
./disc1/usr/include/ufs&lt;br /&gt;
./disc1/usr/include/vm&lt;br /&gt;
./disc1/usr/lib&lt;br /&gt;
./disc1/usr/lib/aout&lt;br /&gt;
./disc1/usr/lib/compat&lt;br /&gt;
./disc1/usr/libdata&lt;br /&gt;
./disc1/usr/libdata/gcc&lt;br /&gt;
./disc1/usr/libdata/ldscripts&lt;br /&gt;
./disc1/usr/libdata/lint&lt;br /&gt;
./disc1/usr/libexec&lt;br /&gt;
./disc1/usr/libexec/lpr&lt;br /&gt;
./disc1/usr/libexec/sendmail&lt;br /&gt;
./disc1/usr/libexec/sm.bin&lt;br /&gt;
./disc1/usr/local&lt;br /&gt;
./disc1/usr/obj&lt;br /&gt;
./disc1/usr/sbin&lt;br /&gt;
./disc1/usr/share&lt;br /&gt;
./disc1/usr/share/calendar&lt;br /&gt;
./disc1/usr/share/dict&lt;br /&gt;
./disc1/usr/share/doc&lt;br /&gt;
./disc1/usr/share/examples&lt;br /&gt;
./disc1/usr/share/games&lt;br /&gt;
./disc1/usr/share/groff_font&lt;br /&gt;
./disc1/usr/share/info&lt;br /&gt;
./disc1/usr/share/isdn&lt;br /&gt;
./disc1/usr/share/locale&lt;br /&gt;
./disc1/usr/share/man&lt;br /&gt;
./disc1/usr/share/me&lt;br /&gt;
./disc1/usr/share/misc&lt;br /&gt;
./disc1/usr/share/mk&lt;br /&gt;
./disc1/usr/share/nls&lt;br /&gt;
./disc1/usr/share/openssl&lt;br /&gt;
./disc1/usr/share/pcvt&lt;br /&gt;
./disc1/usr/share/security&lt;br /&gt;
./disc1/usr/share/sendmail&lt;br /&gt;
./disc1/usr/share/skel&lt;br /&gt;
./disc1/usr/share/snmp&lt;br /&gt;
./disc1/usr/share/syscons&lt;br /&gt;
./disc1/usr/share/tabset&lt;br /&gt;
./disc1/usr/share/tmac&lt;br /&gt;
./disc1/usr/share/vi&lt;br /&gt;
./disc1/usr/share/zoneinfo&lt;br /&gt;
./disc1/usr/src&lt;br /&gt;
./disc1/var&lt;br /&gt;
./disc1/var/account&lt;br /&gt;
./disc1/var/at&lt;br /&gt;
./disc1/var/at/jobs&lt;br /&gt;
./disc1/var/at/spool&lt;br /&gt;
./disc1/var/audit&lt;br /&gt;
./disc1/var/backups&lt;br /&gt;
./disc1/var/crash&lt;br /&gt;
./disc1/var/cron&lt;br /&gt;
./disc1/var/cron/tabs&lt;br /&gt;
./disc1/var/db&lt;br /&gt;
./disc1/var/db/entropy&lt;br /&gt;
./disc1/var/db/freebsd-update&lt;br /&gt;
./disc1/var/db/ipf&lt;br /&gt;
./disc1/var/db/pkg&lt;br /&gt;
./disc1/var/db/ports&lt;br /&gt;
./disc1/var/db/portsnap&lt;br /&gt;
./disc1/var/empty&lt;br /&gt;
./disc1/var/heimdal&lt;br /&gt;
./disc1/var/log&lt;br /&gt;
./disc1/var/mail&lt;br /&gt;
./disc1/var/msgs&lt;br /&gt;
./disc1/var/named&lt;br /&gt;
./disc1/var/named/dev&lt;br /&gt;
./disc1/var/named/etc&lt;br /&gt;
./disc1/var/named/var&lt;br /&gt;
./disc1/var/preserve&lt;br /&gt;
./disc1/var/run&lt;br /&gt;
./disc1/var/run/named&lt;br /&gt;
./disc1/var/run/ppp&lt;br /&gt;
./disc1/var/rwho&lt;br /&gt;
./disc1/var/spool&lt;br /&gt;
./disc1/var/spool/clientmqueue&lt;br /&gt;
./disc1/var/spool/lock&lt;br /&gt;
./disc1/var/spool/lpd&lt;br /&gt;
./disc1/var/spool/mqueue&lt;br /&gt;
./disc1/var/spool/opielocks&lt;br /&gt;
./disc1/var/spool/output&lt;br /&gt;
./disc1/var/tmp&lt;br /&gt;
./disc1/var/tmp/vi.recover&lt;br /&gt;
./disc1/var/yp&lt;br /&gt;
./disc2&lt;br /&gt;
./disc2/packages&lt;br /&gt;
./disc2/packages/accessibility&lt;br /&gt;
./disc2/packages/afterstep&lt;br /&gt;
./disc2/packages/All&lt;br /&gt;
./disc2/packages/archivers&lt;br /&gt;
./disc2/packages/astro&lt;br /&gt;
./disc2/packages/audio&lt;br /&gt;
./disc2/packages/comms&lt;br /&gt;
./disc2/packages/converters&lt;br /&gt;
./disc2/packages/databases&lt;br /&gt;
./disc2/packages/deskutils&lt;br /&gt;
./disc2/packages/devel&lt;br /&gt;
./disc2/packages/dns&lt;br /&gt;
./disc2/packages/editors&lt;br /&gt;
./disc2/packages/emulators&lt;br /&gt;
./disc2/packages/ftp&lt;br /&gt;
./disc2/packages/games&lt;br /&gt;
./disc2/packages/gnome&lt;br /&gt;
./disc2/packages/graphics&lt;br /&gt;
./disc2/packages/ipv6&lt;br /&gt;
./disc2/packages/irc&lt;br /&gt;
./disc2/packages/kde&lt;br /&gt;
./disc2/packages/lang&lt;br /&gt;
./disc2/packages/mail&lt;br /&gt;
./disc2/packages/math&lt;br /&gt;
./disc2/packages/misc&lt;br /&gt;
./disc2/packages/multimedia&lt;br /&gt;
./disc2/packages/net&lt;br /&gt;
./disc2/packages/net-mgmt&lt;br /&gt;
./disc2/packages/news&lt;br /&gt;
./disc2/packages/palm&lt;br /&gt;
./disc2/packages/perl5&lt;br /&gt;
./disc2/packages/print&lt;br /&gt;
./disc2/packages/python&lt;br /&gt;
./disc2/packages/ruby&lt;br /&gt;
./disc2/packages/scheme&lt;br /&gt;
./disc2/packages/security&lt;br /&gt;
./disc2/packages/shells&lt;br /&gt;
./disc2/packages/sysutils&lt;br /&gt;
./disc2/packages/textproc&lt;br /&gt;
./disc2/packages/windowmaker&lt;br /&gt;
./disc2/packages/www&lt;br /&gt;
./disc2/packages/x11&lt;br /&gt;
./disc2/packages/x11-clocks&lt;br /&gt;
./disc2/packages/x11-fm&lt;br /&gt;
./disc2/packages/x11-fonts&lt;br /&gt;
./disc2/packages/x11-themes&lt;br /&gt;
./disc2/packages/x11-toolkits&lt;br /&gt;
./disc2/packages/x11-wm&lt;br /&gt;
./docs&lt;br /&gt;
./docs/rr_moved&lt;br /&gt;
./docs/usr&lt;br /&gt;
./docs/usr/share&lt;br /&gt;
./docs/usr/share/doc&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The mounted size, as reported by &amp;lt;tt&amp;gt;du -shPx&amp;lt;/tt&amp;gt; differs from the ISO image size: &lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
23.3M   boot&lt;br /&gt;
997M    disc1&lt;br /&gt;
638M    disc2&lt;br /&gt;
177M    docs&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Whereas the ISO file sizes are: &lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
6.2-RELEASE-i386-bootonly.iso  	 24,848 KB&lt;br /&gt;
6.2-RELEASE-i386-disc1.iso 	587,138 KB&lt;br /&gt;
6.2-RELEASE-i386-disc2.iso 	654,402 KB&lt;br /&gt;
6.2-RELEASE-i386-docs.iso 	192,414 KB&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For a mirror combining the contents of disc1 and disc2, about 1.6 GB of storage would be consumed.&lt;br /&gt;
&lt;br /&gt;
==FreeBSD ftp mirror layout==&lt;br /&gt;
&lt;br /&gt;
For comparison, the file ftp://ftp.freebsd.org/pub/FreeBSD/dir.sizes shows the layout of a typical FreeBSD mirror, presumably giving the file sizes in multiples of KiB.  The total size of the mirror for all architectures appears to be 440GB.  The FreeBSD mirror documentation at [http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-requirements.html Requirements for FreeBSD mirrors] states that a ''Full FTP Distribution'' occupies 412 GB.  Mirroring the whole of the ftp distribution is not practical for a local mirror.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html Mirroring FreeBSD] -- from freebsd.org &lt;br /&gt;
* [http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html FreeBSD Release Engineering] -- also from freebsd.org&lt;br /&gt;
&lt;br /&gt;
[[category:installation]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:SSH,_limiting_to_SCP_or_Rsync_only</id>
		<title>Talk:SSH, limiting to SCP or Rsync only</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:SSH,_limiting_to_SCP_or_Rsync_only"/>
				<updated>2007-11-04T10:06:03Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: /* Security aspect */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==just btw==&lt;br /&gt;
 # gcc scpsftprsynconly.c -o /usr/local/bin/scpsftprsynconly&lt;br /&gt;
 scpsftprsynconly.c: In function â€˜mainâ€™:&lt;br /&gt;
 scpsftprsynconly.c:48: error: expected â€˜)â€™ at end of input&lt;br /&gt;
 scpsftprsynconly.c:48: error: expected declaration or statement at end of input&lt;br /&gt;
 # &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tried running this on a centos box and this is what I'm getting. dubl-U Tee Eff Mmm8.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 12:25, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== just guessing, really ==&lt;br /&gt;
&lt;br /&gt;
since I don't know shit, but I added a } before the #ifdef DEBUG section and now I'm getting:&lt;br /&gt;
&lt;br /&gt;
 [root@web ~]# gcc scpsftprsynconly.c -o /usr/local/bin/scpsftprsynconly&lt;br /&gt;
 scpsftprsynconly.c:45: error: expected identifier or â€˜(â€™ before â€˜ifâ€™&lt;br /&gt;
 scpsftprsynconly.c:49: error: expected identifier or â€˜(â€™ before â€˜ifâ€™&lt;br /&gt;
 [root@web ~]# &lt;br /&gt;
&lt;br /&gt;
which is in the first lines of &lt;br /&gt;
         if (argc &amp;lt; 3) {&lt;br /&gt;
                printf (restrictmsg);&lt;br /&gt;
                return 1;&lt;br /&gt;
         }&lt;br /&gt;
        if ((strncmp (argv [2], &amp;quot;scp &amp;quot;, 4) != 0)&lt;br /&gt;
&lt;br /&gt;
wha?&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 13:41, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== somebody oopsed on a kill-the-spam edit ==&lt;br /&gt;
&lt;br /&gt;
The problem you were having was that a good samaritan who manually edited the article to remove spam accidentally damaged the code a while back.  I looked through history on the article and reverted to prior to the damage.  --[[User:Jimbo|Jimbo]] 15:20, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Security aspect == &lt;br /&gt;
You should probably not rely on scpftprsynconly to PREVENT users from executing programs on your machine,&lt;br /&gt;
 ./scpsftprsynconly foo 'scp -S givemeshell asd asd:asd' &lt;br /&gt;
Will execute the givemeshell command with some obscure arguments. To get a shell with this inplace, upload a script/program that reverse connect or what you want then just:&lt;br /&gt;
 ssh foo@barhost &amp;quot;scp -S echo asd asd:asd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Probably should mention this in the article..&lt;br /&gt;
&lt;br /&gt;
--[[User:Ice|Ice]] 04:51, 4 November 2007 (EST)&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:SSH,_limiting_to_SCP_or_Rsync_only</id>
		<title>Talk:SSH, limiting to SCP or Rsync only</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:SSH,_limiting_to_SCP_or_Rsync_only"/>
				<updated>2007-11-04T09:51:42Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: security concern with scpftprsynconly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==just btw==&lt;br /&gt;
 # gcc scpsftprsynconly.c -o /usr/local/bin/scpsftprsynconly&lt;br /&gt;
 scpsftprsynconly.c: In function â€˜mainâ€™:&lt;br /&gt;
 scpsftprsynconly.c:48: error: expected â€˜)â€™ at end of input&lt;br /&gt;
 scpsftprsynconly.c:48: error: expected declaration or statement at end of input&lt;br /&gt;
 # &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tried running this on a centos box and this is what I'm getting. dubl-U Tee Eff Mmm8.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 12:25, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== just guessing, really ==&lt;br /&gt;
&lt;br /&gt;
since I don't know shit, but I added a } before the #ifdef DEBUG section and now I'm getting:&lt;br /&gt;
&lt;br /&gt;
 [root@web ~]# gcc scpsftprsynconly.c -o /usr/local/bin/scpsftprsynconly&lt;br /&gt;
 scpsftprsynconly.c:45: error: expected identifier or â€˜(â€™ before â€˜ifâ€™&lt;br /&gt;
 scpsftprsynconly.c:49: error: expected identifier or â€˜(â€™ before â€˜ifâ€™&lt;br /&gt;
 [root@web ~]# &lt;br /&gt;
&lt;br /&gt;
which is in the first lines of &lt;br /&gt;
         if (argc &amp;lt; 3) {&lt;br /&gt;
                printf (restrictmsg);&lt;br /&gt;
                return 1;&lt;br /&gt;
         }&lt;br /&gt;
        if ((strncmp (argv [2], &amp;quot;scp &amp;quot;, 4) != 0)&lt;br /&gt;
&lt;br /&gt;
wha?&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 13:41, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== somebody oopsed on a kill-the-spam edit ==&lt;br /&gt;
&lt;br /&gt;
The problem you were having was that a good samaritan who manually edited the article to remove spam accidentally damaged the code a while back.  I looked through history on the article and reverted to prior to the damage.  --[[User:Jimbo|Jimbo]] 15:20, 22 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Security aspect == &lt;br /&gt;
You should probably not rely on scpftprsynconly to PREVENT users from executing programs on your machine,&lt;br /&gt;
 ./scpsftprsynconly foo 'scp -S givemeshell asd asd:asd' &lt;br /&gt;
Will execute the givemeshell command with some obscure arguments. I haven't tried it with scpftprsynconly installed as a shell but it should be as easy as &lt;br /&gt;
 ssh foohost 'scp -S givemeshell'.&lt;br /&gt;
&lt;br /&gt;
Probably should mention this in the article..&lt;br /&gt;
&lt;br /&gt;
--[[User:Ice|Ice]] 04:51, 4 November 2007 (EST)&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot</id>
		<title>Installing FreeBSD with netboot</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot"/>
				<updated>2007-11-04T09:31:17Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: added the nfs part to make it more complete..&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FreeBSD bootonly ==&lt;br /&gt;
The first step to installing FreeBSD via netboot is to acquire FreeBSD. We'll be using the bootonly-iso, this can be fetched at your nearest ftp.&lt;br /&gt;
&lt;br /&gt;
Download the bootonly-iso:&lt;br /&gt;
 fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
Mount the iso-image and copy the contents to some location:&lt;br /&gt;
 mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
 mount_cd9660 /dev/md0 /mnt/cdrom&lt;br /&gt;
 mkdir /usr/local/pxeboot&lt;br /&gt;
 cp -r /mnt/cdrom /usr/local/pxeboot&lt;br /&gt;
 umount /mnt/cdrom&lt;br /&gt;
&lt;br /&gt;
The main reason for copying the cd is to edit the file /boot/loader.conf adding the following line:&lt;br /&gt;
 echo 'vfs.root.mountfrom=&amp;quot;ufs:/dev/md0c&amp;quot;' &amp;gt;&amp;gt; /usr/local/pxeboot/boot/loader.conf&lt;br /&gt;
This will cause the lovable FreeBSD sysinstall to start. The pxeboot will mount the rootfs from the file mfsroot.gz instead of the default of mounting a NFS-root.&lt;br /&gt;
&lt;br /&gt;
== NIC with PXE boot ==&lt;br /&gt;
For the pxeboot to work you might have to update your NIC with new firmware. See your manufacturer homepage for more information.&lt;br /&gt;
&lt;br /&gt;
== TFTP ==&lt;br /&gt;
Next up is starting a tftp-server from which the firmware can load the [http://en.wikipedia.org/wiki/Preboot_Execution_Environment#Network_Bootstrap_Program network bootstrap program] from. This is easiest done by using inetd, remove the leading # from the following line in the file /etc/inetd.conf.&lt;br /&gt;
 #tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot&lt;br /&gt;
&lt;br /&gt;
Make the tftpboot directory and copy the boot/pxeboot file to it.&lt;br /&gt;
 mkdir /tftpboot&lt;br /&gt;
 cp /usr/local/pxeboot/boot/pxeboot /tftpboot/&lt;br /&gt;
&lt;br /&gt;
Then start inetd by adding it to rc.conf and starting it.&lt;br /&gt;
 echo 'inetd_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
 /etc/rc.d/inetd start&lt;br /&gt;
&lt;br /&gt;
It can be a good idea to start a tail of messages and xferlog file to see what is happening. In another terminal run:&lt;br /&gt;
 tail -f /var/log/messages /var/log/xferlog&lt;br /&gt;
&lt;br /&gt;
== DHCP ==&lt;br /&gt;
Now it's time for the DHCP-server that the firmware will query to get address and path to the network bootstrap program.&lt;br /&gt;
&lt;br /&gt;
Install isc-dhcp3-server&lt;br /&gt;
 pkg_add -r isc-dhcp3-server&lt;br /&gt;
&lt;br /&gt;
Edit /usr/local/etc/dhcpd.conf adding the following lines.&lt;br /&gt;
 server-name &amp;quot;pxe-gw&amp;quot;;          # name of the tftp-server&lt;br /&gt;
 server-identifier 172.24.0.4;  # address of the tftp-server&lt;br /&gt;
 next-server 172.24.0.4;        # address of the NFS-server&lt;br /&gt;
&lt;br /&gt;
 subnet 172.24.0.0 netmask 255.255.255.0 {&lt;br /&gt;
     range 172.24.0.137 172.24.0.253;&lt;br /&gt;
     option routers 172.24.0.1;&lt;br /&gt;
     option root-path &amp;quot;/usr/local/pxeboot&amp;quot;; # root-path for NFS&lt;br /&gt;
     filename &amp;quot;pxeboot&amp;quot;;                    # filename of NBP (network bootstrap program)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NFS ==&lt;br /&gt;
&lt;br /&gt;
[[Category : Installation]]&lt;br /&gt;
Add the pxeboot directory to nfs exports file&lt;br /&gt;
 echo '/usr/local/pxeboot -alldirs -maproot=root -ro' &amp;gt;&amp;gt; /etc/exports&lt;br /&gt;
&lt;br /&gt;
Enable NFS in rc.conf&lt;br /&gt;
 echo 'nfs_server_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
Start nfsd&lt;br /&gt;
 /etc/rc.d/nfsd start&lt;br /&gt;
&lt;br /&gt;
Reboot your computer and select PXE-boot you should now enter sysinstall, have a nice day!&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://gja.space4me.com/things/Using_pxeboot_Install53.html Using pxeboot to install FreeBSD 5.3]&lt;br /&gt;
* [http://people.freebsd.org/~dwhite/pxeboot.html Quick and Dirty PXE Boot Setup for FreeBSD 4.x and later]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Unicode</id>
		<title>Unicode</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Unicode"/>
				<updated>2007-09-27T15:29:08Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: /* xterm */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Unicode ==&lt;br /&gt;
The simplest form of character set used on computers uses an 8-bit (one byte) numerical value to represent a letter from the English and Latin alphabets and certain accented characters (normally seen in French writing).  This system is called [http://en.wikipedia.org/wiki/ASCII ASCII], the American Standard Code for Information Interchange.  Almost all modern day operating systems use it as well as many older computer systems.&lt;br /&gt;
&lt;br /&gt;
Unicode, in particular the UTF-8 standard, takes this concept of a numerical value representing a character and extends it to host the alphabets of (virtually) all the known languages in the world.  This is around 100,000 characters and as such UTF-8 can use 1-, 2-, 3- and even 4-byte values to represent them:&lt;br /&gt;
&lt;br /&gt;
* the 1-byte character set is used to cover the simple English alphabet;&lt;br /&gt;
* the 2-byte character set is used to cover the more common alphabets, including Arabic, Armenian, Cyrillic, Greek, Hebrew, Latin, and Syriac;&lt;br /&gt;
* the 3-byte character set is used to cover additional language alphabets;&lt;br /&gt;
* the 4-byte character set is used to cover additional, but rarer, language alphabets, as such it is not used often.&lt;br /&gt;
&lt;br /&gt;
In addition to the character sets used the standard also defines &amp;quot;handedness&amp;quot;, as in which way the text flows.  Typically Western languages are written left-to-right (as per the text on this page) while other, typically middle-Eastern languages, write from right-to-left.&lt;br /&gt;
&lt;br /&gt;
While ASCII uses one character-per-byte and so a 100 letter document would be (theoretically) 100 bytes on disk a Unicode document could be 2, 3 or 4 times that size, depending on the encoding used.  The Unicode standard is backwards compatible with ASCII when used in 1-byte character set.&lt;br /&gt;
&lt;br /&gt;
There is another character set typically found on older mainframes, most notably from IBM, called EBCDIC, the Extended Binary-Coded Decimal Interchange Code.  There is a variation called [http://en.wikipedia.org/wiki/UTF-EBCDIC UTF-EBCDIC] to enable legacy applications running on these systems to utilise Unicode.&lt;br /&gt;
&lt;br /&gt;
== Using UTF-8 in FreeBSD ==&lt;br /&gt;
First we need to set the LC_ALL and LANG variables, find out which locales can support UTF-8.&lt;br /&gt;
 $ cd /usr/share/locale/; ls *UTF-8 -d&lt;br /&gt;
&lt;br /&gt;
Add the following environment variable to the appropriate file, ~/.profile or ~/.login or ~/.bashrc.&lt;br /&gt;
 export LC_ALL=sv_SE.UTF-8&lt;br /&gt;
&lt;br /&gt;
Now login and logout to have the effects apply.&lt;br /&gt;
After that you should enable UTF-8 support in your terminal, see the application section for this.&lt;br /&gt;
&lt;br /&gt;
=== Converting files ===&lt;br /&gt;
Now you're ready to convert some files, this is done with the command iconv, install it if you don't already have it.&lt;br /&gt;
 # pkg_add -r libiconv&lt;br /&gt;
&lt;br /&gt;
Then use the following to convert a file.&lt;br /&gt;
 $ iconv -f iso8859-1 -t utf-8 file &amp;gt; file.new&lt;br /&gt;
&lt;br /&gt;
This is a small script that converts a bunch of files and creates a backup of them in another directory.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
=== xterm ===&lt;br /&gt;
To make xterm play nice I added &lt;br /&gt;
 $ echo &amp;quot;xterm*locale: UTF-8&amp;quot; &amp;gt;&amp;gt; ~/.Xdefaults&lt;br /&gt;
&lt;br /&gt;
It could also be necessary to change the font see Unicode support on FreeBSD.&lt;br /&gt;
&lt;br /&gt;
=== irssi + screen ===&lt;br /&gt;
Unfortunately I haven't found any way to get irssi+screen+FiSH to work with out a restart of irssi.&lt;br /&gt;
So restart screen with the new locales, this config will enable you to send ISO8859-1 by default in irssi.&lt;br /&gt;
 &lt;br /&gt;
 /set term_charset UTF-8&lt;br /&gt;
 /set recode_out_default_charset ISO8859-1&lt;br /&gt;
 /set recode yes&lt;br /&gt;
 /set recode_autodetect_utf8 no&lt;br /&gt;
 /set recode_fallback ISO8859-1&lt;br /&gt;
 /set recode_transliterate no&lt;br /&gt;
 /recode add #utf8channel UTF-8&lt;br /&gt;
&lt;br /&gt;
For use with FiSH (an IRC encryption module [http://fish.sekure.us/]) some more adjustment are needed.&lt;br /&gt;
Read instructions an apply patches from [http://iiice.net/~ice/programs/FiSH/ http://iiice.net/~ice/programs/FiSH/]&lt;br /&gt;
 &lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://opal.com/freebsd/unicode.html Unicode support on FreeBSD]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Unicode</id>
		<title>Unicode</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Unicode"/>
				<updated>2007-09-27T15:16:47Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Unicode ==&lt;br /&gt;
The simplest form of character set used on computers uses an 8-bit (one byte) numerical value to represent a letter from the English and Latin alphabets and certain accented characters (normally seen in French writing).  This system is called [http://en.wikipedia.org/wiki/ASCII ASCII], the American Standard Code for Information Interchange.  Almost all modern day operating systems use it as well as many older computer systems.&lt;br /&gt;
&lt;br /&gt;
Unicode, in particular the UTF-8 standard, takes this concept of a numerical value representing a character and extends it to host the alphabets of (virtually) all the known languages in the world.  This is around 100,000 characters and as such UTF-8 can use 1-, 2-, 3- and even 4-byte values to represent them:&lt;br /&gt;
&lt;br /&gt;
* the 1-byte character set is used to cover the simple English alphabet;&lt;br /&gt;
* the 2-byte character set is used to cover the more common alphabets, including Arabic, Armenian, Cyrillic, Greek, Hebrew, Latin, and Syriac;&lt;br /&gt;
* the 3-byte character set is used to cover additional language alphabets;&lt;br /&gt;
* the 4-byte character set is used to cover additional, but rarer, language alphabets, as such it is not used often.&lt;br /&gt;
&lt;br /&gt;
In addition to the character sets used the standard also defines &amp;quot;handedness&amp;quot;, as in which way the text flows.  Typically Western languages are written left-to-right (as per the text on this page) while other, typically middle-Eastern languages, write from right-to-left.&lt;br /&gt;
&lt;br /&gt;
While ASCII uses one character-per-byte and so a 100 letter document would be (theoretically) 100 bytes on disk a Unicode document could be 2, 3 or 4 times that size, depending on the encoding used.  The Unicode standard is backwards compatible with ASCII when used in 1-byte character set.&lt;br /&gt;
&lt;br /&gt;
There is another character set typically found on older mainframes, most notably from IBM, called EBCDIC, the Extended Binary-Coded Decimal Interchange Code.  There is a variation called [http://en.wikipedia.org/wiki/UTF-EBCDIC UTF-EBCDIC] to enable legacy applications running on these systems to utilise Unicode.&lt;br /&gt;
&lt;br /&gt;
== Using UTF-8 in FreeBSD ==&lt;br /&gt;
First we need to set the LC_ALL and LANG variables, find out which locales can support UTF-8.&lt;br /&gt;
 $ cd /usr/share/locale/; ls *UTF-8 -d&lt;br /&gt;
&lt;br /&gt;
Add the following environment variable to the appropriate file, ~/.profile or ~/.login or ~/.bashrc.&lt;br /&gt;
 export LC_ALL=sv_SE.UTF-8&lt;br /&gt;
&lt;br /&gt;
Now login and logout to have the effects apply.&lt;br /&gt;
After that you should enable UTF-8 support in your terminal, see the application section for this.&lt;br /&gt;
&lt;br /&gt;
=== Converting files ===&lt;br /&gt;
Now you're ready to convert some files, this is done with the command iconv, install it if you don't already have it.&lt;br /&gt;
 # pkg_add -r libiconv&lt;br /&gt;
&lt;br /&gt;
Then use the following to convert a file.&lt;br /&gt;
 $ iconv -f iso8859-1 -t utf-8 file &amp;gt; file.new&lt;br /&gt;
&lt;br /&gt;
This is a small script that converts a bunch of files and creates a backup of them in another directory.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
=== xterm ===&lt;br /&gt;
To make xterm play nice i added &lt;br /&gt;
 $ echo &amp;quot;xterm*locale: UTF-8&amp;quot; &amp;gt;&amp;gt; ~/.Xdefaults&lt;br /&gt;
&lt;br /&gt;
=== irssi + screen ===&lt;br /&gt;
Unfortunately I haven't found any way to get irssi+screen+FiSH to work with out a restart of irssi.&lt;br /&gt;
So restart screen with the new locales, this config will enable you to send ISO8859-1 by default in irssi.&lt;br /&gt;
 &lt;br /&gt;
 /set term_charset UTF-8&lt;br /&gt;
 /set recode_out_default_charset ISO8859-1&lt;br /&gt;
 /set recode yes&lt;br /&gt;
 /set recode_autodetect_utf8 no&lt;br /&gt;
 /set recode_fallback ISO8859-1&lt;br /&gt;
 /set recode_transliterate no&lt;br /&gt;
 /recode add #utf8channel UTF-8&lt;br /&gt;
&lt;br /&gt;
For use with FiSH (an IRC encryption module [http://fish.sekure.us/]) some more adjustment are needed.&lt;br /&gt;
Read instructions an apply patches from [http://iiice.net/~ice/programs/FiSH/ http://iiice.net/~ice/programs/FiSH/]&lt;br /&gt;
 &lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://opal.com/freebsd/unicode.html Unicode support on FreeBSD]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Unicode</id>
		<title>Unicode</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Unicode"/>
				<updated>2007-09-27T13:56:28Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: working on irssi unicode + fish&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Unicode ==&lt;br /&gt;
Descriptive text what unicode / utf-8 is.&lt;br /&gt;
&lt;br /&gt;
== Using UTF-8 in FreeBSD ==&lt;br /&gt;
First we need to set the LC_ALL and LANG variables, find out which locales can support UTF-8.&lt;br /&gt;
 cd /usr/share/locale/; ls *UTF-8 -d&lt;br /&gt;
&lt;br /&gt;
Add the following environment variables to the appropriate file, ~/.profile or ~/.login or ~/.bashrc.&lt;br /&gt;
 export LANG=sv_SE.UTF-8&lt;br /&gt;
 export LC_ALL=sv_SE.UTF-8&lt;br /&gt;
&lt;br /&gt;
Now login and logout to have the effects apply.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
=== xterm ===&lt;br /&gt;
To make xterm play nice i added &lt;br /&gt;
 echo &amp;quot;xterm*locale: UTF-8&amp;quot; &amp;gt;&amp;gt; ~/.Xdefaults&lt;br /&gt;
&lt;br /&gt;
=== irssi + screen ===&lt;br /&gt;
If you're like me and don't want to restart your irssi you use the following line, otherwise screen should use the locales.&lt;br /&gt;
 Ctrl-a : (colon) then write 'encoding UTF-8 UTF-8'&lt;br /&gt;
&lt;br /&gt;
This config will enable you to send ISO8859-1 by default in irssi. &lt;br /&gt;
 /set term_charset UTF-8&lt;br /&gt;
 /set recode_out_default_charset ISO8859-1&lt;br /&gt;
 /set recode yes&lt;br /&gt;
 /set recode_autodetect_utf8 no&lt;br /&gt;
 /set recode_fallback ISO8859-1&lt;br /&gt;
 /set recode_transliterate no&lt;br /&gt;
 /recode add #utf8channel UTF-8&lt;br /&gt;
 &lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://opal.com/freebsd/unicode.html Unicode support on FreeBSD]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Unicode</id>
		<title>Unicode</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Unicode"/>
				<updated>2007-09-27T12:59:50Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: start of unicode guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Unicode ==&lt;br /&gt;
Descriptive text what unicode / utf-8 is.&lt;br /&gt;
&lt;br /&gt;
== Using UTF-8 in FreeBSD ==&lt;br /&gt;
First we need to set the LC_ALL and LANG variables, find out which locales can support UTF-8.&lt;br /&gt;
 cd /usr/share/locale/; ls *UTF-8 -d&lt;br /&gt;
&lt;br /&gt;
Add the following environment variables to the appropriate file, ~/.profile or ~/.login or ~/.bashrc.&lt;br /&gt;
 export LANG=sv_SE.UTF-8&lt;br /&gt;
 export LC_ALL=sv_SE.UTF-8&lt;br /&gt;
&lt;br /&gt;
Now login and logout to have the effects apply.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://opal.com/freebsd/unicode.html Unicode support on FreeBSD]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/RBL</id>
		<title>RBL</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/RBL"/>
				<updated>2007-04-12T18:26:25Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: reverted to 21:04, 21 May 2006&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''RBL''' is an acronym for '''R'''eal-time '''B'''lack-hole '''L'''ist - a list of IP addresses and/or URLs that nobody wants anything to do with, updated constantly in (you guessed it) real time.  RBL's are most frequently used to filter out various types of spam, including the &amp;quot;traditional&amp;quot; email variety as well as the newer but increasingly more problematic [[comment spam]].&lt;br /&gt;
&lt;br /&gt;
A typical RBL server is a very simple purpose-oriented [[DNS]] server which returns &amp;quot;no answer&amp;quot; if the IP being fed to it isn't on its list, and returns a special answer - usually 127.0.0.2 - if the IP is found.  In order to check against the RBL, the IP is deconstructed and put together backwards in front of the RBL server's domain name - for example, in order to check the IP address 1.2.3.4 against the fictitious RBL server rbl.spammersarebad.net, you would try to resolve the URL 4.3.2.1.rbl.spammersarebad.net.&lt;br /&gt;
&lt;br /&gt;
 server# '''dig +short A 4.3.2.1.rbl.spammersarebad.net'''&lt;br /&gt;
 127.0.0.2&lt;br /&gt;
&lt;br /&gt;
Aha - the RBL returned 127.0.0.2, so it looks like the IP address 1.2.3.4 is on their list.  Most RBLs will give you a little information about what's on their list, if you query them for a TXT record.  Usually, the TXT record gives you an URL for a webpage which will tell you more about the list, whether or not the IP is still listed, and possibly (but possibly not) something about why it's listed or for how long it is scheduled to remain listed.&lt;br /&gt;
&lt;br /&gt;
 server# '''dig +short TXT 4.3.2.1.rbl.spammersarebad.net'''&lt;br /&gt;
 &amp;quot;Blocked - see &amp;lt;nowiki&amp;gt;http://rbl.spammersarebad.net/bl.shtml?1.2.3.4&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
By comparison, if we ask about an address that isn't on the list, we get no answer at all for either A or TXT records:&lt;br /&gt;
 server# '''dig +short A 5.4.3.2.rbl.spammersarebad.net'''&lt;br /&gt;
 server# '''dig +short TXT 5.4.3.2.rbl.spammersarebad.net'''&lt;br /&gt;
 server#&lt;br /&gt;
&lt;br /&gt;
See also [[Mail toaster]], a freebsdwiki.net special configuration of [[Qmail]] and several other mail applications which includes built-in RBL filtering.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Flash</id>
		<title>Flash</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Flash"/>
				<updated>2007-04-12T18:25:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: reverted to 06:23, 18 March 2007&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==How to install flash==&lt;br /&gt;
&lt;br /&gt;
First install linuxpluginwrapper&lt;br /&gt;
 # pkg_add -r linuxpluginwrapper&lt;br /&gt;
Or with options:&lt;br /&gt;
 # cd /usr/ports/*/linuxpluginwrapper;make install&lt;br /&gt;
&lt;br /&gt;
Next install flashplugin7&lt;br /&gt;
 # cd /usr/ports/*/linux-flashplugin7;make install&lt;br /&gt;
&lt;br /&gt;
If it cannot fetch the file download it from here:&lt;br /&gt;
http://freshmeat.net/projects/flashplugin/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===libmap.conf===&lt;br /&gt;
&lt;br /&gt;
Add the following to /etc/libmap.conf&lt;br /&gt;
 # Flash7 for Firefox&lt;br /&gt;
 [/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]&lt;br /&gt;
 libpthread.so.0                 pluginwrapper/flash7.so&lt;br /&gt;
 libdl.so.2                      pluginwrapper/flash7.so&lt;br /&gt;
 libz.so.1                       libz.so.3&lt;br /&gt;
 libstdc++-libc6.2-2.so.3        libstdc++.so.4&lt;br /&gt;
 libm.so.6                       libm.so.4&lt;br /&gt;
 libc.so.6                       pluginwrapper/flash7.so&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 # Flash6 for Konqueror&lt;br /&gt;
 [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]&lt;br /&gt;
 libpthread.so.0                 pluginwrapper/flash6.so&lt;br /&gt;
 libdl.so.2                      pluginwrapper/flash6.so&lt;br /&gt;
 libz.so.1                       libz.so.3&lt;br /&gt;
 libstdc++-libc6.2-2.so.3        libstdc++.so.5&lt;br /&gt;
 libm.so.6                       libm.so.4&lt;br /&gt;
 libc.so.6                       pluginwrapper/flash6.so&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Konqueror===&lt;br /&gt;
&lt;br /&gt;
Go to Settings -&amp;gt; Configure Konqueror -&amp;gt; plugins&lt;br /&gt;
&lt;br /&gt;
Create the directory and link files&lt;br /&gt;
 # mkdir /usr/X11R6/lib/linux-flashplugin6&lt;br /&gt;
 # cd /usr/X11R6/lib/linux-flashplugin6&lt;br /&gt;
 # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt&lt;br /&gt;
 # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so&lt;br /&gt;
&lt;br /&gt;
Now hit 'Scan for new plugins'&lt;br /&gt;
&lt;br /&gt;
Now go and test it out.&lt;br /&gt;
&lt;br /&gt;
===Native Firefox===&lt;br /&gt;
&lt;br /&gt;
You will need to patch a file and compile it's all explained on this site:&lt;br /&gt;
&lt;br /&gt;
http://www.jail.se/freebsd.html&lt;br /&gt;
&lt;br /&gt;
Flash is currently usable under FreeBSD by installing the ports linux-flashplugin9 or linux-flashplugin7, linux-firefox and using linux-firefox for viewing flash content. However, flashplugin9 appears to be quite unstable resulting in frequent crashes. Therefore, using flashplugin7 is recommended instead of flashplugin9.&lt;br /&gt;
&lt;br /&gt;
===Linux Opera===&lt;br /&gt;
&lt;br /&gt;
I've noticed that some things work better under linux-opera than any other browser on FreeBSD.  For instance the Asterisk Flash Operator Panel will only work properlly under this port and YouTube works with sound and video under opera!&lt;br /&gt;
&lt;br /&gt;
All you should have to do is install it.  Opera will automatically use the libmap.conf file to find the flash libraries and load them.&lt;br /&gt;
 # pkg_add -r linux-opera&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
http://freebsd.kde.org/howtos/konqueror-flash.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category : FreeBSD Multimedia]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Runlevels</id>
		<title>Runlevels</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Runlevels"/>
				<updated>2007-04-12T18:22:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: reverted to 17:22, 1 August 2005&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==What's different?==&lt;br /&gt;
Linux runlevels define what services are available -- networking, GUI, etc. BSD runlevels define the system state -- what may be written or changed, kernel security, single user for fixing serious problems, etc. As such, BSD runlevels are used mostly for securing a server that's static (ie, once you've set everything up and nothing will need to be changed, you can bring the runlevel to 3 and no firewall rules or files will be changeable.) See man [[init]].&lt;br /&gt;
&lt;br /&gt;
==So how do I start stuff automagically?==&lt;br /&gt;
Linux startup scripts usually live in /etc/init.d/rc.X/ where the X is the particular runlevel. BSD runlevels don't have this granularity for different services starting in different system states -- it's on or it's off, there's no dimmer switch. BSD startup scripts usually live in /etc/rc.d/ or /usr/local/etc/rc.d/ and they'll usually take the same form of commands as their linux siblings:&lt;br /&gt;
 samizdata# '''/etc/rc.d/named start'''&lt;br /&gt;
on a BSD box will start up [[BIND]] [[DNS]] services, assuming the script is there and fully functional (which since it's the base system, it should be).&lt;br /&gt;
&lt;br /&gt;
Certain services can be started automatically by placing certain entries in the [[/etc/rc.conf]] file -- do a [[man]] rc.conf if you want to see what you can put in there. &lt;br /&gt;
&lt;br /&gt;
==Editorial -- why I think the BSD and Linux runlevels are different.==&lt;br /&gt;
Linux and BSD runlevels are vastly different, in part because of historical reasons (see [[SysV]] and [[BSD]]) and in part because of the very nature of BSD and Linux's origins. BSD started as a bunch of add-ons to AT&amp;amp;T Unix, so it had serious reasons to keep in line with Unix's [[SRV]] structures; Linux on the other hand, started as a way of getting a personal computer, a user or few users, a unix-like environment. Think of it as &amp;quot;business vs personal&amp;quot; use. So a lot of linux's differences from a more traditional unix were made from a pragmatic approach of &amp;quot;ok, how do we do this to make a sysadmin's life easier&amp;quot;. BSD approached the same goal but with more of a focus on keeping the system running and stable.&lt;br /&gt;
&lt;br /&gt;
So. No /etc/init.d/rc.d dirs because a BSD system's runlevels are there more for kernel and system security than for delineating what parts of the system are running. Linux runlevels say &amp;quot;in this runlevel, the network is up&amp;quot; or &amp;quot;in this runlevel, we're in single-user mode&amp;quot; or &amp;quot;in this runlevel, networking and X/GUI are running&amp;quot;. BSD runlevels say &amp;quot;single user, emergency fix it mode&amp;quot; or &amp;quot;system tuning, don't play around&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
See Dru Lavigne's excellent article at O'Reilly Network's ONLAMP: http://www.onlamp.com/pub/a/bsd/2004/11/11/FreeBSD_Basics.html&lt;br /&gt;
&lt;br /&gt;
[[Category: Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/OpenVPN</id>
		<title>OpenVPN</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/OpenVPN"/>
				<updated>2007-04-12T18:19:58Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: reverted to older version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://openvpn.sourceforge.net OpenVPN] is a very useful open source, cross platform Virtual Private Networking tool.  It uses SSL encryption (dynamic or 2048-bit static shared key), can use LZO stream compression, and is blindingly fast as well as much more secure compared to typical industry standard IPSEC + DES or IPSEC + 3DES solutions.  Better yet, it's so simple it can be run entirely from the command line.&lt;br /&gt;
&lt;br /&gt;
==Installing==&lt;br /&gt;
To build it on a FreeBSD machine, just:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/ports/security/openvpn&lt;br /&gt;
 make install clean&lt;br /&gt;
&lt;br /&gt;
it's that easy.  Actually doing anything with it will require a little more work.  There are many MANY ways to do this, but this one's useful, simple, and clean.&lt;br /&gt;
&lt;br /&gt;
First, generate yourself a private key file and '''chmod''' it so that only its owner can read it:&lt;br /&gt;
&lt;br /&gt;
 ph34r# '''openvpn --genkey --secret /usr/local/etc/openvpn.key'''&lt;br /&gt;
 ph34r# '''chmod 400 /usr/local/etc/openvpn.key'''&lt;br /&gt;
&lt;br /&gt;
==Starting OpenVPN==&lt;br /&gt;
Now you'll need a command to start it with.  It can be done purely from the command line - and in fact, in one sense, that's exactly what we're going to do - but to make our lives a little easier, we'll ''actually'' use command line stuff from a shell script in '''/usr/local/etc/rc.d'''.  So place this - or something similar - in your '''/usr/local/etc/rc.d''':&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 start)&lt;br /&gt;
        # VPN subnets are contained in 10.10.x.x / 255.255.0.0&lt;br /&gt;
        # port range forwarded through the router is 4900-4982 &lt;br /&gt;
  &lt;br /&gt;
        # first make sure the TAP module is loaded&lt;br /&gt;
        kldload if_tap &lt;br /&gt;
 &lt;br /&gt;
        # now ensure IP forwarding is enabled&lt;br /&gt;
        /sbin/sysctl -w net.inet.ip.forwarding=1&lt;br /&gt;
 &lt;br /&gt;
        # Now, make sure there are enough tun* / tap* devices in /dev&lt;br /&gt;
        cd /dev&lt;br /&gt;
        /bin/sh MAKEDEV tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9&lt;br /&gt;
 &lt;br /&gt;
        # Finally, open up for business.&lt;br /&gt;
        # A tunnel numbered [x] is configured as follows:&lt;br /&gt;
        # device tun[x], port (4900 + [x]), network 10.10.(10 + [x])&lt;br /&gt;
        # Client machine is always .2, server is always .1&lt;br /&gt;
 &lt;br /&gt;
        # note - ping-restart on server end with disconnected clients&lt;br /&gt;
        # seems to be the problem resulting in exhausted mbufs.  Trying&lt;br /&gt;
        # ping-restart on client end only and hoping for the best.&lt;br /&gt;
 &lt;br /&gt;
        # 0. Server side - dynamic VPN&lt;br /&gt;
        /usr/local/sbin/openvpn \&lt;br /&gt;
        --dev tap0 --port 4900 --ifconfig 10.10.10.1 255.255.255.252 \&lt;br /&gt;
        --tun-mtu 1500 --tun-mtu-extra 32 --mssfix 1450 --key-method 2 \&lt;br /&gt;
        --secret /usr/local/etc/openvpn.key --ping 1 &amp;amp;&lt;br /&gt;
 &lt;br /&gt;
 #        # 1a. Client side - persistent VPN&lt;br /&gt;
 #        /usr/local/sbin/openvpn \&lt;br /&gt;
 #                --dev tap1 \&lt;br /&gt;
 #                --remote ''ip_or_hostname.to.connect.to'' \&lt;br /&gt;
 #                --secret /usr/local/etc/openvpn.key \&lt;br /&gt;
 #                --key-method 2 \&lt;br /&gt;
 #                --port 4901 \&lt;br /&gt;
 #                --ifconfig 10.10.11.2 255.255.255.252 \&lt;br /&gt;
 #                --route 192.168.1.0 255.255.255.0 10.10.11.1 \&lt;br /&gt;
 #                --tun-mtu 1500 --tun-mtu-extra 32 \&lt;br /&gt;
 #                --fragment 1300 --mssfix \&lt;br /&gt;
 #                --persist-tun --persist-key --resolv-retry 86400 \&lt;br /&gt;
 #                --ping 10 --ping-restart 15 \&lt;br /&gt;
 #                --verb 4 --mute 10 &amp;amp;&lt;br /&gt;
 &lt;br /&gt;
        # 1b. Server side - persistent VPN&lt;br /&gt;
        /usr/local/sbin/openvpn \&lt;br /&gt;
                --dev tap1 \&lt;br /&gt;
                --secret /usr/local/etc/openvpn.key \&lt;br /&gt;
                --key-method 2 \&lt;br /&gt;
                --port 4901 \&lt;br /&gt;
                --ifconfig 10.10.11.1 255.255.255.252 \&lt;br /&gt;
                --route 192.168.1.0 255.255.255.0 10.10.11.2 \&lt;br /&gt;
                --tun-mtu 1500 --tun-mtu-extra 32 \&lt;br /&gt;
                --fragment 1300 --mssfix \&lt;br /&gt;
                --persist-tun --persist-key --resolv-retry 86400 \&lt;br /&gt;
                --ping 10 --ping-restart 15 \&lt;br /&gt;
                --verb 4 --mute 10 &amp;amp;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
        # end section&lt;br /&gt;
        ;;&lt;br /&gt;
 &lt;br /&gt;
 stop)&lt;br /&gt;
        killall openvpn&lt;br /&gt;
        ;;&lt;br /&gt;
 *)&lt;br /&gt;
        echo &amp;quot;Usage: `basename $0` {start|stop}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
        ;;&lt;br /&gt;
 esac&lt;br /&gt;
 &lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
Don't forget to '''chmod 755 /usr/local/etc/rc.d/openvpn.sh''' to make sure you can execute it.&lt;br /&gt;
&lt;br /&gt;
What you've got there is a setup (which can be started up or stopped like any other rc.d script - '''/usr/local/etc/rc.d/openvpn.sh start''' or '''stop''') which provides for two tunnels - one coming from a Windows machine, probably a laptop or something (labeled &amp;quot;dynamic VPN&amp;quot;; more on that in a minute) and one (labeled &amp;quot;persistent VPN&amp;quot;) from another BSD or other *nix machine.  &lt;br /&gt;
&lt;br /&gt;
All we'll do on the other *nix box is copy over the '''openvpn.key''' we created on this machine, copy over this same script, comment out the:&lt;br /&gt;
&lt;br /&gt;
* '''# 1b. Server side - persistent VPN''' section&lt;br /&gt;
* ''un''comment the '''# 1a. Client side - persistent VPN''' side&lt;br /&gt;
* and fire it up.  &lt;br /&gt;
&lt;br /&gt;
Once the scripts have been started on both machines (obviously you'll need a routeable IP address for at least the machine on the &amp;quot;server&amp;quot; side), presto, you've got a tunnel!&lt;br /&gt;
&lt;br /&gt;
Obviously this article is unfinished, but work beckons.  More later.&lt;br /&gt;
&lt;br /&gt;
[[Category:Ports and Packages]][[Category:Common Tasks]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation</id>
		<title>Installing FreeBSD - Standard Installation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation"/>
				<updated>2007-04-11T23:30:56Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: fixed order&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Installing FreeBSD (article originally based on i386 [[:Category : Architecture-Specific | architecture]] / version 4.7-RELEASE)'''&lt;br /&gt;
 &lt;br /&gt;
First things first, you need to make sure you've got FreeBSD available - preferably (for the purposes of this chapter) a burned CD of Disc 1 of a RELEASE snapshot.  If you don't already have one, you can get a RELEASE snapshot from the official FreeBSD ftp site or from a mirror - I would personally recommend that you check out the official mirror list and hit one near you.  Once you've got it, burn it, and we'll move on.  Note: we're assuming that this is a new FreeBSD install, and that you're installing it on a machine with a CD-ROM and a motherboard with BIOS capable of booting from CD-ROM.  We're also going to assume that FreeBSD is going to be the only OS on the machine, that you've got at least a 2 gig hard drive available, and you have 64MB of RAM installed.  While you can certainly install FreeBSD without a CD and on a considerably lesser machine than the one described, it will be a bit more difficult - and although I may eventually discuss overcoming those difficulties in another article, they're outside the scope of this one.&lt;br /&gt;
&lt;br /&gt;
This article was based on the i386 architecture, but is applicable largely to all architectures.  Important [[:Category:Architecture-Specific | architecture-specific]] notes are available [[Sparc - Installing FreeBSD | for installing FreeBSD on the Sparc architechture]].&lt;br /&gt;
&lt;br /&gt;
== Initial Kernel Configuration ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE: Kernel configuration during installation is no longer necessary applicable as of FreeBSD 5.0 and up.  If you are installing 5.x, the first thing you'll see after boot (and the section you should skip ahead to right now) is the sysinstall main interface..'''&lt;br /&gt;
&lt;br /&gt;
Before we actually install FreeBSD, you can save yourself a bit of time and trouble by cracking the case open and checking a couple of things out: namely, you want to know what kind of network card you're using, and what sorts of IDE or SCSI controllers you've got.   (If you're using IDE, don't sweat it - you really don't have but one option.)   For example, you might be using an SMC 1211 network card and an Adaptec 152x (or compatible) SCSI controller.  Whatever it is, try to figure it out now - it'll make our first real step easier.  Finally, make sure you know the TCP/IP settings the machine will need - IP address, subnet mask, nameserver address, and network gateway.&lt;br /&gt;
&lt;br /&gt;
Okay, so you've got your machine ready, you've set your BIOS to boot from CD-ROM, and you've stuck the CD in the drive and booted.  Now what?  After a bit, you'll get a prompt &amp;quot;press enter to boot&amp;quot;, which you can do, or you can wait a few seconds if you're lazy.  The first real chance to make a choice comes up next, and it looks like this:  &lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_kernelconfig.png ]]&lt;br /&gt;
&lt;br /&gt;
Start kernel configuration in full-screen visual mode, select &amp;quot;Storage&amp;quot;, and hit &amp;quot;Enter.&amp;quot;  This is what you'll see:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_storagedrivers.png]]&lt;br /&gt;
&lt;br /&gt;
Now you know why we identified our network and storage peripherals earlier: you're going to want to remove unnecessary stuff, while very carefully NOT removing anything you actually use.  Most folks will be using the ATA/ATAPI compatible disk controllers (one for each of your motherboard's two on-board IDE controllers), and the Floppy disk controller.  I personally also leave the Buslogic SCSI controller, which may or may not be necessary on IDE-only systems - one of these days I'll even get experimental and actually find out.&lt;br /&gt;
&lt;br /&gt;
Once you're done deleting unused storage drivers, highlight Network and hit enter.  You'll see a whole bunch of possible network cards in here - one of which may or may not be your network card type.  If you don't see your card in there, DON'T PANIC!  It's probably built into the kernel anyway, and just isn't one of your options to remove from this screen.  The network card in the machine above is an SiS 900 chipset onboard, which is NOT listed in the Network section - so I deleted EVERYTHING out of the section.  Which is fine - just make sure you DON'T get rid of the driver for your own NIC, if it's in there.  If in doubt, at least leave the NE2000 compatible - it'll pick up just about anything else not explicitly covered with its own driver.&lt;br /&gt;
&lt;br /&gt;
Continuing down to Communications, I personally get rid of everything - I personally haven't got the faintest use for TCP/IP over a parallel cable or a serial cable.   Most likely, you don't either.  You may get rid of these entries, or leave them in, at your own discretion.  Once you're done with that, Input, Multimedia and Miscellaneous don't have anything in them really worth getting rid of at this point, so hit &amp;quot;Q&amp;quot; and let's move on!&lt;br /&gt;
&lt;br /&gt;
After you see a couple messages about starting up holographic shells and such-like, you'll be presented with the sysinstall main interface, which looks like this:&lt;br /&gt;
&lt;br /&gt;
== Sysinstall main interface ==&lt;br /&gt;
&lt;br /&gt;
In newer versions of FreeBSD you will be presented with a menu choosing Country and System Console Keymap, choose something appropriate after that you will see the sysinstall main menu.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_sysinstallmain.png]]&lt;br /&gt;
&lt;br /&gt;
I don't particularly recommend the Express install unless you really know what you're doing - it'll work, but it'll leave you with some GAPING problems requiring immediate fixing.  So let's go with Standard, and get cracking!&lt;br /&gt;
&lt;br /&gt;
The first thing FreeBSD wants to do is partition (or re-partition) your hard drive.   After hitting &amp;quot;enter&amp;quot; to the splash screen that tells you this and gives you a bit of detail about the process, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_partitioning.png]]&lt;br /&gt;
&lt;br /&gt;
Since we're devoting the entire hard drive to FreeBSD (what's the point of a dual-booting SERVER, anyway?), we don't really have to worry about what's on there already - in this case, an old FreeBSD installation, in your case, probably an old Windows installation.  All we really need to do here is hit &amp;quot;A&amp;quot; to tell FreeBSD that we want to make one single partition that uses all of the available drive space.   Once you've done that, hit &amp;quot;Q&amp;quot; to save your changes and move on.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_bootmanager.png]]&lt;br /&gt;
&lt;br /&gt;
Keeping this short and sweet, since we're installing FreeBSD as a standalone OS on this system, we DON'T want to futz around with the default choice, BootMgr.   Instead, we want Standard - don't bug me when I turn on the system, just boot!  Highlight it, and hit &amp;quot;enter&amp;quot;.  Things are about to get a little more interesting...&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slicesplash.png]]&lt;br /&gt;
&lt;br /&gt;
Now, while the splash screen for the slice manager tells you that you can safely hit &amp;quot;Auto&amp;quot; if you have a mere 200MB of space available, I'm going to tell you flat out that baby, it just ain't so.  If you've got a tiny drive or a really miniscule amount of RAM, the defaults picked by Auto aren't going to work very well, and may in fact cripple your system badly enough to need reinstallation.  Once again, while you can certainly install FreeBSD on less, it's a touchier procedure, and beyond the scope of this article.  But hey, that's why we made sure we had at least 64MB and 2GB to work with, right?  ... Right?  OK, moving on:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slices.png]]&lt;br /&gt;
&lt;br /&gt;
OK, this is where you make slices in your partition to store various essential bits of the OS and your data.  Since this is a simple install and - must I stress it again? - you have at least 64MB and 2GB to work with, we're not going to dabble about in this.  Just hit &amp;quot;A&amp;quot; for Auto Defaults, and it will slice up the partition like a sushi chef, leaving you with 128MB for / (the root directory), about double your RAM size for the swap, 256MB apiece for /tmp and /var, and the remainder of the partition allocated to /usr.   You may want to consult [[Hard Disk Partition Sizes]] for a review of what might be placed on these different partitions. Dandy!  Hit &amp;quot;Q&amp;quot; to save your changes, and we'll keep this thing rolling right along.&lt;br /&gt;
&lt;br /&gt;
Now you get to choose what install you want, for a server Kern-Developer is probably the best way to go. If you want X you can install X-Kern-Developer instead.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_choosedist.png]]&lt;br /&gt;
&lt;br /&gt;
So what is this ports thing? Well i just say it's almost a must it's were all third part programs are installed from so that's a Yes. For more information about ports see [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Installing Applications: Packages and Ports].&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_ports.png]]&lt;br /&gt;
&lt;br /&gt;
Now it's time do decide where to install FreeBSD from, if you downloaded the full disc 1 choose CD/DVD and hit enter. If you downloaded the boot-only cd you probably want to select ftp here. If you choose ftp you will be presented with a list of mirrors, choose one close to you.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_selectmedia.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, the system is going to want to configure network interfaces. You'll see something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_interfaces.png]]&lt;br /&gt;
&lt;br /&gt;
Generally, the top entry is your network card, which is what we want to configure at this stage.  (Modem users may have a different take on things - and we're not going to get into PPP configuration here.  For now, we're assuming that you DO want to configure a NIC and DON'T want to configure a modem.)  Common network interfaces are sis0, rl0, ed0, xl0, and pn0, among others - the important bit is, they're generally all going to say &amp;quot;ethernet card&amp;quot; on the tag end of the description.  If you DON'T have an ethernet card listed here, you're in trouble - most likely, you deleted out the driver for your NIC during kernel configuration.  If you continue to have problems at this point, you might want to consider NOT deleting ANY network interfaces out of your kernel config - generally speaking, having support for the extra interfaces built into your kernel won't typically hurt anything.&lt;br /&gt;
&lt;br /&gt;
The next thing it's going to want to know is if you'd like to configure IPv6.   I'll put it to you this way - unless you already know perfectly well that you want and need IPv6 right now, no, you don't want to.  And in particular, if you don't know what IPv6 is, select no!  The next thing it wants to know is if you'd like to try DHCP configuration of the interface.  For the purposes of these articles, you do not want to attempt DHCP - if the machine is going to be a server, it's going to need a static IP address.  So no DHCP for you!  Next, it will bring up an IPv4 configuration screen for the interface:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_network.png]]&lt;br /&gt;
&lt;br /&gt;
If you didn't use DHCP - and you didn't, right? - you'll need to fill out all of the information on the screen except &amp;quot;Extra options to ifconfig&amp;quot;.   &amp;quot;Host&amp;quot; will be the name you want to christen this server with.   &amp;quot;Domain&amp;quot; is a little trickier - if you DON'T have a pre-existing domain name server assigning DNS records to point at IP addresses on your local network (and if you don't know the answer to this, you almost certainly don't) then you'll need to make up a local domain.  I strongly suggest doing so using .local for the top level domain - ie, my private network is named tehinterweb.local, as you can see above.   The advantage to doing this is that you are absolutely guaranteed that you aren't using the same domain name as a real domain somewhere out there on the public internet, and you'll know at a glance whether you're looking at internal or external DNS stuff, potentially saving you a lot of confusion down the road.  Once you've got the Domain field filled out, sysinstall will automatically append it to your hostname - so proof became proof.tehinterweb.local in our example above.&lt;br /&gt;
&lt;br /&gt;
Later on in another article, we'll discuss setting up BIND so that other computers on your network will know where yourhost.yourdomainname.local is, and how to set up DNS records for those other computers and/or network devices too - but for right now, we're done with this screen, and it's time to select OK and move on. As soon as you hit OK, it'll immediately start moving data:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_extracting.png]]&lt;br /&gt;
&lt;br /&gt;
All we're actually installing right now is the base system, so this shouldn't take but a minute or two.  Once it's done, you'll get a congratulatory little message about having installed FreeBSD on your system, and once you've hit enter, things will get interesting again!  It will ask you a series of questions about how to configure your machine - if you want to function as a network gateway, if you want to configure inetd, if you want anonymous FTP access, if you want to be an NFS server, if you want to be an NFS client, and if you want to use a default security profile.  For right now, the answer to all these questions is &amp;quot;no&amp;quot;.  Yes, even if you really do want to run NFS later.  Trust me on this one - for right now, just get the OS installed; you can get fancy later once you've actually got it working.  Once you're done with the &amp;quot;no, no, no, no, no, and no&amp;quot; you'll get a splash screen telling you a bit about the &amp;quot;moderate&amp;quot; security settings that you got by answering &amp;quot;no&amp;quot; to the default security profile and warning you that security breaches are like forest fires; only YOU can stop them.  Great.  Hit enter, and we're back to telling it no again: we don't want to change the console settings.  However, we DO want to set the machine's time zone, so tell it so, tell it the CMOS clock isn't set to UTC, and pick a continent, a region, and a time zone.  (Note: the page down and page up keys DO work on these menus, and since they're alphabetized, they'll come in quite handy for those of us from the United States, as well as the Venezuelans in the crowd.)&lt;br /&gt;
&lt;br /&gt;
Once you've picked a zone and confirmed that it looks reasonable, you'll be asked if you want to enable Linux binary compatibility.  For now, the answer is &amp;quot;no&amp;quot; - if you want Linux binaries at a later date, you can always come back and install this module then.  These articles are going to focus heavily on using the ports tree to compile all your own applications as native FreeBSD binaries from source code, though, so it's unnecessary for now.&lt;br /&gt;
&lt;br /&gt;
Next, you'll get asked if you've got a non-USB mouse attached to the system.   Answer the nice computer, and move right on along - presuming the answer is &amp;quot;yes&amp;quot;, you'll get a chance to test and enable the mouse daemon.  Test it, see if the arrow makes nice wigglies when you move the mouse (it won't do anything when you click, so don't worry about that), and click &amp;quot;Enable&amp;quot; if it did or &amp;quot;Cancel&amp;quot; if it didn't.  If the mouse didn't work, DON'T sweat it - you're using a command-driven operating system, here, and if you're following along with these articles, you're going to be learning how to live at the command line and like it.  So if the mouse doesn't seem to want to work, file it under &amp;quot;stuff to worry about some other day&amp;quot; and move right on along.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_packages.png]]&lt;br /&gt;
&lt;br /&gt;
This popup gets its own screenshot because you do not, repeat, do NOT want to browse the package collection right now.  Once again, we're here to install FreeBSD right now, not put a bunch of apps on it - that comes later.  Be warned, if you decide to ignore me and go play through the packages collection right now anyway, you can easily screw up your installation.   There are thousands of things in packages ranging from &amp;quot;nifty&amp;quot; to &amp;quot;inadvisable&amp;quot;, none of which are described in enough detail in the packages menu to choose if you don't already know what they are before going in there.   Finally, this is NOT the only time you'll ever be able to use that menu to install packages - you can return to it at any time once you've finished installing the OS.   So please, please, don't make life difficult - select &amp;quot;No&amp;quot; and KEEP MOVING!&lt;br /&gt;
&lt;br /&gt;
The next thing sysinstall wants to know is if you'd like to add another user account to the system.  Yes, you would!  Not only is logging in as root extremely insecure, if you do not have another user account on the system, you will not be able to remote control it.  So tell it &amp;quot;yes&amp;quot;, tell it you want to add another User to the system, and here we are:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_adduser.png ]]&lt;br /&gt;
&lt;br /&gt;
There are a few things worth noting on this screen.  UID is filled out for you (and shouldn't be changed unless you know what you're doing), Full name defaults to &amp;quot;User &amp;amp;&amp;quot; and is utterly unimportant (it's just a &amp;quot;comment&amp;quot; field) and Home directory defaults to /home/[whatever you put for Login ID], but the rest needs to be filled out and/or changed.  In particular, make sure that you enter wheel in the Group field so that you will be able to assume root privileges using this account, and that you change your Login shell from /bin/sh to /bin/csh.   (Linux expatriates, [[bash]] isn't available right now - you can install it from ports when we're done, but in the meantime, the [[c shell]], /bin/csh is what you want.)  The default shell is extremely painful to work with, so don't forget to do this!  Once you're done, highlight &amp;quot;OK&amp;quot; and hit enter, highlight &amp;quot;Exit&amp;quot; and hit enter in the next screen, and you'll be prompted to set the root password.  Do so, tell it you don't need to visit the general configuration menu to set any last options, and you'll be back at the sysinstall main menu - and when you select &amp;quot;Exit Install&amp;quot;, the system will reboot into FreeBSD!&lt;br /&gt;
&lt;br /&gt;
[[Category : Installation]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation</id>
		<title>Installing FreeBSD - Standard Installation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation"/>
				<updated>2007-04-11T23:06:08Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: added images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Installing FreeBSD (article originally based on i386 [[:Category : Architecture-Specific | architecture]] / version 4.7-RELEASE)'''&lt;br /&gt;
 &lt;br /&gt;
First things first, you need to make sure you've got FreeBSD available - preferably (for the purposes of this chapter) a burned CD of Disc 1 of a RELEASE snapshot.  If you don't already have one, you can get a RELEASE snapshot from the official FreeBSD ftp site or from a mirror - I would personally recommend that you check out the official mirror list and hit one near you.  Once you've got it, burn it, and we'll move on.  Note: we're assuming that this is a new FreeBSD install, and that you're installing it on a machine with a CD-ROM and a motherboard with BIOS capable of booting from CD-ROM.  We're also going to assume that FreeBSD is going to be the only OS on the machine, that you've got at least a 2 gig hard drive available, and you have 64MB of RAM installed.  While you can certainly install FreeBSD without a CD and on a considerably lesser machine than the one described, it will be a bit more difficult - and although I may eventually discuss overcoming those difficulties in another article, they're outside the scope of this one.&lt;br /&gt;
&lt;br /&gt;
This article was based on the i386 architecture, but is applicable largely to all architectures.  Important [[:Category:Architecture-Specific | architecture-specific]] notes are available [[Sparc - Installing FreeBSD | for installing FreeBSD on the Sparc architechture]].&lt;br /&gt;
&lt;br /&gt;
== Initial Kernel Configuration ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE: Kernel configuration during installation is no longer necessary applicable as of FreeBSD 5.0 and up.  If you are installing 5.x, the first thing you'll see after boot (and the section you should skip ahead to right now) is the sysinstall main interface..'''&lt;br /&gt;
&lt;br /&gt;
Before we actually install FreeBSD, you can save yourself a bit of time and trouble by cracking the case open and checking a couple of things out: namely, you want to know what kind of network card you're using, and what sorts of IDE or SCSI controllers you've got.   (If you're using IDE, don't sweat it - you really don't have but one option.)   For example, you might be using an SMC 1211 network card and an Adaptec 152x (or compatible) SCSI controller.  Whatever it is, try to figure it out now - it'll make our first real step easier.  Finally, make sure you know the TCP/IP settings the machine will need - IP address, subnet mask, nameserver address, and network gateway.&lt;br /&gt;
&lt;br /&gt;
Okay, so you've got your machine ready, you've set your BIOS to boot from CD-ROM, and you've stuck the CD in the drive and booted.  Now what?  After a bit, you'll get a prompt &amp;quot;press enter to boot&amp;quot;, which you can do, or you can wait a few seconds if you're lazy.  The first real chance to make a choice comes up next, and it looks like this:  &lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_kernelconfig.png ]]&lt;br /&gt;
&lt;br /&gt;
Start kernel configuration in full-screen visual mode, select &amp;quot;Storage&amp;quot;, and hit &amp;quot;Enter.&amp;quot;  This is what you'll see:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_storagedrivers.png]]&lt;br /&gt;
&lt;br /&gt;
Now you know why we identified our network and storage peripherals earlier: you're going to want to remove unnecessary stuff, while very carefully NOT removing anything you actually use.  Most folks will be using the ATA/ATAPI compatible disk controllers (one for each of your motherboard's two on-board IDE controllers), and the Floppy disk controller.  I personally also leave the Buslogic SCSI controller, which may or may not be necessary on IDE-only systems - one of these days I'll even get experimental and actually find out.&lt;br /&gt;
&lt;br /&gt;
Once you're done deleting unused storage drivers, highlight Network and hit enter.  You'll see a whole bunch of possible network cards in here - one of which may or may not be your network card type.  If you don't see your card in there, DON'T PANIC!  It's probably built into the kernel anyway, and just isn't one of your options to remove from this screen.  The network card in the machine above is an SiS 900 chipset onboard, which is NOT listed in the Network section - so I deleted EVERYTHING out of the section.  Which is fine - just make sure you DON'T get rid of the driver for your own NIC, if it's in there.  If in doubt, at least leave the NE2000 compatible - it'll pick up just about anything else not explicitly covered with its own driver.&lt;br /&gt;
&lt;br /&gt;
Continuing down to Communications, I personally get rid of everything - I personally haven't got the faintest use for TCP/IP over a parallel cable or a serial cable.   Most likely, you don't either.  You may get rid of these entries, or leave them in, at your own discretion.  Once you're done with that, Input, Multimedia and Miscellaneous don't have anything in them really worth getting rid of at this point, so hit &amp;quot;Q&amp;quot; and let's move on!&lt;br /&gt;
&lt;br /&gt;
After you see a couple messages about starting up holographic shells and such-like, you'll be presented with the sysinstall main interface, which looks like this:&lt;br /&gt;
&lt;br /&gt;
== Sysinstall main interface ==&lt;br /&gt;
&lt;br /&gt;
In newer versions of FreeBSD you will be presented with a menu choosing Country and System Console Keymap, choose something appropriate after that you will see the sysinstall main menu.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_sysinstallmain.png]]&lt;br /&gt;
&lt;br /&gt;
I don't particularly recommend the Express install unless you really know what you're doing - it'll work, but it'll leave you with some GAPING problems requiring immediate fixing.  So let's go with Standard, and get cracking!&lt;br /&gt;
&lt;br /&gt;
The first thing FreeBSD wants to do is partition (or re-partition) your hard drive.   After hitting &amp;quot;enter&amp;quot; to the splash screen that tells you this and gives you a bit of detail about the process, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_partitioning.png]]&lt;br /&gt;
&lt;br /&gt;
Since we're devoting the entire hard drive to FreeBSD (what's the point of a dual-booting SERVER, anyway?), we don't really have to worry about what's on there already - in this case, an old FreeBSD installation, in your case, probably an old Windows installation.  All we really need to do here is hit &amp;quot;A&amp;quot; to tell FreeBSD that we want to make one single partition that uses all of the available drive space.   Once you've done that, hit &amp;quot;Q&amp;quot; to save your changes and move on.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_bootmanager.png]]&lt;br /&gt;
&lt;br /&gt;
Keeping this short and sweet, since we're installing FreeBSD as a standalone OS on this system, we DON'T want to futz around with the default choice, BootMgr.   Instead, we want Standard - don't bug me when I turn on the system, just boot!  Highlight it, and hit &amp;quot;enter&amp;quot;.  Things are about to get a little more interesting...&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slicesplash.png]]&lt;br /&gt;
&lt;br /&gt;
Now, while the splash screen for the slice manager tells you that you can safely hit &amp;quot;Auto&amp;quot; if you have a mere 200MB of space available, I'm going to tell you flat out that baby, it just ain't so.  If you've got a tiny drive or a really miniscule amount of RAM, the defaults picked by Auto aren't going to work very well, and may in fact cripple your system badly enough to need reinstallation.  Once again, while you can certainly install FreeBSD on less, it's a touchier procedure, and beyond the scope of this article.  But hey, that's why we made sure we had at least 64MB and 2GB to work with, right?  ... Right?  OK, moving on:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slices.png]]&lt;br /&gt;
&lt;br /&gt;
OK, this is where you make slices in your partition to store various essential bits of the OS and your data.  Since this is a simple install and - must I stress it again? - you have at least 64MB and 2GB to work with, we're not going to dabble about in this.  Just hit &amp;quot;A&amp;quot; for Auto Defaults, and it will slice up the partition like a sushi chef, leaving you with 128MB for / (the root directory), about double your RAM size for the swap, 256MB apiece for /tmp and /var, and the remainder of the partition allocated to /usr.   You may want to consult [[Hard Disk Partition Sizes]] for a review of what might be placed on these different partitions. Dandy!  Hit &amp;quot;Q&amp;quot; to save your changes, and we'll keep this thing rolling right along.&lt;br /&gt;
&lt;br /&gt;
Now you get to choose what install you want, for a server Kern-Developer is probably the best way to go. If you want X you can install X-Kern-Developer instead.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_choosedist.png]]&lt;br /&gt;
&lt;br /&gt;
So what is this ports thing? Well i just say it's almost a must it's were all third part programs are installed from so that's a Yes. For mor information about ports see [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Installing Applications: Packages and Ports].&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_ports.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, the system is going to want to configure network interfaces.   Depending on how much you did or didn't delete out of the kernel config area, you'll see something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_interfaces.png]]&lt;br /&gt;
&lt;br /&gt;
Generally, the top entry is your network card, which is what we want to configure at this stage.  (Modem users may have a different take on things - and we're not going to get into PPP configuration here.  For now, we're assuming that you DO want to configure a NIC and DON'T want to configure a modem.)  Common network interfaces are sis0, rl0, ed0, xl0, and pn0, among others - the important bit is, they're generally all going to say &amp;quot;ethernet card&amp;quot; on the tag end of the description.  If you DON'T have an ethernet card listed here, you're in trouble - most likely, you deleted out the driver for your NIC during kernel configuration.  If you continue to have problems at this point, you might want to consider NOT deleting ANY network interfaces out of your kernel config - generally speaking, having support for the extra interfaces built into your kernel won't typically hurt anything.&lt;br /&gt;
&lt;br /&gt;
The next thing it's going to want to know is if you'd like to configure IPv6.   I'll put it to you this way - unless you already know perfectly well that you want and need IPv6 right now, no, you don't want to.  And in particular, if you don't know what IPv6 is, select no!  The next thing it wants to know is if you'd like to try DHCP configuration of the interface.  For the purposes of these articles, you do not want to attempt DHCP - if the machine is going to be a server, it's going to need a static IP address.  So no DHCP for you!  Next, it will bring up an IPv4 configuration screen for the interface:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_network.png]]&lt;br /&gt;
&lt;br /&gt;
If you didn't use DHCP - and you didn't, right? - you'll need to fill out all of the information on the screen except &amp;quot;Extra options to ifconfig&amp;quot;.   &amp;quot;Host&amp;quot; will be the name you want to christen this server with.   &amp;quot;Domain&amp;quot; is a little trickier - if you DON'T have a pre-existing domain name server assigning DNS records to point at IP addresses on your local network (and if you don't know the answer to this, you almost certainly don't) then you'll need to make up a local domain.  I strongly suggest doing so using .local for the top level domain - ie, my private network is named tehinterweb.local, as you can see above.   The advantage to doing this is that you are absolutely guaranteed that you aren't using the same domain name as a real domain somewhere out there on the public internet, and you'll know at a glance whether you're looking at internal or external DNS stuff, potentially saving you a lot of confusion down the road.  Once you've got the Domain field filled out, sysinstall will automatically append it to your hostname - so proof became proof.tehinterweb.local in our example above.&lt;br /&gt;
&lt;br /&gt;
Later on in another article, we'll discuss setting up BIND so that other computers on your network will know where yourhost.yourdomainname.local is, and how to set up DNS records for those other computers and/or network devices too - but for right now, we're done with this screen, and it's time to select OK and move on.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_selectmedia.png]]&lt;br /&gt;
&lt;br /&gt;
Hopefully, you don't need me to tell you to highlight CD/DVD and hit enter on this media selection screen.  It's worth noting that VERY occasionally, you may run into a system in which FreeBSD has trouble identifying the CD-ROM drive at this point, even though it booted off of it - this generally has something to do with the type of emulation the motherboard and/or the CD-ROM itself uses for CD-ROM boots.  If you have problems here, you can try swapping the CD-ROM drive to another IDE channel as a standalone master, trying a completely different CD-ROM drive, or - if you've got a broadband connection and an hour or three to kill - installing from FTP.  But most likely, as soon as you hit OK, it'll immediately start moving data:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_extracting.png]]&lt;br /&gt;
&lt;br /&gt;
All we're actually installing right now is the base system, so this shouldn't take but a minute or two.  Once it's done, you'll get a congratulatory little message about having installed FreeBSD on your system, and once you've hit enter, things will get interesting again!  It will ask you a series of questions about how to configure your machine - if you want to function as a network gateway, if you want to configure inetd, if you want anonymous FTP access, if you want to be an NFS server, if you want to be an NFS client, and if you want to use a default security profile.  For right now, the answer to all these questions is &amp;quot;no&amp;quot;.  Yes, even if you really do want to run NFS later.  Trust me on this one - for right now, just get the OS installed; you can get fancy later once you've actually got it working.  Once you're done with the &amp;quot;no, no, no, no, no, and no&amp;quot; you'll get a splash screen telling you a bit about the &amp;quot;moderate&amp;quot; security settings that you got by answering &amp;quot;no&amp;quot; to the default security profile and warning you that security breaches are like forest fires; only YOU can stop them.  Great.  Hit enter, and we're back to telling it no again: we don't want to change the console settings.  However, we DO want to set the machine's time zone, so tell it so, tell it the CMOS clock isn't set to UTC, and pick a continent, a region, and a time zone.  (Note: the page down and page up keys DO work on these menus, and since they're alphabetized, they'll come in quite handy for those of us from the United States, as well as the Venezuelans in the crowd.)&lt;br /&gt;
&lt;br /&gt;
Once you've picked a zone and confirmed that it looks reasonable, you'll be asked if you want to enable Linux binary compatibility.  For now, the answer is &amp;quot;no&amp;quot; - if you want Linux binaries at a later date, you can always come back and install this module then.  These articles are going to focus heavily on using the ports tree to compile all your own applications as native FreeBSD binaries from source code, though, so it's unnecessary for now.&lt;br /&gt;
&lt;br /&gt;
Next, you'll get asked if you've got a non-USB mouse attached to the system.   Answer the nice computer, and move right on along - presuming the answer is &amp;quot;yes&amp;quot;, you'll get a chance to test and enable the mouse daemon.  Test it, see if the arrow makes nice wigglies when you move the mouse (it won't do anything when you click, so don't worry about that), and click &amp;quot;Enable&amp;quot; if it did or &amp;quot;Cancel&amp;quot; if it didn't.  If the mouse didn't work, DON'T sweat it - you're using a command-driven operating system, here, and if you're following along with these articles, you're going to be learning how to live at the command line and like it.  So if the mouse doesn't seem to want to work, file it under &amp;quot;stuff to worry about some other day&amp;quot; and move right on along.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_packages.png]]&lt;br /&gt;
&lt;br /&gt;
This popup gets its own screenshot because you do not, repeat, do NOT want to browse the package collection right now.  Once again, we're here to install FreeBSD right now, not put a bunch of apps on it - that comes later.  Be warned, if you decide to ignore me and go play through the packages collection right now anyway, you can easily screw up your installation.   There are thousands of things in packages ranging from &amp;quot;nifty&amp;quot; to &amp;quot;inadvisable&amp;quot;, none of which are described in enough detail in the packages menu to choose if you don't already know what they are before going in there.   Finally, this is NOT the only time you'll ever be able to use that menu to install packages - you can return to it at any time once you've finished installing the OS.   So please, please, don't make life difficult - select &amp;quot;No&amp;quot; and KEEP MOVING!&lt;br /&gt;
&lt;br /&gt;
The next thing sysinstall wants to know is if you'd like to add another user account to the system.  Yes, you would!  Not only is logging in as root extremely insecure, if you do not have another user account on the system, you will not be able to remote control it.  So tell it &amp;quot;yes&amp;quot;, tell it you want to add another User to the system, and here we are:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_adduser.png ]]&lt;br /&gt;
&lt;br /&gt;
There are a few things worth noting on this screen.  UID is filled out for you (and shouldn't be changed unless you know what you're doing), Full name defaults to &amp;quot;User &amp;amp;&amp;quot; and is utterly unimportant (it's just a &amp;quot;comment&amp;quot; field) and Home directory defaults to /home/[whatever you put for Login ID], but the rest needs to be filled out and/or changed.  In particular, make sure that you enter wheel in the Group field so that you will be able to assume root privileges using this account, and that you change your Login shell from /bin/sh to /bin/csh.   (Linux expatriates, [[bash]] isn't available right now - you can install it from ports when we're done, but in the meantime, the [[c shell]], /bin/csh is what you want.)  The default shell is extremely painful to work with, so don't forget to do this!  Once you're done, highlight &amp;quot;OK&amp;quot; and hit enter, highlight &amp;quot;Exit&amp;quot; and hit enter in the next screen, and you'll be prompted to set the root password.  Do so, tell it you don't need to visit the general configuration menu to set any last options, and you'll be back at the sysinstall main menu - and when you select &amp;quot;Exit Install&amp;quot;, the system will reboot into FreeBSD!&lt;br /&gt;
&lt;br /&gt;
[[Category : Installation]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/File:Installation_ports.png</id>
		<title>File:Installation ports.png</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/File:Installation_ports.png"/>
				<updated>2007-04-11T23:04:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation</id>
		<title>Installing FreeBSD - Standard Installation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_-_Standard_Installation"/>
				<updated>2007-04-11T22:58:46Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: updating with installation type and so on&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Installing FreeBSD (article originally based on i386 [[:Category : Architecture-Specific | architecture]] / version 4.7-RELEASE)'''&lt;br /&gt;
 &lt;br /&gt;
First things first, you need to make sure you've got FreeBSD available - preferably (for the purposes of this chapter) a burned CD of Disc 1 of a RELEASE snapshot.  If you don't already have one, you can get a RELEASE snapshot from the official FreeBSD ftp site or from a mirror - I would personally recommend that you check out the official mirror list and hit one near you.  Once you've got it, burn it, and we'll move on.  Note: we're assuming that this is a new FreeBSD install, and that you're installing it on a machine with a CD-ROM and a motherboard with BIOS capable of booting from CD-ROM.  We're also going to assume that FreeBSD is going to be the only OS on the machine, that you've got at least a 2 gig hard drive available, and you have 64MB of RAM installed.  While you can certainly install FreeBSD without a CD and on a considerably lesser machine than the one described, it will be a bit more difficult - and although I may eventually discuss overcoming those difficulties in another article, they're outside the scope of this one.&lt;br /&gt;
&lt;br /&gt;
This article was based on the i386 architecture, but is applicable largely to all architectures.  Important [[:Category:Architecture-Specific | architecture-specific]] notes are available [[Sparc - Installing FreeBSD | for installing FreeBSD on the Sparc architechture]].&lt;br /&gt;
&lt;br /&gt;
== Initial Kernel Configuration ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE: Kernel configuration during installation is no longer necessary applicable as of FreeBSD 5.0 and up.  If you are installing 5.x, the first thing you'll see after boot (and the section you should skip ahead to right now) is the sysinstall main interface..'''&lt;br /&gt;
&lt;br /&gt;
Before we actually install FreeBSD, you can save yourself a bit of time and trouble by cracking the case open and checking a couple of things out: namely, you want to know what kind of network card you're using, and what sorts of IDE or SCSI controllers you've got.   (If you're using IDE, don't sweat it - you really don't have but one option.)   For example, you might be using an SMC 1211 network card and an Adaptec 152x (or compatible) SCSI controller.  Whatever it is, try to figure it out now - it'll make our first real step easier.  Finally, make sure you know the TCP/IP settings the machine will need - IP address, subnet mask, nameserver address, and network gateway.&lt;br /&gt;
&lt;br /&gt;
Okay, so you've got your machine ready, you've set your BIOS to boot from CD-ROM, and you've stuck the CD in the drive and booted.  Now what?  After a bit, you'll get a prompt &amp;quot;press enter to boot&amp;quot;, which you can do, or you can wait a few seconds if you're lazy.  The first real chance to make a choice comes up next, and it looks like this:  &lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_kernelconfig.png ]]&lt;br /&gt;
&lt;br /&gt;
Start kernel configuration in full-screen visual mode, select &amp;quot;Storage&amp;quot;, and hit &amp;quot;Enter.&amp;quot;  This is what you'll see:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_storagedrivers.png]]&lt;br /&gt;
&lt;br /&gt;
Now you know why we identified our network and storage peripherals earlier: you're going to want to remove unnecessary stuff, while very carefully NOT removing anything you actually use.  Most folks will be using the ATA/ATAPI compatible disk controllers (one for each of your motherboard's two on-board IDE controllers), and the Floppy disk controller.  I personally also leave the Buslogic SCSI controller, which may or may not be necessary on IDE-only systems - one of these days I'll even get experimental and actually find out.&lt;br /&gt;
&lt;br /&gt;
Once you're done deleting unused storage drivers, highlight Network and hit enter.  You'll see a whole bunch of possible network cards in here - one of which may or may not be your network card type.  If you don't see your card in there, DON'T PANIC!  It's probably built into the kernel anyway, and just isn't one of your options to remove from this screen.  The network card in the machine above is an SiS 900 chipset onboard, which is NOT listed in the Network section - so I deleted EVERYTHING out of the section.  Which is fine - just make sure you DON'T get rid of the driver for your own NIC, if it's in there.  If in doubt, at least leave the NE2000 compatible - it'll pick up just about anything else not explicitly covered with its own driver.&lt;br /&gt;
&lt;br /&gt;
Continuing down to Communications, I personally get rid of everything - I personally haven't got the faintest use for TCP/IP over a parallel cable or a serial cable.   Most likely, you don't either.  You may get rid of these entries, or leave them in, at your own discretion.  Once you're done with that, Input, Multimedia and Miscellaneous don't have anything in them really worth getting rid of at this point, so hit &amp;quot;Q&amp;quot; and let's move on!&lt;br /&gt;
&lt;br /&gt;
After you see a couple messages about starting up holographic shells and such-like, you'll be presented with the sysinstall main interface, which looks like this:&lt;br /&gt;
&lt;br /&gt;
== Sysinstall main interface ==&lt;br /&gt;
&lt;br /&gt;
In newer versions of FreeBSD you will be presented with a menu choosing Country and System Console Keymap, choose something appropriate after that you will see the sysinstall main menu.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_sysinstallmain.png]]&lt;br /&gt;
&lt;br /&gt;
I don't particularly recommend the Express install unless you really know what you're doing - it'll work, but it'll leave you with some GAPING problems requiring immediate fixing.  So let's go with Standard, and get cracking!&lt;br /&gt;
&lt;br /&gt;
The first thing FreeBSD wants to do is partition (or re-partition) your hard drive.   After hitting &amp;quot;enter&amp;quot; to the splash screen that tells you this and gives you a bit of detail about the process, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_partitioning.png]]&lt;br /&gt;
&lt;br /&gt;
Since we're devoting the entire hard drive to FreeBSD (what's the point of a dual-booting SERVER, anyway?), we don't really have to worry about what's on there already - in this case, an old FreeBSD installation, in your case, probably an old Windows installation.  All we really need to do here is hit &amp;quot;A&amp;quot; to tell FreeBSD that we want to make one single partition that uses all of the available drive space.   Once you've done that, hit &amp;quot;Q&amp;quot; to save your changes and move on.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_bootmanager.png]]&lt;br /&gt;
&lt;br /&gt;
Keeping this short and sweet, since we're installing FreeBSD as a standalone OS on this system, we DON'T want to futz around with the default choice, BootMgr.   Instead, we want Standard - don't bug me when I turn on the system, just boot!  Highlight it, and hit &amp;quot;enter&amp;quot;.  Things are about to get a little more interesting...&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slicesplash.png]]&lt;br /&gt;
&lt;br /&gt;
Now, while the splash screen for the slice manager tells you that you can safely hit &amp;quot;Auto&amp;quot; if you have a mere 200MB of space available, I'm going to tell you flat out that baby, it just ain't so.  If you've got a tiny drive or a really miniscule amount of RAM, the defaults picked by Auto aren't going to work very well, and may in fact cripple your system badly enough to need reinstallation.  Once again, while you can certainly install FreeBSD on less, it's a touchier procedure, and beyond the scope of this article.  But hey, that's why we made sure we had at least 64MB and 2GB to work with, right?  ... Right?  OK, moving on:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_slices.png]]&lt;br /&gt;
&lt;br /&gt;
OK, this is where you make slices in your partition to store various essential bits of the OS and your data.  Since this is a simple install and - must I stress it again? - you have at least 64MB and 2GB to work with, we're not going to dabble about in this.  Just hit &amp;quot;A&amp;quot; for Auto Defaults, and it will slice up the partition like a sushi chef, leaving you with 128MB for / (the root directory), about double your RAM size for the swap, 256MB apiece for /tmp and /var, and the remainder of the partition allocated to /usr.   You may want to consult [[Hard Disk Partition Sizes]] for a review of what might be placed on these different partitions. Dandy!  Hit &amp;quot;Q&amp;quot; to save your changes, and we'll keep this thing rolling right along.&lt;br /&gt;
&lt;br /&gt;
Now you get to choose what install you want, for a server Kern-Developer is probably the best way to go. If you want X you can install X-Kern-Developer instead.&lt;br /&gt;
&lt;br /&gt;
-image-&lt;br /&gt;
&lt;br /&gt;
So what is this ports thing? Well i just say it's almost a must it's were all third part programs are installed from so that's a Yes. For mor information about ports see [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Installing Applications: Packages and Ports].&lt;br /&gt;
&lt;br /&gt;
-image-&lt;br /&gt;
&lt;br /&gt;
At this point, the system is going to want to configure network interfaces.   Depending on how much you did or didn't delete out of the kernel config area, you'll see something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_interfaces.png]]&lt;br /&gt;
&lt;br /&gt;
Generally, the top entry is your network card, which is what we want to configure at this stage.  (Modem users may have a different take on things - and we're not going to get into PPP configuration here.  For now, we're assuming that you DO want to configure a NIC and DON'T want to configure a modem.)  Common network interfaces are sis0, rl0, ed0, xl0, and pn0, among others - the important bit is, they're generally all going to say &amp;quot;ethernet card&amp;quot; on the tag end of the description.  If you DON'T have an ethernet card listed here, you're in trouble - most likely, you deleted out the driver for your NIC during kernel configuration.  If you continue to have problems at this point, you might want to consider NOT deleting ANY network interfaces out of your kernel config - generally speaking, having support for the extra interfaces built into your kernel won't typically hurt anything.&lt;br /&gt;
&lt;br /&gt;
The next thing it's going to want to know is if you'd like to configure IPv6.   I'll put it to you this way - unless you already know perfectly well that you want and need IPv6 right now, no, you don't want to.  And in particular, if you don't know what IPv6 is, select no!  The next thing it wants to know is if you'd like to try DHCP configuration of the interface.  For the purposes of these articles, you do not want to attempt DHCP - if the machine is going to be a server, it's going to need a static IP address.  So no DHCP for you!  Next, it will bring up an IPv4 configuration screen for the interface:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_network.png]]&lt;br /&gt;
&lt;br /&gt;
If you didn't use DHCP - and you didn't, right? - you'll need to fill out all of the information on the screen except &amp;quot;Extra options to ifconfig&amp;quot;.   &amp;quot;Host&amp;quot; will be the name you want to christen this server with.   &amp;quot;Domain&amp;quot; is a little trickier - if you DON'T have a pre-existing domain name server assigning DNS records to point at IP addresses on your local network (and if you don't know the answer to this, you almost certainly don't) then you'll need to make up a local domain.  I strongly suggest doing so using .local for the top level domain - ie, my private network is named tehinterweb.local, as you can see above.   The advantage to doing this is that you are absolutely guaranteed that you aren't using the same domain name as a real domain somewhere out there on the public internet, and you'll know at a glance whether you're looking at internal or external DNS stuff, potentially saving you a lot of confusion down the road.  Once you've got the Domain field filled out, sysinstall will automatically append it to your hostname - so proof became proof.tehinterweb.local in our example above.&lt;br /&gt;
&lt;br /&gt;
Later on in another article, we'll discuss setting up BIND so that other computers on your network will know where yourhost.yourdomainname.local is, and how to set up DNS records for those other computers and/or network devices too - but for right now, we're done with this screen, and it's time to select OK and move on.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_selectmedia.png]]&lt;br /&gt;
&lt;br /&gt;
Hopefully, you don't need me to tell you to highlight CD/DVD and hit enter on this media selection screen.  It's worth noting that VERY occasionally, you may run into a system in which FreeBSD has trouble identifying the CD-ROM drive at this point, even though it booted off of it - this generally has something to do with the type of emulation the motherboard and/or the CD-ROM itself uses for CD-ROM boots.  If you have problems here, you can try swapping the CD-ROM drive to another IDE channel as a standalone master, trying a completely different CD-ROM drive, or - if you've got a broadband connection and an hour or three to kill - installing from FTP.  But most likely, as soon as you hit OK, it'll immediately start moving data:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_extracting.png]]&lt;br /&gt;
&lt;br /&gt;
All we're actually installing right now is the base system, so this shouldn't take but a minute or two.  Once it's done, you'll get a congratulatory little message about having installed FreeBSD on your system, and once you've hit enter, things will get interesting again!  It will ask you a series of questions about how to configure your machine - if you want to function as a network gateway, if you want to configure inetd, if you want anonymous FTP access, if you want to be an NFS server, if you want to be an NFS client, and if you want to use a default security profile.  For right now, the answer to all these questions is &amp;quot;no&amp;quot;.  Yes, even if you really do want to run NFS later.  Trust me on this one - for right now, just get the OS installed; you can get fancy later once you've actually got it working.  Once you're done with the &amp;quot;no, no, no, no, no, and no&amp;quot; you'll get a splash screen telling you a bit about the &amp;quot;moderate&amp;quot; security settings that you got by answering &amp;quot;no&amp;quot; to the default security profile and warning you that security breaches are like forest fires; only YOU can stop them.  Great.  Hit enter, and we're back to telling it no again: we don't want to change the console settings.  However, we DO want to set the machine's time zone, so tell it so, tell it the CMOS clock isn't set to UTC, and pick a continent, a region, and a time zone.  (Note: the page down and page up keys DO work on these menus, and since they're alphabetized, they'll come in quite handy for those of us from the United States, as well as the Venezuelans in the crowd.)&lt;br /&gt;
&lt;br /&gt;
Once you've picked a zone and confirmed that it looks reasonable, you'll be asked if you want to enable Linux binary compatibility.  For now, the answer is &amp;quot;no&amp;quot; - if you want Linux binaries at a later date, you can always come back and install this module then.  These articles are going to focus heavily on using the ports tree to compile all your own applications as native FreeBSD binaries from source code, though, so it's unnecessary for now.&lt;br /&gt;
&lt;br /&gt;
Next, you'll get asked if you've got a non-USB mouse attached to the system.   Answer the nice computer, and move right on along - presuming the answer is &amp;quot;yes&amp;quot;, you'll get a chance to test and enable the mouse daemon.  Test it, see if the arrow makes nice wigglies when you move the mouse (it won't do anything when you click, so don't worry about that), and click &amp;quot;Enable&amp;quot; if it did or &amp;quot;Cancel&amp;quot; if it didn't.  If the mouse didn't work, DON'T sweat it - you're using a command-driven operating system, here, and if you're following along with these articles, you're going to be learning how to live at the command line and like it.  So if the mouse doesn't seem to want to work, file it under &amp;quot;stuff to worry about some other day&amp;quot; and move right on along.&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_packages.png]]&lt;br /&gt;
&lt;br /&gt;
This popup gets its own screenshot because you do not, repeat, do NOT want to browse the package collection right now.  Once again, we're here to install FreeBSD right now, not put a bunch of apps on it - that comes later.  Be warned, if you decide to ignore me and go play through the packages collection right now anyway, you can easily screw up your installation.   There are thousands of things in packages ranging from &amp;quot;nifty&amp;quot; to &amp;quot;inadvisable&amp;quot;, none of which are described in enough detail in the packages menu to choose if you don't already know what they are before going in there.   Finally, this is NOT the only time you'll ever be able to use that menu to install packages - you can return to it at any time once you've finished installing the OS.   So please, please, don't make life difficult - select &amp;quot;No&amp;quot; and KEEP MOVING!&lt;br /&gt;
&lt;br /&gt;
The next thing sysinstall wants to know is if you'd like to add another user account to the system.  Yes, you would!  Not only is logging in as root extremely insecure, if you do not have another user account on the system, you will not be able to remote control it.  So tell it &amp;quot;yes&amp;quot;, tell it you want to add another User to the system, and here we are:&lt;br /&gt;
&lt;br /&gt;
[[Image: Installation_adduser.png ]]&lt;br /&gt;
&lt;br /&gt;
There are a few things worth noting on this screen.  UID is filled out for you (and shouldn't be changed unless you know what you're doing), Full name defaults to &amp;quot;User &amp;amp;&amp;quot; and is utterly unimportant (it's just a &amp;quot;comment&amp;quot; field) and Home directory defaults to /home/[whatever you put for Login ID], but the rest needs to be filled out and/or changed.  In particular, make sure that you enter wheel in the Group field so that you will be able to assume root privileges using this account, and that you change your Login shell from /bin/sh to /bin/csh.   (Linux expatriates, [[bash]] isn't available right now - you can install it from ports when we're done, but in the meantime, the [[c shell]], /bin/csh is what you want.)  The default shell is extremely painful to work with, so don't forget to do this!  Once you're done, highlight &amp;quot;OK&amp;quot; and hit enter, highlight &amp;quot;Exit&amp;quot; and hit enter in the next screen, and you'll be prompted to set the root password.  Do so, tell it you don't need to visit the general configuration menu to set any last options, and you'll be back at the sysinstall main menu - and when you select &amp;quot;Exit Install&amp;quot;, the system will reboot into FreeBSD!&lt;br /&gt;
&lt;br /&gt;
[[Category : Installation]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/File:Installation_choosedist.png</id>
		<title>File:Installation choosedist.png</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/File:Installation_choosedist.png"/>
				<updated>2007-04-11T22:56:10Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot</id>
		<title>Installing FreeBSD with netboot</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot"/>
				<updated>2007-03-25T20:06:52Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FreeBSD bootonly ==&lt;br /&gt;
The first step to installing FreeBSD via netboot is to acquire FreeBSD. We'll be using the bootonly-iso, this can be fetched at your nearest ftp.&lt;br /&gt;
&lt;br /&gt;
Download the bootonly-iso:&lt;br /&gt;
 fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
Mount the iso-image and copy the contents to some location:&lt;br /&gt;
 mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
 mount_cd9660 /dev/md0 /mnt/cdrom&lt;br /&gt;
 mkdir /usr/local/pxeboot&lt;br /&gt;
 cp -r /mnt/cdrom /usr/local/pxeboot&lt;br /&gt;
 umount /mnt/cdrom&lt;br /&gt;
&lt;br /&gt;
The main reason for copying the cd is to edit the file /boot/loader.conf adding the following line:&lt;br /&gt;
 echo 'vfs.root.mountfrom=&amp;quot;ufs:/dev/md0c&amp;quot;' &amp;gt;&amp;gt; /usr/local/pxeboot/boot/loader.conf&lt;br /&gt;
&lt;br /&gt;
This line will make the pxeboot-loader mount the rootfs from a memorydisk instead of the default of mounting a NFS-filesystem.&lt;br /&gt;
&lt;br /&gt;
== NIC with PXE boot ==&lt;br /&gt;
For the pxeboot to work you might have to update your NIC with new firmware. See your manufacturer homepage for more information.&lt;br /&gt;
&lt;br /&gt;
== TFTP ==&lt;br /&gt;
Next up is starting a tftp-server from which the firmware can load the [http://en.wikipedia.org/wiki/Preboot_Execution_Environment#Network_Bootstrap_Program network bootstrap program] from. This is easiest done by using inetd, remove the leading # from the following line in the file /etc/inetd.conf.&lt;br /&gt;
 #tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot&lt;br /&gt;
&lt;br /&gt;
Make the tftpboot directory and copy the boot/pxeboot file to it.&lt;br /&gt;
 mkdir /tftpboot&lt;br /&gt;
 cp /usr/local/pxeboot/boot/pxeboot /tftpboot/&lt;br /&gt;
&lt;br /&gt;
Then start inetd by adding it to rc.conf and starting it.&lt;br /&gt;
 echo 'inetd_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
 /etc/rc.d/inetd start&lt;br /&gt;
&lt;br /&gt;
It can be a good idea to start a tail of messages and xferlog file to see what is happening. In another terminal run:&lt;br /&gt;
 tail -f /var/log/messages /var/log/xferlog&lt;br /&gt;
&lt;br /&gt;
== DHCP ==&lt;br /&gt;
Now it's time for the DHCP-server that the firmware will query to get address and path to the network bootstrap program.&lt;br /&gt;
&lt;br /&gt;
Install isc-dhcp3-server&lt;br /&gt;
 pkg_add -r isc-dhcp3-server&lt;br /&gt;
&lt;br /&gt;
Edit /usr/local/etc/dhcpd.conf adding the following lines.&lt;br /&gt;
 server-name &amp;quot;pxe-gw&amp;quot;;          # name of the tftp-server&lt;br /&gt;
 server-identifier 172.24.0.4;  # address of the tftp-server&lt;br /&gt;
 next-server 172.24.0.4;        # address of the NFS-server&lt;br /&gt;
&lt;br /&gt;
 subnet 172.24.0.0 netmask 255.255.255.0 {&lt;br /&gt;
     range 172.24.0.137 172.24.0.253;&lt;br /&gt;
     option routers 172.24.0.1;&lt;br /&gt;
     option root-path &amp;quot;/usr/local/pxeboot&amp;quot;; # root-path for NFS&lt;br /&gt;
     filename &amp;quot;pxeboot&amp;quot;;                    # filename of NBP&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NFS ==&lt;br /&gt;
&lt;br /&gt;
[[Category : Installation]]&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot</id>
		<title>Installing FreeBSD with netboot</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot"/>
				<updated>2007-03-19T15:54:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: save some more, end of class!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FreeBSD bootonly ==&lt;br /&gt;
The first step to installing FreeBSD via netboot is to acquire FreeBSD. We'll be using the bootonly-iso, this can be fetched at your nearest ftp.&lt;br /&gt;
&lt;br /&gt;
Download the bootonly-iso:&lt;br /&gt;
 fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
Mount the iso-image and copy the contents to some location:&lt;br /&gt;
 mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
 mount_cd9660 /dev/md0 /mnt/cdrom&lt;br /&gt;
 mkdir /usr/local/pxeboot&lt;br /&gt;
 cp -r /mnt/cdrom /usr/local/pxeboot&lt;br /&gt;
 umount /mnt/cdrom&lt;br /&gt;
&lt;br /&gt;
The main reason for copying the cd is to edit the file /boot/loader.conf adding the following line:&lt;br /&gt;
 echo 'vfs.root.mountfrom=&amp;quot;ufs:/dev/md0c&amp;quot;' &amp;gt;&amp;gt; /usr/local/pxeboot/boot/loader.conf&lt;br /&gt;
&lt;br /&gt;
This line will make the pxeboot-loader mount the rootfs from a memorydisk instead of the default of mounting a NFS-filesystem.&lt;br /&gt;
&lt;br /&gt;
== NIC with PXE boot ==&lt;br /&gt;
For the pxeboot to work you might have to update your NIC with new firmware. See your manufacturer homepage for more information.&lt;br /&gt;
&lt;br /&gt;
== TFTP ==&lt;br /&gt;
Next up is starting a tftp-server from which the firmware can load the [http://en.wikipedia.org/wiki/Preboot_Execution_Environment#Network_Bootstrap_Program network bootstrap program] from. This is easiest done by using inetd, remove the leading # from the following line in the file /etc/inetd.conf.&lt;br /&gt;
 #tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot&lt;br /&gt;
&lt;br /&gt;
Make the tftpboot directory and copy the boot/pxeboot file to it.&lt;br /&gt;
 mkdir /tftpboot&lt;br /&gt;
 cp /usr/local/pxeboot/boot/pxeboot /tftpboot/&lt;br /&gt;
&lt;br /&gt;
Then start inetd by adding it to rc.conf and starting it.&lt;br /&gt;
 echo 'inetd_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
 /etc/rc.d/inetd start&lt;br /&gt;
&lt;br /&gt;
It can be a good idea to start a tail of messages and xferlog file to see what is happening. In another terminal run:&lt;br /&gt;
 tail -f /var/log/messages /var/log/xferlog&lt;br /&gt;
&lt;br /&gt;
== DHCP ==&lt;br /&gt;
Now it's time for the DHCP-server that the firmware will query to get address and path to the network bootstrap program.&lt;br /&gt;
&lt;br /&gt;
Install isc-dhcp3-server&lt;br /&gt;
 pkg_add -r isc-dhcp3-server&lt;br /&gt;
&lt;br /&gt;
Edit /usr/local/etc/dhcpd.conf adding the following lines.&lt;br /&gt;
 server-name &amp;quot;pxe-gw&amp;quot;;          # name of the tftp-server&lt;br /&gt;
 server-identifier 172.24.0.4;  # address of the tftp-server&lt;br /&gt;
 next-server 172.24.0.4;        # address of the NFS-server&lt;br /&gt;
&lt;br /&gt;
 subnet 172.24.0.0 netmask 255.255.255.0 {&lt;br /&gt;
     range 172.24.0.137 172.24.0.253;&lt;br /&gt;
     option routers 172.24.0.1;&lt;br /&gt;
     option root-path &amp;quot;/usr/local/pxeboot&amp;quot;; # root-path for NFS&lt;br /&gt;
     filename &amp;quot;pxeboot&amp;quot;;                    # filename of NBP&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NFS ==&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot</id>
		<title>Installing FreeBSD with netboot</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot"/>
				<updated>2007-03-19T15:46:36Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: some more work..&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FreeBSD bootonly ==&lt;br /&gt;
The first step to installing FreeBSD via netboot is to acquire FreeBSD. We'll be using the bootonly-iso, this can be fetched at your nearest ftp.&lt;br /&gt;
&lt;br /&gt;
Download the bootonly-iso:&lt;br /&gt;
 fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
Mount the iso-image and copy the contents to some location:&lt;br /&gt;
 mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
 mount_cd9660 /dev/md0 /mnt/cdrom&lt;br /&gt;
 mkdir /usr/local/pxeboot&lt;br /&gt;
 cp -r /mnt/cdrom /usr/local/pxeboot&lt;br /&gt;
 umount /mnt/cdrom&lt;br /&gt;
&lt;br /&gt;
The main reason for copying the cd is to edit the file /boot/loader.conf adding the following line:&lt;br /&gt;
 echo 'vfs.root.mountfrom=&amp;quot;ufs:/dev/md0c&amp;quot;' &amp;gt;&amp;gt; /usr/local/pxeboot/boot/loader.conf&lt;br /&gt;
&lt;br /&gt;
This line will make the pxeboot-loader mount the rootfs from a memorydisk instead of the default of mounting a NFS-filesystem.&lt;br /&gt;
&lt;br /&gt;
== NIC with PXE boot ==&lt;br /&gt;
For the pxeboot to work you might have to update your NIC with new firmware. See your manufacturer homepage for more information.&lt;br /&gt;
&lt;br /&gt;
== TFTP ==&lt;br /&gt;
Next up is starting a tftp-server from which the firmware can load the [http://en.wikipedia.org/wiki/Preboot_Execution_Environment#Network_Bootstrap_Program network bootstrap program] from. This is easiest done by using inetd, remove the leading # from the following line in the file /etc/inetd.conf.&lt;br /&gt;
 #tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot&lt;br /&gt;
&lt;br /&gt;
Make the tftpboot directory and copy the boot/pxeboot file to it.&lt;br /&gt;
 mkdir /tftpboot&lt;br /&gt;
 cp /usr/local/pxeboot/boot/pxeboot /tftpboot/&lt;br /&gt;
&lt;br /&gt;
Then start inetd by adding it to rc.conf and starting it.&lt;br /&gt;
 echo 'inetd_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
 /etc/rc.d/inetd start&lt;br /&gt;
&lt;br /&gt;
It can be a good idea to start a tail of messages and xferlog file to see what is happening. In another terminal run:&lt;br /&gt;
 tail -f /var/log/messages /var/log/xferlog&lt;br /&gt;
&lt;br /&gt;
== DHCP ==&lt;br /&gt;
Now it's time for the DHCP-server that the firmware will query to get address and path to the network bootstrap program.&lt;br /&gt;
&lt;br /&gt;
== NFS ==&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot</id>
		<title>Installing FreeBSD with netboot</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Installing_FreeBSD_with_netboot"/>
				<updated>2007-03-19T15:36:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ice: start of freebsd netboot install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FreeBSD bootonly ==&lt;br /&gt;
The first step to installing FreeBSD via netboot is to acquire FreeBSD. We'll be using the bootonly-iso, this can be fetched at your nearest ftp.&lt;br /&gt;
&lt;br /&gt;
Download the bootonly:&lt;br /&gt;
 fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
Mount the iso-image and copy the contents to some location:&lt;br /&gt;
 mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.iso&lt;br /&gt;
 mount_cd9660 /dev/md0 /mnt/cdrom&lt;br /&gt;
 mkdir /usr/local/pxeboot&lt;br /&gt;
 cp -r /mnt/cdrom /usr/local/pxeboot&lt;br /&gt;
 umount /mnt/cdrom&lt;br /&gt;
&lt;br /&gt;
The main reason for copying the cd is to edit the file /boot/loader.conf adding the following line:&lt;br /&gt;
 echo 'vfs.root.mountfrom=&amp;quot;ufs:/dev/md0c&amp;quot;' &amp;gt;&amp;gt; /usr/local/pxeboot/boot/loader.conf&lt;br /&gt;
&lt;br /&gt;
This line will make the pxeboot-loader mount the rootfs from a memorydisk instead of the default of mounting a NFS-filesystem.&lt;br /&gt;
&lt;br /&gt;
== NIC with PXE boot ==&lt;br /&gt;
For the pxeboot to work you might have to update your NIC with new firmware. See your manufacturer homepage for more information.&lt;br /&gt;
&lt;br /&gt;
== TFTP ==&lt;br /&gt;
Next up is starting a tftp-server from which the firmware can load the network bootstrap program from. This is easiest done by using inetd, remove the leading # from the following line in the file /etc/inetd.conf.&lt;br /&gt;
 #tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot&lt;br /&gt;
&lt;br /&gt;
Then start inetd by adding it to rc.conf and starting it.&lt;br /&gt;
 echo 'inetd_enable=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /etc/rc.conf&lt;br /&gt;
 /etc/rc.d/inetd start&lt;br /&gt;
&lt;br /&gt;
== DHCP ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NFS ==&lt;/div&gt;</summary>
		<author><name>Ice</name></author>	</entry>

	</feed>