June 5, 201214 yr Can we have the ability to change the names for SMB & AFP? Either that, or allow us to disable it for either service.
June 5, 201214 yr When AFP is enabled/disabled on the Settings/Network Services/AFP page, AVAHI is also enabled/disabled. The 'name' given to the AFP service is the hostname of the unRaid server, and the name given to the SMB service is the hostname with a "-SMB" suffix tacked on. So AVAHI is tied to AFP, but if you want AVAHI without AFP you can enable AFP but just not export any shares using AFP. I think what you are asking for is to enable or disable the SMB service, and if enabled, have ability to change the suffix from "-SMB", correct? As you know AVAHI is actually pretty powerful and perhaps should have it's own "Network Service" page. For example, some enhancements might be to set up other services, such as FTP. Another enhancement would be ability to change the icon that shows up in finder for a particular service (right now it uses the "Xserve" icon). Another question though: is there any use for AVAHI outside an Apple/OSX environment?
June 5, 201214 yr What I interpreted him as asking for was the ability to change it so the "names" for AFP and SMB are not the hostname. The ability to name them whatever you want. So for instance the hostname of the server would be "Tower" but you could name AFP and SMB so they show up as "Media Server" or something like that when browsing your network.
June 5, 201214 yr Author When AFP is enabled/disabled on the Settings/Network Services/AFP page, AVAHI is also enabled/disabled. The 'name' given to the AFP service is the hostname of the unRaid server, and the name given to the SMB service is the hostname with a "-SMB" suffix tacked on. So AVAHI is tied to AFP, but if you want AVAHI without AFP you can enable AFP but just not export any shares using AFP. I think what you are asking for is to enable or disable the SMB service, and if enabled, have ability to change the suffix from "-SMB", correct? As you know AVAHI is actually pretty powerful and perhaps should have it's own "Network Service" page. For example, some enhancements might be to set up other services, such as FTP. Another enhancement would be ability to change the icon that shows up in finder for a particular service (right now it uses the "Xserve" icon). Another question though: is there any use for AVAHI outside an Apple/OSX environment? You're absolutely right - essentially just want to rid my sidebar of the SMB service Would be nice to rename, but that's not too important. AVAHI does work in the windows environment if you have Bonjour installed, but generally it's just for 'pretty' service discovery in the Apple world. You could easily tie in a checkbox in each service to enable/disable AVAHI? Also when you enable/disable AFP you could tie in a dropdown for icon change. Cheers for the quick reply
June 5, 201214 yr BTW, if SMB is disabled, or if there are no SMB shares, then the AVAHI smb service is also not started. I can see the desire to not have the SMB service show up in finder's sidebar, so what would be easy/low-risk (i.e., a change to get in before 'final') would be to have a form field on the AFP network service page called "SMB service suffix", that would default to "-SMB". You could then change it to whatever you wanted, or if you set blank, it would disable the smb service altogether. What do you think? Note that the flash share can only be exported via SMB (because I don't want netatalk writing a bunch of cnid databases and AppleDouble files on the flash). Speaking of .AppleDouble files - the upcoming "3.0" release of netatalk gets rid of these files and instead stores metadata in extended attributes - yay!
June 5, 201214 yr Author BTW, if SMB is disabled, or if there are no SMB shares, then the AVAHI smb service is also not started. I can see the desire to not have the SMB service show up in finder's sidebar, so what would be easy/low-risk (i.e., a change to get in before 'final') would be to have a form field on the AFP network service page called "SMB service suffix", that would default to "-SMB". You could then change it to whatever you wanted, or if you set blank, it would disable the smb service altogether. What do you think? Note that the flash share can only be exported via SMB (because I don't want netatalk writing a bunch of cnid databases and AppleDouble files on the flash). Speaking of .AppleDouble files - the upcoming "3.0" release of netatalk gets rid of these files and instead stores metadata in extended attributes - yay! I'd be more inclined to set that in the SMB service page - make sure it has (Leave blank to disable AVAHI discovery) or something like that.
June 6, 201214 yr ... Speaking of .AppleDouble files - the upcoming "3.0" release of netatalk gets rid of these files and instead stores metadata in extended attributes - yay! Thank god!
June 6, 201214 yr Another question though: is there any use for AVAHI outside an Apple/OSX environment? Yes (sort of). The mt-daapd media server uses it (both the original Firefly and forked-daapd versions) and that may be used with non-Apple clients such as software based daap players and hardware devices, the Roku SoundBridge family specifically. Quite a few of us run one version or the other of mt-daapd for audio streaming.
June 7, 201214 yr Another question though: is there any use for AVAHI outside an Apple/OSX environment? Yes (sort of). The mt-daapd media server uses it (both the original Firefly and forked-daapd versions) and that may be used with non-Apple clients such as software based daap players and hardware devices, the Roku SoundBridge family specifically. Quite a few of us run one version or the other of mt-daapd for audio streaming. For these servers, are they using avahi to discover servers exporting via afp or smb (or both)?
June 7, 201214 yr Author No, forked-daapd uses Avahi to setup its own services. I've had to modify my iTunes plugin rc script to ensure that it starts up Avahi before running. Perhaps that could be a change? Enable Avahi by default, instead of linking it with AFP?
June 7, 201214 yr Ok, so you're saying forked-daapd (and maybe others), create their own service file to advertise themselves on the network?
June 7, 201214 yr Author Ok, so you're saying forked-daapd (and maybe others), create their own service file to advertise themselves on the network? Yes! In my roundabout way of explaining things
June 7, 201214 yr One more avahi question... Is there any reason, if you are using AFP protocol, to not also enable avahai? That is, if AFP is enabled then this alone should also enable avahi, correct?
June 7, 201214 yr Author Correct - I guess if you don't want AFP to be broadcasted to the entire network (say, the server happens to be on the same subnet as other computers and you don't want them to know it's there), then you'd want AVAHI turned off.
June 7, 201214 yr Correct - I guess if you don't want AFP to be broadcasted to the entire network (say, the server happens to be on the same subnet as other computers and you don't want them to know it's there), then you'd want AVAHI turned off. Then how would you access the server since it would not show up in finder correct?
June 7, 201214 yr Author You should still be able to access the server via "Connect to server" panel (command -k, or Finder -> Go menu -> Connect to server). Just type in afp://IPADDRESS/share Not too many situations would require this, but I suppose a setting like the SMB page to turn off AVAHI service would be useful - if it's as easy as copying what's in the SMB page
June 7, 201214 yr You should still be able to access the server via "Connect to server" panel (command -k, or Finder -> Go menu -> Connect to server). Just type in afp://IPADDRESS/share Right, of course.
Archived
This topic is now archived and is closed to further replies.