Posts tagged linux

Ubuntu in VirtualBox

2

I travel nearly every week to my clients’ offices. I have recently become quite keen on the idea of videoconferencing with my wife and children each night, as a means to span the miles between us. Skype is the software I’ve settled on, as the most promising open-source competitor (Wengo) didn’t instill much confidence. The firm I work for blocks Skype installation through its use of McAfee’s enterprise product — a fact which makes me a saaaad panda! (If this turn of phrase is foreign to you, might I suggest viewing the South Park episode from which it emanates?) (Tangentially, my firm is also staunchly anti-open source, as evidenced through our open source software policy — a fact which makes me an equally bereaved bear!) I digress …

The solution to my predicament? Sun’s brilliant VirtualBox open source virtualization package running the latest Ubuntu release — currently 9.04 (or “Jaunty Jackelope,” as they call it). The installation of VirtualBox took a bit on my lappy, but it went fairly seamlessly. The only hitch was that the installation of the VirtualBox Host-Only Network adapter in Windows XP SP3 broke my wireless networking. (It may well have broken all networking, but I didn’t try plugging a cable in to check.) The solution to this was fairly simple — disable the newly installed adapter! It seems that VirtualBox doesn’t need this adapter enabled in order to provide the virtual OS networking. (I’ve no idea what this adapter is used for at the moment. Perhaps I’ll figure this out as I work with VBox a bit more.)

The only Ubuntu image I had lying around was a Hardy (8.04) disc I burned some time ago. I added a new machine to VBox, installed Ubuntu from the disc, updated to Jaunty using apt, and installed Skype from the Medibuntu repository. So, I’ve got a virtual Jaunty up and running and, I must say, it is bloody fantastic! Good show, Sun!

DD-WRT on the WRT54G v8

0

DD-WRT is, by far, my favorite third-party firmware for the Linksys WRT54G wireless router. I, personally, have three of these on my network — one as the primary access point and router and two as bridged repeaters — on which I have used several versions of dd-wrt. (I’ve also used Sveasoft and Hyper-WRT on these devices.)

Previously, I have endured spectacular failure when trying to flash version 8 devices. <The sound of bricks dropping rings out in the distance.> (My devices are all version 2. The Wikipedia article I linked to above explains the differences in the hardware versions.) It turns out, the critical misunderstanding I had related to flashing the stock firmware with vxWorksKiller (prior to transferring the DD-WRT image to the router via TFTP). I did not realize that the upload of vxWorksKiller needed to be done from a special management screen that is only accessible after unplugging the router, holding down the reset button while plugging the router back in, and continuing to hold the reset button for 20 seconds. This implies that the upload should not be done from the default firmware’s upgrade page. This understanding was gained this week when building a PC, and flashing two routers, for a friend of mine.

Given that the preponderance of WRT54Gs on shelves now are version 8.x, this realization bodes well for me in future purchases.

Core Dumps in Ubuntu

0

I resolved this year that I would take time to pursue one of my passions — computer science. As such, I am learning how to write applications for Linux. I’ve just spent 30 frustrating minutes trying to figure out why on earth my deliberate segmentation fault in the small C program I have written is not producing a core dump in Ubuntu 9.04. It turns out that Ubuntu disables core dumps in Bash by default. The fix is simple enough — use the ulimit command to enable core dumps.

bash$ ulimit -c 100

In this case I have enabled core dumps and given them a limit of 100 blocks. Problem solved! Hopefully this makes it into the search engines and helps someone else frustrated by this same issue.

Broadcom 43xx Wireless Card in Linux

3

Today I finally resolved what has been one of the most frustrated Linux issues I have faced yet — getting my bloody Dell Truemobile 1300 wireless card (stock in my Dell Inspiron 5100 notebook) to function in Linux. The problem has been that those bastards at Broadcom — the corporation that manufactures the controller for the card — have not released Linux drivers for this controller. Prior to today, I have struggled trying to wrap my Windows driver in a piece of Linux software called ndiswrapper. I have, as it turns out, found two ways to finally get the blasted card to work! (more…)

Go to Top