Ah ok I will try that. Thanks

Regards
Michael Knill

-----Original Message-----
From: Lonnie Abelbeck <li...@lonnie.abelbeck.com>
Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
Date: Friday, 10 February 2017 at 10:01 AM
To: AstLinux List <astlinux-users@lists.sourceforge.net>
Subject: Re: [Astlinux-users] Problems with PPPoE


On Feb 9, 2017, at 4:43 PM, Michael Keuter <li...@mksolutions.info> wrote:

> 
>> Am 09.02.2017 um 22:19 schrieb Michael Knill 
>> <michael.kn...@ipcsolutions.com.au>:
>> 
>> Hi group
>> 
>> Im having problems with PPPoE and Asterisk and hoping if anyone can shed 
>> some light on it.
>> Intermittently, after a PPP re-negotiation, the PPPoE Connection Status 
>> shows No pope-status available and Asterisk loses connectivity to external 
>> e.g. the peer becomes UNKNOWN.
>> What is interesting however is that I can access the box fine and it is 
>> still working fine for onsite but Asterisk has no external access. When I 
>> restart Asterisk it all works again and when I restart the box I get PPPoE 
>> status again.
>> I have also noticed this on new installs but I seem to only have one site 
>> that it drops back to this state.
>> 
>> Here is the pppoe log:
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.info pppd[6745]: Plugin 
>> /usr/lib/pppd/2.4.7/rp-pppoe.so loaded.
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.info pppd[6745]: RP-PPPoE plugin 
>> version 3.8p compiled against pppd 2.4.7
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.notice pppd[6745]: pppd 2.4.7 
>> started by root, uid 0
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.info pppd[6745]: PPP session is 
>> 26003
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.warn pppd[6745]: Connected to 
>> 60:73:5c:0e:a4:80 via interface eth0
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.info pppd[6745]: Using interface 
>> ppp1
>> Feb  9 14:20:32 3025-Dobsonei-CM1 daemon.notice pppd[6745]: Connect: ppp1 
>> <--> eth0
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: PAP 
>> authentication succeeded
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: peer from 
>> calling number 60:73:5C:0E:A4:80 authorized
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.err pppd[6745]: not replacing 
>> existing default route through ppp0
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: local  IP 
>> address 115.187.185.212
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: remote IP 
>> address 125.213.167.69
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: primary   DNS 
>> address 59.86.160.27
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.notice pppd[6745]: secondary DNS 
>> address 125.213.163.248
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.info pppd[6745]: LCP terminated by 
>> peer
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.info pppd[6745]: Connect time 0.0 
>> minutes.
>> Feb  9 14:20:42 3025-Dobsonei-CM1 daemon.info pppd[6745]: Sent 0 bytes, 
>> received 0 bytes.
>> Feb  9 14:20:45 3025-Dobsonei-CM1 daemon.notice pppd[6745]: Connection 
>> terminated.
>> Feb  9 14:20:45 3025-Dobsonei-CM1 daemon.notice pppd[6745]: Modem hangup
>> 
>> It appears that ppp1 is being negotiated and I suspect this is what the 
>> problem is? Why would this be happening?
>> In user.conf I have PPPOE_EXTIF="ppp0". Should I remove this?
>> 
>> Thanks so much if you have any ideas.
>> 
>> Regards
>> Michael Knill
> 
> Hi Michael,
> 
> I would remove PPPOE_EXTIF="ppp0".
> I've seen that in the last months on a few of my customer sites that several 
> parallel ppp connections (with different gateways) were brought up (ppp0 to 
> ppp5).
> PPPoE status showed nothing, but the connection was working fine.
> 
> Michael

+1

The only reason to define PPPOE_EXTIF is when PPTP-VPN and PPPoE are both 
enabled ...
--
## The PPPoE external interface for the firewall defaults to 'ppp+', which is 
usually desired.
## An exception is when both PPTP-VPN and PPPoE are enabled, then PPPOE_EXTIF 
must be
## defined as a specific pppN interface (ex. ppp0) for the PPPoE connection.
#PPPOE_EXTIF="ppp0"
--

Lonnie


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to