Koozali.org: home of the SME Server

Avahi on SME v9.2.0 X64...

Offline STRyk

  • ****
  • 190
  • +0/-0
Avahi on SME v9.2.0 X64...
« 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.
« Last Edit: March 26, 2021, 06:51:43 AM by STRyk »

Offline STRyk

  • ****
  • 190
  • +0/-0
Re: Avahi on SME v9.2.0 X64...
« Reply #1 on: March 28, 2021, 05:02:26 AM »
Who use Avahi ?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Avahi on SME v9.2.0 X64...
« Reply #2 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.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Avahi on SME v9.2.0 X64...
« Reply #3 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?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Avahi on SME v9.2.0 X64...
« Reply #4 on: March 29, 2021, 02:27:17 AM »
Most likely an XY, again.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation