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

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Configuring_X</id>
		<title>Configuring X</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Configuring_X"/>
				<updated>2005-11-24T19:33:02Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Older versions of FreeBSD use XFree86 as their [[X11]] software, but due to licensing and update issues, XFree86 has been replaced as the default X install.  FreeBSD 5.3 was the first release to include Xorg, but all versions of FreeBSD since 5.3 include support for both XFree86 and Xorg.&lt;br /&gt;
&lt;br /&gt;
To install Xorg from source it is recommended that you first update your ports using cvsup. &lt;br /&gt;
&lt;br /&gt;
Log in and [[su]] to root:&lt;br /&gt;
 $ su -&lt;br /&gt;
and you have 2 options. You can build from ports or use the pre-built FreeBSD Packages.&lt;br /&gt;
&lt;br /&gt;
Note: To build Xorg in its entirety, be sure to have at least 4 GB of free space available.&lt;br /&gt;
&lt;br /&gt;
To build Xorg from ports:&lt;br /&gt;
&lt;br /&gt;
 # cd /usr/ports/x11/xorg &amp;amp;&amp;amp; make install clean&lt;br /&gt;
&lt;br /&gt;
OR &lt;br /&gt;
&lt;br /&gt;
To add the BSD package:&lt;br /&gt;
&lt;br /&gt;
 # pkg_add -r xorg&lt;br /&gt;
&lt;br /&gt;
After you have installed Xorg, you must configure it. This is a multi-step process and can get a tad complex.&lt;br /&gt;
&lt;br /&gt;
As su, run the Xorg Config File creator&lt;br /&gt;
&lt;br /&gt;
 # X -configure&lt;br /&gt;
&lt;br /&gt;
This will generate an X11 configuration skeleton file in the current directory called xorg.conf.new. For XFree86, this configuration file is called XF86Config.new. The X11 program will attempt to probe the graphics hardware on the system and write a configuration file to load the proper drivers for the detected hardware on the target system.&lt;br /&gt;
&lt;br /&gt;
The next step is to test the existing configuration to verify that Xorg can work with the graphics hardware on the target system. To perform this task, type:&lt;br /&gt;
&lt;br /&gt;
 # X -xf86config xorg.conf.new&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
 # X -xf86config XF86Config.new&lt;br /&gt;
&lt;br /&gt;
If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press Ctrl+Alt+Backspace simultaneously.&lt;br /&gt;
&lt;br /&gt;
Copy this file to /etc/X11/xorg.conf (or /etc/X11/XF86Config for XFree86) and you're done.&lt;br /&gt;
&lt;br /&gt;
If all went to plan, you should have gotten Xorg working and happy. Now you are ready to go on and install your window manager ([[KDE]], [[gnome]], [[BlackBox]], [[xfce]], [[Windowmaker]], [[SawFish]], etc...)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: Most of this information came from the FreeBSD Handbook located http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Pico</id>
		<title>Pico</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Pico"/>
				<updated>2005-11-24T19:28:04Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[pico]] is the editor from the mail client PINE.  It is the default text editor on most Linux distributions, although most have switched to using  [[nano]] (an almost identical clone of [[pico]]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category : Ports and Packages]]&lt;br /&gt;
[[Category : System Commands]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/X_windowing_system</id>
		<title>X windowing system</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/X_windowing_system"/>
				<updated>2005-11-24T19:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;X -- you may see it refered to as [[X11]], [[X11R6]], or the X windowing system -- is what most unixes use for their graphical user interface (GUI). It works on a client-server model, meaning that you have an X server on your system, and also a client that connects to it. It can be (and usually ''is'') a real pain to setup if you haven't done it before and don't know the specifics of the system that you're configuring it on. You can install it from ports (or as a package) after you've installed your main system or right at the install stage. As a general rule, it's not installed on servers. The main reasons for this being that a) it's a network-aware app and as such can be a security risk and b) most servers don't need it, and it'll just go unused and take up disk space that can be used for other programs or data. If you're interested in controlling a server via a GUI, check out the [[webmin]] package in ports.&lt;br /&gt;
&lt;br /&gt;
The X11 software has been forked and is now developed by two independent groups:  The XFree86 Project, and the Xorg Project.  See http://www.xfree86.org, http://www.x.org, and http://www.freedesktop.org for more information&lt;br /&gt;
&lt;br /&gt;
FreeBSD includes support for both XFree86 and Xorg via a setting in /etc/make.conf.  This setting automatically sets the dependencies for X apps in the ports tree to the correct version.  None of the other BSDs or Linux distros do this.&lt;br /&gt;
&lt;br /&gt;
That said, FreeBSD's use as a desktop OS is certainly made much friendlier by the use of the X windowing system. X window does not give you a pretty GUI all by itself, rather it gives you the ability to run other window managers and desktops (see [[gnome]], [[KDE]], [[xfce]], [[blackbox]] and [[windowmaker]] for examples of these).&lt;br /&gt;
&lt;br /&gt;
See also: [[Configuring_X]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Ports and Packages]]&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Gotchas,_Linux</id>
		<title>Gotchas, Linux</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Gotchas,_Linux"/>
				<updated>2005-11-24T19:23:05Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Things you should know if you're coming to FreeBSD from Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Things you should know if you're coming to FreeBSD from Linux==&lt;br /&gt;
# The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' &amp;quot;lsmod&amp;quot;, &amp;quot;insmod&amp;quot; and &amp;quot;rmmod&amp;quot;.)&lt;br /&gt;
# You need to be a member of the wheel group in order to su to root.&lt;br /&gt;
# No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)&lt;br /&gt;
# Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.&lt;br /&gt;
# No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc&lt;br /&gt;
# You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.&lt;br /&gt;
# If in doubt, read the Handbook (or ask here).&lt;br /&gt;
# Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.&lt;br /&gt;
# [[Java]]'s a tough nut to install due to Sun's licensing restrictions...unless you're not on the x86 FreeBSD platform, in which case it's uninstallable anyway.&lt;br /&gt;
# [[sysinstall]] can be used for system configuration after installation, but should be avoided as it makes a mess of the /etc/rc.conf file.  On FreeBSD 4.x systems it's /stand/sysinstall.  On FreeBSD 5+ systems, it's /sbin/sysinstall.&lt;br /&gt;
# [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user.&lt;br /&gt;
# Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.&lt;br /&gt;
# Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names it's interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.  FreeBSD 6.x includes interface renaming, so those that like generic names can use them.&lt;br /&gt;
# /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.&lt;br /&gt;
# Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].&lt;br /&gt;
# [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.&lt;br /&gt;
# Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead in 5.x, use gvinum, gmirror, or graid)&lt;br /&gt;
# Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]&lt;br /&gt;
# Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.&lt;br /&gt;
# /boot/loader.conf is where you set which kernel modules to load at boot time. /etc/rc.conf is where you set which system daemons to load at boot time.  Or you can edit the startup scripts manually in /etc/rc.d (Some say this is the only way to do it, some say it doesn't matter. Your choice.)  (Note:  don't edit the rc scripts directly unless you *REALLY* know what you are doing, and understand how mergemaster works.)&lt;br /&gt;
# [[wget]] is replaced by [[fetch]]. Feel free to install wget if you don't want to learn another program, but they're very similar.&lt;br /&gt;
# If you install [[X11]], and switch to a shell, getting back to X is a matter of alt-F9 since FreeBSD sets you up with 8 virtual terminals instead of Linux's default of 6.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Gotchas,_Linux</id>
		<title>Gotchas, Linux</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Gotchas,_Linux"/>
				<updated>2005-11-24T19:22:27Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Things you should know if you're coming to FreeBSD from Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Things you should know if you're coming to FreeBSD from Linux==&lt;br /&gt;
