Popular Tags
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jun | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
Article Categories
- 2003 Photos (5)
- 2004 Photos (24)
- 2005 Photos (52)
- 2006 Photos (50)
- 2007 Photos (38)
- 2008 Photos (18)
- 2009 Photos (7)
- Announcements (4)
- Older Photos (1)
- Ubuntu (35)
Meta
Archives
- June 2009 (6)
- May 2009 (2)
- April 2009 (7)
- March 2009 (10)
- February 2009 (5)
- January 2009 (13)
- December 2008 (3)
- November 2008 (1)
- May 2008 (1)
- March 2008 (7)
- February 2008 (4)
- January 2008 (5)
- December 2007 (7)
- November 2007 (2)
- October 2007 (2)
- September 2007 (1)
- August 2007 (3)
- July 2007 (10)
- June 2007 (2)
- May 2007 (1)
- March 2007 (4)
- February 2007 (3)
- January 2007 (3)
- December 2006 (2)
- November 2006 (1)
- October 2006 (13)
- September 2006 (4)
- August 2006 (6)
- July 2006 (9)
- June 2006 (2)
- May 2006 (1)
- April 2006 (4)
- March 2006 (2)
- February 2006 (3)
- January 2006 (2)
- December 2005 (4)
- November 2005 (2)
- October 2005 (4)
- September 2005 (4)
- August 2005 (6)
- July 2005 (7)
- June 2005 (10)
- May 2005 (6)
- April 2005 (5)
- March 2005 (2)
- February 2005 (1)
- January 2005 (1)
- December 2004 (1)
- November 2004 (1)
- October 2004 (3)
- September 2004 (1)
- August 2004 (1)
- July 2004 (9)
- June 2004 (4)
- May 2004 (1)
- February 2004 (2)
- January 2004 (1)
- December 2003 (2)
- October 2003 (1)
- July 2003 (1)
- June 2003 (1)
- February 2001 (1)
- September 200 (1)
Additonal Pages
Internet Media
- Adult Swim
- AOL Video
- Break
- Cartoon Network
- CommandN
- FORA.tv
- Front Pages
- Google Video
- Hulu
- IMEEM
- Joost
- Last.FM
- Mevio
- MSN Video
- Online Video Guide
- Pandora Radio
- Qube TV
- Revision 3
- Shoutcast Radio
- Snotr
- Spike
- The Simpsons
- Tiki Bar TV
- Today’s Big Thing
- TV Shack
- TV Sitcoms
- TV.com
- Vimeo
- YouTube
Miscellaneous
- 1200 Crockpot Recipes
- DOD Tracker
- IT Security
- NetSec Intro
- Network Security Journal
- Weekly Standard
- Wisconsin Tax Payer Alliance
Positioning
- Google Earth
- Live ATC
- Microsoft Virtual Earth
- Open Source GIS
- Open Source GIS - IBM
- Spatially Adjusted
- Trimble Knowledge Base
- Trimble Resources
Weather
- commandN Episode 185Gamers buy Pirates, a web side story, and Jeff with an Audio Curve review.
- Episode 44 - GypsyPlot holes suck.
iLast.fm
Creating video DVDs from files
2009-06-28
To create a non-data DVD from videos in various file formats, such as MP4 files created on your HD camcorder for example, I found “devede” to be much easier to use than “tovid”. I attempted to install and run “tovid”, “tovidgui”, and “todiscgui” from Synaptic as well as from .deb files without much success. Surprisingly, the majority of problems I experienced was getting all the dependencies with other tools and applications straightened out. This was true for my Heron, Ibex, and Jaunty environments in one capacity or another.
I had much better success with Devede. I was able to pull my raw camcorder files directly from the SDHC card into Devede. Devede is available via Synaptic or Aptitude and is GUI based. While it doesn’t directly handle the burning chores, it does create ISOs with complete video layouts intact. One advantage to this decoupling between the conversion and burning applications is you can mount the ISO and play the video as a QA check prior to burning.
Once you’ve confirmed the disc layout works for you, you can simply right-click the ISO and commit to disc from within the Nautilus context menu, or use another application such as Brasero or K3b, also available via Aptitude / Synaptic.
Free VNCs
2009-06-28
RealVNC is not free for Windows Vista and Windows 7 users, but is still available for free personal use on Windows XP. UltraVNC appears to be the best free VNC product for Windows now, while TightVNC is the best version of VNC for linux in my opinion.
This article explains how to quickly install and configure a simple private computing cloud with secure conduits between nodes in an Ubuntu enterprise using OpenNebula.
- If you are installing on Jaunty, the required libraries are natively available for installation regardless of the role of the particular node.
- If you are installing on Ibex or Heron, add the following repo before installing, regardless of the role. The Intrepid repo below seems to work for Hardy as well. If Synaptic frequently prompts an error indicating an authentication failure for this repo, you can disable or remove the repo once the installation is complete. However, the preferred method is to install an PGP key for this repo allowing automatic updates and patches for the OpenNebula environment. As of the creation of this article, I was not able to find a PGP key for this repo.
- The following example assumes there are 3 nodes in this cloud.
- To install the Nebula’s front-end controller, autogen an RSA public/private key pair, create a new “oneadmin” user and autostart the OpenNebula daemon on Workstation01 by performing the following single command:
- OpenSSH is used to secure the conduits between the nodes and may already be installed on this node. If it is not, the example here installs both the OpenSSH client and the OpenSSH server. Be sure to configure any local soft firewalls on each machine to allow port 22 traffic, as well as any routers or gateways between subnets.
- Using Workstation02 as an example, perform the following on each worker node to install the Nebula software, create a new “oneadmin” user and add it to the “libvirtd” user-group. Remember to install OpenSSH and configure firewalls on these worker nodes as well if it is not already present.
- You may also need to install KVM and manually start the libvirt daemon:
- Back at the front-end controller, add each node to the cloud using the following command. Be sure to pay careful ATTENTION to the onehost command output. The output contains customized instructions generated for each node you add using onehost:
- Per the output from the “onehost” command above, performing the following command on the front-end controller will also ensure each worker node is included in the known host list for future SSH connections:
- Per the output from the “onehost” command above, performing the following EXAMPLE command at the worker-node will establish the relationship with the front-end controller. Be sure to use the actual RSA key generated in your actual output. The key listed here if for example purposes only:
- Once you have completed all these steps on your worker nodes, you can view the current status by issuing the following command on the front-end controller:
deb http://ppa.launchpad.net/opennebula-ubuntu/ppa/ubuntu intrepid main
- Machine name Workstation01 is the front-end controller.
- Machine name Workstation02 is a worker node.
- Machine name Workstation03 is a worker node.
user@Workstation01:/$ sudo apt-get install opennebula
user@Workstation01:/$ sudo apt-get install openssh-server openssh-client
user@Workstation02:/$ sudo apt-get install opennebula-node
user@Workstation02:/$ sudo apt-get install openssh-server openssh-client
user@Workstation02:/$ sudo apt-get install kvm
user@Workstation02:/$ sudo /etc/init.d/libvirt-bin start
user@Workstation01:/$ onehost add Workstation02 im_kvm vmm_kvm tm_ssh
user@Workstation01:/$ sudo -u oneadmin ssh Workstation02
user@Workstation02:/$ sudo tee /var/lib/one/.ssh/authorized_keys < < EOT
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAydMzOY...WWvI/EyyyCun3kz+k3iDj3EIu1fQ== oneadmin@Workstation01
EOT
user@Workstation01:/$ onehost list
See this article for more detailed configuration instructions and options.
Enabling CTRL-ALT-BS in Jaunty
2009-06-05
By default, the keyseq CTRL-ALT-BS used to restart X has been disabled in Jaunty. Adding the following lines to /etc/X11/xorg.conf and restarting once manually will restore this functionality:
Section "ServerFlags"
Option "DontZap" "false"
EndSection
or optionally, you can use keyseq RIGHTALT-PRTSCR-K
VirtualBox USB support for client OS
2009-06-02
Do not install virtualbox-ose from the repos. Use the Debian package appropriate for your version of Ubuntu found at http://www.virtualbox.org/wiki/Linux_Downloads instead, which offers USB support. As of the time of this article, OSE or repo versions do not offer such support.
Once the proper version of VirtualBox is installed, and you have created a client OS that requires USB support, do the following:
- Perform graceful shutdowns of any client OS instances
- Backup your /etc/init.d/mountdevsubfs.sh script
- Edit your /etc/init.d/mountdevsubfs.sh script’s do_start() function to include the following code at the very end of the function declaration:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb - Now run the script -
$ sudo /etc/init.d/mountdevsubfs.sh start - Restart the udev service -
$ sudo /etc/init.d/udev restart - Make your user ID part of the vboxusers group -
$ sudo usermod -G vboxusers -a `whoami` - Logout and back in again
- Plug the USB device into the host machine
- Run VirtualBox but do not start the virtual machine yet
- Highlight the virtual machine, and choose SETTINGS -> USB to create a new filter for the USB device
- Start the virtual machine and under the DEVICES menu, select USB DEVICES to enable / disable individual USB devices
$ sudo cp -p /etc/init.d/mountdevsubfs.sh /etc/init.d/mountdevsubfs.sh.orig
Dell 1320c on Ubuntu
2009-06-02
- Install http://brianhiggins.com/downloads/fuji_docuprint_c525.deb
- Press and hold CONTINUE button on printer to print current config
- SYSTEM -> ADMINISTRATION -> PRINTING
- Click NEW -> NETWORK PRINTER
- Enter IP address of printer from printed sheets (socket://10.1.1.30)
- CHOOSE DRIVER -> FX -> DOCUPRINT C525A
- MEMORY = 64MB
- OPTIONAL TRAY MODULE = 250 SHEET FEEDER
- NAME = Dell1320c
- Click [APPLY]
- Right-click new printer, select PROPERTIES -> SETTINGS
- Change DEVICE URI from “socket://10.1.1.30″ to “lpd://10.1.1.30″
- *** Alternate option of “socket://10.1.1.30:9100″ for faster printing, but lpd:// works better for me.
- Under INSTALL OPTIONS, set OPTIONAL TRAY MODULE to 250 SHEET FEEDER
- Under PRINTER OPTIONS, set PAPER SOURCE to TRAY 1 (250 SHEETS)
- *** Alternate option of setting the MEDIA SIZE to A4 or A5, but LETTER 8.5×11 seems to work well for me.
- CUPS Admin available at http://localhost:631
- Printer Admin available at http://10.1.1.30
Install PHP and MySQL
2009-05-30
$ sudo apt-get install apache2$ sudo apt-get install php5$ sudo apt-get install libapache2-mod-php5$ sudo apt-get install mysql-server-
$ sudo apt-get install php5-mysql $ sudo /etc/init.d/apache2 restart$ sudo apt-get install phpmyadmin- http://localhost/ maps to /var/www
- config.inc.php can be found in /etc/phpmyadmin
Nameless
2009-05-04
Here is a little student film called “Nameless” by Bess Selje’s Wrath Productions, shot at one of our Wisconsin properties last winter. Mr. Grant, the painted draft horse, is still growing and has put on even more weight since this video.
Mounting ISOs adhoc
2009-04-29
- Load “loop” module:
- Create a mount point:
- Mount the ISO to the new mount point:
- Unmount the ISO when no longer needed:
- Remove the mount when no longer needed:
$ sudo modprobe loop
$ sudo mkdir /media/myMountPoint
$ sudo mount myISO.iso /media/myMountPoint/ -t iso9660 -o loop
$ sudo umount /media/myMountPoint
$ sudo rmdir /media/myMountPoint
Configuring dual displays in Ubuntu
2009-04-28
In the example here, I have a laptop display of 1280×768 on the left, and a 1440×900 LCD monitor on the right with an even plane between the two. Between these two displays, the largest HEIGHT is 900, one of two dimensions that will be required in the VIRTUAL setting outlined below. The WIDTH however is figured as the sum of the two individual displays, or 1280+1440=1720 for the second virtual dimension required below.
- Plug in all monitors, power them up and reboot.
- Backup your xorg.conf in case you need to recover your configuration.
- Document the currently detected settings of your displays, specifically the names and dimensions for each.
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
$ xrandr -q >~/Desktop/xrandr.output
Here is a modified /etc/X11/xorg.conf file, highlighting in boldface the elements that were added or altered to support dual displays specifically.
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
Option “monitor-VGA” “lcddisp”
Option “monitor-LVDS” “laptop”
EndSection
Section “Monitor”
Identifier “lcddisp”
EndSection
Section “Monitor”
Identifier “laptop”
Option “LeftOf” “lcddisp”
EndSection
Section “Screen”
Identifier “Default Screen”
Monitor “lcddisp”
Device “Configured Video Device”
SubSection “Display”
Depth 24
Modes “1280×768″ “1440×900″
Virtual 2720 900
EndSubsection
EndSection
Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen”
InputDevice “Synaptics Touchpad”
EndSection
- While all the boldface elements above are critical, you may use different values such as “RightOf” instead of “LeftOf” depending on how your display are physically arranged on your desk.
- The two values for the VIRTUAL element are the HEIGHT and WIDTH values calculated at the beginning of this article, again whereas the HEIGHT is simply the largest value of either of the two displays while the WIDTH is the sum of the two displays. This actually creates a single rectangular virtual display in which Ubuntu arranges your logical displays.
- Restart your X session. (Logout / Login, Restart, or CTRL-ALT-BS)
- Using the output from the command “xrandr -q” above, configure the position of the logical displays inside the new virtual display you created in /etc/X11/xorg.conf. In this example, I set the external display to the right (at pixel 1440) on the same horizontal plane (at pixel 0) as the laptop display.
- See this article for more details
$ xrandr --output VGA --pos 1440x0





