Skip to content

Conversation

@mkoistinen
Copy link
Contributor

Hi, one of the issues I had in making this work on my system (which has multiple Ethernet interfaces), is that the code was using the network TYPE for calls to /usr/sbin/networksetup. This is just luck that it was working at all, really, as this tool appears to require the network name. These two simple changes makes it work. =)

…users with multiple 'Ethernet' ports

Previous, this code would grab the network TYPE (e.g., 'Ethernet') rather than the network NAME (e.g., 'Built-in Ethernet').  This creates issues for people with multiple interfaces of the same type.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
…y, the best thing would be to support both. Coming soon?

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
@mkoistinen
Copy link
Contributor Author

Oops, actually, I only meant to create a pull request for ONE commit 6f4dc33. The others probably aren't generally useful yet.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
@robertklep
Copy link
Owner

I created a new branch multiple-proxy-type-support which I'll use the implement multi proxy support. I'm not sure if I can apply your pull request against that branch, any idea? Otherwise, please re-issue 6f4dc33 as a pull request for the new branch :)

@robertklep
Copy link
Owner

No need to re-issue, I've implemented the changes manually in the new branch. Go and check it out, it seems to work okay now for all types of proxy.

@mkoistinen
Copy link
Contributor Author

Hi Robert, great work. Unfortunately, for exactly the same reasons, it still didn't work on my system. It is clear that your system is different than mine, so it is probably hard for you to test my configuration, but I think I've updated the code correctly to work universally in my pull request (appears as a different item in the issue list). Please test and let me know! Thanks again for your help on this and I hope all this work you did (with a tiny bit of my help) helps others too.

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

Successfully merging this pull request may close these issues.

2 participants