OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 1621770.0
April 12, 2010 11:39 AM

Categories: Pogoplug Classic

Rating (1 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

zimmy6996

Member
Joined: 04/12/2010

I'm sorry if this is a basic question that has already been answered in the past, but I've really tried to scour the forum as well as the Pogo site, and I really don't see the answer.

What I'm interested in doing is using the Pogoplug as a simple "web share" interface for data on the network.  I have a Windows Home Server right now with network shares for Music and Photos.  The Pogoplug has just such a simple interface for sharing pictures, that I figured this would be a good match.

What I want to be able to do is as opposed to directly connecting a hard drive to the Pogoplug, I want to be able to mount a windows share to the Pogoplug in order for the plug to be able to access my music and photos, and then allow the plug to be used as the sharing gateway for photos and music for my family and friends.

Does the Pogo support mounting a windows share to it?

Discussion:    Add a Comment | Comments 1-25 of 82 | Latest Comment | 1 2 3 4 Next »

April 13, 2010 11:40 AM

I don't believe that it can do this - Pogoplug is designed to interface directly with USB connected drives.

Peter Redmer
Administrator
Blog | Twitter

May 11, 2010 3:33 AM

I agree, this functionality would be great.

I currently have a Iomega screen play pro HD hard drive that contains all my video media on the network. I has 2 interfaces Ethernet + HDMI mode (for when plugged into the TV) and USB mode, both modes can not be used at the same time. So its a little annoying to turn off the drive each morning, walk it across my living room and plug it into the pogoplug.

Does anyone know of an openpogo application that can mount network shares?? I would be eternally grateful to anyone who can help me or offer any work around tips.

November 2, 2010 6:38 AM

I am trying to do exactly this,
the obvious way is to mount a samba share but, unfortunately something is lacking in openpogo to allow this, you can share the pogoplug fine but not mount an external drive.
If you do find any method please post it here.

March 16, 2011 7:09 PM

Enable ssh from my.pogoplug.com
ssh to your pogoplug (you need a usb flashdrive attached and shared.)

login as root with the password you set on my.pogoplug.com
mount / -o remount,rw
cd /tmp/.cemnt/mnt_sda1

mkdir networkshare

mount //192.168.1.100/share /tmp/.cemnt/mnt_sda1/networkshare -o usernam
e=root,password=pass,dmask=777,fmask=777

Assuming you have your Windows Home Server/samba server setup on //192.168.1.100
sharing a folder /share with user=root & password=pass
your pogoplug will share this folder

April 3, 2011 3:27 PM

hey guys, am trying to do the same, (use pogoplug as means of accessing WHS files)

Im fairly computer literate, but not too great with terminal commands, so Im a bit confused at

"username=root,password=pass,dmask=777,fmask=777" and "sharing a folder /share with user=root & password=pass
your pogoplug will share this folder"

would you m ind being a bit more specific as to what you mean or in that last sentence? i.e. spell it out in more newb friendly terms? would greatly appreciate it.

April 3, 2011 3:38 PM

actually i'm a bit confused as to that whole last command line the more I read it. I'm assuming some of the values you have listed here are variables (i.e. the IP address of the WHS). could you give me a clue as to which other parts of the line are variables that I need to plug in?

Thanks again

April 4, 2011 5:48 AM

Command with variables:
mount //WHS_IP/WHS_Share /tmp/.cemnt/mnt_sda1/POGO_mount_folder -o usernam
e=WHS_login,password=WHS_password,dmask=777,fmask=777

The variables are:

WHS_IP : ip address of the WHS eg 192.168.1.100
WHS_Share: Shared folder of the WHS eg PUBLIC

POGO_mount_folder: the name of the folder created in /tmp/.cemnt/mnt_sda1 step eg networkshare

WHS_login: WHS login eg Administrator
WHS_password: WHS password for the above account eg admin_password

So putting all the examples together:
mount //192.168.1.100/PUBLIC /tmp/.cemnt/mnt_sda1/networkshare -o usernam
e=Administrator,password=admin_password,dmask=777,fmask=777

You may (though I didn't) need to specify the type of mount by adding
-t cifs (or -t smbfs) before the -o command.
google "mount -t cifs" for help on the command.

April 4, 2011 9:01 AM

This should work, out of the box, as the kernels have the CIFS module available/built-in. However, does anyone know if these mounted directories get picked up by the indexer?

April 5, 2011 11:10 AM

Note: while this should indeed work (from what I've read) You'll need to manually kick the indexing in the but to get it to notice the "new" content.

April 5, 2011 12:56 PM

WOW I hope this works, I have been looking for this capability for awhile now.
Heck, if this works on the new pogoplug video and will let me watch my video stored on a pc, via the android pogoplug software I will buy one.

April 5, 2011 7:13 PM updated: April 5, 2011 7:17 PM

so I understand clearly, the folder I would like to access on my Pogoplug is the entire shared folder which is D:/shares. when pointing to this folder in the command line, do I have to designate a drive letter? or will "shares" suffice? Also being that i ran this command (incorrectly) a few days ago, the "networkshare" file was already created. is there a way to remove it or how would i go about executing this command line being that that file already exists.

UPDATE: have tried the command line with "mount //192.168.1.3/D:/shares/..." and without the "D:" neither works.
I get "mount: can't find //192.168.1.3/D:/shares/tmp/.cemnt/mnt_sda1/networkshare in /etc/fstab" returned upon entry.

April 5, 2011 7:17 PM

//pc.ipaddress/shares

April 5, 2011 7:18 PM

WarheadsSE said: //pc.ipaddress/shares
hey, thanks for the reply, but as you can see in my update that did not work. retracing steps but dont know what i could have gotten wrong. 

April 5, 2011 7:29 PM updated: April 5, 2011 7:51 PM

just realized i didnt have a space after "shares"so i re-entered "mount //192.168.1.3/shares /tmp/.cemnt/mnt_sda1/networkshare -o username=Administrator,password=Password1,dmask=777,fmask=777" and i now get the error "no such device or address" any ideas?

also just out of curiosity, how is it that I DON'T have to specify a drive letter in the parth, does the IP address somehow point to the D: drive automatically as opposed to the server itself? just trying to have a better understanding.

sidebar: my server is connected to my router while the pogo is connected to my airport which is running in bridge mode to provide more ethernet ports. dont think this would be a cause of the issue, but putting it out there just in case.

April 5, 2011 8:57 PM

1) make sure /tmp/.cemnt/mnt_sda1/networkshare exists, and this usb drive is indeed mounted there
2) attempt to ping that ip
3) mount -t cifs -o ... //192.168.1.3/shares ...
Verify that that is a valid UNC path by typing \\192.168.1.3\shares into your PC's explorer browser.

