View Single Post
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1523
Originally Posted by kaos_king View Post
I dont mind gui but I had already tried it, got permissions denied but couldn't figure why.


Seems we need kernel-module-cifs. With this installed I ran the following command and it successfully mounted the drive

Code:
mount -t cifs //192.168.2.2/f$/ /home/user/MyDocs/KaosExt -o user=remote,pass=****
N.B. - I used IP not netbios name, and I dropped off ",ip=192.168.2.2,direct" from the end of the command that I was previously running. Happy now, now just need to search how to write a script that will auto sync.

Strange, 'kernel-module-cifs' is related to default kernel (not kernel-power related) ...

On my side it work same (auto-loading) 'cifs' module compiled with kp v48.

-bash-2.05b# dpkg -l kernel-module-cifs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
pn kernel-module-cifs <none> (no description available)
-bash-2.05b# lsmod | grep cifs
-bash-2.05b# mount -t cifs //192.168.1.2/Vrac /home/user/MyDocs/cifs-mount-testing -o user=myuser,pass=mypass
-bash-2.05b# lsmod | grep cifs
cifs 226904 1
-bash-2.05b# ll /lib/modules/$(uname -r) | grep cifs
-rw-r--r-- 1 root root 268.0k Sep 4 13:08 cifs.ko
-bash-2.05b# uname -a
Linux Nokia-N900 2.6.28.10-power48 #1 PREEMPT Sun Sep 4 12:58:34 CEST 2011 armv7l unknown
-bash-2.05b# mount | grep 192
//192.168.1.2/Vrac on /home/user/MyDocs/cifs-mount-testing type cifs (user=myuser,pass=mypass)
-bash-2.05b#

A++
 

The Following 2 Users Say Thank You to colin.stephane For This Useful Post: