Community discussions

MikroTik App
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

RNDIS driver for USB 4G Modems

Sat Sep 22, 2012 10:06 pm

Hello!

I would like to know is it possible to connect USB modem with RNDIS driver (Ethernet over USB).
Most of modern LTE modem and some of WiMAX and 3G use RNDIS.

This is an easy way to support a lot of hardware, but I haven't found any mention at this forum.
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Sat Sep 22, 2012 11:19 pm

Just one adition.

5.12 added support for LTE modems (cdc ethernet type);
CDC is the same as RNDIS, so there is not questions about RNDIS support.
The question is it possible to configure some unknown or generic devices through the new /interface lte feature?
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: RNDIS driver for USB 4G Modems

Sun Sep 23, 2012 10:46 am

currently only few brands of LTE devices are supported:
Sierra MC70xx series (also some older MC87xx modems might recognize as LTE devices as they spport direct ip driver)
Bandrich C501 series
Yota LTE modem (LU 150)
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Sun Sep 23, 2012 12:15 pm

Uldis, thank you for reply!

I've sucessifully instal wimax modem Greenpacket UH350 with CDC/Ethernet on Zyxel Keenetic 4G, which officialy support only the same Yota LU150.

I suppose Mikrotik has full compatible CdcEthernet linux module, so the only problem is to make some kind of "generic CDC wraper" without device cpecific parameters. Obviosly it only needs to set or ignore some vendors usb code. If you will do this you may extend the list of supported 3G/4G device including smartfones end etc.

At this moment I am looking for a solution for Wimax+WiFi hotspot. Wimax vendors has a lack of WiFi functionality, but WiFi vendors doesn't support USB Wimax modems. Any way Mikrotik is the best solution for big hotspot networks, so we have to start with more expensive Wimax-Ethernet devices.

Unfortunatelly I have no any Mikrotik Board with USB socket right now to check is it workingt, but may send a log from Keenetic.
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: RNDIS driver for USB 4G Modems

Sun Sep 23, 2012 1:22 pm

Uldis, thank you for reply!

I've sucessifully instal wimax modem Greenpacket UH350 with CDC/Ethernet on Zyxel Keenetic 4G, which officialy support only the same Yota LU150.

I suppose Mikrotik has full compatible CdcEthernet linux module, so the only problem is to make some kind of "generic CDC wraper" without device cpecific parameters. Obviosly it only needs to set or ignore some vendors usb code. If you will do this you may extend the list of supported 3G/4G device including smartfones end etc.

At this moment I am looking for a solution for Wimax+WiFi hotspot. Wimax vendors has a lack of WiFi functionality, but WiFi vendors doesn't support USB Wimax modems. Any way Mikrotik is the best solution for big hotspot networks, so we have to start with more expensive Wimax-Ethernet devices.

Unfortunatelly I have no any Mikrotik Board with USB socket right now to check is it workingt, but may send a log from Keenetic.
Would be an interesting Option. UH350 works like an USB-Ethernetadapter. Tested with fedora it appears like a normal Ethernet Interface. Just started DHCP-Client and it worked. Plugging it to an Apple works too without config.
So it should be easy to make it work with Mikrotik.
But there is the DX-350 from Greenpacket which has WiMAX, Wlan and Phone Ports built in ...
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Mon Sep 24, 2012 5:30 pm

Ste, could you test UH350 with Mikrotik?
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: RNDIS driver for USB 4G Modems

Wed Sep 26, 2012 10:29 am

Ste, could you test UH350 with Mikrotik?
Tested it with a Omnitik ROS 5.20.

The Stick gets powered (red light) and shows up as USB-Resource:

[admin@MikroTik] > system resource usb print
# DEVICE VENDOR NAME SPEED
0 1:1 RB400 EHCI 480 M
1 1:3 MediaTek Inc. WiMAX USB Card 480 M

But that's all. No additional Ethernet appears. LED on Stick does not change to green.
So MT does not support USB-Ethernet Dongles at all?
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Thu Sep 27, 2012 1:21 am

Ste, try to play wit /interface lte:
http://forum.mikrotik.com/viewtopic.php ... te#p327381

