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

    Hardware purchase advice please

    Scheduled Pinned Locked Moved Hardware
    74 Posts 9 Posters 25.9k 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
      jimmybob
      last edited by

      pfSense-2.0.3-RELEASE-4g-i386-nanobsd_vga-20130412-1022.img.gz

      With the above image I read about serial port and that I won't see a console?

      Will I deffo get a cmd promp with the above image?
      And will the CF boot up once I install the image to it using  Manuel Kasper's phydiskwrite ?

      thanks

      1 Reply Last reply Reply Quote 0
      • P
        pvoigt
        last edited by

        @jimmybob:

        pfSense-2.0.3-RELEASE-4g-i386-nanobsd_vga-20130412-1022.img.gz

        With the above image I read about serial port and that I won't see a console?

        Will I deffo get a cmd promp with the above image?
        And will the CF boot up once I install the image to it using  Manuel Kasper's phydiskwrite ?

        thanks

        Well, the above image will provide a vga console. If you want a serial console only, you should use
        pfSense-2.0.3-RELEASE-4g-i386-nanobsd-20130412-1022.img.gz - without "vga" in its name. A "cmd prompt" will be provided by both images.

        I had issues using physdiskwrite and was more successful with "win32diskimager". I used version 0.6 a while ago. Latest version is 0.7:
        http://sourceforge.net/projects/win32diskimager/. Alternatively, you can use "dd" under Linux (or Unix).

        EDIT: We are slowly driving off-topic. If you are still having general installation questions I propose to open a new thread in the corresponding pfSense forum :).

        1 Reply Last reply Reply Quote 0
        • J
          jimmybob
          last edited by

          So if I have a CMD prompt which I've seen where you pick WAN, LAN etc.

          What is the difference between VGA and non-VGA versions specifically?
          I thought CMD prompt was what VGA was?

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

            A command prompt is simply a text prompt where you can enter a command. It appears on the console. The console can be accessed either by keyboard and monitor (VGA) or via a serial connection.

            If you want to use a keyboard and monitor directly on the pfSense box use a nanobsd_vga image.

            @http://www.pfsense.org/index.php?option=com_content&task=view&id=43&Itemid=44:

            Embedded (NanoBSD)

            The embedded version is specifically tailored for use with any hardware using Compact Flash rather than a hard drive. CF cards can only handle a limited number of writes, so the embedded version runs read only from CF, with read/write file systems as RAM disks. The NanoBSD platform has two OS slices and a config slice. One OS slice is used to boot from, the other is used for upgrades, and the config slice is where the configuration is held separately.

            There are two variations of the NanoBSD platform: The default version which uses a serial console, and another that supports using a VGA console. Each of those variations also comes sized for different sizes of CF cards.

            The filename for NanoBSD downloads is laid out as follows: pfSense-2.0.3-RELEASE-size-arch-nanobsd.img.gz. In that filename, size can be one of 512mb, 1g, 2g, or 4g. The arch, as above is for i386 or amd64. The nanobsd part can is either nanobsd for serial console, or nanobsd_vga for the VGA-enabled version.

            Steve

            1 Reply Last reply Reply Quote 0
            • P
              pvoigt
              last edited by

              @jimmybob:

              So if I have a CMD prompt which I've seen where you pick WAN, LAN etc.

              What is the difference between VGA and non-VGA versions specifically?
              I thought CMD prompt was what VGA was?

              The VGA images are useful only for boards with a vga adapter. There are boards like most boards of the Alix series from PC Engines which do not have a VGA adapter. You cannot use them with a VGA image. You need the non-VGA images instead and you get your console via serial line.

              Peter

              1 Reply Last reply Reply Quote 0
              • J
                jimmybob
                last edited by

                ok cool. so with the jetway board I have would you say I have the correct image?

                Sounds like it to me.

                1 Reply Last reply Reply Quote 0
                • P
                  pvoigt
                  last edited by

                  @jimmybob:

                  ok cool. so with the jetway board I have would you say I have the correct image?

                  Sounds like it to me.

                  Yes. I'm using a VGA image for my Jetway NF99FL-525 as well. However, I've decided to go with the corresponding AMD64 2G image:
                  pfSense-2.0.3-RELEASE-2g-amd64-nanobsd_vga.img.gz.

                  Peter

                  1 Reply Last reply Reply Quote 0
                  • R
                    robi
                    last edited by

                    Are you able to run 64-bit pfSense on Jetway NF99FL-525? On the 525 Atom CPU? I wasn't aware it's 64-bit capable.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jimmybob
                      last edited by

                      @pvoigt:

                      @jimmybob:

                      ok cool. so with the jetway board I have would you say I have the correct image?

                      Sounds like it to me.

                      Yes. I'm using a VGA image for my Jetway NF99FL-525 as well. However, I've decided to go with the corresponding AMD64 2G image:
                      pfSense-2.0.3-RELEASE-2g-amd64-nanobsd_vga.img.gz.

                      Peter

                      Is there a reason you went 64bit and are there any advantages?

                      Thanks

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

                        I'd be interested to hear your reasoning too because my advice would be to always use the 32bit image unless you really need 64bit. You can use more than 4GB of RAM but the Atom can't so no advantage there. There may be some performance advantage for specific tasks but it's so negligible you'd need some careful testing to see it. Mostly the 32bit image is better tested, especially on an Atom.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • P
                          pvoigt
                          last edited by

                          @stephenw10:

                          I'd be interested to hear your reasoning too because my advice would be to always use the 32bit image unless you really need 64bit. You can use more than 4GB of RAM but the Atom can't so no advantage there. There may be some performance advantage for specific tasks but it's so negligible you'd need some careful testing to see it. Mostly the 32bit image is better tested, especially on an Atom.

                          Steve

                          I've once had two reasons:
                          1.) My system has 4 GiB RAM.
                          2.) I wanted to test the AMD64 version.

                          The AMD64 image runs very stable over months without any problems. It has turned out, however, that my pfSense installation newer uses >= 3.3 GiB. That's why I could have gone with the 32 bit image without any disadvantages :).

                          Peter

                          EDIT: Do you think there are significantly more i386 installations than AMD64? If so, I agree with you that the feedback from those users may make pfSense i386 more stable. Furthermore, many older Atoms were 32bit systems. Do you know about other reasons why the i386 image may be more stable?

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

                            The last time the question was asked I believe the figures showed more 32bit installs by some way. I imagine that more and more people are using 64bit though. I can't find it now.  :-
                            Of course the more people who use 64bit the quicker an bugs will be found and squashed.  ;)

                            I don't know what the figures are for FreeBSD, would be interesting to find out.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              At least for a few years, there will probably be more i386 installs. I'm not sure if we have a way to track that accurately though.

                              The reason i386 is still more common is because of embedded devices, i.e. ALIX and its cousins, and re-purposed old machines that aren't 64-bit.

                              As the hardware in that area catches up and becomes 64-bit capable, only then would I expect it to be more common.

                              That said, it is definitely picking up from what I've seen with customers. New server-grade hardware and VMs are almost always using amd64 now.

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • J
                                jimmybob
                                last edited by

                                Got it all up and running…

                                Well almost...

                                I've got WAN and LAN working.

                                But when I set up opt1, opt2, opt3.
                                They don't seem to do anything.
                                I can't pull up the web panel.

                                Do I need to set a firewall rule?

                                I did the set up via the CMD setup

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

                                  @jimmybob:

                                  Do I need to set a firewall rule?

                                  Yes.
                                  By default only the LAN interface has rules in place to allow access to anything. You will have to add appropriate rules to the additional interfaces.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    asterix
                                    last edited by

                                    Another reason for i386 images are that not all motherboards are capable of housing over 4GB of RAM. Typical installs of 4GB is way more that sufficient for pfSense and some resource hungry packages.

                                    When I first started using pfSense, Snort was the killer and would hog up almost 80% of the 4GB RAM. The package now has gone through several cycles of fine tuning and refinements. It barely takes 20% of my 4GB RAM. With Snort, Squid, Dans, pfBlocker and OpenVPN all combined my RAM usage hovers around 35% and steadily increases by 2% everyday. pfSense reloads the cache after some days and memory usage drops down. So not even 2GB of RAM is being used.

                                    Hats off to the developers who have made such a fine UTM product.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jimmybob
                                      last edited by

                                      All I want to do is set up each LAN port like any other simple setup for a home network.

                                      So… when I go to Opt1 ENABLE...then set to STATIC, leaving all else default then I come to Static IP address.
                                      Is this not the same as WAN which in my case is 192.168.1.2 ? for all LAN ports?
                                      Or do they have to be set like 192.168.1.2, 192.168.1.3 etc? which does not make sense.
                                      Actually subnet is showing as 192.168.1.0 so maybe that is right?

                                      Then I go to Firewall.. set to..
                                      Pass.
                                      Opt2
                                      ANY
                                      Destination ---> tick NOT then select "Any".
                                      Place a description and SAVE?

                                      Then Services ---> DHCP Server...
                                      Select Opt2.
                                      Port range same as LAN ? 192.168.1.10 - 192.168.1.245
                                      then SAVE?

                                      From the Googling I've done,,, does this look correct?

                                      thanks

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

                                        Hmm, a few problems there I think.  ;)

                                        @jimmybob:

                                        All I want to do is set up each LAN port like any other simple setup for a home network.

                                        Do you mean like a SOHO router with 4 LAN ports?

                                        @jimmybob:

                                        So… when I go to Opt1 ENABLE...then set to STATIC, leaving all else default then I come to Static IP address.
                                        Is this not the same as WAN which in my case is 192.168.1.2 ? for all LAN ports?
                                        Or do they have to be set like 192.168.1.2, 192.168.1.3 etc? which does not make sense.
                                        Actually subnet is showing as 192.168.1.0 so maybe that is right?

                                        The usual way this would be set up is that each interface is a separate subnet. So for example you could use:
                                        LAN is 192.168.1.1/24 (the default configuration)
                                        OPT1 is 192.168.2.1/24
                                        OPT2 is 192.168.3.1/24
                                        OPT3 is 192.168.4.1/24

                                        If your WAN interface is using a private IP, like 192.168.1.2 as you say above, then you would have to choose something else because the WAN interface must use a different subnet.

                                        @jimmybob:

                                        Then I go to Firewall.. set to..
                                        Pass.
                                        Opt2
                                        ANY
                                        Destination –-> tick NOT then select "Any".
                                        Place a description and SAVE?

                                        If you want to allow traffic from devices connected to OPT2 out to the internet or to other interfaces you need a rule more like:
                                        Pass
                                        OPT2
                                        Protocol: any
                                        Source: any
                                        Destination: any

                                        This is a very permissive rule though.
                                        A rule that has destination 'NOT any' will never match traffic.  ;)

                                        @jimmybob:

                                        Then Services –-> DHCP Server...
                                        Select Opt2.
                                        Port range same as LAN ? 192.168.1.10 - 192.168.1.245
                                        then SAVE?

                                        The IP range would be different because OPT2 is not the same subnet as LAN. So for the above example it could be 192.168..3.10 - 192.168.3.254
                                        That would leave 192.168.3.2 - 192.168.3.9 for any static IP assignments you wanted to use.

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jimmybob
                                          last edited by

                                          Hi Steve,

                                          I'm used to DD-WRT. So I guess allot of the settings are kept simple since all ports on a 4 port router
                                          like the Asus N16 is done automatically.

                                          That is pretty much as simple as I wish to keep it.
                                          So I'd go..
                                          192.168.2.1
                                          192.168.3.1

                                          rather than
                                          192.168.1.2
                                          192.168.1.3
                                          ?

                                          Thing is… with any commercial router no matter which of the 4 ports I connect to.
                                          They are all given ips on the same like 192.168.1.*
                                          not 192.168.*.2

                                          So all my devices on my Asus with DD-WRT was like 192.168.1.101, 192.168.1.102 etc

                                          @stephenw10:

                                          Hmm, a few problems there I think.  ;)

                                          @jimmybob:

                                          All I want to do is set up each LAN port like any other simple setup for a home network.

                                          Do you mean like a SOHO router with 4 LAN ports?

                                          @jimmybob:

                                          So… when I go to Opt1 ENABLE...then set to STATIC, leaving all else default then I come to Static IP address.
                                          Is this not the same as WAN which in my case is 192.168.1.2 ? for all LAN ports?
                                          Or do they have to be set like 192.168.1.2, 192.168.1.3 etc? which does not make sense.
                                          Actually subnet is showing as 192.168.1.0 so maybe that is right?

                                          The usual way this would be set up is that each interface is a separate subnet. So for example you could use:
                                          LAN is 192.168.1.1/24 (the default configuration)
                                          OPT1 is 192.168.2.1/24
                                          OPT2 is 192.168.3.1/24
                                          OPT3 is 192.168.4.1/24

                                          If your WAN interface is using a private IP, like 192.168.1.2 as you say above, then you would have to choose something else because the WAN interface must use a different subnet.

                                          @jimmybob:

                                          Then I go to Firewall.. set to..
                                          Pass.
                                          Opt2
                                          ANY
                                          Destination –-> tick NOT then select "Any".
                                          Place a description and SAVE?

                                          If you want to allow traffic from devices connected to OPT2 out to the internet or to other interfaces you need a rule more like:
                                          Pass
                                          OPT2
                                          Protocol: any
                                          Source: any
                                          Destination: any

                                          This is a very permissive rule though.
                                          A rule that has destination 'NOT any' will never match traffic.  ;)

                                          @jimmybob:

                                          Then Services –-> DHCP Server...
                                          Select Opt2.
                                          Port range same as LAN ? 192.168.1.10 - 192.168.1.245
                                          then SAVE?

                                          The IP range would be different because OPT2 is not the same subnet as LAN. So for the above example it could be 192.168..3.10 - 192.168.3.254
                                          That would leave 192.168.3.2 - 192.168.3.9 for any static IP assignments you wanted to use.

                                          Steve

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

                                            I thought you might say something like that.

                                            Most SOHO routers, such as the Asus N16, are in fact a two port router with a 4 port switch (5 if you count the internal one) on the same board.

                                            With your setup you have 5 completely independent interfaces which allows you much better control over different network segments. Each interface can have different firewall rules. This is a far more powerful configuration but is also more complex to setup.

                                            The problem is that if you are just substituting this for the N16 then you might have issues with devices not seeing each other.

                                            It is possible to setup the interfaces to behave exactly like they would on the N16 by bridging them together.
                                            http://doc.pfsense.org/index.php/Interface_Bridges
                                            Due to the fact that traffic still has to be moved between each interface in software this will not be as fast as a real switch. Probably not what you wanted to hear.  :-\

                                            Anyway I'm sure we can come to a configuration that meets your requirements. I think you said earlier that you wanted to remove as many devices as possible. What devices are you actually connecting?

                                            Steve

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