OESF Portables Forum

General Forums => General Discussion => Topic started by: mullin on July 13, 2005, 11:29:24 am

Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: mullin on July 13, 2005, 11:29:24 am
i have a 1GB SD formatted at ext2 format.

how can i read and write files from/to my windows xp desktop?
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 13, 2005, 11:52:34 am
I'm pretty sure I've used this before:
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm (http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm)

(I certainly use it to grab files from my Linux ext2 hard disks when using WinXP)


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: ken on July 13, 2005, 02:12:36 pm
Quote
i have a 1GB SD formatted at ext2 format.

how can i read and write files from/to my windows xp desktop?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88184\"][{POST_SNAPBACK}][/a][/div]

You can also use the Zaurus File Transfer software that comes with your Z.  Put the Z in the hot synch cradle, and run that software.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: tombraider on July 13, 2005, 04:28:55 pm
Quote
i have a 1GB SD formatted at ext2 format.

how can i read and write files from/to my windows xp desktop?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=88184\")

I created a "Network Place"  for my OZ Zaurus and use that to transfer files using wireless. You need to set the "security" icon on Open Zaurus to Intellisync and accept "any".   I'm sitting here in NC Appalachia on a mountain with 500 acres of forest around me so I'm not frightened of security issues,  but you can set up a password or something if you need to be concerned.    
For the address use something like [a href=\"ftp://root@192.168.1.104:4242/]ftp://root@192.168.1.104:4242/[/url]  but change the Zaurus IP to whatever shows in YOUR Zaurus' network configuration utility.

Hope this helps.  
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 14, 2005, 11:17:16 pm
And what is a good FTP server for zaurus?
 I really want to do some file tranferring through FTP.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 15, 2005, 05:19:55 am
There's one in the feed iirc, try running 'ipkg list *ftp*' and see what's there.


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 17, 2005, 10:34:24 pm
I found this:
Quote
kernel-module-ip-conntrack-ftp - 2.4.18-rmk7-pxa3-embedix-r18 - ip-conntrack-ftp kernel module
kernel-module-ip-nat-ftp - 2.4.18-rmk7-pxa3-embedix-r18 - ip-nat-ftp kernel module
lftp - 3.0.11-r1 - lftp is a sophisticated command line based file transfer program. Supported protocols include FTP, HTTP, and FISH.
ncftp - 3.1.8-r0 - A sophisticated console ftp client
netkit-ftp - 0.17-r0 - netkit-ftp includes a commandline ftp client.
netkit-tftp - 0.17-r0 - netkit-tftp includes a commandline tftp client.
obexftp - 0.10.3-r0 - OBEX Ftp Client
openssh-sftp - 4.0p1-r1 - Secure rlogin/rsh/rcp/telnet replacement (OpenSSH) Ssh (Secure Shell) is a program for logging into a remote machine and for ex
opie-ftp - 1.2.0-r0 - Opie-Ftp
I don't want a FTP client. I can just use tftp(busybox) to transfer files.
I was wondering if I can run a FTP server on my Zaurus.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 18, 2005, 07:18:56 am
I thought there was a server in the feed.

What about using sftp/scp?


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: nilch on July 18, 2005, 10:27:20 am
I user pure-ftpd as the FTP server on the zaurus and any decent client (FTP Commander) on Windows to do file transfer between my windows desktop and the Zaurus (have never sync'd).

Thre is one version here. (http://www.killefiz.de/zaurus/showdetail.php?app=1328)
If you want the secure version, then go as Lardman pointed out - sftp/scp.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 19, 2005, 11:23:24 pm
This is what I got:
Quote
root@collie:/# ipkg list '*sftp*'
openssh-sftp - 4.0p1-r1 - Secure rlogin/rsh/rcp/telnet replacement (OpenSSH) Ssh (Secure Shell) is a program for logging into a remote machine and for ex
vsftpd - 2.0.1-r1 - Secure ftp daemon
Quote
root@collie:/# ipkg list '*scp*'
openssh-scp - 4.0p1-r1 - Secure rlogin/rsh/rcp/telnet replacement (OpenSSH) Ssh (Secure Shell) is a program for logging into a remote machine and for ex
So pure-ftpd is not secure?
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: ken on July 19, 2005, 11:47:26 pm
Quote
i have a 1GB SD formatted at ext2 format.

how can i read and write files from/to my windows xp desktop?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=88184\")

I got lazy and did this instead:

[a href=\"https://www.oesf.org/index.php?title=Formating_A_Microdrive_For_Use_With_Cxx0_And_Windows_Simultaneously]https://www.oesf.org/index.php?title=Format..._Simultaneously[/url]

disadvantages: supposedly you can't symlink on it.
advantages: xp and linux both can read it without any problem.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 20, 2005, 05:46:16 am
Quote
And what is a good FTP server for zaurus?
I really want to do some file tranferring through FTP.

I don't know about good, but there is probably one running on port 4242 on your Zaurus (assuming you're running Opie). Depending on the settings in the Security applet it may have no password, or 'rootme' as the password.

I mentioned scp as it comes pre-installed and sftp is just a single install away (openssh-sftp iirc) as the rest of ssh is already installed in the form of dropbear (mixing the two does work, I've tried it).


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 20, 2005, 10:36:20 pm
Ok, I can use raw connections on my Putty to access port 4242 on my zaurus. However it won't let me login.
 Also, when I scan my zaurus for open ports, I don't get port 4242 as open. Is that right?
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 21, 2005, 09:55:50 am
Quote
Also, when I scan my zaurus for open ports, I don't get port 4242 as open. Is that right?

It should appear to be open with something like nmap.

Quote
However it won't let me login.

Login wrong, or connection refused as the port is closed?

username: root
password: rootme

Check the security applet - it gives you a couple of options (iirc) about what you're trying to sync with. This port is used to sync with Intellisync (in the original Sharp ROM and the functionality has been carried over).


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 26, 2005, 11:02:44 pm
Finally I got to connect to the FTP server, however it seems that no commands are enabled.
 No "ls", nothing. Not even help to see the commands that I can use.
 Any tips on that? And how can I put files into my zaurus and copy from it?

 Thanks.
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 27, 2005, 06:51:19 am
put file

Will transfer file from the current dir on the PC to the current dir on the Z

get file

Will transfer file from the current dir on the Z to the current dir on the PC

cd directory

will change dir on the Z

lcd directory

should change dir on the PC


Si
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: PrOtOn on July 28, 2005, 10:25:55 pm
Thanks lardman, however the commands I know, but I can't execute none of them.
 Perhaps I have to configure something, don't I?
 Here is some output:
Quote
220 Qtopia 1.2.0 FTP Server
                           USER root
331 User name ok, need password
                               PASS rootme
230 User logged in, proceed
                           cd
502 Command not implemented
                           cd /
502 Command not implemented
                           cd /root
502 Command not implemented
                           get kismet.conf
502 Command not implemented
                           get kismet.conf
502 Command not implemented
                           cd root
502 Command not implemented
                           cd /root
502 Command not implemented
Title: How To Write File From Windows Pc To An Ext2 Sd
Post by: lardman on July 29, 2005, 07:17:40 pm
Hmm.....

I don't know about that, have you tried relative commands (relative to /home/root I assume)?

E.g. 'cd ../../etc/

Si