# APN, TTL, IMEI &amp; Firmware Settings for 4G Dongles

> For AI tools: this is the Markdown copy of https://xproxy.io/document/dongle-devices-settings. Every XProxy guide has one at its URL + `.md`; the index of all guides is https://xproxy.io/llms.txt.

Set the APN and TTL, change IMEI, MAC or label, reboot, flash firmware and export a list of your USB modems from the XProxy panel.

Set the APN and TTL of a 4G modem, change its label, MAC address or IMEI, reboot it, update its firmware and export a list of your dongles. All from **Device Settings → Dongle Devices**.

**You need:** a dongle plugged in ([how to install dongles](https://xproxy.io/document/installing-dongles)). A few actions need the [Basic plan](https://xproxy.io/pricing) ([see which](#plans)).

In short

**One row per dongle**

APN, TTL, label, MAC and IMEI are right there.

**Many at once**

Tick dongles, then use **Operations**.

**Firmware too**

Update XH20, XH22 and XM16.

## Where do I find the settings of my dongles?

**Step 1: The Dongle Devices table**

In the left menu, open **Device Settings → Dongle Devices**. Each row is one dongle. The toolbar works on the rows you tick.

- **Operations**: change IMEI, MAC address or APN, turn Wi-Fi on or off, export a CSV.
- **Upgrade firmware**.
- **Device**: name, serial number, IMEI, MAC address and the dongle's own TTL, if you set one.
- **Label**: click the pencil to change it.
- **APN**: click the pencil to change it.
- **Note**: type anything you want to remember. It saves when you leave the box.
- **Actions**: **Reboot**, **Setting** (MTU, TTL, SIM slot) and **Info** (reads the phone number).

![Dongle Devices table with the Operations menu, Upgrade firmware button, device details, label, APN, note and action buttons marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-1-table-v1.webp)

> The table also shows the Wi-Fi name and status of each dongle, and its **Upgrade Status**. A **Software version** that shows **Dongle updated latest version** needs no update.

## How do I change a dongle setting?

**Step 1: Open the APN window (APN)**

**One dongle:** click the pencil in its **APN** column.

**Several dongles:** tick them, click **Operations** and choose **Change APN**. The same APN goes to all of them.

![Dongle Devices with two dongles ticked, the Operations menu open on Change APN and the APN pencil marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-2-apn-open-v1.webp)

> This works for XH20 and XH22 dongles and for QMI modems. The window says so too.

**Step 2: Choose Auto or Manual (APN)**

1. Pick the **APN Mode**. **AUTO** lets the dongle choose. **MANUAL** shows the fields below.
2. Type the **APN Name** of your carrier.
3. Pick the **IP Type**: **IPv4/IPv6**, **IPv4 Only** or **IPv6 Only**.
4. Pick the **Auth Type**: **NONE**, **PAP** or **CHAP**. For PAP or CHAP, fill in **Auth User** and **Auth Pass**.
5. Click **Change**.

![APN Settings window in manual mode with the mode, APN name, IP type, auth type, user and password and the Change button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-3-apn-dialog-v1.webp)

> Not sure about your carrier values? Keep **AUTO**. Your carrier publishes its APN, user and password.

**Step 3: Open the dongle Setting window (TTL)**

Click **Setting** in the **Actions** column of the dongle.

When a dongle has its own TTL, its **Device** cell shows a small **TTL** tag. In the second picture it is marked.

![The Setting button in the Actions column of a dongle row marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-4-setting-v1.webp)

> The same window also has **MTU Setting** (default 1500) and **SIM Slot** (SIM 1 or SIM 2).

**Step 4: Pick a TTL preset and save (TTL)**

1. Open the **TTL Preset** list and pick one. The **TTL Value** follows. Pick **Custom** to type your own number from 1 to 255.
2. Click **Save** in the TTL card.

The preset **0 — Inherit System Default** uses the TTL you set for all dongles in **General Settings → System Setting**.

![Dongle Settings window scrolled to TTL Setting with the preset list, the TTL value and the Save button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-5-ttl-v1.webp)

> TTL helps when a carrier blocks hotspot or tethering. The panel marks **128 — Windows PC** as recommended for that.

**Step 5: Click the pencil next to the label (Label &amp; MAC)**

In the **Label** column, click the pencil. To change the MAC address, click the pencil next to the **MAC** line of the same dongle (see step 3).

![Dongle Devices row with the label pencil and the MAC pencil marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-6-label-open-v1.webp)

> The label is the number of the dongle. It is also part of the address of its own panel, `192.168.&lt;label>.1`. See [Open the Dongle Panel](https://xproxy.io/document/how-to-access-dongle-panel).

**Step 6: Type the new label (Label &amp; MAC)**

Type a number in **New Label Number**. It can be from 2 to 255. Click **Change**.

The dongle **reboots by itself** to take the new label.

![Label Changer window with the new label number and the Change button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-7-label-dialog-v1.webp)

> While it reboots, the dongle is offline for a short time.

**Step 7: Change the MAC address (Label &amp; MAC)**

1. Pick the **Change Mode**: **Fixed MAC** sets the address you type. **Randomize on Based MAC** makes a new address from the one you type.
2. Type the address.
3. Click **Change**. The dongle reboots by itself.

![MAC Changer window with the change mode, the MAC address and the Change button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-8-mac-dialog-v1.webp)

> Changing the MAC works on **XH20 and XH22** dongles only.

**Step 8: Tick the dongles and open Change IMEI (IMEI)**

Tick one or more dongles. Click **Operations** and choose **Change IMEI**.

![Operations menu open on Change IMEI with two dongles ticked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-9-imei-menu-v1.webp)

> **Change IMEI** is not in your menu? Your plan does not include it. See the [plans](#plans) below.

**Step 9: Choose how to change the IMEI (IMEI)**

1. Pick the **Change Mode**:

   - **Specific IMEI**: type your own list, one per line. With as many IMEIs as ticked dongles, each dongle gets one in order. Otherwise each dongle gets one picked at random from the list.
   - **Randomize By Brands**: pick one or more phone models. The dongle looks like one of them.
   - **Randomize Based On IMEI**: type the IMEI of a real phone. The dongle gets a new IMEI that starts with the same 8 digits.
2. Click **Change**. The dongles reboot.

![IMEI Changer window with the change modes, the IMEI list and the Change button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-10-imei-dialog-v1.webp)

> IMEI change works on **XH20, XH22, XM16 and XM62** dongles. Check that it is legal in your country before you use it.

**Step 10: XH20 / XH22: upgrade the firmware (Firmware)**

Click **Upgrade firmware**. Keep **XH20 / XH22 (latest from xproxy)** selected and click **Upgrade**. Confirm the question.

XProxy upgrades **all** XH20 and XH22 dongles that are connected. The **Upgrade Status** column shows how each one is doing.

![Upgrade firmware window with the XH20 and XH22 option and the Upgrade button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-11-fw-xh-v1.webp)

> The window opens on the right dongle type by itself: it looks at the dongles you ticked, or at the whole list.

**Step 11: XM16: upload and flash (Firmware)**

1. Click **Upgrade firmware** and pick **XM16**.
2. Choose the two files: a `.cwe` and a `.nvu` of the **same version**, for example `SWI9X30C_02.33.03.00.cwe` and `SWI9X30C_02.33.03.00_GENERIC_002.072_000.nvu`. Click **Upload**. XProxy checks the files.
3. Pick the package in **Firmware**.
4. Set **Flash at the same time**: 1 to 4 modems at once.
5. Click **Upgrade** and confirm.

Tick the dongles first to flash only those. With none ticked, XProxy flashes every QMI modem that runs the same firmware family.

![Upgrade firmware window for XM16 with the file boxes, Upload, firmware list, parallel count and Upgrade button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-12-fw-xm16-v1.webp)

> Each modem is **offline for about 5 to 10 minutes**. Do not unplug a modem and do not reboot the box until it finishes. A file must be 200 MB or less.

**Step 12: XM16: flash one dongle from its Setting window (Firmware)**

Open **Setting** on an XM16 dongle. Two extra cards show up:

- **XM16 Initialize**: sets the modem up as XProxy-XM16 and restarts it. It is offline for about a minute and a progress bar shows the steps.
- **XM16 Firmware**: shows the **Current** version and the flash status. Pick a package and click **Flash**.

The status goes from **QUEUED** and **FLASHING** through **DOWNLOADING**, **FINALIZING**, **REBOOTING** and **VALIDATING** to **COMPLETED**. **UP_TO_DATE** means the modem already had these images. **FAILED** comes with the reason. If the firmware does not match the modem, the panel says so.

![Dongle Settings window of an XM16 with the Initialize button, the firmware list and the Flash button marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-13-fw-setting-v1.webp)

> A card named **XM16 Images** lets you pick the modem image. The dongle reboots after you save it.

**Step 13: Open Export CSV (Export)**

Click **Operations** and choose **Export CSV**. You do not need to tick any dongle.

![Operations menu open on Export CSV (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-14-export-menu-v1.webp)

**Step 14: Pick the columns and download (Export)**

1. Keep **Only export live (connected) dongles** ticked to skip empty slots.
2. Tick the columns: Position, Device, Serial Number, IMEI, MAC Address, Label, Software Version, APN, WiFi SSID, WiFi Status, Upgrade Status and Note. **All**, **Default** and **None** are shortcuts.
3. Click **Download CSV**, or **Copy** to paste it into a sheet.

The window shows how many rows and columns you export.

![Export CSV window with the live-only box, the column list, Download CSV and Copy marked (demo data)](https://media1.xproxy.io/docs/dongle-settings/dev-15-export-dialog-v1.webp)

> The file is UTF-8 with a BOM, so Excel opens it correctly. The export has the dongles shown on the **current page**. Your column choice is remembered in this browser.

## What TTL should I use?

TTL is a number carried by every packet. Some carriers use it to spot hotspot or tethering traffic. Setting it on the dongle also turns on TCP MSS clamping for that dongle, to bypass those limits. You can set it for one dongle, or for all dongles in **General Settings → System Setting**.

| Preset | Name in the panel | Note |
| --- | --- | --- |
| `0` | Inherit System Default | Use the TTL from General Settings → System Setting. |
| `128` | Windows PC | Recommended for hotspot bypass. |
| `65` | Smartphone via NAT Dongle |  |
| `129` | Windows via NAT Dongle |  |
| `64` | Standard Linux / Direct IP |  |
| `Custom` | Your own number | 1 to 255. |

Want the TTL of the whole box, or an OS fingerprint for the traffic? See [system and network settings](https://xproxy.io/document/system-network-settings) and [TCP OS spoofing](https://xproxy.io/document/tcp-os-spoofing).

## What does each action do to the dongle?

| Action | Dongles | After you click |
| --- | --- | --- |
| **Change APN** | XH20, XH22 and QMI modems | The panel says how many dongles changed and how many failed. |
| **TTL, MTU, SIM slot** | Per dongle, in **Setting** | Saved at once. A SIM slot change says **Dongle not supported!** when the dongle has no second slot. |
| **Label** | One dongle at a time | The dongle reboots by itself. |
| **MAC address** | XH20 and XH22 | The dongle reboots by itself. Wait up to 15 seconds. |
| **IMEI** | XH20, XH22, XM16, XM62 | The dongles reboot. |
| **Wi-Fi on or off** | XH20 and XH22 | Operations → Enable WI-FI or Disable WI-FI, after a confirm question. |
| **Reboot** | Any dongle | The panel says **Sent command reboot successfully!** |
| **Info** | Any dongle | **Read Info** shows the phone number of the SIM. |

A dongle stuck and a reboot does not help? See [Watchdog and auto-recovery](https://xproxy.io/document/watchdog-auto-recovery).

## Which plan do I need?

| Feature | Plan |
| --- | --- |
| Change IMEI (single and bulk) | Free and up |
| Change APN | Basic and up |
| TTL presets | Basic and up |
| Reboot a dongle | Basic and up |

Label, MAC, Wi-Fi, firmware and CSV export have no plan limit in the panel. Compare plans on the [pricing page](https://xproxy.io/pricing).

## FAQ

### How do I change the APN of my USB modem?

Click the pencil in the **APN** column of the dongle (or tick dongles and use **Operations → Change APN**). Pick **MANUAL**, type the APN of your carrier and click **Change**. It works for XH20, XH22 and QMI modems. You can also set it in the dongle's own panel: [Open the Dongle Panel](https://xproxy.io/document/how-to-access-dongle-panel).

### Which TTL value is best?

The panel recommends **128 (Windows PC)** for bypassing hotspot blocks. Use **64** for a plain Linux connection. **65** (smartphone) and **129** (Windows) are for devices behind a NAT dongle. You can also type your own value.

### Why is Change IMEI missing in my menu?

The item only shows when your license allows it.

### How long does an XM16 firmware flash take?

About 5 to 10 minutes for each modem, which is offline meanwhile. You can flash 1 to 4 modems at the same time. Do not unplug a modem or reboot the box until it finishes.

### Why does the firmware upload say the file name is wrong?

The names must look like `SWI9X30C_02.33.03.00.cwe` and `SWI9X30C_02.33.03.00_GENERIC_002.072_000.nvu`, both for the same version. XProxy accepts the families **SWI9X30C** and **SWI9X50C**.

## What next?

Open the dongle's own panel, read its SMS, or let XProxy recover stuck dongles.

[Open the dongle panel →](https://xproxy.io/document/how-to-access-dongle-panel) [SMS &amp; USSD →](https://xproxy.io/document/sms-ussd-utilities) [Watchdog →](https://xproxy.io/document/watchdog-auto-recovery) [Install dongles →](https://xproxy.io/document/installing-dongles)

---

Source: https://xproxy.io/document/dongle-devices-settings
