maemo.org - Talk

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

Aydan 2010-03-16 21:11

Samba server for n900?
 
Hi guys and girls,

is there a samba server for the n900 available?
Sorry if this has been asked before, but the search didn't give me any useful results.
SCP is all good and well but I'd like to have direct file access so I can edit stuff directly on device.

Greets
Aydan

clasificado 2010-03-17 04:22

Re: Samba server for n900
 
i dont know why, but there isnt smbd available yet.

But you can use the ftpd, with good results

adancau 2010-03-17 06:41

Re: Samba server for n900
 
@Aydan: You can edit stuff directly on the device, use Putty on your machine and install mc on the N900 (apt-get install mc), then log in to the N900 with Putty from your machine, and use mcedit to edit your files. Or any other text based editor for the N900.

craftyguy 2010-03-17 06:54

Re: Samba server for n900
 
Let's not forget scp (you can use Winscp in Windows)! :)

konttori 2010-03-17 07:06

Re: Samba server for n900
 
There is ftp server which should be pretty much as good as smb server for any file transfering purposes on windows. For osx it of course won't work as easily, as osx is teh sux0r in that regard ;)

Aydan 2010-03-17 07:14

Re: Samba server for n900
 
Well, i'm using WinSCP already, but what I'd like to do for example is use Notepad++, which i can't do with ssh.
And there's always the the case of you being at somebody elses' place and wanting to quickly tranfer files ofer wifi. Now I always have to download WinSCP to do that. smbd would definitely make things easier in the windows environment.

gobuki 2010-03-17 08:03

Re: Samba server for n900
 
Quote:

Originally Posted by Aydan (Post 570028)
Well, i'm using WinSCP already, but what I'd like to do for example is use Notepad++, which i can't do with ssh.
And there's always the the case of you being at somebody elses' place and wanting to quickly tranfer files ofer wifi. Now I always have to download WinSCP to do that. smbd would definitely make things easier in the windows environment.

You can do that if you use a ftp client for ftps like filezilla and connect to your n900 over 'ssh' with it. you only have to set it up, so that it opens the filetype you want to edit in your favourite editor. Then you can doubleclick on it to edit. When you close the file in your editor it gets loaded back up.

Edit: Well, i guess i should read more carefully. I think filezilla is still the better choice than winscp because it's more flexible. I know it's not the solution but maybe it helps.

Aydan 2010-04-02 20:14

Re: Samba server for n900
 
Seems there is no interest in this :(
And I can't port smbd myself either since I haven't even managed to set up the SDK properly :o

Aydan 2010-06-30 12:27

Re: Samba server for n900
 
Still no interest in this?

KOJAN 2010-06-30 12:47

Re: Samba server for n900
 
http://maemo.org/packages/view/samba/

babyshamie 2010-06-30 13:03

Re: Samba server for n900
 
how long should i wait for the Meeeego=n90ö?, i can't wait more.

mikec 2010-06-30 13:21

Re: Samba server for n900
 
or use sshfs and dokan

http://dokan-dev.net/en/download/

Aydan 2010-06-30 16:37

Re: Samba server for n900
 
@mikec: the reason to use samba is to be able to share files with any windows machine without installing anything.

Just like I said here already

Aydan 2010-06-30 16:59

Re: Samba server for n900
 
The samba package looks promising, but is missing a dependency so I can't safely install it. Also I really don't want to install something like this from devel. Not yet anyway.
Suppose I'll have to wait a little more.

jormartr 2010-07-01 00:23

Re: Samba server for n900
 
You can use samba through chroot, and bind mounts. I use it that way.

Bingley Joe 2010-07-01 05:19

Re: Samba server for n900
 
Quote:

Originally Posted by Aydan (Post 735666)
@mikec: the reason to use samba is to be able to share files with any windows machine without installing anything.

Just like I said here already

A slightly different approach would be to use Wizard Mounter to mount shared PC resources on the N900 and move the files that way..

I know it doesn't solve your editing issue, but it's something..

lkravovicz 2010-09-28 08:24

Re: Samba server for n900
 
tinysmb might be a solution, installing it now.

rotoflex 2010-09-28 11:29

Re: Samba server for n900
 
tinysmb has worked nicely for me, it is useful for working around some of the problems of not getting Wizard Mounter functional at all.

For security, create a new share directory (MyShare or something) at the *same* level as MyDocs, because the default MyDocs share makes far too much available to machines logging on.

I have not been able to get the password function operating, either via user interface or by editing the config file. So it's necessary to tighten directory access, & start the server only when needed for file transfers, then stop it.

guyr 2010-09-28 13:27

Re: Samba server for n900
 
Install samba and samba-common-bin in chroot debian, something like this
in a terminal as user (i use only lenny and backport-lenny)
$ debbie
$ sudo aptitude install samba-common-bin samba
$ sudo smbpasswd user
and give your w$ password ...
That's it !
Now, you can mount //n900IP/user from your PC (as user)
Each time you want to launch samba again (after shutdown the n900):
$ debbie sudo /etc/init.d/samba start


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

vBulletin® Version 3.8.8