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

Can you please document why you did what you did in USBip_setup and USBip_start #1

Open
paulpv opened this issue Sep 29, 2021 · 0 comments

Comments

@paulpv
Copy link

paulpv commented Sep 29, 2021

Your USBip_setup and USBip_start are borderline non-trivial and seem specific to your hardware.

I can guess why you made the network dnsmasq and interface, but I am a bit lost about why you did some of the things in USBip_setup and USBip_start.

This script in general looks a little different than a basic Pi running usbip.

It seems like the MacOS is integrally tied in to the setup.

Why? Are you just piping IP over the USB between the Mac and Pi4 to make the Pi4 act like a NIC to the Mac?
As you say in the readme.md:

shell script for setup IP protocol running over USB port on rpi platform 4

Is this literally just "IP over USB"? (which is a big difference from "USB over IP")

It might also help if you pull out any hard coded strings specific to your hardware and define it at the top as constants that others can easily change if they want to reuse this script.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant