maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Using Bonjour to name your NIT (https://talk.maemo.org/showthread.php?t=17681)

brontide 2008-03-09 00:55

Using Bonjour to name your NIT
 
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!

kaito 2008-03-09 21:36

Re: Using Bonjour to name your NIT
 
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 2008-09-28 10:34

Re: Using Bonjour to name your NIT
 
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 2008-09-28 11:17

Re: Using Bonjour to name your NIT
 
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 2008-09-28 15:35

Re: Using Bonjour to name your NIT
 
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 2008-09-29 03:21

Re: Using Bonjour to name your NIT
 
Thanks, looking forward to it. Would appreciate an option of connecting to the IT by the name, not the IP address. :)

stangri 2008-10-05 11:38

Re: Using Bonjour to name your NIT
 
just a bump, brontide please let us know if there's any progress.

allnameswereout 2008-10-05 12:54

Re: Using Bonjour to name your NIT
 
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.

EIPI 2008-10-05 13:29

Re: Using Bonjour to name your NIT
 
Quote:

Originally Posted by allnameswereout (Post 230609)
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


All times are GMT. The time now is 17:01.

vBulletin® Version 3.8.8