It is currently May 20th, 2013, 9:28 am Advanced search

How to: Bookmark Network Folder

Product usage Guides and Tips.. see what you are missing!

Re: How to: Bookmark Network Folder

Postby Jonatan » September 23rd, 2012, 4:36 pm

It like this
Filemanager/network/workgroup/owner-pc/video

In video folder their video/family/tv
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

Re: How to: Bookmark Network Folder

Postby Jonatan » September 24th, 2012, 12:45 pm

Jonatan » September 23rd, 2012, 7:36 pm wrote:It like this
Filemanager/network/workgroup/owner-pc/video

In video folder their video/family/tv


My PC IP is 192.168.1.24
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

Re: How to: Bookmark Network Folder

Postby aasoror » September 24th, 2012, 1:21 pm

Jonatan » September 23rd, 2012, 7:36 pm wrote:It like this
Filemanager/network/workgroup/owner-pc/video

In video folder their video/family/tv


Jonatan » September 24th, 2012, 4:45 pm wrote:My PC IP is 192.168.1.24


Assuming (case sensitive)
"File Manager" -> "Network" -> "Workgroup" -> "owner-pc" -> "video" -> "video/family/tv"

Here is the updated contents of f02nas1.sh (as per the OP of this thread).
Code: Select all
#!/bin/sh
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")

NAS1_IP="192.168.1.24"
NAS1_SHARE="video"
NAS1_MEDIA_FOLDER1="video"
NAS1_MEDIA_FOLDER2="family"
NAS1_MEDIA_FOLDER3="tv"
MOUNT_NAS1_SHARE="NAS1"
MOUNT_NAS1_MEDIA_FOLDER1="video"
MOUNT_NAS1_MEDIA_FOLDER2="family"
MOUNT_NAS1_MEDIA_FOLDER3="tv"

# Create nfs mount folder if not present
mkdir -p /tmp/nfs

# COPY THIS BLOCK FOR EVERY SERVER YOU WANT TO LINK TO
######################################################
TIMEOUT=20
mkdir -p /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE
while [ $TIMEOUT -gt 0 ]; do
    if ping $NAS1_IP; then   
        mount -t cifs //$NAS1_IP/$NAS1_SHARE -o ro,iocharset=utf8,username= /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER1 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER1
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER2 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER2
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER3 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER3
        TIMEOUT=0
    else
        TIMEOUT=$((TIMEOUT - 1))
    fi
done
##########################################################

IFS=$SAVEIFS


Now the instructions calls for the following ..
- creating the file using telnet (vi)
- placing that file inside /usr/local/etc/share_favs/
- making it executable.

If you are not familiar with telnet, I would recommend doing all three tasks using PC (read here: viewtopic.php?f=10&t=535 )

Best of luck,
The AIOS wiki - The AIOS Semiofficial firmwares
Calling upon ALL AIOSers, your feedback is needed -- Calling upon ALL XIOSers, your feedback is needed
XIOS XBMC: Setup, Nightlies: M1 - M3 - Android - Keep the annoying XIOS developers happy, always attach a log with your bug report, here is how.
User avatar
aasoror
Pivos Employee
 
Posts: 8424
Joined: September 26th, 2011, 4:18 pm

Re: How to: Bookmark Network Folder

Postby Jonatan » September 24th, 2012, 1:58 pm

so i need some help with this when i use filezilla i got to / usr local ets share_favs open it then i have a f01nas1.sh do i paste in ther or do i create new directory when i added new directory i had empty directory listing kinda stuck
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

Re: How to: Bookmark Network Folder

Postby aasoror » September 24th, 2012, 2:20 pm

Jonatan » September 24th, 2012, 5:58 pm wrote:so i need some help with this when i use filezilla i got to / usr local ets share_favs open it then i have a f01nas1.sh do i paste in ther or do i create new directory when i added new directory i had empty directory listing kinda stuck


Its not a new folder, but rather a new file in the same location. use notepad++ to create the file and name it as instructed and move it alongside f01nas1.sh
The AIOS wiki - The AIOS Semiofficial firmwares
Calling upon ALL AIOSers, your feedback is needed -- Calling upon ALL XIOSers, your feedback is needed
XIOS XBMC: Setup, Nightlies: M1 - M3 - Android - Keep the annoying XIOS developers happy, always attach a log with your bug report, here is how.
User avatar
aasoror
Pivos Employee
 
Posts: 8424
Joined: September 26th, 2011, 4:18 pm

Re: How to: Bookmark Network Folder

Postby Jonatan » September 24th, 2012, 2:38 pm

ok i think i got that now whats next will it show on nfs server
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

Re: How to: Bookmark Network Folder

Postby aasoror » September 24th, 2012, 2:45 pm

Jonatan » September 24th, 2012, 6:38 pm wrote:ok i think i got that now whats next will it show on nfs server


Yes, once you reboot.
The AIOS wiki - The AIOS Semiofficial firmwares
Calling upon ALL AIOSers, your feedback is needed -- Calling upon ALL XIOSers, your feedback is needed
XIOS XBMC: Setup, Nightlies: M1 - M3 - Android - Keep the annoying XIOS developers happy, always attach a log with your bug report, here is how.
User avatar
aasoror
Pivos Employee
 
Posts: 8424
Joined: September 26th, 2011, 4:18 pm

Re: How to: Bookmark Network Folder

Postby Jonatan » September 24th, 2012, 3:04 pm

i dontt see them on my nfs empty i went back to file zilla to share_favs and now i have a file name f02nas1.sh when i view it its like this

Code: Select all
#!/bin/sh
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")

NAS1_IP="192.168.1.24"
NAS1_SHARE="video"
NAS1_MEDIA_FOLDER1="video"
NAS1_MEDIA_FOLDER2="family"
NAS1_MEDIA_FOLDER3="tv"
MOUNT_NAS1_SHARE="NAS1"
MOUNT_NAS1_MEDIA_FOLDER1="video"
MOUNT_NAS1_MEDIA_FOLDER2="family"
MOUNT_NAS1_MEDIA_FOLDER3="tv"

# Create nfs mount folder if not present
mkdir -p /tmp/nfs

# COPY THIS BLOCK FOR EVERY SERVER YOU WANT TO LINK TO
######################################################
TIMEOUT=20
mkdir -p /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE
while [ $TIMEOUT -gt 0 ]; do
    if ping $NAS1_IP; then   
        mount -t cifs //$NAS1_IP/$NAS1_SHARE -o ro,iocharset=utf8,username= /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER1 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER1
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER2 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER2
        ln -s /tmp/ramfs/volumes/$MOUNT_NAS1_SHARE/$NAS1_MEDIA_FOLDER3 /tmp/nfs/$MOUNT_NAS1_MEDIA_FOLDER3
        TIMEOUT=0
    else
        TIMEOUT=$((TIMEOUT - 1))
    fi
done
##########################################################

IFS=$SAVEIFS
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

Re: How to: Bookmark Network Folder

Postby aasoror » September 24th, 2012, 3:37 pm

Jonatan » September 24th, 2012, 7:04 pm wrote:i dontt see them on my nfs empty i went back to file zilla to share_favs and now i have a file name f02nas1.sh when i view it its like this

Did you set the file as executable ?
The AIOS wiki - The AIOS Semiofficial firmwares
Calling upon ALL AIOSers, your feedback is needed -- Calling upon ALL XIOSers, your feedback is needed
XIOS XBMC: Setup, Nightlies: M1 - M3 - Android - Keep the annoying XIOS developers happy, always attach a log with your bug report, here is how.
User avatar
aasoror
Pivos Employee
 
Posts: 8424
Joined: September 26th, 2011, 4:18 pm

Re: How to: Bookmark Network Folder

Postby Jonatan » September 24th, 2012, 3:50 pm

Did you set the file as executable ?[/quote]

can you help me doing that

one quick question when i go to my desktop i go to videos i have a folder in there called my videos and public videos public videos is the one that im sharing so would nas1_share be nas1_share=PublicVideos''
M/b: BiostarTH67+ (1155)
Processor: IntelG530 2.4 ghz
Videocard: evga gtx 550 ti
Ram: Patriot 8gb 1600mhz
1.0 tb wdhdd sataII
Atx case
Cx430 psu
Os: windows7 ult. 64 bit
Optical drive: SonyBwu 500s bd burner

My Media.....My Decrypter.....My Ripper
User avatar
Jonatan
Hardcore
 
Posts: 101
Joined: July 19th, 2012, 3:01 am

PreviousNext

Return to AIOS Guides & Tips

Who is online

Users browsing this forum: No registered users and 2 guests