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

    Unable to see Arduino from pfSense command line

    Hardware
    4
    11
    1.6k
    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.
    • D
      dims
      last edited by

      How to install these drivers on pfSense?

      I don't need development, I need usage.

      1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600
        last edited by

        Remember pfsense has a FreeBSD engine "under the hood"
        Maybe google "FreeBSD arduino serial" , or something like it.

        My "Crystal Ball" was foggy today , else i would have looked up your usb-serial chip brand on the arduino.
        My apologies …  :-\

        /Bingo

        If you find my answer useful - Please give the post a 👍 - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

        1 Reply Last reply Reply Quote 0
        • D
          dims
          last edited by

          @johnkeates:

          get a serial port and a plain Atmel chip with your product

          Wow, you suggest to solder harware to modify it to fit software? Incredible!

          1 Reply Last reply Reply Quote 0
          • D
            dims
            last edited by

            @johnkeates:

            Also, this is more a Arduino question, and not as much a pfSense question. Their docs say: https://playground.arduino.cc/Learning/FreeBSD

            This includes compiling ports, which pfSense does not support.

            You basically have to make the driver yourself.

            Suppose I compiled uarduno driver on virtual FreeBSD. What next?

            1 Reply Last reply Reply Quote 0
            • D
              dims
              last edited by

              @bingo600:

              My "Crystal Ball" was foggy today , else i would have looked up your usb-serial chip brand on the arduino.

              According to Wiki:

              Some boards, such as later-model Uno boards, substitute the FTDI chip with a separate AVR chip containing USB-to-serial firmware, which is reprogrammable via its own ICSP header.

              Since I tried FTDI and failed, second case applies.

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                The Arduino is an Atmel-based experimentation board with some boot loader sauce to make development easier. It's not a finalised security product to be integrated into security systems. I don't see how you are surprised that a mostly immutable OS doesn't support educational development tools.

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

                  This looks fun, if perhaps not advisable!  ;)

                  The first thing to do here would be to boot FreeBSD 11.1 and see if that can see the serial device. If not by default then you may be able to load the correct driver module or compile something.

                  If you can get a kernel module that sees the serial device working in FreeBSD you can usually import that to pfSense and load it there.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • bingo600B
                    bingo600
                    last edited by

                    @dims:

                    @bingo600:

                    My "Crystal Ball" was foggy today , else i would have looked up your usb-serial chip brand on the arduino.

                    According to Wiki:

                    Some boards, such as later-model Uno boards, substitute the FTDI chip with a separate AVR chip containing USB-to-serial firmware, which is reprogrammable via its own ICSP header.

                    Since I tried FTDI and failed, second case applies.

                    Hmm …

                    Wonder what Atmel (Microchip) says about my Arduinos with CH340 chips on them , being called an AVR chip
                    I even think i have a few with CP2102/2104 on them

                    Do you ever question if Wikki is up to date ??

                    Maybe have a look to verify if you have an AVR as the USB-Serial , or the popular CH340 used on most clones today.

                    /Bingo

                    If you find my answer useful - Please give the post a 👍 - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                    1 Reply Last reply Reply Quote 0
                    • D
                      dims
                      last edited by

                      @stephenw10:

                      The first thing to do here would be to boot FreeBSD 11.1 and see if that can see the serial device.

                      It can't until port is made.

                      If not by default then you may be able to load the correct driver module or compile something.

                      Yes, I can.

                      you can usually import that to pfSense and load it there

                      Great!

                      How to do this?

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

                        What is the driver required? How does it appear in FreeBSD?

                        Steve

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