Skip navigation.

Stephen O'Sullivan

Blah, blah, blah ....

Setup Huawei E169 USB 3G Mobile Broadband in Ubuntu 9.04

, , , ...

Setup Huawei E169 USB 3G Mobile Broadband in Ubuntu 9.04

The Huawai E169 is the USB modem of choice for 3G mobile broadband for my ISP, Internode. As they advertise it, the device requires a USB 2.0 interface, and either Windows 2000+ or Mac OSX 10.3.7+. No Linux!

I don't have a Mac, so can't talk to setting it up on a Mac, but on Windows XP the device is recognised as a drive, and installs automatically. As with Windows XP, Ubuntu 9.04 immediately recognised the modem upon plugging it in, and asked for details. I assume that if your ISP is on the wizard list it will automatically connect, but the three issues I have identified may help if you do face connection problems.

There were for me three issues. The first issue was that I wasn't entirely sure what data the wizard needed. The other two issues I needed to clean up: fix the APN to that of my ISP, and fix the DNS servers, and both of these are in the Network Manager settings.

In summary:

1. Ensure the settings for your connection in the "Mobile Broadband" tab of Network Manager shows the number and the APN
2. Ensure the DNS servers in the "IPv4 Settings" tab are correct
3. Do not enter any other numbers (usernames, passwords etc.)

In detail:

1. The first issue was that my ISP wasn't on the list of ISPs identified in the connection wizard, as per this bug. The solution I used was to use Optus 3G and then edit the settings for the connection changing the APN to splns333a1.

So, in my case, after selecting Optus 3G from the ISP list in the wizard, I finished the wizard, then:

> Right-click Network Manager tray icon, choose "edit connection", and select the "Mobile Broadband" tab
> Double-click on "Optus 3G" (the connection name based on my designation in the wizard)
> Ensure that the number is *99#
> Change the APN to splns333a1 (for Internode, other ISPs are obviously different)
> Leave everything else blank (do not enter your username or password etc)

2. The second issue was that the DNS servers were incorrect (presumably it Network Manager was using the Optus DNS servers).

So, still in the settings for the connection in Network Manager:

> Select the "IPv4 Settings", and edit the DNS Servers entry to your ISPs servers.

Now my new HP Mini 2140, running Ubuntu 9.04 (UNR, but using the desktop interface), has NodeMobile 3G broadband working!

Hp Mini 2140

, , ,

I recently bought an HP netbook, the brushed aluminium Mini 2140. I am currently triple-booting XP, Ubuntu 9.04 (the netbook remix, but I have switched to standard desktop) and Moblin v2 Beta.

I love the machine. It looks beautiful, the keyboard is sensational, the screen looks great, and it has features I like not found in other netbooks, such as a standard VGA out. Ubuntu Jaunty runs perfectly on it (with the exception of a bit of trouble getting my Internode 3G USB broadband working on it). Moblin also works perfectly, but given it is still in early development, it is missing some vital features I want, such as a word processor. Nice interface though.

More details later.

NYC photographs

, , ,

Photos of Day 2 - Central Park and the Met - uploaded.


New York City photographs uploaded

, , ,

I have uploaded 20 photographs of day one (September 15 2008) of a three week trip to NYC, documenting a casual walk from our apartment on W17th near 6th Avenue down to Washington Square; then up to Union Square; then further to the Flatiron building and Madison Square Park; then across to Gramercy Park and back down to Union Square.

NYC

I'm heading over to NYC in a couple of days, for three weeks. I've never been to the USA (or either of the American continents for that matter), and can't wait to spend a few weeks living in the most famous city in the world...

SanDisk Cruzer Micro 8GB - Issues with Linux

, , , ...

I have recently purchased a SanDisk Cruzer Micro 8GB, and have had serious (i.e. data destroyed!) issues with it. I would be interested to know if anyone else has had such issues, but I think I have also found a solution.

This USB disk is a work tool for me, and given my work environment, means it has to work with MS Windows; my home PC runs Ubuntu 8.04 Linux. I need my portable drive to, among other things, reliably move data from work to home and back. I had a 1GB micro Cruzer that worked perfectly, but I wanted more space.

In short, the issue has been that the drive has ceased to be recognised both by Windows and Ubuntu, regularly. The only way to fix this issue has been to reformat the drive. The problem has occurred so frequently, until recently, that I raise it here!

The drive comes with a load of crapware under the title "U3", which apparently makes the drive "better". I hardly have to tell the reader, but I don't want SanDisk's idea of "assisting technology", I want a bloody portable hard drive I can carry in my pocket!!! I obviously unstalled this rubbish immediately using the (admittedly convenient, though in the past, apparently not so, uninstall process). Needless to say, this rubbish was Windows only...

However, the issues I have had have been, apparently, not entirely related to this - though looking at the Windows registry its very hard to tell (Registry persists in refering to U3 - it appears that U3 is somehow inextricably linked to the drive). I found that the drive would become unrecognisable, both in Windows and Linux, after use, for some unfathomable reason, but most often, after use with Linux. And the key here was after unmounting the drive in Linux. There was no consistency, though - sometimes it would cease to be recognisable as a drive irrespective of whether I had: a) used it with Linux; or b) unmounted it or just yanked it out!

