====== wAP R ac with Quectel EP06 fudge as Phone ====== How to make your [[https://mikrotik.com/product/wap_r_ac|wAP r AC]] with [[https://www.quectel.com/product/lte-a-ep06-series/|Quectel EP06]] appear as a phone to your telecommunications service provider. ===== Prerequisites ===== ==== EP06 Preparation ==== - Install the EP06 Mini PCIe modem in a [[https://www.adt.link/product/WS16.html|mini-PCIe LTE modem to USB-A dongle]] - Connect it to a PC/laptop/SBC with a [[projects:software:serial_terminal_emulators|serial terminal emulator]] - Set EP06 to USB 2.0 mode: ''%%AT+QUSBCFG="SS",0%%'' - Set EP06 to MBIM mode: ''%%AT+QCFG="usbnet",2%%'' * If you don't have/can't buy a suitable adapter, [[https://forum.turris.cz/t/support-for-quectel-ep06-lte-a/8632/37|taping off the USB 3.0 pins also works]] ==== wAP R AC Preparation ==== - Install [[https://mikrotik.com/download|RouterOS (ARM) version ≥7]] * Main package ''routeros-7.x.y-arm.npk'' * Extra packages -> ''wifi-qcom-ac-7.x.y-arm.npk'' (WifiWave2)\\ * If installing WifiWave2 fails due to a full disk, install Extra Packages -> ''wireless-7.x.y-arm.npk'' instead (WifiWave1) or install the packages with [[https://help.mikrotik.com/docs/spaces/ROS/pages/24805390/Netinstall|Netinstall]] - [[https://help.mikrotik.com/docs/spaces/ROS/pages/24805498/Reset+Button|Reset configuration]] ===== Steps ===== - Log in to wAP R ac with [[https://mikrotik.com/download|Winbox]] - Fudge IMEI (avoid MiFi router modem detection) - ''/interface lte settings set mode=serial'' - ''/system reboot'' - //(Wait for reboot)// - ''/system/serial-terminal usb1 channel=2'' - ''%%AT +EGMR=1,7 "REPLACE_WITH_NEW_IMEI"%%'' (the double quotation marks ''%%"%%'' are required) - //Ctrl-a + q// to exit the terminal - ''/interface/lte/settings/set mode=auto'' - ''/system reboot'' - //(Wait for reboot)// - Fudge TTL (avoid tethering detection) * IPv4 - ''/ip firewall mangle add chain=postrouting out-interface=lte1 action=change-ttl new-ttl=set:64 passthrough=yes'' * IPv6 - Enable IPv6: ''/interface lte apn set [ find ] ip-type=ipv4-ipv6 ipv6-interface=bridge'' - ''/ipv6 firewall mangle add chain=postrouting out-interface=lte1 action=change-hop-limit new-hop-limit=set:64 passthrough=yes protocol=!icmpv6'' - ''/ipv6 firewall nat add chain=srcnat out-interface=lte1 action=masquerade''\\ (optional, depends on how strict your operator is - did not require this for DiGi; will break globally routable public IPv6 for end devices) - Now use Quick Set to finish the remaining configuration for your APN (if LTE is not working) and Wi-Fi