maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   sending files over wi-fi (https://talk.maemo.org/showthread.php?t=47599)

fragos 2010-03-17 22:56

Re: sending files over wi-fi
 
I run Ubuntu on my desktop and if I set a folder for sharing it can be seen on my N810 over the USB connection. Clearly some form of network file access is built in th the N810. Question is it Samba or NFS. I regularly mount NFS shares from my laptop on my desktop with WiFi. I haven't quite figured out NFS on the N810 though.

quipper8 2010-03-17 22:59

Re: sending files over wi-fi
 
I also noticed there is socat available...

You could just tell them to run socat and listen on a specific port and you can send anything you want to them.

Maybe somebody could write a quick qt gui with a predetermined port, an nmap scan for that port on opening, and prompt for filename and open socket on port with socat.

socat would eliminate the need for a running ssh server

Wish I had more time :)

Fargus 2010-03-17 22:59

Re: sending files over wi-fi
 
Quote:

Originally Posted by benny1967 (Post 571195)
ad-hoc may be a nice add-on for such an application, but chances are that if you're sitting on a table with another n900 user and both of you are on wifi, you're on the same network anyway.
...

There are lots of situations where this wouldn't be the case but I seem to recollect that infrastructure mode goes up to the full 54mbps but Ad-Hoc mode only required to run at 11mbps so depending upong the implimentation (Assuming ad-hoc is possible) then a big drop in transfer speed might be experienced. However, as Bluetooth is aboiut 3mbps this is still a substantial increase.

quipper8 2010-03-17 23:08

Re: sending files over wi-fi
 
Quote:

Originally Posted by quipper8 (Post 571232)
I also noticed there is socat available...

You could just tell them to run socat and listen on a specific port and you can send anything you want to them.

Maybe somebody could write a quick qt gui with a predetermined port, an nmap scan for that port on opening, and prompt for filename and open socket on port with socat.

socat would eliminate the need for a running ssh server

Wish I had more time :)

Googling for something similar, I found

http://lanshark.29a.ch/en/About.html

Looks like a simple little program, source available and it looks like python

quipper8 2010-03-18 00:08

Re: sending files over wi-fi
 
just tried socat from n900 to scratchbox running on ubuntu and it worked fine

on receiver run

socat TCP-LISTEN:<some high port number> /home/user/MyDocs/<filename to receive>

on sender run

socat TCP:<ip address of recipient>:<same high port number> <path and name of file to send>

If you get a littl crazier I think you could probably pipe into socat to send found files or tar output, etc


All times are GMT. The time now is 02:49.

vBulletin® Version 3.8.8