WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline ltrk

  • WikiUser
  • *
  • Posts: 7
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

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6427
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #1 on: May 10, 2019, 07: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: 9956
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #2 on: May 10, 2019, 11:58:29 PM »
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

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

Offline ltrk

  • WikiUser
  • *
  • Posts: 7
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #4 on: May 13, 2019, 06: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.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6427
Re: 4g usb modem -mode switch not happening. shows as disk drive
« Reply #5 on: May 13, 2019, 07: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.