How to transfer files from host PC to ipaq?

From: Alex Sack <pisymbol_at_hotmail.com>
Date: Thu, 12 Jul 2001 09:28:25 -0400

>From: "Wong Yee Peng" <wyeepeng_at_dso.org.sg>
>To: <familiar_at_handhelds.org>
>Date: Thu, 12 Jul 2001 09:39:06 +0800
>charset="iso-8859-1"
>Subject: [Familiar] How to transfer files from host PC to ipaq?
>
>Hi,
> I installed familiar 0.4 task-bootstrap.jffs2 on my ipaq. I just like
>to know if there are ways to transfer things to the ipaq without using a
>wireless lan connection? I know I can setup a ppp connection. However,
>once
>the ppp is up, I can use minicom to access the console and I don't have
>other means to install the task-x and xvkbd packages. So, how am I suppose
>to initiate any commands from the ipaq? Its like the chicken-and-egg
>problem.
>
>Any takers?
>
>Wong Yee Peng

Hi Wong,

If you can setup a ppp connection then you can use:

scp - secure copy

It works just like 'rcp' but uses secure shell protocol that should be
running.

In order to setup ssh (so you can do scp calls) you need to first generate
keys via:

ssh-keygen -N '' -b 1024 -f /etc/ssh/ssh_host_keys
ssh-keygen -N '' -d -b 1024 -f /etc/ssh_dsa_host_keys

(the exact commands I forget off hand, but these are pretty close, basically
you want to create default keys for ssh and DSA keys for DSA encryption -
look around the web and the ssh faq)

Once you generated keys in /etc/ssh, you can run at the prompt:

sshd

(starts the daemon without any errors hopefully)

From here, you can log onto your iPAQ from your box or use scp to copy files
over:

e.g. I have a file named "test.me" in my home directory on my box and I
want to move it to my iPAQ in root's home directory

scp test.me root_at_ipaq:/root

or from your iPAQ (let's say your logged in)

cd /root
scp <yourusername>@<your box's name or IP>:/home/<username>/test.me .

Done! I really nice idea is to use MASQ to forward packets to your IP (see
FAQ on hh.org under Networking) so your iPAQ can see the whole web.

-aps

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Received on Thu Jul 12 2001 - 06:23:05 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:28 EDT