Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: STRyk on March 26, 2021, 05:32:21 AM

Title: Avahi on SME v9.2.0 X64...
Post by: STRyk on March 26, 2021, 05:32:21 AM
Does anyone use Avahi on SME 9.2.0 ?

I installed it and tried to configure it for SMB but it doesn't work, the Mac still sees SME as a PC.
Do you have any ideas for the more precise configuration on SME/Koozali ?

I installed these RPMs :
avahi-0.6.25-17.el6.x86_64.rpm
avahi-tools-0.6.25-17.el6.x86_64.rpm
libdaemon-0.14-1.el6.x86_64.rpm
nss-mdns-0.10-2.el6.x86_64.rpm


# vi /etc/avahi/services/smb.service
Code: [Select]
<?xml version='1.0' standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM 'avahi-service.dtd'>
<!-- Generated settings: -->
<service-group>
 <name replace-wildcards='yes'>%h</name>
 <service>
  <type>_smb._tcp</type>
  <port>445</port>
 </service>
 <service>
  <type>_device-info._tcp</type>
  <port>0</port>
  <txt-record>model=Xserve</txt-record>
 </service>
</service-group>

# vi /etc/e-smith/templates/etc/nsswitch.conf/10files
Code: [Select]
hosts:      { ($AccessType eq "off") ? "files" : "files mdns4_minimal dns mdns4" }
# /sbin/e-smith/expand-template /etc/nsswitch.conf

Not knowing if it is necessary, but :
# /sbin/e-smith/config set avahi service TCPPorts 5353 UDPPorts 5353 access public status enabled
# /sbin/e-smith/signal-event remoteaccess-update
# /etc/init.d/masq restart

Go :
# /etc/init.d/avahi-daemon start

And nothing. The Mac still sees SME as a PC.

Thanks in advance.
Title: Re: Avahi on SME v9.2.0 X64...
Post by: STRyk on March 28, 2021, 05:02:26 AM
Who use Avahi ?
Title: Re: Avahi on SME v9.2.0 X64...
Post by: ReetP on March 28, 2021, 05:32:51 PM
# /sbin/e-smith/config set avahi service TCPPorts 5353 UDPPorts 5353 access public status enabled

Please read the manual before doing this sort of thing so you fully understand the implications.

We have said this before.

Who use Avahi ?

I think you are in a minority of one.

Title: Re: Avahi on SME v9.2.0 X64...
Post by: jameswilson on March 29, 2021, 02:07:31 AM
I do see it being updated on proxmox. It's not something I use knowingly and I certainly wouldn't open it to the world. Is it something you need or is it one of those x y questions?
Title: Re: Avahi on SME v9.2.0 X64...
Post by: ReetP on March 29, 2021, 02:27:17 AM
Most likely an XY, again.