Configuring BT Mobile Broadband on Ubuntu 9.10   November 9th, 2009

The need to be able to conduct business whilst on the move is becoming more and more integrated into the way we go about our daily work; gone are the days when you can ignore email between point A and point B simply because you do not have access to your inbox.  For me working in the IT sector this is ever more important, I need to be able to stop the car almost anywhere and be able to remotely connect to a clients network when they need help – having to wait until I ‘get in front of my machine‘ simply is no longer an option if you want to succeed in today’s marketplace.

As you will know if you are a regular visitor to my blog, I am a huge fan of the majority of Microsoft’s products.  Perhaps it stems from the fact I chose the Microsoft career path and studied towards my MCSE and MCSA; perhaps it’s because 80% of the clients I deal with and the computers I maintain utilise Windows as their primary OS.  Either way, Microsoft – and Windows more specifically – are an integral part of my daily life.  Back on topic and moving back to my original point, the need to remain connected whilst out of the office is easily overcome when using a Windows OS, there are plenty of mobile data cards and USB data sticks now on the market, most if not all the big telecommunications providers supply them at competitive rates.  All of these products come supplied with connection software to get you connected – Windows connection software.

Now I am not saying some of them do not come with alternative software for Linux or Mac for example, if I did I’m sure I would be proved wrong but certainly the ones I have experience with (Vodafone, o2 and BT) do not.  So that leaves a problem for people who are wanting to make the switch to Linux, including the ever popular Ubuntu distribution – it may work well in the office or at home but if it doesn’t allow use whilst mobile too, why not simply use Windows?  Hardware support in Ubuntu has come on a very long way in the last few years, I remember only a year ago when I last gave Ubuntu a proper test that I was stuck when it came to using my data card.  With the Linux knowledge I had at the time, I simply could not get it to work; I’m pleased to see that Ubuntu and Linux generally have come on a long way since and now work almost as well as Windows, if not equally.

I run my ThinkPad in a dual-boot configuration, using mainly Windows 7 but also using Ubuntu as often as I can.  Today I thought I would have another go at configuring my mobile data card, sure enough I have been surprised by the ease at which the latest evolution of Ubuntu – v9.10 – handles hardware which a year ago, would have caused major headaches.

Note: For the purpose of this guide, I am using a BT mobile data stick, a rebranded Huawei E180 HSPDA USB data stick on a BT Tariff.  The contract is a 12 month plan as supplied with either BT Total Broadband or BT Business Broadband as an optional extra.

Prerequisites: I am assuming that you already have Ubuntu 9.10 installed and running and that your data card has previously been activated either by using it with the BT Connection Manager software in a Windows environment, or by activating the SIM in a Vodafone handset (BT curiously use the Vodafone network); also that the security PIN lock on the device has been disabled.

Configuring the data card for use is actually a relatively simple and pain free process:

  • Plug the data stick into a spare USB slot on your machine, after a few seconds the device will be mounted automatically and on your screen you’ll see 2 icons appear for the BT software embedded into the data stick (shown as a mounted CD) and the USB storage facility of the data stick [screenshot]
  • Right click on the network notification in the system tray and choose Edit Connections
  • Click the Mobile Broadband tab and the Add a new connection
  • You’ll be asked to choose a connection, you should only have one option HUAWEI Technology HUAWEI Mobile then click Forward
  • Next choose Britain (UK) followed again by Forward [screenshot]
  • On the next screen – strangely – you need to choose Vodafone as the provider and not BT Mobile, BT Mobile now use Vodafone to provide their connectivity so we choose this as a base configuration.  Click Forward
  • You now need to confirm the type of contract you have followed by Forward
  • Next you’ll be asked to confirm your settings [screenshot], click Apply
  • Click Edit to edit your setting for the new connection you have just made and make the following changes under the Mobile Broadband tab [screenshot]:
    Number:  *99#
    Username:  bt
    Password:  bt
    APN:  btmobile2.bt.com
    Network:  (blank)
    PIN:  (blank)
    PUK:  (blank)
  • Move onto the PPP Settings tab and click Configure Methods.  Uncheck all of the options apart from CHAP [screenshot].  Click OK
  • Make sure that Allow BSD, Allow Defalte Data, User TCP Header Compression are all checked, next click on IPv4 Settings
  • Ensure the drop down list is set to Automatic (PPP) [screenshot]
  • Finally, change the connection name to something more suitable, I have used BT HSDPA [screenshot] but choose whatever you wish here, click Apply to confirm the settings

