![]() |
mDNS support for Maemo 5
Hi,
I created package mdns-support and pushed it into Extras-Devel. Package can be installed via HAM (search for mDNS). This package install & configure Maemo 5 system for mDNS support. It install packages avahi-daemon libnss-mdns library and edit /etc/nsswitch.conf. After installation is reboot required. mDNS provide hostname resolving for domain .local. Every device which support mDNS have domain <hostname>.local. So when computer (with mDNS support) and Nokia N900 connect to wifi network, mDNS can be used for identifing network devices and resolving hostname to ip addresses. Usefull for SSH when DHCP server assigning random ip address. So on computer I can ping Nokia N900 device with: Code:
$ ping Nokia-N900.local Code:
$ sudo ping Pali.local http://maemo.org/packages/view/mdns-support/ http://maemo.org/packages/view/libnss-mdns/ http://maemo.org/packages/view/avahi-daemon/ |
Re: mDNS support for Maemo 5
Sometimes (or always), after boot, avahi-daemon not starting.
When I "sudo start avahi-daemon", it says about too frequent starting. But if I "sudo avahi-daemon", it starts normally. Then Ctrl-C, and "sudo start avahi-daemon" now ok. |
Re: mDNS support for Maemo 5
Try to uninstall and install again all avahi packages. In old version was some init.d bugs.
|
Re: mDNS support for Maemo 5
Quote:
|
Re: mDNS support for Maemo 5
Quote:
But after reboot again - too fast respawning. |
Re: mDNS support for Maemo 5
Try:
$ sudo start avahi-daemon and write output from syslog (after command) Also please write output: $ ls -l -a /etc/init.d | grep -i avahi $ ls -l -a /etc/event.d | grep -i avahi |
Re: mDNS support for Maemo 5
sudo start avahi-daemon - if some time passed after reboot - normal start. I think some service prevents start of avahi-daemon on startup (at least on my phone, many programs installed). Maybe it will be enough to start after hildon-desktop e.g., not after dbus.
Code:
[1|user@Nokia-N900|~]ls -l -a /etc/init.d | grep -i avahi |
Re: mDNS support for Maemo 5
Ok, now I found problem why avahi-daemon is not starting. It is because upstart trying it start before /opt is mounted and avahi-daemon is optified.
I will fix it ASAP and push new version of avahi-daemon to extras-devel. |
Re: mDNS support for Maemo 5
Package is fixed in extras-devel for a long time. But I do not have permissions to promote it to extras-testing and extras...
|
Re: mDNS support for Maemo 5
this is a cool package
|
All times are GMT. The time now is 10:49. |
vBulletin® Version 3.8.8