Mikrotik usb modem Setting Hilink. Locking Band on Huawei and Other Modems

Huawei E3372S (M150-2) and Mikrotik modem

What to do if Mikrotik does not see 4G megaphone modem Huawei E3372S? The Huawei E3372S or M150-2 modem can work with Mikrotik directly, without the need to use additional equipment. In order for the network to use the network via Huawei E3372S as a modem and Mikrotik as a router, you need to reflash this very modem, as well as open the necessary intenses through a COM port. I have a modem without these manipulations with Mikrotik refused to work until the last. Also, on some modems it will not be possible to use the PPP mode, such an audit, stable, and no firmware cannot be fixed with any firmware. Checked, two identical modems, completely identical parameters, one works in PPP, the other. No, only as LTE, in Hilink mode. This will be discussed.

First we reflash the modem. If during the firmware the code is required (Flash Code) can be generated here. Online Huawei Unlock Code Calculator. We do this in advance, it is also necessary to download the firmware files (the firmware itself, a modified web-intese for convenience, as it displays the level of signal, drivers and terminal). Install the draver and proceed to the firmware.

Modem firmware

Then we unleash (the path without Russian beech (in general, this applies to all computers. Never make the path with Cyril or gaps, there will be fewer problems), ideally. C:/firm and C:/webui), first we sew the firmware itself, remove the modem, flash the web-integse.

mikrotik, modem, setting, hilink

Configuration of the modem ports

To make Mikrotik to determine the modem, we transfer it to Debug Mode from the Web-Inteakes 192.168.eight.one. inscription below Debug Mode. Open the terminal again, connect to the modem and enter the command.

For a greater understanding of what we are doing, I will give here what the modem throws out at the command at^setport =?

Settings Mikrotik

After we have connected the modem to Mikrotik, we should have LTE-integer. If he appears, then we are on the right track.

Now we create a DHCP client for a new integer. Our modem itself is a DHCP server in this case, and we must connect to it.

Now you need to configure masquerading, and you can use the modem.

This is what the already tuned modem looks like, as you can see. Traffic is going on, everything works.

LTE Client

Properties

Property Description
Allow-Roaming (Yes | No; Default: No) Enable Data Roaming for Connecting to Other Countries Data-Providers. Not all lte modems support this feature. SOME MODEMS, That Do Not Fully Support this Feature, Will Connect to the Network Butblish an Ip Data Connection with Royaming Set to No No No No No No no.
APN-Profiles (String; Default: Default) Which Apn Profile to Use for this Interface
Band (Integer List; Default: “”) Frequency Band Ussed in Communication LTE BANDS and BANDWIDTHS
Comment (String; Default: “”) Descriptive name of an item
Disabled (Yes | No; Default: Yes) CHETHER Interface is disabled or not. By Default it is disabled.
Mac-Address (Mac; Default: “”) Media Access Control Number of an Interface.
Modem-Init (String; Default: “”) Modem Init String (At Command that Will BE Executed at Modem Startup)
MTU (Integer; Default: 1500) Maximum Transmission Unit. Max Packet Size that LTE Interface Will Be Able to Send Without Packet Fragmentation.
NAME (String; Default: “”) Descriptive Name of the Interface.
Network-Mode (3G | GSM | LTE; Default: 3G, GSM, LTE) Select/Force Mode for LTE Interface to Operate with
Operator (Integer; Default: “”) Used to Lock Device to Specific Operator Full Plmber Ised for Lock Consisting from McCmnc. PLMN CODES
PIN (Integer; Default: “”) SIM Card’s Pin Code.

APN Profiles

All Network Related Settings are Mined Under Profiles, Starting from Routeros 6.41

