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

    Full Command to restart the networking in pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.4k 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.
    • P
      Peter_APIIT
      last edited by

      Dear all,
      I had research the command use to restart the networking at pfsense is service netif restart && service routing restart but I don't know the full path of the command which write it in cron page.

      What are the full path command of service? Thanks.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @Peter_APIIT
        last edited by johnpoz

        @peter_apiit

        [22.01-RELEASE][admin@sg4860.local.lan]/root: find / -name netif
        /etc/rc.d/netif
        [22.01-RELEASE][admin@sg4860.local.lan]/root: find / -name service
        /usr/sbin/service
        [22.01-RELEASE][admin@sg4860.local.lan]/root: 
        

        Out of curiosity - why would you think you need/want to restart these?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        P 1 Reply Last reply Reply Quote 0
        • P
          Peter_APIIT @johnpoz
          last edited by

          @johnpoz Internet tend to become slower, so need refresh the connection. By the way, I try manually input the command but it is not get the IP via dhcp from ISP.

          I input /usr/sbin/service netif restart && /usr/sbin/service routing restart..

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @Peter_APIIT
            last edited by johnpoz

            @peter_apiit said in Full Command to restart the networking in pfsense:

            become slower, so need refresh the connection

            Not really a thing - but ok ;)

            Pfsense been running for 72 days, just as fast as it was 72 days ago for "internet"..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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