JTK – Notes and Ramblings Things we have found …

4/28/2010

PXE and Services

Filed under: General,Router/PC Config — taing @ 10:34 am

tftpd32 from http://tftpd32.jounin.net/ is a good option for setting up a tftp and dhcp server on windows for PXE boot.

You will need the pxelinux.0 and vesamenu.c32 files from the syslinux distribution. Editing the default file in the pxelinux.cfg folder will also be required.

A ssh server can be easily accomplished with cygwin using openssh server. Once you install the openssh(from Net group) and cygrunsrv(from Admin group) packages in cygwin you will need to run ssh-host-config. You can then use ‘net start sshd’ and ‘net stop sshd’.

In many cases a privilege separation user is useful but that is not always possible.

A nfs server can also be handled with cygwin. You will need the nfs-server(from Net group), sunrpc(from Libs group) and cygrunsrv(from Admin group). After installing you will need to run nfs-server-config.

/etc/hosts.allow and /etc/hosts.deny control access on a host level.

/etc/hosts.allow :
nfsd: 192.168.0.0/255.255.255.0

/etc/exports controls which folders to share.

/etc/exports :
/pub 192.168.0.0/255.255.255.0(ro, no_root_squash)

We created a link from our main tftpdboot folder to cygwin root for simplicity.

You can now ‘net start mountd’ and ‘net start nfsd’. This will automatically start the portmap service, also. ‘net stop portmap’ will stop all three services.

We suggest you set all of the cygwin services to Manual start to prevent starting unneeded services at Windows boot.

3/27/2010

HVR-1950 – Mythbuntu 9.10 – Both tuners

Filed under: General,MythTV — taing @ 4:44 pm

This assumes you have read the earlier post and have the firmware loaded and the device detected.

In order to get both tuners to work and not to conflict there are a few steps to follow.

Under Capture Card setup:

For the analog side
Card Type: IVTV MPEG-2 encoder card – /dev/video0

For the digital side
Card Type: DVB DTV capture card
Under ‘Record Options’ make sure
“Wait for SEQ start header” is not checked
“Open DVB Card on demand” is checked
“Use DVB Card for active EIT scan” is not checked

Under Input Connections:

Be sure to create Input Groups. You will need to create a group and put both cards in the same group.

For the other tuners in the system you will need to create separate input groups.

2/16/2010

hdhome run ir remote

Filed under: General,MythTV — taing @ 6:52 pm

You will need several files:

/etc/lirc/hardware.conf – defines the hardware and points to the ir def file
/etc/lirc/lircd.conf – the default location for the ir def file. Associates the IR from each button with an action code

~/.lircrc – often and include file for the application specific files
~/.lirc/mythtv – the mythtv specific file. Associates the action code with an application and response

~/.mythtv/lircrc – typically a link to ~/.lirc/mythtv

You will also need to set the hdhomerun device to talk to the proper frontend. The details can be found at http://www.silicondust.com/hdhomerun/instructions/mythtv.

hdhomerun_config <device id> set /ir/target "<lircd ip addr>:<port> store"

You can find the hdhomerun_config tar at http://www.silicondust.com/downloads.

You can use irrecord to create your lircd.conf file.
irrecord -H udp -d 5000 "name of remote"

This command must be run with lirc NOT running. You can then copy the created file to /etc/lirc/lircd.conf.

2/14/2010

MythMusic on separate frontend

Filed under: General,MythTV — taing @ 11:26 pm

The mp3 files are stored on the Master Backend at /var/lib/mythtv/music.

This mp3 files is shared by samba at //backend//music/

On the Frontend machine /var/lib/mythtv/music is a mount point for the samba share(requires smbfs be installed).

The Fstab entry looks like:
//backend/music /var/lib/mythtv/music cifs auto,uid=taine,gid=mythtv,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775 0 0
This will mount the smb share at boot. The credentials are stored in a file that is readable only by root ofr somewhat better security.

The file /root/cifscredentials looks like:
user=theuser
password=thepassword

Our other issue was to be sure to set the output device under Music Tools Setup to
ALSA:plughw:0,3
We are using the Acer Revo 3610 with HDMI ouput to a Vizio LCD TV.

2/6/2010

Vizio VX37L / Revo / Mythbuntu 9.10

Filed under: General,MythTV — taing @ 5:37 pm

The trick is in the /etc/X11/xorg.conf file, particularly the modeline :

Section "Screen"
        Identifier      "Default Screen"
        Device          "nvidia ION"
        Monitor         "Vizio VX37L"
        Defaultdepth    24
        SubSection "Display"
                Depth   24
                Modes   "1360x768C"  "1024x768@60"   "800x600@60"
        EndSubSection
EndSection

Section "Device"
        Identifier      "nvidia ION"
        Driver  "nvidia"
        Option  "UseEvents"     "1"
        Option  "DPI"   "100x100"
        Option  "NoLogo"        "1"
EndSection

