Kodi Community Forum

Full Version: Configuring Airplay + OpenVPN + Avahi?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have Kodi 14 working on a XBMCBUNTU live install. I have openVPN installed as a startup service in /etc/init.d/openvpn

When openvpn is running, airplay doesn't seem to pick up the right IP.

Quote:17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-tpc type: _xbmc-jsonrpc._tcp name:XBMC (xbmcbuntu) port:9090
17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::addService() named: XBMC (xbmcbuntu) type: _xbmc-jsonrpc._tcp port:9090
17:14:47 T:139785393809344 DEBUG: SECTION:LoadDLL(libshairplay.so.0)
17:14:47 T:139785393809344 DEBUG: Loading: libshairplay.so.0
17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airtunes type: _raop._tcp name:000000000000@xbmc (xbmcbuntu) port:36666
17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::addService() named: 000000000000@xbmc (xbmcbuntu) type: _raop._tcp port:36666
17:14:47 T:139785393809344 DEBUG: AIRPLAY Server: Failed to bind ipv6 serversocket, trying ipv4
17:14:47 T:139785393809344 ERROR: AIRPLAY Server: Failed to bind ipv4 serversocket
17:14:47 T:139785393809344 DEBUG: UPower: Received an unknown signal NameAcquired
17:14:47 T:139783762323200 NOTICE: Thread JobWorker start, auto delete: true
17:14:47 T:139783804286720 NOTICE: Thread EventServer start, auto delete: false
17:14:47 T:139783804286720 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
17:14:47 T:139783804286720 NOTICE: UDP: Listening on port 9777
17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.eventserver type: _xbmc-events._udp name:XBMC (xbmcbuntu) port:9777
17:14:47 T:139784190154496 DEBUG: CZeroconfAvahi::addService() named: XBMC (xbmcbuntu) type: _xbmc-events._udp port:9777

Running XBMC without openvpn of course, works perfectly

Quote:17:17:55 T:140461447124928 INFO: AIRPLAY Server: Successfully initialized
17:17:55 T:140461447124928 DEBUG: UPower: Received an unknown signal NameAcquired
17:17:55 T:140460244850432 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airtunes type: _raop._tcp name:90FBA64C816A@xbmc (xbmcbuntu) port:36666
17:17:55 T:140460244850432 DEBUG: CZeroconfAvahi::addService() named: 90FBA64C816A@xbmc (xbmcbuntu) type: _raop._tcp port:36666
17:17:55 T:140459976414976 NOTICE: Thread TCPServer start, auto delete: false
17:17:55 T:140459984807680 NOTICE: Thread EventServer start, auto delete: false
17:17:55 T:140459951236864 NOTICE: Thread AirPlayServer start, auto delete: false

I strongly suspect I need to configure avahi-daemon somehow, but here's where I get lost. Can anyone offer suggestions?
I think you don't mean the ip but the mac address. Well either way - this is out of scope of our forum and a generic problem. You would need to google on howto set an mac address on an openvpn network interface i think.