• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Apr 27, 2022, 8:28 AM

    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.

    J 1 Reply Last reply Apr 27, 2022, 8:30 AM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Peter_APIIT
      last edited by johnpoz Apr 27, 2022, 8:31 AM Apr 27, 2022, 8:30 AM

      @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 Apr 28, 2022, 1:02 AM Reply Quote 0
      • P
        Peter_APIIT @johnpoz
        last edited by Apr 28, 2022, 1:02 AM

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

        J 1 Reply Last reply Apr 28, 2022, 3:58 AM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Peter_APIIT
          last edited by johnpoz Apr 28, 2022, 4:00 AM Apr 28, 2022, 3:58 AM

          @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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received