WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 4g usb modem -mode switch not happening. shows as disk drive  (Read 5005 times)

Offline ltrk

  • Newbie
  • *
  • Posts: 24
I am running CorePlus version 9. I tried connecting a 4g usb modem but it shows up as a disk drive. I am guessing the mode seitch to modem is not happening.

I could not find  way to check kernel messages -I just looked for /var/log/messages but thats not there -perhaps its something else?

Do I need to configure anything for the modem to be correctly detected. I thought in the newer kernel this was automatic

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #1 on: May 10, 2019, 10:06:06 PM »
Hi ltrk
To view kernel messages, you can:
Quote
dmesg > dmesg.txt
and view it with a text editor. Or you can pipe it through the  less  command:
Code: [Select]
dmesg | lessand use  page up/page down  to navigate through the results.

Quote
I just looked for /var/log/messages but thats not there -perhaps its something else?
Add the  syslog  boot code and it will be there.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #2 on: May 11, 2019, 02:58:29 AM »
Did you install the modules (usb-serial-KERNEL)? For some sticks those are enough, for others you need usb-modeswitch in addition.
The only barriers that can stop you are the ones you create yourself.

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #3 on: May 13, 2019, 09:54:14 PM »
Hi Rich
Tanks for the info will check that

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #4 on: May 13, 2019, 09:57:20 PM »
hi curaga
No I have not installed those modules -thought they would be built-in.

I need to offline install these modules -I dont have a network yet. How do I ensure I pick up right version? I saw some discussion in the forums about getting the right version. I'm running on a x86 box.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #5 on: May 13, 2019, 10:28:24 PM »
Hi ltrk
... I need to offline install these modules -I dont have a network yet. How do I ensure I pick up right version? ...
You want:
http://tinycorelinux.net/9.x/x86/tcz/usb-serial-4.14.10-tinycore.tcz
http://tinycorelinux.net/9.x/x86/tcz/usb-serial-4.14.10-tinycore.tcz.md5.txt
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz.dep
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz.md5.txt

You will need to make sure these dependencies are also in your  tce  directory:
Code: [Select]
  expat2.tcz
  fontconfig.tcz
  freetype.tcz
  glib2.tcz
  libffi.tcz
  libpng.tcz
  libusb.tcz
  libX11.tcz
  libXau.tcz
  libxcb.tcz
  libXdmcp.tcz
  libXext.tcz
  libXft.tcz
  libXrender.tcz
  libXss.tcz
  tcl.tcz
  tk.tcz
  udev-lib.tcz
  usbutils.tcz
Some of them will already be present. Download the the missing ones including the  .md5.txt  files and the  .dep  files if they
have one.

Then add the following line to your  onboot.lst  file:
Code: [Select]
usb-modeswitch.tczRun a backup if necessary and reboot.

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #6 on: June 01, 2019, 12:57:16 AM »
hi rich
thank you for the info.
There is this script that downloads extensions and dependencies. I had to tweak it for 9x since it is set to
3x but its very useful for offline install
http://forum.tinycorelinux.net/index.php/topic,7243.msg38349.html#msg38349

I now have the modem correctly being detected.