Re: [ubuntu-uk] Mounting NAS

2010-12-21 Thread Graham Smith
Alan > This will attempt to mount the directory "/Public" that is at > 192.168.1.10 onto a local director of "/home/name/Server1 using the CIFS > protocol type and with the username and password specified. > > My first observation is that CIFS is an implementation of the Windows > broadcast protoc

Re: [ubuntu-uk] Mounting NAS

2010-12-21 Thread Graham Smith
Simon No, mount doesn't create a mount point, you have to do that. /media is now the standard though. >> >> > /media is in the root file system by default and makes the disc available > to everyone, so the fstab entry should be > //192.168.1.10/Public /media/public cifs > username=username,passwor

Re: [ubuntu-uk] Mounting NAS

2010-12-21 Thread Alan Lord (News)
On 21/12/10 10:41, Graham Smith wrote: > My notes from 2008! say to mount my NAS by runnng this command > > sudo mount -t cifs //192.168.1.10/Public /media/public -o > user=QNAP/username%password > > > BUT I am getting an error that media/public does not exist. > > I assumed that this would creat

Re: [ubuntu-uk] Mounting NAS

2010-12-21 Thread Simon Greenwood
On 21 December 2010 10:41, Graham Smith wrote: > My notes from 2008! say to mount my NAS by runnng this command > > sudo mount -t cifs //192.168.1.10/Public > /media/public > -o user=QNAP/username%password > > > BUT I am getting an error that media/public does not e

[ubuntu-uk] Mounting NAS

2010-12-21 Thread Graham Smith
My notes from 2008! say to mount my NAS by runnng this command sudo mount -t cifs //192.168.1.10/Public /media/public -o user=QNAP/username%password BUT I am getting an error that media/public does not exist. I assumed that this would create media/public, do I need

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-22 Thread Jon Reynolds
OK, In answer to my original question, I successfully am now using curlftpfs to mount the NAS. I added my user to group 'fuse' and also added the option 'allow_other' to my curlftpfs command and it now works! Thanks for all the input, would still be interested to see if I can mount it using SMB

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-22 Thread Jon Reynolds
If I try the command as you suggest I get this: j...@jonr-laptop:~$ sudo mount -t cifs //192.168.0.3/PUBLIC /home/jonr/fnd/ -o username=PUBLIC,password='' mount: block device //192.168.0.3/PUBLIC is write-protected, mounting read-only mount: cannot mount block device //192.168.0.3/PUBLIC read-only

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-22 Thread Jon Reynolds
OK, I am on Xubuntu so no 'Connect to Places', but I do remember I could do this with the FTP option. (hence my original question of trying to mount it with curlftpfs) I do not have /proc/fs/cifs/ so cannot perform the echo 0 > ... command (which I have tried before with success on Ubuntu) Bec

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-21 Thread azmodie
On 20 February 2010 11:18, Simon Greenwood wrote: > > > On 20 February 2010 00:50, Jon Reynolds wrote: > >> Thanks for the link, but I think I can't solve my problem like that as >> this is a NAS drive, not another machine's share. >> >> So am still a bit dumbfounded. >> >> > In my experience som

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-20 Thread Simon Greenwood
On 20 February 2010 00:50, Jon Reynolds wrote: > Thanks for the link, but I think I can't solve my problem like that as > this is a NAS drive, not another machine's share. > > So am still a bit dumbfounded. > > In my experience some of these network drives don't use TCP/IP but a hacked version of

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-20 Thread Markie
I have a crunchbang machine here and i use this script to mount my Freecom NAS drive; #!/bin/bash # Script to mount network drive echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled mount -t cifs //192.168.0.2/Shared ~/HomeShare -o username=curtis So I would say that this is something to do with lack o

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-20 Thread Dan Fish
Jon, Any luck with mounting the NAS from the desktop from 'Places -> connect to server' then choosing 'FTP (with login)'? Regards Dan On Sat, 2010-02-20 at 00:50 +, Jon Reynolds wrote: > Thanks for the link, but I think I can't solve my problem like that as > this is a NAS drive, not another

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Jon Reynolds
Thanks for the link, but I think I can't solve my problem like that as this is a NAS drive, not another machine's share. So am still a bit dumbfounded. Thanks again Jon On Fri, Feb 19, 2010 at 04:00:00PM +, Alan Pope wrote: > Hi, > > Googling for the error... > > On 19 February 2010 15:4

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Alan Pope
Hi, Googling for the error... On 19 February 2010 15:45, Jon Reynolds wrote: >    j...@jonr-laptop:~$ sudo mount -t cifs //192.168.0.3/PUBLIC /media/fnd/ >    -o username=jonr >    mount: Cannot allocate memory > http://linux.derkeiler.com/Newsgroups/comp.os.linux.networking/2006-10/msg00629.ht

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Jon Reynolds
As a follow up, I tried the echo 0 > /proc... and got a different error: mount: Host is down I get a different error everytime. On Fri, Feb 19, 2010 at 03:45:44PM +, Jon Reynolds wrote: > Hi guys, > > Thanks for the replies. I have tried quite a lot before to mount with > cifs to no avail,

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Jon Reynolds
Hi guys, Thanks for the replies. I have tried quite a lot before to mount with cifs to no avail, but I will try again, perhaps to show you where things go wrong... j...@jonr-laptop:~$ sudo mount -t cifs //192.168.0.3/PUBLIC /media/fnd/ -o username=jonr mount: Cannot allocate memory S

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Markie
As Dan says its possible with cifs. have a look at my post here when I was using Xubuntu, it might help http://ubuntuforums.org/showthread.php?t=915939 Mark On 19 February 2010 14:04, Dan Fish wrote: > Jon, > The drive is probably using Windows Networking ie samba/cifs compliant. > Have you tr

Re: [ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Dan Fish
Jon, The drive is probably using Windows Networking ie samba/cifs compliant. Have you tried mounting it with cifs ie - "sudo mount -t cifs //192.168.0.3/ /media/fnd/ -o username=username,password=password,file_mode=0777,dir_mode=0777" It might be easier than using curlftpfs Regards Dan Fish On

[ubuntu-uk] Mounting NAS using curlftpfs

2010-02-19 Thread Jon Reynolds
Hi, I have a (dodgey) Freecom Network Drive which seems to mount fine in XP using 'Map network drive' just entering the IP-addy/SHARE. Just cannot get this to mount in Ubuntu (well Xubuntu) so have been trying to mount it using curlftpfs, as I can access it via ftp no problem. When I run: s