Ik ben nu met avahi aan het proberen, maar hoe kan je naast {computernaam}.local nog andere toevoegen?
Ik heb mijn /etc/avahi/hosts bestand zo aangepast:
# $Id: hosts 1137 2006-02-14 21:31:48Z lennart $
#
# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with avahi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
# This file contains static ip address <-> host name mappings. These
# can be useful to publish services on behalf of a non-avahi enabled
# device. Please bear in mind that host names are expected to be
# fully qualified domain names, i.e. ending in .local!
# See avahi.hosts(5) for more information on this configuration file!
# Examples:
# 192.168.0.1 router.local
# 2001::81:1 test.local
192.168.2.200 mysql.azerty.local
192.168.2.201 calculat.local
En voor elke nieuwe .local domein een .service bestand toegevoegd in /etc/avahi/services
Ze zien er elk zo uit:
PHPMyAdmin .local domainname
_http._tcp
80
mysql.azerty.local
192.168.1.200
[edit] Ik heb met ifconfig twee nieuwe ip adressen geconfigureerd en die werkten[/edit]
Vervolgens heb ik de terminal het volgende getypt:
sudo avahi-daemon -r
sudo avahi-dnsconfd -r
Dat bleek niet te helpen. Ook een herstart maakte niks uit.
Wat moet ik doen?
En nog een ander vraagje. Wat is het verschil tussen de gewone(686) en de server kernel? En levert het winst op om die te draaien?