Linux Blog

PulseCaster

Filed under: Linux Software — TheLinuxBlog.com at 6:30 am on Wednesday, January 26, 2011

pulsecasterI stumbled upon PulseCaster while searching through Fedoras repositories, I was intrigued and had to give it a try. By the website this is the description:
“PulseCaster is a simple PulseAudio-based tool for making podcast interviews. It is designed for ease of use and simplicity. The user makes a call with a preferred PulseAudio-compatible Voice-over-IP (VoIP) softphone application such as Ekiga or Twinkle, and then starts PulseCaster to record the conversation to a multimedia file. The resulting file can be published as a podcast or distributed in other ways.”
It works really well for phone interviews or just recording that call you want to remember. I wouldn’t advise recording conversations without the other parties permission. I don’t know what the law is on that, but if you’re using it for its intended purpose (podcasting) then it serves its purpose. I actually used it to record the Asterisk Area Code Lookup Script.

Optimizing Shell Scripts

Filed under: Shell Script Sundays — TheLinuxBlog.com at 6:30 pm on Sunday, January 23, 2011

optimizing shell scripts

I’ll be honest, I’m no expert on optimizing shell scripts. I’m hoping that readers will chime in with their tips / experiences. With that being said I do have a few tricks up my sleeve from hands on experience with code optimization using other languages.

(Read on …)

Setting up a VPN with pptpd

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 9:00 am on Wednesday, January 19, 2011

Setting up a VPN with pptpd One of the things that was on my whiteboard for some time was to set up a VPN for home use. Sure, I can do some remote SSH port forwarding, use ssh as a proxy or perhaps even use some Linux Tunneling Techniques but they’re not quite the same as a full blown VPN. You can use the VPN for access to remote services, to secure communications on untrusted networks or use it for mobile devices. Whatever your use its easy to set a VPN up with pptpd that can be used with your mobile and remote devices. (Read on …)

The root for the previously installed system was not found – Fedora

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 12:30 am on Wednesday, January 12, 2011

The root for the previously installed system was not found
I was having an issue with a preupgrade of Fedora, somehow an old package that was no longer in use decided it was going to cause the installation to fail. After rebooting, finding the guilty package and removing it I started the upgrade again. This is where the error message “The root for the previously installed system was not found” occurred.

I did some research, tried mounting the file system then upgrading that way and still nothing.

According to this Fedora Forums post other people have experienced this issue. In cagonto1980’s post it explains the workaround:
Mount the filesystem, vi /mnt/sysimage/etc/fedora-release and change the release to the previous version. You may need to remember the version, mine was set to “Fedora 13 (Goddard)” and I changed it to “Fedora 12 (Constantine)”. After rebooting it started the upgrade. It appears the issue is Anaconda updates the release file and doesn’t change it back if the installation fails causing the next upgrade to think that the newest version is installed.

Thanks to cagonto1980 for the workaround.

Asterisk AGI Area Code Lookup

Filed under: Shell Script Sundays — TheLinuxBlog.com at 6:00 am on Sunday, January 9, 2011


I’ve written about my Asterisk meddling before in my Asterisk AGI IP Address lookup post. This time I’m writing about an Area Code Lookup Script I wrote that was inspired by Nerd Vittles WiFi Finder. The script prompts the user to enter a 3 digit area code and then reads the results back to the user.

The tar.gz file needs to be extracted and the resulting files placed into your agi-bin. The source can be found here.

Here is what it sounds like for the 404 areacode (ogg / mp3). After recording this I found out it would probably be a good idea to unique the array so items are not read twice, but it works for me.

2010 Statistics

Filed under: General Linux — TheLinuxBlog.com at 6:30 am on Wednesday, January 5, 2011

With 2010 in the rear view mirror I’d like to share some statistics that I thought were interesting.

Top Posts of 2010
1) Shell Script To Get User Input
2) iPhone SSH Client
3) Using Cut Shellscript String Manipulation
4) rsync to smb share
5) recursive md5 sum script
6) apache directory index forbidden by options directive

(Read on …)