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

      i did a hw reset and now i cannot access the web gui of pfsense, i remove the cf card and mount cf in my VM fbsd 8.1 , but not sure which config file should i edit for it revert, because i cannot access the default GW 192.168.1.1.

      I did also fire up my USB to serial cable using putty on COM7, but when i power it. It doesnt do anything it just black screen, can anyone advise?

      HW: Alix 2D3 ( purchased from netgate)

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

        So you're seeing nothing on the console? You should be seeing the BIOS at least even with no CF card. Are you sure the console cable connection is correct?

        Steve

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

          Yes, nothing. I got connected on the COM port but no display.  Im using a USB to Serial and and a DB9 F/F adapter. If i pull out the cf card and mount it on VM running FBSD, is there any config should i edit to reset it so i log back to the web gui?

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

            The easiest way to reset it would probably be to reflash the CF card with a new image if you have removed it.
            You could try just removing or renaming the config.xml file, that would usually trigger the default setting and ask you to setup the interfaces etc. However if you aren't seeing any bootup messages at all perhaps you have a hardware fault.
            Have you used that serial console cable before?

            Steve

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

              i just bought this USB to Serial, i sent an email to netgate for the recommended USB to serial, they said their engineers advise to use USB FTDI cable, i guess they meant with ftdi chipset, im not sure if im using one.  I just bought this on our local store here.

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

                Ah OK. Well before doing anything you need to verify you serial connection setup is good somehow. Do you have anything else with a serial console? It's easy to use a null modem cable that's not wired correctly. I'm not sure if this applies to the Alix or not but see this: https://doc.pfsense.org/index.php/PfSense_on_Watchguard_Firebox#Not_All_Null_Modem_Cables_are_Created_Equal.21

                Steve

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

                  Hi Stephen,

                  See below snapshot of my serial console

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

                    Your snapshot seems to have disappeared but I did look at it briefly yesterday.
                    I'm not sure what you were showing me, it looked at though that was from the host machine?  :-\

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • G
                      gac
                      last edited by

                      Yeah, the screenshot is from a Linux machine, so presumably it's the client that you're trying to connect to your device from?

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

                        im connecting from a backtrack linux VM, and run minicom -b 9600.  I guess might need another USB to serial with ftdi chipset

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

                          Support for your USB-Serial converter is obviously dependant on the client OS but even if it is supported you still need the correct null modem cable. Seeing nothing at all on the serial port is often a sign that the cable is wrong.

                          First thing you should try is connect at 38,400 because that is the default setting on the Alix for the BIOS. You won't see anything at 9600 unless pfSense is at least partially booting.

                          Steve

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

                            Stephen i have a serial null modem  , one end is serial and the other end is a parallel male printer.  Can i use a female to USB parallel cable, so i can plug it on my pc?

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

                              Hmm. You say it has a 'parallel male printer' connector, I assume you mean a db25 connector?
                              Most null modem cables do not use 25pin connectors, are you sure it's a null modem?

                              Steve

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

                                Hi Stephen,

                                I have just bought from ebay a female to female serial null modem cable, but when i tried to fire up serial console i cant see nothing, please see screenshot below

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

                                  ttyS0 appears to be a standard serial port, though here it's virtualised.

                                  I'm confused as to your setup. You are running Backtrack as a vm in vmware? The host OS is Windows 7? You have a usb-serial converter connected to the host machine? The Alix is connected to that via a null modem cable?
                                  Please confirm each of those.

                                  To make that work you will have to somehow route the host machines com port to the vm com port. It seems way too complex.  :-\

                                  Steve

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

                                    yes, because when i try putty, it wont work. Thats why i setup a VM, im not sure how can i route the com port, this is the null modem i purchased in ebay and my usb converter is using prolific chipset.

                                    http://www.ebay.com/itm/390248186240?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

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

                                      Hi Stephen i also tried downloading hyperterminal, set baud to 9600 and 38400 still same, nothing happens.

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

                                        Hmm, ok. Well I would definitely try to get it working in windows, using a vm inside vmware introduces way too many new possible problems. Plenty of others have made this work.
                                        What com port are you choosing in putty or hyperterminal? If your usb-serial adapter is correctly installed I expect it to appear as, say, com5.

                                        Steve

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

                                          well its random, sometimes com 6, 7, 8 or 9.  It really puzzle me why its still not working, even if i already the stuffs needed to run this, specially the null modem cable

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

                                            Do you have anything else you can use to test the serial connection?
                                            In newer versions of windows you need to run putty as admin.
                                            Rather than running backtrack as a vm you could try running it as a live cd.

                                            You should also be able to just re-write a new image to the cf card. There are default settings for the Alix so it will come up with a web interface.

                                            Steve

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