# The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' &amp;quot;lsmod&amp;quot;, &amp;quot;insmod&amp;quot; and &amp;quot;rmmod&amp;quot;.)&lt;br /&gt;
# You need to be a member of the wheel group in order to su to root.&lt;br /&gt;
# No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)&lt;br /&gt;
# Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.&lt;br /&gt;
# No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc&lt;br /&gt;
# You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.&lt;br /&gt;
# If in doubt, read the Handbook (or ask here).&lt;br /&gt;
# Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.&lt;br /&gt;
# [[Java]]'s a tough nut to install due to Sun's licensing restrictions...unless you're not on the x86 FreeBSD platform, in which case it's uninstallable anyway.&lt;br /&gt;
# [[sysinstall]] can be used for system configuration after installation, but should be avoided as it makes a mess of the /etc/rc.conf file.  On FreeBSD 4.x systems it's /stand/sysinstall.  On FreeBSD 5+ systems, it's /sbin/sysinstall.&lt;br /&gt;
# [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user.&lt;br /&gt;
# Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.&lt;br /&gt;
# Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names it's interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.  FreeBSD 6.x includes interface renaming, so you for those that like generic names, you can use them.&lt;br /&gt;
# /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.&lt;br /&gt;
# Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].&lt;br /&gt;
# [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.&lt;br /&gt;
# Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead in 5.x, use gvinum, gmirror, or graid)&lt;br /&gt;
# Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]&lt;br /&gt;
# Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.&lt;br /&gt;
# /boot/loader.conf is where you set which kernel modules to load at boot time. /etc/rc.conf is where you set which system daemons to load at boot time.  Or you can edit the startup scripts manually in /etc/rc.d (Some say this is the only way to do it, some say it doesn't matter. Your choice.)  (Note:  don't edit the rc scripts directly unless you *REALLY* know what you are doing, and understand how mergemaster works.)&lt;br /&gt;
# [[wget]] is replaced by [[fetch]]. Feel free to install wget if you don't want to learn another program, but they're very similar.&lt;br /&gt;
# If you install [[X11]], and switch to a shell, getting back to X is a matter of alt-F9 since FreeBSD sets you up with 8 virtual terminals instead of Linux's default of 6.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Ksh</id>
		<title>Ksh</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Ksh"/>
				<updated>2005-11-24T19:20:27Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Ksh | Korn Shell]], written by David G. Korn at AT&amp;amp;T Bell Labs, the birthplace of [[Unix]]. Find it at /usr/local/bin/ksh, but only after you install it via [[Ports and Packages | ports]] or [[Ports and Packages | packages]], because it's not part of the base system.&lt;br /&gt;
