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

Feel free to talk about anything and everything in this board.
Post Reply
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ...
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
interfacelift
Jr. Member
Jr. Member
Posts: 75
Joined: June 19th, 2008, 12:58 am
Location: Coruscant

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

Post 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.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

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

Post by qwerty967 »

I learned something useful today. Thanks.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

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

Post by qwerty967 »

I've made a feature request for Zeroconf support. Express your support there!
Post Reply