$reqdfieldsn=array(gettext("Link Interface(s)"),gettext("Username"),gettext("Password"),gettext("Local IP address"),gettext("Subnet"),gettext("Remote IP address"),gettext("Dial on demand"),gettext("Idle timeout value"));
$reqdfieldsn=array(gettext("Link Interface(s)"),gettext("Username"),gettext("Password"),gettext("Local IP address"),gettext("Subnet"),gettext("Remote IP address"));
$input_errors[]=gettext("A valid PPPoE reset month must be specified (1-12) in the Custom PPPoE Periodic reset fields.");
if($date_nums[1]<1||$date_nums[1]>31)
$input_errors[]=gettext("A valid PPPoE reset day of month must be specified (1-31) in the Custom PPPoE Periodic reset fields. No checks are done on valid # of days per month");
if($date_nums[2]<date("Y"))
$input_errors[]=gettext("A valid PPPoE reset year must be specified. Don't select a year in the past!");
<br/><spanclass="vexpl"><?=gettext("You may enter a description here for your reference. Description will appear in the \"Interfaces Assign\" select lists.");?></span>
<inputtype="checkbox"value="on"id="null_service"name="null_service"<?=!empty($pconfig['null_service'])?"checked=\"checked\"":"";?>/><?=gettext("Configure a NULL Service name");?>
<divclass="hidden"for="help_for_provider">
<?=gettext("Hint: this field can usually be left empty. Service name will not be configured if this field is empty. Check the \"Configure NULL\" box to configure a blank Service name.");?>
<inputtype="checkbox"value="on"id="null_service"name="null_service"<?phpif(isset($pconfig['null_service']))echo"checked=\"checked\"";?>/><?=gettext("Configure a NULL Service name");?>
<br/><spanclass="vexpl"><?=gettext("Hint: this field can usually be left empty. Service name will not be configured if this field is empty. Check the \"Configure NULL\" box to configure a blank Service name.");?></span>
<inputname="gateway[]"type="text"class="form-control unknown"id="gateway<?=$j;?>"size="20"value="<?=htmlspecialchars($pconfig['gateway'][$j]);?>"/><?=gettext("IP Address OR Hostname");?>
<br/><spanclass="vexpl"><?=gettext("This option causes the interface to operate in dial-on-demand mode. Do NOT enable if you want your link to be always up. ".
<inputname="idletimeout"type="text"class="form-control unknown"id="idletimeout"size="12"value="<?=htmlspecialchars($pconfig['idletimeout']);?>"/><?=gettext("(seconds) Default is 0, which disables the timeout feature.");?>
<br/><spanclass="vexpl"><?=gettext("If no incoming or outgoing packets are transmitted for the entered number of seconds the connection is brought down.");?>
<br/><?=gettext("When the idle timeout occurs, if the dial-on-demand option is enabled, mpd goes back into dial-on-demand mode. Otherwise, the interface is brought down and all associated routes removed.");?></span>
<?=gettext("(seconds) Default is 0, which disables the timeout feature.");?></br><br/>
<?=gettext("If no incoming or outgoing packets are transmitted for the entered number of seconds the connection is brought down.");?>
<br/><?=gettext("When the idle timeout occurs, if the dial-on-demand option is enabled, mpd goes back into dial-on-demand mode. Otherwise, the interface is brought down and all associated routes removed.");?>
<inputtype="checkbox"value="on"id="vjcomp"name="vjcomp"<?phpif(isset($pconfig['vjcomp']))echo"checked=\"checked\"";?>/> <?=gettext("Disable vjcomp(compression) (auto-negotiated by default).");?>
<br/><spanclass="vexpl"><?=gettext("This option enables Van Jacobson TCP header compression, which saves several bytes per TCP data packet. ".
<inputtype="checkbox"value="on"id="tcpmssfix"name="tcpmssfix"<?phpif(isset($pconfig['tcpmssfix']))echo"checked=\"checked\"";?>/> <?=gettext("Disable tcpmssfix (enabled by default).");?>
<br/><spanclass="vexpl"><?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ".
<?=gettext("Disable tcpmssfix (enabled by default).");?>
<divclass="hidden"for="help_for_tcpmssfix">
<?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ".
"allowed by the interface MTU. This is necessary in many setups to avoid problems caused by routers that drop ICMP Datagram Too Big messages. Without these messages, ".
"the originating machine sends data, it passes the rogue router then hits a machine that has an MTU that is not big enough for the data. Because the IP Don't Fragment option is set, ".
"this machine sends an ICMP Datagram Too Big message back to the originator and drops the packet. The rogue router drops the ICMP message and the originator never ".
"gets to discover that it must reduce the fragment size or drop the IP Don't Fragment option from its outgoing data.");?></span>
<inputtype="checkbox"value="on"id="shortseq"name="shortseq"<?phpif(isset($pconfig['shortseq']))echo"checked=\"checked\"";?>/> <?=gettext("Disable shortseq (auto-negotiated by default).");?>
<br/><spanclass="vexpl"><?=gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. ".
"It is not necessary to disable this for connections that are not multi-link.");?></span>
"gets to discover that it must reduce the fragment size or drop the IP Don't Fragment option from its outgoing data.");?>
<inputtype="checkbox"value="on"id="acfcomp"name="acfcomp"<?phpif(isset($pconfig['acfcomp']))echo"checked=\"checked\"";?>/> <?=gettext("Disable acfcomp (compression) (auto-negotiated by default).");?>
<br/><spanclass="vexpl"><?=gettext("Address and control field compression. This option only applies to asynchronous link types. It saves two bytes per frame.");?></span>
<?=gettext("Disable shortseq (auto-negotiated by default).");?>
<divclass="hidden"for="help_for_shortseq">
<?=gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. ".
"It is not necessary to disable this for connections that are not multi-link.");?>
<li><?=gettext("Bandwidth");?> : <?=gettext("Set ONLY for MLPPP connections and ONLY when links have different bandwidths.");?></li>
<li><?=gettext("MTU");?> : <?=gettext("MTU will default to 1492.");?></li>
<li><?=gettext("MRU");?> : <?=gettext("MRU");?><?=gettext("will be auto-negotiated by default.");?></li>
<li><?=gettext("MRRU");?> : <?=gettext("Set ONLY for MLPPP connections.");?><?=gettext("MRRU");?><?=gettext("will be auto-negotiated by default.");?></li>