cdc_ethernet doesn't appear as standart ethernet interface, in different distributive there are scripts which asign names like usb0 wan2 lte ( as in Mtk).

Also LED should change color automaticaly when the usb is connected, because device work as router independently. So check the device on PC connect to Microtik and try to enable lte. Then set dhcpclient.

Btw. could you give a remote access to you device to check what's going on?
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: RNDIS driver for USB 4G Modems

Thu Sep 27, 2012 4:03 am

Ste, try to play wit /interface lte:
http://forum.mikrotik.com/viewtopic.php ... te#p327381

cdc_ethernet doesn't appear as standart ethernet interface, in different distributive there are scripts which asign names like usb0 wan2 lte ( as in Mtk).

Also LED should change color automaticaly when the usb is connected, because device work as router independently. So check the device on PC connect to Microtik and try to enable lte. Then set dhcpclient.

Btw. could you give a remote access to you device to check what's going on?
I tried LTE. Did not work. On PC this device works immediately.
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Thu Sep 27, 2012 9:02 am

That's a pity. Most of opensourse distributives has added cdc Ethernet driver in general way, so yo can start almost any devices, but for some certian device it may require some additional script.

As in the case of 3G card we have to use OpenWRT, Chillispot and so where is quite easy to change 1-2 lines in some sript.
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Sat Oct 06, 2012 9:05 pm

Here is the list of packets for openwrt.
kmod-usb-core
kmod-usb-net
kmod-usb-net-asix
kmod-usb-net-cdc-ether
kmod-usb-net-rndis
kmod-usb2
kmod-ath9k
kmod-usb-ohci
So both rndis and cdc are needed to work.
Is it possible to create additional package like ups or gps?
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: RNDIS driver for USB 4G Modems

Sat Oct 06, 2012 9:31 pm

Here is the list of packets for openwrt.
kmod-usb-core
kmod-usb-net
kmod-usb-net-asix
kmod-usb-net-cdc-ether
kmod-usb-net-rndis
kmod-usb2
kmod-ath9k
kmod-usb-ohci
So both rndis and cdc are needed to work.
Is it possible to create additional package like ups or gps?
Better send a request to support.
 
freedomwifiau
just joined
Posts: 8
Joined: Thu Sep 26, 2013 3:53 am

Re: RNDIS driver for USB 4G Modems

Thu Sep 26, 2013 3:55 am

I realise this is an old thread, but does anyone know if this is working yet or planned to be added any time soon?

Cheers
Paul
 
facetheheat
just joined
Posts: 1
Joined: Tue Mar 04, 2014 11:39 pm

Re: RNDIS driver for USB 4G Modems

Tue Mar 04, 2014 11:44 pm

Cheers!
I have successfully connected 951G-2HnD with Greenpacket UH350 after upgrading RouterOS from 5.12 to 6.10
The modem works as lte1 interface. I've started dhcp-client on it & setup nat. That's all!
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: RNDIS driver for USB 4G Modems

Wed Mar 05, 2014 12:56 pm

Cheers!
I have successfully connected 951G-2HnD with Greenpacket UH350 after upgrading RouterOS from 5.12 to 6.10
The modem works as lte1 interface. I've started dhcp-client on it & setup nat. That's all!
Great! Tested with a 951Ui-2HnD. Works like a charm.
 
Begetan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: RNDIS driver for USB 4G Modems

Fri Mar 07, 2014 5:54 pm

Yes it works now. Thanks to Mikrotik guys!

Please be aware if your WIMAX provider uses MTU 1400. You have to set mtu=1400 for lte interface and apply fix for MSS issue if some sites aren't opened.
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn tcp-mss=1360-65535 action=change-mss new-mss=1360 disabled=no
 
rajib121
just joined
Posts: 1
Joined: Fri Feb 10, 2017 8:16 pm

Re: RNDIS driver for USB 4G Modems

Sat Feb 11, 2017 12:59 am

Need support for Huawei BM382 WiMax USB Modem. It rndis based router, tried above suggestions. but no interface is showing. Please help.

Who is online

Users browsing this forum: phascogale and 79 guests