Community discussions

MikroTik App
 
alex001
just joined
Topic Author
Posts: 2
Joined: Sun May 08, 2011 2:01 pm

3g modem not showing in /ports

Fri Jul 29, 2011 8:09 pm

Hi I am trying to get my 3g modem working with v5.5 of routeros and x86 hardware, I can seem to find any help with my problem, I plug in the moden and the lights change colour to indecate its working,

> system resource usb print
# DEVICE VENDOR NAME SPEED
0 2:1 OHCI Host Controller 12 Mbps
1 1:1 EHCI Host Controller 480 Mbps
2 1:4 USBModem HSPA Data Card 480 Mbps

as you can see it is showing up under resources but not under ports

> port print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 Serial Console 9600

I could do with some help here as I'm not sure where to look or what to change to make it work. I know the moden is working as i have been using it with a laptop and also with a router with 3g support.

Hope someone can help thanks
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: 3g modem not showing in /ports

Mon Aug 01, 2011 3:19 pm

You can not enable or add 3G modem support by yourself.
Make support output file on your router and send it to us (3G modem plugged in),
http://wiki.mikrotik.com/wiki/Support_Output_File
 
artie11
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Sun Feb 20, 2011 12:08 pm

Re: 3g modem not showing in /ports

Thu Aug 04, 2011 12:00 pm

So what do we do if when you plug in a usb 3g modem it crashes? Does Support file include enough to figure that out?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: 3g modem not showing in /ports

Thu Aug 04, 2011 12:14 pm

If support output file is not enough, support department would need remote access to your router.
 
harvester
just joined
Posts: 2
Joined: Wed Dec 06, 2017 12:33 pm

Re: 3g modem not showing in /ports

Wed Dec 06, 2017 12:39 pm

Same problem Prolink phs300 3.75g modem
You do not have the required permissions to view the files attached to this post.
 
mspissak
just joined
Posts: 4
Joined: Thu Nov 25, 2021 2:57 pm

Re: 3g modem not showing in /ports

Thu Nov 25, 2021 3:13 pm

Good day. I have a LTE USB D-link modem that appears in usb resources but not in LTE interfaces or Ports.

My Routers:
RB952Ui-5ac2nD , Mikrotik 2011,...
My USB LTE Modem:
D-Link DWM-222 4G LTE USB Adapter (4G modem), Cat.4, PN : DWM-222

Please help me.
Thanks

----

Moderator note: supout file removed, shall only send this to mikrotik support or ticketing system!. Don't post this diagnosing info publicly as may lead to your license being compromised.
You do not have the required permissions to view the files attached to this post.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: 3g modem not showing in /ports

Thu Nov 25, 2021 11:59 pm

These USB modems often used to show up as "mass storage" (disk) containing the driver for Windows and required a mode switch command to start identifying themselves as modems. I'm not sure whether RouterOS handles this at all, and if it does, whether it has the mode switch commands for all the USB devices found in the wild. So if you can, use a linux PC to find out how the D-link thing behaves, and eventually find out how to switch to "modem only" mode permanently (as in "will show up as a modem straight away at next plug in").
 
mspissak
just joined
Posts: 4
Joined: Thu Nov 25, 2021 2:57 pm

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 7:46 pm

Thanks. Yes, the microtik identified the modem as a disk drive. How can this parameter be changed to identify it as a usb LTE modem.

Marcel
Last edited by mspissak on Sat Nov 27, 2021 8:29 pm, edited 1 time in total.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 8:26 pm

It depends on the type of the modem. Here's the home page of the usb_modeswitch project, the particular commands to be sent are model specific. But you really need a Linux machine for that, no way to change that from RouterOS. And the second issue is that not every USB modem can be set to remember the change if you disconnect it. I did that back in my OpenWRT days, years ago.
 
mspissak
just joined
Posts: 4
Joined: Thu Nov 25, 2021 2:57 pm

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 8:35 pm

Yes, that tool is part of my Ubuntu OS, but it only switches the mode on my PC, not permanently to microtik :(.
Thanks, Marcel
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 8:41 pm

You have to google for detailed information for that particular modem type. I was able to switch several Huawei 3G modems permanently, but never had a D-link one. Another possibility is that the usb_modeswitch actually is part of RouterOS but the parameters for this D-link have not been added yet, so opening a ticket at Mikrotik support may be the right thing to do.

Viem písať aj po slovensky, len toto fórum funguje ako knowledge base aj pre ľudí, ktorí o stredoeurópskych jazykoch ani nepočuli :)
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3447
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 8:53 pm

Maybe try v7rc7? It has a newer linux kernel that may know the right thing to do, which be the ROS version of usb_modeswitch. But not sure v7 help much with the D-Link DWM-222 since I think it only does QMI, not the MBIM or ECM supported for "LTE" on a Mikrotik. So it be a PPP Client device using data-channel etc.

