My Mobile Broadband doesn't work now in Ubuntu 14.04

Asked by Rohith Kumar

I updated my operating system few days ago to 14.04. I use airtel mobile USB dongle/modem to connect internet. It was working so far fine. But since morning the mobile broadband doesn't show up neither in the dashboard of the airtel which I tried to install throught the link given below
 http://www.tuxtrix.com/2013/06/how-to-install-airtel-mobile-broadband.html

Kindly help to get the mobile broadband working fine

Things done so far
1. Uninstalled the dashboard my removing the folders but didn't work.
2. Installed dashboard but still dashboard doesn't detect the dongle
3. System is updated.
4. Wired connection works.
Links of the images are below
http://postimg.org/gallery/2kibypn8q/84d94560/

Kindly help

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; lsusb

Thanks

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#2

Thank god. You came Andrew. Needed you help

Satellite-C640:~$ lsb_release -a; uname -a; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux rohit-Satellite-C640 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC 2014 i686 i686 i686 GNU/Linux
Bus 002 Device 010: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#3

the modem connects as it shows but in the network manager it doesn't show the mobile broadboard or in the dashboard, even when network connections I have added

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#4
Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#5

There is no Enable Mobile Broadband option itself even

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6
Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#7

It didn't work Andrew.

I get comment in terminal as
(gedit;3518): Gtk-WARNING ** : Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .services files.
Kindly help

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#8

Kindly help

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

What is the output of the terminal commands

lsusb
dpkg -l | grep modeswitch
grep -i 1436 /lib/udev/rules.d/40-usb_modeswitch.rules

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#10

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

rohit@rohit-Satellite-C640:~$ grep -i 1436 /lib/udev/rules.d/40-usb_modeswitch.rules
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"

rohit@rohit-Satellite-C640:~$ dpkg -l | grep modeswitch
ii usb-modeswitch 2.1.1+repack0-1ubuntu1 i386 mode switching tool for controlling "flip flop" USB devices
ii usb-modeswitch-data 20140327-1 all mode switching data for usb-modeswitch

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

What is the output of the terminal commands

grep -i 1436 -B 2 -A 1 /lib/udev/rules.d/40-usb_modeswitch.rules
sudo usb_modeswitch -W -I -v 12d1 -p 1436
lsusb

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#12

Commands I gave initially without dongle connected and when it is connected.

rohit@rohit-Satellite-C640:~$ grep -i 1436 -B 2 -A 1 /lib/udev/rules.d/40-usb_modeswitch.rules

# Huawei E173u-2, E177
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
#14ba
--
# Huawei EC156, Huawei E372u-8
#ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1505", RUN+="usb_modeswitch '%b/%k'"
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"

--

# Huawei E173
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"

rohit@rohit-Satellite-C640:~$ sudo usb_modeswitch -W -I -v 12d1 -p 1436
Take all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.1.1 (C) Josua Dietze 2014
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x12d1
DefaultProduct= 0x1436
NeedResponse=0

InquireDevice=1

Look for default devices ...
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 10f1:1a34
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 No devices in default mode found. Nothing to do. Bye!

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

___________________
rohit@rohit-Satellite-C640:~$ grep -i 1436 -B 2 -A 1 /lib/udev/rules.d/40-usb_modeswitch.rules

# Huawei E173u-2, E177
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
#14ba
--
# Huawei EC156, Huawei E372u-8
#ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1505", RUN+="usb_modeswitch '%b/%k'"
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"

--

# Huawei E173
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"

rohit@rohit-Satellite-C640:~$ sudo usb_modeswitch -W -I -v 12d1 -p 1436
Take all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.1.1 (C) Josua Dietze 2014
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x12d1
DefaultProduct= 0x1436
NeedResponse=0

InquireDevice=1

Look for default devices ...
  found USB ID 12d1:1436
   vendor ID matched
   product ID matched
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 10f1:1a34
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 004 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skip SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Warning: no switching method given. See documentation
-> Run lsusb to note any changes. Bye!

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

As far as I can see, the device is successfully switched to modem mode

Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)

So the network configuration dialogue should allow using that device. Can you try activating it?

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#14

Don't work Manfred.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#15
Revision history for this message
Manfred Hampl (m-hampl) said :
#16

Try the terminal commands

sudo usb_modeswitch -W -I -v 12d1 -p 15ca -M 55534243123456780000000000000011062000000101000100000000000000

lsusb

and copy/paste all output.

