User Tools

Site Tools


river

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:

<code>0@@</code>

2.6.28-gentoo-r1|<code>1@@</code>

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

Mail

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.

<code>4@@</code>

Apache

TODO

Xorg

This configuration provides a dual screen setup, using the HDMI port to connect a 1920×1080 display, and the DVI port to connect a 1280×1024 display.

/etc/X11/xorg.conf|<source lang="xorg_conf"> Section "ServerLayout" Identifier "Primary Layout" Screen 0 "Primary Screen" 0 0 InputDevice "Logitech G15" "CoreKeyboard" InputDevice "Logitech Click Plus" "CorePointer" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "ServerFlags" Option "Xinerama" "0" EndSection # - Keyboard and Mouse # # Section "InputDevice" Identifier "Logitech G15" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc102" Option "XkbLayout" "gb" Option "XkbOptions" "lv3:ralt_switch,grp_led:scroll" EndSection Section "InputDevice" Identifier "Logitech Click Plus" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" Option "Buttons" "5" Option "ButtonMapping" "1 2 3 6 7" EndSection # - Monitors # Section "Monitor" Identifier "Primary Monitor" VendorName "ViewSonic" ModelName "vx2260wm" HorizSync 24.0 - 82.0 VertRefresh 55.0 - 75.0 Option "DPMS" EndSection Section "Monitor" Identifier "Secondary Monitor" VendorName "Acer" ModelName "Acer AL1912" HorizSync 30.0 - 83.0 VertRefresh 55.0 - 75.0 Option "DPMS" EndSection # - Graphics Cards # Section "Device" Identifier "Nvidia 9400 GT" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9400 GT" BusID "PCI:1:0:0" Option "RenderAccel" "true" Option "XAANoOffscreenPixmaps" Option "TripleBuffer" "true" Option "BackingStore" "true" Option "OnDemandVBlankInterrupts" "true" Option "AccelMethod" "XAA" EndSection Section "Extensions" Option "Composite" "Enable" EndSection # - Screens # Section "Screen" Identifier "Primary Screen" Device "Nvidia 9400 GT" Monitor "Primary Monitor" DefaultDepth 24 Option "TwinView" "1" Option "TwinViewXineramaInfoOrder" "DFP-1" Option "AddARGBGLXVisuals" "true" Option "metamodes" "CRT: 1280x1024_60 +1920+0, DFP: 1920x1080 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection </source>

ALSA

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.

river.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0