Mobile Wireless Questions and Answers

21 June 2009

Some interesting questions and answers from my local Linux Group, the responses were written by Linux wireless expert Quentin Wright.

The first questioner wants temporary Internet access for a local community group:

I run a group in a venue without Internet access, I've been thinking of getting a USB 3G dongle (possibly with one of those USB->Ethernet hubs people like Three offer).

You could just get a pay-as-you-go SIM and a dongle.

I quite like the Netgear MBM621 which is an HSPDA/Ethernet modem and does NAT. Unfortunately they cost about 230 UKP new, and second-hand ones sell for nearly as much on eBay.

The next two questions are from the same author, who has connection problems with a mobile broadband USB dongle.

I have the T-Mobile web-n-walk mobile broadband USB stick which identifies itself as a Huawei E220/E270 HSDPA modem.

I recently downloaded and installed the latest version of the vodafone-mobile-connect (VMC) package for Fedora 10.

This installed okay after I had installed a few other things it required and it now runs, detects the Huawei and is quite happy to read and send text messages, which I previously had to do using a hand-crafted script.

But it will not set the device into internet mode, and although it installed lots of files in /usr/share/vodafone-mobile-connect/ I can't find what I have to change to make it work with the t-mobile network.

Not especially constructive I'm afraid, but it works out of the box with Ubuntu 9.04 using Network Manager. There is a look-up table of providers and their configurations installed by default - something different from VMC.

It may well work similarly with Fedora 11 as they said they were going to put the code in - I'll try it in the next day or so other distractions at work permitting.

I got rid of Network Manager because it interfered with other things (including the latest version of Firefox) and I mostly prefer to use scripts to handle my network connections (including changing /etc/hosts, and other things). Various colleagues who previously used 'NM' have now switched to 'wicd' which they find works where NM breaks in recent versions of linux. I don't know what's going on there.

Things have been particularly complicated with respect to networking since the transition to the Devicescape architecture in the kernel last year, coupled with the incorporation of the driver code from the more common wireless devices into the kernel as well.

These changes have in turn obliged the driver developers, the wpa-supplicant people, and the teams involved in the configuration utilities like Network Manager and wicd to catch up with the changes in the kernel. Further the distribution builders have had quite difficult decisions to make about the particular kernel build and other components to put into their release.

It's not sufficient to make a statement like "NM breaks with such-and-such a version of Linux". In reality a problem will relate to the combination of the specific kernel version, the particular device being used, as well as the versions of NM and wpa-supplicant.

Additionally in some distributions, like Debian, Mandrive and PCLinux OS, with some devices multiple conflicting drivers are loaded when particular devices are detected. In other distributions like Arch Linux, SUSE and Debian the firmware has to be copied into /lib/firmware. The symptom is that Network Manager appears to work, including acceptance of the key and even the appearance of a brief connection which then dies.

In endeavouring to triage NM problems in Ubuntu, about 50% of the problems relate to a failure to understand how to use the configuration icon. In particular the mistakes that are made are:

  1. Right clicking and using manual configuration when it is unnecessary.
  2. Failing to appreciate that it is necessary to left-click on the icon to configure wireless. This is a particular problem with users coming from a Windows environment.
  3. Not knowing the network passphrase, or only having a hex passphrase when a string is required (some BT Homehub users).
  4. Setting it up, changing the hub configuration and failing to make a note of the default keyring password and being unable to change the configuration.

On the topic of kernel versions, it's not enough just to rely on the kernel version for the 3G modems, because the udev rules have to be right as well.

As a rule it's best to avoid upgrading. The best strategy seems to be to have multiple partitions, maybe with a shared /home partition and do a clean install into the least used partition. You might then decide to migrate to the latest (greatest?!) version, or alternatively just give it a miss this time around.

What do you have to say?

Show Editing Help

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Cupcake

July 31, 2010
Good post! You helped me a lot with my school project! CountryField(blank = True) < (K)
Countries in Django

LeshaShampoo

July 30, 2010
it was very interesting to read commandline.org.uk I want to quote your post in my blog. It can? And you et an account on Twitter?
Email Syntax Check in Python

vemma2018

July 30, 2010
I find myself coming to your blog more and more often to the point where my visits are almost daily now!
On Comment Spam

layecenda

July 30, 2010
Hello. And Bye.test :) http://idfjhvihdfiphvlajbvhalibv.com
PuTTY Series: Adding PuTTY to your system path

scuba

July 30, 2010
I’ve been visiting your blog for a while now and I always find a gem in your new posts. Thanks for sharing.
On Comment Spam

Businesking

July 30, 2010
Great site and articles for hack for win, I said Amazing post
How not to program WSGI

Tehnoking

July 30, 2010
This is Great post to learn about the hack Thumbs-up for you :D
How not to program WSGI

Syabiltech

July 30, 2010
I think this articles for master...because very hard to learning, As blogger beginners like me.
How not to program WSGI

coffeeatea

July 30, 2010
Are you looking for coffee gifts? We can tell you more about the coffee gifts including coffee machines and coffee pods.
Introducing Soturi - yet another Django blog application

noni juice

July 30, 2010
I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.
On Comment Spam

Dion Moult

July 29, 2010
What I do know is that ever since I tried out Opera and put their tab bar on the left as a column, I've loved that layout. Back on Firefox ...
We need a thoughout integration of the desktop and the web - not Tab Candy superfast jellyfish

ZonaEntertainment

July 29, 2010
Wow useful articles, I'm read to learn about this and now I bookmark this to my Facebook, thanks for share!
How not to program WSGI

Giacomo

July 29, 2010
Honestly, I think both Mozilla and you are wrong :) This sort of concept adds overhead. A user would have to manage all this crap, constantly dragging and dropping, creating ...
We need a thoughout integration of the desktop and the web - not Tab Candy superfast jellyfish

Matija "hook" Šuklje

July 29, 2010
As a minimalist, you'll probybly moan if I mention KDE, but I'll do so anyway ;) The future I want (and actually see slowly fold out before me) is to ...
We need a thoughout integration of the desktop and the web - not Tab Candy superfast jellyfish

tahitian noni

July 28, 2010
Thank You For This Blog, was added to my bookmarks.
On Comment Spam

Rick

July 28, 2010
I already have piles. It's called A New Window.
We need a thoughout integration of the desktop and the web - not Tab Candy superfast jellyfish

Tech News

July 25, 2010
Thanks for this short tutorial...was auto-FTPing my files from my appserver to webserver for my tech news website. Everything was OK until someone hacked it. Hosting provider is now recommending ...
SFTP in Python: Really Simple SSH

naypalm

July 24, 2010
During the past 3-4 years, I and many others have enjoyed unlimited 2G/3G internet. But ever since the massive cult-like following of i Phone users in the US, most cellular ...
Calling time on mobile internet nonsense?

Steve

July 15, 2010
Very occasionally, you will run into a Java program that uses a lot of memory just to hold all the classes used. It turns out that the JVM uses a ...
Three classic command line tips

no

July 14, 2010
1. number one 2. number two 4. number four 3. number three 6. number six # first # second ## second-ay ## second-bee ### second-bee-one ### second-bee-two
An Introduction to ReStructuredText