{
    my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance
    my $timeout = $pppoe{Timeout} || 120; # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
    my $device = $pppoe{PhysicalInterface} || "eth1";
    my $syncPPP = $pppoe{SynchronousPPP} || "no";
    my $syncflag = "";

    $OUT = "";
    if ($syncPPP eq "yes")
    {
	$OUT .= "sync\n";
	$syncflag = "-s";
    }
    if ($inkernel eq "no")
    {
	$OUT .= "pty '/usr/sbin/pppoe -I $device -T $timeout -U -m 1412 $syncflag'";
    }
}
