pfSense LTE WAN with HUAWEI ME909u on APU3

This is a step-by-step tutorial for setting up LTE WAN on pfSense 2.4. This tutorial will work for the following modems:

  • Huawei ME909s-120
  • Huawei ME909u-521
  • Huawei MU709s-2p
  • Number of other Huawei modems

Step 0: connect your hardware properly

You can connect 2 LTE modems to APU3 boards, but typically you will use only one.

Connect your modem to the middle mPCIe port (J15) and your SIM card to J1 port.

If you want to connect 2 modems, you will have to install the operating system on SD card. The first mPCIe port (J14) is shared between SATA drive and LTE modem.

The last mPCIe (J16) is intended for WiFi. Modem won't work in this port.

See the image for explanation.

Step 1: Install pfSense

Installation of pfSense is covered by a separate article. Follow the pfSense installation instructions and come back.

Step 2: Add boot delay

Huawei takes about 20 seconds to fully initialize and be detected by the operating system. You must add a boot delay in the operating system to allow enough time for the modem to initialize. We recommend setting the loader_delay variable to 40 seconds.

Boot the operating system and edit /boot/loader.conf


Note, there is another configuration variable called "autoboot_delay". This is something else. Don't confuse these two.

See the video to the right for more details.

Step 3: setup PPP interface in pfSense

Login to the web UI, go to "interfaces"->"Assignments"->PPPs->"Add"


PPP configuration fields:

Link Type: PPP

Link Interface: /dev/cuaU0.0

Note: If you only see /dev/cuau0 and /dev/cuau1 in this list, it means that your modem is not detected. Try rebooting the router.

Access Point Name (APN): ???

Note: You can select Country, Provider and Plan, this will populate the Phone number and APN fields, but remember that these values can be incorrect!

APN field depends on your provider. Try googling "Provider APN". For example, "Tele2 APN".
For Tele2 in Sweden the APN is "".

Phone number: *99# (this is almost always the same)

Init string: &F

Note: your provider may require different, special init string. Different modems also accept different commands. "&F" is a minimal working init string. If you leave this field empty, pfSense will use default "AT&F&C1&D2E0S0=0M1" which won't work.

If you have a PIN set on your SIM card, fill that in. If you don't leave it empty.


Step 4: Assign PPP interface as WAN

Once the PPP is created, go to Interfaces->Assign and select PPP in place of your old WAN.


Step 5: verify that it works

if the stars aligned just right, you should have internet connection through LTE now. The WAN interface should show a green arrow up on the dashboard.


If something went wrong, go to the LTE troubleshooting page.

Good luck!

Tip: check out many similar articles about LTE in our Knowledge Base.

TekLager specializes in selling open source hardware for building routers, firewalls and other network appliances.

wle200nx wireless WiFi kit

356.00 SEK
445.00 SEK incl. vat

APU2D0 Router and 802.11ac 3×3 MIMO Access Point

2273.00 SEK
2841.25 SEK incl. vat