No default route with ppp (GSM) modem



  • To get a backup Internet connection I'm using this GSM modem: HUAWEI MOBILE WCDMA EM770W.
    It is recognized by pfSense and I can connect to my ISP (vodafone germany). Unfortunately I don't get any routing information. The interface (opt2 in my case) is enabled and ipv4/ipv6 configuration is set to "none". All I get are nameservers and a public IP addresses. But no default router. Is  there anything I have to configure to also get the gateway for my ppp connection?

    Thanks,
    Daniel

    /var/etc/mpd_opt2.conf

    startup:
    	# configure the console
    	set console close
    	# configure the web server
    	set web close
    
    default:
    pppclient:
    	create bundle static opt2
    	set bundle enable ipv6cp
    	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 opt2_link0 modem
    	set link action bundle opt2
    	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 "vf"
    	set auth password vf
    	set modem device /dev/cuaU0.0
    	set modem script DialPeer
    	set modem idle-script Ringback
    	set modem watch -cd
    	set modem var $DialPrefix "DT"
    	set modem var $Telephone "*99#"
    	set modem var $InitString "Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
    	set modem var $SimPin "****"
    	set modem var $PinWait "5"
    	set modem var $APN "web.vodafone.de"
    	set modem var $APNum "1"
    	open
    

    ppp syslog

    Mar 20 13:33:53 	ppp: [opt2] IPV6CP: LayerFinish
    Mar 20 13:33:53 	ppp: [opt2] IPV6CP: state change Req-Sent --> Stopped
    Mar 20 13:33:53 	ppp: [opt2] IPV6CP: parameter negotiation failed
    Mar 20 13:33:51 	ppp: [opt2] IPV6CP: SendConfigReq #10
    Mar 20 13:33:49 	ppp: [opt2] IPV6CP: SendConfigReq #9
    Mar 20 13:33:47 	ppp: [opt2] IPV6CP: SendConfigReq #8
    Mar 20 13:33:45 	ppp: [opt2] IPV6CP: SendConfigReq #7
    Mar 20 13:33:43 	ppp: [opt2] IPV6CP: SendConfigReq #6
    Mar 20 13:33:41 	ppp: [opt2] IPV6CP: SendConfigReq #5
    Mar 20 13:33:39 	ppp: [opt2] IPV6CP: SendConfigReq #4
    Mar 20 13:33:38 	ppp: [opt2] IFACE: Rename interface ng0 to ppp0
    Mar 20 13:33:38 	ppp: [opt2] IFACE: Up event
    Mar 20 13:33:37 	ppp: [opt2] 109.41.90.53 -> 10.64.64.0
    Mar 20 13:33:37 	ppp: [opt2] IPCP: LayerUp
    Mar 20 13:33:37 	ppp: [opt2] IPCP: state change Ack-Sent --> Opened
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 139.7.30.125
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 139.7.30.126
    Mar 20 13:33:37 	ppp: [opt2] IPADDR 109.41.90.53
    Mar 20 13:33:37 	ppp: [opt2] IPCP: rec'd Configure Ack #7 (Ack-Sent)
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 139.7.30.125
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 139.7.30.126
    Mar 20 13:33:37 	ppp: [opt2] IPADDR 109.41.90.53
    Mar 20 13:33:37 	ppp: [opt2] IPCP: SendConfigReq #7
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 139.7.30.125
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 139.7.30.126
    Mar 20 13:33:37 	ppp: [opt2] 109.41.90.53 is OK
    Mar 20 13:33:37 	ppp: [opt2] IPADDR 109.41.90.53
    Mar 20 13:33:37 	ppp: [opt2] IPCP: rec'd Configure Nak #6 (Ack-Sent)
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:37 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:37 	ppp: [opt2] IPCP: SendConfigReq #6
    Mar 20 13:33:37 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:37 	ppp: [opt2] IPCP: rec'd Configure Reject #5 (Ack-Sent)
    Mar 20 13:33:37 	ppp: [opt2] IPCP: state change Req-Sent --> Ack-Sent
    Mar 20 13:33:37 	ppp: [opt2] IPCP: SendConfigAck #3
    Mar 20 13:33:37 	ppp: [opt2] IPCP: rec'd Configure Request #3 (Req-Sent)
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:37 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:37 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:37 	ppp: [opt2] IPCP: SendConfigReq #5
    Mar 20 13:33:37 	ppp: [opt2] SECNBNS 10.11.12.14
    Mar 20 13:33:37 	ppp: [opt2] PRINBNS 10.11.12.13
    Mar 20 13:33:37 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:37 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:37 	ppp: [opt2] IPCP: rec'd Configure Nak #4 (Req-Sent)
    Mar 20 13:33:37 	ppp: [opt2] IPV6CP: SendConfigReq #3
    Mar 20 13:33:36 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:36 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:36 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:36 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:36 	ppp: [opt2] IPCP: SendConfigReq #4
    Mar 20 13:33:36 	ppp: [opt2] SECNBNS 10.11.12.14
    Mar 20 13:33:36 	ppp: [opt2] PRINBNS 10.11.12.13
    Mar 20 13:33:36 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:36 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:36 	ppp: [opt2] IPCP: rec'd Configure Nak #3 (Req-Sent)
    Mar 20 13:33:35 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:35 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:35 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:35 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:35 	ppp: [opt2] IPCP: SendConfigReq #3
    Mar 20 13:33:35 	ppp: [opt2] SECNBNS 10.11.12.14
    Mar 20 13:33:35 	ppp: [opt2] PRINBNS 10.11.12.13
    Mar 20 13:33:35 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:35 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:35 	ppp: [opt2] IPCP: rec'd Configure Nak #2 (Req-Sent)
    Mar 20 13:33:35 	ppp: [opt2] IPV6CP: SendConfigReq #2
    Mar 20 13:33:34 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:34 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:34 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:34 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:34 	ppp: [opt2] IPCP: SendConfigReq #2
    Mar 20 13:33:34 	ppp: [opt2] SECNBNS 10.11.12.14
    Mar 20 13:33:34 	ppp: [opt2] PRINBNS 10.11.12.13
    Mar 20 13:33:34 	ppp: [opt2] SECDNS 10.11.12.14
    Mar 20 13:33:34 	ppp: [opt2] PRIDNS 10.11.12.13
    Mar 20 13:33:34 	ppp: [opt2] IPCP: rec'd Configure Nak #1 (Req-Sent)
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: SendConfigReq #1
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: state change Starting --> Req-Sent
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: Up event
    Mar 20 13:33:33 	ppp: [opt2] SECDNS 0.0.0.0
    Mar 20 13:33:33 	ppp: [opt2] PRIDNS 0.0.0.0
    Mar 20 13:33:33 	ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 20 13:33:33 	ppp: [opt2] IPADDR 0.0.0.0
    Mar 20 13:33:33 	ppp: [opt2] IPCP: SendConfigReq #1
    Mar 20 13:33:33 	ppp: [opt2] IPCP: state change Starting --> Req-Sent
    Mar 20 13:33:33 	ppp: [opt2] IPCP: Up event
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: LayerStart
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: state change Initial --> Starting
    Mar 20 13:33:33 	ppp: [opt2] IPV6CP: Open event
    Mar 20 13:33:33 	ppp: [opt2] IPCP: LayerStart
    Mar 20 13:33:33 	ppp: [opt2] IPCP: state change Initial --> Starting
    Mar 20 13:33:33 	ppp: [opt2] IPCP: Open event
    Mar 20 13:33:33 	ppp: [opt2] Bundle: Status update: up 1 link, total bandwidth 28800 bps
    Mar 20 13:33:33 	ppp: [opt2_link0] Link: Join bundle "opt2"
    Mar 20 13:33:33 	ppp: [opt2_link0] Link: Matched action 'bundle "opt2" ""'
    Mar 20 13:33:33 	ppp: [opt2_link0] LCP: authorization successful
    Mar 20 13:33:33 	ppp: [opt2_link0] CHAP: rec'd SUCCESS #1 len: 4
    

Log in to reply