Section "Monitor"
        Identifier      "Vizio VX37L"
        Vendorname      "Vizio"
        Modelname       "Vizio 37L"
        Horizsync       31.5-70
        Vertrefresh     50.0-85.0
        Option          "DPMS"
        Option          "ModeValidation" "NoWidthAlignmentCheck, NoDFPNativeResolutionCheck"
        Option          "ExactModeTimingsDVI" "TRUE"
        modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
        modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
        modeline  "1360x768C" 85.50 1366 1494 1624 1798 768 770 776 795 -hsync +vsync
        Gamma   1.0
EndSection

The modeline for 1360×768 will also work for the SV421XVT. However the auto detected 1920×1200 work very well.

A nice trick is to ssh -Y user@host
xrandr -q --screen :0

This will show the screen info for screen:0 on the remote host.

HVR-1950 with Mythbuntu 9.10

Filed under: General,MythTV — taing @ 5:22 pm

The first thing one needs to do is be sure the firmware is loaded.

The firmware can be extracted from the Drivers folder on the CD shipped with the HVR-1950 using the script found at http://www.isely.net/downloads/fwextract.pl. The firmware gets placed in the /lib/firmware directory. There are four files v4l-cx2341x-enc.fw
v4l-pvrusb2-29xxx-01.fw
v4l-cx25840.fw
v4l-pvrusb2-73xxx-01.fw

More info can be found at http://www.isely.net/pvrusb2/pvrusb2.html

Revo HDMI Audio Mythbuntu 9.10

Filed under: General,MythTV — taing @ 4:56 pm

First we needed to add the user to the audio group:

sudo usermod -a -G audio user

Then you will need alsamixer to be sure all three IEC958 outputs are unmuted.

Then you will need to be sure Myth is set for hdmi in the settings.

We also found http://xbmc.org/forum/showthread.php?t=59877 for further info on multi-channel hdmi sound from the Nvidia ION.

We found the output from aplay -l
aplay -L
to be useful.

Upgrade for ALSA under Ubuntu 9.10 can be found at http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/.

1/26/2010

VirtualBox Physical Drive

Filed under: General,Router/PC Config — taing @ 11:38 pm

VBoxManage internalcommands createrawvmdk -filename -rawdisk /dev/sda -register

Can use the option below to restrict the access to specific partitions
-partitions #

Use the option below to install an alternate boot record for the vmdk
-mbr ./myBootRecord.mbr

There are several methods of creating the mbr file. One is
apt-get install
install-mbr --force myBootRecord.mbr

Do NOT boot the same partion in the VirtualBox as you are currently running.

You must be a member of the “disk” group for creation and access to the vmdk file.


http://www.virtualbox.org/wiki/Migrate_Windows
– VirtualBox’s intsructions on converting a WinXP install to a virtual machine.

http://mesbalivernes.blogspot.com/2008/01/virtual-box-booting-from-existing.html – Blog entry describing Boot a physical WinXP install inside a VBox.

http://go2.wordpress.com/?id=725X1342&site=blarts.wordpress.com&url=http%3A%2F%2Fwww.virtualbox.org%2Fattachment%2Fwiki%2FMigrate_Windows%2FMergeIDE.zip – MergeIDE is require to prevent WinXP from halting on boot from hardware differences.

8/31/2005

Free 3D Models of Great Buildings – Great Buildings Online

Filed under: General — taing @ 6:49 pm

Free 3D Models of Great Buildings – Great Buildings Online
Hundreds of free 3D walkthough architectural computer models are included here at the Great Buildings Online web site, linked with free DesignWorkshop Lite architectural 3D walkthrough software for both Windows 95/98/ME/NT/2000 and Power Macintosh.

The models range in detail from very simple formal massing models of just a few blocks, through basic interior/exterior spatial walkthrough models, up to detailed interior/exterior models complete with furnishings and landscaping.

It’s all free for your own personal architectural enjoyment, experience, and understanding.

8/30/2005

Intelligent Design

Filed under: General — taing @ 6:47 pm

Edge 166
“Is ‘intelligent design’ a legitimate school of scientific thought?” asks Dennett? “Is there something to it, or have these people been taken in by one of the most ingenious hoaxes in the history of science? Wouldn’t such a hoax be impossible? No. Here’s how it has been done.” he continues.

7/25/2005

the CSS playground – CSS sliding photo-gallery

Filed under: General — taing @ 6:08 pm

stu2 nicholls 7C the CSS playground 7C CSS sliding photo-gallery
It is just an unordered list of images that are normally compressed vertically 28reduction 83A129. When you hover over one of these compressed images it expands to full size.

5/26/2005

Portable Firefox 1.0.4 (USB Drive-Friendly) :: Mozilla Stuff :: JohnHaller.com

Filed under: General — taing @ 8:29 am

Portable Firefox 1.0.4 (USB Drive-Friendly) :: Mozilla Stuff :: JohnHaller.com
Portable Firefox is a fully functional package of Firefox optimized for use on a USB key drive. It has some specially-selected optimizations to make it perform faster and extend the life of your USB key as well as a specialized launcher that will allow most of your favorite extensions to work as you switch computers.

« Newer PostsOlder Posts »

Powered by WordPress