IME if something in linux takes restarts to fix, it's not correctly configured and some "randomness" is involved (e.g. alsa card ID order, webserver picking one IP address to bind to, random order of mutually dependent services startup, etc...)
So, I'm still not getting the Static IP to work. Here are a couple of screen shots of the configuration page with the (working) DHCP config, and the (non-working) static IP configuration. What caught my eye is the text, in grey, below the "DHCP" and "STATIC" text. In the DHCP case, it displays the correct IP address. In the STATIC case the IP seems to be that of the Pi's hotspot. If that is really what is set up instead of the correct static IP, it isn't a surprise why it wouldn't work...
Is this unexpected behavior?
Thx.
View attachment 500005
Since the config screen only shows 1 IP, it's save to assume Moode only supports one IP.
What you could try to do is release the DHCP IP (Google the command for that), restart Moode, check the config screen (which now should show the static IP), and finally request a new DHCP IP. If it works, then the question is if Moode will remember this configuration when rebooting.
pi@test:~ $ ls -l /etc/NetworkManager/system-connections/
total 12
-rw------- 1 root root 525 Dec 26 12:09 AirnetN5.nmconnection
-rw------- 1 root root 383 Dec 26 12:09 Ethernet.nmconnection
-rw------- 1 root root 530 Dec 26 23:38 Hotspot.nmconnection
# DHCP addressing: [ipv4] method=auto
pi@test:~ $ sudo cat /etc/NetworkManager/system-connections/AirnetN5.nmconnection
#########################################
# This file is managed by moOde
# Wireless: Configured SSID
#########################################
[connection]
id=AirnetN5
uuid=21c1e19b-2adc-4f39-8983-a813bf43761f
type=wifi
interface-name=wlan0
autoconnect=true
autoconnect-priority=100
[wifi]
mode=infrastructure
ssid=AirnetN5
hidden=false
[wifi-security]
key-mgmt=wpa-psk
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[ipv4]
method=auto
[ipv6]
addr-gen-mode=default
method=auto
# Static addressing: [ipv4] method=manual
[ipv4]
method=manual
address1=192.168.1.242/24
gateway=192.168.1.1
dns=192.168.1.1;;
ifconfig wlan0 && ifconfig eth0
nmcli -o
nmcli device show wlan0
nmcli device show eth0
sudo cat /etc/NetworkManager/system-connections/
<SSID>.nmconnection
Ethernet.nmconnection
Hotspot.nmconnection
moodeutl -l
Moode only configures a single IP address (either via DHCP or Static) for a Network interface.
Then please what are the two IPs listed in the non-working screenshot?
ip addr list wlan0 | grep "inet " | cut -d' ' -f6 | cut -d/ -f1Wireless: address not assigned
Wireless: Hotspot activating
No, I don't believe I have two IP addresses on one interface. That has not been my problem. My understanding/assumption was that the hotspot function only wakened up if the other interfaces were not established. If that's correct, then a working wifi interface (DHCP or static) would suppress the function of the hotspot.@dougm: OK, so you have two IP addresses on one interface. Now you want your webserver to respond the same way when accessed from both the addresses? IMO there is the problem - the web server binds to the other address and does not listen on the one you are accessing from. A change in this matter between versions could be possible as it's quite unique to have and likely not intentionally supported - the previous versions worked by coincidence for you. Just 2 cents...
I will try to find some time to dig into this some more using some of the diagnostic commands you've suggested.That screen shot shows the Hotspot was activated on its default IP address 172.24.1.1
As I mentioned a bit earlier the Hotspot will automatically be activated during moode startup (after the wait period) if there is no IP address on the interface. The command used to check the interface for an IP address is below.
Returns the IP address or nothing if no IP address on the interface
ip addr list wlan0 | grep "inet " | cut -d' ' -f6 | cut -d/ -f1
When the Hotspot auto-activates the two messages below are written to the moode log.
Code:Wireless: address not assigned Wireless: Hotspot activating
In any case, static address WiFi worked perfectly on my end but if someone else can repro @dougm issue and provide some insights as to what might be happening I'll be happy to investigate.
What does actually "does not work" mean? IIUC you talked about the device responding to ping on that address, but the interface did not run (correctly) on that address, right?Moode version 9.4.3 worked (and still does) with no problems using a static address in my network. In contrast, I can't get version 10.0.2 to operate with a static address.
That screenshot shows two addresses - 172.24.1.1 (+ hotspot active) and 192.168.2.110. I do not know how the gui works and what it shows, but it would make me think there is a hotspot running on the wireless interface with that IP and also a static IP was assigned to that interface. That would mean the interface has two IPs assigned.That screen shot shows the Hotspot was activated on its default IP address 172.24.1.1
"does not work" means no response from the static IP address at all. Unfortunately, I had a router hardware failure yesterday and spent a while getting things going again. (The family wanted internet!).What does actually "does not work" mean? IIUC you talked about the device responding to ping on that address, but the interface did not run (correctly) on that address, right?
You mean it doesn't ping after all?"does not work" means no response from the static IP address at all.

