Making the Intel based Synology more useful with ipkg, sftp server and nano

Discussion in 'NAS Systems and Networked Home and SMB Software' started by Patrick, Dec 11, 2014.

  1. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,718
    Likes Received:
    4,650
    I have a few things I want my Synology DS1812+ to do that were not possible:
    nano text editor (sorry I am not a vi fan)
    sftp server (because sometimes it is nice to have)

    That required getting to the point I could issue a command ipkg install openssh-sftp-server

    (login as root)

    cd /volume1/@tmp
    wget http://ipkg.nslu2-linux.org/feeds/o...s/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
    chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
    ./syno-i686-bootstrap_1.2-7_i686.xsh
    reboot

    (wait a bit)
    (login as root)

    vi /root/.profile
    -- Hit the "i" key (insert mode)
    -- Scroll down to the start of the line for "export PATH" and "PATH="
    -- Add a single '#' character in front of those two lines
    Synology Setup path comment out.JPG
    -- Hit the escape key
    -- Type upper-case ZZ to save and exit vi
    reboot

    (wait a bit)
    (login as root)

    ipkg update
    ipkg install nano openssh-sftp-server
    nano /etc/ssh/sshd_config
    -- Scroll down, fairly close to the end and change the 'Subsystem' line to: Subsystem sftp /volume1/@optware/libexec/sftp-server
    Synology Setup openssh-sftp-server Subsystem config.JPG
    -- Hit ctrl+x and y to exit and save.
    reboot

    Now you can login to the Synology DiskStation using sftp and you have nano for any config files you want to change! ipkg is also installed for easy package installation.

    I do wish nano would just be available from day 1.
     
    #1
    nitrobass24 likes this.
  2. nitrobass24

    nitrobass24 Moderator

    Joined:
    Dec 26, 2010
    Messages:
    1,082
    Likes Received:
    126
    I wish it was possible to upgrade the kernel or Samba
     
    #2
    Patrick likes this.
  3. Mike

    Mike Member

    Joined:
    May 29, 2012
    Messages:
    482
    Likes Received:
    16
    Why can't you do this? Are there external dependencies?
     
    #3
Similar Threads: Making Intel
Forum Title Date
NAS Systems and Networked Home and SMB Software Carve up Intel Optane 900p (280GB) for ZFS rpool + ZIL Mar 1, 2019

Share This Page