LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-22-2008, 04:37 PM   #1
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question 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??).

Has anyone achieved similar things?

Cheers,
MJ
 
Old 12-22-2008, 05:10 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

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).

Dave
 
Old 12-22-2008, 05:12 PM   #3
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Original Poster
Rep: Reputation: 39
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

Cheers,
MJ
 
Old 01-05-2009, 04:18 AM   #4
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Original Poster
Rep: Reputation: 39
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.

Is that possible?

Cheers,
MJ
 
Old 01-05-2009, 04:57 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
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.

http://0pointer.de/lennart/projects/nss-mdns/

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
World Population of Apple Mac HomeDesktop/Servers v.s. Linux / MicrosoftWindows? frenchn00b Other *NIX 3 01-07-2008 06:10 PM
LXer: You cannot advertise an iGasm, says Apple LXer Syndicated Linux News 0 05-24-2007 05:46 PM
LXer: GNU/Linux vs. Mac: Why Apple will not dominate? LXer Syndicated Linux News 0 09-13-2006 09:03 AM
LXer: Should Apple switch Mac OS X from Mach to Linux kernel? LXer Syndicated Linux News 0 12-15-2005 10:01 AM
Linux-Apple Mac os X and freebsd ninadb Linux - General 2 10-09-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration