Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kb1lqc opened this issue Feb 20, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request testing

Comments

@kb1lqc
Copy link
Member

kb1lqc commented Feb 20, 2018

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 kb1lqc added enhancement New feature or request testing labels Feb 20, 2018
@kb1lqc kb1lqc self-assigned this Feb 20, 2018
@kb1lqc
Copy link
Member Author

kb1lqc commented Feb 21, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

1 participant