2.0RC1 : PPPoE not working yet



  • Hi,
    first of all thanks to every one for the help and contribution you are giving to newbie like me.

    I have used for 5 years m0n0wall successfully in many installation.
    As we have shifted our business to a new plant, we have 2 ADSL connection that we have decided to use it as folow:

    • ADSL #1 for telephone Voip only
    • ADSL #2 for internet, mail, etc only
      This because ADSL #1 is very good as ping while ADSL2 is excellent in terms of speed etc.

    We had 2 choice: either use 2 separate embedded system, both in m0n0wall, one handling each of the ADSL, or move into 1 server with PFSENSE and multiwan, especially 2.0 due both ADSL have their own particular device that require PPPoE to be handled by the firewall.

    Anyhow, although I think to have a good experience in PFSENSE 1.2.x that working perfectly with any ADSL (WAN:PPPOE), I'm not able to have the WAN up and connected.

    Burned latest snapshot (12 march) of PFSENSE 2.0RC1 on a new cd, live it and installed on a Dell Server PE 750 (P4 2.8 with 1GB ram, 1 HDD 40GB) with the only 2 em port onboard (without any other network card for this initial setup) I was confident that everything was going smooth.

    Once installed and assigned em0 for LAN and em1 for WAN, changed the IP to 192.168.0.1/24 without DHCP, I can successfully login from remote pc.

    As usual go to INTERFACES change the WAN from DHCP to PPPOE.
    Type in both USERID and PASSWORD correctly 5 times, WAN interface remain DOWN all the time; a reboot of PFSENSE doesn't help.
    When I try to push the button "CONNECT" on the status-page for interface, it doesn't help. It remain down.
    Ethernet modem is connected and working.
    I'm sure about this because 5 minutes later, a live-cd m0n0wall 1.3.2 is working perfectly.
    Startup (with a floppy where to save the config is inserted), assigned em0/em1 and ip/24.
    Remotely access, completed the configuration of WAN and it's up in less than 30 second.
    All the PC on the network can surf without hassle.

    Back to PFSENSE, it seems that WAN is not trying at all to connect.
    I have typed in the USERID and PASSWORD 5 times, copy & past, digit one-by-one, copy from m0n0wall config, etc.
    No way… WAN is dead.

    Switch off and tried the other ADSL (with its ADSL modem) and again... m0n0wall perfect, PFSENSE's WAN down and dead.

    I reconfirm: I have tried only 1 wan (Adsl PPPOE) at a time.
    I like to take 1 stage at time.

    One question: does PFSENSE change the PPPoE/WAN setup procedure from 1.2.x to 2.0 ?
    Am I missing something ?

    Ethernet (em0 em1), ethernet modems etc are working otherwise they shouldn't work also in m0n0wall. But there they are perfect.

    Thank you
    P.



  • Forgot to mention 1 thing….

    PFSENSE 1.2.3 live cd + floppy is working perfectly.

    PFSENSE 2.0RC1 live cd with floppy is again not working (no difference from livecd -or- installed on hd).
    I have tried to copy 2.0RC1 configuration on the floppy used by 1.2.3 and run it: not working!


  • Netgate Administrator

    Have you tried the official rc1 release, 20110226?

    Steve



  • Hi Steve

    thanks for your quick reply.

    No I haven't!

    I was thinking that latest snapshot should be "better" than previous RC date
    My mistake then.
    I will give it a try tomorrow morning when back office.
    DOwnloading now.

    Keep informed & thanks.


  • Rebel Alliance

    Hi, im new to pfSense too, and i have problems with my PPPoE config, till i set "configure a NULL service name " ( Interfaces : PPPs : Edit )

    ( my ISP use "My_server" as service name and pfS dont allow this name )

    Now im a happy pfSense user, since 4 months ago…..    :D



  • The ppp log could also provide some useful hints as to what is wrong. See Status -> System logs, click on PPP tab



  • @wallabybob:

    The ppp log could also provide some useful hints as to what is wrong. See Status -> System logs, click on PPP tab

    Hi downloaded RC1 (feb 2011) as suggested by Steve.
    Still not working.
    Tried both way : WAN manual setup and through WIZARD.
    Both give me same log.
    Here below just 1 of the 2 as they are the same…

    Mar 14 07:19:44 ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 14 07:19:44 ppp: [wan_link0] Link: DOWN event
    Mar 14 07:19:44 ppp: [wan_link0] LCP: Down event
    Mar 14 07:19:44 ppp: [wan_link0] Link: reconnection attempt 1 in 2 seconds
    Mar 14 07:19:46 ppp: [wan_link0] Link: reconnection attempt 1
    Mar 14 07:19:46 ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 14 07:19:55 ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 14 07:19:55 ppp: [wan_link0] Link: DOWN event
    Mar 14 07:19:55 ppp: [wan_link0] LCP: Down event
    Mar 14 07:19:55 ppp: [wan_link0] Link: reconnection attempt 2 in 3 seconds
    Mar 14 07:19:58 ppp: [wan_link0] Link: reconnection attempt 2
    Mar 14 07:19:58 ppp: [wan_link0] PPPoE: Connecting to '
    '
    Mar 14 07:20:07 ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 14 07:20:07 ppp: [wan_link0] Link: DOWN event
    Mar 14 07:20:07 ppp: [wan_link0] LCP: Down event
    Mar 14 07:20:07 ppp: [wan_link0] Link: reconnection attempt 3 in 3 seconds
    Mar 14 07:20:10 ppp: [wan_link0] Link: reconnection attempt 3
    Mar 14 07:20:10 ppp: [wan_link0] PPPoE: Connecting to '*'
    Mar 14 07:20:19 ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 14 07:20:19 ppp: [wan_link0] Link: DOWN event
    Mar 14 07:20:19 ppp: [wan_link0] LCP: Down event

    Now running M0n0wall 1.3.2. same modem, same em0, WAN up and smooth.



  • i'm seeing a similar issue with pppoe. i did manage to get it to connect once but have no idea what i managed to fluke.
    I've currently got a failover configured to a nextg modem and am running in that.
    I haven't put a packet sniffer onto the wan ethernet port to confirm this but I don't see any indication of Ip traffic on the LAN side of the modem.
    When i connect the modem back onto an IPCOP system it comes up straight away.



  • I have gave up, at least for the moment, as I don't have time to invest around this….

    I have 2 server PE750 and I spli the 2 ADSL connection into these 2 machines.
    Now both networks are run and Voip working.

    I will stuck to this until I will have sometime to test and see what is happening with PFSENSE.



  • Had a bit more of as play this morning.
    it appears to be related to what is and isn't plugged in when the pfsense box is rebooted.
    there appears to be a race condition that excludes the second wan device ( whichever is happens to be ) from connecting.
    almost as though oce the ppp script starts with a failed connection it can't ever connect to the wan device to complete a connection.
    is there anyway i can abort the failed ppp process and restart a new process to see if that works?

    not sure whaat else to do.



  • if the hsdpa usb modem is connected and the wan interface isn't connected during startup it doesn't seem to bring up the pppoe connection via the bridged adsl modem. ie no ethernet cable to adsl bridged modem and hsdpa modem connected during reboot of pfsense box. ppp log says it is trying but there is no ethernet traffic ( confirmed with a hub and wireshark ) on the wan port.
    if the link is up during boot ( even just connected to the hub with no modem ) when the adsl modem is connected it connects.
    ifconfig is reporting the correct state of the hardware link.

    summary.
    1/ ethernet link active ( hub and/or adsl bridged modem ) and hsdpa usb modem connected or disconnected.
    Then when adsl bridge modem is connected then pppoe connection comes up ok. hdspa modem doesn't connect.
    2/ no ethernet link active during boot, hsdpa modem connected.
    no traffic on ethernet link and adsl link never connects even though ifconfig detects link status. hdspa connects ok.

    is there an issue with a pppoe wan link and another wan link using ppp ( umts/hsdpa usb modem )? ie is there a limit on the number of ppp connections for wan links?



  • Please put screenshots of all your configs or config.xml here.
    I have not understood the config explanation.



  • internet <-> adsl bridge modem <-> ethernet ( WAN PPPoE ) <-> |            | <-> ethernet ( LAN bridged with wireless )
    internet <-> HSDPA Cellular modem <-> USB ( OPT3 PPP )     <-> | pfsense| <-> wireless ( LAN bridged with LAN)

    
     <pfsense><version>7.7</version>
    	 <lastchange><theme>pfsense_ng</theme>
    	 <sysctl><tunable>debug.pfftpproxy</tunable>
    			<value>default</value> 
    		 <tunable>vfs.read_max</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.ip.portrange.first</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.blackhole</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.udp.blackhole</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.ip.random_id</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.drop_synfin</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.ip.redirect</tunable>
    			<value>default</value> 
    		 <tunable>net.inet6.ip6.redirect</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.syncookies</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.recvspace</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.sendspace</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.ip.fastforwarding</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.delayed_ack</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.udp.maxdgram</tunable>
    			<value>default</value> 
    		 <tunable>net.link.bridge.pfil_onlyip</tunable>
    			<value>default</value> 
    		 <tunable>net.link.bridge.pfil_member</tunable>
    			<value>default</value> 
    		 <tunable>net.link.bridge.pfil_bridge</tunable>
    			<value>default</value> 
    		 <tunable>net.link.tap.user_open</tunable>
    			<value>default</value> 
    		 <tunable>kern.rndtest.verbose</tunable>
    			<value>default</value> 
    		 <tunable>kern.randompid</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.ip.intr_queue_maxlen</tunable>
    			<value>default</value> 
    		 <tunable>hw.syscons.kbd_reboot</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.inflight.enable</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.log_debug</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.icmp.icmplim</tunable>
    			<value>default</value> 
    		 <tunable>net.inet.tcp.tso</tunable>
    			<value>default</value> 
    		 <tunable>kern.ipc.maxsockbuf</tunable>
    			<value>default</value></sysctl> 
    	 <system><optimization>normal</optimization>
    		<hostname>pfsense</hostname>
    		<domain>localdomain</domain>
    		 <group><name>all</name>
    
    			<scope>system</scope>
    			<gid>1998</gid>
    			<member>0</member></group> 
    		 <group><name>admins</name>
    
    			<scope>system</scope>
    			<gid>1999</gid>
    			<member>0</member>
    			<priv>page-all</priv></group> 
    		 <user><name>admin</name>
    
    			<scope>system</scope>
    			<groupname>admins</groupname>
    			<password></password>
    			<uid>0</uid>
    			<priv>user-shell-access</priv>
    			<md5-hash></md5-hash>
    			<nt-hash></nt-hash></user> 
    		<nextuid>2000</nextuid>
    		<nextgid>2000</nextgid>
    		<timezone>Australia/Perth</timezone>
    		 <time-update-interval><timeservers>ntp.westnet.net.au 0.pfsense.pool.ntp.org</timeservers>
    		 <webgui><protocol>https</protocol>
    			<ssl-certref>4d79bbfce9eb9</ssl-certref></webgui> 
    		<disablenatreflection>yes</disablenatreflection>
    		 <disablesegmentationoffloading><disablelargereceiveoffloading><enablesshd><rrdbackup>24</rrdbackup>
    		<dns1gwint>wan</dns1gwint>
    		<dns2gwint>opt3</dns2gwint>
    		<dns3gwint>wan</dns3gwint>
    		<dns4gwint>opt3</dns4gwint>
    		<dnsserver>203.56.14.17</dnsserver>
    		<dnsserver>203.50.2.71</dnsserver>
    		<dnsserver>203.56.14.20</dnsserver>
    		<dnsserver>139.130.4.4</dnsserver>
    		 <dnsallowoverride><gitsync><repositoryurl><branch></branch></repositoryurl></gitsync></dnsallowoverride></enablesshd></disablelargereceiveoffloading></disablesegmentationoffloading></time-update-interval></system> 
    	 <interfaces><wan><if>pppoe0</if>
    			 <blockpriv><blockbogons><media><mediaopt><spoofmac><enable><ipaddr>pppoe</ipaddr></enable></spoofmac></mediaopt></media></blockbogons></blockpriv></wan> 
    		 <lan><enable><if>bridge0</if>
    			 <media><mediaopt><ipaddr>192.168.128.254</ipaddr>
    			<subnet>24</subnet>
    			 <spoofmac></spoofmac></mediaopt></media></enable></lan> 
    		 <opt1><if>ath0</if>
    			 <wireless><mode>hostap</mode>
    				<standard>11g</standard>
    				<protmode>off</protmode>
    				<ssid>sages1</ssid>
    				<channel>6</channel>
    				<authmode></authmode>
    				<txpower>99</txpower>
    				 <distance><regdomain>row</regdomain>
    				<regcountry>AU</regcountry>
    				 <reglocation><wpa><macaddr_acl></macaddr_acl>
    					<auth_algs>1</auth_algs>
    					<wpa_mode>3</wpa_mode>
    					<wpa_key_mgmt>WPA-PSK</wpa_key_mgmt>
    					<wpa_pairwise>CCMP TKIP</wpa_pairwise>
    					<wpa_group_rekey>60</wpa_group_rekey>
    					<wpa_gmk_rekey>3600</wpa_gmk_rekey>
    					<passphrase></passphrase>
    					<ext_wpa_sw></ext_wpa_sw>
    					 <enable></enable></wpa> 
    				 <auth_server_addr><auth_server_port><auth_server_shared_secret><turbo><wme><enable></enable></wme></turbo></auth_server_shared_secret></auth_server_port></auth_server_addr></reglocation></distance></wireless> 
    			 <enable><spoofmac></spoofmac></enable></opt1> 
    		 <opt2><if>rl0</if>
    			 <enable><spoofmac></spoofmac></enable></opt2> 
    		 <opt3><if>ppp2</if>
    			<ipaddr>ppp</ipaddr>
    			 <spoofmac><enable></enable></spoofmac></opt3></interfaces> 
    	 <staticroutes><dhcpd><lan><enable><range><from>192.168.128.100</from>
    				<to>192.168.128.250</to></range> 
    			 <defaultleasetime><maxleasetime><netmask><failover_peerip><gateway><domain><domainsearchlist><ddnsdomain><tftp><ldap><next-server><filename><rootpath><numberoptions><staticmap><mac>00:00:48:7b:74:a9</mac>
    				<ipaddr>192.168.128.80</ipaddr>
    				<hostname>EPSON7B7479</hostname></staticmap> 
    			 <staticmap><mac>00:15:65:10:43:85</mac>
    				<ipaddr>192.168.128.81</ipaddr>
    				<hostname>VOIP</hostname></staticmap> 
    			<winsserver>192.168.128.1</winsserver>
    			<ntpserver>192.168.128.254</ntpserver></numberoptions></rootpath></filename></next-server></ldap></tftp></ddnsdomain></domainsearchlist></domain></gateway></failover_peerip></netmask></maxleasetime></defaultleasetime></enable></lan></dhcpd> 
    	 <pptpd><mode><redir><localip></localip></redir></mode></pptpd> 
    	 <dnsmasq><enable><regdhcp><regdhcpstatic><hosts><host>mail</host>
    			<domain>sages.com.au</domain>
    			<ip>192.168.128.1</ip></hosts></regdhcpstatic></regdhcp></enable></dnsmasq> 
    	 <snmpd><syslocation><syscontact><rocommunity>public</rocommunity></syscontact></syslocation></snmpd> 
    	 <diag><ipv6nat><ipaddr></ipaddr></ipv6nat></diag> 
    	 <bridge><syslog><reverse><nentries>500</nentries></reverse></syslog> 
    	 <nat><ipsecpassthru><enable></enable></ipsecpassthru> 
    		 <rule><source>
    				 <any><destination><network>wanip</network>
    				<port>80</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>80</local-port>
    			<interface>wan</interface>
    			 <descr><associated-rule-id>nat_4d79ee608d8bc8.84269583</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>wanip</network>
    				<port>443</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>443</local-port>
    			<interface>wan</interface>
    			 <descr><associated-rule-id>nat_4d79ee8e5cbbf6.69418561</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>wanip</network>
    				<port>25</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>25</local-port>
    			<interface>wan</interface>
    			 <descr><associated-rule-id>nat_4d79eeae592b77.59055317</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>wanip</network>
    				<port>22</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>22</local-port>
    			<interface>wan</interface>
    			 <descr><associated-rule-id>nat_4d79f91d3a9309.70392785</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>opt3ip</network>
    				<port>80</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>80</local-port>
    			<interface>opt3</interface>
    			 <descr><associated-rule-id>nat_4d7f0795c5d453.74966316</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>opt3ip</network>
    				<port>443</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>443</local-port>
    			<interface>opt3</interface>
    			 <descr><associated-rule-id>nat_4d7f07aee17e13.49596429</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>opt3ip</network>
    				<port>25</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>25</local-port>
    			<interface>opt3</interface>
    			 <descr><associated-rule-id>nat_4d7f07ca6e0d48.51856478</associated-rule-id></descr></any></rule> 
    		 <rule><source>
    				 <any><destination><network>opt3ip</network>
    				<port>22</port></destination> 
    			<protocol>tcp</protocol>
    			<target>192.168.128.1</target>
    			<local-port>22</local-port>
    			<interface>opt3</interface>
    			 <descr><associated-rule-id>nat_4d7f07e09e6cf5.32996948</associated-rule-id></descr></any></rule></nat> 
    	 <filter><rule><type>match</type>
    
    			<protocol>udp</protocol>
    			<source>
    				 <any><defaultqueue>qVoIP</defaultqueue>
    			 <destination><any></any></destination> 
    			<iptos>lowdelay</iptos>
    			<floating>yes</floating>
    			<wizard>yes</wizard>
    			<enabled>on</enabled></any></rule> 
    		 <rule><id><type>pass</type>
    			<interface>wan</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><protocol>tcp/udp</protocol>
    			<source>
    				 <any><destination><network>wanip</network></destination> 
    			 <disabled></disabled></any></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><direction>in</direction>
    			<source>
    				 <any><destination><network>wanip</network>
    				<port>1195</port></destination> 
    			<interface>wan</interface>
    			<protocol>udp</protocol>
    			<type>pass</type>
    			<enabled>on</enabled></any></rule> 
    		 <rule><source>
    				 <any><interface>wan</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>22</port></destination> 
    
    			<associated-rule-id>nat_4d79f91d3a9309.70392785</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>wan</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>80</port></destination> 
    
    			<associated-rule-id>nat_4d79ee608d8bc8.84269583</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>wan</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>443</port></destination> 
    
    			<associated-rule-id>nat_4d79ee8e5cbbf6.69418561</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>wan</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>25</port></destination> 
    
    			<associated-rule-id>nat_4d79eeae592b77.59055317</associated-rule-id></any></rule> 
    		 <rule><id><type>pass</type>
    			<interface>wan</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><protocol>icmp</protocol>
    			<source>
    				 <any><destination><network>wanip</network></destination></any></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><id><type>pass</type>
    			<interface>lan</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><source>
    				 <any><destination><any></any></destination> 
    			 <descr><gateway>Internet</gateway></descr></any></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><id><type>pass</type>
    			<interface>lan</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><source>
    				<network>lan</network>
    
    			 <destination><any></any></destination></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><source>
    				 <any><destination><any></any></destination> 
    			<interface>openvpn</interface>
    			<type>pass</type>
    			<enabled>on</enabled></any></rule> 
    		 <rule><id><type>pass</type>
    			<interface>opt1</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><protocol>tcp</protocol>
    			<source>
    				<network>opt1</network>
    
    			 <destination><any></any></destination> 
    			 <disabled></disabled></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><id><type>pass</type>
    			<interface>opt3</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><protocol>tcp/udp</protocol>
    			<source>
    				 <any><destination><network>opt3ip</network></destination> 
    			 <disabled></disabled></any></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><id><type>pass</type>
    			<interface>opt3</interface>
    			 <tag><tagged><max><max-src-nodes><max-src-conn><max-src-states><statetimeout><statetype>keep state</statetype>
    			 <os><protocol>icmp</protocol>
    			<source>
    				 <any><destination><network>opt3ip</network></destination></any></os></statetimeout></max-src-states></max-src-conn></max-src-nodes></max></tagged></tag></id></rule> 
    		 <rule><source>
    				 <any><interface>opt3</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>80</port></destination> 
    
    			<associated-rule-id>nat_4d7f0795c5d453.74966316</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>opt3</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>443</port></destination> 
    
    			<associated-rule-id>nat_4d7f07aee17e13.49596429</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>opt3</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>25</port></destination> 
    
    			<associated-rule-id>nat_4d7f07ca6e0d48.51856478</associated-rule-id></any></rule> 
    		 <rule><source>
    				 <any><interface>opt3</interface>
    			<protocol>tcp</protocol>
    			 <destination><address>192.168.128.1</address>
    
    				<port>22</port></destination> 
    
    			<associated-rule-id>nat_4d7f07e09e6cf5.32996948</associated-rule-id></any></rule></filter> 
    	 <shaper><queue><interface>wan</interface>
    			<name>wan</name>
    			<scheduler>HFSC</scheduler>
    			<bandwidth>4000</bandwidth>
    			<bandwidthtype>Kb</bandwidthtype>
    			 <queue><name>qACK</name>
    				<interface>wan</interface>
    				<priority>6</priority>
    				<bandwidth>19.75</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>19.75%</linkshare3>
    				<linkshare>on</linkshare></queue> 
    			 <queue><name>qDefault</name>
    				<interface>wan</interface>
    				<priority>3</priority>
    				<bandwidth>9.875</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<default>on</default>
    				<ecn>on</ecn></queue> 
    			 <queue><name>qP2P</name>
    				<interface>wan</interface>
    				<priority>1</priority>
    				<bandwidth>4.9375</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>4.9375%</linkshare3>
    				<linkshare>on</linkshare>
    				<upperlimit3>4.9375%</upperlimit3>
    				<upperlimit>on</upperlimit></queue> 
    			 <queue><name>qVoIP</name>
    				<interface>wan</interface>
    				<priority>7</priority>
    				<bandwidth>32</bandwidth>
    				<bandwidthtype>Kb</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<realtime3>50Kb</realtime3>
    				<realtime>on</realtime></queue> 
    			 <queue><name>qOthersHigh</name>
    				<interface>wan</interface>
    				<priority>4</priority>
    				<bandwidth>9.875</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>9.875%</linkshare3>
    				<linkshare>on</linkshare></queue> 
    			 <queue><name>qOthersLow</name>
    				<interface>wan</interface>
    				<priority>2</priority>
    				<bandwidth>4.9375</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>4.9375%</linkshare3>
    				<linkshare>on</linkshare></queue></queue> 
    		 <queue><interface>opt3</interface>
    			<name>opt3</name>
    			<scheduler>HFSC</scheduler>
    			<bandwidth>500</bandwidth>
    			<bandwidthtype>Kb</bandwidthtype>
    			 <queue><name>qACK</name>
    				<interface>opt3</interface>
    				<priority>6</priority>
    				<bandwidth>18</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>18%</linkshare3>
    				<linkshare>on</linkshare></queue> 
    			 <queue><name>qDefault</name>
    				<interface>opt3</interface>
    				<priority>3</priority>
    				<bandwidth>9</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<default>on</default>
    				<ecn>on</ecn></queue> 
    			 <queue><name>qP2P</name>
    				<interface>opt3</interface>
    				<priority>1</priority>
    				<bandwidth>4.5</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>4.5%</linkshare3>
    				<linkshare>on</linkshare>
    				<upperlimit3>4.5%</upperlimit3>
    				<upperlimit>on</upperlimit></queue> 
    			 <queue><name>qVoIP</name>
    				<interface>opt3</interface>
    				<priority>7</priority>
    				<bandwidth>32</bandwidth>
    				<bandwidthtype>Kb</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<realtime3>50Kb</realtime3>
    				<realtime>on</realtime></queue> 
    			 <queue><name>qOthersHigh</name>
    				<interface>opt3</interface>
    				<priority>4</priority>
    				<bandwidth>9</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>9%</linkshare3>
    				<linkshare>on</linkshare></queue> 
    			 <queue><name>qOthersLow</name>
    				<interface>opt3</interface>
    				<priority>2</priority>
    				<bandwidth>4.5</bandwidth>
    				<bandwidthtype>%</bandwidthtype>
    				<enabled>on</enabled>
    				<ecn>on</ecn>
    				<linkshare3>4.5%</linkshare3>
    				<linkshare>on</linkshare></queue></queue></shaper> 
    	 <ipsec><preferoldsa></preferoldsa></ipsec> 
    	 <aliases><alias><name>fwbox</name>
    
    <address>192.168.128.1</address>
    
    			<type>host</type>
    			<detail></detail></alias></aliases> 
    	 <proxyarp><cron><minute>0</minute>
    			<hour>*</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 newsyslog 
    		 <minute>1,31</minute>
    			<hour>0-5</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 adjkerntz -a 
    		 <minute>1</minute>
    			<hour>3</hour>
    			<mday>1</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 /etc/rc.update_bogons.sh 
    		 <minute>*/60</minute>
    			<hour>*</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout 
    		 <minute>1</minute>
    			<hour>1</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 /etc/rc.dyndns.update 
    		 <minute>*/60</minute>
    			<hour>*</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot 
    		 <minute>30</minute>
    			<hour>12</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/usr/bin/nice -n20 /etc/rc.update_urltables 
    		 <minute>0</minute>
    			<hour>*/24</hour>
    			<mday>*</mday>
    			<month>*</month>
    			<wday>*</wday>
    			<who>root</who>
    			<command></command>/etc/rc.backup_rrd.sh</cron> 
    	 <wol><rrd><enable></enable></rrd> 
    	 <load_balancer><monitor_type><name>ICMP</name>
    			<type>icmp</type></monitor_type> 
    		 <monitor_type><name>TCP</name>
    			<type>tcp</type></monitor_type> 
    		 <monitor_type><name>HTTP</name>
    			<type>http</type>
    
    			 <options><path>/</path>
    				 <host>`200`</host></options></monitor_type> 
    		 <monitor_type><name>HTTPS</name>
    			<type>https</type>
    
    			 <options><path>/</path>
    				 <host>`200`</host></options></monitor_type> 
    		 <monitor_type><name>SMTP</name>
    			<type>send</type>
    
    			 <options><send>EHLO nosuchhost</send>
    				<expect>250-</expect></options></monitor_type></load_balancer> 
    	 <widgets><sequence>system_information-container:col1:show,captive_portal_status-container:col1:close,carp_status-container:col1:close,cpu_graphs-container:col1:close,gateways-container:col1:close,gmirror_status-container:col1:close,installed_packages-container:col1:close,interface_statistics-container:col1:show,interfaces-container:col2:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,picture-container:col2:close,rss-container:col2:close,services_status-container:col2:close,traffic_graphs-container:col2:close,openvpn-container:col2:none,wake_on_lan-container:col2:none</sequence></widgets> 
    	 <revision><time>1300173191</time>
    
    		<username>admin</username></revision> 
    	 <openvpn><openvpn-server><vpnid>2</vpnid>
    			 <disable><mode>server_tls_user</mode>
    			<authmode>Local Database</authmode>
    			<protocol>UDP</protocol>
    			 <ipaddr><interface>wan</interface>
    			<local_port>1194</local_port>
    
    			 <custom_options><caref>4d79f5e632d90</caref>
    			 <crlref><certref>4d79f645221d4</certref>
    			<dh_length>1024</dh_length>
    			 <strictusercn><crypto>AES-128-CBC</crypto>
    			<engine>none</engine>
    			<tunnel_network>10.21.162.0/24</tunnel_network>
    			 <remote_network><gwredir><local_network>192.168.128.0/24</local_network>
    			<maxclients>20</maxclients>
    			 <compression><passtos><client2client><dynamic_ip>yes</dynamic_ip>
    			<pool_enable>yes</pool_enable>
    			<dns_domain>int.sages</dns_domain>
    			<dns_server1>192.168.128.254</dns_server1>
    			 <dns_server2><dns_server3><dns_server4><ntp_server1>192.168.128.1</ntp_server1>
    			 <ntp_server2><netbios_enable>yes</netbios_enable>
    			<netbios_ntype>0</netbios_ntype>
    			 <netbios_scope><wins_server1>192.168.128.1</wins_server1></netbios_scope></ntp_server2></dns_server4></dns_server3></dns_server2></client2client></passtos></compression></gwredir></remote_network></strictusercn></crlref></custom_options></ipaddr></disable></openvpn-server> 
    		 <openvpn-client><vpnid>1</vpnid>
    			 <disable><protocol>UDP</protocol>
    			<dev_mode>tun</dev_mode>
    			 <ipaddr><interface>wan</interface>
    			 <local_port><server_addr>rodlaptop</server_addr>
    			<server_port>1194</server_port>
    			 <resolve_retry><proxy_addr><proxy_port><proxy_authtype>none</proxy_authtype>
    			 <proxy_user><proxy_passwd><mode>p2p_tls</mode>
    			 <custom_options><caref>4d79f5e632d90</caref>
    			<certref>4d79f645221d4</certref>
    
    			<crypto>AES-128-CBC</crypto>
    			<engine>none</engine>
    			 <tunnel_network><remote_network><compression><passtos></passtos></compression></remote_network></tunnel_network></custom_options></proxy_passwd></proxy_user></proxy_port></proxy_addr></resolve_retry></local_port></ipaddr></disable></openvpn-client></openvpn> 
    	 <l7shaper><container></container></l7shaper> 
    	 <dnshaper><cert><refid>4d79bbfce9eb9</refid></cert> 
    	 <cert><refid>4d79f645221d4</refid>
    
    		<caref>4d79f5e632d90</caref></cert> 
    	 <ppps><ppp><ptpid>2</ptpid>
    			<type>ppp</type>
    			<if>ppp2</if>
    			<ports>/dev/cuaU0.0</ports>
    			 <username><password><apn>VirginBroadband</apn>
    			 <apnum><phone>*99#</phone>
    			 <localip><gateway><bandwidth></bandwidth></gateway></localip></apnum></password></username></ppp> 
    		 <ppp><ptpid>1</ptpid>
    			<type>ppp</type>
    			<if>ppp1</if>
    			<ports>/dev/cuaU0.0</ports>
    			<username></username>
    			<password></password>
    			 <uptime><apn>telstra.internet</apn>
    			 <apnum><phone>*99#</phone>
    			 <localip><gateway><bandwidth></bandwidth></gateway></localip></apnum></uptime></ppp> 
    		 <ppp><ptpid>0</ptpid>
    			<type>pppoe</type>
    			<if>pppoe0</if>
    			<ports>vr0</ports>
    			<username>xxxx</username>
    			<password>xxxx</password>
    
    			 <provider><bandwidth></bandwidth></provider></ppp></ppps> 
    	 <wireless><clone><if>ath0</if>
    			<mode>hostap</mode>
    			 <descr><cloneif>ath0_wlan1</cloneif></descr></clone> 
    		 <interfaces><ath0><standard>11g</standard>
    				 <turbo><protmode>off</protmode>
    				<txpower>99</txpower>
    				<channel>6</channel>
    				 <distance><regdomain>row</regdomain>
    				<regcountry>AU</regcountry>
    				 <reglocation></reglocation></distance></turbo></ath0></interfaces></wireless> 
    	 <gateways><gateway_group><name>Internet</name>
    			NEXTG|2
    			GW_WAN|1
    			<trigger>downlosslatency</trigger></gateway_group> 
    		 <gateway_item><interface>opt3</interface>
    			<gateway>dynamic</gateway>
    			<name>NEXTG</name>
    			<weight>2</weight>
    
    			<monitor>xxx</monitor>
    			<latencylow>300</latencylow>
    			<latencyhigh>500</latencyhigh>
    			<losslow>5</losslow>
    			<losshigh>10</losshigh>
    			<down>2</down></gateway_item> 
    		 <gateway_item><interface>wan</interface>
    			<gateway>dynamic</gateway>
    			<name>GW_WAN</name>
    			<weight>1</weight>
    
    			<monitor>xxx</monitor>
    			<latencylow>100</latencylow>
    			<latencyhigh>200</latencyhigh>
    			<losslow>5</losslow>
    			<losshigh>10</losshigh>
    			<down>2</down></gateway_item></gateways> 
    	 <bridges><bridged><members>opt1,opt2</members>
    			 <descr><maxaddr><timeout><maxage><fwdelay><hellotime><priority><proto>rstp</proto>
    			 <holdcount><ifpriority><ifpathcost><bridgeif>bridge0</bridgeif></ifpathcost></ifpriority></holdcount></priority></hellotime></fwdelay></maxage></timeout></maxaddr></descr></bridged></bridges> 
    	 <installedpackages><openntpd><config><enable>on</enable>
    				<interface>lan</interface></config></openntpd></installedpackages> 
    	 <ca><refid>4d79f5e632d90</refid>
    
    		<crt>xxx</crt>
    		<prv>xxxx</prv>
    		<serial>1</serial></ca> 
    	 <ovpnserver><step1><type>local</type></step1> 
    		 <step6><authcertca>4d79f5e632d90</authcertca></step6> 
    		 <step9><authcertname>4d79f645221d4</authcertname></step9> 
    		 <step10><protocol>UDP</protocol>
    			<localport>1195</localport>
    
    			<tlsauth>on</tlsauth>
    			<gentlskey>on</gentlskey>
    			<dhkey>1024</dhkey>
    			<crypto>AES-128-CBC</crypto>
    			<engine>none</engine>
    			<tunnelnet>10.0.8.0/24</tunnelnet>
    			<localnet>192.168.128.0/24</localnet>
    			<concurrentcon>2</concurrentcon>
    			<dynip>on</dynip>
    			<addrpool>on</addrpool>
    			<nbttype>0</nbttype>
    			<wins1>192.168.128.1</wins1>
    			<interface>wan</interface></step10> 
    		 <step11><ovpnrule>on</ovpnrule>
    			<ovpnallow>on</ovpnallow></step11></ovpnserver> 
    	 <ezshaper><step1><numberofconnections>2</numberofconnections></step1> 
    		 <step2><downloadscheduler>HFSC</downloadscheduler>
    			<conn0uploadscheduler>HFSC</conn0uploadscheduler>
    			<conn0upload>4000</conn0upload>
    			<conn0uploadspeed>Kb</conn0uploadspeed>
    			<conn0download>300</conn0download>
    			<conn0downloadspeed>Kb</conn0downloadspeed>
    			<conn0interface>wan</conn0interface>
    			<conn1uploadscheduler>HFSC</conn1uploadscheduler>
    			<conn1upload>500</conn1upload>
    			<conn1uploadspeed>Kb</conn1uploadspeed>
    			<conn1download>100</conn1download>
    			<conn1downloadspeed>Kb</conn1downloadspeed>
    			<conn1interface>opt3</conn1interface></step2> 
    		 <step3><enable>on</enable>
    			<provider>Generic</provider>
    			<download>50</download>
    			<downloadspeed>Kb</downloadspeed>
    			<conn0upload>50</conn0upload>
    			<conn0uploadspeed>Kb</conn0uploadspeed>
    			<conn1upload>50</conn1upload>
    			<conn1uploadspeed>Kb</conn1uploadspeed></step3> 
    		 <step4><bandwidthunit>%</bandwidthunit></step4> 
    		 <step5><enable>on</enable>
    			<bandwidthunit>%</bandwidthunit></step5> 
    		 <step7><enable>on</enable>
    			<msrdp>D</msrdp>
    			<vnc>D</vnc>
    			<appleremotedesktop>D</appleremotedesktop>
    			<pcanywhere>D</pcanywhere>
    			<irc>D</irc>
    			<jabber>D</jabber>
    			<icq>D</icq>
    			<aolinstantmessenger>D</aolinstantmessenger>
    			<msnmessenger>D</msnmessenger>
    			<teamspeak>D</teamspeak>
    			<pptp>D</pptp>
    			<ipsec>D</ipsec>
    			<streamingmp3>D</streamingmp3>
    			<rtsp>D</rtsp>
    			<http>D</http>
    			<smtp>D</smtp>
    			<pop3>D</pop3>
    			<imap>D</imap>
    			<lotusnotes>D</lotusnotes>
    			<dns>D</dns>
    			<icmp>D</icmp>
    			<smb>D</smb>
    			<snmp>D</snmp>
    			<mysqlserver>D</mysqlserver>
    			<nntp>D</nntp>
    			<cvsup>D</cvsup>
    			<slingbox>D</slingbox>
    			<hbci>D</hbci></step7></ezshaper> 
    	 <dyndnses><dyndns><type>freedns</type>
    			 <username><password>xxxxxx</password>
    			<host>xxxx</host>
    			 <mx><enable><interface>opt3</interface></enable></mx></username></dyndns></dyndnses></dnshaper></wol></proxyarp></bridge></staticroutes></lastchange></pfsense> 
    
    

    edit, is there a simple way to de-identify the xml before posting?



  • Looks to me that the posted config.xml has two ppp interfaces saying they use /dev/cuaU0.0 but only one (ppp2) seems to be mapped to a pfSense interface (opt3).

    Could this be a rarely encountered configuration that causes pfSense to create a ppp configuration file that confuses the ppp daemon?

    I've previously reported pfSense 2.0 seems to have a bit of trouble deleting interfaces. Might this be another example? Can you account for the two ppp interfaces referencing /dev/cuaU0.0?



  • I need the system logs.

    I did this commit which should help with the config.xml provided here https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/01c201e3d19dd7fc37e8b33f1d27861e514c805c
    though some more strict checking needs to be done to prevent such kind of configurations.
    I am still thinking the correct solution on this



  • @wallabybob:

    Looks to me that the posted config.xml has two ppp interfaces saying they use /dev/cuaU0.0 but only one (ppp2) seems to be mapped to a pfSense interface (opt3).

    Could this be a rarely encountered configuration that causes pfSense to create a ppp configuration file that confuses the ppp daemon?

    I've previously reported pfSense 2.0 seems to have a bit of trouble deleting interfaces. Might this be another example? Can you account for the two ppp interfaces referencing /dev/cuaU0.0?

    the second ppp interface isn't mapped. I have two sim cards with different network providers and have switched between the two depending upon the sim fitted to the hsdpa modem.



  • @ermal:

    I need the system logs.

    which ones? ppp and system?
    and is there a simple way to extract them or do I just download the log file?



  • tried this snapshot yesterday, pfSense-2.0-RC1-1g-i386-20110315-1934-nanobsd-upgrade.img.gz
    better than it has been but it still hasn't consistantly resolved the underlying issue.
    removing the hsdpa usb modem and then reconnecting the usb is detected by the system but the ppp code doesn't detect it. which is the same symptom as we had originally.
    i'll leave this for a while until some of the other rc1 issues have been worked through and/or I get some more time to document the operation.



  • You mean that you want to triger a connection reload when the modem is put in?



  • @greybeard:

    @ermal:

    I need the system logs.

    which ones? ppp and system?
    and is there a simple way to extract them or do I just download the log file?

    In case you haven't figured t out already, truncated forms of the system logs are available in the web GUI from Status -> System Logs, click on the appropriate tab.

    If you want the full system log(s) they can be displayed by shell command # clog /var/log/ (replace <file>by the name of the appropriate file, e.g. system.log, ppp.log etc)
    The logs are "circular buffer" files which are a fixed size. Once the file is full old entries drop out to make room for new entries.</file>



  • @ermal:

    You mean that you want to triger a connection reload when the modem is put in?

    anything that causes the link to drop should cause a connection reload. In this instance I've used a USB disconnect but the same issue occurs with power cycling the ASDL modem, disconnecting the ethernet connection to the ADSL, disconnecting the phone line into the ADSL. Unfortunately my options for testing a failover with a USB HSDPA modem are limited to 'pulling the plug'.

    What I've seen is that there appears to be some change of link state conditions that aren't detected by the pfsense code and subsequantly there are issues in (re)establishing a WAN link.
    It may be that it is being highlighted due to the low speed of my machine ( 800MHz ).



  • Can you give the related system log on this?
    The section when the usb is detached and reattached and any other output in the 'vicinity' of these.



  • hi all!!

    I have the same problem since around beta2 (probably before) and i got it to work just clicking around the advanced options (/interfaces_ppps_edit.php). Only selecting the link interface and saving.
    Although they are working, i can't access the webgui through any pppoe interface. I have created the corresponding rules to allow https but nothing…
    I have 3 wan (2 pppoe, 1 DHCP) 1 LAN and i can only access the webgui through the DHCP o the LAN interface.
    Any ideas?

    2.0-RC1 (i386)
    built on Mon Mar 14 20:46:06 EDT 2011

    Bruno



  • in this first log the usb/hsdpa modem reconnects ok

    Mar 19 08:35:44 pfsense ppp: [opt3_link0] Link: reconnection attempt 16
    Mar 19 08:35:44 pfsense ppp: [opt3_link0] can't open /dev/cuaU0.0: No such file or directory
    Mar 19 08:35:44 pfsense ppp: [opt3_link0] Link: DOWN event
    Mar 19 08:35:44 pfsense ppp: [opt3_link0] LCP: Down event
    Mar 19 08:35:44 pfsense ppp: [opt3_link0] Link: reconnection attempt 17 in 4 seconds
    Mar 19 08:35:45 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0
    Mar 19 08:35:45 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0 (disconnected)
    Mar 19 08:35:46 pfsense kernel: stray irq7
    Mar 19 08:35:47 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0
    Mar 19 08:35:47 pfsense kernel: u3g0: <data interface="">on usbus0
    Mar 19 08:35:47 pfsense kernel: u3g0: Found 2 ports.
    Mar 19 08:35:47 pfsense kernel: umass0: <huawei 0="" 2="" technologies="" huawei="" mobile,="" class="" 0,="" rev="" 1.10="" 0.00,="" addr="">on usbus0
    Mar 19 08:35:48 pfsense ppp: [opt3_link0] Link: reconnection attempt 17
    Mar 19 08:35:48 pfsense ppp: [opt3_link0] chat: Detected Hayes compatible modem.
    Mar 19 08:35:49 pfsense kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
    Mar 19 08:35:49 pfsense kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
    Mar 19 08:35:49 pfsense kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
    Mar 19 08:35:49 pfsense kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
    Mar 19 08:35:49 pfsense kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
    Mar 19 08:35:49 pfsense kernel: cd0: <huawei mass="" storage="" 2.31="">Removable CD-ROM SCSI-2 device 
    Mar 19 08:35:49 pfsense kernel: cd0: 1.000MB/s transfers
    Mar 19 08:35:49 pfsense kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] chat: Dialing server at *99#...
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] chat: Connected at an unknown speed.
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] MODEM: chat script succeeded
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] Link: UP event
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: Up event
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: state change Starting --> Req-Sent
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: SendConfigReq #2
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACCMAP 0x000a0000
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MRU 1500
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MAGICNUM f9e01515
    Mar 19 08:35:49 pfsense apinger: ALARM: GW_WAN(203.56.14.17)  *** GW_WANdown ***
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: rec'd Configure Request #0 (Req-Sent)
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MRU 1440
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACCMAP 0x00000000
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   AUTHPROTO CHAP MD5
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MAGICNUM 00c85e42
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: SendConfigAck #0
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MRU 1440
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACCMAP 0x00000000
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   AUTHPROTO CHAP MD5
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MAGICNUM 00c85e42
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: state change Req-Sent --> Ack-Sent
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: rec'd Configure Ack #2 (Ack-Sent)
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   ACCMAP 0x000a0000
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MRU 1500
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   MAGICNUM f9e01515
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: state change Ack-Sent --> Opened
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: auth: peer wants CHAP, I want nothing
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: LayerUp
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: rec'd Discard Request #1 (Opened)
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] CHAP: rec'd CHALLENGE #1 len: 35
    Mar 19 08:35:49 pfsense ppp: [opt3_link0]   Name: "UMTS_CHAP_SRVR"
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] CHAP: Using authname "blank"
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] CHAP: sending RESPONSE #1 len: 26
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] CHAP: rec'd SUCCESS #1 len: 4
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] LCP: authorization successful
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] Link: Matched action 'bundle "opt3" ""'
    Mar 19 08:35:49 pfsense ppp: [opt3_link0] Link: Join bundle "opt3"
    Mar 19 08:35:49 pfsense ppp: [opt3] Bundle: Status update: up 1 link, total bandwidth 28800 bps
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: Open event
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: state change Initial --> Starting
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: LayerStart
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: Up event
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: state change Starting --> Req-Sent
    Mar 19 08:35:49 pfsense ppp: [opt3] IPCP: SendConfigReq #7
    Mar 19 08:35:49 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:35:49 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:35:49 pfsense ppp: [opt3]   PRIDNS 0.0.0.0
    Mar 19 08:35:49 pfsense ppp: [opt3]   SECDNS 0.0.0.0
    Mar 19 08:35:49 pfsense apinger: alarm canceled: GW_WAN(203.56.14.17)  *** GW_WANdown ***
    Mar 19 08:35:50 pfsense ppp: [opt3] IPCP: rec'd Configure Nak #7 (Req-Sent)
    Mar 19 08:35:50 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:35:50 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:35:50 pfsense ppp: [opt3]   PRINBNS 10.11.12.13
    Mar 19 08:35:50 pfsense ppp: [opt3]   SECNBNS 10.11.12.14
    Mar 19 08:35:50 pfsense ppp: [opt3] IPCP: SendConfigReq #8
    Mar 19 08:35:50 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:35:50 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:35:50 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:35:50 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:35:51 pfsense ppp: [opt3] IPCP: rec'd Configure Nak #8 (Req-Sent)
    Mar 19 08:35:51 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:35:51 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:35:51 pfsense ppp: [opt3]   PRINBNS 10.11.12.13
    Mar 19 08:35:51 pfsense ppp: [opt3]   SECNBNS 10.11.12.14
    Mar 19 08:35:51 pfsense ppp: [opt3] IPCP: SendConfigReq #9
    Mar 19 08:35:51 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:35:51 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:35:51 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:35:51 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: rec'd Configure Request #0 (Req-Sent)
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: SendConfigAck #0
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: state change Req-Sent --> Ack-Sent
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: rec'd Configure Reject #9 (Ack-Sent)
    Mar 19 08:35:52 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: SendConfigReq #10
    Mar 19 08:35:52 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:35:52 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:35:52 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: rec'd Configure Nak #10 (Ack-Sent)
    Mar 19 08:35:52 pfsense ppp: [opt3]   IPADDR 121.91.213.142
    Mar 19 08:35:52 pfsense ppp: [opt3]     121.91.213.142 is OK
    Mar 19 08:35:52 pfsense ppp: [opt3]   PRIDNS 123.200.191.17
    Mar 19 08:35:52 pfsense ppp: [opt3]   SECDNS 123.200.191.18
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: SendConfigReq #11
    Mar 19 08:35:52 pfsense ppp: [opt3]   IPADDR 121.91.213.142
    Mar 19 08:35:52 pfsense ppp: [opt3]   PRIDNS 123.200.191.17
    Mar 19 08:35:52 pfsense ppp: [opt3]   SECDNS 123.200.191.18
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: rec'd Configure Ack #11 (Ack-Sent)
    Mar 19 08:35:52 pfsense ppp: [opt3]   IPADDR 121.91.213.142
    Mar 19 08:35:52 pfsense ppp: [opt3]   PRIDNS 123.200.191.17
    Mar 19 08:35:52 pfsense ppp: [opt3]   SECDNS 123.200.191.18
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: state change Ack-Sent --> Opened
    Mar 19 08:35:52 pfsense ppp: [opt3] IPCP: LayerUp
    Mar 19 08:35:52 pfsense ppp: [opt3]   121.91.213.142 -> 10.64.64.0
    Mar 19 08:35:52 pfsense check_reload_status: Rewriting resolv.conf
    Mar 19 08:35:53 pfsense check_reload_status: rc.newwanip starting ppp1
    Mar 19 08:35:53 pfsense ppp: [opt3] IFACE: Up event
    Mar 19 08:35:54 pfsense php: : rc.newwanip: Informational is starting ppp1.
    Mar 19 08:35:54 pfsense php: : rc.newwanip: on (IP address: 121.91.213.142) (interface: opt3) (real interface: ppp1).
    Mar 19 08:35:56 pfsense php: : ROUTING: change default route to 10.64.64.0
    Mar 19 08:35:56 pfsense php: : Removing static route for monitor 123.200.191.17 and adding a new route through 10.64.64.0
    Mar 19 08:35:56 pfsense php: : Removing static route for monitor 203.56.14.17 and adding a new route through 203.56.14.7
    Mar 19 08:35:56 pfsense check_reload_status: reloading filter
    Mar 19 08:35:56 pfsense check_reload_status: reloading filter
    Mar 19 08:35:56 pfsense apinger: Exiting on signal 15.
    Mar 19 08:35:57 pfsense check_reload_status: reloading filter
    Mar 19 08:35:58 pfsense apinger: Starting Alarm Pinger, apinger(63604)
    Mar 19 08:35:58 pfsense php: : DynDns: Running updatedns()
    Mar 19 08:35:58 pfsense php: : DynDns: updatedns() starting
    Mar 19 08:35:58 pfsense php: : DynDns: _detectChange() starting.
    Mar 19 08:35:58 pfsense php: : DynDns: _checkIP() starting.
    Mar 19 08:35:58 pfsense php: : DynDns debug information: 121.91.213.142 extracted from local system.
    Mar 19 08:35:58 pfsense php: : DynDns: Current WAN IP: 121.91.213.142
    Mar 19 08:35:58 pfsense php: : DynDns: Cached IP: 121.91.181.126
    Mar 19 08:35:58 pfsense php: : DynDns debug information: DynDns: cacheIP != wan_ip.  Updating. Cached IP: 121.91.181.126 WAN IP: 121.91.213.142 
    Mar 19 08:35:59 pfsense php: : DynDns: DynDns _update() starting.
    Mar 19 08:36:01 pfsense php: : Gateways status could not be determined, considering all as up/active.
    Mar 19 08:36:01 pfsense php: : DynDns: DynDns _checkStatus() starting.
    Mar 19 08:36:01 pfsense php: : DynDns: Current Service: freedns
    Mar 19 08:36:01 pfsense php: : DynDns: _checkIP() starting.
    Mar 19 08:36:01 pfsense php: : DynDns debug information: 121.91.213.142 extracted from local system.
    Mar 19 08:36:01 pfsense php: : phpDynDNS: updating cache file /conf/dyndns_opt3freedns'sages.jumpingcrab.com'.cache: 121.91.213.142
    Mar 19 08:36:01 pfsense php: : phpDynDNS: (Success) IP Address Changed Successfully!
    Mar 19 08:36:07 pfsense php: : Resyncing OpenVPN instances for interface NEXTG.
    Mar 19 08:36:08 pfsense apinger: ALARM: NEXTG(123.200.191.17)  *** NEXTGdelay ***
    Mar 19 08:36:13 pfsense hostapd: ath0_wlan0: STA 5c:ac:4c:58:ef:87 WPA: group key handshake completed (RSN)
    Mar 19 08:36:14 pfsense apinger: alarm canceled: NEXTG(123.200.191.17)  *** NEXTGdelay ***
    Mar 19 08:36:18 pfsense check_reload_status: reloading filter</huawei></huawei></data></huawei></huawei></huawei> 
    

    in this section it fails to reconnect after the USb is reinserted.

    Mar 19 08:38:44 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0
    Mar 19 08:38:45 pfsense ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 19 08:38:45 pfsense ppp: [wan_link0] Link: DOWN event
    Mar 19 08:38:45 pfsense ppp: [wan_link0] LCP: Down event
    Mar 19 08:38:45 pfsense ppp: [wan_link0] Link: reconnection attempt 5 in 3 seconds
    Mar 19 08:38:45 pfsense ppp: [opt3_link0] Link: reconnection attempt 11
    Mar 19 08:38:45 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0 (disconnected)
    Mar 19 08:38:46 pfsense ppp: [opt3_link0] can't open /dev/cuaU0.0: No such file or directory
    Mar 19 08:38:46 pfsense ppp: [opt3_link0] Link: DOWN event
    Mar 19 08:38:46 pfsense ppp: [opt3_link0] LCP: Down event
    Mar 19 08:38:46 pfsense ppp: [opt3_link0] Link: reconnection attempt 12 in 2 seconds
    Mar 19 08:38:46 pfsense kernel: ugen0.2: <huawei technologies="">at usbus0
    Mar 19 08:38:47 pfsense kernel: u3g0: <data interface="">on usbus0
    Mar 19 08:38:47 pfsense kernel: u3g0: Found 2 ports.
    Mar 19 08:38:47 pfsense kernel: umass0: <huawei 0="" 2="" technologies="" huawei="" mobile,="" class="" 0,="" rev="" 1.10="" 0.00,="" addr="">on usbus0
    Mar 19 08:38:48 pfsense kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
    Mar 19 08:38:48 pfsense kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
    Mar 19 08:38:48 pfsense kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
    Mar 19 08:38:48 pfsense kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
    Mar 19 08:38:48 pfsense ppp: [wan_link0] Link: reconnection attempt 5
    Mar 19 08:38:48 pfsense ppp: [opt3_link0] Link: reconnection attempt 12
    Mar 19 08:38:48 pfsense ppp: [wan_link0] PPPoE: Connecting to '*'
    Mar 19 08:38:49 pfsense kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
    Mar 19 08:38:49 pfsense kernel: cd0: <huawei mass="" storage="" 2.31="">Removable CD-ROM SCSI-2 device 
    Mar 19 08:38:49 pfsense kernel: cd0: 1.000MB/s transfers
    Mar 19 08:38:49 pfsense kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
    Mar 19 08:38:49 pfsense ppp: [opt3_link0] chat: Detected Hayes compatible modem.
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] chat: Dialing server at *99#...
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] chat: Connected at an unknown speed.
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] MODEM: chat script succeeded
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] Link: UP event
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: Up event
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: state change Starting --> Req-Sent
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: SendConfigReq #3
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACCMAP 0x000a0000
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MRU 1500
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MAGICNUM 305465d9
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: rec'd Configure Request #0 (Req-Sent)
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MRU 1440
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACCMAP 0x00000000
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   AUTHPROTO CHAP MD5
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MAGICNUM 00c862a9
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: SendConfigAck #0
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MRU 1440
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACCMAP 0x00000000
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   AUTHPROTO CHAP MD5
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MAGICNUM 00c862a9
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: state change Req-Sent --> Ack-Sent
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: rec'd Configure Ack #3 (Ack-Sent)
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACFCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   PROTOCOMP
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   ACCMAP 0x000a0000
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MRU 1500
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   MAGICNUM 305465d9
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: state change Ack-Sent --> Opened
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: auth: peer wants CHAP, I want nothing
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: LayerUp
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: rec'd Discard Request #1 (Opened)
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] CHAP: rec'd CHALLENGE #1 len: 35
    Mar 19 08:38:50 pfsense ppp: [opt3_link0]   Name: "UMTS_CHAP_SRVR"
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] CHAP: Using authname "blank"
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] CHAP: sending RESPONSE #1 len: 26
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] CHAP: rec'd SUCCESS #1 len: 4
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] LCP: authorization successful
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] Link: Matched action 'bundle "opt3" ""'
    Mar 19 08:38:50 pfsense ppp: [opt3_link0] Link: Join bundle "opt3"
    Mar 19 08:38:50 pfsense ppp: [opt3] Bundle: Status update: up 1 link, total bandwidth 28800 bps
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: Open event
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: state change Initial --> Starting
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: LayerStart
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: Up event
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: state change Starting --> Req-Sent
    Mar 19 08:38:50 pfsense ppp: [opt3] IPCP: SendConfigReq #13
    Mar 19 08:38:50 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:50 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:50 pfsense ppp: [opt3]   PRIDNS 0.0.0.0
    Mar 19 08:38:50 pfsense ppp: [opt3]   SECDNS 0.0.0.0
    Mar 19 08:38:51 pfsense ppp: [opt3] IPCP: rec'd Configure Nak #13 (Req-Sent)
    Mar 19 08:38:51 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:51 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:38:51 pfsense ppp: [opt3]   PRINBNS 10.11.12.13
    Mar 19 08:38:51 pfsense ppp: [opt3]   SECNBNS 10.11.12.14
    Mar 19 08:38:51 pfsense ppp: [opt3] IPCP: SendConfigReq #14
    Mar 19 08:38:51 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:51 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:51 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:51 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:38:53 pfsense ppp: [opt3] IPCP: SendConfigReq #15
    Mar 19 08:38:53 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:53 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:53 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:53 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:38:55 pfsense ppp: [opt3] IPCP: SendConfigReq #16
    Mar 19 08:38:55 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:55 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:55 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:55 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:38:57 pfsense ppp: [opt3] IPCP: SendConfigReq #17
    Mar 19 08:38:57 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:57 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:57 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:57 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:38:57 pfsense ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 19 08:38:57 pfsense ppp: [wan_link0] Link: DOWN event
    Mar 19 08:38:57 pfsense ppp: [wan_link0] LCP: Down event
    Mar 19 08:38:57 pfsense ppp: [wan_link0] Link: reconnection attempt 6 in 4 seconds
    Mar 19 08:38:59 pfsense ppp: [opt3] IPCP: SendConfigReq #18
    Mar 19 08:38:59 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:38:59 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:38:59 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:38:59 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:01 pfsense ppp: [opt3] IPCP: SendConfigReq #19
    Mar 19 08:39:01 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:39:01 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:39:01 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:39:01 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:01 pfsense ppp: [wan_link0] Link: reconnection attempt 6
    Mar 19 08:39:01 pfsense ppp: [wan_link0] PPPoE: Connecting to '*'
    Mar 19 08:39:03 pfsense ppp: [opt3] IPCP: SendConfigReq #20
    Mar 19 08:39:03 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:39:03 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:39:03 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:39:03 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:05 pfsense ppp: [opt3] IPCP: SendConfigReq #21
    Mar 19 08:39:05 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:39:05 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:39:05 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:39:05 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:07 pfsense ppp: [opt3] IPCP: SendConfigReq #22
    Mar 19 08:39:07 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:39:07 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:39:07 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:39:07 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:09 pfsense ppp: [opt3] IPCP: SendConfigReq #23
    Mar 19 08:39:09 pfsense ppp: [opt3]   IPADDR 0.0.0.0
    Mar 19 08:39:09 pfsense ppp: [opt3]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Mar 19 08:39:09 pfsense ppp: [opt3]   PRIDNS 10.11.12.13
    Mar 19 08:39:09 pfsense ppp: [opt3]   SECDNS 10.11.12.14
    Mar 19 08:39:10 pfsense ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 19 08:39:10 pfsense ppp: [wan_link0] Link: DOWN event
    Mar 19 08:39:10 pfsense ppp: [wan_link0] LCP: Down event
    Mar 19 08:39:10 pfsense ppp: [wan_link0] Link: reconnection attempt 7 in 2 seconds
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: parameter negotiation failed
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: state change Req-Sent --> Stopped
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: LayerFinish
    Mar 19 08:39:11 pfsense ppp: [opt3] Bundle: No NCPs left. Closing links...
    Mar 19 08:39:11 pfsense ppp: [opt3] Bundle: closing link "opt3_link0"...
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] Link: CLOSE event
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] LCP: Close event
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] LCP: state change Opened --> Closing
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] Link: Leave bundle "opt3"
    Mar 19 08:39:11 pfsense ppp: [opt3] Bundle: Status update: up 0 links, total bandwidth 9600 bps
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: Close event
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: state change Stopped --> Closed
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: Down event
    Mar 19 08:39:11 pfsense ppp: [opt3] IPCP: state change Closed --> Initial
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] LCP: SendTerminateReq #4
    Mar 19 08:39:11 pfsense ppp: [opt3_link0] LCP: LayerDown
    Mar 19 08:39:12 pfsense ppp: [wan_link0] Link: reconnection attempt 7
    Mar 19 08:39:12 pfsense ppp: [wan_link0] PPPoE: Connecting to '*'
    Mar 19 08:39:13 pfsense hostapd: ath0_wlan0: STA 5c:ac:4c:58:ef:87 WPA: group key handshake completed (RSN)
    Mar 19 08:39:13 pfsense ppp: [opt3_link0] LCP: SendTerminateReq #5
    Mar 19 08:39:15 pfsense ppp: [opt3_link0] LCP: state change Closing --> Closed
    Mar 19 08:39:15 pfsense ppp: [opt3_link0] LCP: LayerFinish
    Mar 19 08:39:15 pfsense ppp: [opt3_link0] Link: DOWN event
    Mar 19 08:39:15 pfsense ppp: [opt3_link0] LCP: Down event
    Mar 19 08:39:15 pfsense ppp: [opt3_link0] LCP: state change Closed --> Initial
    Mar 19 08:39:21 pfsense ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 19 08:39:21 pfsense ppp: [wan_link0] Link: DOWN</huawei></huawei></data></huawei></huawei></huawei> 
    


  • have updated to latest snapshot.
    issue is still there.
    ppp connection via hsdpa appears to be random if link comes active.
    once it fails, if it doesn't recover within a short period of time, the ppp log no longer has any entries for the link retrying.
    this is without removing/installing the USB connection.

    is anyone else using a USB hsdpa modem on RC2 successfully? either single or backup?



  • after some scientific google  ;) i found the following http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/158811.html
    specifically the entry into mpd.conf for "set bundle no noretry"

    I had rebuilt a bog standard system with only a single WAN configured for a hsdpa usb modem. ie no failover.
    i was still having problems with the modem not connecting.
    I then edited the /var/etc/mpd_wan.conf file and added the line above.
    The modem came up pretty much straight away.
    [edit] unfortunately it hasn't done anything to resolve the problem of recovering from a failed link  :'(



  • to confirm if i had a hardware issue or not, i loaded up a CF with a copy of vyatta.
    3g/hsdpa usb modem connects/reconnects/unplug/plug usb and it establishes a connection each time. ie doesn't have any issues with connectivity or failing to connect.

    I'd like some feedback from anyone who has is using a usb hsdpa/3g modem to see if they have any issues on v2 rc1.
    Vyatta is working but it's a pain to maintain with no graphic interface on the free version.



  • I use a 3G modem for connectivity at two different sites. I'll try unplugging it and see what happens.

    GB



  • ;)  Being Very familiar with this product i was a bit miffed to have thsi same issue, PPPOe not connecting.
    Was running 1.2.3 latest upgraded to 2.0 RC1. Migrations seems to go through with no issues except for WAN.

    when WAN is changed to PPPOE, no connection. The Wan now says WAN/PPPOE, so i assume it sees that setup?
    When it does not work it then creates a PPPOE:1 connection which i tried then it created a PPPOE:2 then PPPOE:3

    After trying multiple changes i went back to 1.2.3 and all works 100%. Can you point me to some resource that explains
    the change in WAN setup.



  • For me I never managed to work pppoe. Each time i try to connect it goes down in few seconds.



  • Just tested yesterdays svn build of 2.0RC1 to see if PPPoE is finally working and it is still not…. :S

    1. Interfaces -> assign -> PPP's -> edit interface which is from 1.2.3

    NO INTERFACES ARE SELECTABLE - until I re-select PPPoE AGAIN in the drop down list.
    Why does WAN and LAN appear there? thats not a physical interface. :S

    But even then, PPPoE is not working:
    System log reports this when trying to connect: May 5 22:02:20 - php: : Could not find gateway for interface(wan).


Log in to reply