The Adventures of Linux (and excessive home networking)

This is a loosely grouped collection of notes and/or commands I'm finding useful as I venture into the world of setting up a home network with a few linux clients and a linux server. It's mostly a 'notes dump' that I'm putting all on this one page. I'm not going to do a lot of fancy formatting or anything else, but it's here in case anyone else stumbles on it through Google or something....

 

Networking

NOTE: There is NO NFS client for windows that is free. Use SAMBA to share with windows. NFS will perform better than SAMBA with linux clients.

NFS File Sharing

SAMBA File Sharing

File synchronization with UNISON

XBox360 playback

Disks / Hard Drives

Misc Scripts

Some of the scripts I use on my network. They should be useful as a template if you replace the names/folders for your own network.

Misc Notes

Linux file structure summary

/binIt contains the standard binary files that can be used by all users both a regular user or super user.
/bootContains the files for booting Linux, including kernel image.
/devContains a special system file that is a reflection of the hardware devices that are recognized and used system.
/etcContains system configuration files, typically only be changed by super user.
/homeContains the directories which is the home directories for regular users and certain applications.
/mediaDirectory where the removable media is mounted.
/mntSpecial directory provided for mounting (link) disk storage devices to the system in the form of directory.
/optAdd-on packages directory of software applications.
/procContains a special system file that shows the kernel data at any time.
/rootHome directory for the root user (a special user with virtually unlimited priviledges).
/sbinJust like the directory / bin, but only the super user should use the binary-binary considering binary functions contained in this directory for system maintenance.
/tmpContains temporary files that needed an application that is running.
/usrContains libraries, binaries, documentation and other files the user installation.
/varContains the log files, mailboxes and data applications.

Fresh install script

# if not using instant messenger
#sudo apt-get purge pidgin telepathy

# if not bluetooth capable
#sudo apt-get purge bluez

# if not CD burning
#sudo apt-get purge brasero

# if not using IM
#sudo apt-get purge empathy

# if no printers
#sudo apt-get purge cups*

# if not wireless
#sudo apt-get purge wireless-tools

# if no torrents
#sudo apt-get purge transmission-*

# if not a streaming server or desktop
#sudo apt-get purge totem

# if not wireless
#sudo apt-get purge mintwifi

sudo apt-get purge overlay-scrollbar cowsay firefox thunderbird xchat nano hplip gcalctool simple-scan brltty brltty-x11 foo2zjs gwibber gwibber-service hplip hplip-cups hplip-data hpijs min12xxw pxljr splix ttf-indic-fonts-core ttf-kacst-one ttf-khmeros-core ttf-lao ttf-punjabi-fonts ttf-unfonts-core aspell bogofilter-* espeak-data evolution-common evolution-indicator evolution-plugins evolution-webcal firefox* foomatic* fortune-* vino simple-scan fusion-icon imagemagick indicator-me indicator-messages

# note: portmap is included with nfs-common)
sudo apt-get install nfs-common msttcorefonts sysv-rc-conf ccsm chromium

Programming/Web Development

Ubuntu specific info

Mint specific info

Machines

The router handles all DHCP assignments. DHCP pool is .2 through .49; network infrastructure is as follows:

Desktops
Primary OS Alternate OS IP address Notes
Windows 7, 64 bit Ubuntu 11.04, 64 bit x.x.x.50 Win7 for gaming (office)
Ubuntu 11.04, 32 bit   x.x.x.60 Music, video, service manuals, etc (garage)
Ubuntu 11.04, 32 bit   x.x.x.70 Music/movies/dvr (bedroom)
Ubuntu 11.04, 32 bit   x.x.x.80 Recipes, movies while cooking, etc (kitchen)
 
Servers
Primary OS Alternate OS IP address Notes
Linux Mint 11, 32 bit   x.x.x.100 Primary server with redundant hard drives and automated backup
NAS HDD   x.x.x.110 Network connected hard drive, provides common external storage
 
Other
Primary OS Alternate OS IP address Notes
XBox360   x.x.x.200 Plays music & videos from the server
 
Laptops
Primary OS Alternate OS IP address Notes
Ubuntu 11.04, 64 bit Windows 7 x64 dhcp Win7 for gaming
Windows XP   dhcp WinXP for automotive diagnosing / logging / flashing software
Windows XP   dhcp Another laptop