Unable to see Arduino from pfSense command line
-
How to install these drivers on pfSense?
I don't need development, I need usage.
-
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
-
@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!
-
@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?
-
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.
-
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.
-
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
-
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 themDo 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
-
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?
-
What is the driver required? How does it appear in FreeBSD?
Steve