A Django site.
September 24, 2008

Aaron Toponce
atoponce
Aaron Toponce
» New Irssi Theme - 88_madcows

Yesterday, while students were working on labs, and I was bored stiff, I decided to update my Irssi installation running on my Debian SPARC box. I spent some time cleaning up the config (not by hand, mind you, but through the options in the interface) by updating the servers I connect to, the channels I want to autojoin, the networks, updating aliases and scripts, and a number of other things. Then, I realized it was time for a theme other than default.

I had run the madcow theme in the past, but I wasn’t happy with a few aspects of it. For example, I didn’t like the nicks being right-aligned based on the last character of their nick. Because of this, the developer of the the theme chose a max length for the nicks that meant cutting off any nicks that extended past that max. Why not just left-align it to conserve space? Also, there were aspects of the theme that didn’t tie in well with itself. So, after several hours of hacking, I finally settled on my new theme. It’s not a big departure from the madcow theme, as I loved the color scheme and much of the formatting, and wanted to keep it. However, I also wanted to change what was driving me nuts about the theme. Now, I’m no Irssi theme hacker, so I’m sure there are better ways to reach some of the formatting decisions that I made, but it’s working well, so I’m happy.

I decided to name the theme 88_madcows, after my IRC nick ‘eightyeight’ and keeping homage to the madcow theme developed by dubkat. Below is a screenshot of the theme in action. If you would like to download it, I’ve provided a link as well. I would recommend running the following commands in your Irssi for maximum theme integration (I have usercount.pl, trackbar.pl and nicklist.pl installed):

/set hilight_color %g
/set hilight_act_color %R
/set trackbar_style %g

Full 1680×1050 screenshot here (using the Tango color scheme in gnome-terminal).
Theme download here.

August 14, 2008

Aaron Toponce
atoponce
Aaron Toponce
» Ubuntu ASCII Art

I wanted a different ASCII art signature for my @ubuntu.com email address than I had for my personal account, so I took a couple minutes, and hacked one up together pretty quickly. It’s only 3 lines, which is appropriate for an email signature I believe. It’s not perfect, but it conveys the idea.

 ,-O  Ubuntu Linux
