volumio / volumio3-os

GNU General Public License v2.0
55 stars 38 forks source link

Network name in Finder on MacOS is ALL CAPS #48

Open oitdmser opened 2 years ago

oitdmser commented 2 years ago

When browsing the network in MacOS Finder, volumio appears fine, but the name is ALL CAPS. Very unsightly. My other samba network devices appear with proper cased names. The name I see in MacOS is the 'NAME WITH SPACES' and not the 'name-with-spaces' that is the hostname. Additionally, the same volumio has 'netbios name = Name With Spaces set.

Note the output of avahi-browse below. The advert for the shared disk is ALL CAPS, but all others are normal. sudo avahi-browse -a

+  wlan0 IPv4 50:32:37:4a:33:fc@fe80::5232:37ff:fe4a:33fc   _apple-mobdev2._tcp  local
+  wlan0 IPv4 LIVING ROOM STEREO                            Microsoft Windows Network local
+  wlan0 IPv4 XXXXXXXXXXXXXXXXXX                            Microsoft Windows Network local
+  wlan0 IPv4 XXXXXXXXXXX                                   Microsoft Windows Network local
+  wlan0 IPv4 XXXXXXXXXXX                                   Apple TimeMachine    local
+  wlan0 IPv4 LIVING ROOM STEREO                            _device-info._tcp    local
+  wlan0 IPv4 iPad                                          _companion-link._tcp local
+  wlan0 IPv4 Macbook                                       _companion-link._tcp local
+  wlan0 IPv4 3DC75D429960@Living Room Stereo               AirTunes Remote Audio local
+  wlan0 IPv4 living-room-stereo                            _Volumio._tcp        local
+  wlan0 IPv4 Living Room Stereo                            Web Site             local
+  wlan0 IPv4 b1715ce8-899d-5df8-9fd3-9092804fef7b          _spotify-connect._tcp local
oitdmser commented 2 years ago

This can be partly solved by adding 'mdns name = mdns' to smb.conf. This, however, will advertise the hostname instead of the ALL CAPS NetBIOS name.