3G USB modem Rogers Stick mf688 Pfsense Beta-5\. Issues getting 3G running



  • I'm using Pfsense 2.0 Beta5

    I get the error when trying to get a ZTE 668 (Rogers Rocketstick) running. 
    Mar 29 15:35:39 ppp: [opt1] can't config [20]:: Invalid argument
    What does this mean?

    At first I had to disable the ZeroCD on the rogers stick using the AT+ZCDRUN=8 command from windows using hyperterminal. As it was being detected as a USB media device, and not get detected as a modem
    and I could not select a PPP device from the GUI list. Before doing this.
    Now it works and seems to respond to AT command at /dev/cuaU0.2
    The other ports it creates I get no responses.

    dmesg shows
    Mar 29 15:49:47 kernel: ugen1.2: <zte,incorporated>at usbus1
    Mar 29 15:49:47 kernel: u3g0: <zte,incorporated 0="" 2="" zte="" hspa="" technologies="" msm,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr="">on usbus1
    Mar 29 15:49:47 kernel: u3g0: Found 4 ports.

    Also I notice, for my config with rogers I am not suppose to use a authname, it should be blank
    BUT even though in the GUI its left as blank the log shows the following
    Mar 29 15:35:39 ppp: [opt1_link0] CHAP: Using authname "user"

    Is there anyone out there getting any modem of 3G successfuly working on pfsense 2.0
    Anyone have any idea what the error I am getting means.
    –----------------------------------------------------------------------------

    Mar 29 15:35:39 ppp: [opt1_link0] chat: Connected at 21000000.
    Mar 29 15:35:39 ppp: [opt1_link0] MODEM: chat script succeeded
    Mar 29 15:35:39 ppp: [opt1_link0] Link: UP event
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: Up event
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: state change Starting –> Req-Sent
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: SendConfigReq #1
    Mar 29 15:35:39 ppp: [opt1_link0] ACFCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] PROTOCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] ACCMAP 0x000a0000
    Mar 29 15:35:39 ppp: [opt1_link0] MRU 1500
    Mar 29 15:35:39 ppp: [opt1_link0] MAGICNUM 6092618c
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: rec'd Configure Request #0 (Req-Sent)
    Mar 29 15:35:39 ppp: [opt1_link0] ACCMAP 0x00000000
    Mar 29 15:35:39 ppp: [opt1_link0] AUTHPROTO CHAP MD5
    Mar 29 15:35:39 ppp: [opt1_link0] MAGICNUM 02df31e0
    Mar 29 15:35:39 ppp: [opt1_link0] PROTOCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] ACFCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: SendConfigAck #0
    Mar 29 15:35:39 ppp: [opt1_link0] ACCMAP 0x00000000
    Mar 29 15:35:39 ppp: [opt1_link0] AUTHPROTO CHAP MD5
    Mar 29 15:35:39 ppp: [opt1_link0] MAGICNUM 02df31e0
    Mar 29 15:35:39 ppp: [opt1_link0] PROTOCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] ACFCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: state change Req-Sent –> Ack-Sent
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
    Mar 29 15:35:39 ppp: [opt1_link0] ACFCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] PROTOCOMP
    Mar 29 15:35:39 ppp: [opt1_link0] ACCMAP 0x000a0000
    Mar 29 15:35:39 ppp: [opt1_link0] MRU 1500
    Mar 29 15:35:39 ppp: [opt1_link0] MAGICNUM 6092618c
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: state change Ack-Sent –> Opened
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: auth: peer wants CHAP, I want nothing
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: LayerUp
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: rec'd Discard Request #1 (Opened)
    Mar 29 15:35:39 ppp: [opt1_link0] CHAP: rec'd CHALLENGE #1 len: 35
    Mar 29 15:35:39 ppp: [opt1_link0] Name: "UMTS_CHAP_SRVR"
    Mar 29 15:35:39 ppp: [opt1_link0] CHAP: Using authname "user"
    Mar 29 15:35:39 ppp: [opt1_link0] CHAP: sending RESPONSE #1 len: 25
    Mar 29 15:35:39 ppp: [opt1_link0] CHAP: rec'd SUCCESS #1 len: 4
    Mar 29 15:35:39 ppp: [opt1_link0] LCP: authorization successful
    Mar 29 15:35:39 ppp: [opt1_link0] Link: Matched action 'bundle "opt1" ""'
    Mar 29 15:35:39 ppp: [opt1_link0] Link: Join bundle "opt1"
    Mar 29 15:35:39 ppp: [opt1] Bundle: Status update: up 1 link, total bandwidth 21000000 bps
    Mar 29 15:35:39 ppp: [opt1] can't config [20]:: Invalid argument
    Mar 29 15:35:39 ppp: fatal error, exiting
    Mar 29 15:35:39 ppp: [opt1] IFACE: Close event
    Mar 29 15:35:39 ppp: [opt1] IPCP: Close event
    Mar 29 15:35:39 ppp: [opt1] Bundle: Shutdown
    Mar 29 15:35:39 ppp: [opt1_link0] Link: Shutdown
    Mar 29 15:35:39 ppp: process 54001 terminated

    –----------------------------------------------------
    Here is the /var/etc/mpd_opt1.conf

    startup:
            # configure the console
            set console close
            # configure the web server
            set web close

    default:
    pppclient:
            create bundle static opt1
            set iface name ppp0
            set iface disable on-demand
            set iface idle 0
            set iface enable tcpmssfix
            set iface up-script /usr/local/sbin/ppp-linkup
            set iface down-script /usr/local/sbin/ppp-linkdown
            set ipcp ranges 0.0.0.0/0 10.64.64.0/0
            set ipcp enable req-pri-dns
            set ipcp enable req-sec-dns
            #log -bund -ccp -chat -iface -ipcp -lcp -link

    create link static opt1_link0 modem
            set link action bundle opt1
            set link disable multilink
            set link keep-alive 10 60
            set link max-redial 0
            set link disable chap pap
            set link accept chap pap eap
            set link disable incoming
            set link mtu 1492
            set auth authname "user"
            set auth password \x9e\x89\xde
            set modem device /dev/cuaU0.2
            set modem script DialPeer
            set modem idle-script Ringback
            set modem watch -cd
            set modem var $DialPrefix "DT"
            set modem var $Telephone "99**1#"
            set modem var $APN "internet.com"
            set modem var $APNum "1"
            open^M</zte,incorporated></zte,incorporated>



  • @networks:

    Is there anyone out there getting any modem of 3G successfuly working on pfsense 2.0

    I've successfully used a Huawei E1762 with pfSense 2.0 on the Optus network in Australia but not for a couple of months. Others have reported success with other modems.



  • I use a variety of cards on US providers, not sure on Rogers but I think some have reported success here. The autofill settings should be correct, we use the same list there that many other projects use. May want to do some searching on using your card and Rogers with FreeBSD specifically, or with Linux to get at least the settings used (number, user, pass, etc.).



  • see http://forum.pfsense.org/index.php/topic,28649.0.html

    Seems issue is not with settings (see link within above link re mpd). Huawei e398 LTE modem gives same error in pfsense but works with Linux (Ubuntu 10.10).


Log in to reply