There are many comments in the net about issues with this drive (e.g. link)

My solution, which so far (a couple of weeks) has worked, was to reformat the drive to NTFS. That doesn't seem to make sense, but it has worked (remembering I have to use it with Windows as well). I suspect, without evidence, that it changes the drive as it is recognised by Windows.

I did this in Windows, but had to (of course) jump through some hurdles. It would have been easier just reformatting in Linux but, it is, for me, primarily a Windows tool, so...

Right-clicking on the drive in Windows Explorer and choosing "format" only allows, by default, FAT32. However, in Device Manager (right-click "My Computer" > "Properties", choose the tab "Hardware" and click on "Device Manager") you can go into the properties of each of your attached drives. Choose the Cruzer in the "Disk Drives" section, and in the "Policies" tab, change it from "Optimise for quick removal" to the only other option, "optimise for performance". This will allow you to reformat the drive to NTFS.

Irrespective, I no longer unmount the drive in Linux - once I am more than sure all the tranfers have occurred, I just pull it out...

Additional applications for Ubuntu Linux

,

Ubuntu comes with a very good selection of applications, but it is not exhaustive and, in my opinion, does not always include the best examples. In most cases there are very good reasons for this, nevertheless, my preferred additional applications include:

  • OGMRip, "an application and a set of libraries for ripping and encoding DVD into AVI, OGM, MP4, or Matroska files using a wide variety of codecs", this application is extremely simple to use, and the results, I've found to be excellent.
  • Mirage, "a fast and simple GTK+ image viewer" with some simple image editing capabilities. This application has a clean interface, and the ability to make minor adjustments, such as crop, resize and rotate is really useful.
  • Comix, "a user-friendly, customizable image viewer. It is specifically designed to handle comic books, but also serves as a generic viewer. It reads images in ZIP, RAR or tar archives (also gzip or bzip2 compressed) as well as plain image files." Designed to view .cbz and .cbr file (.zip or .rar archives of images with the extension changed to .cbz and .cbr respectively) this is a clean and simple application and a very good image viewer much in the vein of Mirage, but with the added ability to view archived images.
  • Avidemux, "a free video editor designed for simple cutting, filtering and encoding tasks". I can't remember if it is installed with Ubuntu by default, but don't believe so. An excellent video editor that is also available for Windows and OSX.
  • SMPlayer, a complete frontend for MPlayer, it is, in my opinion, by far and away the best video player available.
  • pyRenamer, a very simple a mass file renamer (after initial install, I right click on the folder containing files that I want to mass rename and choose "open with other application" and from the list choose pyRenamer. After that, it will remain an option for opening a folder.) Very nice mass renamer.
  • GPRename, another batch renamer, which doesn't have as well integrated appearance, but has the added functionality of mass directory renaming. Another excellent program.
  • Xarchiver, "a desktop-agnostic GTK+2 frontend to various command line archiving tools". A very nice graphical archive tool for when the built in Nautilus options of "create archive" and "extract" are not enough.
  • EasyTAG, "a utility for viewing and editing tags for MP3, MP2, MP4/AAC, FLAC, Ogg Vorbis, MusePack, Monkey's Audio and WavPack files", a very easy to use music file tag editor with all the fetures you need, tagging by album and embedding of cover art, and much more.
  • Deluge, "a lightweight... cross-platform BitTorrent client" that is intuitive, well layed out, has all the features you could want and a nice plugin system so you can pick and choose the features you want. In my opinion much better than the default Transmission, and compared to Azureus it uses almost no system resources.

In addition, music playing applications I like include: Listen and gMusicBrowser, both mentioned in an earlier post, the new version of Banshee, and Songbird, which is developing very quickly, the latter two with very good iPod management systems.

Linux on the desktop

, , , ...

Today I've read a number of articles and blogs on the topic of everyday usage of Linux as opposed to WinXP, and I just wanted to say: I've mucked around with Linux in various incarnations (Mandrake and Suse typically) for a decade, and a couple of years ago decided to shift my everyday computing to Linux, in this case Ubuntu. In hindsight, it is a no-brainer, but I am pretty knowledgable, comparatively, when it comes to computer OSs. I love the Debian system, and vastly prefer Gnome to KDE - Gnome is a far more elegant interface, but I have a real soft spot for Thunar and the XFCE thing.

