Closed pl4hh closed 2 years ago
I dug a little bit deeper, turns out i had a virtualbox adapter with hardcoded IP also on the NAS server running. disabled that interface and now it CIFS connects to the right IP. still not sure why and how it would get the other IP. maybe from avahi network discovery?
Describe the bug When i add a SMBSERVER via the name it finds in the NAS browser it resolves it afterwards to 192.168.56.1 and not the IP it has in the network. Verified it with a fresh install, if i add the SERVER via manual IP entry it works as supposed. Also checked what nmblookup is seeing. somehow somewhere there is something broken/leftover. i checked every config for that ipaddress. Problem seems not to be in MPD, but rather in SMBD or in some implementation of yours. This worked fine half a year ago, i think it might be only in the current firmware. IP Address of SMBShare needs to be added manually to have SMBshares working at the moment. Raspi 4 is only connected via WIFI. ifconfig is looking ok, hifiberry has the right address for the wlan0 device. also my network is not in that IP range.
HiFiBerryOS version 20211105
HiFiBerry sound card DAC2 Pro
To Reproduce Steps to reproduce the behavior: using webinterface to add a source to mpd. behavior is seen in logs/console/nmblookup.
Expected behavior It should resolve to the right address, see the logs i gathered below via console.
LOG ENTRIES FROM ADDING THE SOURCE
DEBUG VIA NMBLOOKUP