Linux Mint 16 Not detecting 3G Modem.

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Shirishsono

Linux Mint 16 Not detecting 3G Modem.

Post by Shirishsono »

I have Linux Mint 16 Petra installed and I have a Micromaxx MMX354G 3G Datacard. It used to work perfectly in Win 7 but in Mint 16 the device is not even detected. I have other Modem of Hauwei EC150 which works fine with Mint 16. Why the Micromaxx device is not being detected? Do I have to install other drives?
---Thank You!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Brahim Salem

Re: Linux Mint 16 Not detecting 3G Modem.

Post by Brahim Salem »

It is not working because it is mouted as USB SCSI CDROM. The easiest way to switch to modem mode is by ejecting the CDROM . The easiest way to switch to modem mode is by ejecting the CDROM :

Code: Select all

eject /dev/sr1
if this does not work try:

Code: Select all

eject /dev/sr0
Wait for a few seconds and your dongle should show up in the modem manager. Set up your network and add the above command line to startup apps for future use.

*********************************************************************************************************************************

If you want to establish a 3g mobile broadband autoconnection/ reconnection on Linux Mint follow the below tutorial at:

Solution 1:

1- create a shell script as follows (Replace "Tunisie Télécom / TUNTEL WEB DATA" with the name of your Mobile Broadband connection name):

Code: Select all

#!/bin/bash

while true; do
    LC_ALL=C nmcli -t -f TYPE,STATE dev | grep -q "^gsm:disconnected$"
    if [ $? -eq 0 ]; then
        #jdownloader is still in the download status so stop it because
        #internet is disconnected and jdownloader won't resume download 
        #when connected again
        #jdownloader --stop-download
        #sometimes I can not get connected after disconnection when 
        #I click on <name of the network connection>. I have to disable
        #and enable Mobile Broadband
        nmcli -t nm wwan off
        sleep 1
        nmcli -t nm wwan on
        sleep 1
        nmcli -t con up id "Tunisie Télécom / TUNTEL WEB DATA"
        #wait approximately 15 sec to get connected
        #if anyone can add better command to check for it just comment it :-p 
        sleep 15
        #now connected to internet so start download
        #jdownloader --start-download
    fi
    #it does not worth keep it checking every millisecond.
    #my connection will be reestablished within 5-15 seconds
    sleep 2
    #if anyone can code it better please feel free to comment
    #TO-DO:: check for data received. if data < 15 KB after 20 seconds of connection
    #reconnect mobile broadband connection  
done

2- Save it and give it execution permission then add it to Startup Applications.

Image


Now it will connect automatically at startup and if connection is dropped.


Solution 2 :

1- get the attached script below

2- extract it to your home folder (or somewhere safe) and make it hidden by placing a dot before it like this .network-autoconnection.sh (so that you won't accidently delete it)

3- Give it execution permission like this: rightclick on it, go to "properties", then navigate to "permissions" then tick "Allow executing file as program"


Image


Image



4- go to the Mint menu and type "startup applications"


5- click on "add" then "browse" opposite to "command" field to give the directory of the script (your home folder or wherever you've placed it) then give it a name in the "name" field, for example mine is "Tunisie Télécom / TUNTEL WEB DATA".

Image



That's it guys!


Solution found here http://askubuntu.com/questions/142104/s ... e-terminal

Script attached below!
Shirishsono

Re: Linux Mint 16 Not detecting 3G Modem.

Post by Shirishsono »

Hey Thanks it Worked...!!! :D :D :D :D :D :D :D
Brahim Salem

Re: Linux Mint 16 Not detecting 3G Modem.

Post by Brahim Salem »

Shirishsono wrote:Hey Thanks it Worked...!!! :D :D :D :D :D :D :D
I'm happy for you bro :D :D
Locked

Return to “Networking”