webOS Nation Forums >  webOS smartphones (Pre, Pixi, Veer) >  webOS tips, information, and resources > Easiest Method For Wifi File Transfer
Easiest Method For Wifi File Transfer

  Reply
 
LinkBack Thread Tools Display Modes
Old 12/18/2009, 03:30 PM   #1 (permalink)
Member
 
Join Date: Nov 2009
Posts: 374
Likes Received: 58
Thanks: 10
Thanked 31 Times in 28 Posts
Question Easiest Method For Wifi File Transfer

I've been reading several threads and web pages on how to set up options such as SFTP, SHH, WebDav, etc to gain wifi access to the Pre. However, being new to the phone and how it's OS works has left me feeling like a lot of these instructions are greek and I, also, have no idea which method is the most likely to survive a software update.

Could someone help instruct or point me to the safest, most simple method of configuring read/write access to the Pre's USB drive over Wifi, please?

For the record, I am running Mac OS X 10.6 "Snow Leopard" and can not use a Windows machine for this.

Any help would be greatly appreciated!

Thanks!!
jtfolden is offline   Reply With Quote
Old 12/18/2009, 09:26 PM   #2 (permalink)
Member
 
ryleyinstl's Avatar
 
Join Date: Jun 2009
Location: The Red Brick Momma
Posts: 4,317
Likes Received: 0
Thanks: 209
Thanked 1,263 Times in 822 Posts
Default

If you're looking for "simple" you're out luck.
ryleyinstl is offline   Reply With Quote
Old 12/18/2009, 10:19 PM   #3 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Install Preware, then the OpenSSH SFTP Server (which will install lots of other dependencies).

The follow the directions in the Homepage link for the OpenSSH package in Preware.

Then use Fugu on your Mac.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked by jbg7474, jtfolden
Old 12/19/2009, 03:07 AM   #4 (permalink)
Member
 
Join Date: Nov 2009
Posts: 374
Likes Received: 58
Thanks: 10
Thanked 31 Times in 28 Posts
Default

Thanks, Rod! That seemed "simple" enough... now if only an SFTP connection could be reliably mounted as a drive in the Finder rather than Fugu, Transmit, etc...

Anyone have any experience with MacFuse & sshfs?
jtfolden is offline   Reply With Quote
Old 12/19/2009, 03:25 AM   #5 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by jtfolden View Post
Thanks, Rod! That seemed "simple" enough... now if only an SFTP connection could be reliably mounted as a drive in the Finder rather than Fugu, Transmit, etc...

Anyone have any experience with MacFuse & sshfs?
I'm working on a WebDAV solution using lighttpd on the Pre.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 12/20/2009, 03:11 AM   #6 (permalink)
Member
 
Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rwhitby View Post
Install Preware, then the OpenSSH SFTP Server (which will install lots of other dependencies).

The follow the directions in the Homepage link for the OpenSSH package in Preware.

Then use Fugu on your Mac.

-- Rod
Got all this set up. Problem is I still don't have access to the /media/internal/ directory to upload files.

Is there any way to get access to that directory without sudo or plugging my pre into my pc?
theonetruedevo is offline   Reply With Quote
Old 12/20/2009, 03:33 AM   #7 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

If you've logged in as root using WinSCP or Fugu, then you will have access to /media/internal

-- Rod
rwhitby is offline   Reply With Quote
Old 12/20/2009, 03:17 PM   #8 (permalink)
Member
 
Join Date: Aug 2007
Posts: 105
Likes Received: 1
Thanks: 30
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by rwhitby View Post

Then use Fugu on your Mac.
You recommend Fugu for mac. What would you recommend for a Windows 7 machine?

Thanks.
__________________
It may seem like I am doing nothing, but on a cellular level I'm really quite busy.
jrtesq is offline   Reply With Quote
Old 12/20/2009, 03:26 PM   #9 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by jrtesq View Post
You recommend Fugu for mac. What would you recommend for a Windows 7 machine?

Thanks.
PuTTY and WinSCP

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked By: jrtesq
Old 12/20/2009, 04:57 PM   #10 (permalink)
Member
 
Join Date: Aug 2007
Posts: 105
Likes Received: 1
Thanks: 30
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by rwhitby View Post
PuTTY and WinSCP
Great! Thanks.
__________________
It may seem like I am doing nothing, but on a cellular level I'm really quite busy.
jrtesq is offline   Reply With Quote
Old 12/20/2009, 08:50 PM   #11 (permalink)
Member
 
Join Date: Nov 2009
Posts: 374
Likes Received: 58
Thanks: 10
Thanked 31 Times in 28 Posts
Default

Quote:
Originally Posted by rwhitby View Post
I'm working on a WebDAV solution using lighttpd on the Pre.

-- Rod
I'll look forward to seeing that. In the meantime, I installed MacFuse and sshfs on my Mac. Then, I created a small AppleScript app that contains the following and put it in my Dock:

Code:
do shell script "mkdir \"/Volumes/PALM PRE\""
do shell script "sshfs root@192.168.1.10:/media/internal \"/Volumes/PALM PRE\" -oauto_cache,reconnect,volname=\"PALM PRE\""
This will mount the Pre on the Desktop. :-)
jtfolden is offline   Reply With Quote
Old 12/20/2009, 09:31 PM   #12 (permalink)
Member
 
