Page 1 of 1

Cool stuff with Avahi/Zeroconf and SABnzbd on your LAN (Linux, maybe Mac OS X)

Posted: February 8th, 2009, 5:10 pm
by sander
Cool!  This makes life easier: an easy way to access SABnzbd on another computer on your LAN!

I just discovered I can access my SABnzbd running on another machine on the LAN via it's avahi / zeroconf name 'ubuntu810.local', which is the hostname of that machine, plus the extension '.local'. It works between Ubuntu Linux machines. Maybe it works for Macs too. I don't know about Windows.

So: on my Ubuntu laptop, I can just fill out http://ubuntu810.local:8080/sabnzbd/ (note the .local) as the URL, and it works! No need for IP addresses or FQDN's.



Code: Select all

sander@flappie:~$ hostname
flappie
sander@flappie:~$ ping flappie.local
PING flappie.local (192.168.2.188) 56(84) bytes of data.
64 bytes from flappie.lan (192.168.2.188): icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from flappie.lan (192.168.2.188): icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from flappie.lan (192.168.2.188): icmp_seq=3 ttl=64 time=0.046 ms

--- flappie.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.033/0.041/0.046/0.009 ms
sander@flappie:~$
and

Code: Select all

sander@flappie:~$ ping ubuntu810-on-athlon64.local
PING ubuntu810-on-athlon64.local (192.168.2.150) 56(84) bytes of data.
64 bytes from ubuntu810-on-athlon64.lan (192.168.2.150): icmp_seq=1 ttl=64 time=5.00 ms
64 bytes from ubuntu810-on-athlon64.lan (192.168.2.150): icmp_seq=2 ttl=64 time=1.41 ms
64 bytes from ubuntu810-on-athlon64.lan (192.168.2.150): icmp_seq=3 ttl=64 time=1.28 ms

--- ubuntu810-on-athlon64.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 1.287/2.567/5.000/1.721 ms
sander@flappie:~$ 

PS: It even works for ssh ...

Re: Cool stuff with Avahi/Zeroconf and SABnzbd on your LAN (Linux, maybe Mac OS X)

Posted: February 9th, 2009, 1:41 am
by interfacelift
Bonjour is what Apple's implementation of Zeroconf on Mac OS X is called. And yes, it works fine for SABnzbd, as it does for nearly any other app that can accept a non numeric hostname.

Interestingly enough, TiVos support Zeroconf as well. I use a few tools to download video from my TiVo Series 2 and TiVo HD and each has its own Zeroconf hostname.

Re: Cool stuff with Avahi/Zeroconf and SABnzbd on your LAN (Linux, maybe Mac OS X)

Posted: February 12th, 2009, 9:58 pm
by qwerty967
I learned something useful today. Thanks.

Re: Cool stuff with Avahi/Zeroconf and SABnzbd on your LAN (Linux, maybe Mac OS X)

Posted: March 2nd, 2009, 3:51 pm
by qwerty967
I've made a feature request for Zeroconf support. Express your support there!