v2.001 - UPNP, mpd android control, volume

Hi
A couple of issues I am facing: (v2.001, rpi 2 with ethernet and AP on, while using the AP in internet sharing mode as user flo describes here: rpi3-cannot-connect-internet-t4556.html)

  1. UPNP renderer is not found in my android while I’m connected to the AP. From my PC though, I can see Volumio as a renderer (using SWYH). Tried to change /etc/upmpdcli.conf with upnpiface = wlan0, but that doesn’t seem to help.

  2. Connecting to Volumio with Mpdroid, I can play and all, but the web interface is not synchronized with the Mpdroid (playing state is not detected by the web interface, and queue is empty even though it isn’t at Mpdroid)

  3. Volume control seems to be very not linear, being very sensitive at the final 10 percent. Tested in Mpdroid.

  4. Updating system - pressing the update button tells me I’m on the latest version, though I can see other users are using 2.006 now.

Thanks for any help
Dror

Any answer please?
tnx

I’m on 2.011 and UPNP is not available anymore either…

seems like you’re not alone.

EDIT**
After a bit of testing it seems like I can get it if I connect directly through the hotspot but not coming from the LAN.

I have 2 wifi at home, my main one and Volumio (which is used by people without 5ghz wireless devices.)

Upnp is visible only through the hotspot while airplay is visible on both for some reason.

Hi flo,
Do you think its related to the iptables tweaks for sharing internet between eth0 and wlan0 interfaces? (thank you for your guide on doing so… really helped me). UPNP is know to be able to connect only on one interface, which is always eth0 for me.

How do you get the updates? system tab updates tells me i’m on the latest version (2.001) which is not true.

Dror

He is using the development updates (which I do not suggest, if you care about stability).

So it’s true that you’re on the latest version.

Now, coming at the problem of upnp. This seems related to the fact that upmpdcli binds itself just to the wlan on hotspot. I am looking on a way to fix it.
Do you mind opening an issue on github?

Thanks!

Issue opened on Github

Thanks flo for opening this issue.

  1. would be glad for a link for development versions
  2. If upmpdcli is bound to the hotspot, how come I can only see the renderer from the eth0 interface, while my android with is connected to the hotspot can’t see Volumio UPNP renderer? (just a note - the Airplay renderer is visible though)

Dror

You can enable and disable volumio test mode with volumioIP/dev

So it seems like you have the opposite issue than me. I don’t know much the configuration of upnpcli. It’s possible it picks up only one random interface by default.

iptables shouldn’t interfere with upnp as I guess it use some different ports.

The upnpcli manual says that only one surface can be selected at a time. This parameter can be changed in /etc/upmpdcli.conf :

upnpiface = wlan0

As I said, I changed it but it doesn’t change anything.
What I think is happening is that upon reboot, upnpcli is loaded before the hotspot and then wlan0 is not ready.
It would be good to try and delay upnpcli loading…
How can I do this?

I run in the same “problem”.
Need “upmpdcli” on eth0 AND wlan0, but only 1 interface can be selected at a time. :frowning:

Running it twice does also not work -> PID-File exists.
Any solution to run it on ALL interfaces? :question: