# How to Configure Teltonika TRB140 with Simbase

> **How do I set up a Simbase SIM in a Teltonika TRB140?** Insert the SIM, connect over Ethernet and open 192.168.2.1. Under Network → Interfaces, edit MOB1S1A1, turn off Auto APN and enter your profile's APN. Or paste the config script under System → Custom Script.

Source: https://simbase.com/docs/teltonika-trb140 (updated 2026-11-26)

The Teltonika TRB140 is a compact 4G LTE router. This guide covers hardware setup, the manual APN configuration, an equivalent configuration script you can paste in directly, and a few optional but recommended features worth turning on: remote access, PING reboot, and SMS reboot.

> **Firmware requirements** Use the latest Teltonika router firmware. Older firmware versions have different menu steps.

Before you start, make sure your SIM is activated in the Simbase dashboard. If it isn't, see [SIM state](/docs/sim-state) first.

For a visual walkthrough alongside this guide, see [Teltonika's TRB140 setup video](https://www.youtube.com/watch?v=Os4L3wDvAbY).

## Step 1: Prepare the hardware

1. Unscrew the panel to access the SIM slot.
2. Insert your Simbase SIM into the router's SIM holder and close the panel.
3. Screw the antenna onto its connection point.
4. Connect the power cable to the router and plug it into an outlet.

> **Remember!** Double-check the SIM is seated correctly before closing the device back up.

## Step 2: Connect and log in

The router takes a few minutes to start up. Connect your computer to it via the Ethernet port.

1. Open a browser and go to `192.168.2.1`.
2. Log in with username `admin` and the password on the device label (`admin01` on older units).
3. If this is your first login, you'll be prompted to change the default password. Follow the prompts.
4. Click **MODE** in the top right corner and switch to advanced mode. The remaining steps assume advanced mode is on.

## Step 3: Set the APN manually

1. Go to **Network → Interfaces**.
2. Click the pencil icon on the **MOB1S1A1** entry.
3. Turn off **Auto APN**.
4. Leave everything else at its default, except:
  - **APN:** `--custom--`
  - **Custom APN:** `simbase` (every Simbase SIM uses **`simbase`**. Check [Set up the APN](/docs/set-up-apn) for your profile's APN before continuing).
5. Scroll down and click **Save & Apply**.

Your SIM should now connect to the internet.

For background on what an APN does and how Simbase's APN profiles work, see [Set up the APN](/docs/set-up-apn).

## Step 4: Or configure everything via script

If you'd rather paste a script than click through the UI, this does the same APN setup plus a set of recommended and optional extras.

> **Check the remote access lines before you paste** The remote HTTP and SSH blocks open the router's admin interface to the internet, which matters on a SIM with a public IP. Delete them unless you need remote access. Both target firewall rules by index, so confirm rules 10 and 11 are still the remote access rules on your firmware version.

1. Log in to the router and go to **System → Custom Script**.
2. Clear the input field.
3. Paste the script below and click **Save & Apply**.

> **Check the APN** Change apn='simbase' to the APN specific to your SIM profile and setup (e.g. Fixed IP address, specific breakout location etc.).

```json
# Set APN to simbase (required)
uci set network.mob1s1a1.disabled='0'
uci set network.mob1s1a1.force_link='0'
uci set network.mob1s1a1.stp='0'
uci set network.mob1s1a1.igmp_snooping='0'
uci set network.mob1s1a1.method='nat'
uci set network.mob1s1a1.pdptype='ip'
uci set network.mob1s1a1.force_apn='-1'
uci set network.mob1s1a1.apn='simbase'
uci set network.mob1s1a1.auth='none'
uci set simcard.@sim[0].auto_apn='0'
uci commit && reload_config

# Set router config to Advanced mode (highly recommended)
uci set vuci.main.advanced='1'

# Set MTU to 1200 (highly recommended)
uci set network.mob1s1a1.mtu='1200'

# Enable remote HTTP (optional)
uci set firewall.@rule[11].enabled='1'
uci commit && reload_config

# Enable remote SSH (optional)
uci set firewall.@rule[10].enabled='1'
uci commit && reload_config

uci commit && reload_config

# Reset LAN IP to default (optional)
uci set network.lan.ipaddr='192.168.2.1'
uci set network.lan.netmask='255.255.255.0'
uci set network.lan.proto='static'
uci commit && reload_config

# Enable PING reboot (highly recommended)
uci set ping_reboot.@ping_reboot[0].enable='1'
uci commit && reload_config

exit 0
```

The `# (required)`, `# (highly recommended)`, and `# (optional)` comments mark which blocks you can safely remove if you don't want that behavior. The required block is the first one: it's what sets the APN to `simbase` (or another Simbase-approved APN specific to your use case).

For a guided version of this step, see below:

## Enable remote access

Teltonika routers support remote configuration, useful if you need to reach the device's admin panel without being on its local network. Walkthrough: enable remote access.

## Enable PING reboot

We strongly recommend enabling PING reboot. Once enabled, the router pings Google's DNS (`8.8.8.8`) every 5 minutes. After a set number of failed pings it restarts the mobile connection or reboots, depending on the action you choose, recovering from silent drops without anyone needing to notice or intervene.

Walkthrough: enable PING reboot.

## Enable SMS reboot

If the router loses its data connection entirely, SMS reboot lets you restart it remotely. In the WebUI, go to **Services → Mobile Utilities → SMS Utilities**, edit the **reboot** rule, enable it and choose an **Authorization method**: No authorization, By serial or By device admin password. No authorization is low risk on a Simbase SIM, since only +55555 can send it SMS. See the [SMS reboot walkthrough](https://app.supademo.com/demo/sO474B43HQHy8VsCKNCQf).

Then send an SMS with the text `reboot` to the SIM from the dashboard or the API. With authorization on, put the serial number or admin password in front, for example `<admin_password> reboot`. See [SMS](/docs/sms).

For hardware specs, see Teltonika's [TRB140 documentation](https://wiki.teltonika-networks.com/view/TRB140).

## Common questions

**Should I use the manual steps or the script?**

Either. They set the same APN values. The manual route is easier to verify afterward; the script is faster across several routers and bundles the optional extras. There's no benefit to doing both.

**Which APN should I enter?**

`simbase`, the standard APN on every Simbase SIM. For a public IP or a private network, see [Set up the APN](/docs/set-up-apn).

**How do I send the reboot SMS?**

Send it from the Simbase dashboard or the API. SIMs only receive SMS from +55555, so a text from a phone won't arrive.

**Is PING reboot risky if my connection is just slow?**

Rarely. It acts only after several failed pings to 8.8.8.8, not on slow ones. Frequent reboots usually mean a real connectivity problem worth investigating rather than an over-eager setting.

## Related

- [Compatibility check](/docs/compatibility-check): confirm supported frequency bands and network technology before setup
- [Set up the APN](/docs/set-up-apn): what the APN does and Simbase's APN profiles
- [SIM state](/docs/sim-state): activate your SIM before connecting hardware
- [Connectivity issues](/docs/connectivity-issues): troubleshoot your SIM
