Lucid 10.04 has no way to use Mobile Broadband USB

Asked by Martin J. Marsh

It is a question really of whether I can expect my Ubuntu PC to recognise my modem and enable it. T-Mobile (in UK) provide installation software for both MS Windows and Apple Mac but I'm running short of ways to configure it manually for Ubuntu.
Odd thing is it now recognises my mobile phone, which I have also plugged in as my ZTEMODEM connection, but it is via a Virgin Media provided service, and the connection will go if I unplug the phone. But the Mobile Broadband Dongle worked OK on its own on a MS Windows PC, so why not with Ubuntu? The dongle is flashing red, but it needs to be blue for a proper connection.

Using Gnome Terminal, lsusb shows I have Nokia Mobile Phones and ONDA Communication S.p.A. connected!

Any ideas, configuration experts, or do I need some extra software to convert T-Mobile software into something useful, or is it just that I'm connected by a gang of crooks?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Martin J. Marsh
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Of course there is a way, what a ridiculous statement!

Can you give the output of;

lsb_release -a; uname -a; lsusb

Thanks

Revision history for this message
Martin J. Marsh (marshgrz) said :
#2

I must try those commands mentioned, but output of lsusb command is stated in my question: T-Mobile dongle is apparently recognised as ONDA communications.

Further information:
Right click on ZTEMODEM icon that appears on desktop ...options...
"Unmount" returns to starting point as if not plugged in, but
"Eject" , as if it was a CD drive (some indicators seem to suggest it was wrongly recognised as a CD drive) ...causes the icon to disappear fro the desktop, but wonder and behold, the red flashing light of the modem indicating no connection changes to a bright blue - it seems the modem has now found a connection, but there is no datastream gateway.

Progress or misleading signal from T-Mobile?

Revision history for this message
Martin J. Marsh (marshgrz) said :
#3

Hello Actionparsnip, software testers...

Answer to feedback request re commands lsb_release, lsusb, uname, one more also:

Output of uname -a:

Linux CP1 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux

Output of lsb_release -a:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid

Output of lsusb:

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
Bus 002 Device 002: ID 0458:0036 KYE Systems Corp. (Mouse Systems) Pocket Mouse LE
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 054c:0243 Sony Corp. MicroVault Flash Drive
Bus 001 Device 003: ID 19d2:1516 ONDA Communication S.p.A.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The guys at the T-Mobile shop assured me that I could use my SIM card I had from them previously for T-Mobile Mobile Broadband. Maybe I need to get back to them to enquire what system errors of user registration they have overlooked?

More info.....

Output of egrep -v '#|^ *$' /etc/ppp/options (as detailed in xman plog info):

asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

Should “noauth” be “auth” instead – or should the modem authenticate itself automatically by password or PIN (PUK)?

I don't seem to have a way of talking to the modem...?!?!

Revision history for this message
Martin J. Marsh (marshgrz) said :
#4

Well no news from Ubuntu team or other users as of today, 21:45 in the evening, local London UK BST time.

I spoke the other day to the guy who answered the phone for T-Mobile technical team, who assured me that all I needed to connect was the APN (which I have, correlated, correct), and just give details "user" and "pass", no PIN or other details required, because I already have a paid-up-to-date account with T-Mobile.

The modem works OK, connects, and with MS Windows XP and Google Chrome browser, which I am now using.

Today, running Ubuntu on my other computer, the modem flashed its promising blue light when I R-clicked to eject the desktop icon. Then I edited and removed some of the other trial attempts at network connections, simplifying to just the one with details as advised by T-Mobile tech team.

The network connections icon changed briefly as if sounding out its connections, then up came a dialogue box asking for a non-hidden password for ZTE-M... modem connection - but as no password is supposed to be required, I was thinking that maybe a PIN number might be entered...

Still no results, no connection, now no dialogue...

After browsing bugs forum, I previously tried various commands with Gnome-Terminal...

From: ls -al /dev/serial/by-id .....

total 0
drwxr-xr-x 2 root root 100 2012-05-20 21:09 .
drwxr-xr-x 4 root root 80 2012-05-20 21:09 ..
lrwxrwxrwx 1 root root 13 2012-05-20 21:09 usb-ZTE_MF192_DE800269ED329425AE3986856C5D57087ED250E8-if01 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 2012-05-20 21:09 usb-ZTE_MF192_DE800269ED329425AE3986856C5D57087ED250E8-if03 -> ../../ttyACM1
lrwxrwxrwx 1 root root 13 2012-05-20 21:09 usb-ZTE_MF192_DE800269ED329425AE3986856C5D57087ED250E8-if06 -> ../../ttyACM2

From: nm-tool .....

NetworkManager Tool

State: disconnected

- Device: eth0 -----------------------------------------------------------------
  Type: Wired
  Driver: 3c59x
  State: unavailable
  Default: no
  HW Address: 00:04:76:0D:40:3D

  Capabilities:
    Carrier Detect: yes
    Speed: 10 Mb/s

  Wired Properties
    Carrier: off

- Device: ttyACM1 --------------------------------------------------------------
  Type: Mobile Broadband (GSM)
  Driver: cdc_acm
  State: disconnected
  Default: no

  Capabilities:

