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

HELP: NETGATE 3100 - After updating from 22.05 to 23.01 unable to create/use GIF interfaces

Scheduled Pinned Locked Moved General pfSense Questions
34 Posts 8 Posters 4.0k 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.
  • J
    jaltman @jimp
    last edited by Feb 23, 2023, 8:52 PM

    @jimp Unfortunately I do not know. Now when I set the gateway to "automatic" and reboot the tunnel is selected as the default. Sadly I did not create a snapshot before I made the change.

    I agree that explicitly selecting the tunnel is the correct thing to do.

    1 Reply Last reply Reply Quote 0
    • J
      jmaynard
      last edited by Feb 25, 2023, 3:59 PM

      I had this problem, and tried to fix it by deleting and redefining the GIF. Unfortunately, that didn't work: I get a PHP error when I try to define it:

      [24-Feb-2023 20:52:20 America/Chicago] PHP Fatal error:  Uncaught TypeError: pfSense_interface_flags(): Argument #1 ($ifname) must be of type string, array given in /etc/inc/interfaces.inc:44
      Stack trace:
      #0 /etc/inc/interfaces.inc(44): pfSense_interface_flags(Array, 1)
      #1 /etc/inc/interfaces.inc(1271): interfaces_bring_up(Array)
      #2 /usr/local/www/interfaces_gif_edit.php(124): interface_gif_configure(Array)
      #3 {main}
        thrown in /etc/inc/interfaces.inc on line 44
      

      I tried registering on Redmine to file a bug report, but have not yet gotten the activation email. @jimp , is it broken again?

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Feb 25, 2023, 5:13 PM

        That's a different issue. I opened a bug for it: https://redmine.pfsense.org/issues/14035

        J 1 Reply Last reply Feb 25, 2023, 6:17 PM Reply Quote 0
        • J
          jmaynard @stephenw10
          last edited by jmaynard Feb 25, 2023, 6:18 PM Feb 25, 2023, 6:17 PM

          @stephenw10 Thanks! Yeah, I was hesitant to post to this thread about it, but there was already discussion on GIF interfaces, so...

          (And if I can ever get registered on Redmine, I did save the debug log.)

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Feb 25, 2023, 8:51 PM

            Can you see what's in your config file when you hit that error?

            Or the exact steps required to replicate it?

            J 1 Reply Last reply Feb 25, 2023, 10:32 PM Reply Quote 0
            • J
              jmaynard @stephenw10
              last edited by Feb 25, 2023, 10:32 PM

              @stephenw10 Replicating it is easy:

              1. Navigate to Interfaces->Assignments, GIFs tab.
              2. Click + Add.
              3. Enter server IP address, GIF tunnel local address, and GIF tunnel remote address as appropriate (I took mine from my HE tunnel page).
              4. Select 64 for GIF tunnel subnet.
              5. Do not select ECN friendly behavior or Outer Source Filtering.
              6. Enter "HE IPv6 tunnel" for description.
              7. Click Save.

              Expected result: GIF interface is created.
              Actual result: PHP error:

              Fatal error: Uncaught TypeError: pfSense_interface_flags(): Argument #1 ($ifname) must be of type string, array given in /etc/inc/interfaces.inc:44 Stack trace: #0 /etc/inc/interfaces.inc(44): pfSense_interface_flags(Array, 1) #1 /etc/inc/interfaces.inc(1271): interfaces_bring_up(Array) #2 /usr/local/www/interfaces_gif_edit.php(124): interface_gif_configure(Array) #3 {main} thrown in /etc/inc/interfaces.inc on line 44 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 44, Message: Uncaught TypeError: pfSense_interface_flags(): Argument #1 ($ifname) must be of type string, array given in /etc/inc/interfaces.inc:44 Stack trace: #0 /etc/inc/interfaces.inc(44): pfSense_interface_flags(Array, 1) #1 /etc/inc/interfaces.inc(1271): interfaces_bring_up(Array) #2 /usr/local/www/interfaces_gif_edit.php(124): interface_gif_configure(Array) #3 {main} thrown
              
              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 25, 2023, 11:23 PM

                Mmm, there must be something existing in your config or missing from that would usually be there by default when you attempt to apply that. It doesn't happen on a clean config as far as I can tell. Or at least I've failed to replicate it so far.

                J 1 Reply Last reply Feb 25, 2023, 11:29 PM Reply Quote 0
                • J
                  jmaynard @stephenw10
                  last edited by Feb 25, 2023, 11:29 PM

                  @stephenw10 I can send you my config, if you like. Just let me know where to send it.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 25, 2023, 11:32 PM

                    Yes, please upload it here: https://nc.netgate.com/nextcloud/s/3kdTjgDRRC2txeQ

                    J 1 Reply Last reply Feb 25, 2023, 11:46 PM Reply Quote 0
                    • J
                      jmaynard @stephenw10
                      last edited by Feb 25, 2023, 11:46 PM

                      @stephenw10 Done.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 26, 2023, 12:17 AM

                        Thanks. When you hit this error does the tunnel actually get created? Do you get additional config in the file?

                        J 1 Reply Last reply Feb 26, 2023, 12:53 AM Reply Quote 0
                        • J
                          jmaynard @stephenw10
                          last edited by Feb 26, 2023, 12:53 AM

                          @stephenw10 I don't know where to look at the config file (I'm ont a BSD guy), but Interfaces->Assignments, Interface Assignments tab, does not show the interface to assign.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by stephenw10 Feb 26, 2023, 5:07 PM Feb 26, 2023, 4:48 PM

                            If you look in Diag > Backup > Config History you can see any changes to the config file.

                            J 2 Replies Last reply Feb 26, 2023, 4:52 PM Reply Quote 0
                            • J
                              jmaynard @stephenw10
                              last edited by Feb 26, 2023, 4:52 PM

                              @stephenw10 Nope...last thing in the config history is the deletion of the GIF interface that I did trying to resolve the initial problem.

                              1 Reply Last reply Reply Quote 1
                              • J
                                jmaynard @stephenw10
                                last edited by Mar 4, 2023, 2:10 PM

                                @stephenw10 I see the Redmine case is marked "more information needed". I'll be happy to provide more, but I still can't get the verification email from Redmine. What else is needed?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Mar 6, 2023, 4:42 PM

                                  The same email address you're using here?

                                  J 1 Reply Last reply Mar 6, 2023, 5:01 PM Reply Quote 0
                                  • J
                                    jmaynard @stephenw10
                                    last edited by Mar 6, 2023, 5:01 PM

                                    @stephenw10 Yes, that is correct.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Mar 6, 2023, 5:04 PM

                                      Hmm, I'd try again, check you junk mail etc. The logs this end show the email being sent on March 4th at 8.07.

                                      J 1 Reply Last reply Mar 6, 2023, 5:31 PM Reply Quote 0
                                      • J
                                        jmaynard @stephenw10
                                        last edited by jmaynard Mar 6, 2023, 5:32 PM Mar 6, 2023, 5:31 PM

                                        @stephenw10 No mail in my spam folder or anywhere else, either. I just asked for a re-send again...not received yet, but I'll keep looking.

                                        Edit: ...and, of course,. as soon as I post that, it shows up. Activated.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Mar 6, 2023, 10:39 PM

                                          Just to confirm you also had a Hurricane Electric tunnel?

                                          Do you still see that error if you remove the WANV6_HE_TUNNEL_TUNNELV6 gateway before recreating the tunnel?

                                          J 1 Reply Last reply Mar 6, 2023, 11:15 PM Reply Quote 0
                                          30 out of 34
                                          • First post
                                            30/34
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received