FreeBSD

Specific Guides:

R505DL install Guide

FreeBSD Install Notes

Installing FreeBSD on a laptop

Since
I have people seem to be using this page for more then just the Vaio
here are some general hints for getting FreeBSD 5.2-release running on
a laptop. For the beginner:

Summary of Commands:

  • su – ‘su to root’ – Type ‘su’ [ENTER] and supply the correct password
  • Anything found in ‘ ‘ is a command you need to type then press enter.

Jan 28, 2004: General Software that just installs

This is not a replacement for the documentation at FreeBSD.org however, it is general.

To install software there are two methods, from source or from packages.

To install from source you find the package in the port tree and type ‘make install’ (I recommend make install clean)

To install binary packages from the internet run ‘pkg_add -r
$PACKAGENAME’ (This may fail if the binary package is not available)

Software I have install:

Security:

freebsd-update

ethereal

etherape

 

Jan 28, 2004: Open Office

Option 1: Compile from Source (Yah Right)

cd /usr/ports/editors/openoffice-1.1/

‘make install clean’

Option 2: Binary Package! 🙂

Goto http://projects.imp.ch/openoffice/

Download the latest version in your FreeBSD Series

As root navigate to the download directory.

‘pkg_add package name’

Jan 28, 2004: Java

Comming Soon! (What I would give for a binary package)

Jan 28, 2004: Sound

Sound is not enabled by default however, it is enables by adding a single line to the /boot/loader

snd_driver_load=”YES”

Jan 28, 2004: VNC

To install VNC:

  1. ‘pkg_add -r vnc’
  2. Add the following lines to /etc/inetd.conf
    1. vnc stream tcp nowait root /usr/local/bin/Xvnc Xvnc -inetd -once -query 127.0.0.1 -geometry 1024×768 -depth 16
  3. Add the following line to /etc/services
    1. vnc 5900/tcp #VNC Server
  4. ‘/etc/rc.d/inetd restart’
  5. Now
    Configure GDM to access XDMCP connections. (I recommend dueing so from
    the gdm-configure) Its a GUI so you can figure it out.
  6. vncviewer 127.0.0.1

Jan. 28, 2004: Samba:

Configuring
samba was much more difficult then I expect. However, if you follow the
following steps you should end up with a working samba system (FYI,
this will setup gnome to use samba)

  1. Open up a termina and su to root
  2. ‘pkg_add -r gnome-vfs-extras’ ( This will install all the items needed to make gnome use samba)
  3. Configuring Samba for you:
    1. FreeBSD needs to load some kernel modules before using samba, so add the following lines to the /boot/loader.conf 
      1. smb_load=”YES”
      2. smbfs_load=”YES”
      3. smbios=”YES”
      4. smbus=”YES”
    2. We need to copy, mv and edit some files to make everything work. ‘cd /usr/local/etc’
    3. cp smb.conf.default smb.conf
    4. ‘edit smb.conf’ (use mine as an example)
    5. If you will be connecting to Windows XP Clients you must set ” encrypt passwords = yes
    6. ‘mv rc.d/samba.sh.example rc.d/samba.sh’
    7. ”/usr/local/etc/rc.d/samba.sh start’
    8. Everything should now work.
    9. smbclient -L localhost’ should output something like this.
    10. Now you must set your password, as root ‘smbpasswd yourusername password’
       
      

Leave a Reply