maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Samba? (https://talk.maemo.org/showthread.php?t=2487)

Hedgecore 2006-07-18 19:09

iTom: I'm 99% I'd run gainroot, because I was still in the same shell that I had installed the kernel module from. I'll give it another shot tonight, I was rushed when I tried it before.

fpp 2006-07-18 21:57

Quote:

Originally Posted by fanoush
Use insmod with full module path, not modprobe.

Fanoush, thanks for this fantastic tip !
Easy and really fast too...
Now I never need to connect the USB plug or extract the MMC again :-)

NokNok770 2006-07-19 13:35

Could some experienced person make a little how-to on this subject matter. I've been following this thread and wanting to try it myself. But not exactly confident to try it out yet. Thanks in advance for anyone who wants to share some knowlege.

fpp 2006-07-19 13:38

What is the part or notion you're not comfortable with exactly ?

NokNok770 2006-07-19 14:45

Well, I don't want to install samba and samba client...it's way huge. I want to go the route of fanoush. I'm reading ITom's post #14, it has all that modprobe, debmode, insmod commands in there that I'm not too familiar with. I guess if he re-post again how he got it to work, I would try it. I'v already download the cif.ko. I was hoping for an easy route...but I guess I can go read about all those commands and what it does. I haven't added any modules to the kernel before.

fpp 2006-07-19 16:03

I am preparing a (very) beginner-oriented tutorial for this, covering both the Windows and the Nokia basics. If your only problem is the command line stuff in the shell, in the meantime you can try (as root) :

mkdir /netshare
insmod /full/path/to/cifs.ko
mount -t cifs //your.pcs.ip.address/yourshare /netshare -o domain:yourworkgroupname,user:yourusername,passwor d:yourpwd

then look into the /netshare directory...

(all the your-something stuff is from the Windows side)

ITom 2006-07-19 16:11

NokNok770

1. (Starting CIFS module)

Code:

sudo gainroot
cd /lib
mkdir modules
cp /media/mmc1/cifs.ko /lib/modules # cifs.ko extracted on desktop and copied to root of mmc card
insmod /lib/modules/cifs.ko

2. (attacing Windows Shared Folder to root-FS of Nokia)

Code:

cd /media/mmc1/
mkdir MyNetFolder
mount -t cifs //000.000.000.000/shared-folder-name /media/mmc1/MyNetFolder/ -o codepage=cp1251,iocharset=utf8,username=administrator,password=adminpassword

where 000.000.000.000 - IP address of Windows-PC
administrator - username in Windows
adminpassword - password of username
codepage - your Windows default codepage (Russian in my example)

ITom 2006-07-19 16:13

1 Attachment(s)
P.S. NO SPASE IN STRING after ' -o ' (i don't now why it added in post)
All command should be done in rootmode.

NokNok770 2006-07-19 19:21

Thanks a lot...I'm going to try it when I get home :)

fpp 2006-07-19 20:15

Okay, I have published my (maybe overly) detailed Howto on the Maemo Wiki :

http://maemo.org/maemowiki/HowToAccessWindowsCIFS

TIA to those interested for reviewing it and amending it where necessary...


All times are GMT. The time now is 13:27.

vBulletin® Version 3.8.8