philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.55k stars 218 forks source link

issue with multiple network #261

Closed saparm closed 4 years ago

saparm commented 4 years ago

i have pi4 running ovpn as gatevay. my ifconfig is as below.

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0

so airconnect works good. when i turn on openvpn the tun adds to my interfaces.

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.0.9  netmask 255.255.255.0  destination 10.8.0.9

then airconnect crashes. with UpdateThread:721 [0x48f118]: removing unresponsive player (Living Room+) error

timtn commented 4 years ago

Did you try -b 192.168.1.100?

When you have more than one ethernet card, you case use -b [ip] to set what card to bind to.

saparm commented 4 years ago

Did you try -b 192.168.1.100?

When you have more than one ethernet card, you case use -b [ip] to set what card to bind to.

yes it stucks on

[13:29:04.678699] Start:1103 Binding to 192.168.1.100:49153

saparm commented 4 years ago

was running on ubuntu, changed to raspbian. problem resolved.