maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Mount Windows PC drives (https://talk.maemo.org/showthread.php?t=2644)

pc4ever1 2006-07-31 20:20

Mount Windows PC drives
 
I'm trying to create a mount drive from my Windows PC to access photos via the Nokia 770

I have used the instructions from the "How To Access Windows CIFS" guide at
http://maemo.org/maemowiki/HowToAccessWindowsCIFS

I was able to do everything in this "how to" guide except actually getting the drive to mount.

For refernce here's the command I used:
mount -t cifs //192.168.1.112/Nokia770 myPC -o domain=MSHOME,user=gs,password=secretpassword

When I executed this command I got the following error:

Can't find //192.168.1.112/Nokia770 in /etc/fstab

I'm a NOOB using linux but from this error I suspect that I need to edit the /etc/fstab file.

I'm not sure what needs to be added to this file. Any clues, suggestions etc will be appreciated.
THX

Hedgecore 2006-07-31 20:23

I had the same issue. Make sure you're root when you try it. (I could swear I was when I did it but it worked later on)

'sudo gainroot'

Also, make sure you've run 'insmod cifs.ko' in the same shell instance you're trying to mount in.

(Lemmie know if that's not clear, since you got the cifs module installed I assume ya know a bit)

spycedtx 2006-07-31 20:24

Quote:

Originally Posted by pc4ever1
I'm trying to create a mount drive from my Windows PC to access photos via the Nokia 770

I have used the instructions from the "How To Access Windows CIFS" guide at
http://maemo.org/maemowiki/HowToAccessWindowsCIFS

I was able to do everything in this "how to" guide except actually getting the drive to mount.

For refernce here's the command I used:
mount -t cifs //192.168.1.112/Nokia770 myPC -o domain=MSHOME,user=gs,password=secretpassword

When I executed this command I got the following error:

Can't find //192.168.1.112/Nokia770 in /etc/fstab

I'm a NOOB using linux but from this error I suspect that I need to edit the /etc/fstab file.

I'm not sure what needs to be added to this file. Any clues, suggestions etc will be appreciated.
THX


the //w.x.y.z/Nokia770 is the IP and shared folder name on the Windows box, not the 770. "myPC" is the name of the mount location on the 770 where you want the connection to be made. and, you should already have a folder of that name (ie, mkdir myPC)

fpp 2006-07-31 20:36

I am the author of that Howto. It reflects my personal experience and can certainly be improved if something is missing or unclear ; however, I can confirm that it works for me and I have never touched the fstab file :-)

wiredless 2006-08-01 01:00

Anyone have odd issues like system font changing size after mounting a share using the said cifs method?

Hedgecore 2006-08-01 01:14

System font in what, the shell or the GUI? (In either case, no.)

pc4ever1 2006-08-01 03:24

Thanks for all the input, I was able to successfully mount Windows PC folders :) !!!

However, I have not been able to mount a Drive at the Top level such as the shared drive "E:" with the Sharing and Security label of "Files (E)"

I tried mount....//192.168.1.112/E.........
mount....//192.168.1.112/Files E..........
mount....//192.168.1.112/Files (E)..........
None of these worked

Is there a special way to handle the top level of a drive or does the cifs.ko work only on shared folders?

As always TIA

fpp 2006-08-01 05:56

Try E$ as the share name.

pc4ever1 2006-08-01 15:56

One last question, is there a batch file, script or file that I can edit to enable these shared drives during startup and maintain them at all times?

fpp 2006-08-01 16:11

You mean on the WIndows side ? They should be persistent between reboots until you disable them yourself...


All times are GMT. The time now is 22:59.

vBulletin® Version 3.8.8