Property Description
Add-default-Roote (Yes | No) CHETHER to Add Default Route to Forward All Traffic Over The LTE Interface.
APN (String) Service Provider’s Access Point Name
authentication (PAP | Chap | None; Default: None) Allowed Protocol To Use for Authentication
Default-Route-Distance (Integer; Default: 2) Sets Distance Value Applied to Auto Creed Default Route, IF Add-Default-Rote is also Selected. LTE Route by Default Is with Distance 2 to Prefer WireDes Over LTE
IP-Type (IPV4 | IPV4-IPV6 | IPV6; Default πŸ™‚ Requested PDN Type
IPV6-Interface (; Default πŸ™‚ Interface on Which to Advertise IPV6 Prefix
NAME (String; Default πŸ™‚ APN Profile Name
Number (Integer; Default πŸ™‚ APN Profile Number
Passthrough-Interface (; Default πŸ™‚ Interface to Passthrough IP Configuration (Activates Passthrough)
Passthrough-Mac (Mac; Default: Auto) If set to auto, The Will Learn Mac Ferm Figst Packet
Password (String; Default πŸ™‚ Password Ussed IF Authentication Protocols Active
USE-Peer-DNS (Yes | No; Default: Yes) If set to yes, USES DNS Recieved from LTE Interface
User (Integer) Username Ussed If Authentication Protocols Active

Scanner

It is Possible to Scan LTE Interface with /Interface LTE Scan Command

Property Description
Duration (Integer) Duration of Scan in Seconds
Freeze-Frame-Interval (Integer) Time Between Data Printout
Number (Integer) Interface Number or Name

User Info Command

IS Possible to Send Special “Info” Command to Lte Interface with /Interface LTE Info Command.

Properties (Up To 6.40)

Property Description
user-command (string; Default: “”) SEND A Command To LTE CARD To ExTRACT USEFUL Information, E.G. With At Commands
user-command-only (yes | no; Default πŸ™‚

User AT-Chat Command

It is Possible to Send User Defined “AT-Chat” Command to LTE Interface with /Interface LTE AT-CHATA Command.

You can also us “AT-Chat” Function in Scripts and Assign Command Output to Variable.

Quick Setup Example

Start with Network Settings. Add New Connection Parameters Under LTE APN Profile (Provided by Network Provider):

Select Newly Creed Profile for LTE Connection:

LTE Interface Shoup Appear with Running (R) Flag:

From routeros = 6.41 DHCP Client Is Added Automatically. Run it’s not adeded. Add a DHCP Client to LTE Interface Manually

IF REPURED, Add NAT MASKUREARADE FOR LTE Interface to get Internet to the local Network:

AFTER Interface IS Added, You Canj “Info” Command to See What Parameters Client Acquired (Parameters Returned Depends on LTE Hardware Device):

Quick Setup Example

Start with Network Settings. Add New Connection Parameters Under LTE APN Profile (Provided by Network Provider):

Select Newly Creed Profile for LTE Connection:

mikrotik, modem, setting, hilink

LTE Interface Shoup Appear with Running (R) Flag:

From routeros = 6.41 DHCP Client Is Added Automatically. Run it’s not adeded. Add a DHCP Client to LTE Interface Manually

IF REPURED, Add NAT MASKUREARADE FOR LTE Interface to get Internet to the local Network:

AFTER Interface IS Added, You Canj “Info” Command to See What Parameters Client Acquired (Parameters Returned Depends on LTE Hardware Device):

Passthrough Example

Starting from Routeros V6.41 SOME LTE Interface Support LTE PASSTHROUGH FEATURE WHERE THE IP Configuration Is Applied Directly to the Client Device. In this case modem firmware is responsight for the ip configuration and router is used only to configure modem settings. APN, Network Technologies and IP-Type. In this configuration The Router Will Not Get IP Configuration from the Modem. The LTE PASSTHROUGH MODEM CAN PASS BOTH IPV4 and IPV6 Addresses if IS Supported by Modem. SOME MODEMS SUpport Multiple Apn What You Can Pass the Traffic from Each Apn to A Specific Router Interface.

PASSTHROUGH WILL WORK FOR ONE HOST. Router Willia Automatical Detect Mac Address of the First Receved Packet and Use it Passthrough. If there Multiple Hosts on the Network Its Possible to Lock The Passthrough to A Specific Mac. On the Host On the Network Where The Passthrough Is Providing the IP A DHCP-Client Be Enabled on that Interface to. Note, That It Will Not Be Possible to Connect to the LTE Router Via Public LTE IP Address Or from the Host IS Used by the Passthrough. IS Suggested to Create Additional Connection from the LTE Router to the Host for Configuration Purposes. For Example Vlan Interface Between The LTE Router and Host.

To enable the passsthrough a new entry is read or the default entry shoup ​​be changed in the ‘/Interface LTE APN’ Menu

Examples of reports coming to email

The script published in this article is a simplified version of the script used by me for my tasks. In the script that I use, a more complex logic of reaction to the emerging problems with the Internet, but in this regard, it is more difficult and more complicated.

T.to. I do not use this script in my work, errors that I have not caught in the debugging process may come up in it. Write about them in the ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π², I will correct.

Andrey Torzhenov

In the professional field, I do everything related to IT. Basic specialization. VOIP and data transfer network. I try not to engage in Windows servers (but sometimes I have to) and 1C.

Mikrotik. Mobile Internet control script: 39 ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π²

Good afternoon! Tell me, with modems on Hilink will work?

Hilink Mikrotik cannot manage. He cannot get both signal levels from him, and break the connection and t.D. The only thing possible is to restart USB power if Mikrotik supports it.

This script does not support the Hilink modem, but it can be redone for it by greatly simplifying the script.

Added to the script support for Hilink modems.

But as I wrote earlier, Mikrotik should support the USB Power Reset: https: // wiki function.Mikrotik.COM/Wiki/Manual: USB_Features

Good afternoon! I use the Hilink modem. Installed the script, and he is in the log what he writes. There is no stick and stops the script. Tell me what to correct. 2 question: I set up mail ya.ru, added his data. And to what address will the warning come? On the same? It turns out will send to himself?

I figured out the script. I did not correct something. But it is true, the logs does not send the logs to my address, although I tried the test letter, it leaves. I checked this: on Hillink itself I turned off the network- I waited 10 minutes, nothing after connecting to the Internet came.

Pinging the specified nodes, if they are not available, then reboots the modem, again tests the availability of nodes, if they are available, then email is sent with a report.

In your case, you turned off the Internet yourself, the script is trying to test it, turn it off/turns on the modem, but the Internet does not appear it does not send a report, the Internet is not how it will send it?

For myself, I use a more complex script, which in your case, I would send a report to the mail. But in this script, this is not, so as not to complicate it.

And how then you can check the sending of alert? Not just test, but a full.fledged report?

Here is Scheduler. Everything is configured. Made your team through the terminal. If you have a group in a telegram, let’s say or a nickname where I can ask a couple of questions? It is not very convenient to write here.

For example, you can remove the lock by default (the script checks its presence).

But what if you add to this script forced sending the report after the appearance of the Internet?

Programming process is creative there will be inspiration. I will make.

I have a ready.made script that I use myself. It is implemented there, but it is more complicated and there is no HILINK support. It is also necessary to finish it.

Why do you need this report? The main task of the script is to automatically restore the Internet in the event of a modem hang, and not reports.

How to determine that I correctly installed the script? There are no errors in the log.

For example, as I wrote above, remove the default gateway. The script must determine this, restart the USB modem and send a report.

Thanks! Everything works correctly! At first, a mistake wrote in the logs of red. I figured out: in the parameter: log Warning “Wait 30 Sec to Modem Boot”; : Delay 30; : Delay 20; Instead of 20 put 40. Apparently tried to send a letter without a connection with the Internet. Increased to 40. everything flew! Thanks!

So the Hilink modem loads longer than with stick firmware.

Made changes to the script taking into account this feature. Increased the timer.

And in what line and what specifically changed? Very interesting.

Increased the modimal timer for loading the modem after USB Power Reset. Just as you did.

Hello! I use the stick modem as a backup channel. The main channel via cable is connected to Ether1. Tell me if the script will work with such initial data?

I should work, but I would have made separate routes through the modem for tested by the script of nodes.

T.e. If you kick you 8.eight.eight.8, then for this node, it is better to make a separate route through a USB modem.

Good afternoon, Andrey, faced the problem of the periodic dump of communication on one of the points. When they purchased equipment, they realized that microTs are not very good friends with USB modems and communication dumps are normal, the following question is interested in the following phenomenon. I did not understand about the work of the Hilink modem you write in the example of reports, the Huawei Model modem is used: E3372 We also use this modem, but Hilink is written below Huawei from this, I still did not understand whether the second script will work? Mikrotik 950g, as I understand it, that USB control is present in this router.

And another question is amateurish, how to add it, I have encountered little with microdes, as I understand it, in no way to insert these two scripts to the download tab?

Only one microtics model had problems with USB modems. I have a lot of where they are used and there are no problems. USB modems themselves is not a very reliable thing.

E3372 can be either with stick firmware or hilink. If you have a web integer, then you have a hilink modem. The second script will not work.

The script starts through the planner, not Netwatch (here in more detail how to put https: // 2keep.NET/3G-INTERNET-ConNENECTION-ON-MIKROTIK)

Maybe RB951G-2HND is true, we use these well, if the second script does not work, then from the first I should remove this part of the code or just to charm it? # Launch the ModemStatus script and get the modem and level of the EXECUTE network signal “/System Script Run ModemStatus”; : Delay 15;

And then the USB port power will simply be disconnected?

In the first, you need to make the initial settings. Type of modem and integse name.

Thank you very much, Andrey, for your help. How to determine the name of the modem did not quite understand. The name of the intense is clear here, Interfaces I see that it is displayed as LTE1, but the name is where to watch? If I have a Huawei modem with hilink firmware? Thanks in advance.

I saw about the type of modem, I apologize for inattention.

You do not need the name of the modem, but the name of the modem intese

Andrey, good afternoon, I’m trying to add a script, I understand that the cooked need to be removed, since when copying, the vinbox does not recognize Kirilitsa and get signs, but I removed when I only left the program, then when Run Script does not happen, nothing happens, Before that, I knocked out on the webmord modem the Internet forcibly.

ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π² can not be removed, the work of the script does not interfere. But yes, he does not understand Cyrillic (you can do to understand, but this is a long time).

It is better to start the script from the console, a team

And watch in logs and consoles what he writes, what errors.

Setting up the modem integration

In Mikrotik, the modem is visible as LTE InteEIS.

Mikrotik R11E-LTE modem. General settings

On this bookmark, we can firmly configure the type of network (1), network ranges (2) and select APN settings (3).

APN setup (receipt of IP by DHCP)

The modem receives an IP from a DHCP mobile operator, but this is not configured in the DHCP client Mikrotik’s, but in the APN settings (this solution is not the most obvious).

We go to the LTE laying menu, press the LTE APNS (1) button, select the desired APN (2) and the window with settings (3) opens.

It is here that both the default gateway and DNS and the other are configured.

Mikrotik Settings USB Modem for Internet access

In this article we will talk about how to configure Mikrotik USB modem for Internet access. Usually, this technology is used when there is no other possibility of connecting to the global network, or the LTE modem is used as a backup communication channel.

You can learn how to configure Mikrotik from scratch or systematize existing knowledge in an in.depth course in administering Mikrotik. The author of the course, the certified Mikrotik coach Dmitry Skoronov personally checks laboratory work and controls the progress of each of his students. Three times more information than in the vendor program of MTCNA, more than 20 hours of practice and access.

For this example, we will use the Mikrotik Hap AC Lite router with 4G modem Huawei E3372H and the Yota mobile operator.

Selection of USB modem for a microtics

Today there are a huge number of different modems on the market, but not all of them are able to work on the routers of this brand. For Mikrotik USB, the modem should be in the list of supported devices, which can be found on the official Wiki page: https: // wiki.Mikrotik.COM/Wiki/Manual: Peripherals.

Before you configure the Mikrotik USB modem, we will reset the router to a clean configuration. To do this, we will open the Routeros configuration via Winbox and perform actions:

After the device is rebooted, let’s go to the microtics through the MAC address.

Before proceeding to further configure the device, do not forget to install the administrator password.

The next step will open the InterFaces tab, then connect to the Mikrotik Yota Modem, inserting it into the device’s USB port:

After a while, we will see that a new LTE-Inteateis appeared.

If the microtics router has a 2.4 GHz Wi-Fi module, then we recommend connecting LTE Modem via a USB unit, which can increase the connection speed.

This is due to the fact that the frequencies of LTE and Wi-Fi 2.4 GHz are close in terms. By connecting a USB modem, we carry two transmitters from each other, which allows you to improve the speed of Internet connection.

To facilitate further configuration settings and make it more universal (for example, we want to add a second provider), we will create a new “Interface List”:

We proceed to setting up a DHCP client on LTE-Inteiis. Let’s open:

As we see on the Mikrotik Yota, the modem created a dynamic recording of a DHCP client by assigning a DNS server router and a default route that we cannot change. This may cause difficulties in further modernization of the Routeros configuration.

mikrotik, modem, setting, hilink

And create it again, indicating the necessary parameters manually:

Double pressing, open the connection properties and on the “Status” tab we see the current values:

  • IP Address: 192.168.eight.100/24 ​​- address assigned to the connection;
  • Gateway: 192.168.eight.1-IP address of the gateway, which we need to register for the route by default.

The next step we add records for the DNS server:

You can learn more about setting up domain names service from the article: DNS Server Settings on Mikrotik.

It remains to create a rule of broadcasting network addresses (NAT):

On the General tab, select the SRCNAT chain and indicate out. Interface List:

This is the setting of the Internet access for Mikrotik via USB Modem is completed.

Please note that with the current Routeros configuration, LAN network is not configured.

In order for computers inside the local network to receive network parameters for Internet access, you need:

I hope this article was useful. If there are questions, then write ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π².

You can learn how to configure Mikrotik from scratch or systematize existing knowledge in an in.depth course in administering Mikrotik. The author of the course, the certified Mikrotik coach Dmitry Skoronov personally checks laboratory work and controls the progress of each of his students. Three times more information than in the vendor program of MTCNA, more than 20 hours of practice and access.

The easiest option for reservating the Internet channel in Mikrotik

Turning to Google, you will find dozens of backup options and automatic switching. From the simplest configuration option to using complex scripts.

I bring to your attention the easiest option to configure reservation, the setting of which will take less than 5 minutes and does not require additional knowledge!

mikrotik, modem, setting, hilink

So, we open the IP-DHCP Client, looking for WAN, for configuration by default, this is Ether (or ETH1).

In the connection parameters, select “Add Default Route: Yes” (this parameter is set by defending), and set “Default Route Distance” = 1.

In short, this setting allows you to automatically create routes, and Distance = 1 assigns this connection the highest priority.

Next, open the modem connection parameters-ppp-out1. By defending, the “Add Default Route” option is also installed here, the “Default Route Distance” parameter set 2.

ΠœΠ°Ρ€ΡˆΡ€ΡƒΡ‚Ρ‹ ΠΌΠΎΠΆΠ½ΠΎ Π·Π°Π΄Π°Ρ‚ΡŒ ΠΈ Π²Ρ€ΡƒΡ‡Π½ΡƒΡŽ, Π² Ρ€Π°Π·Π΄Π΅Π»Π΅ IP – Routes, создав статичСскиС записи для Dst. Address 0.0.0.0/0 ΠΈ ΡΠΎΠΎΡ‚Π²Π΅Ρ‚ΡΡ‚Π²ΡƒΡŽΡ‰Π΅Π³ΠΎ шлюза для ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ. НовыС вСрсии RouterOS ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡŽΡ‚ ΡƒΠΊΠ°Π·Ρ‹Π²Π°Ρ‚ΡŒ имя интССйса, вмСсто IP, Ρ‡Ρ‚ΠΎ ΠΎΡ‡Π΅Π½ΡŒ ΡƒΠ΄ΠΎΠ±Π½ΠΎ. Π‘Π°ΠΌΠΎ собой, Π² этом случаС Π½ΡƒΠΆΠ½ΠΎ ΠΏΡ€Π΅Π΄Π²Π°Ρ€ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ ΠΎΡ‚ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ автоматичСскоС Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ€ΡˆΡ€ΡƒΡ‚ΠΎΠ² (Add Default Route) для ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚-ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ. Π’ Ρ€Π°ΠΌΠΊΠ°Ρ… Π΄Π°Π½Π½ΠΎΠΉ ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΈ, ΠΌΡ‹ опустим статичСскиС ΠΌΠ°Ρ€ΡˆΡ€ΡƒΡ‚Ρ‹.

How it works?

In a staffing situation, all traffic goes along the first route, through the main connection, t.to. He has the highest priority. 1.

As soon as you turn off the cable, the gateway of the main provider will become inaccessible, and all the traffic will go along the second route with a lower priority (2).

As soon as the gateway becomes affordable, everything will be restored and traffic will go through the main provider.

Everything is simple. But this option also has a disadvantage. switching to the backup channel will not occur if the gateway is available and there is no Internet. This happens quite often, the local network works, the IP is assigned, the gateway is available, but there is no Internet.

How to implement an automatic switching of the provider in the absence of access to Internet resources? We will talk about this in the second part of the publication “Advanced Failover on Mikrotik”.

In this article, we will consider how to configure Mikrotik HAP for working with the modem Megaphone M150-2. This instruction is suitable for all Mikrotik devices that have a USB port. Firmware for USB modems is of two varieties. Hilink and Stick. We have a Stick option, if you have a Hilink modem, then the instructions will differ.

If you are looking for an understandable and convenient source of information on microtics, then here it is: the course “Setting up equipment Mikrotik”. This is a video teacher where “without water” collected all the basic information on working with Mikrotik and Routeros. For beginners will become direct guides, experienced engineers will be able to refresh and streamline knowledge. 162 video tutorials and 45 laboratory works based on the Vendora MTCNA program. The first 25 lessons can be ordered for free On the page page.

To determine whether this instruction is suitable for you, connect the USB modem to Mikrotik if the STICK modem in the Interfaes section is defined as PPP-out1, this is our option, and HILINK is defined as LTE Inte Wee.

If your modem has a stick firmware, then after you install it in PC and install the drivers, then in the device dispatcher it will be determined by you as a modem (in the phone number and modems), as well as several COM ports. Plus, in order to get on the Internet, you will have to run a special software called Dashboard (Dashboard).

If you have hilink firmware, then after installing the modem we have defined as a virtual network card and you do not need to install the software for connecting to the Internet. The modem sets the Internet connection automatically, and to control the modem settings there is a Web-intese.

In this article we will consider the M150-2 megaphone modem with stick firmware.

Connects to our Mikrotik using Winbox.

A list of standard settings will be displayed, if we click OK, they are saved, but we will configure the device from scratch, so we press Remove Configuration, after which the device will be rebooted.

Open Winbox again and go to the Neighbors tab, the IP address of the device has changed to 0.0.0.0, so we select the Mac Adress of our device and click Connect.

Then Winbox will open, but already without settings.

Initially, all ports are equivalent and anyone can be configured to Uplink, so we will make a distinction who will look where and what to answer for.

We go to the Bridge tab

Mikrotik внСдряСм Π² Тизнь. ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π°Π΅ΠΌ USB ΠΌΠΎΠ΄Π΅ΠΌΡ‹

The Bridge creation window will appear, the name can be changed, we leave and click OK.

We go to the Ports tab and add all the ports except the first (leave it under WAN), as well as the wireless Wlan1 integration.

The number of ETHER integers depends on the router model.

After adding ports to the bridge, they will transparently pass traffic through themselves and all connected devices will be able to exchange data among themselves.

Go to IP. Addresses and click

In the Address field we drive an IP address of our router and a subnet mask 24. which means subnet 255.255.255.0, in our case 192.168.0.1/24 and select the previously created Bridge1 and click OK.

After that, the device will be available at 192.168.0.one

So that the router can work as a DNS server and respond to customer computers’ requests, let’s go to IP-DNS

DNS server automatically, which Megafon provides, appeared in the Dynamic Servers field. We also put the Allow Remote Requests box and click OK.

In order for the connected devices to receive network settings automatically from the router, it is necessary to configure the DHCP server on it. We go to IP. DHCP Server and click DHCP Setup. The integration select the previously created Bridge1 and click Next.

Now you need to choose the address space from which the IP address will be issued. The default indicates the subnet, which includes the IP address of the router. Click Next.

Megaphone M150-2 (Huawei E3372S) and Mikrotik

If you insert the stock megaphone M150-2 into the router, then nothing will happen (UPD with firmware 6.thirty.2 already determined stick firmware, see. ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π²). The fact is that Huawei E3372S works in two versions of Stick and Hilink firmware. The firmware is completely interchangeable. To work with a microthic, you need to reflash the modem to hilink. In this mode, the modem will be defined as an LTE integration and have its own router.

ATTENTION! If you doubt your actions, then it is better to refuse the procedure or trust the procedure for familiar specialists. Strictly perform the sequence and do not miss steps. This procedure has been done repeatedly and 100% working on the stock firmware of the megaphone.

To switch to hilink, the firmware is necessary first (!) Download by:

    – This is the update of Dashboard (firmware of the modem) to version 3.5; for IMEI your modem; ;. hilink firmware (not branded);. Web Inte Web Hilink Firmware (not a bended);

Using the terminal, we connect to the COM of the modem port and perform the unlock command:

Now we remove the SIM card and SD.

Record IMEI modem. This can (most likely) will need for firmware. It can be taken from information about the device in the operator (usually the “Diagnostics” section).

We remove the operator (only the Megafon shell). This is necessary so that all kinds of car launches do not occupy the ports of the modem when firmware. We leave the drivers that the modem is normally determined in the device dispatcher.

Install Dashboard 3.5. This is the firmware precisely the modem. Not a software to control the modem.

Install MobileBrserv. He does it quietly, but if you re.start the service, then he asks “Reinstall?””.

wirelessinfo mikrotik huawei1 4g

Install not branded firmware (E3372S-153TCPU). Flash Code can be requested here, which is calculated on the base of IMEI (was calculated at the preparation stage).

If everything went successfully, then we flash the webmo (E3372Swebui).

If everything was done in order and carefully, then the modem will be defined as a network card with a network of 192.168.eight.0/24, where the modem itself will be 192.168.eight.one.

Having connected to the modem http: // 192.168.eight.1/.

All you can stick a modem into Mikrotik. There it will be discovered as an LTE Inte Weight:

Next, add the DHCP-Client for this integer:

After the client is created (Apply/OK), he must get IP:

Next, we set up the masquerading on this integration:

The modem will also be available by IP 192.168.eight.one. You can also monitor SMS there.

None of the operators gives white/public IP, so DDNS setting does not make sense. To have access to the microtics, you will have to connect it via PPTP (for example) to an external network through which to organize routing.

37 ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ ΠΈ мнСния Π²Π»Π°Π΄Π΅Π»ΡŒΡ†Π΅Π²

Stock Sabzh started on the ros 6.29.1, connected as usual-as a modem, a PPP connection was created. And with the computer it works as a network card.

I earned normally as Evolved 3G (LTE). I pumped more than 30 megabits in both directions.

But what is straining, that with such traffic, the loading of the CPU was around 30% or more, that is, the theoretically cannot be served hypothetical 150 MB (and you still usually need to keep it with the VPN connect).

True, in the profilere, for some reason, the main absorber of the resource was Ethernet and a little Firewall.

In Hilink mode with LTE-integer, downloading is like or below/above? If the computer works as an Ethernet Intease, whether it will be sufficient to turn off the definition in the modem as a modem itself (turn on Hilink, if it is not in the “first stage” so that the LTE-intese is turned on? Or in ROS there is no necessary drivers for this (this network)?

The news is great that the modem starts out of the box. Inside the modem has its own router that pulls the declared speeds. I do not think that it is multiple to use the microtics processor to maintain the PPTP channel. The processor loads on the loading of content with Khaylinka can test in a couple of weeks, but theoretically, they will definitely be lower than with a stimulating firmware.

The modem is not mine, my task is to set up this business faster. And since my last post there was not a single rupture, so I bow to the rule “works. do not touch”.

But if you make such a comparison, I think it will be interesting not only to me.

Theoretically, loading from the PPP channel should not be high, it is not encrypted. Encrypts a modem when it transfers to the air. But to observe this device in the form of a router is much more interesting (at least due to normal control intenses).

In general, a funny situation when the “modem” exceeds the CPU performance router.

I’m not in that sense. Of course, a microtics in 99% will be more powerful than the USB stick. Just a USB modem is sharpened to perform its functions and unloads the processor of the microatist. It turns out 2 processor system. And if we all hang on a microtics, it turns out the modem philonite.

First we need to connect the modem and get the Internet to our Mikrotik.

  • We insert the modem into USB
  • We go to Mikrotik and go to the Interface menu
  • We find the name PPP-out1 in the list (regular 3G/4G modems) or LTE1 (e.g. Yota modem)
  • We go to our new integration and click on the right. Enable button
  • ! Sometimes an integration, after connecting a modem, becomes Enable itself, then we just miss this item
  • ! Some operators/modems need this item, and some do without it themselves, I assume that it depends on the modem, for example, the modems from MTS do not require this item, but Yota does not work without this parameter
  • ! If suddenly, for some reason, there was no connection, then we go back into our integer and check the line “APN”, if suddenly there is empty, then indicate for example “Internet.Yota “
  • ! Again, some modems are not required by APN, perhaps this parameter is processed on the modem itself (the picture has two working intenses, on the left of LTE from Yota, and on the right is the modem from MTS)
  • ! I recommend checking this item using Tools Ping at 8.eight.eight.eight
  • We go to the IP Firewall Nat tab
  • Create a new rule, select Chain = SRCNAT and OUT Interface = PPP.out1 (or LTE1)
  • We go to the Action tab and select Masquarade.
  • Press Apply and OK. Now our entire network turns out the Internet.