How?

Right. Here’s what I want to do, but I am not really sure how I’m going to do it without using loads of bandwidth.

I currently have Icecast set up on a virtual server running Linux. It hosts a few broadcasts at the moment however their not permanently available. therefore, if you visit a broadcast mount point such as http://digitaldarragh.com:8000/madfortrad.m3u You will not hear anything unless someone is broadcasting to it.

The problem here is, when you advertise a broadcast like this, people like to go visit the stream right away. At the moment, when they visit it, they either get errors or their media player tries to download something. This isn’t good for very obvious reasons.

So, the problem is therefore, how do I get something to stream to this Icecast mount point all the time.

With Icecast, I can specify a secondary mountpoint. So, if I could get something to stream to this alternative mountpoint it would be perfect. Problem is, that if it’s an external source, it’s going to eat up bandwidth and also, it will likely slow the performance of the server.

So, how do I stream using a virtual server that doesn’t have a sound card and therefore obviously doesn’t have a device to stream to? Icecast needs a client to stream to it. Is there a client that would sit quietly as a service and stream to a mount point all day long? Surely this client wouldn’t work without a sound card? Or, is there some kind of virtual sound card module that I could use?

Thinking out loud, actually, the encoder / client doesn’t necessarily need to output to a sound card. and it could use a local loop back to the IceCast server. But, again, I need to make sure the client is really lightweight so it doesn’t create too much overhead in terms of memory and processor utilization because the servers priority always needs to be focused on serving websites.

Any ideas?

Live Music on DigitalDarragh.com

It’s no secret that I really love Irish traditional music. From Cara Dillon, Julie Fowlis, Kate Rusby, Michael Mcgoldrick, Tommy Cunnif, Zoe Conway, Mick Ó Brian, Sharon Shannon and John McKusker to Guidewires, Lúnasa, flook, Grada, Stocktons Wing, Slide, Tripswitch and Téada just to name a few, I love it all. I have over a Terabyte of Irish traditional music and I want to share some of this with you.

There are no decent Irish traditional music radio shows at the moment. This aims to fill that void.

The show will air on Saturdays at 7PM GMT, 2PM Eastern and 11AM Pacific time.

At the moment, there are a lot of ideas for making this show something you will want to listen to. Just some of the aims at the moment are:

  • Interviews and live performances by known and not so known Irish traditional musicians.
  • If permitted by musicians, short recordings of live gigs.
  • Interviews with lovers of Irish traditional music.
  • Reviews of specific new albums,/li>
  • Requests! Tell me what you want to hear. If I don’t have it, I’ll certainly get it.

The content and format of the show is currently not set. It’s going to change and evolve over the next few weeks as people decide what they want. Get your say in by commenting on this post.

This online broadcast is licensed by The Irish Music Rights Organization (IMRO.) Every step possible has been taken to ensure that copyrighted material is respected and artists are recognised appropriately.

The stream will be available at the following address. If this doesn’t open in Internet Explorer or Firefox, paste the address into your media player of choice. http://digitaldarragh.com:8000/madfortrad.m3u

Fixing DNS issues.

Problem

You cannot connect to certain sites.
You can ping IP addresses on the internet but you cant ping some or all domain names.

Background

DNS look ups are basically where you give your computer a domain name like google.com and it resolves it to an IP address such as 216.239.59.137. Generally you will have two or more DNS look up servers. These are generally given to you by your Internet Service Provider (ISP).

Solution

If your ISP is having problems with their Domain Name Servers (DNS) for short, you may want to consider using a service called OpenDNS. This service does exactly what your ISP’s DNS servers do. You will continue to have a primary and secondary DNS server but instead of looking up names using your ISP’s servers, you’ll use OpenDNS instead.

First, go to www.opendns.com and create an account. When your done, you will see instructions for adding the DNS servers to all versions of windows and Linux. If you continue down the page, you’ll also see a heading for geeks. Here, you will find the primary and secondary addresses. Keep these somewhere for a moment.

To configure Windows, Just follow these really simple steps.

  1. Go to run.
  2. Type the following Without the quotation marks: “control netconnections”
  3. Are you using wireless to connect to the router? If so, go to Wireless network connection with your mouse / arrows. If your using a wired connection, find Local area connection..
  4. press alt and enter if your using the keyboard, or right click on local area connection or wireless connection then click properties if your using a mouse.
  5. If using the keyboard, press i until you land on Internet protocol TCPIP. If your using Windows 7 or Vista, you’ll see IPv4 TCPIP or something like that. If using the mouse, click on this. NOw, press alt p for properties. If your using windows 7 or vista, press alt and r. If using the mouse, click on the properties button.
  6. Tab once to the radio button for obtain DNS IP address automatically and press the down arrow once to select Use the following DNS IP address. IF your using the mouse, click on this option.
  7. Tab to the primary dns field or left-click on it.
  8. Now, type the Primary DNS address that you got from the OpenDNS site.
  9. Do the second for the secondary DNS address. Just tab to that field or click on it with the mouse.
  10. When your done, click the OK button, then at the network properties, click close.

Right, that’s the hard bit done. Now, you just need to flush your DNS cache.

Your DNS cache is a local log of addresses that have been looked up. This cache reduces the amount of look ups that are carried out. However, when your change your DNS server due to problems, you need to remove this cache so that at the start, all further look ups are sent out to the primary or secondary DNS servers.

Doing this is really simple.

  1. Go to run.
  2. Type “cmd” and hit enter or click ok.
  3. In the resulting command prompt window, type the following without the quotations: “ipconfig /flushdns” and hit the enter key.
  4. Now, type exit.

Your done.

Close any and all Internet Explorer windows open at the moment and try going back to a site you previously couldn’t access.

