Pogoplug Logitech Media Server & Time Capsule

This is a draft and work in progress (maybe not?). Regular updates might appear here. But as is=t seems at the moment, I split the different purposes to different machines. I will see.

Continue reading

Advertisements

Pogoplug as ftp server

The purpose is to have an ftp server so that otr files can be uploaded there via pushftp.

This is a throw-away configuration, quick to rebuild if necessary.

Install Debian as usual.

This is based on https://www.howtoforge.com/tutorial/proftpd-installation-on-debian-and-ubuntu/.

1 Install proftpd

  apt-get install proftpd-basic

1.1 ADDED: Add debian hostname to /etc/hosts

  echo "127.0.0.1 debian" >> /etc/hosts

1.2 Create user and groups

addgroup ftpgroup
adduser otrupload -shell /bin/false -home /ftpshare
adduser otrupload ftpgroup

1.3 Change permissions

chmod -R 1777 /ftpshare/

1.4 Adapt /etc/proftp/proftpd.conf

Add

<Global>
    RootLogin   off
    RequireValidShell off
</Global>

DefaultRoot  ~

<Limit LOGIN>
    DenyGroup !ftpgroup
</Limit>