SOLVED! LM18.2 After installation Mint no longer recognizes GSM dongle

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
sadhu
Level 4
Level 4
Posts: 412
Joined: Fri Nov 22, 2013 9:48 am
Contact:

SOLVED! LM18.2 After installation Mint no longer recognizes GSM dongle

Postby sadhu » Thu Nov 09, 2017 12:03 am

I have recently installed LM18.2 KDE and XFCE in different partitions for testing. I use dd to copy the installation ISO to a thumb drive, then boot off it. After booting, I connect to the internet using the standard 4-step process on the network connections dialog. During installation, the system downloads the extra stuff.

Then after rebooting and pulling the thumb drive, I can boot into either xfce or KDE. I then go to the network connections dialog, run through the steps, and nothing happens. Then I check nemo, and find that the dongle doesn't show up in Places.

So the problem is this: LM18.2 Installation can see the dongle, but the installed version can't.

Why does the installation ISO see the dongle, but the installed OS doesn't?

I seem to recall that I had the same problem when I initially loaded 18.1, but I can't recall how I worked around it. It was a real kludge, in any case. Something like this:
  1. Install 18.1-64 on my laptop (with dongle) --- it works, somehow.
  2. On desktop and laptop, boot into LM 17
  3. Use rsync to copy the laptop 18.1 partition to the desktop 18.1 partition (the machines are connected via LAN null modem)
  4. On the desktop, run grub-customizer or the other grub command to add the new partition to the boot menu
A couple of weeks ago I upgraded to 18.2 on the desktop.

Like I say, a kludge but it worked. And the dongle is recognized -- but usually only at startup. If I plug it in while 18.2 is running, it's chancy for it to be recognized. I often have to reboot in order to go online.

Here's my system configuration

Code: Select all

System:    Host: desk18 Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.2 Sonya
Machine:   Mobo: Gigabyte model: H81M-S2PV v: x.x Bios: American Megatrends v: F2 date: 08/11/2015
CPU:       Dual core Intel Pentium G3250 (-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12770
           clock speeds: min/max: 800/3200 MHz 1: 1076 MHz 2: 1298 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:0402
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Desktop
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0c0c
           Card-3 C-Media CM108 Audio Controller driver: USB Audio usb-ID: 003-005 chip-ID: 0d8c:013c
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
           IF: enp2s0 state: down mac: <filter>
Drives:    HDD Total Size: 2120.4GB (61.3% used)
           ID-1: /dev/sda model: KINGSTON_SV300S3 size: 120.0GB serial: 50026B775807CAD7
           ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB serial: WD-WMC1S6916513
           ID-3: /dev/sdc model: WDC_WD10EZEX size: 1000.2GB serial: WD-WCC1S6342940
Partition: ID-1: / size: 24G used: 8.8G (40%) fs: ext4 dev: /dev/sda7
           ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-xenial.list
           deb http: //ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
           deb-src http: //ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/gezakovacs-ppa-xenial.list
           deb http: //ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial main
           deb-src http: //ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http: //packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
           deb http: //archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http: //archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/peterlevi-ppa-xenial.list
           deb http: //ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
           deb-src http: //ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
           deb [arch=amd64] https: //repo.skype.com/deb stable main
           Active apt sources in file: /etc/apt/sources.list.d/tails-team-tails-installer-xenial.list
           deb http: //ppa.launchpad.net/tails-team/tails-installer/ubuntu xenial main
           deb-src http: //ppa.launchpad.net/tails-team/tails-installer/ubuntu xenial main
Info:      Processes: 229 Uptime: 33 min Memory: 1151.2/3847.8MB
           Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35

Oh, yes: Can't do the kludge procedure now, because my laptop is out of order, and I'm waiting for a new motherboard from China.

-Thanks, all
-Sadhu
Last edited by sadhu on Thu Nov 09, 2017 10:58 pm, edited 1 time in total.
sabbe sattā bhavantu sukhitattā

User avatar
administrollaattori
Level 12
Level 12
Posts: 4305
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: LM18.2 After installation Mint no longer recognizes GSM dongle

Postby administrollaattori » Thu Nov 09, 2017 3:14 pm

Some GSM dongles need to eject its virtual-CDROM. Usually usb-modeswitch does the job, but you can do it by hand or script. See if lsusb output changes within 30 seconds after ejecting.

Code: Select all

eject

Code: Select all

eject /dev/sr0

Code: Select all

eject /dev/sr1

Code: Select all

eject /dev/sr2

sadhu
Level 4
Level 4
Posts: 412
Joined: Fri Nov 22, 2013 9:48 am
Contact:

Re: LM18.2 After installation Mint no longer recognizes GSM dongle

Postby sadhu » Thu Nov 09, 2017 11:04 pm

administrollaattori wrote:Some GSM dongles need to eject its virtual-CDROM. Usually usb-modeswitch does the job, but you can do it by hand or script. See if lsusb output changes within 30 seconds after ejecting.

Code: Select all

eject

Code: Select all

eject /dev/sr0

Thank you so very much!! In a terminal I entered eject /dev/sr0, and a moment later the dongle was recognized. Now I will figure out how to set usb_modeswitch to do it automatically on boot. It's a Huawei dongle, but I don't know if it's new or old. Suspect old, as I've had it for a couple of years.

-Thanks again
-Sadhu
sabbe sattā bhavantu sukhitattā

User avatar
administrollaattori
Level 12
Level 12
Posts: 4305
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: LM18.2 After installation Mint no longer recognizes GSM dongle

Postby administrollaattori » Fri Nov 10, 2017 6:07 am

sadhu wrote:Thank you so very much!! In a terminal I entered eject /dev/sr0, and a moment later the dongle was recognized. Now I will figure out how to set usb_modeswitch to do it automatically on boot. It's a Huawei dongle, but I don't know if it's new or old. Suspect old, as I've had it for a couple of years.

Add the eject /dev/sr0 command to the Startup Applications. :D


Return to “Installation & Boot”

Who is online

Users browsing this forum: fabien85, Laurent85 and 5 guests