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

    Nanobsd for WRAP

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    13 Posts 5 Posters 13.3k 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
      blastkiller
      last edited by

      Hello,

      I tried "boot0cfg -o nopacket /dev/mdx" but it dont work. It returns only "bad magic". Im not a FreeBSD User so I dont know what to do next.

      Thanks for help

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        x refers to the number of the device, this will be 0 on a stock FreeBSD system.
        After you issue the first command it should return md0, md1, or whatever.
        Then substitute the number for x in the following commands.
        EG:
        boot0cfg -o nopacket /dev/md1
        mdconfig -d -u 1

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

          i know. but after boot0cfg -o nopacket /dev/md1 it replys with a bad magic. is this ok or a error ?

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

            @blastkiller:

            i know. but after boot0cfg -o nopacket /dev/md1 it replys with a bad magic. is this ok or a error ?

            No, that's not normal.

            You are better off writing the image to a CF and then altering after it has been written, if possible.

            The mdconfig method has always worked for me. I tried it again, too:

            # mdconfig -f pfSense-1.2.3-RC3-NanoBSD-512MB.full.img
            md0
            # boot0cfg -o nopacket /dev/md0
            # mdconfig -d -u 0
            

            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
            • S
              Slam
              last edited by

              Just thought I'd add this and save people tearing their hair out, as I did for a few weeks.

              I tried booting my wrap board with the modified cf but I couldnt get an ip address from the lan port, this is because (correct me if I am wrong) but the nanobsd images have vr0/vr1 set as the interfaces, it should be sis0/sis1 on wraps.

              After executing the above commands posted by other board members, you will also need to modify the config.xml file and edit the <if>tags to reflect the wrap ethernet ports, which are sis0 and sis1 respectively.

              I achieved this and the nopacket command using a spare alix board and then my wrap booted up as expected and I recieved an ip from its lan port.</if>

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

                Slam,

                If you have a serial cable connected and are monitoring the serial console, it should have stopped to ask for interface assignment. You could just type in sis0/sis1 at that point instead of hand editing the configuration.

                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
                • S
                  Slam
                  last edited by

                  Jim, I did have a serial cable connected, I see the POST then the boot prompt with 1)pfsense 2)pfsense, it commences to boot up but with x0xxx0xxx0x characters scrolling the screen and thats the same characters I also see on my alix boards (.99h), just for reference, I used "pfSense-1.2.3-512mb-20091201-2042-nanobsd.img.gz" from the nanobsd dir on the snapshot server using a wrap 1E-2 (1.11).

                  Perhaps initially after I modified the cf I didnt wait long enough (I did wait about 5 mins) for the wrap to boot up, but as I said, all I have ever seen on the nanobsd images loading were the above characters, Ill retest tomorrow and report back.

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

                    Sounds like you might have your serial client setup with the wrong settings. It should be 9600/8/N/1

                    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
                    • S
                      Slam
                      last edited by

                      Jim you were right, I had the wrong settings in putty, I feel so stupid!

                      Thanks for pointing it out  ;D

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

                        You're welcome. Glad it was such an easy fix  8)

                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.