If your a boards.ie user,

Ok. It’s no secret.

If your a boards.ie member, go on over to their website as there’s an important message for everyone who has an account there.

I really pity them. This is going to be a hard mess to clean up after. And it’s really not their fault either!

www.boards.ie

Ouch!

Random, highly personal and very strange. But I couldn’t care less.

I’ve a pain in my ass!

NO seriously! I’ve a pulled muscle or something.

And you thought you were having a bad day? Just imagine me! I’m sitting on my chair leaning to one side because my ass is sore.

Caused by doing too many squats with free weights. Trying to increase the power of my hill climes on the tandem.

Stop laughing!

No really!

Ouch!

Normal service shall resume shortly.

It was said last night that I haven’t blogged in ages.

Well, it’s true. I haven’t really been bothered. I’ve had a few tuff decisions to make and a few work problems that have required a bit of serious thought to figure out what I’m going to do. But, I’m almost at the end of the tunnel now. The decision I knew I was going to have to make will be made shortly and the required action will be taken. and work? well, I’m just goin to have to put up and shut up for a while.

January and a lot of December have been dead months in terms of music. This trend can not continue. Without music, my best avenue for releasing a lot of my day to day worries is gone so things annoy me more than they would ordinarily. So, I’m attempting to rectify that.

Now, I need a coffee. This train is running late………………….. again.

Setting up the IceCast Audio streaming server.

I decided on Sunday that I was going to set up a service on a Linux box for streaming audio. It’s not for me… not for the moment anyway. It’s for Stuart Lawler He wanted to stream his weekly podcast, the Stuart Lawler Show live to listeners while also making it available as a downloadable podcast. He’s planning to air it every week at 2PM. So, if your around at that time which is 7AM in Canada and 9AM in most parts of the US, Hop on over to The live show feed. Note, that feed doesn’t work when he’s not broadcasting so be warned, it will probably just give you a page not found error message.

I wanted to write a few notes to explain the process that I used to get IceCast running on this Ubuntu 8.04 machine. Firstly, I made a mistake. I didn’t realise the Icecast2 package was available in the apt repositories. So, I compiled all of the dependencies and the actuall Icecast package my self from source. So, I could have made it much easier on my self if I had checked the repositories before hand but… hay, that’s life.

So, when installing Icecast from source, you’ll need to download, configure, make and install LibXML, LibXXLT, LibTool, Curl and make. You’ll also need libvorbis, libogg and possibly a few other packages depending on what your doing.
You should install your dependencies in that order before moving on to IceCast as the make clean option didn’t work after the make process failed due to dependency problems.

Of course, if your compiling Icecast from source, you’ll need to add it as a service to run so you’ll need to grab or manually create a file to run it for /etc/init.d/

But, that isn’t probably necessary if you bother to check the package repository first though.

simply, go and grab it by typing sudo apt-get install icecast2 and your done. Don’t do what I also stupidly did when I installed icecast-server as that is version 1 of the package. Why they still have that in the repository I will never know.

Right. Is that done?

The config files are in /etc/icecast2.

Hay, I noticed a little funny thing when I installed it. I created a group called icecast with limited access and then a user with a similar name. Then, the installer created a new group… But what wsa funny was that in the config it generated in /etc/icecast2/icecast.xml, it elft the last bit commented out where the user name and the group is specified for better security. Something must have been left out somewhere when the package was created for the Ubuntu repositories. anyway, it’s simple enough to customise the xml file. The only problem is figuring out what addesses it’s looking for. The howtos, forums and every other bit of documentation out there is confusion at it’s best. Forget it all! Just use the release notes and the comments in the config file to guide you because they won’t stear you wrong.

Change the hostname to yourdomain.com.
Leave the port.
uncomment the changeowner part of the config at the bottom. comments start with . If your reading this with a screen reader, that last bit will make no sense to you. Use your read by character functions to see it.

Finally, when that’s done, create your mount point. At this stage, look at the sample mount points in the config. Only take what you need from them. Start the block with , end it with and you’ll be fine. The only information it really needs is the tag. Make that /name.mp3 or something like that.

That’s all there is too it really. It’s really much easier than I thought it was going to be. Actually, by complicating it, I probably made it more difficult than it needed to be.

Some VMWare workstation observations.

I’ve been doing a lot with virtual machines this week.

Virtual machines are basically computers within a computer. That’s really the easiest way of explaining it.

The Virtual machine application I chose was VMWare workstation.

So, installing the VM was absolutely fine. you’ll basically create the VM, decide the virtual machines specifications and when you boot it, it’s like booting a normal computer. You’ll have to install an operating system and configure it. Fortunately though, installing drivers is usually a non issue as they’ll automagically be picked up from the host.

The strange things I’ve come a cross so far are as follows:

When installing Jaws, it took two reboots for the mirror driver to be installed. After this, the procedure continued as normal. Authorization etc was as you’d expect on a normal installation of Windows.

One non-accessibility odity that I’ve found is that while in the virtual machine, the power saving settings of the guest still continue to take priority. That means that the machine can suddenly go into stand by even though you have been using the guest continually. OF course, it’s not really a problem. Either go to exclusive mode in VMWare or change your power settings.

On the first machine I installed this environment on I had huge problems getting the virtual machine to except the installation of Windows XP and then, when I finally got it working, the host couldn’t resume from stand by. I think this was as a result of something wrong with that computer though as when I recieved it first, it wouldn’t boot until I removed the keyboard and mouse. Some of the windows and reboot issues seemed like ACPI problems too so I switched the disk into a different machine with the same spec and it all worked properly.

Interestingly, I would have expected Windows and Jaws to need reactivation when I changed the disk into the alternat PC however both continued working without any changes at all.