{"id":171,"date":"2024-11-05T16:55:30","date_gmt":"2024-11-05T09:55:30","guid":{"rendered":"https:\/\/www.eatmaja.co.id\/eka\/?p=171"},"modified":"2024-11-05T16:55:30","modified_gmt":"2024-11-05T09:55:30","slug":"manualinterface-lte","status":"publish","type":"post","link":"https:\/\/www.eatmaja.co.id\/eka\/2024\/11\/05\/manualinterface-lte\/","title":{"rendered":"Manual:Interface\/LTE"},"content":{"rendered":"<h1 id=\"firstHeading\" class=\"firstHeading mw-first-heading\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE\"><small><b>Applies to RouterOS:<\/b>\u00a0<strong>v6+,v5.12+<\/strong><\/small><\/a><\/h1>\n<div id=\"bodyContent\" class=\"vector-body\">\n<div id=\"mw-content-text\" class=\"mw-body-content\">\n<div class=\"mw-content-ltr mw-parser-output\" dir=\"ltr\" lang=\"en\">\n<div id=\"shbox\">\n<p><b>Warning:<\/b>\u00a0This manual is moved to\u00a0<a style=\"text-decoration: underline;\" class=\"external free\" href=\"https:\/\/help.mikrotik.com\/docs\/display\/ROS\/LTE\" rel=\"nofollow\">https:\/\/help.mikrotik.com\/docs\/display\/ROS\/LTE<\/a><\/p>\n<\/div>\n<div id=\"toc\" class=\"toc\" role=\"navigation\" aria-labelledby=\"mw-toc-heading\">\n<div class=\"toctitle\" dir=\"ltr\" lang=\"en\">\n<h2 id=\"mw-toc-heading\">Contents<\/h2>\n<p><label class=\"toctogglelabel\" for=\"toctogglecheckbox\"><\/label><\/div>\n<ul>\n<li class=\"toclevel-1 tocsection-1\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Summary\"><span class=\"tocnumber\">1<\/span><span class=\"toctext\">Summary<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#LTE_Client\"><span class=\"tocnumber\">2<\/span><span class=\"toctext\">LTE Client<\/span><\/a>\n<ul>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Properties\"><span class=\"tocnumber\">2.1<\/span><span class=\"toctext\">Properties<\/span><\/a><\/li>\n<li class=\"toclevel-2 tocsection-3\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#APN_profiles\"><span class=\"tocnumber\">2.2<\/span><span class=\"toctext\">APN profiles<\/span><\/a><\/li>\n<li class=\"toclevel-2 tocsection-4\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Scanner\"><span class=\"tocnumber\">2.3<\/span><span class=\"toctext\">Scanner<\/span><\/a><\/li>\n<li class=\"toclevel-2 tocsection-5\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#User_Info_command\"><span class=\"tocnumber\">2.4<\/span><span class=\"toctext\">User Info command<\/span><\/a>\n<ul>\n<li class=\"toclevel-3\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Properties_(Up_to_6.40)\"><span class=\"tocnumber\">2.4.1<\/span><span class=\"toctext\">Properties (Up to 6.40)<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"toclevel-2 tocsection-6\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#User_at-chat_command\"><span class=\"tocnumber\">2.5<\/span><span class=\"toctext\">User at-chat command<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"toclevel-1 tocsection-7\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Quick_setup_example\"><span class=\"tocnumber\">3<\/span><span class=\"toctext\">Quick setup example<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-8\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Passthrough_Example\"><span class=\"tocnumber\">4<\/span><span class=\"toctext\">Passthrough Example<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-9\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Dual_SIM\"><span class=\"tocnumber\">5<\/span><span class=\"toctext\">Dual SIM<\/span><\/a>\n<ul>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Usage_Example:\"><span class=\"tocnumber\">5.1<\/span><span class=\"toctext\">Usage Example:<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"toclevel-1 tocsection-10\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Tips_and_Tricks\"><span class=\"tocnumber\">6<\/span><span class=\"toctext\">Tips and Tricks<\/span><\/a>\n<ul>\n<li class=\"toclevel-2 tocsection-11\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Find_device_location_using_Cell_information\"><span class=\"tocnumber\">6.1<\/span><span class=\"toctext\">Find device location using Cell information<\/span><\/a><\/li>\n<li class=\"toclevel-2 tocsection-12\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Using_Cell_lock\"><span class=\"tocnumber\">6.2<\/span><span class=\"toctext\">Using Cell lock<\/span><\/a><\/li>\n<li class=\"toclevel-2 tocsection-13\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Cell_Monitor\"><span class=\"tocnumber\">6.3<\/span><span class=\"toctext\">Cell Monitor<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"toclevel-1 tocsection-14\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Troubleshooting\"><span class=\"tocnumber\">7<\/span><span class=\"toctext\">Troubleshooting<\/span><\/a>\n<ul>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Locking_band_on_Huawei_and_other_modems\"><span class=\"tocnumber\">7.1<\/span><span class=\"toctext\">Locking band on Huawei and other modems<\/span><\/a><\/li>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#mPCIe_modems_with_RB9xx_series_devices\"><span class=\"tocnumber\">7.2<\/span><span class=\"toctext\">mPCIe modems with RB9xx series devices<\/span><\/a><\/li>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Modem_firmware_upgrade\"><span class=\"tocnumber\">7.3<\/span><span class=\"toctext\">Modem firmware upgrade<\/span><\/a><\/li>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Avoiding_tethering_speed_throttling\"><span class=\"tocnumber\">7.4<\/span><span class=\"toctext\">Avoiding tethering speed throttling<\/span><\/a><\/li>\n<li class=\"toclevel-2\"><a style=\"text-decoration: underline;\" href=\"https:\/\/wiki.mikrotik.com\/Manual:Interface\/LTE#Unlocking_SIM_card_after_multiple_wrong_PIN_code_attempts\"><span class=\"tocnumber\">7.5<\/span><span class=\"toctext\">Unlocking SIM card after multiple wrong PIN code attempts<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"manual\">\n<h2><span id=\"Summary\" class=\"mw-headline\">Summary<\/span><\/h2>\n<p id=\"shbox\"><b>Package:<\/b>\u00a0<code>system<\/code><\/p>\n<p>Support for Direct-IP mode type cards only. MBIM support is available in RouterOS v7 releases and MBIM driver is loaded automatically. If modem is not recognized in RouterOS v6 &#8211; Please test it in v7 releases before asking for support in RouterOS v6.<\/p>\n<p>To enable access via a PPP interface instead of a LTE Interface, change direct IP mode with\u00a0<code>\/port firmware set ignore-directip-modem=yes<\/code> command and a reboot. Note that using PPP emulation mode you may not get the same throughput speeds as using the LTE interface emulation type.<\/p>\n<div id=\"shbox\">\n<p><b>Warning:<\/b>\u00a0In RouterOS v7 ignore-direct-modem parameter is moved under\u00a0<code>\/system routerboard modem<\/code>\u00a0menu<\/p>\n<\/div>\n<h2><span id=\"LTE_Client\" class=\"mw-headline\">LTE Client<\/span><\/h2>\n<p id=\"shbox\"><b>Sub-menu:<\/b>\u00a0<code>\/interface lte<\/code><\/p>\n<h3><span id=\"Properties\" class=\"mw-headline\">Properties<\/span><\/h3>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>allow-roaming<\/b><\/var>\u00a0(<em>yes | no<\/em>; Default:\u00a0<b>no<\/b>)<\/td>\n<td>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 but will not establish an IP data connection with\u00a0<var>allow-roaming<\/var>\u00a0set to no.<\/td>\n<\/tr>\n<tr>\n<td><var><b>apn-profiles<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0<b>default<\/b>)<\/td>\n<td>Which APN profile to use for this interface<\/td>\n<\/tr>\n<tr>\n<td><var><b>band<\/b><\/var>\u00a0(<em>integer list<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>Frequency band used in communication\u00a0<code><a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/LTE_frequency_bands#Frequency_bands_and_channel_bandwidths\" rel=\"nofollow\">LTE Bands and bandwidths<\/a><\/code><\/td>\n<\/tr>\n<tr>\n<td><var><b>comment<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>Descriptive name of an item<\/td>\n<\/tr>\n<tr>\n<td><var><b>disabled<\/b><\/var>\u00a0(<em>yes | no<\/em>; Default:\u00a0<b>yes<\/b>)<\/td>\n<td>Whether interface is disabled or not. By default it is disabled.<\/td>\n<\/tr>\n<tr>\n<td><var><b>mac-address<\/b><\/var>\u00a0(<em>MAC<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>Media Access Control number of an interface.<\/td>\n<\/tr>\n<tr>\n<td><var><b>modem-init<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>Modem init string (AT command that will be executed at modem startup)<\/td>\n<\/tr>\n<tr>\n<td><var><b>mtu<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0<b>1500<\/b>)<\/td>\n<td>Maximum Transmission Unit. Max packet size that LTE interface will be able to send without packet fragmentation.<\/td>\n<\/tr>\n<tr>\n<td><var><b>name<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>Descriptive name of the interface.<\/td>\n<\/tr>\n<tr>\n<td><var><b>network-mode<\/b><\/var>\u00a0(<em>3g | gsm | lte<\/em>; Default:\u00a0<b>3g,gsm,lte<\/b>)<\/td>\n<td>Select\/force mode for LTE interface to operate with<\/td>\n<\/tr>\n<tr>\n<td><var><b>operator<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>used to lock device to specific operator full PLMN number is used for lock consisting from MCC+MNC.\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Public_land_mobile_network\" rel=\"nofollow\">PLMN codes<\/a><\/td>\n<\/tr>\n<tr>\n<td><var><b>pin<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>SIM Card&#8217;s PIN code.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"APN_profiles\" class=\"mw-headline\">APN profiles<\/span><\/h3>\n<p>All network related settings are moved under profiles, starting from RouterOS 6.41<\/p>\n<p id=\"shbox\"><b>Sub-menu:<\/b>\u00a0<code>\/interface lte apn<\/code><\/p>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>add-default-route<\/b><\/var>\u00a0(<em>yes | no<\/em>)<\/td>\n<td>Whether to add default route to forward all traffic over the LTE interface.<\/td>\n<\/tr>\n<tr>\n<td><var><b>apn<\/b><\/var>\u00a0(<em>string<\/em>)<\/td>\n<td>Service Provider&#8217;s Access Point Name<\/td>\n<\/tr>\n<tr>\n<td><var><b>authentication<\/b><\/var>\u00a0(<em>pap | chap | none<\/em>; Default:\u00a0<b>none<\/b>)<\/td>\n<td>Allowed protocol to use for authentication<\/td>\n<\/tr>\n<tr>\n<td><var><b>default-route-distance<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0<b>2<\/b>)<\/td>\n<td>Sets distance value applied to auto created default route, if\u00a0<var>add-default-route<\/var>\u00a0is also selected. LTE route by default is with distance 2 to prefer wired routes over LTE<\/td>\n<\/tr>\n<tr>\n<td><var><b>ip-type<\/b><\/var>\u00a0(<em>ipv4 | ipv4-ipv6 | ipv6<\/em>; Default:\u00a0)<\/td>\n<td>Requested PDN type<\/td>\n<\/tr>\n<tr>\n<td><var><b>ipv6-interface<\/b><\/var>\u00a0(; Default:\u00a0)<\/td>\n<td>Interface on which to advertise IPv6 prefix<\/td>\n<\/tr>\n<tr>\n<td><var><b>name<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0)<\/td>\n<td>APN profile name<\/td>\n<\/tr>\n<tr>\n<td><var><b>number<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>APN profile number<\/td>\n<\/tr>\n<tr>\n<td><var><b>passthrough-interface<\/b><\/var>\u00a0(; Default:\u00a0)<\/td>\n<td>Interface to passthrough IP configuration (activates passthrough)<\/td>\n<\/tr>\n<tr>\n<td><var><b>passthrough-mac<\/b><\/var>\u00a0(<em>MAC<\/em>; Default:\u00a0<b>auto<\/b>)<\/td>\n<td>If set to auto, then will learn MAC from first packet<\/td>\n<\/tr>\n<tr>\n<td><var><b>password<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0)<\/td>\n<td>Password used if any of the authentication protocols are active<\/td>\n<\/tr>\n<tr>\n<td><var><b>use-peer-dns<\/b><\/var>\u00a0(<em>yes | no<\/em>; Default:\u00a0<b>yes<\/b>)<\/td>\n<td>If set to yes, uses DNS recieved from LTE interface<\/td>\n<\/tr>\n<tr>\n<td><var><b>user<\/b><\/var>\u00a0(<em>integer<\/em>)<\/td>\n<td>Username used if any of the authentication protocols are active<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"Scanner\" class=\"mw-headline\">Scanner<\/span><\/h3>\n<p>It is possible to scan LTE interfaces with\u00a0<code>\/interface lte scan<\/code>\u00a0command<\/p>\n<p>Available read only properties:<\/p>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>duration<\/b><\/var>\u00a0(<em>integer<\/em>)<\/td>\n<td>Duration of scan in seconds<\/td>\n<\/tr>\n<tr>\n<td><var><b>freeze-frame-interval<\/b><\/var>\u00a0(<em>integer<\/em>)<\/td>\n<td>time between data printout<\/td>\n<\/tr>\n<tr>\n<td><var><b>number<\/b><\/var>\u00a0(<em>integer<\/em>)<\/td>\n<td>Interface number or name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"User_Info_command\" class=\"mw-headline\">User Info command<\/span><\/h3>\n<p>It is possible to send special &#8220;info&#8221; command to LTE interface with\u00a0<code>\/interface lte info<\/code>\u00a0command.<\/p>\n<h4><span id=\"Properties_(Up_to_6.40)\" class=\"mw-headline\">Properties (Up to 6.40)<\/span><\/h4>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>user-command<\/b><\/var>\u00a0(<em>string<\/em>; Default:\u00a0<b>&#8220;&#8221;<\/b>)<\/td>\n<td>send a command to LTE card to extract useful information, e.g. with AT commands<\/td>\n<\/tr>\n<tr>\n<td><var><b>user-command-only<\/b><\/var>\u00a0(<em>yes | no<\/em>; Default:\u00a0)<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"User_at-chat_command\" class=\"mw-headline\">User at-chat command<\/span><\/h3>\n<p>It is possible to send user defined &#8220;at-chat&#8221; command to LTE interface with\u00a0<code>\/interface lte at-chat<\/code>\u00a0command.<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte at-chat lte1 input=\"AT*mrd_imei\\?\"                         \n  output: *MRD_IMEI:356159060388208\n\nOK\n<\/pre>\n<p>You can also use &#8220;at-chat&#8221; function in scripts and assign command output to variable.<\/p>\n<pre>[admin@MikroTik] &gt; :global \"lte_command\" [\/interface lte at-chat lte1 input=\"AT*mrd_imei\\?\" as-value ] \n[admin@MikroTik] &gt; :put $\"lte_command\"\noutput=*MRD_IMEI:356159060388208\n\nOK\n<\/pre>\n<h2><span id=\"Quick_setup_example\" class=\"mw-headline\">Quick setup example<\/span><\/h2>\n<p>Start with network settings &#8211;<\/p>\n<div id=\"shbox\">\n<p><b>Warning:<\/b>\u00a0This guide is for RouterOS versions starting from 6.41<\/p>\n<\/div>\n<p>Start with network settings &#8211; Add new connection parameters under LTE apn profile (provided by network provider):<\/p>\n<pre>\/interface lte apn\nadd name=profile1 apn=phoneprovider.net authentication=chap password=web user=web\n<\/pre>\n<p>Select newly created profile for LTE connection:<\/p>\n<pre>\/interface lte set [find] apn-profiles=profile1\n<\/pre>\n<p>LTE interface should appear with running (R) flag:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte print \nFlags: X - disabled, R - running \n 0  R name=\"lte1\" mtu=1500 mac-address=AA:AA:AA:AA:AA:AA \n<\/pre>\n<p>From RouterOS=&gt;6.41 DHCP client is added automatically. If it&#8217;s not added &#8211; add a DHCP Client to LTE Interface manually:<\/p>\n<pre>\/ip dhcp-client\nadd default-route-distance=1 disabled=no interface=lte1\n<\/pre>\n<p>If required, add NAT Masquerade for LTE Interface to get internet to the local network:<\/p>\n<pre>\/ip firewall nat\nadd action=masquerade chain=srcnat out-interface=lte1\n<\/pre>\n<p>After interface is added, you can use &#8220;info&#8221; command to see what parameters client acquired (parameters returned depends on LTE hardware device):<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte info lte1 once \nstatus: call in progress\npin-status: no password required\nfunctionality: full\nmanufacturer: Huawei Technologies Co., Ltd.\nmodel: ME909u-521\nrevision: 12.631.07.01.00\ncurrent-operator: vodafone ES\ncurrent-cellid: 44436007\naccess-technology: Evolved 3G (LTE)\nsignal-strengh: -79 dBm\nframe-error-rate: n\/a\nearfcn: n\/a\nimei: 860461024123456\nimsi: 234012555034981\nuicc: n\/a\nrssi: -79dBm\nrsrp: -109dBm\nrsrq: -13dB\nsinr: -1dB\n[admin@MikroTik] &gt;\n<\/pre>\n<h2><span id=\"Passthrough_Example\" class=\"mw-headline\">Passthrough Example<\/span><\/h2>\n<p>Starting from RouterOS v6.41 some LTE interfaces support LTE Passthrough feature where the IP configuration is applied directly to the client device. In this case modem firmware is responsible for the IP configuration and router is used only to configure modem settings &#8211; 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 that is supported by modem. Some modems support multiple APN where you can pass the traffic from each APN to a specific router interface.<\/p>\n<p>Passthrough will only work for one host. Router will automatically detect MAC address of the first received packet and use it for the Passthrough. If there are multiple hosts on the network it is 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 should 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 which is used by the passthrough. It 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.<\/p>\n<p>To enable the Passthrough a new entry is required or the default entry should be changed in the &#8216;\/interface lte apn&#8217; menu<\/p>\n<div id=\"shbox\">\n<p><b>Warning:<\/b>\u00a0Passthrough is not supported by all chipsets.<\/p>\n<\/div>\n<p>Examples.<\/p>\n<p>To configure the Passthrough on ether1:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte apn add apn=apn1 passthrough-interface=ether1\n[admin@MikroTik] &gt; \/interface lte set lte1 apn-profiles=apn1\n<\/pre>\n<p>To configure the Passthrough on ether1 host 00:0C:42:03:06:AB:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte apn add apn=apn1 passthrough-interface=ether1 passthrough-mac=00:0C:42:03:06:AB\n[admin@MikroTik] &gt; \/interface lte set lte1 apn-profiles=apn1\n<\/pre>\n<p>To configure multiple APNs on ether1 and ether2:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte apn add apn=apn1 passthrough-interface=ether1\n[admin@MikroTik] &gt; \/interface lte apn add apn=apn2 passthrough-interface=ether2\n[admin@MikroTik] &gt; \/interface lte set lte1 apn-profiles=apn1,apn2\n<\/pre>\n<p>To configure multiple APNs with the same APN for different interfaces:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte apn add name=interface1 apn=apn1\n[admin@MikroTik] &gt; \/interface lte apn add name=interface2 apn=apn1 passthrough-interface=ether1\n[admin@MikroTik] &gt; \/interface lte set lte1 apn-profiles=interface1\n[admin@MikroTik] &gt; \/interface lte set lte2 apn-profiles=interface2\n<\/pre>\n<h2><span id=\"Dual_SIM\" class=\"mw-headline\">Dual SIM<\/span><\/h2>\n<div id=\"shbox\">\n<p><b>Note:<\/b>\u00a0The command for sim slot selection changes in v6.45.1 and again in v7. Some device models like SXT, have SIM slots named &#8220;a&#8221; and &#8220;b&#8221; instead of &#8220;up&#8221; and down&#8221;<\/p>\n<\/div>\n<p>For some boards with dual SIM slots connected to the same modem slot (like LtAP mini, ltAP, SXT) it is possible to alternate between these SIM slots.<\/p>\n<p>Command for pre 6.45.1:<\/p>\n<pre>\/system routerboard sim set sim-slot=down\n<\/pre>\n<p>Command after 6.45.1:<\/p>\n<pre>\/system routerboard modem set sim-slot=down\n<\/pre>\n<p>Command in RouterOS v7 version:<\/p>\n<pre>\/interface lte settings set sim-slot=down\n<\/pre>\n<h3><span id=\"Usage_Example:\" class=\"mw-headline\">Usage Example:<\/span><\/h3>\n<p>Follow this link &#8211;\u00a0<a style=\"text-decoration: underline;\" title=\"Dual SIM Application\" href=\"https:\/\/wiki.mikrotik.com\/Dual_SIM_Application\">Dual SIM Application<\/a>, to see examples of how to change SIM slot based on roaming status and in case the interface status is down with help of RouterOS scripts and scheduler.<\/p>\n<h2><span id=\"Tips_and_Tricks\" class=\"mw-headline\">Tips and Tricks<\/span><\/h2>\n<p>This paragraph contains information for additional features and usage cases.<\/p>\n<h3><span id=\"Find_device_location_using_Cell_information\" class=\"mw-headline\">Find device location using Cell information<\/span><\/h3>\n<p>On devices using R11e-LTE International version card (wAP LTE kit) some extra information is provided under info command (from 6.41rc61)<\/p>\n<pre>   current-operator: 24701\n                lac: 40\n     current-cellid: 2514442\n<\/pre>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>current-operator<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>Contains MCC and MNC. For example: current-operator: 24701 breaks to: MCC=247 MNC=01<\/td>\n<\/tr>\n<tr>\n<td><var><b>lac<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>location area code (LAC)<\/td>\n<\/tr>\n<tr>\n<td><var><b>current-cellid<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>Station identification number<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Values can be used to find location in databases:\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"http:\/\/cellidfinder.com\/cells\/findcell\" rel=\"nofollow\">Cell Id Finder<\/a><\/p>\n<h3><span id=\"Using_Cell_lock\" class=\"mw-headline\">Using Cell lock<\/span><\/h3>\n<p>It is possible to lock R11e-LTE, R11e-LTE6 and R11e-4G modems and equipped devices to exact LTE tower. LTE info command provides currently used cellular tower information:<\/p>\n<pre>         phy-cellid: 384\n             earfcn: 1300 (band 3, bandwidth 20Mhz, cqi 8)\n<\/pre>\n<table class=\"styled_table\">\n<tbody>\n<tr>\n<th width=\"40%\">Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var><b>phy-cellid<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>Physical Cell Identification (PCI) of currently used cell tower.<\/td>\n<\/tr>\n<tr>\n<td><var><b>earfcn<\/b><\/var>\u00a0(<em>integer<\/em>; Default:\u00a0)<\/td>\n<td>Absolute Radio Frequency Channel Number<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Exact tower location as well as available bands and other information can be acquired from mobile carrier or by using online services:<\/p>\n<p><a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/www.cellmapper.net\/map\" rel=\"nofollow\">CellMapper<\/a><\/p>\n<p>By using those acquired variables it&#8217;s possible to send AT command to modem for locking to tower in current format:<\/p>\n<p><b>for R11e-LTE and R11e-LTE6<\/b><\/p>\n<pre>AT*Cell=&lt;mode&gt;,&lt;NetworkMode&gt;,&lt;band&gt;,&lt;EARFCN&gt;,&lt;PCI&gt;\n\nwhere\n\n&lt;mode&gt;\u00a0:\n0 \u2013 Cell\/Frequency disabled\n1 \u2013 Frequency lock enabled\n2 \u2013 Cell lock enabled\n\n&lt;NetworkMode&gt;\n0 \u2013 GSM\n1 \u2013 UMTS_TD\n2 \u2013 UMTS_WB\n3 \u2013 LTE\n\n&lt;band&gt;\nNot in use, leave this blank\n\n&lt;EARFCN&gt;\nearfcn from lte info\n\n&lt;PCI&gt;\nphy-cellid from lte info\n<\/pre>\n<p>To lock modem at previously used tower at-chat can be used:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT*Cell=2,3,,1300,384\"\n<\/pre>\n<p>For R11e-LTE all set on locks are lost after reboot or modem reset. Cell data can be also gathered from &#8220;cell-monitor&#8221;.<\/p>\n<p>For R11e-LTE6 cell lock works only for the primary band, this can be useful if you have multiple channels on the same band and you want to lock it to a specific earfcn. Note, that cell lock is not band-specific and for ca-band it can also use other frequency bands, unless you use band lock.<\/p>\n<p>Use cell lock to set the primary band to the 1300 earfcn and use the second channel for the ca-band:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT*Cell=2,3,,1300,138\"\n<\/pre>\n<p>Now it uses the earfcn: 1300 for the primary channel:<\/p>\n<pre>         primary-band: B3@20Mhz earfcn: 1300 phy-cellid: 138\n              ca-band: B3@5Mhz earfcn: 1417 phy-cellid: 138\n<\/pre>\n<p>You can also set it the other way around:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT*Cell=2,3,,1417,138\"\n<\/pre>\n<p>Now it uses the earfcn: 1417 for the primary channel:<\/p>\n<pre>         primary-band: B3@5Mhz earfcn: 1417 phy-cellid: 138\n              ca-band: B3@20Mhz earfcn: 1300 phy-cellid: 138\n<\/pre>\n<p>For R11e-LTE6 modem cell lock information will not be lost after reboot or modem reset. To remove cell lock use at-chat command:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT*Cell=0\"\n<\/pre>\n<p><b>for R11e-4G<\/b><\/p>\n<pre>AT%CLCMD=&lt;mode&gt;,&lt;mode2&gt;,&lt;EARFCN&gt;,&lt;PCI&gt;,&lt;PLMN&gt;\nAT%CLCMD=1,1,3250,244,\\\"24705\\\"\n\nwhere\n\n&lt;mode&gt;\u00a0:\n0 \u2013 Cell\/Frequency disabled\n1 \u2013 Cell lock enabled\n\n&lt;mode2&gt;\u00a0:\n0 - Save lock for first scan\n1 - Always use lock \n(after each reset modem will clear out previous settings no matter what is used here)\n\n&lt;EARFCN&gt;\nearfcn from lte info\n\n&lt;PCI&gt;\nphy-cellid from lte info\n\n&lt;PLMN&gt;\nMobile operator code\n<\/pre>\n<p>All PLMN codes available\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Mobile_country_code\" rel=\"nofollow\">here<\/a>\u00a0this variable can be also left blank<\/p>\n<p>To lock modem to the cell &#8211; modem needs to be in non operating state, easiest way for\u00a0<b>R11e-4G<\/b>\u00a0modem is to add CellLock line to &#8220;modem-init&#8221; string:<\/p>\n<pre>\/interface lte set lte1 modem-init=\"AT%CLCMD=1,1,3250,244,\\\"24705\\\"\"\n<\/pre>\n<p>Multiple cells can also be added by providing list instead of one tower informatin in following format:<\/p>\n<pre>AT%CLCMD=&lt;mode&gt;,&lt;mode2&gt;,&lt;EARFCN_1&gt;,&lt;PCI_1&gt;,&lt;PLMN_1&gt;,&lt;EARFCN_2&gt;,&lt;PCI_2&gt;,&lt;PLMN_2&gt;\n<\/pre>\n<p>For example to lock to two different PCIs within same band and operator:<\/p>\n<pre>\/interface lte set lte1 modem-init=\"AT%CLCMD=1,1,6300,384,\\\"24701\\\",6300,385,\\\"24701\\\"\"\n<\/pre>\n<h3><span id=\"Cell_Monitor\" class=\"mw-headline\">Cell Monitor<\/span><\/h3>\n<p>Cell monitor allows to scan available nearby mobile network cells:<\/p>\n<pre>[admin@MikroTik] &gt; interface lte cell-monitor lte1\nPHY-CELLID BAND                                  EARFCN                                          RSRP         RSRQ          RSSI\n        11 B3                                    1300                                         -107dBm       -175dB\n       306 B1                                    150                                          -115dBm       -195dB\n       373 B3                                    1300                                         -111dBm       -195dB\n       374 B3                                    1300                                         -111dBm       -195dB\n       384 B1                                    150                                          -106dBm       -120dB\n       384 B7                                    2850                                         -115dBm       -175dB\n       384 B20                                   6300                                          -97dBm       -195dB\n<\/pre>\n<p>Gathered data can be used for more precise location detection or for Cell lock.<\/p>\n<h2><span id=\"Troubleshooting\" class=\"mw-headline\">Troubleshooting<\/span><\/h2>\n<p>Enable LTE logging:<\/p>\n<pre>[admin@MikroTik] &gt; \/system logging add topics=lte\n<\/pre>\n<p>Check for errors in log:<\/p>\n<pre>[admin@MikroTik] &gt; \/log print\n\n11:08:59 lte,async lte1: sent AT+CPIN? \n11:08:59 lte,async lte1: rcvd +CME ERROR: 10 \n<\/pre>\n<p>search for CME error description online,<\/p>\n<p>in this case: CME error 10 &#8211; SIM not inserted<\/p>\n<h3><span id=\"Locking_band_on_Huawei_and_other_modems\" class=\"mw-headline\">Locking band on Huawei and other modems<\/span><\/h3>\n<p>To lock band for Huawei modems\u00a0<code>\/interface lte set lte1 band=\"\"<\/code>\u00a0option can&#8217;t be used.<\/p>\n<p>It is possible to use AT commands to lock to desired band manually.<\/p>\n<p>To check all supported bands run at-chat command:<\/p>\n<pre>[admin@MikroTik] \/interface lte at-chat lte1 input=\"AT^SYSCFGEX=\\?\"\n\noutput: ^SYSCFGEX: (\"00\",\"03\",\"02\",\"01\",\"99\"),((2000004e80380,\"GSM850\/GSM900\/GSM1800\/GSM1900\/WCDMA BCI\/WCDMA BCII\/WCDMA BCV\/WCDMA BCVIII\"),\n(3fffffff,\"All Bands\")),(0-2),(0-4),((800d7,\"LTE BC1\/LTE BC2\/LTE \nBC3\/LTE BC5\/LTE BC7\/LTE BC8\/LTE BC20\"),(7fffffffffffffff,\"All Bands\")) \nOK\n<\/pre>\n<p>Example to lock to LTE band 7,<\/p>\n<pre>[admin@MikroTik] \/interface lte set lte1 modem-init=\"AT^SYSCFGEX=\\\"03\\\",3FFFFFFF,2,4,40,,\"\n<\/pre>\n<p>Change last part\u00a0<b>40<\/b>\u00a0to desired band specified hexadecimal value where:<\/p>\n<pre>4 LTE BC3\n40 LTE BC7\n80000 LTE BC20\n7FFFFFFFFFFFFFFF  All bands\netc\n<\/pre>\n<p>All band HEX values and AT commands can be found in\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"http:\/\/download-c.huawei.com\/download\/downloadCenter?downloadId=29741&amp;version=72288&amp;siteCode=\" rel=\"nofollow\">Huawei AT Command Interface Specification guide<\/a><\/p>\n<p>Check if band is locked:<\/p>\n<pre>[admin@MikroTik] \/interface lte at-chat lte1 input=\"AT^SYSCFGEX\\?\"\n\noutput: ^SYSCFGEX: \"03\",3FFFFFFF,0,2,40\nOK\n<\/pre>\n<p>For more information check modem manufacturers AT command reference manuals.<\/p>\n<h3><span id=\"mPCIe_modems_with_RB9xx_series_devices\" class=\"mw-headline\">mPCIe modems with RB9xx series devices<\/span><\/h3>\n<p>For mPCIe modems to work in RB9xx series devices it is required to set the USB type to mPCIe, this can be done using the following command:<\/p>\n<pre>\/system routerboard usb set type=mini-PCIe\n<\/pre>\n<p>In case your modem is not being recognized after a soft reboot, then you might need to add a delay before the USB port is being initialized. This can be done using the following command:<\/p>\n<pre>\/system routerboard settings set init-delay=5s\n<\/pre>\n<h3><span id=\"Modem_firmware_upgrade\" class=\"mw-headline\">Modem firmware upgrade<\/span><\/h3>\n<div id=\"shbox\">\n<p><b>Warning:<\/b>\u00a0Before attempting LTE modem firmware upgrade &#8211; upgrade RouterOS version to latest releases\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/wiki.mikrotik.com\/wiki\/Manual:Upgrading_RouterOS\" rel=\"nofollow\">How To Upgrade RouterOS<\/a><\/p>\n<\/div>\n<p>Starting from RouterOS version 6.44beta20 it is possible to upgrade modems firmware.<\/p>\n<p>Firmware update is available only as FOTA Firmware Over The Air &#8211; firmware upgrade can only be done through working mobile connection for:<\/p>\n<ul>\n<li>)R11e-LTE<\/li>\n<li>)R11e-LTE-US<\/li>\n<\/ul>\n<p>Firmware update available as FOTA and as well as upgrade from file for:<\/p>\n<ul>\n<li>)R11e-4G<\/li>\n<li>)R11e-LTE6<\/li>\n<\/ul>\n<p>Firmware updates usually includes small improvements in stability or small bug fixes that can&#8217;t be included into RouterOS.<\/p>\n<p>Check currently used firmware version by running:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte info lte1 once\n\n-----\nrevision: \"MikroTik_CP_2.160.000_v008\"\n-----\n<\/pre>\n<p>Check if new firmware is available:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte firmware-upgrade lte1 \n  installed: MikroTik_CP_2.160.000_v008\n     latest: MikroTik_CP_2.160.000_v010\n<\/pre>\n<p>Upgrade firmware:<\/p>\n<pre>[admin@MikroTik] &gt; interface lte firmware-upgrade lte1 upgrade=yes\n  status: downloading via LTE connection (&gt;2min)\n<\/pre>\n<p>Whole upgrade process may take up to 10 minutes, depending on mobile connection speed.<\/p>\n<p>After successful upgrade issue USB power-reset, reboot device or run AT+reset command, to update modem version readout under info command:<\/p>\n<pre>[admin@MikroTik] &gt; \/interface lte at-chat lte1 input=\"AT+reset\"\n<\/pre>\n<p>if modem has issues connecting to cells after update, or there are any other unrelated issues &#8211; wipe old configuration with:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT+RSTSET\"\n<\/pre>\n<h3><span id=\"Avoiding_tethering_speed_throttling\" class=\"mw-headline\">Avoiding tethering speed throttling<\/span><\/h3>\n<p>Some operators (TMobile, YOTA etc.) allows unlimited data only for device SIM card is used on, all other data coming from mobile hotspots or tethering is highly limited by volume or by throughput speed.\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/www.reddit.com\/r\/hacking\/comments\/54a7dd\/bypassing_tmobiles_tethering_data_capthrottling\/\" rel=\"nofollow\">Some sources<\/a>\u00a0have found out that this limitation is done by monitoring TTL (Time To Live) values from packets to determinate if limitations need to be applied (TTL is decreased by 1 for each &#8220;hop&#8221; made). RouterOS allows changing the TTL parameter for packets going from the router to allow hiding sub networks. Keep in mind that this may conflict with fair use policy.<\/p>\n<pre>\/ip firewall mangle\nadd action=change-ttl chain=postrouting new-ttl=set:65 out-interface=lte1 passthrough=yes\n<\/pre>\n<p>More information:\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/m.habr.com\/en\/post\/238351\/\" rel=\"nofollow\">YOTA<\/a>,\u00a0<a style=\"text-decoration: underline;\" class=\"external text\" href=\"https:\/\/www.reddit.com\/r\/mikrotik\/comments\/acq4kz\/anyone_familiar_with_configuring_the_ltap_us_with\/\" rel=\"nofollow\">TMobile<\/a><\/p>\n<h3><span id=\"Unlocking_SIM_card_after_multiple_wrong_PIN_code_attempts\" class=\"mw-headline\">Unlocking SIM card after multiple wrong PIN code attempts<\/span><\/h3>\n<p>After locking SIM card, unlock can be done through &#8220;at-chat&#8221;<\/p>\n<p>Check current PIN code status:<\/p>\n<pre>\/interface\/lte\/at-chat lte1 input=\"at+cpin\\?\"\n<\/pre>\n<p>If card is locked &#8211; unlock it by providing:<\/p>\n<pre>\/interface lte at-chat lte1 input=\"AT+CPIN=\\\"PUK_code\\\",\\\"NEW_PIN\\\"\"\n<\/pre>\n<p>Replace PUK_code and NEW_PIN with matching values.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Applies to RouterOS:\u00a0v6+,v5.12+ Warning:\u00a0This manual is moved to\u00a0https:\/\/help.mikrotik.com\/docs\/display\/ROS\/LTE Contents 1Summary 2LTE Client 2.1Properties 2.2APN profiles 2.3Scanner 2.4User Info command 2.4.1Properties (Up to 6.40) 2.5User at-chat command 3Quick setup example 4Passthrough&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,10,14],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-instalasi","category-lte","category-mikrotik"],"_links":{"self":[{"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eatmaja.co.id\/eka\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}