Thread
:
OpenSSH, Avahi, Modifying files in /etc/rc*.d/
View Single Post
dalonso
2010-10-16 , 20:38
Posts: 87 | Thanked: 47 times | Joined on Sep 2009 @ Sorocaba, Brasil
#
5
Hi fwrnando,
it seems to be working for me here in my N900, but I had to:
Install libnss-mdns as explained in this thread
http://talk.maemo.org/showthread.php?t=24578
Edit /etc/nsswitch.conf and change the hosts line from:
hosts: files dns
to:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
I install avahi-utils package
Within a terminal I issue avahi-discover and it shows me the list of local available zeroconf servers, my notebook is avertised among them as "daniel-VGN-FZ21S.local"
I issue "avahi-resolve -4 -n daniel-VGN-FZ21S.local" and it gives me the ip of my notebook as expected.
"ssh
daniel@daniel-VGN-FZ21S.local
" works as expected
No no more need to manually look up or hardcode ips in my DHCP server.
Quote & Reply
|
The Following 2 Users Say Thank You to dalonso For This Useful Post:
fwrnando
,
jstokes
dalonso
View Public Profile
Send a private message to dalonso
Find all posts by dalonso