April 6, 2011 4:34 AM

hey. the flash drive is mounted and im seeing the networkshares folder i created on it as well. i know that the IP address is correct, but im not sure what a UNC path is. going to attempt to discern that now. thanks for the reply, much appreciated. will respond with outcome.

also in terminal i typed "ping 192.168.1.3" (the IP of the WHS) and it seems to be seeing it but it seems to keep doing it over and over. as of right now its returning its 102nd ping result. is this something it normally does until i tell it to stop?

April 6, 2011 5:12 AM updated: April 6, 2011 6:08 AM

so far all i can do is verify that the usb drive is properly mounted and I can create directories on it thru terminal. I've created a few on the drive just to test, so I know that things are okay on that end.

the problem is getting the shares folder to mount to the directory i've created. the WHS IP address is definitely correct and I am able to connect to it via my browser just by typing the IP address.. and "shares" is definitely the name of the folder that contains my shared files.

not sure what else i could be looking for. im running terminal on a mac and my home server is a straightforward stock WHS installation.

I dont see any possible syntax errors as I've followed everything here to the T.

do appreciate any help as this should be pretty straightforward and starting to drive me a bit mad! =/

oh Ive also tried both methods of mounting the shares (-t cfis and smbfs) the cfis method gave me the same error, while the smbfs method returned only "no such device" with no mention of an address issue. not sure if this is of any consequence. just trying to spell out as much as i can .