&lt;br /&gt;
see also: [[http://www.kornshell.com/ David Korn's website]]&lt;br /&gt;
&lt;br /&gt;
Other shells that you can install and customize for ease of use are the [[bash]], [[csh]], [[tcsh]], [[psh]], [[ksh]], [[zsh]].&lt;br /&gt;
&lt;br /&gt;
[[Category: Shells]]&lt;br /&gt;
[[Category: Ports and Packages]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Chsh</id>
		<title>Chsh</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Chsh"/>
				<updated>2005-11-24T19:20:02Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[chsh]] will allow you to change your shell to a different one than the one chosen when your account was created. Your user info will open up in your editor of choice and you'll have to change the '''shell''' line to point to the shell you want -- make sure you point to a valid shell! &lt;br /&gt;
&lt;br /&gt;
You can use the -s flag to set it without actually going into an editor:&lt;br /&gt;
 dave@samizdata:[~]% chsh -s /usr/local/bin/zsh&lt;br /&gt;
&lt;br /&gt;
Note that if you change a user's shell to something that isn't actually a shell, you can break their login -- intentionally, if you want to block the user from logging in and you switch the shell to [[ /sbin/nologin]] or another [[invalid_shell|invalid shell]], for example, or unintenionally, if you give them a misspelled shell or point to a shell that isn't on a mounted volume (e.g., the shell is in /usr/local/bin/bash and /usr/local/ isn't mounted). &lt;br /&gt;
&lt;br /&gt;
Also note that some programs (several ftp daemons, for example) won't allow the user to log in if they don't have a valid shell.&lt;br /&gt;
&lt;br /&gt;
See also: [[:Category:Shells]] - [[bash]] - [[sh]] - [[csh]] - [[tcsh]] - [[ksh]] - [[psh]] - [[zsh]]&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Tcsh</id>
		<title>Tcsh</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Tcsh"/>
				<updated>2005-11-24T19:18:59Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A fully C-shell compatible update to the [[C shell | csh]].&lt;br /&gt;
&lt;br /&gt;
This is the variant of the [[csh]] that is included with FreeBSD.&lt;br /&gt;
&lt;br /&gt;
see [[http://www.tcsh.org/Home the tcsh Wiki]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other shells that you can install and customize for ease of use are the [[bash]], [[psh]], [[ksh]], [[zsh]].&lt;br /&gt;
&lt;br /&gt;
[[Category: Shells]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/C_shell</id>
		<title>C shell</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/C_shell"/>
				<updated>2005-11-24T19:18:12Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/bin/csh is where you'll find the binary of the C shell, so called because its syntax is very like the C programming language. It was written by Bill Joy of Sun Microsystems and is the only other shell besides the spartan [[Bourne shell]] (/bin/sh) that comes installed by default on a freshly-installed FreeBSD system.&lt;br /&gt;
&lt;br /&gt;
FreeBSD actually uses the tcsh variant of the csh.  If you run '''ls -i /bin/*csh''' you'll see that /bin/csh is a hardlink to /bin/tcsh (meaning they are actually the same file).&lt;br /&gt;
&lt;br /&gt;
Other shells that you can install and customize for ease of use include the [[bash]], [[psh]], [[ksh]], and [[zsh]] shells.&lt;br /&gt;
&lt;br /&gt;
[[Category: Shells]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Gotchas,_Linux</id>
		<title>Gotchas, Linux</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Gotchas,_Linux"/>
				<updated>2005-11-24T19:13:37Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Things you should know if you're coming to FreeBSD from Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Things you should know if you're coming to FreeBSD from Linux==&lt;br /&gt;
# The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' &amp;quot;lsmod&amp;quot;, &amp;quot;insmod&amp;quot; and &amp;quot;rmmod&amp;quot;.)&lt;br /&gt;
# You need to be a member of the wheel group in order to su to root.&lt;br /&gt;
# No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)&lt;br /&gt;
# Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.&lt;br /&gt;
# No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc&lt;br /&gt;
# You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.&lt;br /&gt;
# If in doubt, read the Handbook (or ask here).&lt;br /&gt;
# Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.&lt;br /&gt;
# [[Java]]'s a tough nut to install due to Sun's licensing restrictions...unless you're not on the x86 FreeBSD platform, in which case it's uninstallable anyway.&lt;br /&gt;
# [[sysinstall]] can be used for system configuration after installation, but should be avoided as it makes a mess of the /etc/rc.conf file.  On FreeBSD 4.x systems it's /stand/sysinstall.  On FreeBSD 5+ systems, it's /sbin/sysinstall.&lt;br /&gt;
# [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user.&lt;br /&gt;
# Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.&lt;br /&gt;
# Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names it's interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.&lt;br /&gt;
# /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.&lt;br /&gt;
# Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].&lt;br /&gt;
# [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.&lt;br /&gt;
# Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead in 5.x, use gvinum, gmirror, or graid)&lt;br /&gt;
# Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]&lt;br /&gt;
# Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.&lt;br /&gt;
# /boot/loader.conf is where you set which kernel modules to load at boot time. /etc/rc.conf is where you set which system daemons to load at boot time.  Or you can edit the startup scripts manually in /etc/rc.d (Some say this is the only way to do it, some say it doesn't matter. Your choice.)  (Note:  don't edit the rc scripts directly unless you *REALLY* know what you are doing, and understand how mergemaster works.)&lt;br /&gt;
# [[wget]] is replaced by [[fetch]]. Feel free to install wget if you don't want to learn another program, but they're very similar.&lt;br /&gt;
# If you install [[X11]], and switch to a shell, getting back to X is a matter of alt-F9 since FreeBSD sets you up with 8 virtual terminals instead of Linux's default of 6.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Portupgrade</id>
		<title>Portupgrade</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Portupgrade"/>
				<updated>2005-11-24T19:10:36Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Using portupgrade and portversion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''portupgrade and you'''&lt;br /&gt;
&lt;br /&gt;
portupgrade is a small collection of tools that goes hand in hand with [[cvsup]]. Portupgrade does what it says - upgrades your ports - but it actually means your ''installed'' ports, even packages that were installed as part of the base system. Portupgrade includes two important programs - ''portupgrade'', and [[portversion]]. Between them and cvsup, you'll have the ability to keep all installed software on your system up to date, so long as it exists in the ports tree.&lt;br /&gt;
&lt;br /&gt;
See also - [[cvsup]] - [[Updating the ports tree]] - [[portversion]] - [[Searching ports]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing the Portupgrade suite ==&lt;br /&gt;
&lt;br /&gt;
Installation is very simple:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''cd /usr/ports/sysutils/portupgrade'''&lt;br /&gt;
 oyabun# '''make install clean'''&lt;br /&gt;
&lt;br /&gt;
Once it's done, you'll have to [[rehash]] or start a new session as [[root]] to use it without typing full pathnames.&lt;br /&gt;
&lt;br /&gt;
== Checklist before you run portupgrade... ==&lt;br /&gt;
&lt;br /&gt;
Reading /usr/ports/UPDATING first to know of important upgrades that portupgrade doesn't handle well and exactly what to do about it. A few of these fixes work much better if done _before_ you run portupgrade so it's important not to skip this step!&lt;br /&gt;
&lt;br /&gt;
If you haven't done a portupgrade in a long while (i.e. a year) you're almost certain to run into situations where two or more actions have to be taken to get a port to work (doing perl5.6* -&amp;gt; perl5.8.1 -&amp;gt; 5.8.4 -&amp;gt; 5.8.5 being an example). You can't just assume you can do steps in any order you like; you might even have to fix some Makefiles... so read all of UPDATING before you do anything.&lt;br /&gt;
&lt;br /&gt;
When done with that, you need to use [[pkgdb]] with the -F option to fix any stale dependency first.&lt;br /&gt;
&lt;br /&gt;
== Using portupgrade and portversion ==&lt;br /&gt;
&lt;br /&gt;
Now that that's done, you need to update your ports database.&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portsdb -Uu'''&lt;br /&gt;
&lt;br /&gt;
This will likely take a while.&lt;br /&gt;
&lt;br /&gt;
Now you can use [[portversion]] to see a list of installed programs that are out of date like so:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portversion -l '&amp;lt;' '''&lt;br /&gt;
 expat                       &amp;lt;&lt;br /&gt;
 ezm3                        &amp;lt;&lt;br /&gt;
 fontconfig                  &amp;lt;&lt;br /&gt;
 freetype2                   &amp;lt;&lt;br /&gt;
 imake                       &amp;lt;&lt;br /&gt;
 libnet-devel                &amp;lt;&lt;br /&gt;
 libtool                     &amp;lt;&lt;br /&gt;
 oyabun#&lt;br /&gt;
 &lt;br /&gt;
This is a possible example of the output you'd recieve from portversion. Issuing a portversion command without the ''-l '&amp;lt;''' would produce a list of ALL installed packages on your machine, with '''&amp;lt;''' for &amp;quot;out of date&amp;quot;, '''=''' for &amp;quot;current&amp;quot;, and '''&amp;gt;''' for &amp;quot;newer&amp;quot;.  You can also use '''-v''' to get a listing with full version numbers for the installed port and port available in the tree.&lt;br /&gt;
&lt;br /&gt;
How can you get &amp;quot;newer&amp;quot; than what's in the ports tree? This happens if you haven't issued a '''portsdb -u''' command to update your ports database. The database contains entries pointing to older versions, while the ports tree itself contains newer versions, leading to situations where portversion reports &amp;quot;&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Now, to upgrade one of these packages, do this:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portupgrade imake'''&lt;br /&gt;
&lt;br /&gt;
Portupgrade will upgrade the port with the newer version available in the ports tree, and also take care of any dependencies the new version may have - if it needed ANOTHER installed port upgraded to a newer version, for example.  If you want to be safe, add '''-b''' to the portupgrade command.  This will create a binary package of the old application, that you can then use with pkg_add if you need to revert back to the old app.&lt;br /&gt;
&lt;br /&gt;
That's it. You'll have to repeat these steps (portversion, then portupgrade on one of the results) a few times to complete update your software, but all in all it's fairly simple and straightforward.&lt;br /&gt;
&lt;br /&gt;
Another alternative to running portupgrade manually on all of your packages would be to run the following command:&lt;br /&gt;
 # '''portupgrade -arR'''&lt;br /&gt;
The -R will check the build dependencies and the -r will check the applications that depend upon the port being upgraded and the -a will upgrade all out of date ports.&lt;br /&gt;
&lt;br /&gt;
Note:  Don't use -a unless you have read /usr/ports/UPDATING, know exactly which ports will be updated, and know how to recover from a broken system.  This is *NOT* recommended by any knowledgable FreeBSD user.&lt;br /&gt;
&lt;br /&gt;
Note: you may sometimes be prompted to run '''pkgdb -F''' to fix inconsistencies with listed dependencies within programs when you issue portversion commands, after upgrading ports. Just do it ('''pkgdb -F''', that is) and it will take care of the problem, allowing you to issue the portversion command.&lt;br /&gt;
&lt;br /&gt;
Once done, go back to /usr/ports/UPDATING and do leftover steps to everything things to work.&lt;br /&gt;
&lt;br /&gt;
== portupgrade countdown ==&lt;br /&gt;
&lt;br /&gt;
On slow computers or for long-delayed updates, you might want to try '''ps | grep portupgrade''' on another screen to see how portupgrade is doing. It will get you something like this:&lt;br /&gt;
&lt;br /&gt;
ruby18: portupgrade: [338/352]  _name of current port_  (ruby18)&lt;br /&gt;
&lt;br /&gt;
Where [338/352] means there are 352 packages being looked at and portupgrade is currently doing #338. While not every port needs an update, this command is the closest to a progress indicator you'll get for portupgrade.&lt;br /&gt;
&lt;br /&gt;
The version number under _name of current port_ is the OLD version number.&lt;br /&gt;
&lt;br /&gt;
== portupgrade warning ==&lt;br /&gt;
&lt;br /&gt;
Interrupting portupgrade may lead to various system catastrophes such as a broken package database and inability to reach the internet to get what you need to fix it. The portupgrade command should never be interrupted. See [[Errors To Avoid]].&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]] [[Category:Ports and Packages]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Pkg_info</id>
		<title>Pkg info</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Pkg_info"/>
				<updated>2005-11-24T19:02:18Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Common Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Shows the package information. See also [[pkg_add]] and [[pkg_delete]]&lt;br /&gt;
&lt;br /&gt;
==Common Arguments==&lt;br /&gt;
 -a Show all installed packages&lt;br /&gt;
 -c Show the (one line) comment field for each package.&lt;br /&gt;
 -d Show the long description field for each package.&lt;br /&gt;
 -D Show the install-message file for each package.&lt;br /&gt;
 -r Show dependencies of the installed package.&lt;br /&gt;
 -R Show which other packages depend on this one.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;br /&gt;
[[Category : System Commands]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Package</id>
		<title>Package</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Package"/>
				<updated>2005-11-24T19:00:03Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A package is a port that has been pre-compiled for maximum compability and speed of install. As a result you can't change the compile options and they usually don't run as fast as ports.&lt;br /&gt;
&lt;br /&gt;
Sometimes a package is a good alternative to a port when the port or one of its dependencies is broken; or when you just need something installed very quick.&lt;br /&gt;
&lt;br /&gt;
Packages are added with the command [[pkg_add]], removed with [[pkg_delete]] and you can identify which packages have been installed on your system via the [[pkg_info]] command.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Proc</id>
		<title>Proc</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Proc"/>
				<updated>2005-11-24T18:58:14Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Linux, you can use /proc to see various bits of kernel and system info.  In FreeBSD, the equivalent is [[sysctl]].  Linux also has sysctl, but it's usefulness is nowhere near that of FreeBSD's sysctl.&lt;br /&gt;
&lt;br /&gt;
FreeBSD versions prior to 5.0 had a working /proc implementation.  However, several serious security issues were discovered and it was decided to move away from /proc.  The replacement is [[sysctl]].&lt;br /&gt;
&lt;br /&gt;
FreeBSD 5.x still has a mountable /proc system, and it is still used for certain debugging programs, including truss.&lt;br /&gt;
&lt;br /&gt;
FreeBSD 6.x has moved away from /proc completely, and you need to jump through several hoops in order to get it mounted.  No tools included with FreeBSD actually use it for anything, though.&lt;br /&gt;
&lt;br /&gt;
FreeBSD 7.x will probably be the first release without any trace of /proc.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Proc</id>
		<title>Proc</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Proc"/>
				<updated>2005-11-24T18:56:25Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FreeBSD versions prior to 5.0 had a /proc implementation.  However, several serious security issues were discovered and it was decided to move away from /proc.  The replacement is [[sysctl]].  FreeBSD 5.x still has a mountable /proc system, and is sitll used for certain debugging programs, including truss.  FreeBSD 6.x has moved away from /proc completely, and you need to jump through hoops in order to get it mounted.  FreeBSD 7.x will probably be the first release without any trace of /proc.&lt;br /&gt;
&lt;br /&gt;
In Linux, you can use /proc to see various bits of kernel and system info.  In FreeBSD, the equivalent is [[sysctl]].  Linux also has sysctl, but it's usefull is nowhere near that of FreeBSD's sysctl.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Kldstat</id>
		<title>Kldstat</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Kldstat"/>
				<updated>2005-11-24T18:49:29Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[kldstat]] is used to list all the modules loaded into the kernel, for example :&lt;br /&gt;
 shell&amp;gt; '''kldstat'''&lt;br /&gt;
 Id Refs Address    Size     Name&lt;br /&gt;
  1   10 0xc0400000 3e6638   kernel&lt;br /&gt;
  2   15 0xc07e7000 5d2f0    acpi.ko&lt;br /&gt;
&lt;br /&gt;
Modules are stored on disk in ''/boot/kernel/''. They can be loaded using [[kldload]] and unloaded using [[kldunload]].&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/Gotchas,_Linux</id>
		<title>Gotchas, Linux</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Gotchas,_Linux"/>
				<updated>2005-11-24T18:38:08Z</updated>
		
		<summary type="html">&lt;p&gt;Phoenix: /* Things you should know if you're coming to FreeBSD from Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Things you should know if you're coming to FreeBSD from Linux==&lt;br /&gt;
# The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' &amp;quot;lsmod&amp;quot;, &amp;quot;insmod&amp;quot; and &amp;quot;rmmod&amp;quot;.)&lt;br /&gt;
# You need to be a member of the wheel group in order to su to root.&lt;br /&gt;
# No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)&lt;br /&gt;
# Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.&lt;br /&gt;
# No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc&lt;br /&gt;
# You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.&lt;br /&gt;
# If in doubt, read the Handbook (or ask here).&lt;br /&gt;
# Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.&lt;br /&gt;
# [[Java]]'s a tough nut to install due to Sun's licensing restrictions...unless you're not on the x86 FreeBSD platform, in which case it's uninstallable anyway.&lt;br /&gt;
# /stand/[[sysinstall]] can be used for system configuration after installation, but should be avoided as it makes a mess of the /etc/rc.conf file.&lt;br /&gt;
# [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user.&lt;br /&gt;
# Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.&lt;br /&gt;
# Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names it's interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.&lt;br /&gt;
# /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.&lt;br /&gt;
# Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].&lt;br /&gt;
# [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.&lt;br /&gt;
# Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead in 5.x, use gvinum, gmirror, or graid)&lt;br /&gt;
# Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]&lt;br /&gt;
# Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.&lt;br /&gt;
# /boot/loader.conf is where you set which kernel modules to load at boot time. /etc/rc.conf is where you set which system daemons to load at boot time.  Or you can edit the startup scripts manually in /etc/rc.d (Some say this is the only way to do it, some say it doesn't matter. Your choice.)  (Note:  don't edit the rc scripts directly unless you *REALLY* know what you are doing, and understand how mergemaster works.)&lt;br /&gt;
# [[wget]] is replaced by [[fetch]]. Feel free to install wget if you don't want to learn another program, but they're very similar.&lt;br /&gt;
# If you install [[X11]], and switch to a shell, getting back to X is a matter of alt-F9 since FreeBSD sets you up with 8 virtual terminals instead of Linux's default of 6.&lt;br /&gt;
&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Phoenix</name></author>	</entry>

	</feed>