You may be best to see what happens under Windows, if looks like a disk, install their drivers. It should be in modem mode, then be more likely to at show up as a port on a Mikrotik. There may be firmware update that be good to do as well – maybe a newer version can "remember" it's USB-ness and/or support ECM/MBIM for v7.

Quick google, suggest the D-Link DWM-222 modem mode should report USB device ID of "2001:7e35", and NOT "2001:ab00" which is a disk type.

Otherwise, you'd want to make sure you open a case with Mikrotik including a supout with the modem connected, perhaps rebooting before collecting the supout so the logs are cleaner.
 
mspissak
just joined
Posts: 4
Joined: Thu Nov 25, 2021 2:57 pm

Re: 3g modem not showing in /ports

Sat Nov 27, 2021 9:14 pm

I'm trying to install on Windows. I'll see if it switches to 7e35. Today, it is difficult to buy a suitable certified USB LTE modem that will only work as a modem. I wrote in support.

PS Sindy: Som rád, že tu je niekto, kto pozná stredoeuropske jazyky :) Na support som napísal.
 
radkoa
just joined
Posts: 1
Joined: Fri May 14, 2021 2:27 pm
Location: Czech Republic, Prague

Re: 3g modem not showing in /ports

Thu Jan 13, 2022 8:31 pm

Hi guys,

any news regarding this issue @mspissak? Have you seen this https://lukas.dzunko.sk/index.php/Mikro ... nk_DWM-222?
I wasn't 100% successful, but actually, I didn't spend much time playing with this yet.

I can get the modem info (playing around with: data-channel=0 info-channel=2):
/interface ppp-client info ppp-wan
       modem-status: call in progress
         pin-status: no password required
      functionality: full
       manufacturer: OK
              model: LTE WIRELESS MODEM
           revision: M1.1.5_EA32_AD620A
      serial-number: 35388006497xxxx
   current-operator: 23003 (cellid: 1b001, lac: fffe)
               imsi: 2300301xxxxxxxx
  access-technology: Evolved 3G (LTE)
    signal-strength: -63 dBm
   frame-error-rate: n/a

but the PPP Client connection is not working properly:
/interface ppp-client monitor ppp-wan
  status: waiting for packets...

I'm running on
/system routerboard> print
       routerboard: yes
        board-name: hEX S
             model: RB760iGS
     serial-number: D4500DXXXX
     firmware-type: mt7621L
  factory-firmware: 6.46.4
  current-firmware: 6.49.2
  upgrade-firmware: 6.49.2
Last edited by radkoa on Thu Jan 13, 2022 8:34 pm, edited 2 times in total.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3447
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: 3g modem not showing in /ports

Tue Jan 18, 2022 8:44 am

Hi guys,

any news regarding this issue @mspissak? Have you seen this https://lukas.dzunko.sk/index.php/Mikro ... nk_DWM-222?
I wasn't 100% successful, but actually, I didn't spend much time playing with this yet.

I can get the modem info (playing around with: data-channel=0 info-channel=2):
/interface ppp-client info ppp-wan
       modem-status: call in progress
         pin-status: no password required
      functionality: full
       manufacturer: OK
              model: LTE WIRELESS MODEM
           revision: M1.1.5_EA32_AD620A
      serial-number: 35388006497xxxx
   current-operator: 23003 (cellid: 1b001, lac: fffe)
               imsi: 2300301xxxxxxxx
  access-technology: Evolved 3G (LTE)
    signal-strength: -63 dBm
   frame-error-rate: n/a

but the PPP Client connection is not working properly:
/interface ppp-client monitor ppp-wan
  status: waiting for packets...

I'm running on
/system routerboard> print
       routerboard: yes
        board-name: hEX S
             model: RB760iGS
     serial-number: D4500DXXXX
     firmware-type: mt7621L
  factory-firmware: 6.46.4
  current-firmware: 6.49.2
  upgrade-firmware: 6.49.2
If that works, you should be able to use data-channel=2 as well. Since the info-channel works, that's good news: it communicating with the modem. But the data-channel is likely wrong - why it ain't getting packets. Now a side effect of using "channel 2" for BOTH data-channel and info-channel is you'd lose signal data...but if it connected using data-channel=2, you could try all the channels for info-channel to find out if your device has multiple AT channel to use.

Since it uses the ppp-client interface, it be limited to a max of 20-30Mb/s – in V7, you may have more options like MBIM and ECM, but likely require changing the DLink LTE modem's config in some unknown way.

Who is online

Users browsing this forum: Bing [Bot], DimoSK, drucko, GoogleOther [Bot], johnson73 and 94 guests