April 6, 2011 8:52 AM

Looks like the problem is with the WHS and/or the default D:\shares folder.

Share a different folder eg D:\MUSIC,

Make sure there are mp3s in it.

Make sure you can access the share on a PC/laptop first
by going to \\192.168.1.3\MUSIC

Only when you get that far are you ready to configure the pogoplug
as per my post above.

April 6, 2011 10:36 AM

FYI ping on unix based systems doesn't stop,
try ping -c 5 IP.address next time.


You could try some WHS troubleshooting?

Step 1: Clear the Hosts file

--------------------------------------

1. Click the Start Button, type "%SystemRoot%\system32\drivers\etc" (without quotation marks) and press Enter.

2. Right-click on the file "Hosts" (without quotations) and choose Delete.

3. Click Continue to confirm the deletion and verify the administrator permission.



Step 2: Clean up the Domain Name Resolution (DNS) cache

--------------------------------------

1. Click the Start Button, type "cmd" (without quotation marks), in the search result list, right click on Cmd.exe and select Run as administrator.

2. Click Continue button to verify the administrator permission.

3. In the popup window, type: "ipconfig /flushdns" (without quotation marks) and press Enter.

April 6, 2011 10:38 AM

DNS & hosts shouldnt be a problem it might be the accepted security mechanisms of WHS that are at fault. I can't speak to them myself immediately however, as I don't have a WHS installtion.

April 6, 2011 11:36 AM

DNS & hosts would explain why accessing by IP address works but UNC does not.

I don't have WHS either, my server runs Debian.

April 6, 2011 3:28 PM

mikka said: Looks like the problem is with the WHS and/or the default D:\shares folder. Share a different folder eg D:\MUSIC, Make sure there are mp3s in it. Make sure you can access the share on a PC/laptop first by going to \\192.168.1.3\MUSIC Only when you get that far are you ready to configure the pogoplug as per my post above.
will give this a shot shortly.. probably a stupid question, but is  are your slashes in "\\192.168.1.3\MUSIC" intentionally backwards?

April 6, 2011 3:29 PM updated: April 6, 2011 3:30 PM

In windows, they are \
In linux, they are /

It's just how it is :)

April 6, 2011 3:36 PM

I GOT IT!!!!! kinda..
and i think Ive figured out what the problem was. will report back shortly for anyone in the future who may encounter this problem.

*does the dance of joy*

thank you guys for your patience and help!

April 8, 2011 6:04 AM

WOW!!!

So it seems some smart people figured out how to make this work ... Okay, so here I am excited, but im falling short. i cant get it to mount.

-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock2 32768 15204 17564 46% /
none 128004 12 127992 0% /tmp
/tmp/.cemnt/sda1 1012060 29432 982628 3% /tmp/.cemnt/mnt_sda1
-bash-3.2#
-bash-3.2# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /tmp type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
/tmp/.cemnt/sda1 on /tmp/.cemnt/mnt_sda1 type ufsd (rw,nosuid,nodev,noexec,noatime,uid=0,gid=0,fmask=22,dmask=22,nocase,sparse,force)
-bash-3.2#
-bash-3.2# mount \\10.24.7.50\Photos /tmp/.cemnt/mnt_sda1/Photos -o username=admin,password=pass,dmask=777,fmask=777
mount: mounting \10.24.7.50Photos on /tmp/.cemnt/mnt_sda1/Photos failed: No such file or directory
-bash-3.2#
-bash-3.2#
-bash-3.2# ping 10.24.7.50
PING 10.24.7.50 (10.24.7.50): 56 data bytes
64 bytes from 10.24.7.50: seq=0 ttl=128 time=6.281 ms
64 bytes from 10.24.7.50: seq=1 ttl=128 time=0.084 ms

--- 10.24.7.50 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.084/3.182/6.281 ms

-bash-3.2#
-bash-3.2#
-bash-3.2#


network share works on windows

flash is formatted NTFS.

Plug is BIZ

Thoughts?

Discussion:    Add a Comment | Back to Top | Comments 1-25 of 82 | Latest Comment | 1 2 3 4 Next »

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window