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

    ATT Uverse RG Bypass (0.2 BTC)

    Scheduled Pinned Locked Moved Bounties
    555 Posts 80 Posters 1.2m 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.
    • B
      bulldog5
      last edited by

      I've tried using the pfatt.sh script in supplicant mode, and I get the following No such file messages when I run it..

      pfatt: starting pfatt...
      pfatt: configuration:
      pfatt: ONT_IF = igb1
      pfatt: RG_ETHER_ADDR =XX:XX:XX:XX:XX:XX
      pfatt: EAP_MODE = supplicant
      pfatt: EAP_SUPPLICANT_IDENTITY = XX:XX:XX:XX:XX:XX
      pfatt: EAP_BRIDGE_IF = igb1
      pfatt: EAP_BRIDGE_5268AC = 0
      pfatt: resetting netgraph...
      pfatt: configuring EAP environment for supplicant mode...
      pfatt: cabling should look like this:
      pfatt: ONT---[] [igb1]pfSense
      pfatt: creating vlan node and ngeth0 interface...
      ngctl: send msg: No such file or directory
      ngctl: send msg: No such file or directory
      ngctl: send msg: No such file or directory
      ngctl: send msg: No such file or directory
      ngctl: send msg: No such file or directory
      pfatt: enabling promisc for igb1...
      pfatt: starting wpa_supplicant...
      pfatt: wpa_supplicant running on PID ...
      pfatt: setting wpa_supplicant network configuration...
      pfatt: waiting EAP for authorization...
      pfatt: EAP authorization completed...
      ifconfig: interface ngeth0 does not exist
      pfatt: no IP address assigned, force restarting DHCP...
      dhclient not running? (check /var/run/dhclient.ngeth0.pid).
      ifconfig: interface ngeth0 does not exist
      ngeth0: not found
      exiting.
      ifconfig: interface ngeth0 does not exist
      pfatt: IP address is ...
      pfatt: ngeth0 should now be available to configure as your WAN...
      pfatt: done!

      G 1 Reply Last reply Reply Quote 0
      • G
        GoldServe @bulldog5
        last edited by

        @bulldog5 When you issue ngctl list, do you see igb1 in the list below?

        B 1 Reply Last reply Reply Quote 0
        • B
          bulldog5 @GoldServe
          last edited by bulldog5

          @GoldServe

          No my ONT/WAN is igb1 and LAN is igb0

          There are 5 total nodes:
          Name: igb2 Type: ether ID: 00000003 Num hooks: 0
          Name: igb3 Type: ether ID: 00000004 Num hooks: 0
          Name: ngctl92076 Type: socket ID: 00000017 Num hooks: 0
          Name: <unnamed> Type: socket ID: 00000007 Num hooks: 0
          Name: snmpd Type: socket ID: 00000009 Num hooks: 0

          G 1 Reply Last reply Reply Quote 0
          • G
            GoldServe @bulldog5
            last edited by

            @bulldog5 Well, i don't see igb1 in that list you posted. That's your problem.

            B 1 Reply Last reply Reply Quote 0
            • B
              bulldog5 @GoldServe
              last edited by

              @GoldServe

              right, so how does it get in that list? I configured the pfatt.sh script and ran it. those are the errors i get.

              G 1 Reply Last reply Reply Quote 0
              • G
                GoldServe @bulldog5
                last edited by

                @bulldog5 You get: ngctl: send msg: No such file or directory because ngctl doesn't find igb1, not the other way around. I don't know why it doesn't show for you but in my virtualized setup, vmxnet3 adapters did not show but e1000e adapters show up in ngctl.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bulldog5 @GoldServe
                  last edited by

                  @GoldServe
                  figured it out, had to be done on a fresh pfsense startup.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    t41k2m3 @bulldog5
                    last edited by

                    @bulldog5 you got it, script needs to run at bootup (either get the Shellcmd package or manually edit /conf/config.xml to run it at <earlyshellcmd> stage). At/after first boot, a few more adjustments may need to be made once ngeth0 is available.
                    @aus posted code and instructions on github, if you follow those steps, you should be good to go. Take a backup of your config.xml in case anything goes wrong and reimaging may be needed. Still confused how your connection was working before without netgraph and VLAN0 (didn't look like switch config you posted was doing that).

                    B 2 Replies Last reply Reply Quote 0
                    • B
                      bulldog5 @t41k2m3
                      last edited by bulldog5

                      @t41k2m3

                      Not sure, i never had any issues with that GS105 switch, i set the VLAN ID to 1 for 2 ports, ONT and PFs WAN, and the Supplicant method worked fine going through that switch without NG. That particular switch version ignores VLANID 0 which is why it works. Try setting your PFSense WAN to static assign your IP as a test and see if it works?

                      1 Reply Last reply Reply Quote 0
                      • B
                        bulldog5 @t41k2m3
                        last edited by

                        @t41k2m3
                        So i noticed that the config.xml clears the <earlyshellcmd> part out after the initial restart from me adding it. Does it need to only be run that one time for NG to be setup? What keeps supplicant running in the future?

                        J T 2 Replies Last reply Reply Quote 0
                        • J
                          JonH @bulldog5
                          last edited by

                          @bulldog5 I'm no expert but that does not sound right to me. Maybe you are placing it in the wrong part of the config.
                          The first time I did this with a manual edit I placed the command incorrectly, after </earlyshellcmd>, Note the slash. This is the END of the directive (or whatever it is called). It needs to be before that statement.
                          <earlyshellcmd>
                          /usr/local/bin/php-cgi -f /usr/local/bin/apply_patches.php
                          [your command goes here].
                          </earlyshellcmd>

                          There is a pkg you can use, download the Shell Command package. It has an option to select early and you can use it to insert your command. Run it from the Services menu.

                          1 Reply Last reply Reply Quote 0
                          • T
                            t41k2m3 @bulldog5
                            last edited by

                            @bulldog5 similar observation as @JonH insofar as this is not expected behavior. Not sure what may be causing it in this case, however, the netgraph script needs to run at every reboot (if not, ngeth0 won't be available). Shellcmd package seems to work well and it makes it easy to add/delete scripts to run at different bootup stages, you might want to give that a try and see if that fixes the issue.

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              bulldog5 @t41k2m3
                              last edited by

                              @t41k2m3

                              I have <earlyshellcmd>/conf/pfatt.sh</earlyshellcmd> right above the </system> line in the config.xml -- thats what the instructions say.

                              I'm familiar with the shell command pkg and have it installed/used it for the wpa_supplicant method. Just was curious why config.xml was clearing out this section after reboot.

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                Because manual edits of the config file are not guaranteed to be saved.

                                Use the shell command package.

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  t41k2m3 @Derelict
                                  last edited by

                                  @Derelict thought that config.xml did not get overwritten or recreated/changed at boot. is that incorrect (and if so, is the whole file reparsed or just certain sections)?

                                  1 Reply Last reply Reply Quote 0
                                  • DerelictD
                                    Derelict LAYER 8 Netgate
                                    last edited by

                                    Manual edits outside the GUI are not supported. You can edit what is there if there is a supported configuration, but adding something like earlyshellcmd without the shell command package installed is just asking for trouble. Best to use the gui.

                                    Chattanooga, Tennessee, USA
                                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bulldog5
                                      last edited by

                                      I did/do have the shell command pkg installed, same treatment.

                                      1 Reply Last reply Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate
                                        last edited by

                                        That makes no sense. You'll have to post more details. Use the shell command package to make the entry and you will be fine.

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          bulldog5 @Derelict
                                          last edited by bulldog5

                                          @Derelict said in ATT Uverse RG Bypass (0.2 BTC):

                                          That makes no sense. You'll have to post more details. Use the shell command package to make the entry and you will be fine.

                                          but adding something like earlyshellcmd without the shell command package installed is just asking for trouble. Best to use the gui.

                                          I read this as -- if i have the shell command package installed, i can use the <earlyshellcmd> in the config.xml. which is what I did. that still gets eliminated from the config.xml on reboot.

                                          I will use the shell cmd package. Directions for the pfatt script might need to be updated then.

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by Derelict

                                            Yes, that was bad advice. The internet is full of it.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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