Archive: Ubuntu

May 14, 2008

Debian/Ubuntu users: update your SSL keys and certs

It was announced yesterday that sometime back in September 2006 a line of code was removed from the Debian distributed OpenSSL package. That one line of code was responsible for causing an uninitialized data warning in Valgrind. It also seeded the random number generator used by OpenSSL. Without it, the error went away, but the keyspace used by affected systems went from 2^1024 to about 2^15. Oh noes!

A large majority of Debian and Ubuntu systems are affected. To correct the problem, you'll need to not only update OpenSSL, but also revoke and replace any cryptographic keys and certificates that were generated on the affected systems. From the Debian security advisory:

Affected keys include SSH keys, OpenVPN keys, DNSSEC keys, and key material for use in X.509 certificates and session keys used in SSL/TLS connections. Keys generated with GnuPG or GNUTLS are not affected, though.

For most people, this boils down to your ssh server's host key and any public key pairs used for remote ssh authentication. Any keys or certificates generated on the affected machines for SSL/https use also need to be revoked and regenerated. It's pretty ugly, really.

As far as teachable moments go, there's probably a lot to think about here. Software developers have this weird natural tendency to want to fix and reengineer things that aren't even broken. I'd go so far as to say that the desire to reengineer is inversely proportional to a programmer's familiarity and understanding of the code. I think it comes from our intense desire to make sense of things. It's the guru who's able to channel that hacker urge into solving new problems instead of creating new bugs out of old solutions.


DSA-1571-1 openssl -- predictable random number generator
OpenSSL PRNG Debian Toys (more discussion of the problem here)

Posted by Jason Striegel | May 14, 2008 07:57 PM
Cryptography, Linux, Linux Desktop, Linux Server, Ubuntu | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

April 9, 2008

Air on the EeePC

eeepc_air_20080410.jpg

There's a good post on the O'Reilly Rich Internet Application blog about running Air under Linux on the EeePC:

Adobe recently released the first public alpha version of the AIR runtime for Linux on labs. This is great news! I felt compelled to "geek out" with it, and was able to get AIR running on an Asus EeePC, although with a few minor issues.

The Asus EeePC runs a derivative of Xandros with KDE, which is not a supported Linux distribution for AIR. I got it working with a little help from the Adobe forums, and I'm very excited about it. I have never gotten into Linux desktop application development, but I think that's could soon change.

There's a thread on the Adobe forums that has guidance for running Air on Linux machines. It's a simple matter of downloading the SDK and running your applications from the command line using the adl command like so:

~/AIR-SDK/bin/adl -nodebug ~/app/META-INF/AIR/application.xml ~/app

The AIR runtime for Linux release notes are pretty clear that this is still a pretty alpha product with some unfinished features, but it's something, and if you do a lot of AIR or traditional Flash development, this would be a cool way to include Linux as a build target for your next desktop application.

AIR + Linux + EeePC [via Lebon Bon Lebon]
Adobe AIR for Linux
Running AIR on Linux (Adobe forum)

Posted by Jason Striegel | Apr 9, 2008 11:06 PM
Flash, Linux, Ubuntu | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

March 23, 2008

Run Safari in Ubuntu

safariubuntu_20080323.jpg

The Ubuntu Unleashed blog has a simple guide for getting Safari to run in Ubuntu. You basically install the Windows version of Safari under WINE, copy over a few core Windows fonts to your WINE install and it just works. You can even install the flash plugin.

I'm not positive that I wouldn't feel a little dirty running closed software on a Linux desktop, but considering Safari is still my preferred browser under OS X (much to the embarrassment of some of my coworkers), I can understand why this could be cool for a lot of folks.

Howto: Install Safari on Ubuntu with Flash

Posted by Jason Striegel | Mar 23, 2008 08:43 PM
Linux, Linux Desktop, Ubuntu | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

March 9, 2008

Command line Twitter

You can easily update your Twitter status from the command line using cURL. The Tech-Recipes blog posted this handy command line hack:

With cURL installed, you can post to Twitter from the terminal window by using the following syntax:


curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xml

You will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted.

Consider this: instant messaging is the new talk (phone for my VMS peeps) and Twitter is the new finger. It's nice to see at least one of these handy communication tools make its way back to the command line.

Posting to Twitter from the Terminal Window - Link
cURL downloads - Link

Posted by Jason Striegel | Mar 9, 2008 09:39 PM
Linux, Mac, Ubuntu, Windows | Permalink | Comments (3) | TrackBack | Digg It | Tag w/del.icio.us

March 7, 2008

Run Linux apps in Windows with andLinux

andlinux_20080307.jpg

andLinux is a Ubuntu distribution that used the coLinux kernel, a Windows port of the Linux kernel which allows andLinux to run natively inside Windows without any virtualization software. After downloading, you basically just run the install Wizard. When your machine reboots, an extra taskbar icon will be waiting for you to launch and install pretty much any standard Linux application.

The coLinux kernel can be launched as a service and it runs in the background with a dedicated amount of RAM allotted to it. During the install, you create a folder to house the andLinux Ubuntu installation's root directory. If you need to access the full C drive from Linux applications, it's just a quick entry in the /etc/fstab.

When you've got everything running, the end result is really seamless. The Linux applications each run in a standard window, just like your Windows apps. There's no switching between operating system windows. Xterm, Konquerer, Amarok, whatever—It basically just works.

The installation is pretty simple, and there's also a nice tutorial at Tinkernut that runs you through the installer and shows you how to use Synaptec to easily install other Linux applications. If you're primarily a Windows user, but you miss all the great open source apps and command line tools that are available in Linux, this is worth the 700MB download.

andLinux - Link
Using andLinux (video) - Link

Posted by Jason Striegel | Mar 7, 2008 08:07 PM
Linux, Ubuntu, Virtualization, Windows | Permalink | Comments (3) | TrackBack | Digg It | Tag w/del.icio.us

February 4, 2008

Ubuntu Tweak

ubuntutweak_20080204.jpg

Hans sent us a link to HowtoForge's guide to installing and using the Ubuntu Tweak utility.

Ubuntu Tweak is a tool that lets you change hidden Ubuntu settings, for example: hide or change the splash screen, show or hide the Computer, Home, Trash, and Network icons, change Metacity, Nautilus, power management, and security settings, etc.

It's only applicable for the Gnome desktop, but it's a really convenient tool for tweaking your computer's splash screen, desktop and hibernation settings. There's nothing here that you can't do via other settings management programs or config files, but the interface is simple to use and it collects a lot of Gnome's system settings in a single application.

Tweaking Hidden Ubuntu Settings With Ubuntu Tweak - [via] Link

Posted by Jason Striegel | Feb 4, 2008 07:04 PM
Linux Desktop, Ubuntu | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

December 21, 2007

Essential hacker stocking stuffers

stockingstuffers_20071221.jpg

Like most of us, you've probably got some last-minute shopping to take care of. Or maybe there's a special someone in your life who keeps asking you for gift ideas and you need to start dropping hints to avoid another button down and a neck tie. Whatever the reason, here's a quick and dirty hacker gift guide with a variety of gift ideas that should put a smile on someone's face.

Make sure to add your own favorites to the list in the comments area and pass it along. I'm focusing primarily on smaller items that are available in local stores, but feel free to toss in whatever you think is important and shouldn't be missed.

Reading Material:

Gadgets:

Toys:

  • Air Hogs Havoc Heli Laser Battle - remember the Picco-Zs and their clones from last year? Here's two of them in a single package, enhanced with a trigger that let's you zap your friend's heli down.
  • E-Sky Lama V4 Helicopter- Yeah, I'm crazy for helicopters right now. The counter-rotating models like this one are about $100, ready (and easy) to fly, and very hackable.
  • WowWee RoboSapien V2 - fun for the kids. More fun with a soldering iron - Hacks

Gear:

  • 2GB or larger micro SD card, plus various SD and USB adapters - perfect for scooting files around, the size of a finger nail, and you can put a full Linux distro, anti virus software, or a Puppy Linux virtual machine on it - Hacks
  • Mini Multimeter - always handy.
  • Bike Multitool - a good one will pack allen and hex wrenches, screw drivers, and a knife into a pretty small package. Perfect for voiding warrantees in a pinch. Oh, and there's a chain tool, too - Link, Link
  • Soldering Tools - whether it's a new Weller or just a pair of helping hands, it'll be welcome in any stocking - Link, Link

What have we missed here? Add your wishes to the comments. Then find a completely non-tacky way to get this list into the hands of someone who wants you to be a happy hacker.

Posted by Jason Striegel | Dec 21, 2007 08:03 PM
Electronics, Flying Things, Hacks Series, Hardware, Life, Lifehacker, Linux, Mobile Phones, Ubuntu | Permalink | Comments (5) | TrackBack | Digg It | Tag w/del.icio.us

December 9, 2007

HOWTO run Ubuntu off a USB drive on the Asus EEE

Ubuntu on the EEE PC

C. K. Sample III has posted a comprehensive HOWTO on running Ubuntu on the Asus EEE PC... a fully-functional install on a USB drive:

I've been combing over various guides and instructions online for installing Ubuntu on the Asus Eee PC, and I ran into a few kinks along the way since I don't have a USB CD-ROM to install from and opted for a USB flash drive instead, so I thought I'd write the process out in this post in the hopes of helping those of you out there who are thinking about taking the plunge, but unsure of how it's going to work. All of this information is available elsewhere, but I found it somewhat scattered, so I'm documenting it all here for my future self.

This is a great way to embiggen the amount of disk space at your disposal. The next step would be to get that USB drive into the inside of the EEE PC or find a really low-profile USB drive that you could affix with some hot glue so it doesn't come loose too easily.

Ubuntu on the Asus Eee PC: Part 1 (or How to run a functional Ubuntu install off a USB drive) - Link

Posted by Brian Jepson | Dec 9, 2007 08:26 AM
Linux, Ubuntu | Permalink | Comments (3) | Digg It | Tag w/del.icio.us

November 26, 2007

HOWTO - Install Ubuntu on the Asus Eee PC

eeepcubuntu_20071126.jpg

Paul McGuinness sent us a howto for installing Ubuntu on the Asus Eee PC. For the most part, the install is fairly straightforward, but there are a few performance tweaks that are different from a typical desktop system. The big one is that you want to disable the access time feature (noatime parameter in fstab) of the filesystem to minimize disk writes.

There are also a number of non-standard drivers that you'll need to grab to get things like the wireless card, webcam and sleep features working. The eeeuser.com wiki has an page that describes in detail how to take care of all these issues. Credit to them for the above photo as well.

I peeked at one of these in a store the other day and the hardware seems really sweet. The included OS interface leaves a bit to be desired for someone who's comfortable and familiar with Linux, so it's good to see most everything (save for hibernation and a few function keys) is working on a stock Linux distro. I'll be asking Santa for one of these this year.

Installing Ubuntu 7.10 Gutsey Gibbon on an Asus Eee PC - Link
EeeUser.com Wiki: Ubuntu 7.10 on Eee PC - Link

Posted by Jason Striegel | Nov 26, 2007 07:38 PM
Linux, Ubuntu | Permalink | Comments (8) | TrackBack | Digg It | Tag w/del.icio.us

October 13, 2007

HOWTO - stream music from your iPhone in Ubuntu

ubuntuiphone_20071013.jpg

Listening to music on your Linux desktop doesn't mean having to duplicate all your audio onto your local harddrive. By streaming your music over WiFi from the iPhone or iPod Touch, you can keep your music portable.

Using two programs called FUSE (Filesystem in Userspace) and sshfs we can mount the iPhone filesystem in Linux, then configure ssh key pairs so we can connect without needing to sudo or login as root every time we want to sync the phone, then we'll install beta versions of Libgpod and Rythmbox to end up with something insanely great.

