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

Unable to see Arduino from pfSense command line

Scheduled Pinned Locked Moved Hardware
11 Posts 4 Posters 1.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.
  • D
    dims
    last edited by Jan 6, 2018, 6:54 PM

    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 Jan 6, 2018, 9:56 PM

      How to install these drivers on pfSense?

      I don't need development, I need usage.

      1 Reply Last reply Reply Quote 0
      • B
        bingo600
        last edited by Jan 7, 2018, 11:20 AM

        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 Jan 8, 2018, 10:00 AM

          @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 Jan 8, 2018, 10:02 AM

            @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 Jan 8, 2018, 10:06 AM

              @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 Jan 8, 2018, 1:42 PM

                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
                • S
                  stephenw10 Netgate Administrator
                  last edited by Jan 9, 2018, 3:26 PM

                  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
                  • B
                    bingo600
                    last edited by Jan 14, 2018, 8:48 PM

                    @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 Feb 12, 2018, 1:50 PM

                      @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
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 12, 2018, 6:43 PM

                        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.
                          This community forum collects and processes your personal information.
                          consent.not_received