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

    Sanity check ifconfig

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 706 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.
    • G
      gjaltemba
      last edited by gjaltemba

      Running pfSense 2.6 with realtek nic on WAN interface. Driver is realtek-re-kmod-196.04.txz. It is wonky and the only thing that helped was was to bounce the nic.

      ifconfig WAN down;ifconfig WAN up

      This was annoying but simple to do until a replacement nic gets installed. Working on a script to do this conditionally. Unexpectedly, the ifconfig syntax changed for unknown reason after working for 2 days. Reboot does not help. Was I dreaming?

      Current syntax runs OK but does not help

      ifconfig WAN down;ifconfig WAN up
      ifconfig: interface WAN does not exist
      ifconfig: interface WAN does not exist

      ifconfig re0 down;ifconfig re0 up

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You should be using the real interface names at the CLI with ifconfig. So re0 probably.

        Steve

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by A Former User

          It is wonky and the only thing that helped was
          to bounce the nic.

          Perhaps a newer driver version will also help you out.

          pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg 
          
          
          G 1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You only need to do 'pkg add' there. That already does the install.

            1 Reply Last reply Reply Quote 0
            • G
              gjaltemba @A Former User
              last edited by

              @dobby_ said in Sanity check ifconfig:

              pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg

              Thank you for your help. Output of pkg add

              Fetching realtek-re-kmod-197.00.pkg: 100% 100 KiB 102.1kB/s 00:01
              Installing realtek-re-kmod-197.00...
              the most recent version of realtek-re-kmod-196.04 is already installed

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @gjaltemba
                last edited by

                @gjaltemba said in Sanity check ifconfig:

                @dobby_ said in Sanity check ifconfig:

                pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg

                Thank you for your help. Output of pkg add

                Fetching realtek-re-kmod-197.00.pkg: 100% 100 KiB 102.1kB/s 00:01
                Installing realtek-re-kmod-197.00...
                the most recent version of realtek-re-kmod-196.04 is already installed

                Oh really odd, I was thinking it brings newer drivers
                and perhaps it will then eliminate the entire problem
                at all, really sad. So sorry I was thinking they will be
                newer then the 1.96.xxx ones.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  You may have to add the force flag or remove the existing pkg first because it's pulling from an external repo.

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