O   ; http://www.ubuntu.com
 `-O  Linux for Human Beings

If you would like to leave an ASCII art improvement of the above in the comments, please wrap them in <code></code> tags.

August 11, 2008

Tristan Rhodes
no nic
The Open Source Advocate
» DimDim 4.0 is here!


I blogged about open source web conferencing software a while back, but I wanted to share this significant update of the DimDim project. They have justed released version 4.0 of their software which adds significant functionality and makes DimDim a serious competitor to proprietary web conferencing solutions like Webex and GoToMeeting.

Because there are so many new features, I am only going to list my favorite ones below. For a full-list of features, go visit the DimDim website.

Recording and Archiving
Any Dimdim session can be recorded and made available with the click of the mouse. Simply press the record button. You can email the recording URL or grab an embed code and paste it on your blog or website. You can even upload your recording to YouTube or Blip.tv.

Mac Screensharing
Mac users can share their desktop with other Mac (and even Windows) users - even if they aren’t using Dimdim. With Mac live screencasting you can share your desktop with anyone (it’s like iChat within a browser.)

Multiple Presenters
With a single click you can let any attendee share their desktop, whiteboard, webcam or documents. You can always grab back control of the meeting with another click.

Free Conference Calls
While we’ve improved our free VoIP microphone sharing, many users asked for a conference dial-in so more people can use their traditional phones. Now every user gets their own unlimited free conference call account.

Single click to Start or Join Meeting
Start or join a meeting in seconds with a single click. All you need is the meeting room name or the meeting URL.

Zero Install
You don’t have to install any software even to host a meeting, share your webcam, whiteboards or PPTs. The first time you choose to share your desktop you’ll be prompted to install our live screencasting software. It’s a tiny 1.8MB install and comes with an uninstaller if you ever want to remove it.

Easier to Use
Based on user feedback, we’ve removed confusing tabs, popups, dialog boxes and links. Now Dimdim is not only faster and more powerful - it’s actually even easier to use. A single click is all it takes to share your desktop, your whiteboard, or your PowerPoint presentation. Click to share. Click again to stop. The item being shared is clearly indicated with an eye icon and darker background.
What is the DimDim business model?

DimDim is a great option for anyone who prefers to use open source software. The source code is always available on their website if you want to host your own web conferencing that includes all of the features of DimDim. They even offer a virtual appliance that can be used for a painless install of DimDim. If web-conferencing is a critical part of your business, you might consider purchasing services from DimDim.

For those who don't want to worry about installing and managing a DimDim server, DimDim offers several hosted options.


As you can see from this diagram, DimDim offers free hosted web conferencing for meetings with up to 20 users. If you need more web conferencing capabilities, they offer hosted services at very reasonable rates.

If anyone is using DimDim, please write a comment and share how it is working for you.

August 6, 2008

Aaron Toponce
atoponce
Aaron Toponce
» Linux Must Be Laughable

Today, I found myself featured on the Linux Haters Blog. I’ve heard of this blog before, but didn’t give it much thought, as most of the posts coming from the author are nothing more than Microsoft fan-boy fanaticism. It’s hard to take any of the posts seriously. After reading his post regarding a couple of mine, I just thought to myself, “Oh, brother. Is this guy for real, or is he all about the press, leading many, many readers on?”. I spent some time on the blog, digging through posts and comments, and I could find nothing intellectual stimulating conversation above “Linux SUX, Windows RULES!”. So, this post is challenge the author to produce something intellectual that will actually show some logic behind his posts (and maybe the commentators behind their comments).

My challenge is a simple question: What does it take to make a stock Microsoft Windows install usable? Let’s take a look, comparing a stock XP Professional install with an Ubuntu 8.04 install, and see who wins out.

First, let’s look at the installer itself. I’m a system administrator, and I want to get XP and Ubuntu installed as quickly as possible on as many machines as possible. What flexibility do I have with the Windows XP Professional CD as far as meeting this need? Well, as far as I can see, I only have the CD to do the install. I have to sit through each screen by hand, clicking through the dialogs one by one until the install finishes. During this install, I am plagued with entering in a different serial number in each computer, unless I was able to purchase a multi-install key, which I still have to enter by hand on each machine. Because I’m limited to only optical media for my installation method, it will take about 45 minutes to complete a single install. Of course, most administrators would use some disk imaging software, like Norton Ghost, but that means I need to purchase a 3rd party utility to make this task successful. With Ubuntu however, I have the ability to install the operating system automatically using a few built-in utilities. Kickstart, Pressed and the hybrid Kickseed give me the ability to completely automate the install hands off. Further, Ubuntu gives me the ability to use repositories where the software for the operating system exists. I can access these repositories via HTTP, FTP or NFS. Just being on a 100baseT full switched network will be incredibly faster than CDROM. I can complete a fully Ubuntu 8.04 desktop install in less than 15 minutes– on ALL machines.

Second, let’s compare security on the operating systems. With Ubuntu, by default, if services are setup, they are only listening on the local interface, localhost. Coupled with AppArmor, I have a Mandatory Access Control system keeping my processes in check with my files. A default firewall is disabled, but can be enabled with the Netfilter kernel module, and built easily with the uncomplicated “ufw” command. Users created on the system are not administrators, so system-wide security vulnerabilities introduced through the user and highly improbable. Antivirus software, as well as software needed to remove malware, spyware, etc. is not needed, as the security design behind the operating system does not let this software grow beyond the user’s home directory. Updates will most likely be waiting on first boot, to patch any security vulnerabilities and bugs with the system. Updates will be ongoing frequently throughout the time using Ubuntu. On the other hand, Windows XP has left me with absolutely nothing. No firewall software. No MAC software, although Vista with UAC addressed this. Newly created users on the system are administrators by default, so creating havoc on the box, and even the network, is as easy as getting online. The latest service pack will be waiting for me, and updates will be continuous throughout my use of XP. Windows has shown a bad track record with viruses and badware, yet on a default install, I’m left with nothing to guard myself. Sure, there are third party utilities to help me address these issues, but I will need to purchase them separately, and get them installed after XP finishes its install. Further, the default services are listening on all interfaces, making me vulnerable to an attack.

Now on to productivity software. After installing these machines, I need them ready for the corporate environment. I’ll need email clients to synchronize with my backend servers, regardless of what they’re running. I’ll need office productivity software in the way of word processing and spreadsheets. I’ll need PDF creators and viewers. I’ll need a compressing utility, as well as encryption, due to the nature of sensitive emails. Instant messaging is a must for internal communication. With Ubuntu, OpenOffice.org is shipped and installed by default providing the employees the necessary tools to begin working. Evolution is provided for email communication, which gives me the ability to connect to POP3(s), IMAP(s) and Exchange servers. Ubuntu ships with Evince as the default PDF viewer, and a PDF “printer” is installed by default, giving me easy access to create PDFs. Three compression utilities, zip, gzip and bzip2, coupled with GNU tar, give me the ability to archive and compress anything on disk. GnuPG is installed by default for encrypting those sensitive emails. Lastly, Pidgin is my mult-protocol application for using instant messaging, giving me the ability to connect to Jabber, MSN, Yahoo, AIM, ICQ, Novell groupwise, and many, many others simultaneously. As for Windows, I have Notepad and Wordpad installed for my “word processing”. There is no spreadsheet application installed. Outlook express is available as a minimal email client. There is no PDF creator or viewer. Zip is provided for compression, but no encryption application is installed. A Windows Messenger application is installed for instant messaging. Of course, many third party utilities can meet many of these needs, but none of them are provided by default

Lastly, the need for remote administration. Being a system administrator, I’ll need the ability to connect remotely to each machine, and administer it as needed, whether stuff breaks, I need to install/remove software, or other administration tasks. XP Professional has given me the ability to utilize the RDP protocol through remote desktop. RDP uses encryption by default, however, due to the nature of XP, I can only login via RDP when the user on the other end has logged off. XP only allows a single user logged in at any given time. Unfortunately, however, there is no scripting language provided by the operating system, so writing simple scripts to automate tasks for me is not possible. Again, I can install plenty of third party utilities to meet these needs. On the other hand, Ubuntu has given me OpenSSH, which also does encryption by default. Further, because Ubuntu is a mult-user operating system, I can administer the machine while the user is still using it. Installed are several different scripting languages and compiled languages to make automating tasks a breeze. Perl, Python, BASH, C and C++ are all installed by default.

Looking at these comparisons, Ubuntu 8.04 comes well ahead as a usable desktop on a default install where Windows horribly fails. This recalls to mind the Mac and PC commercials. Remember the first commercial, where Mac and PC were “born” by being unboxed? Mac was ready for primetime, while PC had service pack updates to process, third party utilities to install, and security software to configure. It was going to be a while before PC could be on the same usable level as Mac out of the box. I’m seeing the same thing here.

After a default install, I could see several scenarios where a default install just wont meet my needs, but third party utilities will. Norton Ghost, Microsoft Office, McAfee Antivirus, Windows Defender, Lavasoft Adaware, Spybot Search and Destroy, PGP, PDF utilities, better IM client, scripting language, and so forth. The third party list for getting a usable Windows desktop gets long fairly quickly.

So, I guess Linux must be laughable. It sure isn’t an operating system defective administrators would want to use. It just makes life too easy, both for the user and the administrator.

July 27, 2008

Hans Fugal
no nic
The Fugue :
» VMWare Server on Hardy

I had a heck of a time getting VMWare Server running on Ubuntu 8.04 (Hardy Heron). The problem is that the vmmon and vmnet modules fail to build against kernel 2.6.24. A little googling quickly reveals that you want the any-any-update patch, but that didn't work for me either. To be specific, vmware-any-any-update117c.tar.gz did not work. It turns out vmware-any-any-update-116.tgz works great. Maybe 117 is for the 2.6.25 kernel or something.

So, you do the vmware installation except for the vmware-config.pl step. Then you download and extract the above tarball and run runme.pl. Simple enough.

But when you try to run it, you get errors like this:

/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

I'm not sure what the right way to fix this is, but this way works for me.

sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/

July 18, 2008

Aaron Toponce
atoponce
Aaron Toponce
» Duplicate UIDs On Linux

This may be old hat for some, but I just discovered today that it is possible to have duplicate user IDs on the same Linux machine. The ‘useradd’ and ‘adduser’ commands will not allow it:

root@kratos:~# useradd -u 0 test_root
useradd: UID 0 is not unique

However, not to fear. Hand-editing the /etc/passwd file is possible, and further, giving the ability for a successful login. For example, here are the first 10 lines of my /etc/passwd:

root@kratos:~# head /etc/passwd
test_root:x:0:0:root:/root:/bin/bash
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
root@kratos:~# pwconv

I ran the ‘pwconv’ command to update the /etc/shadow file for the password aging information on the ‘test_user’. Now, to test with a login shell:

root@kratos:~# passwd test_root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@kratos:~# ssh test_root@localhost
test_root@localhost's password:
test_root@kratos:~# whoami
test_root

As you probably know, Linux doesn’t care much about the username itself, as much as it does the UID of the username. Further, when testing the account against the /etc/passwd file for existence, upon first successful pass is the winning account. That is why ‘whoami’ shows the ‘test_root’ account rather than the ‘root’ account.

Why would you do this? Doesn’t this just seem silly? To be honest, the only solution I can see with multiple UIDs, would be for the root account as demonstrated above. This way, if you lock out the root account, say with PAM or otherwise, you have a “back door” root account that you can use. Unfortunately, this leads to bad overhead, and sloppy administration. Further, I’ve heard applications check for the username “root” rather than the UID “0″ like they should, thus generating broken apps when using the backdoor account. Definitely, a better solution to this scenario would be proper delegation of the ’sudo’ command via the /etc/sudoers file.

I would be interested on further insight for those who have encountered this scenario before. Please comment.

July 17, 2008

Aaron Toponce
atoponce
Aaron Toponce
» Ubuntu At Best Buy

I know this is old hat, as I’ve seen it on the blogosphere for a couple of weeks now, but I can’t help but post about it myself. Ubuntu Linux is selling at Best Buy for only $20.00. I have yet to grab a copy myself, but plan on doing so as soon as I can. This just goes to show the popularity of a rock-solid Linux distribution, and the visibility it is making in the market I don’t think 2008 is the year of the Linux desktop, as Stormy seems to think, but I doubt that year is far behind, and with the massive failure of Vista, Ubuntu Linux is looking like a good alternative to many computing users.

Of course, selling Linux at a retail store is nothing new. In 1999, I remember Red Hat selling boxed copies at Staples in the software section. However, it’s been some time since I’ve seen it, so it’s refreshing to see my favorite distro on the selves reaching the mass populous.

July 16, 2008

Aaron Toponce
atoponce
Aaron Toponce
» Windows Replaced

Last week, my wife called me to tell me that we had been infected by a virus and that she couldn’t get online without her browser being forwarded to inappropriate sites. Further, there were new icons on the desktop, nasty messages popping up all over the workspace, and a saturated network. Sounds like more than just a virus. We were hit, and hit bad. Immediately, I told her to shut down the computer, and remove the network cable. I would address it when I got home from my trip.

When I got home from Pittsburgh, it was worse than I thought. We were not only infected by one virus, but many, trojans and worms included. Complicate that with malware, spyware, adware and dialers, and you can imagine my pain trying to clean up the operating system. Whoever attacked us, got us good, however, just on the Windows XP machine. My Linux machines remained completely, and totally unaffected. Fortunately, for us, not much is on that computer of personal worth, and my wife responded quicker than I thought, pulling the network cable as soon as she noticed the attack. If the attacker got anything at all, it wasn’t much, and certainly of no value or cause of concern.

After spending several hours Friday night and early Saturday morning, I made no progress in removing the infection from the operating system. At this point, I told my wife that it was probably time to say goodbye to Windows, relying on our digital lifestyle with Ubuntu Linux and Mac OS X. The decision has nothing to do with Freedom of software, but rather, everything to do with security and peace of mind. See agreed, and Sunday afternoon, the Windows partition was wiped clean (after backing up necessary data of course) replaced with Ubuntu 8.04.1.

For me, this is a big win, being an advocate of security and Free Software. However, I believe I sense some reluctance and fear from my wife. I’m not sure if she’s going to enjoy this, as she has developed a strong relationship with Microsoft Office, in particular, Word and Powerpoint. I am confident though, that through OpenOffice.org, she will find new life in a competing office software suite, and find Ubuntu Linux not as scary as she thinks it may be.

So finally, after 5 years of being Microsoft-free personally, my family has now made that switch as well. Good Fortune is headed our way.

July 10, 2008

Tristan Rhodes
no nic
The Open Source Advocate
» Reminder: Physical access = Root access

Today I needed to reset a password on an Ubuntu system. While doing this, I was reminded of just how simple it is to get root access on a default install of Ubuntu. I wanted to share these steps on this blog to remind people that if someone has physical access to your Ubuntu system, they can get root access in just a few seconds.

  • Boot up your computer
  • When asked, hit "Escape" to enter the GRUB menu
  • Select the option that displays "recovery mode"
  • Select the option labeled "root prompt"
  • You are now logged in as root with the ability to change anything
It is really just that simple. This root console is great for advanced users who need to reset a password, but the average user will have no idea what to do. For instance, here is how I found the main user of this system:
root@laptop:~# cat /etc/passwd | grep 1000:1000
tristan:x:1000:1000:Tristan Rhodes,,,:/home/tristan:/bin/bash
This output shows that there is a user named "tristan" who is the main user of this system. Next I needed to reset the password for that user. So I entered this command:
root@laptop:~# passwd tristan
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@laptop:~#
Next I was able to reboot the system and login as "tristan" using the new password I created.

Can this process be improved?

Like I mentioned above, the root command prompt is not the most user friendly interface ever invented. At best, it is confusing to new users and at worst it is very dangerous. So how can this be improved? Well there are already some great ideas floating about, and thanks to the powerful Ubuntu Brainstorm website you can see what people have said about this topic. One of the more popular ideas is a Graphical Recovery Mode. If you want to help make Ubuntu better, please vote on the ideas you want to see implemented or even post your own ideas on the Ubuntu Brainstorm website.

Is there any way to prevent root access?

Many people may choose to give up the simple password recovery in the interest of securing their system. There are many different ways to do this including:
  • Use a BIOS password that prevents the computer from booting
  • Use a GRUB menu password that prevents the computer from booting
  • Use an encrypted file-system that requires a password to use
I'm sure there are other ways to do this, so please provide your input in the comments below.

July 8, 2008
» Improve Application Startup Times With Preload

If your computer habits are anything like mine you probably have a set of applications that you use nearly every time you log in to the machine.  Let me guess.. Firefox?  Pidgin perhaps?  Thunderbird or Evolution?  You may have more or less, but it is common for a user to use the same applications regularly.  Wouldn’t it be nice if those commonly used applications could startup faster?  That is possible with a tool called “Preload”.

Installing Preload

The preload service is available through the main Ubuntu repositories, and can be installed by clicking the link below or running the command:

sudo aptitude install preload

A few things to note now about using Preload.  First, this will not improve boot time.  Preload monitors recurring applications and, after establishing a pattern, will preload those binaries into memory at startup.  Given that it also has to establish a pattern you may not see a performance increase immediately.  Give it some time though, you’ll start to see a difference soon enough!

Other Points of Interest

July 2, 2008
» Automatically Find Fastest Repository Server in Ubuntu 8.04

I’ve blogged about this in the past but it seemed to be overlooked.  I blame the poor choice of title.  In any event, I figure it would be worth revisiting as I’ve had a few suggestions on it being a good topic.

note: Your mileage may vary.  I’ve seen these steps suggest a much faster repository and in other cases they can end up being slower.  Perhaps try two or three until you find a good one.

Updating Your Repository Server

Software packages and security updates are made available in Ubuntu by way of a software repository.  These repositories are mirrored all over the world, many times very close to where you live.  I, for example, have three mirrors within 50 miles of my house.  These are generally much faster than the core Ubuntu repositories.

To find a repository near you, or have your system scan for the fastest (which may or may not be local to you), you will need to launch the Software Sources tool.  This can be found in:

System > Administration > Software Sources

software sources

This administrative menu will allow you to change the location of your repository, and which items within the repository you want to subscribe to.  You will have the most software available if all boxes are checked.

other software sources

From here we’ll want to select “Other” from the drop-down menu and we’ll be provided with a list of available servers.

To have your system try and find the fastest server you can select the “Select Best Server” option, which will try to connect to each repository mirror and track the fastest responses.  The location selected when this process is done should be the fastest available mirror at that time.

select best server

Remember, repository mirror speeds can fluctuate based on traffic and other factors.  For best results you might try this scan periodically and find which mirrors are consistently the best for your location.  Enjoy!

Other Points of Interest

July 1, 2008
» Enable Commercial DVD Playback on Ubuntu 8.04

I realize it has been ages since I first wrote on this topic so I figured I’d revisit it again.  If you’ve ever found yourself unable to playback a DVD on your Ubuntu system, this post will outline the reason and the fix.

The Reason

At first you might wonder why this bug hasn’t been fixed.  If, as I say, I wrote about this long ago why hasn’t it been fixed?  The problem is not in the code, but in the software patents involved.  For the same reason mp3 support is not enabled out-of-the-box, neither is DVD playback.

I should give the obligatory disclaimer about checking your local law and all that jazz.. but I wont.  Just know that you can blame the DCMA and ridiculous US patent law for this restriction.  If you are outside the US you are likely fine.. lucky bastards.

The Fix

As I mentioned above, Ubuntu can’t include the code for DVD playback by default, but it is very simple to add after-the-fact.  It takes all of one command to get it working (and will generally require a reboot), but afterwards you’re set.  I’ll outline two methods you can use to enable DVD playback on your Ubuntu system.

Method #1:

The first method toward enabling DVD playback on Ubuntu 8.04 is to simply run an included script that will automagically fetch, configure and install the appropriate code for you.  This can be done by issuing the command below:

sudo /usr/share/doc/libdvdread3/install-css.sh

Method #2:

The second method (both are not required) toward enabling DVD playback on Ubuntu 8.04 is to install it in its packaged form, which is available from Medibuntu.  The following three commands will add the Medibuntu repository, install the security key and then add DVD playback support.

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install libdvdcss2

Either of these methods will likely require a reboot.  From here on out DVD playback should work just fine on your machine.

You may be interested in the No Software Patents website, which is an advocacy group with the goal of removing or at least improving the ridiculous, out of control software patent system.  Remember, this doesn’t only affect the US.  It could happen in your country too!

Random Posts

June 29, 2008
» View A Package Changelog Entry With Aptitude or Synaptic

Last week Aaron asked me if I knew the reason behind the latest kernel update, or if I knew where to find the changelog.  I poked around a bit and found that Aptitude, the command-line package management tool, has a changelog option.  If you’d like to see the changelog for a package before you update, or even after you’ve updated, you can do so with Aptitude.

Viewing the Changelog From The Terminal

Taking a look at the changelog for a package can be done at the command line by using:

aptitude changelog <packagename>

This only works for officially supported packages, so it’ll complain if you try it against something from a PPA, but this still covers quite a few packages.  So, if you’ve ever wondered the reason behind the update, you can check out the changelog and take a look!

Viewing the Changelog From Synaptic

The same functionality is available within Synaptic as well.  Navigate to:

“System > Administration > Synaptic Package Manager”

synaptic package manager

Find the package you’re interested in using the “Search” button and then select “Package > Download Changelog” from the Synaptic File menu.

download changelog

Random Posts

June 28, 2008
» Install Xubuntu Desktop alongside Ubuntu

If you’re new to Ubuntu you may or may not be aware of the fact that we like our choices here.  One of the big choices is the desktop environment that you work in.  The big two are Gnome and KDE, but there are quite a few more.  Xubuntu, or Ubuntu using the XFCE desktop environment, is another official release variant from the Ubuntu community.  If you’ve never tried it out I’ve got instructions below on how to install it in parallel to your existing desktop, giving you the option of selecting one at login.

Installing the Xubuntu Desktop

Installing the XFCE desktop environment can be done by way of the Ubuntu package repositories.  It has been simplified with the creation of a meta-package, which is a simple package containing a longer list of required packages.  To install the XFCE environment is done with the following:

sudo apt-get install xubuntu-desktop

When this is finished you’ll need to logout of your current session and select XFCE as the next session you’d like to use.  This option is found on the login screen.  Look for “Sessions” and select XFCE.  This can be made the default or just a temporary change.

Being able to select the session, or the environment that we’re going to use gives us the opportunity to try out multiple desktop environments without needing to reinstall or affect our current system much.  If you don’t like one, simply install and select a different session.

If you’d like to remove the XFCE environment at some point you can use:

sudo apt-get remove xubuntu-desktop

sudo apt-get autoremove

Related

June 27, 2008

Aaron Toponce
atoponce
Aaron Toponce
» DASH on Ubuntu

A couple recent posts have started on the Utah Open Source Planet regarding popd and pushd not being available on a default Ubuntu install. As discovered, popd and pushd are shell built-ins for the BASH shell, and not provided by the Debian Almquist Shell (DASH). Why has Ubuntu made the change from BASH to DASH as the default shell? Well, there some reasons for it, as identified by the Ubuntu Wiki.

BASH is full-featured bloat. Yes, bloat. If System V Init scripts are relying on BASH to start their service, your boot process will be slower. DASH, in comparison is light and snappy, thus greatly improving the time it takes your computer to boot. If your scripts are adhering to POSIX standards, and are using /bin/sh rather than /bin/bash, you shouldn’t notice any problems. However, if your scripts are relying on /bin/bash features, such as popd or pushd, and you change the interpreter at the top of your script to /bin/sh, you’ll have some breakage.

For what it’s worth, this isn’t anything new with 8.04. DASH became the default in Ubuntu with 6.10, so we’ve had it in this manner for some time. If you would like to change it, then point the symbolic link from /bin/sh to /bin/bash rather than /bin/dash, and you’re done. However, as you may have noticed, it could cause some breakage if you Bourne-compatible scripts contain “Bashisms”.

Personally, I recommend the Z-shell (ZSH) to anyone looking for an alternative to DASH or BASH. Much more capable, flexible and configurable shell.

» Presenting at OSCON 2008 : July 21-25, 2008

Some of you might remember, long ag, that I asked for some feedback regarding a presentation at Ubuntu Live 2008. Well, as it turns out the Ubuntu Live conference was cancelled by my presentation was migrated to OSCON instead.  I’m pretty excited to be going to OSCON this year, especially as a speaker.  I went last year, but just to work in a booth as a volunteer.  This year will be a much more fun!

If you’re going to be at OSCON come and say hello.  I’ll be presenting:

LTS Tutorials : Using Ubuntu in the Enterprise - 10:45 on 23 Jul 2008

I’ll be covering things like automated installations with kickstart and preseed, automated “stack” setup with the server installer (LAMP, etc), basic security with ufw, and more.  I think it’ll be a lot of fun and I hope to be able to show how Ubuntu Server can make Enterprise Linux simpler while remaining just as stable and secure as anything else.

If you haven’t yet registered I’ve outlined some of the available discount codes below.  If you can get the time, and if the discount help, OSCON is *really* a lot of fun and the education you get is worth every penny.

OSCON Registration Discount Codes

  • os08fts - 65% off with proof of full-time student status: a copy of ID & class schedule demonstrating enrollment in 12 or more units per semester/quarter. Fax to (707) 829-1342. Please use os08fts in the discount field.
  • os08team - 10% off per person if you register 3 or more people from one company. Please use os08team in discount field. Proof of status of employment (copy of business card) for each attendee must be faxed to (707) 829-1342.
  • os08np - 40% off with proof of full time employment at a non-profit organization and verification of non-profit status (501 c3 or equivalent). Fax to (707) 829-1342. Please use os08np in the discount field.
  • os08gov - 10% off with proof of full-time employment with a government agency. Use discount code os08gov, and fax proof to (707) 829-1342.
  • os08as - 25% off with proof of full time academic employment status on organization letterhead. Fax to (707) 829-1342. Please use os08as in discount field.

Related

» Why doesn't pushd popd work in my Ubuntu shell script?

I'm in the process of moving over to my new laptop. I run into an issue where a shell script (that worked under gentoo) now no longer works. Here's the error foo.sh: 18: pushd: not found Since I'm running this as sh foo.sh, I turn on debugging wit

» New lappy, Lenovo T61p (linux edition)

My trusty r52 switches between a state of 100-200 free megs of memory and no memory on the 40 gig hard drive. Rather than investing in an expensive IBM harddrive (I've heard the BIOS on my machine won't take normal OEM drives), I got a new computer.

June 25, 2008
» Install Adobe Acrobat Plugins For Firefox

I recently blogged about installing the Adobe Acrobat Reader on Ubuntu 8.04.  For those that followed that tutorial you may also be interested in adding the Firefox plugins for Adobe Reader as well.  These will also require the Medibuntu repository, which I’ll review quickly here.

Configuring the Medibuntu Repository

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Installing the Mozilla Acroread Plugins

sudo apt-get install mozilla-acroread acroread-plugins

The acroread-plugins package will provide support for completion of fillable forms and javascript.  The mozilla-acroread package will provide support for mozilla, firefox, galeon and konqueror.

Enjoy!

Related

June 24, 2008

Scott Morris
nexangelus
OpenSUSE Linux Rants
» Interview with Christer Edwards, Ubuntu Utah Founder

Say hello to Ubuntu Utah Founder Christer Edwards. Being one of the major open source contributors recognized around the community, I was curious to know more about Christer.

Please tell us who you are.

Christer Edwards, aka Zelut. 28yrs old. Geek.

How long have you been in the tech industry (i.e., made a living through your knowledge of computers)?

I’ve always been interested in computers but have only really got into “the industry” over the past few years. Previous to that was mostly tinkering and self-study. Currently I’m working as a Linux instructor for Guru Labs, teaching primarily RedHat Enterprise Linux.

How many different operating systems (either Open Source or proprietary) have you used?

Linux, Windows and Mac are the primary ones. I have not owned (or plan to own) a Windows machine in nearly three years. At home we have Ubuntu desktops, laptops and servers and my wife uses an iMac with OSX Leopard.

What draws you to the philosophy of Open Source Software?

Open development. Transparency. The *only* people who benefit from proprietary products (whether it be code or hardware) are the vendors. The open, transparent philosophy in the Open Source / Free Software world is what draws me. I am free to use the information in any way I see fit and no one is able to control how, where or for what reason I use my machine.

What was the Linux distribution you started with? When did you first start using Linux?

I first started tinkering with Free Software nearly ten years ago with a BSD variant and ended up melting a video card fighting with X11. After that I took a few years off (hehe) and eventually made my way back to RedHat 9. About the time they “went corporate” with RHEL I got a little burned and went back to XP for a year or so (this was also due to some nagging by the then-girlfriend). In early 2005 I was looking for a solution regarding viruses and the like and thought I would give Linux a try again. Ubuntu single-CD installer downloads faster than a Fedora DVD so Ubuntu made it to my machine and has stuck ever since.

Which Linux distributions have you used, and for how long did you use each?

I’ve used slackware, Mandrake (when it was mandrake), Fedora, opensuse, and Ubuntu.

What is your preferred Linux distribution? Why do you like it more than the others you’ve tried?

I prefer Ubuntu far more than the other distributions out there for a number of reasons. 1) compared with Fedora, Ubuntu actually puts focus on usability vs just bleeding-edge (although Fedora should be applauded for constantly pushing the envelope). 2) I prefer it over openSUSE recently because in the 10.x series there have been too many big changes. rug, smart, zypper.. zypper again. Major changes like that have made for a rocky road and I’d rather just get work done. Also openSUSE seems to try and re-invent the wheel constantly vs use established tools such as kickstart, yum, apparmour, etc. If openSUSE were to become a little more.. established I don’t mind it, but until all the smoke has settled its too volatile for me.

Do you contribute to any specific distribution? Tutorials, maintain wiki articles, develop packages, other types of personal efforts?

I contribute to the Ubuntu project by way of localized support teams, bug work, wiki contribution, etc. I also maintain the ubuntu-tutorials.com blog, which has regular instruction on how to make the most out of your ubuntu / linux machine. I have also recently begun working on .deb packaging and the Ubuntu MOTU project to help maintain the community supported repositories.

Are you part of any organizations or user groups that you would recommend?

http://utah.ubuntu-us.org for local ubuntu support. http://utos.org for a collection of utah based free software groups and resources.

<end interview>

There you have it directly from the source: Christer Edwards. Take a look at Christer’s Linked-In Profile, or his Launchpad Page.

» Install Google Earth on Ubuntu 8.04

Recently I blogged about installing Adobe Acrobat reader by way of the Medibuntu repository.  This got me thinking about some of the other great (albeit non-free) software that is available there.  Here I’ll review how to add the Medibuntu repository and then how to install Google Earth!

Configure the Medibuntu Repository

Setting up this third-party repository can be done by way of a few quick commands:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

This will add the Medibuntu repository, import the Medibuntu GPG key and make the new packages available.

Install Google Earth

To then install Google Earth simply use:

sudo apt-get install googleearth-4.3

You should now have Google Earth added to your “Applications” menu and, assuming your video card supports the requirements, you’re ready to virtually travel the planet!

One thing that I did find which helped greatly regarding performance was disabling the atmosphere rendering.  This can be done via:

View > Atmosphere : uncheck

If, for some reason, Google Earth doesn’t load properly or crashes on your machine you could try to revert to an older package version which seems to have less issues.  To do that use:

sudo apt-get install googleearth-4.2

Related

June 23, 2008
» Install Adobe Acrobat Reader 8.1.2 on Ubuntu 8.04

I figured it was time to update my previous posts on how to install Adobe Acrobat Reader for Ubuntu 8.04.  It has become much simpler to install than it has been in the past, meaning it can be installed via a proper .deb package.  It is not available in the main Ubuntu repositories, but it is available in Medibuntu.

Install Adobe Reader 8.1.2 on Ubuntu 8.04

All you’ll need to do in order to install Adobe Reader is add the Medibuntu repository.  This can be done via:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

Once that is done you’ll likely want to add the Medibuntu GPG key as well:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

..and finally install Adobe Reader v8.1.2 (at the time of this writing) by using:

sudo apt-get install acroread

Related


Tristan Rhodes
no nic
The Open Source Advocate
» Stop the press: Watch the news with Linux!

For the past three versions of Ubuntu, I have tested seven news websites to find out if I could watch their video feeds using Ubuntu. You can read the results for 6.10 and 7.04, and 7.10. Each time, I was disappointed to learn that a majority of the video feeds did not play correctly on Ubuntu Linux. This time, however, something amazing has happened.

I don't know which stars aligned to cause this, but every single news website that I tested with Ubuntu 8.04 LTS now has a correctly working video feed! I wasn't expecting this great of an improvement when I began this series of tests. I always knew that it would happen eventually, but never this quickly.

So what is the reason for this change? The video news sites have obviously realized the value of having a cross-platform video player. Market share gains by Linux are still small, so it is more likely the growth of Mac OS that led to this change of thinking. Be sure to thank your local Mac OS user for their help in forcing these news websites to stop using Microsoft-only video players and providing a way for Linux users to watch the news!

ABC News

  • Sound: YES (Improvement!)
  • Video: YES (Improvement!)
BBC News
  • Sound: YES (Improvement!)
  • Video: YES (Improvement!)
CBS News
  • Sound: YES
  • Video: YES
CNBC
  • Sound: YES (Improvement!)
  • Video: YES (Impovement!)
CNN
  • Sound: YES
  • Video: YES
Note: You can skip advertisements by clicking on the video you want to watch as soon as the advertisement begins to play. This currently only works in Linux, and they will probably patch this hole eventually.

FOX News
  • Sound: YES
  • Video: YES (Improvement!)
Note: FOX News has a volume problem that causes the advertisement volume to be MUCH louder than the story volume. If this tactic is intentional, they should know that this is a great reason NOT to watch their news videos.

MSNBC
  • Sound: YES
  • Video: YES

June 19, 2008
» Extend Your Battery Life With Powertop

If you use a Linux laptop and have not heard of PowerTop you really need to keep reading!  This is a fantastic tool for extending your battery life written and published by Intel.  I use it constantly on long flights and my battery lasts long enough for a cross-country flight.

Installing Powertop

PowerTop is available in the Ubuntu repositories so its a really easy installation:

sudo aptitude install powertop

Once you’ve got it installed start things up using:

sudo powertop

This application will scan your machine for 5 seconds and then tell you which hardware or application is causing the most drain on your machine.  The best part about it is that it’ll offer you suggestions along with shortcut keys to disable the feature or hardware in order to conserve power!

Some of the common things that powertop suggests disabling on my machine are bluetooth, wireless and add-on storage (cdrom, usb-devices, etc).  Disabling these few things can extend my battery up to an hour (depending on the software I’m running, of course).

I really suggest checking out powertop for any laptop user.  It should be part of your base installation setup.  What luck have you had with powertop?  How long can you extend your battery life?

Related

June 17, 2008
» Enhance Your Network Connection With OpenDNS

I blogged about openDNS last year, but recently I was reminded about how nice this service is.  OpenDNS can do a number of things for your network connection, either residential or commercial.  If you’d like to hear more about OpenDNS please visit the OpenDNS site.

Using OpenDNS on Ubuntu 8.04

There are two ways to activate OpenDNS on Ubuntu 8.04.  Graphically or via the CLI.  I’ll outline both.

Using the graphical method you’ll need to navigate to “System > Admin > Network”, and select the “DNS” tab.  You will need to unlock access to make changes by selecting the “Unlock” button.  Once it has been unlocked you can “Add” additional DNS Servers.  Add the following two addresses to your list:

208.67.222.222
208.67.220.220

To do the same via the command line simply add the following line to the end of the file /etc/dhcp3/dhclient.conf:

prepend domain-name-servers 208.67.222.222,208.67.220.220;

For information on configuring OpenDNS on your router or DNS Server see the getting started with OpenDNS page.

You can also verify that you’re using OpenDNS by visiting this URL:

http://welcome.opendns.com

Related

June 10, 2008
» How To Create An Ubuntu Repository Mirror on Ubuntu 8.04

I was discussing the creation and maintenance of an Ubuntu repository mirror in IRC today and realized that I haven’t blogged about how to do that.  Its funny sometimes how topics pop up, and something I’ve been using for months never made it onto the blog.  In any event, below I’ll outline how to create your own Ubuntu repository mirror–great for consolidating and saving bandwidth for multiple machines!

Creating the Mirror

To create an Ubuntu repository mirror we’ll use the apt-mirror tool.  This can be installed by issuing the following command or clicking the link:

sudo aptitude install apt-mirror

Once this package is installed you’ll need to configure a few items:

  1. Where will your mirror be stored?
  2. How aggressive will you be about downloading?
  3. What do you want to mirror?

To edit these values you’ll want to edit the /etc/apt/mirror.list file.  I’ve displayed mine below, and broken it down into the three main sections.

Where Will Your Mirror Be Stored?

I’ve configured my apt-mirror to be stored on an external USB drive.  This is defined via the line:

set base_path      /media/gurudisk/UBUNTU/MIRROR

This overrides the default value, which stores the data in /var/spool/apt.

How Aggressive Will You Be About Downloading?

This title may be a bit misleading but this is the way I think about it.  Technically its the number of download threads you want to use.  The higher the number, the more threads, the faster its done.  This will depend on your bandwidth connection though.  On my home DSL I can’t put this number any higher than 2.  In faster locations you’ll be able to put the number much higher.  Your milage may vary.

set nthreads     2

What Do You Want To Mirror?

Now, the most important part, is what do you actually want to mirror?  The syntax for this section is pretty simple.  It looks just like a normal sources.list entry, but for each address you want to mirror.  Here is an example of my entry for Ubuntu 8.04, i386:

# Ubuntu 8.04 "Hardy" i386
deb-i386 http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

If you want amd64 bit mirrored you might add entries like this:

# Ubuntu 8.04 "Hardy" amd64
deb-amd64 http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

Notice that I’m mirroring main, restricted, universe and multiverse plus the security, proposed, backports and updates sections.  This gives me a complete mirror of everything that would normally be available.  If you don’t want/need proposed or backports, etc you can simply remove those lines.

If you want to be able to use your mirror to support network based installations you’ll also need to add the following (depending on your architecture):

deb-amd64 http://archive.ubuntu.com/ubuntu hardy main main/debian-installer
deb-amd64 http://archive.ubuntu.com/ubuntu hardy restricted restricted/debian-installer
deb-amd64 http://archive.ubuntu.com/ubuntu hardy universe universe/debian-installer
deb-amd64 http://archive.ubuntu.com/ubuntu hardy multiverse multiverse/debian-installer

or

deb-i386 http://archive.ubuntu.com/ubuntu hardy main main/debian-installer
deb-i386 http://archive.ubuntu.com/ubuntu hardy restricted restricted/debian-installer
deb-i386 http://archive.ubuntu.com/ubuntu hardy universe universe/debian-installer
deb-i386 http://archive.ubuntu.com/ubuntu hardy multiverse multiverse/debian-installer

Basically just add the sources.list entry to this file for anything you want to mirror.  I also mirror Medibuntu and a few PPA locations.  It sure makes for faster installation when I am able to use the LAN as compared to the public tubes.

To keep your mirror updated activate the cron entry in /etc/cron.d/apt-mirror.  By default it will try to update your mirror at 4:00am, and it is disabled.  To activate it simply uncomment the line and change the 4 to the preferred hour of your choice.  Enjoy!

Update: My mirror, including main, restricted, universe, multiverse, -proposed, -backports, -security, Medibuntu and the network installation sections takes up 37G.  I do mirror i386 and amd64, so if you just need one architecture you could half-that.

Random Posts

June 7, 2008
» How To Install VMware Tools on Ubuntu 8.04 Guests

Installing VMware Tools on virtualized guests gives you a much more enjoyable experience within your virtual environment.  Screen resolution, mouse behaviour, etc will be improved for your virtual sessions after installing these additional tools.  Installing these tools within Ubuntu 8.04 virtualized guests is fairly simple, just follow along below.

Installing VMware Tools

The first requirement, of course, is that you have Ubuntu 8.04 installed within VMware Server and that Ubuntu 8.04 is running.

Once you’ve got your Ubuntu 8.04 guest logged in, navigate to the “VM” menu option (File, Edit, View… VM) and select “Install VMware Tools”.  This will notify you once again that your guest must be logged in.  If that is the case, click “Install”.

note: The next step in the process may be simpler if you make sure any other CD images are unmounted before continuing.

This part of the process mounts a virtual CD image with the VMware Tools contained on it.  To find these tools for installation navigate to Places > Computer > CD Drive.  You should find these two files listed there:

VMwareTools-*.rpm
VMwareTools-.tar.gz

For Ubuntu guest installations we’ll want to use the .tar.gz file.  Now we have access to the needed file, the next part of the process is opening the archive and installing the tools.

Below I’ve put together a copy-paste list of commands you should be able to use to unpack and setup VMware Tools on your Ubuntu 8.04 guest.  All of these commands happen within the Ubuntu 8.04 Guest machine:

sudo aptitude install build-essential linux-headers-generic
cp /media/cdrom/VMwareTools-*.tar.gz /tmp/
cd /tmp/
tar xf VMwareTools-*.tar.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl

You should be able to safely select the defaults for most of the questions.  You might want to pay attention at the step where it asks for your preferred available resolution and set that properly.  For the new VMware Tools to be available once this process is done you’ll need to reboot your Ubuntu 8.04 guest.  Enjoy.

Related

June 2, 2008

Hans Fugal
no nic
The Fugue :
» Radium in Ubuntu

My Radium 61 MIDI controller (read: MIDI keyboard that doesn't make any sound of its own accord) has worked great in Linux from day one, but it was always a bit of a pain to get set up.

When the keyboard is plugged in (USB), it needs firmware uploaded to it before it will show up as a USB MIDI device. In the past the way this is done has changed several times. In the devfs days you did one thing. Then someone wrote a package that made it even simpler. Then udev came along and messed everything up. Then udev changed and messed everything up. Then it happened again (stupid udev). Then I brought my keyboard to school and only used it with OS X for a year or so, and now here we are.

Now Ubuntu 8.04 has a package midisport-firmware which installs the firmware and the udev rules. Awesome! Except, it doesn't work. It turns out that the midisport-firmware package (which obviously must be coming from Debian unstable, or it would probably work) depends on usbfs, and apparently Ubuntu has disabled it. Or broken it. Or something. The fix is quite easy: uncomment the four lines under the comment "Magic to make /proc/bus/usb work" in /etc/init.d/mountdevsubfs.sh, then issue /etc/init.d/mountdevsubfs.sh start. It should Just Work™ in the future after reboots.

May 24, 2008

Tristan Rhodes
no nic
The Open Source Advocate
» Vyatta: Growing up quickly


For those of you who don't know, Vyatta is an open source network appliance that functions as a router, firewall, and VPN device, all running on a customized version of Debian Linux. I have been following the progress of Vyatta for over a year now, and things are looking very promising. The latest release is called VC4 (Vyatta Community edition) and it includes a bunch of useful new features:

  • New command shell allows you to modify Linux settings and network settings from one common interface
  • Redesign of routing protocol offers greatly improved stability and performance
  • Role-based user access
  • Equal-cost multi-path routing
  • Remote access VPN
  • Support for IP tunneling protocols
  • PPPoE support, commonly used with DSL connections
  • WAN load balancing of outbound traffic across two or more WAN-facing interfaces
  • Quality of Service policies provide congestion management and traffic conditioning
As you can see, a lot of exciting changes have been made in the short six months since the previous release. The routing improvements are related to the change from XORP to Quagga. The added QoS capabilities will make Vyatta a good fit for VoIP deployments. The only negative to this release is that Vyatta had to temporarily remove the GUI web-interface until they can integrate it, which is scheduled for July, 2008. Overall, Vyatta is becoming a a compelling option for replacing some of your over-priced network equipment.

Where does Vyatta fit in my network?

Vyatta can be deployed in several places on a network. The most obvious function for Vyatta is to replace your WAN routers and branch routers. Vyatta has made it easy to compare their products versus similar Cisco routers by funding third-party studies. You can read the results versus a low-end Cisco router and a high-end Cisco router. I am hoping that their next report will be a comparison with a security device like the Cisco ASA, which has similar functionality to Vyatta (router + firewall + VPN).

Another way to deploy Vyatta is within a virtualized infrastructure like VMware or Virtual Iron (which uses the open source Xen hypervisor). These technologies are often found in data centers, and are becoming more and more popular due to the advantages of virtualization. Vyatta can take advantage of the virtualized infrastructure because it runs on the same hardware as the data center servers. This means that you can install dozens of Vyatta network appliances in your server farm using standardized hardware, as opposed to buying proprietary network gear that is severely overpriced.

Keep in mind that Vyatta will not soon replace switches with high-density ports and high-speed backplanes. In these cases, hardware ASICS are required to achieve high performance at an efficient price.



What is the Vyatta business model?

The Vyatta open source project is sponsored by a commercial entity named Vyatta. All of the source code used to create Vyatta is freely available under the BSD or GPL license. Vyatta releases a community edition once every 6-months that is completely free to use. This community edition works great for testing environments, small deployments, and budget-starved projects. However, most serious businesses using Vyatta will require access to security updates and bug fixes that come out in between the community edition releases. These businesses will want to purchase a Vyatta subscription which provides software updates, along with two levels of technical support. Vyatta also sells a few hardware appliances that include Vyatta pre-installed and certified.

The future of Vyatta

Based on the tremendous improvements Vyatta has made over the past year, it is likely that they will continue to add new features, higher scalability, and more stability to their product. Planned improvements are listed in a public road map, and users can even vote for their favorite features. Customers with paid subscriptions get more votes than non-customers.

The road-map shows that Vyatta is going to focus on security and simplicity for the next release. The security improvements include adding intrusion detection and prevention (Snort), anti-virus (ClamAV), and SSL VPN connections (OpenVPN). The simplicity improvements will include an updated web-interface, and perhaps a cross-platform, clientless, remote-access VPN using SSL.

Disclaimer: My company sells Vyatta products and services.

May 21, 2008

Hans Fugal
no nic
The Fugue :
» Sound Card Indices

I have two soundcards in my desktop: the built-in soundcard which uses the snd-via82xx module, and the nice soundcard which uses the snd-cs46xx module. Naturally, the speakers are plugged into the nice card.

When I installed Ubuntu 8.04 from scratch, the VIA card started showing up as the first card, and therefore the default card. (You can tell by looking at /proc/asound/cards.) I created the following /etc/asound.conf to remedy that problem:

pcm.!default {
  type hw
  card CS46xx
}
ctl.!default {
  type hw
  card CS46xx
}

Ok, so now all programs using ALSA's default device automatically go to the right soundcard. But apparently using the default device is too much to ask of some software, which apparently hardcodes hw:0 or (even nuttier) hw:0,0.

So what I really wanted was to fix the order problem, so that the VIA card doesn't steal index 0. On Ubuntu at least, the fix is:

echo 'options snd-via82xx index=2' >> /etc/modprobe.d/alsa-base

Now my /proc/asound/cards always looks like this:

0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                     Sound Fusion CS46xx at 0xfb122000/0xfb000000, irq 20
1 [UART           ]: MPU-401 UART - MPU-401 UART
                     MPU-401 UART at 0x330, irq 10
2 [V8237          ]: VIA8237 - VIA 8237
                     VIA 8237 with ALC655 at 0xec00, irq 21


Aaron Toponce
atoponce
Aaron Toponce
» Automating Debian/Ubuntu Installs With Preseed

As a Linux instructor for Guru Labs, I get the opportunity to do a great deal of system administration. One of those responsibilities as an admin is performing installations of RHEL, Fedora, SLES, OpenSUSE and OEL. Soon, hopefully, we’ll be adding Debian and Ubuntu to the mix of courses and courseware. As such, along with Christer Edwards who also teaches at Guru Labs, I’ve taken it upon myself to find the necessary admin tools to bring to the table for our future courses. One such tool that has bothered me as of late, is automating an Ubuntu or Debian install.

With Red Hat and Fedora, the Anaconda installer automatically creates a /root/anaconda-ks-cfg file. This file is a Kickstart file necessary for automating installs if I want to build machines exactly like the one I just installed. In other words, this file is all the answers to the questions that I just entered for that installation. This is a handy feature. Why doesn’t Debian and Ubuntu do this? Actually, they do. Kind of.

When asked the necessary questions in the Debian text-based installer, a database is created keeping track of each of those answers. When the system is finished installing, that database is stored under /var/log/installer/questions.dat. Unfortunately, if you installed your system via the GUI installer, this file is not created. Further, you will need a utility to extract the answers to those questions, as the questions.dat file is a binary database.

So, we need to install debconf-utils for access to a couple of binaries necessary to build this preeseed config file for automating the rest of the installations that I wish to perform.

sud