From usb-devices .....

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=02.06
S: Manufacturer=Linux 2.6.32-38-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:0d.2
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=054c ProdID=0243 Rev=02.00
S: Manufacturer=Sony
S: Product=Storage Media
S: SerialNumber=2A0901120011944
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 7 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1516 Rev=00.01
S: Manufacturer=ZTE
S: Product=MF192
S: SerialNumber=DE800269ED329425AE3986856C5D57087ED250E8
C: #Ifs= 8 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=02(commc) Sub=08 Prot=00 Driver=(none)
I: If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
I: If#= 3 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
I: If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 6 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#= 7 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=02.06
S: Manufacturer=Linux 2.6.32-38-generic uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:07.2
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0458 ProdID=0036 Rev=01.10
S: Manufacturer=Genius
S: Product=NetScroll + Mini Traveler
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=02.06
S: Manufacturer=Linux 2.6.32-38-generic uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:0d.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=02.06
S: Manufacturer=Linux 2.6.32-38-generic uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:0d.1
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

So, following edit add line advice trying:

sudo gedit /etc/udev/rules.d/zte_eject.rules

What benefit, I was wondering, is that supposed to be to anyone, and does it make any difference if my modem is type 1516 and not type 2000s? Too many hoaxers and time wasters, I think, why no go off and play computer games while the economy goes to pot? No solutions provided by any of these yet.

Revision history for this message
Martin J. Marsh (marshgrz) said :
#5

The Ubuntu forums threads are interesting but a mite progressively misleading:

http://ubuntuforums.org/showthread.php?s=b9109eae5a9e9809b4285b69d79c74a7&t=1466490&page=2

Revision history for this message
Martin J. Marsh (marshgrz) said :
#6

Following: http://ubuntuforums.org/showthread.php?t=1466490

Diagnostics tried:
lsusb -t and lsusb -v

dmesg | grep -e "modem" -e "tty"
"will show if the modem has been identify and the lines { ttyx } and possible the driver"

Also, reading on from quoted section...
list the device ports
ls -al /dev/serial/by-id
update the usb id's, check to see if recognized
sudo /usr/sbin/update-usbids
Can use this at any time to see status of NM network
nm-tool
This command may show the tty*port for the modem
ls -al /dev/gsmmodem

Consulted xman extensively re such commands as pppstatus (sudo gedit /etc/pppstatus/pppstatus.cfg)

Used this, with useful result, to find state of device:
usb-devices

Found the product ID was different, so tried:
sudo gedit /etc/udev/rules.d/zte_eject.rules
and added this line with edited device ID's according to the usb-devices results:
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"

So I also tried this after...
From the terminal enter the following code,to load the driver module:
sudo modprobe option

Another way to find the modem:
ls -al /dev/serial/by-id/usb*

Also,to check if device supported, find the name of driver to the device depends: lsmod, modinfo option, lsusb
However, not all diagnostics worked on my system, for example:
using statserial to check the status line of your modem
statserial /dev/ttyUSB1

But, this was useful to eject modem after it failed to install with either MS Windows or Mac software provided withthe device - it prepares for Ubuntu use, red light will stop, then after eject, blue light will start to flash indicating readiness to be connected, but previous diagnostic necessary to identify modem as sr1 or whatever:
eject -s /sr1

Example of additional diagnostics tried:
hal-find-by-capability --capability --verbose modem
nc (with -rz, -l options, and referring to T-Mobile APN, general.t-mobile.uk)
ifconfig
traceroute6 -i usb
pppdump
tcpdump
iwevent
iwconfig
net rap session info
routel
ping6 -v
tracepath6

However, if all else fails, the (identified) T-Mobile modem still flashes blue, I thought, "why not just download and install some Ubuntu/Debian/Linux compatible software to do the job for me?" --- public service web searches successful...

On another computer/system, downloaded to USB memory stick:
draisberghof_de_usb_modeswitch_device_reference.txt
libusb-compat-0.1.4.tar.bz2
sakis3g.gz
usb-modeswitch-1.2.3.tar.bz2
usb-modeswitch-data-20120531.tar.bz2
wvdial_1.60.3.tar.gz
wvdial-1.60.tar.gz

Thus prepared, methought, why not install some of these on my Ubuntu system, see if any work?
Cautiously opened with Archive Manager, read instructions...

usb-modeswitch and wvdial would not configure, as both required additional dependencies, and liusb-compat did not help with that.

So tried installing the simple sakis3g script (from http://www.sakis3g.org/versions/latest/i386/sakis3g.gz) extracted into tmp folder and running from terminal - - - using following sequence:

Test it out for integrity:
echo "dda70fd95fb952dbb979af88790d3f6e sakis3g.gz" | md5sum -c

gunzip sakis3g.gz - unnecessary, as if already extracted with Archive Manager the file that appears listed in terminal, the file to work with is sakis3g, no file extension.

chmod +x sakis3g

./sakis3g --interactive

A window appears - marvellous - modem is automatically connected, if you can answer all questions correctly (so it helps to have run diagnostics beforehand), but you can back track and try again if you choose the wrong one of three options.

Thanks to sakis3g my T-Mobile modem (ZTE-MF) now works OK, but the last test is: does it go online and download stuff, get connections, info, because it gives a desktop link only and does not show in the Network links.

Interface: P-t-P (ppp0)
Network ID: 23430
Modem: MF192
Modem Type: USB
Kernel driver: cdc_acm
Device: /dev/tty/ACM1

The problem now is how to get it to work in a more integrated way, so I don't have to run the script and set up the modem every time?