jwise / HoRNDIS

Android USB tethering driver for Mac OS X
Other
2.98k stars 328 forks source link

А lot of duplicate #108

Open AlexanderBuryak opened 4 years ago

AlexanderBuryak commented 4 years ago

if you turn the device on and off, you can see a lot of duplicates in the network on Mac OS CATALINA 10.15.1 (19B88) MacBook air 2014

billj-korg commented 4 years ago

Speaking of duplicates, is this a duplicate of issue #54?

billj-korg commented 4 years ago

In case this might be of some help to some that encounter this issue. The device we were using that exhibited this problem was using ConfigFS to setup the RNDIS USB gadget. The host_addr file, by default, is a generated random MAC address for the host. This seems to be the cause of new records being created by the Mac OS each time. By setting the host_addr contents to a fixed value, new records are no longer created on Mac OS, which then uses the record matching the host_addr contents.

geekeren commented 4 years ago

In case this might be of some help to some that encounter this issue. The device we were using that exhibited this problem was using ConfigFS to setup the RNDIS USB gadget. The host_addr file, by default, is a generated random MAC address for the host. This seems to be the cause of new records being created by the Mac OS each time. By setting the host_addr contents to a fixed value, new records are no longer created on Mac OS, which then uses the record matching the host_addr contents.

Is any workaround to fix this issue?