Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Resolvido] Conexão PPPoE cai todo dia - modem bridge

    Scheduled Pinned Locked Moved Portuguese
    29 Posts 4 Posters 12.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      suportefloripa
      last edited by

      qual o comando? já instalei o cron

      Rodrigo Motta
      Florianópolis - SC
      http://www.rodrigomotta.info

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @suportefloripa:

        qual o comando? já instalei o cron

        /sbin/reboot

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • S
          suportefloripa
          last edited by

          minute hour mday  month wday who command
              0    8    *      *      *  root  /sbin/reboot

          está correto para fazer todos os dias as 8hs?

          Rodrigo Motta
          Florianópolis - SC
          http://www.rodrigomotta.info

          1 Reply Last reply Reply Quote 0
          • S
            synap
            last edited by

            @suportefloripa:

            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?

            1 Reply Last reply Reply Quote 0
            • S
              suportefloripa
              last edited by

              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.

              Rodrigo Motta
              Florianópolis - SC
              http://www.rodrigomotta.info

              1 Reply Last reply Reply Quote 0
              • S
                synap
                last edited by

                @suportefloripa:

                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….

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  @suportefloripa:

                  minute hour mday  month wday who command
                      0     8     *      *       *  root  /sbin/reboot

                  está correto para fazer todos os dias as 8hs?

                  Sim, só não esqueça de conferir se a hora do pfsense está correta.  ;)

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • S
                    suportefloripa
                    last edited by

                    bom dia, o cron deu certo. quando cheguei no hj ele tinha reiniciado.
                    agora só falta ver se o ppoe vai cair novamente.

                    Rodrigo Motta
                    Florianópolis - SC
                    http://www.rodrigomotta.info

                    1 Reply Last reply Reply Quote 0
                    • S
                      suportefloripa
                      last edited by

                      descobri que meu fpsense nao tem o arquivo "diag_logs.php" alguém pode anexar ai por favor?

                      Rodrigo Motta
                      Florianópolis - SC
                      http://www.rodrigomotta.info

                      1 Reply Last reply Reply Quote 0
                      • S
                        synap
                        last edited by

                        @suportefloripa:

                        descobri que meu fpsense nao tem o arquivo "diag_logs.php" alguém pode anexar ai por favor?

                        qual versão do pfsense?

                        1 Reply Last reply Reply Quote 0
                        • S
                          suportefloripa
                          last edited by

                          2.0.1-RELEASE (amd64)

                          Rodrigo Motta
                          Florianópolis - SC
                          http://www.rodrigomotta.info

                          1 Reply Last reply Reply Quote 0
                          • S
                            synap
                            last edited by

                            @suportefloripa:

                            2.0.1-RELEASE (amd64)

                            to enrolado aqui pra procurar… pode passar o caminho? o meu pfsense aqui é x86, será q da zebra?

                            1 Reply Last reply Reply Quote 0
                            • S
                              suportefloripa
                              last edited by

                              acho que o caminho é este: /usr/local/www
                              acho que nao importa se é x86 ou 64

                              Rodrigo Motta
                              Florianópolis - SC
                              http://www.rodrigomotta.info

                              1 Reply Last reply Reply Quote 0
                              • S
                                synap
                                last edited by

                                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
                                ##|-PRIV

                                require("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>

                                |

                                |/mk@neon1.net

                                1 Reply Last reply Reply Quote 0
                                • S
                                  synap
                                  last edited by

                                  pela gui não consegui carregar ele, só pelo ssh…

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    suportefloripa
                                    last edited by

                                    funcionou certinho. muito obrigado.

                                    Rodrigo Motta
                                    Florianópolis - SC
                                    http://www.rodrigomotta.info

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.