maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs) (https://talk.maemo.org/showthread.php?t=38536)

GameboyRMH 2010-01-13 13:58

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by volt (Post 468322)
Sometimes a click at the "Thanks!" link is just not enough. Nathan, what you're doing here is adding considerably to the usage value of the N900. Nokia herself should thank you.

+1! Huge thanks nathan!

Nathan 2010-01-13 17:51

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by jukey (Post 468108)
Hi Nathan,

do you also planned to promote mount.cifs into extras devel to let me use CIFS without wizard-mounter too?

You don't need mount.cifs to actually mount them. (so I'm not sure it is actually worth the "pain" of trying to get a debian package to compile it stand alone.)

Code:

mount -tcifs //servername/serverpath/ /local/mount/point -ouser=user,pass=pass,ip=ip address of server
Is the command to make it work using the mount command. ;-)

The keys to making this work is the "-tcifs" and the ip=<server ip address>.

A developer could probably write a bash script that would work as a replacement mount.cifs faster than getting mount.cifs to compile properly on the builderbots.

Nathan

jukey 2010-01-13 18:11

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by Nathan (Post 468806)
The keys to making this work is the "-tcifs" and the ip=<server ip address>.

Thank you this worked fine! And I also was able to use the options uid and gid - this never was successful on my old n800 using mount.cifs. :)

My first test using a very fast and stable wifi connection are fine. But it seems that I can't use this for a direct play of music/video in the default player. Also using mplayer videos it plays not a fluid.

Do you have any hint how to tweak a cifs mounted volume (better caching or stuff like that?)?

Ciao Uwe

GameboyRMH 2010-01-13 18:55

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by Nathan (Post 468806)
A developer could probably write a bash script that would work as a replacement mount.cifs faster than getting mount.cifs to compile properly on the builderbots.

I was just thinking the same thing. I'll try and make one when I get home.

slaxium 2010-01-13 22:32

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
First, thanks for the nice work

One question, is it possible to search for the file shares from a host?
I know that it is possible the smbclient on the desktop, but how con i do
that with the n900.

chemist 2010-01-13 22:52

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Would be realy nice to see it in extras! Whats the deal with not using garage.maemo.org?

Some answeres in here are missleading.
Ext3 is mountable for Windows, I dont know about 7 yet but XP and vista are able to with an additional program also there is a howto for loopfs too export it. Related threads are:
http://talk.maemo.org/showthread.php?t=37869
http://talk.maemo.org/showthread.php?t=35122

The other thing is that crypting without crypted swap and ram is useless.
And swap is a partition or file so TrueCrypt should be able to handle this. The kernel should handle the RAM crypting itself.

For general cryptography for Maemo5 follow this link please:
http://talk.maemo.org/showthread.php?t=34563

qole 2010-01-13 23:09

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
As a side note, I just tested smbclient from Easy Debian on my N900 and it works as expected. The smbtree utility showed me all of my servers.

I would appreciate someone porting smbclient to the N900.

Nathan 2010-01-13 23:31

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by chemist (Post 469319)
Would be realy nice to see it in extras! Whats the deal with not using garage.maemo.org?

Use the Garage for what exactly? Truecrypt; well no real point since I'm not having to write anything. It is just a port.
Ntfs/Cifs kernel modules, same no real point.

I use the Garage for projects that are pretty much customized or built for Maemo, not for ports. For example Wizard Mounter has a Garage area.

As for getting them into Extras, it takes a bit of time. It took me a couple days just to figure out how to get cifs/ntfs/truecrypt to even compile and work. I have a ton of other things going on in my life right now, and so I released them in this thread so that others could use them; until I had some time to investigate how to debianize the kernel modules. I wasn't even sure I would be able to properly debianize the kernel modules (hence the start of this thread).

It has taken me a couple more days of time to figure out how to get them to be debianized and compile properly on the builders so that they would be in extras. So, yes everything will end up in Extras eventually. In fact right now, I've been trying to get both ntfs & cifs into extras-testing, but apparently the promoter mechanism is on the fritz. ;-(


Quote:

The other thing is that crypting without crypted swap and ram is useless. And swap is a partition or file so TrueCrypt should be able to handle this. The kernel should handle the RAM crypting itself.
I would totally disagree. Having an encrypted file system is very important even if you can't completely secure the machine yet (i.e. swap & ram). I keep important files in my TC container. I rarely need access to them, but in the event I do need access to them, I can get to them from either my Windows desktops, Linux server or now from my n900. TC is a "key" part of the solution. If I lose my n900, my important data is secure. ;-D

Nathan

Nathan 2010-01-13 23:35

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by qole (Post 469341)
As a side note, I just tested smbclient from Easy Debian on my N900 and it works as expected. The smbtree utility showed me all of my servers.

I would appreciate someone porting smbclient to the N900.

I still have a compiled version on my server (I believe) for the n900. I had to rebrick my dev env; so it is possible I lost it. But I did have it ported earlier in this "samba" experiment. Once I have some free time I can re-port it if I don't still have the directory on my server.

Nathan.

qole 2010-01-14 00:04

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by Nathan (Post 469364)
If I lose my n900, my important data is secure. ;-D

I would argue that the best way to ensure that is to never keep any "important" (ie "secret") data on your mobile device.

To this end, I would love to see a better way to establish and keep alive a link to an encrypted, remote filesystem over untrusted networks.

My current method, using sshfs, is slow and prone to hanging / freezing.


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8