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

    Recover from HW reset

    Scheduled Pinned Locked Moved Hardware
    41 Posts 3 Posters 10.6k 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
      bufdaemon
      last edited by

      @stephenw10:

      Hmm, that listing does not appear to state that the cable is wired as a null modem. I think you're going to have to test it to make sure. If its wired correctly pin 2 at one end should be connected to pin 3 at the other end.
      See: http://en.wikipedia.org/wiki/Null_modem

      Steve

      Sorry for late reply, so thats why it still did not work.  I thought i bought a null modem cable.

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

        It isn't necessarily the wrong cable, I would expect a female-female serial cable to be wired as a null modem. However you need to be sure since if it's wrong you'll never see anything on the terminal.

        Steve

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

          Hi Stephen,

          Thaks for the response, here is how i connect it and the actual look of my female to female serial modem, connected to USB to serial

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

            It looks like the right cable but I have no way to tell how it's wired. If it is wired as a null modem I would expect it to be advertised as such. The fact that it isn't makes me suspect it. Like I said if it isn't a null modem cable that would explain all the problems you've been having.

            You can easily test it if you have access to a multimeter and a paperclip. Any self respecting geek should have a multimeter!  ;)

            Steve

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

              Hey Stephen you were right! The cable i bought was not a null modem cable, so i ordered again sometime like 3 weeks ago it just came earlier and tested the new null modem cable , it worked.  Im now setting  up pfsense webgui. Below is my config my current adsl modem/router is setup as DHCP, and i configure pfsense WAN to DHCP, when i test for internet it didnt connnect internet, do i have to disable dhcp on my modem/router, and enable only dhpc on pfsense WAN as DHCP ?

              adsl modem/router : setup DHCP

              pfsense
              WAN: DHCP
              LAN: 192.168.1.1 /24

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

                Ok, so are you connecting the pfSense box behind the adsl modem/router?
                How did you test for internet on the pfSense box?

                There is a good chance that your adsl router is also using the 192.168.1.1 subnet for its LAN. This will break routing, you can't have the same subnet on two of pfSenses interfaces. If that is the case try changing the pfSense LAN subnet.

                Steve

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

                  ok so i will change the subnet, also do i have to disable the dhcp in my adsl router /  modem? and only enable dhcp in pfsense ( alix 2D3 ) instead?

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

                    Ideally you would place the modem/router in bridge mode in which case dhcp would be disabled.
                    However initially if you're setting up pfSense behind the router just leave the router in its working configuration. Switch to bridge config later once you're up and running.

                    Steve

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

                      Hi Stephen i did the following changes, but i still cant get into the internet.

                      ADSL router / modem setup

                      • set it to bridge

                      • disable dhcp

                      • LAN IP is 192.168.1.1

                      PFSENSE CONFIG

                      • set LAN IP 192.168.1.2

                      • dhcp server subnet 192.168.1.10 - 192.168.1.245

                      • DNS i use google 8.8.4.4; 8.8.8.8

                      • set gateway 192.168.1.2

                      Screenshots

                        >> this config is in my adsl /mode router
                        >> pfsense config
                      >> pfsense config



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

                        192.168.1.1/24 is still in the same subnet as 192.168.1.2/24.
                        Try changing the pfSense LAN to 192.168.2.1/24.

                        Steve

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

                          Hi Steve,

                          I set pfsense LAN IP 192.168.2.1
                          default GW : 192.168.2.1

                          I was able to nslookup outside but cant ping outside, i checked dhcp on WAN is releasing public ip, is my default GW correct? or it should be the LAN IP of adsl / modem router?



                          adsl/modem
                          LAN 192.168.1.1
                          DHCP: DISABLED
                          TYPE: bridge

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

                            Ok. You should not have a gateway on the LAN interface,
                            Go to Interfaces: LAN: and remove it. Then goto System: Routing: and make sure your WAN gateway is the only one there and is set as default.

                            It looks like you successfully set the router in bridge mode and it has passed your public IP to the pfSense WAN interface so you're all good there.  :)

                            Steve

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

                              thanks steve, so WAN gateway would be 192.168.2.1 ?

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

                                Nope the WAN gateway is assigned by your ISP.

                                It's your clients on the LAN network that should be using 192.168.2.1 as their gateway. That is handed to them from pfSense via dhcp. The only place that should be entered in pfSense in the the dhcp server setup for the LAN.

                                Steve

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

                                  hey Steve it Worked! thanks to your help and patience!! Enjoy your Holidays!

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

                                    No problem, enjoy your new setup.  :)

                                    Steve

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