awake icon indicating copy to clipboard operation
awake copied to clipboard

How to choose specific NIC

Open aneek231 opened this issue 7 years ago • 3 comments

I am able to send WOL to the Host PC in the Wifi but I want to send it over a LAN cable directly attached between 2 PC's. In this case, I am unable to send WOL to the Host. It still tries to send through the Wireless LAN. If there is a way, I can manually tell which NIC to choose.

aneek231 avatar Apr 27 '17 19:04 aneek231

Currently, no. But seems that it can be done, are you still interested on such feature?

cyraxjoe avatar Oct 05 '17 00:10 cyraxjoe

Currently, no. But seems that it can be done, are you still interested on such feature?

It would be great, I think it's an important feature.

jorti avatar Apr 16 '19 13:04 jorti

I think that short term, I'll implement the --bind-ip option. This has the downside of having to know the right ip... but at least of better that simply not able to and relay in the default routing. I'll release the change on pypi when I add some tests for this feature. Related commit: da5f668f69c

cyraxjoe avatar Apr 19 '19 01:04 cyraxjoe