Streaming Radio on the Net

I want to be able to hear KLOL broadcasts of the Walton and Johnson show, but most of the time I am busy. OK, I could take a radio to work and listen with headphones, but that’s too easy, plus I am still constrained to their playtime. KLOL does not do internet broadcasts due to all the paperwork each timethey play a song. Ho-hum.

Here’s my solution – I bought a $5 radio card for my computer that should run under Linux, and plan to capture radio input from KLOL from 5:30 AM to 10 AM, when W&J is on. Then from there, the MP3s will be put on my streaming audio site, where I can access the broadcasts from anywhere – work, home, vacation, whatever. Kinda like a TiVo for radio. (I wonder if there is already such a thing?)

Depending on the size of the files (I will probably save in 30 minute chunks), I may get a USB disk-on-key and dump them there, so that I am not downloading lots of stuff at work, risking attracting the attention of the surf police.

Anyhow, that’s the plan. The only thing stopping me at the moment is that currently my Linux server is a Compaq, and Compaqs are notorious for not allowing non-compaq cards in their BIOS. I’d have to add some sort of driver or something. Sheesh.

There’s a new Fry’s Electronics opening up near us – once it does, I am going to go get another motherboard and chip to replace a failing Gateway that I have, and fire that one up. Should be sweet…

DNS Slave Issues on Fedora

I recently updated one of my servers to Fedora Core 2, and one of its jobs is to provide DNS slave service. I could not for the life of me figure out why I was getting the following message when sending zone notifies:

Oct 11 17:11:44 saturn named[30297]: received notify for zone 'guyton.net': 
                not authoritative

The main problem was that I didn’t follow convention with ns records, so I fixed them up. Still nothing fixed, but I got things in better shape, theoretically.

It turns out that Fedora’s named runs chrooted to /var/named, even though there is an /etc/named.conf file. That’s misleading – you really need to edit the /var/named/chroot/etc/named.conf file. That in itself didn’t fix things, however:

Oct 11 21:45:47 saturn named[31267]: transfer of 'guyton.net/IN' from 10.1.1.14#53: 
                failed while receiving responses: permission denied
Oct 11 21:45:47 saturn named[31267]: transfer of 'guyton.net/IN' from 10.1.1.14#53:
                end of transfer

I had to chgrp named /var/named/chroot/var/named; chmod g+w ... so that the replicated zones could be written as the named user.

Problem solved, but it took some tinkering. I found a couple of other items that were improved upon in the process, so it was not a bad thing. I also softlinked /etc/named.conf to /var/named/chroot/etc/named.conf so that it would remain obvious.

Double-Network Linux Installation

Wow, Linux installations have come a long way in the past few years. I won’t dredge up the past, but the present certainly needs mentioning:

  • I downloaded Fedora Core 2 ISO images
  • I mounted them as loopback devices and dumped the contents all to one directory
  • I set up that directory for NFS export
  • I burned disc one for initial boot
  • I booted the new server with the CD with this command:
    linux vnc askmethod
    

    This did nothing at first, but eventually asked me the type of install I wanted – NFS to the server I had already set up.

  • Then the cool part – it started a VNC server on port 5901 for the gui choices.
  • I went downstairs to my laptop in front of the TV, grabbed an alcoholic beverege, and proceded to choose packages on my remote (wireless) network display.
  • Currently as I type, my remote display is telling me that the new server is pulling install files off the older server and installing Linux.

That’s so cool! I view my display over the network to the new server, which is pulling packages over the network from the NFS server.

For what it’s worth, it’s not a big box – just a 450 MHz P-II with 256 MB RAM. But it’s got two new 80 GB drives mirrored – nice again – the Linux install was able to do software RAID and LVM on everything.

I love being a geek.