Sorry, I should have been clearer. It does respond to pings, but the web server doesn't respond with anything at all.You mean it doesn't ping after all?
@Tim Curtis Does moode audio downmix multichannel audio to stereo?
I have a multichannel release of one album, so I was just interested if moode downmixes 5.1 to 2.0.Its a bit too general a question.
What exactly is your usage scenario for multichannel format?
Well then that seems to be what I have been talking about - the interface does have the IP address, but the web server does not listen on that address (or does listen, but with a different virtual host - if the webserver being used supports multiple virtual hosts).Sorry, I should have been clearer. It does respond to pings, but the web server doesn't respond with anything at all.
I have a multichannel release of one album, so I was just interested if moode downmixes 5.1 to 2.0.
pi@test2:~ $ mpd -V
Decoder plugins:
[mpg123] mp3
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[adplug] amd d00 hsc laa rad raw sa2
[ffmpeg] 264 265 266 302 3g2 3gp 4xm 669 722 aa aa3 aac aax ac3 ac4 ace acm act adf adp ads adx aea afc aif aiff aix al alias_pix alp amf amr amrnb amrwb ams anm ans apc ape apl apm apng aptx aptxhd aqt argo_asf argo_brp argo_cvg art asc asf asf_o ass ast au avc avi avif avr avs avs2 avs3 bcstm bethsoftvid bfi bfstm bin bink binka bit bitpacked bmp_pipe bmv boa bonk brender_pix brstm c2 c93 caf cdata cdg cdxl cgi cif cine codec2raw concat cri_pipe dash dat data daud dav dbm dds_pipe dfa dff dfpwm dif digi dirac diz dmf dnxhd dpx_pipe dsf dsicin dsm dss dst dtk dtm dts dtshd dv dvbsub dvbtxt dvdvideo dxa ea eac3 ec3 evc exr_pipe f32be f32le f4v f64be f64le fap far ffmetadata film_cpk fits flac flic flm flv frm fsb fwse g722 g723_1 g726 g726le g729 gdm gdv gem_pipe genh gif gif_pipe gsm gxf h261 h263 h264 h265 h266 h26l hca hcom hdr_pipe heic heif hevc hls hnm iamf ice ico idcin idf idx iff ifv ilbc image2 image2pipe imf imx ipmovie ipu ircam ism isma ismv iss it iv8 ivf ivr j2b j2k j2k_pipe jacosub jpeg_pipe jpegls_pipe jpegxl_pipe jv jxl kux kvag laf lc3 libgme lmlm4 loas lrc lvf lxf m15 m2a m4a m4b m4v mac mca mcc mdl med mgsts microdvd mj2 mjpeg mjpg mk3d mka mks mkv mlp mlv mm mmcmp mmf mms mo3 mod mods moflex mov mp2 mp3 mp4 mpa mpc mpc8 mpeg mpegts mpegtsraw mpegvideo mpl2 mpo mptm msbc msf msnwctcp msp mt2 mtaf mtm mtv musx mv mvi mxf mxg nfo nist nsp nst nsv nut nuv obu ogg okt oma omg opus osq paf pam_pipe pbm_pipe pcx_pipe pdv pfm_pipe pgm_pipe pgmyuv_pipe pgx_pipe phm_pipe photocd_pipe pictor_pipe pjs plm pmp png_pipe pp_bnk ppm ppm_pipe psd_pipe psm psp psxstr pt36 ptm pva pvf qcif qcp qdraw_pipe qoa qoi_pipe r3d rco rcv rcwt rgb rka rl2 rm roq rpl rsd rso rt rtp rtsp s16be s24be s24le s32be s32le s337m s3m sami sap sb sbc sbg scc scd sdns sdp sdr2 sds sdx ser sf sfx sfx2 sga sgi_pipe shn sln smi smk smush sol son sox spdif sph srt ss2 st26 stk stl stm stp str sub sunrast_pipe sup svag svg_pipe svs sw swf tak tco tedcaptions thd thp tiertexseq tiff_pipe tmv tta txd txt ty ty+ u16be u24be u24le u32be u32le ub ul ult umx usm uw v v210 vag vb vbn_pipe vc1 vidc viv vividas vmd voc vpk vqe vqf vql vt vtt vvc w64 wa wav way wc3movie webm webm_dash_manifest webp_pipe wma wow wsaud wsd wsvqa wtv wv wve xa xbin xbm_pipe xl xm xmd xmv xpk xpm_pipe xvag xwd_pipe xwma y4m yop yuv yuv10 rtp:// rtsp:// rtsps://
[pcm]
Well then that seems to be what I have been talking about - the interface does have the IP address, but the web server does not listen on that address (or does listen, but with a different virtual host - if the webserver being used supports multiple virtual hosts).
The legacy command ifconfig is not recommended mostly for its deficiency in multiple IP address handling (it's an emulation of the old ifconfig using the new ip) - e.g. https://superuser.com/questions/122...rst-ip-of-a-network-interface-configured-with
It's dts, and it works fine, I mean it plays. I see dts in the list, so it's supported. I just can't figure out if it is really downmixed to 2 channels automatically.If the audio device is only capable of 2 channel then downmix to 2 channel should happen assuming the source multichannel format can be decoded by MPD. Below is a list of audio formats supported by MPD in our build.
Code:pi@test2:~ $ mpd -V Decoder plugins: [mpg123] mp3 [mad] mp3 mp2 [vorbis] ogg oga [oggflac] ogg oga [flac] flac [opus] opus ogg oga [dsdiff] dff [dsf] dsf [faad] aac [wavpack] wv [adplug] amd d00 hsc laa rad raw sa2 [ffmpeg] 264 265 266 302 3g2 3gp 4xm 669 722 aa aa3 aac aax ac3 ac4 ace acm act adf adp ads adx aea afc aif aiff aix al alias_pix alp amf amr amrnb amrwb ams anm ans apc ape apl apm apng aptx aptxhd aqt argo_asf argo_brp argo_cvg art asc asf asf_o ass ast au avc avi avif avr avs avs2 avs3 bcstm bethsoftvid bfi bfstm bin bink binka bit bitpacked bmp_pipe bmv boa bonk brender_pix brstm c2 c93 caf cdata cdg cdxl cgi cif cine codec2raw concat cri_pipe dash dat data daud dav dbm dds_pipe dfa dff dfpwm dif digi dirac diz dmf dnxhd dpx_pipe dsf dsicin dsm dss dst dtk dtm dts dtshd dv dvbsub dvbtxt dvdvideo dxa ea eac3 ec3 evc exr_pipe f32be f32le f4v f64be f64le fap far ffmetadata film_cpk fits flac flic flm flv frm fsb fwse g722 g723_1 g726 g726le g729 gdm gdv gem_pipe genh gif gif_pipe gsm gxf h261 h263 h264 h265 h266 h26l hca hcom hdr_pipe heic heif hevc hls hnm iamf ice ico idcin idf idx iff ifv ilbc image2 image2pipe imf imx ipmovie ipu ircam ism isma ismv iss it iv8 ivf ivr j2b j2k j2k_pipe jacosub jpeg_pipe jpegls_pipe jpegxl_pipe jv jxl kux kvag laf lc3 libgme lmlm4 loas lrc lvf lxf m15 m2a m4a m4b m4v mac mca mcc mdl med mgsts microdvd mj2 mjpeg mjpg mk3d mka mks mkv mlp mlv mm mmcmp mmf mms mo3 mod mods moflex mov mp2 mp3 mp4 mpa mpc mpc8 mpeg mpegts mpegtsraw mpegvideo mpl2 mpo mptm msbc msf msnwctcp msp mt2 mtaf mtm mtv musx mv mvi mxf mxg nfo nist nsp nst nsv nut nuv obu ogg okt oma omg opus osq paf pam_pipe pbm_pipe pcx_pipe pdv pfm_pipe pgm_pipe pgmyuv_pipe pgx_pipe phm_pipe photocd_pipe pictor_pipe pjs plm pmp png_pipe pp_bnk ppm ppm_pipe psd_pipe psm psp psxstr pt36 ptm pva pvf qcif qcp qdraw_pipe qoa qoi_pipe r3d rco rcv rcwt rgb rka rl2 rm roq rpl rsd rso rt rtp rtsp s16be s24be s24le s32be s32le s337m s3m sami sap sb sbc sbg scc scd sdns sdp sdr2 sds sdx ser sf sfx sfx2 sga sgi_pipe shn sln smi smk smush sol son sox spdif sph srt ss2 st26 stk stl stm stp str sub sunrast_pipe sup svag svg_pipe svs sw swf tak tco tedcaptions thd thp tiertexseq tiff_pipe tmv tta txd txt ty ty+ u16be u24be u24le u32be u32le ub ul ult umx usm uw v v210 vag vb vbn_pipe vc1 vidc viv vividas vmd voc vpk vqe vqf vql vt vtt vvc w64 wa wav way wc3movie webm webm_dash_manifest webp_pipe wma wow wsaud wsd wsvqa wtv wv wve xa xbin xbm_pipe xl xm xmd xmv xpk xpm_pipe xvag xwd_pipe xwma y4m yop yuv yuv10 rtp:// rtsp:// rtsps:// [pcm]