maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Transferring files between N900 using wifi (https://talk.maemo.org/showthread.php?t=71514)

niloy 2011-03-26 17:52

Transferring files between N900 using wifi
 
What is the easiest way to transfer files between two N900 using wifi. scp is possible but not user friendly and either one of us has to share our root password which is not acceptable.

leetnoob 2011-03-26 18:04

Re: Transferring files between N900 using wifi
 
you can use bluetooth and send files using the built in file manager's 'share' option.

if you really need to use wifi, you can check out this thread

http://talk.maemo.org/showthread.php?t=69912

it allows one n900 to act as a wifi hotspot and share a folder via samba. the other n900 would need to be able to mount samba shares though. there is an app called wizard mounter but i'm not sure it actually works. personally i use easy debian to mount samba shares but this is overkill

Temporal 2011-03-26 18:14

Re: Transferring files between N900 using wifi
 
Maybe use n900ftp and openftp server, but first you would have to try to connect the n900 to each other, and the only help I could find was this thread: http://talk.maemo.org/showthread.php?t=51817

Unless you pretend to do it in your home with a WiFi router and both connected to that HotSpot, that's another history...

9000 2011-03-26 18:34

Re: Transferring files between N900 using wifi
 
Quote:

Originally Posted by niloy (Post 976156)
What is the easiest way to transfer files between two N900 using wifi. scp is possible but not user friendly and either one of us has to share our root password which is not acceptable.

It seems to be an overkill for what you want to do...anyway let's try this: http://talk.maemo.org/showpost.php?p...1&postcount=19

AapoRantalainen 2011-03-26 18:36

Re: Transferring files between N900 using wifi
 
Quote:

Originally Posted by niloy (Post 976156)
What is the easiest way to transfer files between two N900 using wifi.

Is there access point / Internet connection available?

Quote:

Originally Posted by niloy (Post 976156)
scp is possible but not user friendly and either one of us has to share our root password which is not acceptable.

I think scp is user friendly, but it is only for command line.
No need to share root password, any user-password pair works. If user doesn't have password you can create it:
Code:

sudo gainroot
passwd user

With scp you can pull and push, so only one phone needs ssh-server and shared password.

niloy 2011-03-26 19:43

Re: Transferring files between N900 using wifi
 
I insist on wifi over bluetooth because wifi is way faster. Bluetooth sucks for large files.

Wifi connection is not the issue, we know how to setup adhoc network which is easy with hotspot app.

The "easy" transferring of files is the issue. Too bad there is no gui client for file transfer using ssh. Neither there is any port of "ip messenger" type app.

Anyways, thanks for the suggestion guys.

jabawok 2011-03-27 15:39

Re: Transferring files between N900 using wifi
 
pretty sure grsync is available in a repo somewhere, maybe try that, combined with preshared ssh keypairs or using user account (never log into phones as root.. thats asking for trouble)

tirtawn 2011-03-28 08:29

Re: Transferring files between N900 using wifi
 
How about using "Email" to send the file ? that should be pretty easy :).

Or you could use

jetbytes.com and send the link via email and the other party just need to download. (You can send Big file with this)

Or of course using Pidgin to send file and receive via another pidgin.

9000 2011-03-28 08:57

Re: Transferring files between N900 using wifi
 
Quote:

Originally Posted by AapoRantalainen (Post 976171)
Is there access point / Internet connection available?


I think scp is user friendly, but it is only for command line.
No need to share root password, any user-password pair works. If user doesn't have password you can create it:
Code:

sudo gainroot
passwd user

With scp you can pull and push, so only one phone needs ssh-server and shared password.

But any user could gain root easily unless you jail them in ssh chroot.

Storm_11 2011-03-28 10:00

Re: Transferring files between N900 using wifi
 
easiest way i found was using TinySMB.

My n900 is now broken so I can't confirm the following steps, but I think it was:

connect n900 to wireless network
Open TinySMB. If on the right hand side it says WLan IP != TinySMB IP, theres a step to make then the same
Observe TinySMB IP address
Start TinySMB Server
From your pc, type in \\(IP) where IP is the IP address of TinySMB.
'You should be able to access your files from the pc this way. Initially you'll only have access to MyDocs, but under "Shares" you can add more.

If it doesnt work, hit refresh or stop then start the server again.

In the event you don't have a wireless network, butyour pc has wireless (aka you dont have a router), use Wireless Hotspot, connect the two computers to each other, then repeat the TinySMB instructions

Raif 2011-03-28 10:08

Re: Transferring files between N900 using wifi
 
Outgoing data:-
Download tiny samba from the repo's & configure it to share the portion of your file system you want data to be transfered from.

Incoming Data:-
Download Wizard Mounter and cofigure to see the samba share as above

Transfer data across wifi to your hearts content :)

Helmuth 2011-03-28 10:09

Re: Transferring files between N900 using wifi
 
You can find more about TinySMB in this thread: http://talk.maemo.org/showthread.php?t=60354 (was a good reading)

niloy 2011-03-28 15:36

Re: Transferring files between N900 using wifi
 
Life would have been so much better if we could send files over the wifi just as we do over bluetooth, "send" and "receive"!

tHMZ 2011-03-28 15:44

Re: Transferring files between N900 using wifi
 
Yep. TinySMB is the best choice.

Captwheeto 2011-03-29 11:21

Re: Transferring files between N900 using wifi
 
You could do either "Python -m SimpleHTTPServer" in the directory you want to share, then you could go to that ip address on port 8000, ie
"http://192.168.1.35:8000" and they would be there.

Alternatively if you have nc or ncat you could do
"cat yourfile | sudo ncat -l -p 80" and do the same as above without the 8000

niloy 2011-03-29 15:23

Re: Transferring files between N900 using wifi
 
Quote:

Originally Posted by Captwheeto (Post 977681)
You could do either "Python -m SimpleHTTPServer" in the directory you want to share, then you could go to that ip address on port 8000, ie
"http://192.168.1.35:8000" and they would be there.

Alternatively if you have nc or ncat you could do
"cat yourfile | sudo ncat -l -p 80" and do the same as above without the 8000

holy ****! thanks, i would have thanked you twice if i could for the instant http python server suggestion. this device is so amazing.

MyNokiaN900 2011-03-29 15:26

Re: Transferring files between N900 using wifi
 
You could always try WinSCP or Putty to N900 to copy files over WIFI

GameboyRMH 2011-03-29 15:29

Re: Transferring files between N900 using wifi
 
Another option is Python SimpleHTTPServer:

http://www.linuxjournal.com/content/...-server-python

helloct 2012-07-01 20:18

Re: Transferring files between N900 using wifi
 
TinySmbgui

impeham 2012-07-02 19:45

Re: Transferring files between N900 using wifi
 
It would be VERY nice if we could somehow use WiFi Direct from the N900. I've found an old thread that was asking about that:

http://talk.maemo.org/showthread.php?t=65038

and started a new thread:

http://talk.maemo.org/showthread.php?t=84603

but no useful response yet.


All times are GMT. The time now is 04:05.

vBulletin® Version 3.8.8