OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> how to transfer files
dstrebel
post Sep 15 2004, 07:41 AM
Post #1





Group: Members
Posts: 17
Joined: 6-September 04
Member No.: 4,474



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.
Go to the top of the page
 
+Quote Post
Stubear
post Sep 15 2004, 04:42 PM
Post #2





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



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
Go to the top of the page
 
+Quote Post
zautrix
post Sep 15 2004, 07:45 PM
Post #3





Group: Members
Posts: 437
Joined: 3-February 04
From: N54°22.5' E10°08.2'
Member No.: 1,678



QUOTE(dstrebel @ Sep 15 2004, 04:41 PM)
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.
Go to the top of the page
 
+Quote Post
dstrebel
post Sep 15 2004, 11:42 PM
Post #4





Group: Members
Posts: 17
Joined: 6-September 04
Member No.: 4,474



I have wireless working how do I chane where my downlodings are going
Go to the top of the page
 
+Quote Post
asmar
post Sep 18 2004, 03:31 PM
Post #5





Group: Members
Posts: 9
Joined: 13-September 04
Member No.: 4,570



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?
Go to the top of the page
 
+Quote Post
Teletubbie
post Sep 18 2004, 04:11 PM
Post #6





Group: Members
Posts: 252
Joined: 25-April 04
Member No.: 3,006



Hi,
I use
CODE
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
Go to the top of the page
 
+Quote Post
jubjub
post Sep 19 2004, 10:41 AM
Post #7





Group: Members
Posts: 18
Joined: 10-September 04
Member No.: 4,534



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
$ ssh-keygen -t rsa


Then copy the public key to your Z:

CODE
$ 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.
Go to the top of the page
 
+Quote Post
dstrebel
post Sep 20 2004, 06:23 AM
Post #8





Group: Members
Posts: 17
Joined: 6-September 04
Member No.: 4,474



I figured out using ssh and ftp to transfer my files thanks for all the help!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 08:58 PM