Navigation

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

    Unable to see Arduino from pfSense command line

    Hardware
    4
    11
    1063
    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

      I have programmed Arduino board and it is visible from both Windows and Linux. I can connect this board to any of systems above and communicate with it via appeared TTY device.

      Unfortunately, TTY device for Arduino does not appear on pfSense. Only ugen3.3 device appears, but I can't communicate with it with any TTY program.

      What to do?

      1 Reply Last reply Reply Quote 0
      • 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
        • bingo600
          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

          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
                  • stephenw10
                    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
                    • bingo600
                      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

                      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
                        • stephenw10
                          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

                          Products

                          • Platform Overview
                          • TNSR
                          • pfSense
                          • Appliances

                          Services

                          • Training
                          • Professional Services

                          Support

                          • Subscription Plans
                          • Contact Support
                          • Product Lifecycle
                          • Documentation

                          News

                          • Media Coverage
                          • Press
                          • Events

                          Resources

                          • Blog
                          • FAQ
                          • Find a Partner
                          • Resource Library
                          • Security Information

                          Company

                          • About Us
                          • Careers
                          • Partners
                          • Contact Us
                          • Legal
                          Our Mission

                          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                          Subscribe to our Newsletter

                          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                          © 2021 Rubicon Communications, LLC | Privacy Policy