PHARscape

  • Home
    • Search
    • Login....
  • Linux and 3G
    • Software
      • Option Software
        • Hso driver
        • Rezero
        • Nozomi driver
        • Ozerocdoff
      • PHARscape Software
        • Hsolinkcontrol
        • HSOconnect
          • Downloads
        • comgt
      • Other software
        • Gnome NetworkManager
        • Option driver
        • Usbserial driver
        • USB_modeswitch
        • UMTSmon
        • Wader
    • HOW-TOs
      • HSOconnect Fedora 9
      • HSOconnect Ubuntu 8.04
      • NetworkManager How-To
      • Older HOW-TOs
        • GlobeTrotter (GPRS) HOW-TO
        • GlobeTrotter Fusion (UMTS/WLan) HOW-TO
        • Vodafone 3G (UMTS) HOW-TO
    • APN - Access Point Name
    • Linux Basics
    • DKMS and the HSO driver
  • USB modems
    • iCon 225
    • AT&T Quicksilver
    • AT&T Velocity - GPS and Linux
    • iCon 7.2
  • Datacards
    • Vodafone E3730
    • GE441 and GE442
    • Datacards (hso.ko)
    • Nozomi HSDPA 1.8 Datacards
    • Datacards (option.ko)
    • Datacards (serial modems)
    • Archive - old product table
  • Modules
    • GTM378
  • Getting Help
    • Contact me
  • Diversions
    • Linux and 3G Blog
    • PHARspace
      • Astrophotography
        • Solar System
          • The Sun
          • Venus
          • The Moon
          • Jupiter
          • Mars
          • Saturn
          • Uranus and Neptune
          • Comets
        • Deep Sky Objects
          • Nebula
          • Galaxies
          • Globular Clusters
      • Equipment
      • SPC900 Amp-off Sandwich
      • HEQ5 NGC 7662 Webcam LX video
      • Back to PHARscape
  • The Forums -->
