Tag Archives: ubuntu

Using the O2 USB Surf Stick under Ubuntu

I have an o2 surf stick to provide me with connectivity on the go via UMTS. It worked fine so far under Windows and it worked also my MacBook. Now I wanted to use it also from my new Ubuntu (Intrepid Ibex) laptop. The first thing I tried was to start it with wine. But this did not work out… The solution was brought to me through the following links:

The receipe of my setup was:

  • install dependent libraries
  • $ sudo apt-get -f install gcom libusb-dev
  • download usb_modeswitch sources
  • $ tar xjvf usb_modeswitch-0.9.5.tar.bz2
  • $ cd usb_modeswitch-0.9.5/
  • $ ./compile.sh
  • copy the built binary into my bin dir
  • $ sudo cp usb_modeswitch /usr/bin/
  • copy the default config to /etc and uncomment the right device
  • $ sudo cp usb_modeswitch.conf /etc/usb_modeswitch.conf
  • I guessed and uncommented the area with the many ‘Huawei’ device entries
  • now comes what you will have every time you want connect
  • $ sudo usb_modeswitch
  • $ sudo usbmon &
  • starts the small GUI application, enter you PIN and select ‘connect’