Friday, October 18, 2013

WD My Book Live and SSDP/UPnP

Sometimes you need a basic NAS.  We didn't want DLNA, we didn't want a Media Server, we didn't need automatic configuration of Network stuff.

So, through the GUI, we turned everything off.  Then a few days later, I'm scanning the network for excessive broadcast traffic and two of my top talkers are the darned WD My Book's.

They were hitting the network every X number of seconds with SSDP packets.  And it wasn't just a little bit, since they were my top talkers.

But, there isn't anything in the GUI about turning it off.

After googling around a bit, I discovered the disablelocalssdp switch in Twonky.... but alas that didn't help because I wasn't even running the Twonky service.

So, the WD runs a Debian Linux and I came across this post:

http://linuxadministration.us/?p=43

This told me where the config file was for Debian..

So, I cat'd the /etc/default/upnp_nas file and alas there was a switch:

UPNPNAS_ENABLED=TRUE

Well, I changed it to UPNPNAS_ENABLED=FALSE

and rebooted the NAS...

No more SSDP packet mess coming off the WD boxes anymore.  Yay!!!

Oh yea, to get into the Linux of the WD Live, go to this page:

http://ip_of_your_nas/UI/ssh

and then enable SSH.  Use PuTTY to ssh into your box and I used VI to edit the config file.

Cheers,
Clyde

No comments:

Post a Comment