I have tried Vista, and was appalled. Its a truly awful operating environment - way too much Las Vegas (apologies to Las Vegans, I've never been to your city, so am using the term as an analogue) and seemingly built on the principle that MS should control the way one interacts with one's computer. I can make my Ubuntu system look exactly like Vista, or OSX or WinXP if I so chose, or I can make it exacly as I want it. This is a major plus in a graphical interface, because we all have preferences of interaction. I can only get the sort of desktop I want in Linux. Any brand of Linux. I do love the BSD-based Mac OSX, but don't want to be constrained. If you don't know what I mean, you obviously haven't experienced the freedom of Linux.

No, my hesitant resolution to "switch" had very few hiccups (and I might add, far fewer than general usage of WinXP as an experienced user, from Win 3.1 - seriously, what is it with the registry?). I'd be lying if I said I didn't kind of enjoy mucking around with the fundamentals of an OS, but I had done that for years with the odd dual-boot (Win XP as automatic boot) system. That said, by far the majority of issues I encountered were as a result of my own meddling.

Simply put, Linux as a desktop is far superior (and let's not even mention cheaper) than what MS can muster, and far more adaptable than the major options. And, at the pace it is currently improving - given that in my opinion it is far superior than the proprietry competition - it will outpace the opposition in general opinion in but a couple of years.

Converted? Absolutely!

Generalisation and the Individual

, , , ...

An opinion piece in The Age (Melbourne) by Monica Dux called "Another case of irrational generalisation" (link here) prompts me to look further into the dichotomy the individual and the many. Monica Dux questions the validity of generational generalisations (Baby Boomer, Generation X and Y, etc), proposing: "In other walks of life this sort of stereotyping would be regarded as not only inappropriate, but offensive. Imagine if a social commentator was to offer a similar appraisal of a diverse group of people based on where they were born, rather than when. To describe an ethnic migrant group (for example) as cynical, bitter and resentful would be regarded as outrageous." She does, however, concede: "Different generational groups do have distinct life experiences by virtue of having grown up in different circumstances. Giving a label to a collection of people born in a particular era is one way in which social trends can be distilled, giving us a short-hand way of talking about the big picture." And therein lies the issue.

Communication, by definition, relies on shared concepts - language is, in fact, a conceptual representation of the world. A strict form of nominalism may deny the existance of "chair", deeming that each individual manifestation of that universal is a discrete entity, but language relies on each side of the communication relationship understanding what the term "chair" means, though it may be couched (pardon the pun) as "that chair". The reliance on generalisation, even in such a minor way, for communication to function is based on the shared nature of communication.

That said, I have an abiding distrust of generalisations, which I express, typically, by prefacing any such with a warning that what follows be a generalisation. The problem with generalisations is when they are applied to individuals - racism or sexism claim individual characteristics based on general ones and are patently false as a result. Such generalisations, however, can be useful if they are applied to the general category itself. Therefore, one can say with some confidence that "chair" has a flat bit to sit on, with a perpendicular piece for the sitting person to lean his or her back on. One cannot, however, claim that all chairs have cushions. Nor, having seen a sketch of a chair can one claim that all chairs have four vertical legs, a round, cane covered seat, and a vertical slatted back.

Generalisations are, in communicative terms, actually categorisations. Therefore, a social taxonomy must necessarily classify people within generational boundaries, at a macro level. As such, it can be assumed that I will have more in common with people born in the 1970s, just as I will have more in common with people born in a Western, English-speaking city. It is not helpful, though, to assume that, by virtue of that, I, as an individual, will be "cynical, bitter and resentful" by virtue, alone, of the supposed general character of Generation X.

Linux.com "Ten sticking points for new Ubuntu users"

, , ,

Linux.com has an excellent article (here) on the "Ten sticking points for new Ubuntu users" by Michael Reed. Michael's list is excellent, but a few comments.

Number 1 is Screen setup, and my previous posts attest to my own commitment to this issue. A brief survey of my blog's visitors tells me that my recent howto on dual-screen setup in Ubuntu 8.04 is far and away the most viewed item in my blog, and certainly the most commented on. His point is succinct: "Ubuntu is still bad at properly detecting and setting up the display. Once it's gone wrong, there isn't much you can do from the GUI setup tool -- it either lies about your screen settings or offers inappropriate screen modes. Anyone for 640x480@52Hz on a 19-inch CRT?.... This problem is so widely acknowledged as a weakness of Ubuntu that I was surprised that Ubuntu 8.04 was still getting it wrong. Ubuntu should use its leadership muscle to create a robust, reliable solution from scratch or champion an existing project?"

Number 3 is Mounting - "It's a shame that Ubuntu doesn't come with a GUI tool to configure the boot-time mounting of new partitions. Most advice on this issue revolves around editing /etc/fstab. A common complaint is that the partition can be seen but the permissions are wrong." I have had this latter issue, which was easily solved, but in a "just works" desktop shouldn't happen.

Number 10 is Building from source - "Ubuntu's package management implementation constitutes a significant enticement for the potential switcher in its own right. However, building packages from source is unavoidable when a desired package isn't in the repositories or the version in the repositories is out of date. (Para break) The build instructions in most source packages put the package manager out of sync with the actual packages that are installed. Why doesn't Canonical standardise on one of the GUI build tools in tandem with Checkinstall? Checkinstall installs the compiled application but works with the package manager to keep it in sync with the real state of the system." This is a very good point. I install many apps outside of the apt-get control, and have to monitor them manually. One of the best things about a .deb install system (or any Linux system for that matter) is the ability to install so many different apps, which will upgrade automatically. Except those not in the apts...

A very good article, in my humble opinion, and I hope that Canonical hears his suggestions, but I would add, based on the pre-release theme for ubuntu 8.10 (here), an eleventh suggestion: the first thing I do upon a fresh Ubuntu install is get rid of the awful look, but this has to be the worst....