![]() |
2007-07-31
, 22:40
|
Posts: 220 |
Thanked: 19 times |
Joined on Jun 2006
|
#12
|
![]() |
2007-07-31
, 22:41
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#13
|
I should note storing your password in plain text is pretty ******ed. There really isn't a solution to storing the password in a encrypted format, I believe that CIFS uses a plaintext auth.
username=value password=value
![]() |
2007-08-01
, 02:42
|
Posts: 162 |
Thanked: 3 times |
Joined on Jul 2007
|
#14
|
So much for others advices.
With below, regular XP's / servers Workgroup with shares is visible to N770:
My environment:
* N770 OS2006 3.2006-49-2
* Workgroup with several XP's and Windows Server 2003 with NO extra installs like NFS or anything. just shares done.
* DropBear SSH installed on Device and Wi-Fi connection LAN ofcource.
1. Extract with PC the http://handhelds.org/~fanoush/maemo/...6.39-14.tar.gz out comes cifs.ko
2. copy this via USB Cable or via MMC reader to you MMC and open File Manager.
3. Copy cifs.ko to your Devices Decuments
4. open SSH connection to N770
- mdkir /etc/modules
- cp /home/user/MyDocs/.documents/cifs.ko /etc/modules/
- cd /etc/modules/
- insmod cifs.ko, system hails "Using cifs.ko".
- cd /home/user/MyDocs/.documents/
- mkdir MyServer
- cd MyServer
- mount -t cifs //192.168.0.x/sharename ./ -o username=user -o password=pass
LEAVE - ON THE FRONT AWAY!
Close SSH's and File Manager etc.. Open File Manager and NOW you have under Documents/MyServer in which your files is visible. I do not have Windows FireWall, and My FW did not hail for any alter incoms (Server High settings).
Hope this helps.
#!/bin/bash cd /etc/modules/ insmod cifs.ko mount -t cifs //ipaddress/sharname /home/user/MyDocs/.documents/MyServer -o username=user -o password=pass
username=user password=pass
mount -t cifs //ipaddress/sharname /home/user/MyDocs/.documents/MyServer credentials=/path/to/credentials.file
![]() |
2007-08-29
, 15:35
|
Posts: 5 |
Thanked: 0 times |
Joined on Aug 2007
|
#15
|
![]() |
2007-08-29
, 18:57
|
Posts: 17 |
Thanked: 0 times |
Joined on Aug 2007
|
#16
|
![]() |
2007-08-29
, 21:27
|
Posts: 16 |
Thanked: 2 times |
Joined on Aug 2007
|
#17
|
![]() |
2008-02-14
, 20:36
|
Posts: 226 |
Thanked: 47 times |
Joined on Jan 2008
@ Poland / Bialystok
|
#18
|
![]() |
2008-02-14
, 21:04
|
|
Posts: 1,076 |
Thanked: 176 times |
Joined on Mar 2007
|
#19
|
![]() |
2008-02-15
, 06:02
|
Posts: 226 |
Thanked: 47 times |
Joined on Jan 2008
@ Poland / Bialystok
|
#20
|
You'd think that by now a simple installable gui means of mounting SMB shares (AFP Shares would be nice too) would be available. I mean I can use a terminal but sheesh can we think like consumers for a minute? Who do you expect to fire up the terminal, save password files and chmod files for root and fstab sh*t just to access files on their desktops or laptops? C'mon folks. I know we have a bunch of Apple haters in here but think different(ly).
Add a line in your /etc/fstab file that looks like this, replacing my info with your own (BACKUP /etc/fstab FIRST):
As for auto-insmoding, I'm not sure of the "proper" way to do it. You could add a line to /etc/init.d/minircS, a line above "exit 0" add something like "insmod /path/to/ko/cifs.ko". If anyone knows the proper way to do it please share.
If you do both things I describe above you just need to run the command "mount /home/user/MyDocs/.documents/MountPoint/" to mount it, and a similar command to umount. The statusbar graph plugin would be pretty neat if you added those commands to it