OESF Portables Forum
General Forums => General Discussion => Topic started by: dstrebel 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.
-
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
-
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 (http://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.
-
I have wireless working how do I chane where my downlodings are going
-
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?
-
Hi,
I use 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
-
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:
$ ssh-keygen -t rsa
Then copy the public key to your Z:
$ 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.
-
I figured out using ssh and ftp to transfer my files thanks for all the help!