FaradayRF / faradayio-cli

Command Line Interface implementation of the faradayio module
GNU General Public License v3.0
1 stars 1 forks source link

Figure Out How To Use netperf/Iperf/ping to Test Bandwidth Over Serial Port #9

Open kb1lqc opened 6 years ago

kb1lqc commented 6 years ago

faradayio-cli is sending IP traffic over the serial port and I can prove that by using a USB serial breakout adapter with a physical loopback wire that I can pull out to stop transmissions and restart transmissions immediately when the wire is physically reinserted. The video below shows this with ping in Linux.

https://youtu.be/ilysTTg5U4k

Now I need to go one step further and get standardized tests going through our test setup. Preferably I'd like to use Faraday radios with a simplified echo firmware loaded at first followed up by an eventual standard firmware load with faradayio-firmware. This involves finding a way to force IP traffic over serial while also connecting multiple IP's together. Preferrably I'd be able to send traffic to another IP address where a server resides (in netperf/iperf use) but trick the computer to not just send the IP traffic in memory.

Related efforts:

kb1lqc commented 6 years ago

I wonder if theres a user for netcat and socat here.

https://stackoverflow.com/questions/21867628/opening-a-virtual-serial-port-created-by-socat-with-qt

Create a virtual serial port and then use two faradayio instances running to talk to each other. socat and slattach definitely do some similar things to faradayio which I remember being informed about on the gitter channel. Let's keep this in mind!