![]() |
[PROBLEM] Problem with moOde UPnP renderer - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Problem with moOde UPnP renderer (/showthread.php?tid=3865) |
Problem with moOde UPnP renderer - foudebassan - 05-27-2021 Hello, My configuration: moOde 7.2.1 fresh install Raspberry Pi4 USB connected with Cambridge Audio CXA81 moOde UPnP renderer activated Control point: Bubble UPnP or HiFiCast on Samsung mobile Ethernet network connection, Pi4 IP=192.168.8.112 Moodeutl file attached My problem: After Pi4 start-up, moOde UPnP isn’t found neither by Bubble UPnP nor by HiFiCast If I manually restart moOde UPnP in M menu, Bubble UPnP is at once visible in these 2 control points Facts: This problem didn’t occur when I was previously on a WIFI network Here is the last line of upmpdcli, before and after the manual restart of moOde UPnP Before: May 24 17:32:06 moode upmpdcli[1004]: :3:libupnpp/upnpplib.cxx:229::LibUPnP: Using IPV4 169.254.206.12 port 49152 IPV6 port 49152 After: May 24 18:25:02 moode upmpdcli[1128]: :3:libupnpp/upnpplib.cxx:229::LibUPnP: Using IPV4 192.168.8.112 port 49152 IPV6 port 49152 What can I do in order to use moOde UPnP directly after start-up? Thanks in advance. [attachment=2329] Code: 20210524 173201 worker: -- Start RE: Problem with moOde UPnP renderer - Tim Curtis - 05-27-2021 I put your log in a code box for readability. RE: Problem with moOde UPnP renderer - foudebassan - 05-27-2021 (05-27-2021, 11:52 AM)Tim Curtis Wrote: I put your log in a code box for readability. Thanks Tim. I get these two lines of upmpdcli service with the command: sudo systemctl status upmpdcli It seems that upmpdcli starts with this wrong adress 169.254.206.12, which is corrected by the right IP given by the router's DHCP when I manually restart upmpdcli. I am not an expert, have you some idea how I can correct this? Regards. Alain RE: Problem with moOde UPnP renderer - TheOldPresbyope - 05-27-2021 (05-27-2021, 01:36 PM)foudebassan Wrote:(05-27-2021, 11:52 AM)Tim Curtis Wrote: I put your log in a code box for readability. But your log file says Code: 20210524 173204 worker: -- Network Sorry no time here to diagnose but several entries here seem screwy. Regards, Kent RE: Problem with moOde UPnP renderer - Tim Curtis - 05-27-2021 Yes, something in the network is misconfigured. The log lines below shows several issues. 1. An Automatic Private IP address (APIPA) is being assigned to the Pi. This would happen for example if the Pi did not receive an IP address from the Router's DHCP server. 2. No Gateway address 3. Pri DNS with .8 subnet is not typically what residential Router DHCP would assign Code: 20210524 173204 worker: eth0 exists @foudebassan is this a residential network with a conventional Router? RE: Problem with moOde UPnP renderer - foudebassan - 05-27-2021 @Tim Curtis Yes, it's a Huawei conventional residential router All others devices on the network work correctly with its DHCP When I launch ip route |grep default default via 192.168.8.1 dev eth0 proto dhcp src 192.168.8.112 metric 202 The router address 192.168.8.1 and Raspberry address 192.168.8.112 are both correct But at the same time: sudo systemctl status upmpdcli ● upmpdcli.service - UPnP Renderer front-end to MPD Loaded: loaded (/lib/systemd/system/upmpdcli.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2021-05-26 19:11:31 CEST; 22h ago Main PID: 850 (upmpdcli) Tasks: 10 (limit: 4915) CGroup: /system.slice/upmpdcli.service └─850 /usr/bin/upmpdcli -c /etc/upmpdcli.conf May 26 19:11:31 moode upmpdcli[850]: :3:libupnpp/upnpplib.cxx:229::LibUPnP: Using IPV4 169.254.206.12 port 49152 IPV6 port 49152 So where moode upmpdcli is taking this address? Regards, Alain RE: Problem with moOde UPnP renderer - Tim Curtis - 05-27-2021 The IP addresse block for eth0 in the Moode startup log is not correct. They come from Linux networking subsystem.The moOde startup daemon, worker.php, is launched from /etc/rc.local script which is run after Linux completes its startup. It's not obvious to me why valid IP addresses are not present during moOde startup. RE: Problem with moOde UPnP renderer - foudebassan - 05-28-2021 Hello Tim, I haven't enough knowledge to dig further into the "check ETH0" lines of worker.php in order to understand why it doesn't collect the valid adress, yet it's there! Off chance, I have upgraded Raspi OS from 10.6 to 10.9: no improvment. Regards, Alain RE: Problem with moOde UPnP renderer - foudebassan - 05-29-2021 In order to avoid this UPnP renderer manual restart, the simple workaround is to set a fix IP in moOde configuration. |