LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2010, 02:58 AM   #1
fifty56
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
T-mobile web n walk stick with ubuntu 9


hi,

I've read many threads, but still stacked in the problem. Here's my system so far:

a new install of ubuntu 9.10, on an asus eee pc, and my t-mobile usb stick (which works with ubuntu 8 on my other machine)

lsusb:
Bus 001 Device 002: ID 13d3:5126 IMC Networks
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 0af0:6971 Option
Bus 004 Device 002: ID 0b05:1788 ASUSTek Computer, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
/etc/usb_modeswitch.conf:
DefaultVendor= 0x0af0
DefaultProduct= 0x6971
TargetClass= 0xff
MessageEndpoint=0x05
MessageContent="55534243785634120100000080000601000000000000000000000000000000"
/etc/udev/rules.d/51-hso-udev.rules
ATTRS{idVendor}=="6971", ATTRS{idProduct}=="0af0", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}"

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="6971", SYSFS{idProduct}=="0af0, SYSFS{bDeviceClass}=="ff", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}"

SUBSYSTEM=="usb", SYSFS{idProduct}=="0af0", SYSFS{idVendor}=="6971", RUN+="/usr/sbin/usb_modeswitch"


here I'm not sure whether I need usb_device or usb (?)
ls -la /dev/ttyHS*
crw-rw---- 1 root dialout 251, 2 2010-04-05 22:22 /dev/ttyHS2
When I plug in my stick to an usb port, I cannot see any modem in the network manager, neither a 3g connection.

what should I do to see the usb as a 3g modem?
 
Old 04-06-2010, 04:19 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
There is a linux driver manual as well as drivers itself on the usb stick. If you can't find them on yours I'll see if I can provide you the one on my stick.

I had it running through pppoe on debian. After insertion of the stick I just made a symlink from /dev/ttyUSB0 to /dev/modem (udev should help out). Using /dev/modem inside the network wizard got me going.

Could you please provide the output of tail /var/log/messages -f while your inserting the stick? I wonder about the /dev/ttyHS* your listing.
 
Old 04-06-2010, 07:49 AM   #3
fifty56
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
here we go:

tail -f /var/log/syslog
Apr 6 14:25:58 mayflower-laptop kernel: [ 577.452029] usb 3-1: new full speed USB device using ohci_hcd and address 2
Apr 6 14:25:58 mayflower-laptop kernel: [ 577.671286] usb 3-1: configuration #1 chosen from 1 choice
Apr 6 14:25:59 mayflower-laptop kernel: [ 579.041811] usb 3-1: USB disconnect, address 2
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.588041] usb 3-1: new full speed USB device using ohci_hcd and address 3
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.803513] usb 3-1: configuration #1 chosen from 1 choice
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.875127] hso: /build/buildd/linux-2.6.31/drivers/net/usb/hso.c: 1.2 Option Wireless
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.877080] hso0: Disabled Privacy Extensions
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.878719] usbcore: registered new interface driver hso
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.911194] Initializing USB Mass Storage driver...
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.911366] usbcore: registered new interface driver usb-storage
Apr 6 14:26:01 mayflower-laptop kernel: [ 580.911374] USB Mass Storage support registered.
Apr 6 14:26:01 mayflower-laptop usb_id[2018]: unable to access '/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/tty/ttyHS0'
Apr 6 14:26:01 mayflower-laptop usb_id[2019]: unable to access '/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/net/hso0'
Apr 6 14:26:01 mayflower-laptop modem-manager: (ttyHS2) opening serial device...
Apr 6 14:26:01 mayflower-laptop modem-manager: (ttyHS2): probe requested by plugin 'Option High-Speed'
Apr 6 14:26:01 mayflower-laptop usb_id[2020]: unable to access '/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/tty/ttyHS1'
Apr 6 14:26:01 mayflower-laptop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/net/hso0, iface: hso0)
Apr 6 14:26:01 mayflower-laptop NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/net/hso0, iface: hso0): no ifupdown configuration found.
Apr 6 14:26:01 mayflower-laptop NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/net/hso0, iface: hso0)
Apr 6 14:26:13 mayflower-laptop modem-manager: (ttyHS2) closing serial device...
Apr 6 14:27:08 mayflower-laptop wpa_supplicant[896]: CTRL-EVENT-SCAN-RESULTS
dmesg | grep -e "modem" -e "tty"
[ 0.001949] console [tty0] enabled
[ 1.610110] tty tty19: hash matches
 
Old 04-06-2010, 08:17 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Okay so the device gets registered as /dev/ttyHS2 and the first two fail.

Suggestion
Code:
cd /dev
ln -s ./ttyHS0 ./modem
Then inside the network manager setup the pppoe connection with /dev/modem as the device. Phonenumber should be '*99#' WCDMA or GSM adn '#777' for CDMA.

I'll load up the driver and manual when I come home.

Just for completnes could you provide the name of the stick your using? Seems like Telekom has various in the wild
 
Old 04-06-2010, 08:26 AM   #5
fifty56
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
there is no modem directory under my dev folder. Should I create the folder?

this is the model of the stick: GI0225

Last edited by fifty56; 04-06-2010 at 01:47 PM.
 
Old 04-07-2010, 01:13 AM   #6
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Here are the files.

http://www.file-upload.net/download-...nwalk.zip.html
 
Old 04-07-2010, 02:15 AM   #7
fifty56
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I've upgraded my usb_modswitch from 0.9.4 to 1.1.1 and the network_manager to 8.1 and everything works.

Thanks guys for your help!
 
Old 04-07-2010, 02:50 AM   #8
pdc_2
LQ Newbie
 
Registered: Aug 2008
Posts: 21

Rep: Reputation: 12
you had two switching software programmes installed; you seem to have had the vendor ID: product ID values mixed up in the script for ozerocdoff;

good to hear that an up-to-date version of usb_modeswitch; their forum advocates using the 1.1.1 version

so ozerocdoff may have been inoperative because values were switched; it is the usually THE recommended programme for switching otion modems, such as you have

Quote:
0af0:6971 Option
so Product ID = 6971
Vendor ID = 0af0

your script says

Quote:
ATTRS{idVendor}=="6971", ATTRS{idProduct}=="0af0"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huawei 0682 Mobile Usb Stick Marrti Jokinen Linux - Software 1 10-20-2009 06:47 AM
t-mobile mobile broadband stick with linux on eee pc beagle21 Linux - Laptop and Netbook 2 07-15-2009 12:04 PM
LXer: Make your T-Mobile Web 'n Walk Stick / Option 225 work with Ubuntu LXer Syndicated Linux News 0 05-04-2009 11:41 PM
T-Mobile web n walk data cards... darkwillow Linux - Wireless Networking 0 01-02-2007 03:36 PM
Two NICS one web server and Two Gateways walk into a bar... dr_rockstar66 Linux - Networking 2 02-23-2005 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration