Enable IPv6 on the Western Digital WD My Book Live

I have native IPv6 connectivity at home with the Ninux network, and I was so sad that my Western Digital My Book Live with 3 Terabyte of space, was not running the FTP service over IPv6.

A few days ago I found out how to fix this problem.

First of all I found on this wiki how to open the SSH access to the device. There is a hidden page of the web interface where you can easily enable the SSH access.

http://IPofYourDevice/UI/ssh

After the logging in as root with ssh, I found out that the system is just a Debian 5 compiled for the PPC architecture. IPv6 was already working because the kernel is not too old (2.6.32). Actually the NAS already had IPv6 working because the Kernel automatically assigned a working public IPv6 address listening the Router Advertisements on the LAN.

With netstat I quickly figured out that only the apache web server was binding both IPv4 and IPv6, while the rest of the services was using only the IPv4 binding. I wanted the FTP service to work with IPv6, so first of all I found that the software used for this service was vsftpd.

Looking at the documentation I was happy to see that vsftpd already supports IPv6, I just had to open the config file /etc/vsftpd.conf and configure like this:

listen=no
listen_ipv6=yes

instead of the previos configuration

listen=yes

Restarting the FTP service with /etc/init.d/vsftpd finished this task, and the FTP server was correctly working over IPv6.

Saverio

 

This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.