[FreeBSD] [GhostBSD] Activation Avahi

[FreeBSD] [GhostBSD] Activation Avahi.

1/ Installation des paquets Avahi.

util01@station55 /u/h/util01> sudo pkg install hal dbus avahi avahi-app avahi-libdns avahi-autoipd nss_mdns

2/ Fichier de configuration.

Ouvrir :
Chercher :
Remplacer par :

3/ Activation des services.

util01@station55 /u/h/util01> sudo sysrc dbus_enable=YES
util01@station55 /u/h/util01> sudo sysrc hald_enable=YES
util01@station55 /u/h/util01> sudo sysrc avahi_daemon_enable=YES

4/ Fichier de configuration.

Ouvrir :
Chercher :
host: files dns
Remplacer par :
hosts: files dns mdns

5/ Démarrage des services.

util01@station55 /u/h/util01> sudo service dbus start
util01@station55 /u/h/util01> sudo service avahi-daemon start
util01@station55 /u/h/util01> sudo service avahi-dnsconfd start

6/ Test.

– ping :
util01@station66:~$ ping station55.local -c 2
PING station55.local ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=64 time=0.509 ms
64 bytes from ( icmp_seq=2 ttl=64 time=0.606 ms
--- station55.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.509/0.557/0.606/0.053 ms

– ssh :
util01@station66:~$ ssh util01@station55.local
Password for util01@station55:
Last login: Wed Apr 8 13:42:38 2020 from pc283.home
Welcome to FreeBSD!
util01@station55 /u/h/util01>

7/ Liens.


Comments are closed, but trackbacks and pingbacks are open.