Skip to main content

Quick Install - MAC

Navigation bar

GT400 Installation​

Quickly get started with the GT400 REDCAP 5G Dongle (module: MT5710-CN) on Mac

Prerequisites​

  1. A Mac (connect directly over USB-C if possible; avoid docks)
  2. Dongle GT400 and a Type-C data cable
  3. A Nano-SIM card with Internet service
  4. A Linux / OpenWrt device reachable over SSH (for sending AT commands; the Mac has no usable AT port)

Installing the Nano-SIM Card​

Image

  1. Find a plastic card and pry the cover open
  2. Gently pull out the SIM1 card holder, insert the Nano-SIM card, and push it back in place

Note

The Mac is picky about USB network adapter modes. Choose according to the table below and do not expect RNDIS / NCM / ECM+Stick alone to obtain a stable DHCP lease on the Mac.

AT^SETMODEDial-up modeHost IPRecommendation for Mac
0 (ECM)USB E5 (Mode=2 + SETE5STICK=1)LAN (such as 192.168.8.x)Recommended, verified
0 (ECM)USB Stick (Mode=1 + SETE5STICK=0)Carrier addressNot recommended; often "not connected" with no IP
4 (Linux NCM)Stick / E5—Not recommended for Mac; for daily OpenWrt use see the Linux document
6 (RNDIS)——Unusable / not recommended; Windows-oriented
1 (Win10 NCM)——Unusable / not recommended; Windows-oriented

Device conclusion: with ECM + Stick only, the Mac can see the adapter / MAC, but it usually stays "not connected" and never gets an IP.
ECM + USB E5 works: the Mac obtains a LAN IP over DHCP (measured 192.168.8.7, gateway 192.168.8.1).
The Mac has no usable AT port, so do all configuration on Linux / OpenWrt first, then move the device to the Mac.


Step 1: Prepare the AT Port on Linux / OpenWrt​

For detailed driver installation, see Quick Install - Linux. Only the commands needed for Mac preconfiguration are listed here.

# Confirm the module
lsusb
# You should see: 3466:3301 TD Tech Ltd. TDTECH MT571X

# Bind option when the VID/PID is not in the whitelist
echo 3466 3301 > /sys/bus/usb-serial/drivers/option1/new_id

# Installing the ECM driver is recommended (for self-check)
apk add kmod-usb-net-cdc-ether minicom
# Classic OpenWrt opkg: opkg install kmod-usb-net-cdc-ether minicom

minicom -D /dev/ttyUSB1 -b 115200

Minicom: type a command and press Enter to send it; to exit press Ctrl + A → Q → Yes.


Wait for OK or the result after each line before sending the next one.

ATE0
AT
AT^SETMODE?
AT^SETMODE=0

(0 = Linux ECM Normal, driver-free on Mac / Linux)

AT^TDCFG?

(shows the current Mode / LHCM. Mode 1 = USB Stick; 2 = USB E5)

AT^TDCFG="infcfg","mode",2

(switch to USB E5: the module performs NAT and the host gets a LAN IP)

AT^SETE5STICK=1

(switch the dial-up side to E5)

AT^TDCFG?
AT^SETE5STICK?
AT^SETMODE?

(confirm: Mode: 2, SETE5STICK: 1, SETMODE: 0)

LHCM is usually 192.168.8.1,255.255.255.0,192.168.8.2,192.168.8.254 by default.
Example of changing the pool (some firmware is sensitive to quotation marks, so keep the default if it fails):
AT^TDCFG="infcfg","lhcm","192.168.1.1,255.255.255.0,192.168.1.100,192.168.1.200"

AT+CGDCONT=1,"IPV4V6","ctnet"
AT^SETAUTODIAL=1,1,"IPV4V6","ctnet","","",0

(change the APN according to the carrier; auto-dial is written permanently so no AT commands are needed after plugging into the Mac)

AT^RESET

(a reboot is required for USB E5 Mode=2 to actually take effect)

After rebooting, USB drops and re-enumerates. Rebind the serial port, enter minicom and continue:

echo 3466 3301 > /sys/bus/usb-serial/drivers/option1/new_id
minicom -D /dev/ttyUSB1 -b 115200
AT^TDCFG?
AT^SETE5STICK?
AT^SETMODE?
AT^SETAUTODIAL?
AT^NDISSTATQRY?

(if auto-dial has connected, NDISSTATQRY reports connected; otherwise dial manually:)

AT^NDISDUP=1,1,"ctnet"

If connectivity is abnormal, run the following once more:

AT^NDISDUP=1,0
AT^IPFILTERSWITCH=0
AT+CFUN=0
AT+CFUN=1
AT^NDISDUP=1,1,"ctnet"

Step 3: Self-Check on Linux (Before Moving to the Mac)​

# The driver should be cdc_ether
dmesg | grep -i cdc_ether
readlink /sys/class/net/usb0/device/driver

# Request a LAN address from the module via DHCP (should be 192.168.8.x under E5)
udhcpc -i usb0 -n -q -t 5
ip addr show usb0
# Expected: inet 192.168.8.2/24, gateway 192.168.8.1

ping -I usb0 -c 3 192.168.8.1
# ICMP may be restricted by the carrier; confirm over HTTP:
wget -qO- --timeout=8 http://captive.apple.com/hotspot-detect.html

Once you get a 192.168.8.x address and HTTP works, move the device to the Mac.


Step 4: Plug into the Mac and Test Speed / Connectivity​

  1. Unplug from the router and connect directly to the Mac's USB-C port (avoid docks if possible).
  2. System Settings → Network, then wait 30–60 seconds (auto-dial).
  3. The service name is usually TDTECH MT571X.
  4. Select Using DHCP for IPv4.

Success indicator (verified): an address such as 192.168.8.7 is obtained, with router / gateway 192.168.8.1.

Mac Obtaining an IP (Measured)​

Mac obtaining an IP

If it still shows "not connected" or has no IP, configure it manually:

ItemValue
IP192.168.8.10
Mask255.255.255.0
Router192.168.8.1
DNS8.8.8.8
ifconfig
networksetup -listallhardwareports
networksetup -getinfo "TDTECH MT571X"
ping -c 4 192.168.8.1
# Speed test: Speedtest client / web page; before testing, turn off Wi-Fi or drag this service to the top

Comparison: ECM + Stick Only (Usually Unusable on Mac)​

Useful for comparison or troubleshooting; do not expect the Mac to obtain DHCP:

AT^TDCFG="infcfg","mode",1
AT^SETE5STICK=0
AT^SETMODE=0
AT^RESET

On Linux, Stick normally gives usb0 a carrier-side address (such as 10.x.x.x).
On the Mac you often see only the MAC, with the status "not connected" and no IP.


Restoring Daily OpenWrt NCM + Stick​

To restore daily router use after testing on the Mac:

AT^TDCFG="infcfg","mode",1
AT^SETE5STICK=0
AT^SETMODE=4
AT^CFGMASKMODE=2
AT^SETAUTODIAL=1,1,"IPV4V6","ctnet","","",0
AT^RESET

On the OpenWrt side use kmod-usb-net-cdc-ncm; the interface is usually usb0 (cdc_ncm). See Quick Install - Linux.


Troubleshooting​

SymptomHandling
Mac shows only a MAC and "not connected"Confirm it is Mode=2 + SETE5STICK=1 + SETMODE=0 and that AT^RESET has been executed
No usb0 on Linuxapk add kmod-usb-net-cdc-ether; dmesg | grep cdc_ether
Under E5 there is only a LAN and HTTP failsHang up and redial + AT^IPFILTERSWITCH=0 + toggle CFUN (see above)
AT^TDCFG=...lhcm... returns ERRORUse the default 192.168.8.0/24
Configuration is in disarrayAT^RESET; or reconfigure Mode=2 / E5 / ECM as in Step 2

Mode Quick Reference​

AT^SETMODE (USB mode)

ValueMeaningScenario
0Linux ECMDriver-free on Mac / Linux (Mac requires E5)
2Linux ECM DebugDebugging
4Linux NCMDaily OpenWrt use
6Win10 RNDISWindows (not recommended for Mac)

AT^TDCFG="infcfg","mode" + AT^SETE5STICK (dial-up mode)

ModeSETE5STICKIP obtained by the hostMac
21LAN (such as 192.168.8.x)Recommended, verified
10Carrier address (Stick)Works on Linux, often fails on Mac

Checklist (Mac E5 Speed Test)​

  • ✅ AT^SETMODE? → 0
  • ✅ AT^TDCFG? → Mode: 2, with LHCM containing 192.168.8.1
  • ✅ AT^SETE5STICK? → 1
  • ✅ AT^RESET has been executed and AT^SETAUTODIAL? has been written
  • ✅ usb0 on Linux obtains 192.168.8.x and HTTP works
  • ✅ The Mac obtains 192.168.8.x (such as .7) and a speed test can run

Relationship with Other Documents​

DocumentScenario
This documentMac: ECM + USB E5
Quick Install - LinuxOpenWrt: Linux NCM (SETMODE=4)
Quick Install - WindowsWindows: RNDIS / NCM
AI Translation Notice

This page was translated into English by AI and is provided for reference only. The original document is written in Chinese. If there is any discrepancy, the Chinese version prevails.

本页英文内容由 AI 自动翻译生成,仅供参考;原文为中文,如有差异请以中文原文为准。

查看中文原文 / View the Chinese original →