`
Home » Linux and 3G » HOW-TOs » NetworkManager How-To

Using NetworkManager with your 3G WWAN modem

Starting with Gnome NetworkManager version 0.7.0 there is even more support for 3G WWAN modems. In particular NetworkManager now supports most of the Option devices that use the  HSO module.

This How-To shows you how to get your modem working in easy steps...

Check your NetworkManager version

To check which version of NetworkManager you have; right-click on the NetworkManager applet icon and select the "About" menu item.

Network Manager - About

For support of hso enabled devices you want to see the version number is equal to or greater than this:

Netwrok Manager Version

Checking your hso module status

Before you can use NetworkManager with these devices you need to check if the the hso module is installed by using this command:

pharlap:~$ find /lib/modules/`uname -r` -name 'hso.ko'

On my system this was output:

/lib/modules/2.6.27-9-generic/kernel/drivers/net/usb/hso.ko

so I can see that the module is provided in by my Linux distribution.Smile If the driver is missing or you need to use the latest version of hso.ko then  follow the information here.

If your modem is an embedded module then you can ignore the following section.

Disabling ZeroCD

If you have a USB stick or datacard then it may have a virtual CD ROM called ZeroCD that must be disabled before the modem function is possible.

In this situation you need to install ozerocdoff which in combinations with udev rules will automatically disable the ZeroCD whenever you plug the device in.

Now you can plug in your device Wink

Check if the hso module is loaded

pharlap:~$ lsmod | grep hso
hso                    45868  0
rfkill                 17176  5 hso,thinkpad_acpi,iwl3945
usbcore               148848  6 libusual,hso,usbhid,ehci_hcd,uhci_hcd

You can see that hso is listed amongst other kernel modules - this looks good! Cool

Check the ports have been created:

pharlap:~$ ls /dev/ttyHS*
/dev/ttyHS0  /dev/ttyHS1  /dev/ttyHS2  /dev/ttyHS3

You can see that for my device there are 4 ports listed ttyHS0...ttyHS3

If the modem is equipped with ZeroCD then you do not see the above ports until ozerocdoff is installed.

Now we are ready to use NetworkManager!

Create a Mobile Broadband connection

Right click on the NetworkManager icon and click "Edit Connections..."

Edit Network manager connection

Select the "Mobile Broadband" tab and if you are lucky a connection profile will already be listed. If no profile is listed then click "+Add"

You will then be guided by a connection Wizard to select a predefined connection profile. If your SIM provider is not listed then select a predefined profile and edit it to match your SIM providers connection details.

You will need to enter the APN and possibly the user name and password. You can get this information from your SIM provider or you can do an Internet Search for "Your-Operator-Name APN"

Modify connection

This is also where you enter the PIN if it is required.

Click "OK" when you are finished.

Connecting to the Internet

Now the profile is defined you can just select it as a connection by left clicking on the NetworkManager icon:

Connecting...

With the version of NetworkManager I was using (0.7.0) I had to click twice. This was because I had a PIN enabled. The first click sends the PIN to the modem. The second click makes the Internet connection.

You  click the "Disconnect" entry that now appears on the menu to Disconnect from the Internet.

Easy isn't it!Smile

You can add the netspeed applet to the Gnome panel to show you some useful transfer statistics. (Use your package manager to install netspeed and then right click on the Gnome panel to add it.)

 

 

Conclusion

Full marks to the NetworkManager team they have achieved much and I know the WWAN support is only part of it. This has made getting on to the Internet very simple for the mobile user and I shall be using  it  again. For most users what is provide today will be just fine as long as the signal strength is good!

In the long term more features will be required to support the travelling user, hopefully these can be integrated in to NetworkManager or via helper applets.

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
 
Showing comments 1 to 4 of 29 | Next | Last
Peter
Posts: 26
Comment
iCON 225 and Network Manager
Reply #29 on : Mon November 09, 2009, 01:55:02
Hej!
My Globe Trotter HDSPA = iCON 225 works beautifully with Network Manger 0.7.0.100. I have the hso.ko end I get 3 ports ttyHS0...ttyHS2. The modem has 4 options and I need to use two of them: "Only 3G" and "Only GPRS". Now I have to start Windows to change option. Is there a Linux-way to do it? My dist i LinuxMint 7 Gloria based on Ubuntu 9.04.
Tommaso Aversa
Posts: 26
Comment
cli
Reply #28 on : Mon September 28, 2009, 03:02:46
Surely it solved, also if from kde doesn't work as easily.
It would be very useful a compact command line procedure to connect from terminal, to ease a Gentoo, Archlinux, or LFS installation.
Paul
Posts: 1
Comment
Icon 401
Reply #27 on : Tue June 23, 2009, 06:46:34
Hi Michael,

This may be related to "selective suspend". Please search the forum.

Cheers,
Paul
Michael
Posts: 26
Comment
Icon 401
Reply #26 on : Tue June 23, 2009, 06:03:23
Hi:

I have followed the above and have my mobile ISP in my Network Manager (I am running Ubuntu 9.04 on an Acer Netbook, Network Manager Ver 0.7.0.100) and so that is cool.

The part that I am struggling with is that when I select the mobile network, the process seems to reset my adapter, so that it vanishes for about 3 or 4 seconds before it reappears in Network Manager? Any clues as to what might be causing this - I would really like to make it work.

Thank you - :)

Regards,

Michael
Showing comments 1 to 4 of 29 | Next | Last

 


PHARscape

News:

Option release Packaged HSO Drivers
Option makes available HSO drivers in DEB and RPM format

Option release HSO version 1.14
Option release HSO version 1.14

Latest Articles:

  • Equipment 2010.08.02
  • Globular Clusters 2010.07.31
  • Galaxies 2010.07.31

Latest Forum Messages:

PHARscape Linux and 3G forum
  • Re: Download link for hsolinkcontrol?
  • Download link for hsolinkcontrol?
  • "hsocremote CONNECT" doesn't work
  • Re: ZeroCD on Fedora 13
  • Re: ZeroCD on Fedora 13

Powered by MODx  Template © 2006 modXhost.com CSS
MySQL: 0.0070 s, 13 request(s), PHP: 0.1121 s, total: 0.1192 s, document retrieved from cache.