Omega 2 Plus as Network Attached Storage (NAS)



  • Hi, beginner here. Can someone guide or give some links or short step by step write up for using Omega 2 Plus as NAS?



  • @Yeshwanth-Shenoy What NAS features do you want? FTP? Web GUI? SMB (Windows shared folder)? SFTP/ssh transfer?



  • @Helio-Machado I can live with FTP/Samba features for now. I wish to build a Web GUI around the FTP/Samba. I want to connect devices like Android Devices, Windows devices and such to the NAS via a Web GUI that I will be building.



  • @Yeshwanth-Shenoy Well. Do you have basic notions about command line usage, system administration and so on?

    This is a stupid question, but it will help me to know what I should explain you.



  • @Yeshwanth-Shenoy Did you read these things? They can help you on the base:

    https://wiki.openwrt.org/doc/howto/ftp.overview
    https://wiki.openwrt.org/doc/howto/cifs.server

    About the Web GUI, I fear that you'll need to do it by yourself.
    However, maybe you can use the Onion Console Editor app as GUI to upload files.



  • @Helio-Machado said in Omega 2 Plus as Network Attached Storage (NAS):

    wever, maybe you can use the Onion Console Editor app as GUI

    I am familiar with Linux commands and FTP stuff. I would like to build the Web GUI myself anyway, I just wanted to know which package would be suitable for this purpose. And some reference material that can help me would also be great. I will check the links you have sent. Thanks!



  • How to connect from omega to network storage that is already available on the network?

    I already installed:opkg install samba36-client
    smbclient //192.168.0.40/storage -U username%password is working,
    but I will mount it, so I can Access it with some scripts. "cifs" not working:
    mount -t cifs //IPADRESS/storage ~/mnt -o username=user password=pw

    any suggestions?



  • Trying NFS Server NAS but....

    root@Omega-8D69:~# opkg list | grep nfs
    nfs-kernel-server - 2.1.1-1 - Kernel NFS server support
    nfs-kernel-server-utils - 2.1.1-1 - NFS server utils
    nfs-utils - 2.1.1-1 - Updated mount.nfs command - allows mounting nfs4 volumes

    root@Omega-8D69:~# opkg install nfs-kernel-server nfs-kernel-server-utils
    Installing nfs-kernel-server (2.1.1-1) to root...
    Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/nfs-kernel-server_2.1.1-1_mipsel_24kc.ipk
    Installing nfs-kernel-server-utils (2.1.1-1) to root...
    Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/nfs-kernel-server-utils_2.1.1-1_mipsel_24kc.ipk
    Installing nfs-kernel-server (2.1.1-1) to root...
    Configuring nfs-kernel-server.
    mount: mounting nfsd on /proc/fs/nfsd failed: No such device
    sysctl: error: 'fs.nfs.nlm_tcpport' is an unknown key
    sysctl: error: 'fs.nfs.nlm_udpport' is an unknown key
    exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/mnt".
    Assuming default behaviour ('no_subtree_check').
    NOTE: this default has changed since nfs-utils version 1.0.x

    rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
    Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
    Configuring nfs-kernel-server-utils.
    Collected errors:

    • satisfy_dependencies_for: Cannot satisfy the following dependencies for nfs-kernel-server:
    • kmod-fs-nfsd * kmod-fs-nfs *
    • opkg_install_cmd: Cannot install package nfs-kernel-server.

    root@Omega-8D69:~# uname -a
    Linux Omega-8D69 4.4.46 #0 Thu Feb 2 23:46:03 2017 mips GNU/Linux


Log in to reply