![]() |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Yes this is now working, but default file manager is useless... I'd suggest using GPE file manager.
Thanks all |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Truecrypt is now in Extras-Testing!
Nathan |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
any tips on mounting a truecrypt folder and allowing user access to it.
If I try to run "truecrypt /media/mmc1/data.crypt /media.tc" as user it askes me for the administrator password but wont accept it for some reason. If I change to root and run the same command I can mount my truecrypt file and see it's contents as user root but it is not available for normal users. Cant chmod the directory /media/tc either |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
Yeah, their is two methods that should work. 1. Create the /media/tc folder as owned as user, and then mount your tc folder as a sub-folder of /media/tc 2. Edit your sudoers, and add the truecrypt binary object as one that requires no password. (I probably should do this by default!) Nathan |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Ok - So I've discovered that there is no need to re-invent the wheel.
To get a simple file browser and CIFS SAMBA i.e. windows shares, I would suggest in this order 1. Install Easy Debian 2. Run Debian LXDE ('more' menu) 3. Run 'Terminal Emulator' 4. type 'apt-get update' 5. type 'apt-get install rootsh' 6. type 'apt-get install smbclient' 7. type 'apt-get install konqueror' now you have access to konqueror (familiar app with tabbed browsing for local files and any smb://servername share All very easy and confirmed working. Very happy! |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
oweng: just some small changes:
1. Install Easy Debian 2. Run Debian chroot (red swirl in 'more' menu) 3. type 'apt-get update' 4. type 'apt-get install smbclient' 5. type 'apt-get install konqueror' 6. Run Debian LXDE now you have access to konqueror... |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
For the record point one does not work - no matter who the owner of /media/tc is once truecrypt mounts it, the owner seems to become whomever called truecrypt. Point 2 however does work and a simple sudo trucrypt worked. On a side note I cant seem to pass the password as a command line option - it claims that the password was wrong and reprompts me for it. When I type it in then it works fine. Any idead on this? I am using the option --password=MYPASS |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
Code:
~ $ truecrypt newtc /mnt/tc/ -m nokernelcrypto --non-interactive --password=test |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
1 Attachment(s)
Quote:
Code:
Nokia-N900-51-1:/media# mkdir tc |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Sweet thanks - somehow I missed that non-interactive part in the man pages of truecrypt
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I also build a cifs module before finding this thread and posted it here:
http://talk.maemo.org/showthread.php...541#post486541 It's build for the latest pr1.1 firmware, not sure if the ones in this thread are as well. Also I did not experience the need of having an own mount command, I was able to use the mount shipped with n900 to mount cifs shares by providing the -t cifs option. Also - if I understand it right then there is no package yet for the kernel module, or did i miss that message? If there is none yet, I'd try to create a package when I have time. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
thanks for the revision - I hope it points people to a useful work-around.
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
The versions (cifs, ntfs, nls_utf8) which are in extras-testing works on both Pr 1.0 and 1.1.
Nathan. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Oh, and with truecrypt; the one now packaged in extras-testing does not need the -m nokernelcrypto command line anymore. I set that as a "default". No point in making people type something that can be set to default. ( This is the ONLY change I did to the truecrypt source code, and for those who want to verify; pull the source from the repository and do a simple compare from the official 6.3a release on truecrypt.org. ;-D )
Nathan. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
so, is there any chance of a gui app for mounting shares?
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Yes, I'm actually testing Wizard Mounter right now. It works pretty darn well. Their is one issue that I am looking into; and then I believe the author of it will release it.
Nathan P.s. I know it is hard to be patience when you have to mount using the command line. It is coming! |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Hi
I have a small speed problem considering mounting over wlan. I mount the directory like so: sudo gainroot mount -t cifs -ouser=user,pass=pass //192.168.1.1/share /media/server/ The directory shows up in the filebrowser under server as it should but the browsing of the actual drive is very slow and opening a new directory can take 15-30sec after it is scrollable. I've tried watching videos works and for about 20sec it's smooth and then fps drops to about 1fps and sound disappears. I haven't tried listening any audio over wlan yet. Does anyone else have these kinds of problems and what could I do to fix this? |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I have the same 'small' problem too.
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
2. Edit your sudoers, and add the truecrypt binary object as one that requires no password
Dir how do you accomplish the above Pls post the steps |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Thanks Nathan
Quote:
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Hi,
I am experiencing the same problems as described by pulzar. I tried the same with ubuntu on my laptop. there the videos are smooth, so i am sure, that my wlan is not the problem. i tried playing the movies with mplyaer from the command line, its choppy too. However the -nosound option makes the video smoother, but of course this is not a sollution. So we have people here, who are not experiencing this kind of problems? Any hints appreciated. ste |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I did a test copying 50mb over wlan from the mounted drive. it took 5:21 min. it's about 5 times slower then on my laptop. What can I do?
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
I experience the following: if I copy a file of 13107200 bytes = 100 Mb (mega bit) from my server to the N900 over WLAN with scp, it needs about 12s (repeatedly). If I do the same using the cifs mount, it needs 31s the first time, 2.6s the second time and about 0.5s subsequent times. The latter times most likely are due to caching, as demonstrated by the following: If I touch the file on the server before copying via cifs I get the following results: 31s, 23s, 51s, 37s, 28s. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)I
It was 50 megabyte. what mount command did you use?did you install the packages directly from the repository? i mounted with
mount -t cifs -o username= //192.168.1.2/files /media/mnt The comparison with scp is interesting. ste |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)I
Package:
kernel-module-cifs, 1.55.0-maemo1 mount command: /bin/mount -t cifs -o user=$username,pass=$password,uid=$mapped_uid,gid= $mapped_gid "$remote_share" "$mount_point" It seems there is quite a large spread in time it takes to copy files in the way I demonstrated using cifs. Although I am very happy with this facility and the work done, I find the performance quite poor. Sometimes (most of the time not) browsing a samba share takes over 10s to build and finish one folder view. Photos take very long to browse through and videos aren't playing smooth. I've looked in the samba server's log and couldn't find anything suspicious. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Nathan: is TC package already updated so it automatically edits sudoers?
If not, are you planning on doing it sometime? EDIT: Please post more speed tests using Samba/CIFS... |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
Nathan |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
hello, i read the whole of this thread and i tried multiple ways to mount a windows xp share but I always get this message
/home/user # mount -t cifs //silent/l /media/share/ mount: mounting //silent/l on /media/share/ failed: Invalid argument I have already installed all modules (cifs, ntfs, utf8) from the application manager. "Share" exists in media folder. Can you suggest something? ________ GandalfXXX live |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Quote:
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I have already tried that. The response is the same and always instant (doesn't even seem to try to lookup) Thanx anyway though.
Any other ideas? ________ Infant Nexium |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
qwazix you need to enter a username. I remember reading that the cifs module always requires a username to be entered. That's why you get the invalid argument.
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
As a Linux noob it took me ages, but I managed to mount a network drive. It is a share on my WinXP machine.
I do have the same speed issue, it is not quite fast enough to stream 1000kbit videos. But I also tried Konqueror via Easy Debian (thanks Qole!), and it was not much faster. Same story with Orb, so it may be an issue of the N900. Weird, because downloads via Wifi easily go up to 600KB. This is what I did in the end: - installed rootsh - installed kernel-cifs and ntfs from -extras. That was easy enough - tried the commands from the first post. Didn't manage, probably because I don't understand the system well enough. - copied the cifsmount script of GameboyRMH from the browser in WinXP, saved it to a text file, onto the N900, and used Midnight commander to copy it o my N900 user/home path. (in the process, renaming it to cifsmount.sh, and using the editor of MC to remove the ^M characters...) - ran Xterminal, and input: sudo gainroot chmod u+x cifsmount.sh /home/user/cifsmount.sh servername 192.168.0.103 Video user password As you see I only managed to get it working by adding the '.sh' in the commands, and by adding /home/user/ in front of the cifsmount.sh command. Apart from the speed issue it works very well, the share shows up in file manager and kmplayer. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I can't find which line exactly is needed to be put in sudoers... Does anybody know?
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
did anybody notice fast battery drainage when (strangely) NOT connected to the home wifi? Mine was on 3G instead and the battery lasted less than 8 hours with no use at all...
now i uninstalled the kernel modules to see what will happen. I don't remember to have installed anything else lately except an update to bluetooth dun and simplenotewidget. ________ Vaporizer Review |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
3G connections drain the battery fast.
|
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
I know but it have the device over a month now and it never drained the battery so fast. I did not notice any improvement after I uninstalled the modules. Maybe something stayed in the device, or maybe where I work the last few days there is a lot of switching between 3g - 3.5g and this drains the battery. I will post more results when I have
________ Novana Residence Condo Pattaya |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Hey for those who would like a speed increase on cifs shares; I think I found the "magic" bullet. I have no ran very long with it; but copying from my server the speed was doubled. ;-)
Anyone interested....... Lalalalala, I can't hear you. :) Ok, I guess I'll stop teasing you all. On your mount command add: ",direct" to your -o command. So: -o username=x,password=y,ip=z,direct Thats it, that simple. I ran several tests over the last couple days including changing the rsize (which does speed it up about 10-20%) but direct was double the speed. Please note "direct" will disable all buffering; so if you are using lots of editing lots of tiny files, buffering might be better for you. If you are streaming stuff from your server, then you really don't need to "buffer" it via the cifs driver and "direct" is considerably faster.. Nathan. P.S. I also compiled the smbfs.ko file to try and use (to see if their was any speed difference) -- I could NOT get it to work at all; I got error upon error that now after a couple days of put-zing with it I'm declaring it DOA. If anyone really wants the smbfs.ko file, I can give it to you, but I couldn't use the mount command to mount anything with it. smbmount basically redirects to mount.cifs which of course is cifs, not smbfs and mount -t smbfs just throws errors. |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
Hi Guys
Last night I created a folder called NAS under media and mounted it via: mount -tcifs //xxx.xxx.xxx.xxx/media/Music/Music /media/NAS -ouser=xxxx,pass=xxxxxx,ip=xxxxxx Worked and I was able to rsync over some music. The N900 froze half way though. Restarted it and now when I run it I get no such media or device but I can ping it from the N900 I have checked on /media and there is a NAS folder. Removed it, re-added it, reun the command, same issue. What have I done wrong? Also - do I need to alter the line so I can get it added to fstab? Thanks Scott |
Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
@Nathan: I've tried the ",direct" option in an attempt to increase the speed of the cifs mount, but for me it turns out there is no noticeable difference with or without that option.
The average time it takes to copy 100Mbit from my server is nearly 30sec. - compared with the 12 sec. it takes to scp it. Browsing through a folder with images or viewing a video is hardly possible. I'm curious to know experiences of others. |
| All times are GMT. The time now is 11:43. |
vBulletin® Version 3.8.8