个人工具

UbuntuHelp:Mobile Broadband Internet USB Adapters

来自Ubuntu中文

跳转至: 导航, 搜索

3G Option 225 "Web and Walk" T-Mobile Mobile Broadband Adapter

The T-Mobile adapter comes with Linux drivers on the T-Mobile CD but these are only meant for the default Xandros install on Asus Eee PC and install will fail on Ubuntu. Ubuntu 8.04 can be set up to use the current Option USB adapter, but it is not a plug in and go solution. The process involves compiling and installing some packages. See this forum thread. This solution will work for these USB adapters. Use "lsusb" to check the ID of your adapter. The instructions are duplicated here.

Hardy Heron 8.04

Installation

Most of the following text is from this forum thread

Hi, just to let you know that finally i managed to get the Option icon 225 3G USB stick (t-mobile Germany web'n'walk) to work on my Asus Eee PC 901 running Ubuntu-eee 8.04.1. Files needed: hso-1.6.tar.gz udev.tar.gz hsoconnect-py2.5_1.1.83_all.deb hsolink_1.0.46-1_i386.deb for your convenience provided bundled here: http://data.mybestprojects.com/4-files_for_HSO.tar.gz If you read this after November 2008 check for newer versions first! Preparations: On a newly installed Ubuntu 8.04(.1) or Ubuntu-eee 8.04.1: sudo apt-get install libusb-dev sudo apt-get install build-essential linux-headers-$(uname -r) In System -> Administration -> Users and Groups create a new group named dialout. Make sure root and your user name are in the dialout group. Installation: Extract hso-1.6.tar.gz udev.tar.gz Recompile both: sudo make sudo make install Install by double clicking: hsoconnect-py2.5_1.1.83_all.deb hsolink_1.0.46-1_i386.deb

Watch the compile messages carefully. You may need to compile the packages in the correct order, or use "make clean" as one of the packages comes with precompiled libraries and they should be built natively.

Reboot. Connect Applications -> Internet -> HSOconnect Enter your Settings. List of settings for German 3G providers: http://www.teltarif.de/i/gprs-config.html Settings for mine (t-mobile Germany): In Preferences enter APN =internet.t-mobile Username = anything Password = anything

These are the current profile settings for T-Mobile. APN=general.t-mobile.uk, USER=t-mobile, PASS=, PIN=

Save Click "Connect". And it works!

Troubleshooting

In my tests HSO connect conflicts with my installation of WiCD (Wireless connections manager), so make sure you quit before connecting over Mobile Broadband. I also turned off wireless on my EeePC which seemed to help

Check if HSOlinkcontrol is there: ls -al `which hsolinkcontrol` should have this result: -rwsr-sr-x 1 root root 5048 2008-05-04 01:07 /usr/bin/hsolinkcontrol What a successful connection looks like in HSOconnect debug window: http://data.mybestprojects.com/Debug_Window.txt Option icon 225 in 3G mode? Reboot, then wait 30 seconds. dmesg now should display something like this:

[ 610.876167] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 611.041197] usb 3-1: configuration #1 chosen from 1 choice
[ 612.222218] usb 3-1: USB disconnect, address 2
[ 613.102111] hso: /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/wireless/hso.c: 1.3 Option Wireless
[ 613.143760] usb 3-1: new full speed USB device using uhci_hcd and address 3
[ 613.178909] usb 3-1: configuration #1 chosen from 1 choice
[ 613.185085] hso0: Disabled Privacy Extensions
[ 613.185757] usbcore: registered new interface driver hso
[ 613.219295] usbcore: registered new interface driver libusual

Start HSOconnect manually in Terminal for extra output in Terminal window: sudo python -m hsoc Your linux kernel: uname -a List of Sites without I never would have succeeded http://www.pharscape.org http://www.blogeee.net http://www.teltarif.de/i/gprs-config.html Special thanks to Paul from Pharscape. Any hints to improve the setup are very welcome!

Jaunty Jackalope 9.04 (also tested on 8.04 and 8.10)

See thisblog post.