We've talked about the sshfs FUSE filesystem before, but this is a pretty cool application for it. You're basically turning your iPhone into a wireless harddisk. Unlike a normal portable drive, you can access it from multiple machines at the same time. This allows a couple people to listen to different tunes off the same iPhone library simultaneously.

How To: Stream Music From The iPhone In Ubuntu - Link

Posted by Jason Striegel | Oct 13, 2007 08:29 PM
Music, Ubuntu, iPhone, iPod | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

May 27, 2007

Beautify Firefox widgets in Ubuntu

firefoxwidget_20070527.jpg
The thing about Firefox under Linux is that its form widgets look a little nasty. Thankfully, Osmo Salomaa created some nice replacement widgets that really clean up the interface, and fatsheep over at ubuntu forums put together a quick script for installing/uninstalling the patch. It's a big improvement, unless you're into the whole super-aliased, shadow-casting button thing.

New Firefox Widgets and Install Instructions - [via] Link

Posted by Jason Striegel | May 27, 2007 08:34 PM
Firefox, Linux, Ubuntu | Permalink | Comments (2) | TrackBack | Digg It | Tag w/del.icio.us

April 19, 2007

Run Beryl on Intel Integrated Graphics (GMA 950)

beryl_on_gma950.png

I'm running Ubuntu on a Dell with Intel integrated graphics, the Intel GMA 950. Traditionally, integrated graphics have been left out of the eye candy fun, but this recent chipset is actually pretty good. I've run Vista on this Dell, and the Aero effects work great, so I was pleased to find instructions on the Beryl forums where Fyda spelled out what you need to put in your xorg.conf to get X11 ready to run Beryl - Link

Related:


  • Ubuntu Hacks - Link
  • Ubuntu 7.04 - Link

Posted by Brian Jepson | Apr 19, 2007 09:56 AM
Linux, Ubuntu | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

April 11, 2007

Import and Edit PDFs

kwordpdf.png

The Ubuntu Blog shows off one of the neat tricks that KWord has up its sleeve. You can use it to import PDFs, and they retain a lot of their formatting. Once you've got it into KWord, you can work with it there, or export it into your favorite word processor's format. I imported the nearly 300 page Make Projects: Small Form Factor PCs book, and it didn't complain. - Link

Related:


  • KOffice - Link
  • Native KDE/KOffice for Mac - Link
  • Ubuntu Hacks - Link

Posted by Brian Jepson | Apr 11, 2007 07:12 AM
Linux, PDF, Ubuntu | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

March 27, 2007

Building an Ubuntu Server for VMware

vmwareubuntu_20070327.jpg
Ubuntu's server distribution, with its tiny memory footprint, makes a really decent base setup for a VMware server machine. Using X11, you can even run the console on the server and have it remotely displayed to a Mac desktop (since there isn't a native Mac console available).

Here's a decent walkthrough that will quickly take you start to finish through installing the required software on a fresh Ubuntu box, configuring VMware, and administering it from your Mac. Have fun!

The Perfect VMWare server setup (Multi User and Multi Environment...FAST) -Link.

Posted by Jason Striegel | Mar 27, 2007 08:56 PM
Mac, Ubuntu, Virtualization | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

January 8, 2007

Make Ubuntu Look Like Mac OS X

Make Ubuntu Look Like Mac OS X

Love Ubuntu but wish it sported the Aqua UI of Mac OS X? Lauri Taimila's detailed tutorial shows you how to change themes and icons, wallpaper, desktop icons, fonts, and windows to make your favorite Linux distro look and feel like a Mac, as well as a few customizations for your applications to make them match.

(Thanks, Bill!)


Related:

Posted by | Jan 8, 2007 05:38 AM
Linux, Mac, Ubuntu | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

Bloggers

Welcome to the Hacks Blog!

Brian Jepson.Brian Jepson


Jason Striegel.Jason Striegel


Philip Torrone.Phillip Torrone



See all of the books in the Hacks Series!
Advertise here.

Recent Posts

www.flickr.com
photos in Hacks More photos in Hacks