Author Topic: how to transfer files  (Read 2934 times)

dstrebel

  • Newbie
  • *
  • Posts: 17
    • View Profile
how to transfer files
« on: September 15, 2004, 11:41:54 am »
I am new to the zaurus. If i can communicate with the zaurus from my linux box what will i need to use to transfer files to the Z so I can install packages.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
how to transfer files
« Reply #1 on: September 15, 2004, 08:42:23 pm »
I find that the simplest way to transfer file between the Z and my Gentoo box is scp (from openssh) although it is also possible to mount the Z using samba or use a card reader to transfer files.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
how to transfer files
« Reply #2 on: September 15, 2004, 11:45:00 pm »
Quote
I am new to the zaurus. If i can communicate with the zaurus from my linux box what will i need to use to transfer files to the Z so I can install packages.
I am doing it this way:

I have installed the pure-ftp package.

I open the konsole on the Z . There I do a
su
pure-ftpd

Now the pure-ftp server is running and it will be stopped, when I close the console.

In Konqueror, I have bookmarked
ftp://root@192.168.0.65/home/QtPalmtop

where 192.168.0.65 is the IP address of the Z, of course.
Clicking on the bookmark connects me to the Z.
You are asked for a password, leave this empty if you don't have one.

Now I can browse the Z as easy as my local files and delete/copy/edit the files on the Z easily.

z.

dstrebel

  • Newbie
  • *
  • Posts: 17
    • View Profile
how to transfer files
« Reply #3 on: September 16, 2004, 03:42:23 am »
I have wireless working how do I chane where my downlodings are going

asmar

  • Newbie
  • *
  • Posts: 9
    • View Profile
how to transfer files
« Reply #4 on: September 18, 2004, 07:31:22 pm »
I can ssh my sl-5500 without problem and without using a password as the root doesn't have.
I cannot use ftp as I am getting the error Connection refused

I tried rootme and Qtopia as well but nothing....

Any suggestions?

Teletubbie

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
    • http://
how to transfer files
« Reply #5 on: September 18, 2004, 08:11:39 pm »
Hi,
I use
Code: [Select]
zssh -l root ip.ip.ip.ip for file transfer. Sometimes I also use gftp that supports ssh. Both on a debian sarge box.
Cheers,
Sam
SL-5500G
OZ 3.3.6-pre1
Opie 1.1.4

jubjub

  • Newbie
  • *
  • Posts: 18
    • View Profile
how to transfer files
« Reply #6 on: September 19, 2004, 02:41:35 pm »
To transfer a single file or just a couple of files, I usually use scp. But if you prefer an ftp-like interface, use sftp (comes as part of the ssh client on my Debian woody box). Normal ftp won't work unless you have an ftp server running on your Z, but sftp is better anyway.

I added a password to root on my Z, but you can still login without having to type it by sharing a key between the desktop machine and the Z:

(On the desktop)

Create a public/private key pair:

Code: [Select]
$ ssh-keygen -t rsa
Then copy the public key to your Z:

Code: [Select]
$ scp ~/.ssh/id_rsa.pub root@zaurus:/root/.ssh/authorized_keys
(Assumes "zaurus" is in your /etc/hosts)

Now you can ssh, scp or sftp from your desktop to the Z without having to type a password, even if a password is set.

But it seems to me that what the original poster wants is to be able to access the Internet from his Z via the desktop, i.e. you need to set up the desktop as a masquerading router. In brief:
  • Enable networking between Z and Linux box (seems like you have got this far)
  • Edit /etc/resolv.conf and add your DNS servers
  • Type "route" on the Z and check your default route is through the Linux box
  • On the Linux box, enable IP masquerading (NAT) in the kernel
  • Use iptables (NAT) to enable masquerading
  • Type "ping zaurususergroup.com" on the Z to confirm that everything works
  • Now use AQPkg (or "ipkg update" and "ipkg install") to install packages.

dstrebel

  • Newbie
  • *
  • Posts: 17
    • View Profile
how to transfer files
« Reply #7 on: September 20, 2004, 10:23:56 am »
I figured out using ssh and ftp to transfer my files thanks for all the help!