Table of Contents
River
Overview
- Type: Physical server
- Location: Bedroom 1
- Operating system: Gentoo
- Provides:
- File server
- Virtual machine hosting
- Music playback
- Desktops:
- Awesome
*Spec:
- Case: Antec P182
- Mainboard: GA-P965-DS3
- Processor: Intel Q6600 2.4ghz
- Memory: 6Gb
- Disk:
- 320Gb SATA Maxtor: New system disk
- 200Gb PATA: Current system disk
- 2x1000Gb SATA (lvm) - Pooled data
- 2x500Gb SATA (lvm) - Mirrored data
- Network:
- 2x 1Gbps Ethernet
- 100Mbps Ethernet
- Graphics:
- nVidia 9400 GT
- Intel Corporation 82G965 Integrated Graphics Controller
- Audio:
- Creative Audigy 2 Platinum
- Intel HDA
- Peripherals
- Monitors:
- ViewSonic VX2260WM 22“ Widescreen TFT (1920×1080)
- Acer AL1912 19” TFT (1280×1024)
- Speakers: Logitech Z-680
- Keyboard: Logitech G15
- IR Remote: Windows Media Centre Remote (lirc)
- Scanner: Canon CanoScan LIDE 25
- Card Reader: Multi-format non-branded
- Belkin Class1 USB Bluetooth dongle
- Logitech QuickCam Fusion
Filesystems
{| class=“wikitable” cellspacing=“10”
! Partition Number ! Size ! Filesystem ! Mount point ! UUID ! Notes
The following physical partitions are used for LVM.
{| class=“wikitable” cellspacing=“10”
! Device ! PV UUID ! Size ! Volume Group ! Notes
Installation
See Local Portage Mirror for instructions on setting up machines to use the local portage mirror for syncing the portage tree, and downloading cached source packages.
Installation
Kernel
See Kernel problems.
Full kernel <tt>.config</tt> files are stored in subversion, under configs:/kernel/river/.
Compile the kernel using <tt>genkernel</tt>, which will set up an initramfs supporting LVM and framebuffer splashes:
Framebuffer
See Framebuffer for steps to set up a high resolution framebuffer.
Portage
River will be set up to use some third-party overlays to the official Portage tree, as there are often packages that are too new or rare to be in the official tree. Layman is used to manage the overlays, and needs to be built with git and subversion support to be able to download certain overlays.
Install the following packages:
Now configure layman to download the desired overlays <code>2@@</code>
Now configure portage to look in the overlay directories /etc/make.conf|<code>3@@</code>
Next, update all the software on the system using: <source lang="bash"> emerge world -uDNav </source>
Installed software
See also:
System
Modules
The following packages build kernel modules against the current kernel source tree, and will need to be updated following every kernel upgrade:
Install direct=yes|sys-kernel/module-rebuild and populate the list of modules that need to be rebuilt with: <source lang="bash"> module-rebuild populate </source>
Then rebuild the kernel-dependent packages after an upgrade with the following command: <source lang="bash"> module-rebuild -X rebuild -- -av </source>
Networking
Desktop Environments
Media
Work
Internet
Utilities
Configuration
Network
{| class=“wikitable” cellspacing=“10”
! Hardware ! Driver ! Device ! Mac ! IP ! DHCP/Static
Logging
See Syslog for central network logging.
LDAP
See LDAP/Openldap. Configuration files are stored in subversion, under configs:/ldap/client/.
Firewall
todo
todo
Samba
Configuration is stored in subversion, under configs:/samba/river/. Samba's LDAP password must be set to the same value stored in the directory and then the service can be started.
Apache
TODO
Xorg
ALSA
Use the in-kernel drivers, and install the following packages:
- direct=yes|media-sound/alsa-tools ALSA_CARDS=“emu10k1”
River has three soundcards, and these should be loaded in the correct order:
- Creative Soundblaster Audigy 2 (snd_emu10k1)
- Realtek HDA (snd_intel_hda)
- Logitech webcam microphone (snd_usb_audio)
VMWare Server
Install the following packages
Run the <tt>vmware-config</tt> script to compile the proper modules and configure the networking. Set up the network as follows:
- vmnet0
- name: public
- type: bridged
- bridged to: eth0
- vmnet2
- name: local
- type: bridged
- bridged to: br1
Once the web interface is started, use it to remove the default datastore created by the installed, and add a new datastore named <tt>vms</tt> pointing at <tt>/mnt/pool/virtualmachines</tt>.
Install the following packages to be able to connect to pipes mapped to virtual serial ports:
NX
By default, NX looks in the wrong place for ssh keys. Fix this by editing the configuration file to contain the following: /usr/NX/etc/server/.cfg|<syntax lang="cfg"> SSHAuthorizedKeys = "authorized_keys" </syntax>
Then start NX, and ensure it autostarts on boot: <source lang="bash"> /etc/init.d/nxserver start rc-update add nxserver default </source>
Peripherals
Keyboard
See G15.
Media remote control
todo
Scanner
todo
Webcam
todo
Bluetooth
todo
Maintenance
Hardware
BIOS
5@@
lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) 02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 14) 04:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04) 04:01.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04) 04:01.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) 04:02.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
Troubleshooting
I have no sound!
Make sure the <tt>IEC958 Optical RAW</tt> channel in <tt>alsamixer</tt> is muted.