You have now configured you data card!

To connect simply click on the connection icon and then choose the new connection – you should now see the pop up to tell you that you are connected [screenshot].

I have not noticed any difference in connection speeds when using my data card with either Ubuntu or Windows 7; in both environments the connection seems very stable and I’m pleased with the overall connectivity.

Note:  Whilst the default settings are working absolutely fine for me, I have had previous issues with BT generally in so much as there DNS servers can often take a long time to resolve addresses; this applies both to their mobile data and Broadband services.  The actual data connection themselves are however always reliable and pretty quick.  If you find this a problem change the default DNS servers to an alternate provider, I recommend the servers provided by OpenDNS; 208.67.220.220 and 208.67.222.222 respectively.  Of course this also applies to any ISP if you find resolution is taking longer than you expected, including home broadband connections.

I hope you find this useful.  Enjoy.




    Tags: , , , , , , , ,
    This entry was posted on Monday, November 9th, 2009 at 1:38 pm and is filed under Blah, Linux, Technology Related, Ubuntu. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

    14 Responses

    November 9th, 2009 at 5:34 pm
    COMPUTERS - MCSA Training Programs Considered - WuiWui.com Says:

    [...] Configuring BT Mobile Broadband on Ubuntu 9.10… | Mike Southby [...]

    November 27th, 2009 at 1:48 am
    John W Says:

    I was just looking for something like this last week!

    November 30th, 2009 at 12:43 am
    OnlineRender Says:

    Superb worked a treat thanks

    January 3rd, 2010 at 11:29 am
    Saul Dally Says:

    Thanks for the information that you provided here. Please keep posting. Thank you again.

    January 10th, 2010 at 11:15 pm
    Miko Says:

    Thanks for taking the time to do this. I’ve just put Linux Mint 8 on an ancient laptop I bought for £15…now with mobile broadband working fine as well. Thanks.

    February 16th, 2010 at 1:25 pm
    Ujjwal Says:

    Thanks. But I want to connect my Hi-Tech mobile with Smart Service Provider in India. Can anyone helps me?

    March 10th, 2010 at 4:10 pm
    wjamie23 Says:

    hello this worked as well for me but would like to know if i can use the the e180 as a wireless device in ubuntu as ive had a look around and can’t fing nothing thanks in advance

    March 10th, 2010 at 6:55 pm
    Mike Says:

    Ujjwal – Sorry, I am not familiar with many of the providers in India however when I was living in India I used Airtel to provide me with a data connection via my mobile.

    March 10th, 2010 at 6:57 pm
    Mike Says:

    Jamie – I’m not sure what you mean. Do you mean can you use the e180 are a wireless device (ie WiFi)? If so then afraid not, it doesn’t have that functionability.

    March 29th, 2010 at 10:03 pm
    Marco Massenzio Says:

    This was sooooo good!!!!
    Thank you ever so much.

    For info, your guide worked without any modification to configure the ‘built-in’ 3G SIM on my Acer AspireOne netbook on the Prepaid BT Mobile SIM card that comes with it (dabs.com)

    Clear, easy-to-follow instructions that work… oh, how one wished it were always that simple :-)

    March 29th, 2010 at 10:48 pm
    Marco Massenzio Says:

    Incidentally, if DNS is an issues, I recommend Google DNS:
    http://code.google.com/speed/public-dns/

    (disclaimer: I work for Google… still, use them at home and I’m happy…)

    May 15th, 2010 at 11:30 am
    DJ Says:

    Mike,

    worked for me on Ubuntu 10.4 64xAMD!!

    Many thanks for the top tech tip.

    DJ

    March 12th, 2011 at 2:21 pm
    Rudra Says:

    hey ,i want to access internet through my “HI TECH” ‘HT-3110′

    March 12th, 2011 at 2:23 pm
    Rudra Says:

    hey ,i want to access internet in ubuntu 9.10 or linuxmint 9 through my “HI TECH” ‘HT-3110′ MOBILE phone by the service provider TATA DOCOMO in INDIA.

    Leave a Reply