tihmstar / usbmuxd2

A socket daemon written in C++ to multiplex connections from and to iOS devices over USB and WIFI
GNU Lesser General Public License v3.0
188 stars 40 forks source link

error: wifi support requested but no wifi backend could not be found #7

Closed mcdull closed 10 months ago

mcdull commented 3 years ago

The captioned error happened on ./autogen.sh. after the "checking for avahi... no" messge. My linux box is a vm with no wifi module, is it still possible to run usbmuxd2?
My ultimate goal is to be able to sync and backup my ios devices in this linux vm. Thanks.

truonggiang0710 commented 3 years ago

Yes, I get the issue too. But my linux box has wifi module. So please help to resolve it @tihmstar .

eriklangemeijer commented 3 years ago

The line above probably says checking for avahi... no which matches the requirement avahi-client (WIFI) I solved this by installing this lib using: sudo apt install libavahi-client-dev

jkcoxson commented 3 years ago

Were you guys ever able to get WiFi working on Linux? I’m only able to get it to go over USB on my box.

bentumbler commented 3 years ago

Turns out that it is specifically looking for avahi-client >= 0.7.

If the following output fails then you need to get the right version (for me on my older rPi meant I needed to build avahi from source). It was a pain too because the removal of the existing avahi didn't remove avahi-client and you will need to run export PKG_CONFIG_PATH=/usr/local/lib to point to the correct client.

pkg-config --print-errors --exists 'avahi-client >= 0.7'

bentumbler commented 3 years ago

Were you guys ever able to get WiFi working on Linux? I’m only able to get it to go over USB on my box.

Yes, eventually