• How to Ping an IP and run a command when ping failed?

    3
    0 Votes
    3 Posts
    298 Views
    JKnottJ

    @vahidmoghadam

    You'd do it with a shell script. Here's one I wrote years ago on Linux:

    #! /bin/sh
    while [ 1 ]
    do
    ping 99.246.124.1 -c 1 || date >> ~/log;sleep 50
    done

    The commands I run on failure are date and sleep for 50 seconds.

  • Perplexing Problem with PFSense

    23
    0 Votes
    23 Posts
    3k Views
    I

    Apologies for the thread necro, but I figured I should give a final update.

    Was all ready with Wireshark, and waiting for the problem to happen again - but it didn't. And four months later, it still hasn't happened. Everyone seems to be working fine. And I still had no idea what the problem was, or why it suddenly vanished.

    It could be sunspots for all I know. Thanks for all the advice and suggestions. 😃

  • Submitting Crash Report

    2
    0 Votes
    2 Posts
    409 Views
    jimpJ

    Both of those crashes are different but appear to be in PPPoE and netgraph.

    They don't quite line up with other similar recent issues either.

    First panic backtrace:

    db:0:kdb.enter.default> bt Tracing pid 0 tid 100007 td 0xfffffe0012e2c720 kdb_enter() at kdb_enter+0x32/frame 0xfffffe001099f960 vpanic() at vpanic+0x183/frame 0xfffffe001099f9b0 panic() at panic+0x43/frame 0xfffffe001099fa10 pppoe_addsession() at pppoe_addsession+0xb1/frame 0xfffffe001099fa40 ng_pppoe_rcvdata_ether() at ng_pppoe_rcvdata_ether+0x8ba/frame 0xfffffe001099fad0 ng_apply_item() at ng_apply_item+0x2de/frame 0xfffffe001099fb70 ng_snd_item() at ng_snd_item+0x2e0/frame 0xfffffe001099fbb0 ether_demux() at ether_demux+0x1a4/frame 0xfffffe001099fbe0 ether_nh_input() at ether_nh_input+0x349/frame 0xfffffe001099fc30 netisr_dispatch_src() at netisr_dispatch_src+0xad/frame 0xfffffe001099fc90 ether_input() at ether_input+0x99/frame 0xfffffe001099fcf0 iflib_rxeof() at iflib_rxeof+0xe59/frame 0xfffffe001099fe00 _task_fn_rx() at _task_fn_rx+0x7a/frame 0xfffffe001099fe40 gtaskqueue_run_locked() at gtaskqueue_run_locked+0xa7/frame 0xfffffe001099fec0 gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0xc2/frame 0xfffffe001099fef0 fork_exit() at fork_exit+0x80/frame 0xfffffe001099ff30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe001099ff30

    First panic message buffer:

    <5>ng_pppoe[15]: no matching session panic: Bad list head 0xfffffe0096ade060 first->prev != head cpuid = 0 time = 1685171251 KDB: enter: panic

    Second panic backtrace:

    Tracing pid 13 tid 100046 td 0xfffffe0012ec4020 kdb_enter() at kdb_enter+0x32/frame 0xfffffe00858c9cf0 vpanic() at vpanic+0x183/frame 0xfffffe00858c9d40 panic() at panic+0x43/frame 0xfffffe00858c9da0 ng_destroy_hook() at ng_destroy_hook+0x309/frame 0xfffffe00858c9de0 ng_apply_item() at ng_apply_item+0x97/frame 0xfffffe00858c9e80 ngthread() at ngthread+0x26b/frame 0xfffffe00858c9ef0 fork_exit() at fork_exit+0x80/frame 0xfffffe00858c9f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00858c9f30

    Second panic message buffer:

    panic: refcount 0xfffff800188fd2a8 wraparound cpuid = 3 time = 1685245381 KDB: enter: panic
  • Cert Manager - P12 Export

    Locked
    7
    0 Votes
    7 Posts
    921 Views
    jimpJ

    @sgw said in Cert Manager - P12 Export:

    Digging up this thread, because I face issues with 23.01 and LetsEncrypt-Certs:

    I have an ACME-cert for an MS Exchange Server which I renew every 90 days.
    As far as I remember last time I exported the p12 from the pfSense, imported it by double-click into Windows Server ... without a password.

    Now the cert doesn't get accepted, I added a password via openssl ... just can't import it.

    Do I miss something? Is there a bug? Unfortunately I can't upgrade to 23.05 there right now.

    It's better to start your own new thread than try to resurrect a 3 year old thread that isn't relevant anymore.

    You can export with a password and different encryption options directly in the GUI for several versions now:

    https://docs.netgate.com/pfsense/en/latest/certificates/certificate.html#export-password-protected-files-or-use-different-encryption-options

  • 23.01 install results in no internet

    69
    0 Votes
    69 Posts
    23k Views
    stephenw10S

    Ah, OK. Interesting. I'm not aware of anything specific that would have affected that but it could well have been an unintended effect of some other change. That would be unlikely to have been tested since it's considered an invalid setup.

    I would open bug report with the specific findings you have there.
    https://redmine.pfsense.org/

    IMO it should be valid since PPP is point-to-point and can work in a setup like that. It may just need to be excluded from a check somewhere.

    Steve

  • Local Pfsense to Vulture CloudInstance

    1
    0 Votes
    1 Posts
    260 Views
    No one has replied
  • no internet on lan

    13
    0 Votes
    13 Posts
    1k Views
    V

    @hoandco
    I don't think so.

    I can hardly follow your comments. To get clear, pleas post the "DNS Server Settings" from System > General Setup.

    And what do you get exactly, when doing a lookup for google.com in Diagnostics > DNS Lookup?

    Do you have the DNS Resolver enabled on pfSense?

  • Upgrade from 32 bit to 64 bit

    Moved
    7
    0 Votes
    7 Posts
    3k Views
    L

    @Bummer : did your import config file to 64bit version wokred?

  • 0 Votes
    7 Posts
    940 Views
    S

    @Gektor the patch in that thread should fix it.

  • OpenVPN Issues Anyone After Upgrading to 23.05?

    6
    0 Votes
    6 Posts
    1k Views
    N

    @Lavarocker said in OpenVPN Issues Anyone After Upgrading to 23.05?:

    Re: To 23.05 or not ? that is the question :)

    Has anyone tested OpenVPN after upgrading to 23.05? The last official update broke it.

    Thanks

    I have issue with my OpenVPN Server and client. I was able to get OpenVPN Server working again by disable it and then re-enable it. As for my 2 OpenVPN clients, both show are connected but the gateway show offline/packetloss. I have rebuild it again since I can't fine any issue. My suggest is that there likely some new field being added to OpenVPN which causing issue on my end.

  • [Solved] Lock Top navigation...?

    5
    0 Votes
    5 Posts
    648 Views
    F

    @NollipfSense said in Lock Top navigation...?:

    @furom You could restart webGUI at the console or reboot.

    Cool! I was logged out and when logging back in it stuck! Thanks :)

  • Game downloads non-functional even after Factory Defaults reset

    4
    0 Votes
    4 Posts
    591 Views
    S

    @TheRedHerring Ah but devices go around DNS with DOH.Browsers use it by default. I’ve one device that requires it.

    This is an overly detailed guide but may help with blocking other DNS if that’s your goal:
    https://jpgpi250.github.io/piholemanual/doc/Block%20DOH%20with%20pfsense.pdf

  • [SOLVED] 23.05-RELEASE package manager and pkg upgrade issues

    14
    0 Votes
    14 Posts
    2k Views
    P

    After running around in circles for almost a week, trying all suggestions on the forum I finally got it working. The solution? Using the console and

    13) Update from console
  • port question

    2
    0 Votes
    2 Posts
    292 Views
    Dobby_D

    I would go with a small unit that comes with 3 LAN ports and having an looking eye forward it should
    maybe coming by site with 3 x 2.5 GBit/s ports.

    WAN /LAN /DMZ / (WLAN)

    CPU 4C/4T w/ 4 GB RAM
    CPU 4C/8T w/ 8 GB RAM

    Or if the RAM module will be able to change
    it may be the best option! (SO-DIMM)

    If you need a fall back line (3G/LTE) it should comes sorted with an SIM socket and/or
    miniPCIe or M.2 socket inside.

    If you want to use the captive portal with
    FreeRadius it should be also sorted with a
    miniPCIe or M.2 for a wireless card (WiFi)

    It should be able to connect to the console
    in any kind. Serial DB9-RS232 or RJ45 CON
    or USB CON port. For solving out any problems.

    Netgate itself are offering smaller units in their
    shop. Perhaps there is something for your needs
    in? Have look please: Netgate Shop

    What is your entire WAN speed?
    What packages will you run?
    Do you using PPPoE?

  • 23.05 upgrade gateway timeout problem

    Moved
    11
    0 Votes
    11 Posts
    1k Views
    S

    @Gektor Sounds similar but different situation. New thread? Check the logs to see why PHP is crashing.

  • Help me make my network recover better from ISP dropouts

    5
    0 Votes
    5 Posts
    632 Views
    JonathanLeeJ

    Have you tried to set the latency to a different mode?

  • Fatal trap 9 crash every 4-6 hours

    2
    0 Votes
    2 Posts
    315 Views
    M

    Quick update:
    I have decided to try reinstalling pfsense on ZFS instead of UFS. I backed up all my configs first, did a clean install with 1 striped disk and set zfs copies=2. It hasn't been long since I restored everything but pfsense has been running for 16 hours now without any crashes so it's looking promising so far.

    I will post another update with how it's running after a few days or when it crashes again.

  • Errors that occurred during upgrades to 23.01 and 23.05 RC

    12
    0 Votes
    12 Posts
    2k Views
    stephenw10S

    @Sorjal said in Errors that occurred during upgrades to 23.01 and 23.05 RC:

    I try to switch away from 192.x.x.x

    A good idea in most cases. 👍

  • Pfsense possibly corrupted software

    7
    0 Votes
    7 Posts
    832 Views
    S

    @tibtub On a 2100 you have to time it right. https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/factory-reset.html (lurkers: some other models that button just reboots)

    Or use the console menu option to reset, or web GUI Diagnostics menu to reset.

  • 0 Votes
    3 Posts
    776 Views
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.