What does "Don't work" mean? Please elaborate what you have tried, and where you are stuck. In case you get an error message, please provide its full text.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#17

I connected the modem, but still the mobile broadband didn't show up to connect.

I even added in network connections the mobile broad band but didn't show in network manager.

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rohit@rohit-Satellite-C640:~$ sudo usb_modeswitch -W -I -v 12d1 -p 15ca -M 55534243123456780000000000000011062000000101000100000000000000
Take all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.1.1 (C) Josua Dietze 2014
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x12d1
DefaultProduct= 0x15ca
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
NeedResponse=0

InquireDevice=1

Look for default devices ...
  found USB ID 12d1:1436
   vendor ID matched
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 10f1:1a34
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 No devices in default mode found. Nothing to do. Bye!

rohit@rohit-Satellite-C640:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Sorry, copy/paste error on my side, please try again

lsusb
sudo usb_modeswitch -W -I -v 12d1 -p 1436 -M 55534243123456780000000000000011062000000101000100000000000000
lsusb

and copy/paste all output.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#19

This is what I got

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rohit@rohit-Satellite-C640:~$ sudo usb_modeswitch -W -I -v 12d1 -p 1436 -M 55534243123456780000000000000011062000000101000100000000000000
Take all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.1.1 (C) Josua Dietze 2014
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x12d1
DefaultProduct= 0x1436
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
NeedResponse=0

InquireDevice=1

Look for default devices ...
  found USB ID 12d1:1436
   vendor ID matched
   product ID matched
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 10f1:1a34
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 004 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x82 (in)
Error: can't use storage command in MessageContent with interface 0;
       interface class is 239, expected 8. Abort

rohit@rohit-Satellite-C640:~$ lsusb
Bus 002 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 10f1:1a34 Importek
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

It seems to me that the device is already correctly configured, so you should be able to use it with the network configuration dialogue.

With the device plugged in, what is the output of

ls /dev/ttyUSB*

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#21

ls /dev/ttyUSB* didn't show anything

but this did

rohit@rohit-Satellite-C640:~$ ls /dev/tty
tty tty20 tty33 tty46 tty59 ttyS12 ttyS25
tty0 tty21 tty34 tty47 tty6 ttyS13 ttyS26
tty1 tty22 tty35 tty48 tty60 ttyS14 ttyS27
tty10 tty23 tty36 tty49 tty61 ttyS15 ttyS28
tty11 tty24 tty37 tty5 tty62 ttyS16 ttyS29
tty12 tty25 tty38 tty50 tty63 ttyS17 ttyS3
tty13 tty26 tty39 tty51 tty7 ttyS18 ttyS30
tty14 tty27 tty4 tty52 tty8 ttyS19 ttyS31
tty15 tty28 tty40 tty53 tty9 ttyS2 ttyS4
tty16 tty29 tty41 tty54 ttyprintk ttyS20 ttyS5
tty17 tty3 tty42 tty55 ttyS0 ttyS21 ttyS6
tty18 tty30 tty43 tty56 ttyS1 ttyS22 ttyS7
tty19 tty31 tty44 tty57 ttyS10 ttyS23 ttyS8
tty2 tty32 tty45 tty58 ttyS11 ttyS24 ttyS9

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#22

Hi Manfred, Andrew

I have a Teamweaver application which can help you remote login. Is their any such possibility you would like to take to test what's gone wrong if you don't mind

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

If I re-check some of your output, I see a weird modification of the usb_modeswitch files 40-usb_modeswitch.rules:
...
# Huawei E173u-2, E177
ATTR{idVendor}=="Huawei", ATTR{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
#14ba
...

A vendor attribute of "Huawei" is nonsense. USB vendor IDs have to be four digit hex codes. Have you entered that data? I am inclined to recommend re-installing usb-modeswitch-data to revert the file to its original contents.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#24

No it was there as it is. Even i wonder why it is like Huawei their

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#25

Even I changed it now and added hex codes, but still not works

Revision history for this message
Manfred Hampl (m-hampl) said :
#26

Try

sudo apt-get install --reinstall usb-modeswitch-data usb-modeswitch

unplug the mobile broadband stick
reboot your system

issue the command
dmesg
note down the time code of the last line of the output
plug in the mobile broadband stick and wait half a minute
issue the command
dmesg
again, and copy/paste all lines that have been added since the time code you noted down into this question document.

Revision history for this message
Launchpad Janitor (janitor) said :
#27

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.