Active Topics

 


Reply
Thread Tools
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#1
I was pleasantly surprised to find avahi installed as part of os2008. It's running in order to find zeroconf/bonjour services, but it's not advertising any services by default. The first thing that I did as a mac user is to name the device.

As root, edit /etc/avahi/avahi-daemon.conf

uncomment host-name and give your device a more friendly name like

host-name=hodge-podge

restart avahi by...

/etc/init.d/avahi-daemon restart

and now you can, from your mac.

ssh root@hodge-podge.local

This will work anywhere you are on the same broadcast segment as your NIT. No need to ifconfig to find the local address of your device!
 

The Following 11 Users Say Thank You to brontide For This Useful Post:
Posts: 33 | Thanked: 6 times | Joined on Feb 2008
#2
Thanks for the tip. I'm using 2008HE and had to download Bonjour Support but it was installed without a problem. Btw I've never heard about avahi before, pretty cool project...
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#3
Is avahi still included with all the latest diablo updates and are the paths still the same? I'm having problems following these instructions since the paths are invalid.
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#4
I don't think it is. IIRC, you'd need to install the rtcom beta stuff to get it.

Anyway, naming the device should be done once in the settings; they should then use this one name for bluetooth, avahi, as the resource name for XMPP etc.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#5
Last I checked the Bonjour Support under Diablo was quirky/broken. I'll run another test in the next day to see if I can get it running with a stock Diablo install.
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#6
Thanks, looking forward to it. Would appreciate an option of connecting to the IT by the name, not the IP address.
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#7
just a bump, brontide please let us know if there's any progress.
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#8
Good idea. I also added the domain-name. There are many more options to look into, and Avahi/Bonjour works on many systems.

By default you can also change the hostname in /etc/hosts
Because this is passed to the dhcpd your dns server will also bind the IP to the host. At least on many SOHO routers nowadays, this works. You won't need to install extra software for this.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
EIPI's Avatar
Posts: 794 | Thanked: 784 times | Joined on Sep 2007 @ /Canada/Ontario/GTA
#9
Originally Posted by allnameswereout View Post
Good idea. I also added the domain-name. There are many more options to look into, and Avahi/Bonjour works on many systems.
By default you can also change the hostname in /etc/hosts
Because this is passed to the dhcpd your dns server will also bind the IP to the host. At least on many SOHO routers nowadays, this works. You won't need to install extra software for this.
To change the device name, you do that in /etc/hostname
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:03.