FreeBSD 6.2 Guides

This article will guide you through the installation and system preparation for FreeBSD 6.2. This article is not intended to produce a working system, but is the foundation for the progression to either a desktop system or a server. Once this document has been followed to completion, you may either choose to follow the Server or Workstation documents for your system deployment.

Installing FreeBSD 6.2

I will assume that if you are reading this, that you have completed the installation steps described in the previous document Installing FreeBSD 6.2. This document will show the steps to take to deploy a FreeBSD server. This server will have the latest stable from the Apache 2.2 tree, PHP 5, MySQL 5.0, Sendmail with SMTP-AUTH, Webmail, Bind DNS, SNMP, synchronized local time, and Webmin. I have also included steps to take to build a network graphing solution with Rrdtool/Cacti, and this part can be considered optional. This document is basically, “the way I do it”, and I hope you find it useful.

Deploying a FreeBSD 6.2 Server

This is the process that I use when I build my own desktop workstations. I’ll warn that it can be quite time consuming, but in the end, you will have a system that is rock solid stable. Finally, I will assume that you have navigated to this article with a base system already installed, such as by following the document Installing FreeBSD 6.2.

Deploying a FreeBSD 6.2 Desktop

Whatever the hell you want — Linux

Configuring a PPPoE server on Linux

PPPoE (Point-to-Point Protocol over Ethernet) is a network protocol for encapsulating PPP frames in Ethernet frames. Just as pptp, it allows a subscriber accessing the network by using authorization, encryption, compression etc.

For providing access via PPPoE it is required a PPPoE network access server (NAS) and a subscriber’s unit (PPPoE client). In this guide as a PPPoE network access server it is used a freeware packet rp-pppoe working in the kernel mode on Gentoo Linux (rp-pppoe project web-page is here). As a client it is used a Microsoft Windows 2003 based PC and raspppoe packet (raspppoe packet project web-page is here). Authorization of subscribers is carried out via RADIUS protocol. read more…

Customizing/Create the splash image for GRUB

Splash image is the image shown in the background when GRUB (the GRand Unified Bootloader) is displaying the list of operating systems you can boot. Typically, this is the corporate logo of your Linux distribution. But its very simple to customize it to an image of your choice. All you need is the GIMP and gzip.
Here’s how:(You need to have root access)

1. Start the GIMP
2. Click on File->New or type Ctrl+N
3. In the new image dialog, change Width to 640 pixels and Height to 480 pixels. (The image should be of size 640×480 pixels.) Now click OK.
4. Create the image which you would like to be the splash image. It’s quite fun to experiment with the various tools of the GIMP!
5. After you have finished creating the image, hit Alt+i or right click on the image and click on Image->Mode->Indexed…
6. In the Indexed Color Conversion dialog that appears, click on the radio button “Generate optimal Palette” and in “# of colors” enter 14. Click OK.(The image should be of only 14 colors) 7. Now right-click on the image and click on File->Save As…Save the file as splash.xpm in a directory of your choice.
8. Now open a terminal window and navigate to the directory where you have saved splash.xpm
9. Now key in gzip splash.xpm
10. You will find that a file named splash.xpm.gz is created in the directory where splash.xpm used to exist.
11. Copy this splash.xpm.gz to the /boot/grub directory. You may want to back up the pre-existing splash.xpm.gz file in the /boot/grub directory first.

That’s it! When you reboot, you will find your image in the background, with the menu of operating systems etc. in the foreground.

Get the OpenSolaris Started-Kit!



Get every new post delivered to your Inbox.