NickDG's Avatar
 
Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
Default

Anyone get samba working? I think it would be the easiest way.
__________________
Palm Vx -> Treo 600 -> Treo 700p -> Centro -> Pre (Launch Phone 06/06/09) -> AT&T Pre Plus with Sprint EVDO swap -> Samsung Epic 4G w/ Froyo
NickDG is offline   Reply With Quote
Old 12/20/2009, 09:38 PM   #13 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by NickDG View Post
Anyone get samba working? I think it would be the easiest way.
Samba2 or Samba3 can be installed with ipkg-opt ...

-- Rod
rwhitby is offline   Reply With Quote
Old 12/21/2009, 09:45 AM   #14 (permalink)
Member
 
Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rwhitby View Post
If you've logged in as root using WinSCP or Fugu, then you will have access to /media/internal

-- Rod
I thought logging in as root was bad/wrong/evil and you should always have a user login to use instead?
theonetruedevo is offline   Reply With Quote
Old 12/21/2009, 02:13 PM   #15 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

It's a trade-off between security and convenience.

When we were using passwords to access the Pre, the security risk was too great. Now that we are requiring ssh keys for access, it is acceptable (imho).

Others are bound to have differing views on this topic. They can still create and use a separate user account if they choose.

-- Rod
rwhitby is offline   Reply With Quote
Thanked By: theonetruedevo
Old 12/21/2009, 02:59 PM   #16 (permalink)
Member
 
Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rwhitby View Post
It's a trade-off between security and convenience.

When we were using passwords to access the Pre, the security risk was too great. Now that we are requiring ssh keys for access, it is acceptable (imho).

Others are bound to have differing views on this topic. They can still create and use a separate user account if they choose.

-- Rod
So the new way of accessing linux is all via keys and not passwords?

ahhh... So when I was setting up openssh sftp, I should have used the root user instead of the std user. Gotcha.

What is the best way to move the private key around? Or does each different computer get set up with its own public/private key?
theonetruedevo is offline   Reply With Quote
Old 12/21/2009, 03:30 PM   #17 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by theonetruedevo View Post
So the new way of accessing linux is all via keys and not passwords?

ahhh... So when I was setting up openssh sftp, I should have used the root user instead of the std user. Gotcha.

What is the best way to move the private key around? Or does each different computer get set up with its own public/private key?
Ah, that depends on your level of paranoia.

I personally just keep my private key passphrase protected on a single laptop computer over which I have constant physical control. I never put my private key on a remote computer (I've enabled SSH authentication agent forwarding on the OpenSSH installation on the Pre) and I never let anyone else access the computer on which I do have my private key.

Other people keep one key per remote host on a fingerprint-protected secure USB key which they carry with them on a chain that is tied to their body

It's really up to you.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 12/21/2009, 04:04 PM   #18 (permalink)
Member
 
Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rwhitby View Post
Ah, that depends on your level of paranoia.

I personally just keep my private key passphrase protected on a single laptop computer over which I have constant physical control. I never put my private key on a remote computer (I've enabled SSH authentication agent forwarding on the OpenSSH installation on the Pre) and I never let anyone else access the computer on which I do have my private key.

Other people keep one key per remote host on a fingerprint-protected secure USB key which they carry with them on a chain that is tied to their body

It's really up to you.

-- Rod
haha.

I was thinking more of how do I set up my home computer, my work computer etc. I'm assuming that each computer gets its own private/public pair.

Now I'm debating being lazy and unsecure and not bothering with a passphrase.
theonetruedevo is offline   Reply With Quote
Old 12/24/2009, 06:57 AM   #19 (permalink)
Member
 
Join Date: Aug 2009
Posts: 24
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default This doesn't sound that difficult

I am looking to transfer mp3 files from my WinXP machine to my Pre through wifi. Each mp3 is about 140 megs. I would like to set up a scheduler so that the files can transfer over night when my phone is on the touchstone charging.
The instructions given don't sound that difficult. I wonder why someone has not made this into an app. yet? I think people would easily pay $10 or $20 to be able to do this (imho).

What does everyone else think?
odinstorm is offline   Reply With Quote
Old 12/24/2009, 05:51 PM   #20 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by odinstorm View Post
I am looking to transfer mp3 files from my WinXP machine to my Pre through wifi. Each mp3 is about 140 megs. I would like to set up a scheduler so that the files can transfer over night when my phone is on the touchstone charging.
The instructions given don't sound that difficult. I wonder why someone has not made this into an app. yet? I think people would easily pay $10 or $20 to be able to do this (imho).

What does everyone else think?
There is an app. Preware + OpenSSH SFTP Server. There are plenty of Windows utilities that allow SFTP transfers, and you could just use Scheduled Tasks to set one of these up. Make sure your Pre is on the touchstone overnight so the wifi stays active, and set the schedule time accordingly. Rsync is a good solution, cause it will only transfer the things that have changed.

Both these apps use custom services and Linux utilities that simply cannot be done by normal webOS applications that are acceptable for the Palm App Catalog. So you simply won't be able to pay for such an app any time soon.

There's a WebOS Internals donation link at WebOS Internals:Site support - WebOS Internals if anyone wants to donate that $10 or $20 for this solution

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0