Results 1 to 9 of 9

Thread: NFS client PLUGIN -PLEASE READ!!!!

  1. #1
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,843
    Thanks
    0
    Thanked 0 Times in 0 Posts

    NFS client PLUGIN -PLEASE READ!!!!

    Hi, can anybody please make a NFS client plugin for AZBOX HD?

    something like XBMC

    were we can put

    IP
    user,password (if only required)
    wsize
    rsize
    shared folder name
    azbox where to mount


    i think it should be really simple to make for the pros , the "final line" that should be sent by telnet, should be something like this:

    mount -t nfs 192.168.1.3:/home/hfmls/Music /DATA/music -o nolock,async,rsize=32768,wsize=32 768,intr 0 0

    so it should be something like this:

    IP: 192.168.1.3
    USER/PASSWORD: NOTHING
    wsize: 32768
    rsize: 32768
    shared folder name: /home/hfmls/Music
    azbox where to mount: /DATA/music



    i leave it all simple and complete idea how to do it now with some coding, u guys could make a PLUGIN please please please?


    at the end something should appear:

    MOUNT --- UNMOUNT --- CHECK STATUS (if anything is mounted, see if its mounted ok)


    KANBER KAV, CAN U MAKE THIS?

  2. #2
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,843
    Thanks
    0
    Thanked 0 Times in 0 Posts
    any1 pls?

  3. #3
    Mildly Important Nymph :D goran's Avatar
    Join Date
    Dec 2004
    Posts
    2,260
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon12

    A good idea, provided one gives detailed info, too... so one can configure it properly, knowing what one is doing...

  4. #4
    V.I.P
    Join Date
    May 2009
    Location
    Turkey
    Posts
    330
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hfmls View Post
    Hi, can anybody please make a NFS client plugin for AZBOX HD?

    something like XBMC

    were we can put

    IP
    user,password (if only required)
    wsize
    rsize
    shared folder name
    azbox where to mount


    i think it should be really simple to make for the pros , the "final line" that should be sent by telnet, should be something like this:

    mount -t nfs 192.168.1.3:/home/hfmls/Music /DATA/music -o nolock,async,rsize=32768,wsize=32 768,intr 0 0

    so it should be something like this:

    IP: 192.168.1.3
    USER/PASSWORD: NOTHING
    wsize: 32768
    rsize: 32768
    shared folder name: /home/hfmls/Music
    azbox where to mount: /DATA/music



    i leave it all simple and complete idea how to do it now with some coding, u guys could make a PLUGIN please please please?


    at the end something should appear:

    MOUNT --- UNMOUNT --- CHECK STATUS (if anything is mounted, see if its mounted ok)


    KANBER KAV, CAN U MAKE THIS?



    No problem.

  5. #5
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,843
    Thanks
    0
    Thanked 0 Times in 0 Posts
    txxxxx

  6. #6
    V.I.P
    Join Date
    May 2009
    Location
    Turkey
    Posts
    330
    Thanks
    0
    Thanked 0 Times in 0 Posts
    MMP[~]$ mount --help
    BusyBox v1.00 (2008.04.24-06:54+0000) multi-call binary

    Usage: mount [flags] DEVICE NODE [-o options,more-options]

    Mount a filesystem. Autodetection of filesystem type requires the
    /proc filesystem be already mounted.

    Flags:
    -a: Mount all filesystems in fstab.
    -f: "Fake" Add entry to mount table but don't mount it.
    -n: Don't write a mount table entry.
    -o option: One of many filesystem options, listed below.
    -r: Mount the filesystem read-only.
    -t fs-type: Specify the filesystem type.
    -w: Mount for reading and writing (default).

    Options for use with the "-o" flag:
    async/sync: Writes are asynchronous / synchronous.
    atime/noatime: Enable / disable updates to inode access times.
    dev/nodev: Allow use of special device files / disallow them.
    exec/noexec: Allow use of executable files / disallow them.
    loop: Mounts a file via loop device.
    suid/nosuid: Allow set-user-id-root programs / disallow them.
    remount: Re-mount a mounted filesystem, changing its flags.
    ro/rw: Mount for read-only / read-write.
    bind: Use the linux 2.4.x "bind" feature.

    There are EVEN MORE flags that are specific to each filesystem.
    You'll have to see the written do***entation for those filesystems.

    but mount no support nfs


    runing mount line ?
    mount -t nfs 192.168.1.3:/home/hfmls/Music /DATA/music -o nolock,async,rsize=32768,wsize=32 768,intr 0 0

  7. #7
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,843
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes, it supports NFS. i'm using it

    i use that line to mount my shared folder.

    then i write "mount"

    and mounted folder shows all OK. as a NFS mount.

    and files show up in AUDIO too.

  8. #8
    Mildly Important Nymph :D goran's Avatar
    Join Date
    Dec 2004
    Posts
    2,260
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon3

    Kanber, m8, here is a lot more info:

    https://www.satpimps.co.uk/showthread.php?t=123364

    Also:

    This howto describes how to mount a NFS share with a plugin script.
    It mounts the NFS shares to /DATA/movies /DATA/music etc
    So you can select them via the menu of the AZbox.

    Note: 192.168.x.xx = Ip of your NAS or server

    Make a new folder in the OpenXCAS plugin directory on the Azbox, using for instance PuTTy:

    Code:
    cd /EMU/OpenXCAS
    mkdir mount
    cd mount
    create a file in this folder with the name mount.sh with the following content:

    Code:
    #!/bin/sh
    mount -t nfs 192.168.x.xx:/dir/to_your/video /DATA/movie -o nolock,soft,rsize=8192,wsize=8192
    mount -t nfs 192.168.x.xx:/dir/to_your/music /DATA/music
    Create a file called openxcas.conf in the same folder:

    Code:
    [module]
    name = mount
    daemon = mount.sh
    version = 1.0
    then chmod 755 * in the same folder to give the files execute rights.

    Go up one folder into /EMU/OpenXCAS and add a line in the module.seq file called mount (a # in front of a line means the plugin is deactivated).

    Then you can select the plugin in the OpenXCAS menu called mount and start it with the OK or yellow button.

    You should see the new files in the Movie and Music menu entries.

    if you already have a HDD this might conflict with existing /DATA mounts and a harddisk that you might have installed, it will not corrupt anything it just wont work ,

    Thanks to emmanneil AND LilleMama

  9. #9
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,843
    Thanks
    0
    Thanked 0 Times in 0 Posts
    are u getting any luck with this?

    if u need anything, access to my computer, etc etc. just say

Similar Threads

  1. Replies: 0
    Last Post: 20-12-2009, 12:29 PM
  2. Azbox Premium not seeing local card
    By paulwilko in forum AZBox HD Newbie Questions
    Replies: 45
    Last Post: 09-09-2009, 08:04 PM
  3. Newcs + CCcam, Can it be done ?
    By paulwilko in forum AZBox HD Newbie Questions
    Replies: 11
    Last Post: 31-08-2009, 01:15 PM
  4. Innovative read me (PLEASE READ)
    By Graham7 in forum Fortec
    Replies: 0
    Last Post: 11-05-2007, 10:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •