homebridge / ciao

RFC 6762 and RFC 6763 compliant mdns service discovery library written in Typescript
MIT License
79 stars 6 forks source link

arp command don't exist on some distribution #4

Closed NebzHB closed 3 years ago

NebzHB commented 3 years ago

Dears,

arp command (net-tools) don't exists anymore on some distribution, could you check and adapt with ip n ?

2020-09-15T07:05:53.881Z ciao:NetworkManager WARNING Detecting network interfaces for platform 'linux' failed. Trying to assume network interfaces! (Command failed: arp -n -a | grep -v incomplete /bin/sh: 1: arp: not found )

Supereg commented 3 years ago

On those distros where arp is missing, the ip command will most likely miss too. 1.2.1 (ciao Version 1.0.1) though did. already fix that with an workaround. The message will still display though, but in the background it will automatically switch to the fallback method.

NebzHB commented 3 years ago

could you please avoid the message ?

if i'm not wrong, net-tools are not in debian netinst by default...

Supereg commented 3 years ago

will be silenced in the next release