Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 8543  / 2 Years ago, tue, february 15, 2022, 7:55:18

I have Micromax 3G modem, and I inserted it in the USB port, but it is not being detected by Ubuntu 12.04, that I'm using from a Live USB. I tried creating a mobile Internet connection, however, eventhough I created it, there is no option to connect.



I had previously used 11.10 Ubuntu, and it had automatically detected the datastick modem and asked me to create a connection.



On typing lsusb in the terminal it gives the following:



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 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 03f0:5307 Hewlett-Packard
Bus 001 Device 008: ID 1c9e:9605 OMEGA TECHNOLOGY
Bus 001 Device 006: ID 5986:0364 Acer, Inc


tried to insert the modem before boot, with negative results


More From » 12.04

 Answers
0

Since we have the same vendor & product ID, create your config same as what i have:



gksudo gedit /etc/usb_modeswitch.d/1c9e:9605


Paste this code on the editor



DefaultVendor = 0x1c9e
DefaultProduct = 0x9605
TargetVendor = 0x1c9e
TargetProduct = 0x9605
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"


Save and exit, then log in as root to your terminal:



su


Type & confirm your root password, and do:



modprobe usbserial vendor=0x1c9e product=0x9605

usb_modeswitch -c /etc/usb_modeswitch.d/1c9e:9605


If you didn't receive any error messages, you'll then see a new Mobile Broadband Connection on your Network Manager (top right wifi icon)



you need to run this code every session but you can just add the code below to your /etc/rc.local (insert before the 'exit 0') so it will be part of your startup programs:



 sleep 10
modprobe usbserial vendor=0x1c9e product=0x9605
usb_modeswitch -c /etc/usb_modeswitch.d/1c9e:9605
sleep 20
nmcli nm wwan on
sleep 10
nmcli con up id "your connection name here"


Hope this helps ..


[#38154] Wednesday, February 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ithriv

Total Points: 46
Total Questions: 115
Total Answers: 96

Location: Malaysia
Member since Wed, May 11, 2022
2 Years ago
ithriv questions
Tue, Mar 14, 23, 14:31, 1 Year ago
Wed, Oct 5, 22, 02:59, 2 Years ago
Fri, Mar 11, 22, 10:12, 2 Years ago
Thu, May 11, 23, 10:55, 1 Year ago
Sun, Sep 26, 21, 06:47, 3 Years ago
;