January 27, 20179 yr The SMB and AFP avahi services are showing in capital letters, and I've verified this is not a Finder issue (searched bonjour services and confirmed same thing). The unRAID server identifier name, and the hostname of the server, isn't capitalised. Example: Storage -> STORAGE I've had this problem for as long as I can remember, on multiple macOS client machines over multiple OS versions. Anyone else experience this? I see it's just taking the %h var in the avahi service config, that may be the culprit. Just my OCD, but it occasionally annoys me
January 27, 20179 yr The SMB and AFP avahi services are showing in capital letters, and I've verified this is not a Finder issue (searched bonjour services and confirmed same thing). The unRAID server identifier name, and the hostname of the server, isn't capitalised. Example: Storage -> STORAGE I've had this problem for as long as I can remember, on multiple macOS client machines over multiple OS versions. Anyone else experience this? I see it's just taking the %h var in the avahi service config, that may be the culprit. Just my OCD, but it occasionally annoys me See if this works: edit the one of the /etc/avahi/services files, eg, /etc/avahi/services/smb.service and change: <name replace-wildcards='yes'>%h</name> to <name>Tower</name> (of course use your server name instead of "Tower") I think avahi should see the file change and restart itself. Then check if name shows up like you want.
January 29, 20179 yr Author Doesn't seem to make a difference - unfortunately a restart of the service re-generates a new config file.
February 1, 20179 yr Looking into this a bit, I don't think it's an avahi issue; changing the %h to the actual server name does not affect the string shown in Finder. I've noticed the server name shows up in all caps under windows 10 Network as well. If you look at /etc/samba/smb-names.conf the server name is set to mixed case, but if you use the 'testparm -sv' command it looks like Samba is internally setting the string to upper case.
February 1, 20179 yr Author Strange, but it's now working. Avahi services must cache, even after a reload. Changing the hostname manually fixed the issue. cat /etc/avahi/avahi-daemon.conf ..... host-name=Storage
February 1, 20179 yr Strange, but it's now working. Avahi services must cache, even after a reload. Changing the hostname manually fixed the issue. cat /etc/avahi/avahi-daemon.conf ..... host-name=Storage You're think it's ahahi? That package has not changed in almost a year.
February 1, 20179 yr Hey I should tell you about a little 'undocumented' feature If you look in /boot/config/share.cfg file you should see these lines: shareAvahiEnabled="yes" shareAvahiSMBName="%h" shareAvahiSMBModel="Xserve" shareAvahiAFPName="%h-AFP" shareAvahiAFPModel="Xserve" Those strings are what get put into the /etc/avahi/services/smb.service and afp.service files. Never got around to creating a webGui control for those, but you should be able to edit the file and change the "%h" to "Storage" or anything you want. I don't know if this is relevant to the issue at hand.
February 2, 20179 yr Author Strange, but it's now working. Avahi services must cache, even after a reload. Changing the hostname manually fixed the issue. cat /etc/avahi/avahi-daemon.conf ..... host-name=Storage You're think it's ahahi? That package has not changed in almost a year. Not sure - would need to do some testing. I doubt it's Avahi... would be interesting to see what you see if you use avahi-browse -a at your end. Use dns-sd -B if you have a Mac to test with as well.
Archived
This topic is now archived and is closed to further replies.