[Resolvido] Conexão PPPoE cai todo dia - modem bridge
-
Tive um problema com PPPOE e uma NIC onboard Giga com chipset Atheros. Esta Atheros era a interface WAN no pfSense e não realizava a conexão PPPOE de forma alguma. Por sinal, notei que, imediatamente após o pfSense iniciar, as luzes da NIC se apagavam e o dashboard mostrava a interface como desabilitada.
Nesta máquina, a outra NIC é uma Realtek 10/100.
Depois que inverti lógicamente as interfaces, com a Realtek passando a ser a interface WAN, o PPPOE funcionou normalmente.O provedor internet é Telefonica (Vivo, né?), fibra com moden Ericson em bridge.
-
Inverti as placas de Rede Logicamente e vamos ver o que acontece hj.
Aviso se cair, ou no final do dia aviso se não caiu. hehehe -
Bom pessoal inverter as placas nao resolveu. acabou de cair o ppoe, dai rebootei o pfsense e voltou. acho que vou ter que colocar o modem autenticando.
-
Experimente o boot no pfsense durante a madrugada, caso continue caindo, passe a autenticação para o modem.
-
tenho que instalar o cron pra agendar reboot na madrugua?
-
Sim, la em system packages.
-
qual o comando? já instalei o cron
-
-
minute hour mday month wday who command
0 8 * * * root /sbin/rebootestá correto para fazer todos os dias as 8hs?
-
Bom pessoal inverter as placas nao resolveu. acabou de cair o ppoe, dai rebootei o pfsense e voltou. acho que vou ter que colocar o modem autenticando.
Pq não usa o opção Periodic reset?
-
pode ser. vou tentar.
mas nao me lembro se ele configura para todos os dias, ou para um dia especifico só. acho que não vai resolver. pois se eu colocar de tanto em tanto tempo, acho que se eu reiniciar agora por exemplo, quebra o ciclo.
-
pode ser. vou tentar.
mas nao me lembro se ele configura para todos os dias, ou para um dia especifico só. acho que não vai resolver. pois se eu colocar de tanto em tanto tempo, acho que se eu reiniciar agora por exemplo, quebra o ciclo.
tem a opção por hora, dia, mes.. e tem a custom, que não testei pra ver como funfa….
-
minute hour mday month wday who command
0 8 * * * root /sbin/rebootestá correto para fazer todos os dias as 8hs?
Sim, só não esqueça de conferir se a hora do pfsense está correta. ;)
-
bom dia, o cron deu certo. quando cheguei no hj ele tinha reiniciado.
agora só falta ver se o ppoe vai cair novamente. -
descobri que meu fpsense nao tem o arquivo "diag_logs.php" alguém pode anexar ai por favor?
-
descobri que meu fpsense nao tem o arquivo "diag_logs.php" alguém pode anexar ai por favor?
qual versão do pfsense?
-
2.0.1-RELEASE (amd64)
-
2.0.1-RELEASE (amd64)
to enrolado aqui pra procurar… pode passar o caminho? o meu pfsense aqui é x86, será q da zebra?
-
acho que o caminho é este: /usr/local/www
acho que nao importa se é x86 ou 64 -
ta na mão:
/* $Id$ /
/
diag_logs.php
Copyright (C) 2004-2009 Scott Ullrich
All rights reserved.originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper mk@neon1.net.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*//*
pfSense_MODULE: system
*/##|+PRIV
##|*IDENT=page-diagnostics-logs-system
##|*NAME=Diagnostics: Logs: System page
##|*DESCR=Allow access to the 'Diagnostics: Logs: System' page.
##|MATCH=diag_logs.php
##|-PRIVrequire("guiconfig.inc");
$system_logfile = "{$g['varlog_path']}/system.log";
$nentries = $config['syslog']['nentries'];
if (!$nentries)
$nentries = 50;if ($_POST['clear'])
clear_log_file($system_logfile);if ($_GET['filtertext'])
$filtertext = htmlspecialchars($_GET['filtertext']);if ($_POST['filtertext'])
$filtertext = htmlspecialchars($_POST['filtertext']);if ($filtertext)
$filtertextmeta="?filtertext=$filtertext";$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("System"));
include("head.inc");?>
|
$tab_array = array();
$tab_array[] = array(gettext("System"), true, "diag_logs.php");
$tab_array[] = array(gettext("Firewall"), false, "diag_logs_filter.php");
$tab_array[] = array(gettext("DHCP"), false, "diag_logs_dhcp.php");
$tab_array[] = array(gettext("Portal Auth"), false, "diag_logs_auth.php");
$tab_array[] = array(gettext("IPsec"), false, "diag_logs_ipsec.php");
$tab_array[] = array(gettext("PPP"), false, "diag_logs_ppp.php");
$tab_array[] = array(gettext("VPN"), false, "diag_logs_vpn.php");
$tab_array[] = array(gettext("Load Balancer"), false, "diag_logs_relayd.php");
$tab_array[] = array(gettext("OpenVPN"), false, "diag_logs_openvpn.php");
$tab_array[] = array(gettext("OpenNTPD"), false, "diag_logs_ntpd.php");
$tab_array[] = array(gettext("Wireless"), false, "diag_logs_wireless.php");
$tab_array[] = array(gettext("Settings"), false, "diag_logs_settings.php");
display_top_tabs($tab_array);
?>
|
|if($filtertext)
dump_clog($system_logfile, $nentries, true, array("$filtertext"), array("ppp"));
else
dump_clog($system_logfile, $nentries, true, array(), array("ppp"));
?>| |
|<form id="filterform" name="filterform" action="diag_logs.php" method="post" style="margin-top: 14px;">
" />
</form>|
<form id="clearform" name="clearform" action="diag_logs.php" method="post" style="margin-top: 14px;">
" />
</form>|