PfSense and Huawei E3276 - 4G



  • I am intending to buy and Huawei E3276 (4G) usb dongle but since it is not listed in the compatibility list (http://doc.pfsense.org/index.php/Known_Working_3G-4G_Modems) I would like to know if someone has some experience with it.



  • good question  ;)



  • I have one here for testing as well.

    I get stuff like this in the logs:

    Mar 29 14:20:18 ppp: [opt3_link0] Link: reconnection attempt 442 in 4 seconds
    Mar 29 14:20:22 ppp: [opt3_link0] Link: reconnection attempt 442
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CPIN?
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CPIN: READY
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","a1.net"
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
    Mar 29 14:20:22 ppp: [opt3_link0] MODEM: chat script failed
    Mar 29 14:20:22 ppp: [opt3_link0] Link: DOWN event
    Mar 29 14:20:22 ppp: [opt3_link0] LCP: Down event
    Mar 29 14:20:22 ppp: [opt3_link0] Link: reconnection attempt 443 in 1 seconds

    Does someone have a pointer?



  • Did you figure this one out?



  • @sgw:

    I have one here for testing as well.

    I get stuff like this in the logs:

    Mar 29 14:20:18 ppp: [opt3_link0] Link: reconnection attempt 442 in 4 seconds
    Mar 29 14:20:22 ppp: [opt3_link0] Link: reconnection attempt 442
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CPIN?
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CPIN: READY
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","a1.net"
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
    Mar 29 14:20:22 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
    Mar 29 14:20:22 ppp: [opt3_link0] MODEM: chat script failed
    Mar 29 14:20:22 ppp: [opt3_link0] Link: DOWN event
    Mar 29 14:20:22 ppp: [opt3_link0] LCP: Down event
    Mar 29 14:20:22 ppp: [opt3_link0] Link: reconnection attempt 443 in 1 seconds

    Does someone have a pointer?

    Still same problem with latest 2.1 stable version.

    ATQ0 V1 E1 S0=0
    AT^NDISDUP=1,1,"internet"
    

    seems to be what is needed instead (if APN is "internet") to connect the umts/gsm side.

    Same modem works on Ubuntu 13.10 (once enabled like this: AT^SETPORT="A1,A2;10,12,13,16"
    and unplugged/replugged).

    Anyone succeeded making Huawei E3276 4G USB stick work with pfsense ?



  • Hi,

    I am also looking to purchase the Huawei E3276 4G USB stick to install with pfsense. Has anyone got this device working yet?

    Thanks
    Zee



  • I have just got this modem as well, using it on pfSense 2.2 snapshots. and no luck :(

    Oct 29 10:24:49	ppp: [opt3] Bundle: Interface ng1 created
    Oct 29 10:24:49	ppp: [opt3_link0] Link: OPEN event
    Oct 29 10:24:49	ppp: [opt3_link0] LCP: Open event
    Oct 29 10:24:49	ppp: [opt3_link0] LCP: state change Initial --> Starting
    Oct 29 10:24:49	ppp: [opt3_link0] LCP: LayerStart
    Oct 29 10:25:02	ppp: [opt3_link0] CHAT: The modem is not responding to "AT" at ModemCmd: label.
    Oct 29 10:25:02	ppp: [opt3_link0] MODEM: chat script failed
    Oct 29 10:25:02	ppp: [opt3_link0] Link: DOWN event
    Oct 29 10:25:02	ppp: [opt3_link0] LCP: Down event
    Oct 29 10:25:02	ppp: [opt3_link0] Link: reconnection attempt 1 in 2 seconds
    Oct 29 10:25:04	ppp: [opt3_link0] Link: reconnection attempt 1
    Oct 29 10:25:18	ppp: [opt3_link0] CHAT: The modem is not responding to "AT" at ModemCmd: label.
    Oct 29 10:25:18	ppp: [opt3_link0] MODEM: chat script failed
    Oct 29 10:25:18	ppp: [opt3_link0] Link: DOWN event
    Oct 29 10:25:18	ppp: [opt3_link0] LCP: Down event
    Oct 29 10:25:18	ppp: [opt3_link0] Link: reconnection attempt 2 in 4 seconds
    Oct 29 10:25:22	ppp: [opt3_link0] Link: reconnection attempt 2
    

    Any ideas why the At command is failing?



  • So i've decided to do a bit of poking around. Using ppp i am able to send commands to the modem (/dev/cuaU1 worked for me). Things like AT, ATZ worked fine. Checking the logs of pfsense after changing my ppp config to use /dev/cuaU1 in the logs pfsense was failing at AT&F&C1&D2E0S0=0M1. I found that running this manually and removing the S0=0 string it worked. After this i wasn't able to do anything further.


  • Netgate Administrator

    You mean that after using a slightly different modem init script you were able to use it to connect? Can you not just enter that as a custom init script?

    Steve