Friday 24 January 2020

pfSense 4G internet via a Netgear AC800S modem on Optus


ADSL sucks and NBN is available but proving to be a hassle with unit body corporate and being a renter.

Optus offer 5G wireless home broadband but only 1 Access Point is available and it locks down bridge mode.
4G wireless speeds are still fantastic compared to ADSL and comparable with NBN.

A certified device for Optus 4G is the netgear AC800S. You can pick these up for cheap on ebay and purchase a BYOD wireless plan and Optus will send you the SIM.

The challenge is to
A) Get pfSense to recognise the modem as an ethernet device, cos it won't by default.
B) Persist the Modem as an Ethernet device across reboots. If the interface isn't properly recognised pfSense will force an interface assignment configuration upon reboot. You'll be wondering why your router never reboots properly until you connect a monitor cable and look at the console.

After much messing around, here is what worked for me.

  1. access the admin page of the AC800S device, set it to bridge mode
  2. edit the pfSense  /boot/loader.conf.local and insert:
    hw.usb.quirk.0="0x0846 0x68e1 0 0xffff UQ_CFG_INDEX_1"
  3. reboot pfSense
  4. change your WAN interface assignment to UE0 
  5. change the WAN interface to DHCP
  6. edit the gateway (system-routing-gateways), go advanced, set 'use non local gateway'
done!

other results from google talked about putting: 

Usbconfig -d 0.2 set_config 1
Sleep 60

into an earlyshellcmd, but I found this didn't work for me