Archive for April, 2007

Part 2 – Put your Lacrosse WS-23xx weather station online

Sunday, April 29th, 2007

Automated updates from your 23xx to

I have an extra linksys WRT54G (with linux firmware) lying around which I plan to use as an always-on linux box. I have not set this up yet, but I have tested out a simple setup on my desktop Linux box to upload the data from my 2317, which is now accessible by IP (see previous post), to (more…)

Part 1 – Put your Lacrosse WS-23xx weather station online

Saturday, April 28th, 2007

Setting up a Serial Device Server

I got a WS-23xx (I think 17, but it was just called “pro”) for Christmas. The PC softwhere which comes with it is horrendous. In addition, I didn’t want to have to have a PC running all the time in order to upload data to the web. This hack will show how I took a Lantronix MSS-T1 Serial Device Server, and modified it in order to make it work with the 2317. Once the Serial Device Server is working, the 23xx essentially has an IP address and can be accessed from any computer that could normally access that IP.

1. Acquiring a Serial Device Server

What is a Serial Device Server? It is a powered electronic device which converts an RS232 serial data to data that can be transferred over a TCP/IP network (more…)

Backup an entire DVD with dvdbackup (no transcoding)

Sunday, April 22nd, 2007

I had to hunt quite a bit to find a utility that would let me back up an entire DVD in its original format. My only goal is to back the DVD up onto the hard drive. I’m not interested in transcoding, or playing it on my iPod. dvdbackup is available in the ubuntu repository. The man page shows how to back up a DVD. In its simplest form, the command line looks something like this:

dvdbackup -i /dev/scd0 -M -o outdir

Where /dev/scd0 is the DVD device, -M says full backup, and -o points to the output directory.

Make nvidia driver work after Ubuntu Feisty upgrade

Sunday, April 22nd, 2007

My /etc/X11/xorg.conf had been modified by a previous download of the nvidia driver. I think it may have been a tar file from nvidia’s website. At any rate, the driver was no longer loading after I upgraded to Feisty (and maybe it had not been working before). xorg.conf provides a command to overwrite the file with the repository version, which worked perfectly for me. It also realized that I had nvidia-glx installed already, and put in the correct settings for it.

sudo dpkg-reconfigure -phigh xserver-xorg

While I was cleaning up, I removed the old open source nv driver, xserver-xorg-video-nv.

06/18/2007 Hmmm… Somehow my nvidia driver got screwed up and I had to use vesa (installed via the above example) to get GDM up. I tried reinstalling the nvidia-glx-new driver mulitple times, as well as the restricted modules to no avail. Finally in reading through this¬† (dead link:¬† example, I found the command:

sudo apt-get install linux-generic

which seemed to upgrade my restricted-modules to match my current kernel. I’m not sure how they got out of date, but after running:

sudo nvidia-xconfig --no-composite

everything seems OK again.

Set up netbios name with Samba

Tuesday, April 17th, 2007

I’m not sure why the System->Administration->Shared Folders gui does not let one set up the netbios name for your Samba server, but it does not seem to in Feisty Beta at least. To set the name, you must edit /etc/smb.conf and add a line

netbios name = <the name you want>

I restarted Samba for good measure: sudo /etc/init.d/samba restart. I found this in a post here.