Wondering how to advertise Apple Mac hostnames to linux using appletalk
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wondering how to advertise Apple Mac hostnames to linux using appletalk
Hi All,
Just started at the very beginning, trying to find out how i can get hostnames of apple computers on the network that are all DHCP and not on DNS, so can't use static address but of course the apple clients are using rendezvous/bonjour apple talk protocol stuff and i'd like to know how i can go about getting linux tapped into that protocol so that the linux box can use hostname's of the apple clients to connect to them and not have to use DNS etc. Perhaps it requires a means of automatically keeping its own DNS where some linux service keeps a tally of the movement of DHCP address and is still able to tap into the correct client using the hostname as the DNS gets updated constantly to every change detected?
I see there are various how too's about advertising services from linux to the apple mac's but this is not what i am trying to do. I also see some things mentioned about the howl service and APF (OR maybe t was AFP??).
The rendezvous/bonjour system on Linux is called Avahi. There should be a startup service called 'avahi-daemon' which switches it on.
I's be surprised if AppleTalk was involved at all - it's been a lot of years since I saw a Mac with AppleTalk switched on (it's off by default in OSX).
Hello,
Thanks for the reply... well i don't know alot about Mac stuff, therefore your probably right, but i'll certainly look at avahi, thanks for the tip
Hi All,
Is it possible to get to stage where you can do something like:-
Code:
ping [hostname]
Where hostname is a apple mac computer only advertising its hostname with bonjour. Because i've briefly looked about at several different applications that say they can work with bonjour... ie.... avahi, KDE's version, apple's own mDNSresponder version for linux. Avahi i found more or less impossible with no real documentation as far as i understood anyway. Not really understanding what really needed to be installed so i would be able to do such things as ping [hostname], especially as it talks more about needing API's and stuff. Apple's own mDNSresponder which includes as i understood nss-dns etc etc installed fine, but i don't really see that working either.
However i should mention with avahi if i run the 'avahi-discover-standalone', it does discover and see different hosts and stuff, so it is sort of working. But i want to be able to use the hostnames of these hosts just as you would if they were held in DNS or /etc/hosts.
I believe you can (though I've not tried it myself). nss-mdns should let any application resolve names through zeroconf if your /etc/nsswitch.conf is set up right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.