The Following 11 Users Say Thank You to brontide For This Useful Post: | ||
|
2008-03-09
, 21:36
|
Posts: 33 |
Thanked: 6 times |
Joined on Feb 2008
|
#2
|
|
2008-09-28
, 10:34
|
|
Posts: 145 |
Thanked: 18 times |
Joined on Aug 2008
@ Vancouver, BC
|
#3
|
|
2008-09-28
, 11:17
|
|
Posts: 3,790 |
Thanked: 5,718 times |
Joined on Mar 2006
@ Vienna, Austria
|
#4
|
|
2008-09-28
, 15:35
|
|
Posts: 868 |
Thanked: 474 times |
Joined on Oct 2007
@ Capital District, NY, USA
|
#5
|
|
2008-09-29
, 03:21
|
|
Posts: 145 |
Thanked: 18 times |
Joined on Aug 2008
@ Vancouver, BC
|
#6
|
|
2008-10-05
, 11:38
|
|
Posts: 145 |
Thanked: 18 times |
Joined on Aug 2008
@ Vancouver, BC
|
#7
|
|
2008-10-05
, 12:54
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#8
|
|
2008-10-05
, 13:29
|
|
Posts: 794 |
Thanked: 784 times |
Joined on Sep 2007
@ /Canada/Ontario/GTA
|
#9
|
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.
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!