• RRD limits?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Diskussion Bug #2464 - cannot get data about interface

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Cron job for saving RRD graph data on embedded installs

    Locked
    4
    0 Votes
    4 Posts
    5k Views
    jimpJ

    August 9, 2010. :-)

  • Widget Troubles with IE8/9

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    S

    The 2.0.2 is very close…. :)

  • Traffic graph showing negative values

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Move Pfsense to CakePHP Framework

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    C

    That was never the plan, it was under consideration along with other things at one point. It's too bloated. No immediate plans to change anything there.

  • PFsense banner menu

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    A

    Hi,

    it is indeed this file. Thank you for your answer.

    Have a nice day
    Airy

    Edit : how can I mark "solved" on the topic ?

  • WebGui stop to repsonse

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    B

    the problem is that i can't kill lighttpd…. any suggestions? Thanks

  • 0 Votes
    2 Posts
    2k Views
    K

    I figured it out… It was my error! I was not putting https:// before the domain! My daughter said "Silly Papa" and laughed at me!

  • Asterisk status on pfSense2.0.1 webGUI

    Locked
    18
    0 Votes
    18 Posts
    20k Views
    marcellocM

    Asterisk.Inc file is the script that creates asterisk config file. You can edit it to include your config to asterisk.

  • I can't restart pfsense

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    M

    Strange, because I'm using version 2.0.1 x86 pfsense.
    Both the x86 and amd64 are having the same problem.
    If you can help me, pass me by e-mail the file libpcre.so.1. So I cut and paste in pfsense without problems.

    Thank you

  • Attempting to write NUT UPS Status widget for Dashboard

    Locked
    7
    0 Votes
    7 Posts
    6k Views
    T

    I received an email from user "LostInIgnorance" asking me to post the code I have.  I am posting the version I wrote before attempting to add the automatic AJAX widget refresh code.  It is as follows:

    /*         $Id$         Copyright 2008 Seth Mos         Part of pfSense widgets (www.pfsense.com)         originally based on m0n0wall (http://m0n0.ch/wall)         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. */ $nocsrf = true; require_once("guiconfig.inc"); require_once("pfsense-utils.inc"); require_once("functions.inc"); $nut_config = $config['installedpackages']['nut']['config'][0]; /* functions */ function secs2hms($secs) { if ($secs<0) return false; $m = (int)($secs / 60); $s = $secs % 60; $h = (int)($m / 60); $m = $m % 60; return array($h, "h ", $m, "m ", $s, "s "); } function tblrowbar ($value, $symbol, $red, $yellow, $green) { if(!$value) return; $value = sprintf("%.1f", $value); $red = explode('-', $red); $yellow = explode('-', $yellow); $green = explode('-', $green); sort($red); sort($yellow); sort($green); if($value >= $red[0] && $value <= ($red[0]+9)) { $color = 'black'; $bgcolor = 'red'; } if($value >= ($red[0]+10) && $value <= $red[1]) { $color = 'white'; $bgcolor = 'red'; } if($value >= $yellow[0] && $value <= $yellow[1]) { $color = 'black'; $bgcolor = 'yellow'; } if($value >= $green[0] && $value <= ($green[0]+9)) { $color = 'black'; $bgcolor = 'green'; } if($value >= ($green[0]+10) && $value <= $green[1]) { $color = 'white'; $bgcolor = 'green'; } print(<< <eod<br>{$value}{$symbol} EOD ."\n"); } ?> | Monitoring | Model | Status | | $running = ((int)exec('pgrep upsmon | wc -l') > 0) ? true : false; if($nut_config['monitor'] == 'local') { echo "Local UPS"; $cmd = "upsc {$nut_config['name']}@localhost"; } elseif($nut_config['monitor'] == 'remote') { echo "Remote UPS"; $cmd = "upsc {$nut_config['remotename']}@{$nut_config['remoteaddr']}"; } elseif($nut_config['monitor'] == 'snmp') { echo "SNMP UPS"; $cmd = "upsc {$nut_config['snmpname']}@localhost"; } ?>   | if($running) $handle = popen($cmd, 'r'); elseif($nut_config['monitor'] == 'snmp') $condition = "NUT enabled but service not running!\nSNMP UPS may be unreachable."; else $condition = "NUT enabled but service not running!"; if($handle) { $read = fread($handle, 4096); pclose($handle); $lines = explode("\n", $read); $ups = array(); foreach($lines as $line) { $line = explode(':', $line); $ups[$line[0]] = trim($line[1]); } if(count($lines) == 1) $condition = "ERROR:Data stale!"; echo $ups['ups.model']; print(<< | EOD ."\n"); $status = explode(' ', $ups['ups.status']); foreach($status as $condition) { if($disp_status) $disp_status .= ', '; switch ($condition) { case 'WAIT': $disp_status .= 'Waiting'; break; case 'OFF': $disp_status .= 'Off Line'; break; case 'OL': $disp_status .= 'On Line'; break; case 'OB': $disp_status .= 'On Battery'; break; case 'TRIM': $disp_status .= 'SmartTrim'; break; case 'BOOST': $disp_status .= 'SmartBoost'; break; case 'OVER': $disp_status .= 'Overload'; break; case 'LB': $disp_status .= 'Battery Low'; break; case 'RB': $disp_status .= 'Replace Battery'; break; case 'CAL': $disp_status .= 'Calibration'; break; default: $disp_status .= $condition; break; } } echo $disp_status; print(<< | Battery Charge | Runtime Remaining | Battery Voltage | | EOD ."\n"); /* echo $ups['battery.charge'] . "%"; */ tblrowbar($ups['battery.charge'], '%', '0-29' ,'30-79', '80-100'); print(<< | EOD ."\n"); echo implode(secs2hms($ups['battery.runtime'])); print(<< | EOD ."\n"); echo $ups['battery.voltage'] . "V"; } ?> |</eod<br>

    It ain't pretty but it does the job.

  • You must enter valid credentials to access this resource

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ

    Without knowing what packages you have installed, it's impossible to help.

    That string doesn't show up anywhere in our current code/releases, but it does show in a couple of packages (authng and spamd).

    If you're seeing it, the most likely explanation is that you're not entering the right password, or at least not the password it expects.

  • Block webgui acces to my wlan router connected to lan interface

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    T

    got it working.
    change port 80 on your wlan router to another port (1000)

    Set a firewall rule

    Block

    Proto: TCP
    Source: Lan Net
    Port: any
    Destination: Lan Adress
    Port: 1000

  • IPSec dashboard widget only displays 4 rows

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Web interface issue

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    B

    thanks jimp,

    Will do this in the future.
    Makes sense.

    Barry

  • Webgui access from internet

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    T

    Thx man i've got it working.

  • Changed to a new cert, no connection to webGUI´t!

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    N

    In general this should work without problems.

    Further if it does not work you can connect to pfsense using ssh or console and reassign the LAN ip address. then it will ask you if you would like to revert to http. This should be enough.

    I did this on pfsense 2.0.0 and it worked.

  • Incorrect LDAP setup causing Gui lockout

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    E

    Same problem here, i was testing ldap authentication with a Windows 2008R2 Domain Controller and had the test-dc shut down: i was barely able to login to the system. I suppose it's due to the fact that almost every page you visit the system checks if the user is ok.
    According to http://doc.pfsense.org/index.php/User_Manager "If you are using an LDAP server and the authentication server times out, the system will fall back to using pfSense's built-in authentication" so I think this could be solved lowering the ldap timeout but i havent found an option for it.

    Generally I think this should be changed: the ldap user connection could be used for authenticating VPN users but having the ldap server down shouldnt be disruptive for the whole firewall system.

    EDIT according to system log, it looks like everytime the system try to check which group the user belongs to:

    php: /system.php: ERROR! ldap_get_groups() could not bind to server test 2008.

  • Cpu realtime monitoring why 10 seconds ?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    jimpJ

    Reloading the widget faster would put too much of a burden on the lighttpd process on small devices.

    If you really want realtime, login over ssh and watch with top -SH

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.