Author Topic: Updating Via Desktop, Transferring To Z Over Usb?  (Read 2201 times)

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Updating Via Desktop, Transferring To Z Over Usb?
« on: January 19, 2006, 07:55:57 pm »
Is there any way to update via a desktop computer, and transfer the packages over to the Z via USB? I don't yet have a wifi card for my 5500, so I'd like to update the packages another way. A script that would do this would be easiest, as I don't want to have to download individual packages....
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #1 on: January 20, 2006, 03:47:34 am »
I usually setup network over USB and use scp to copy between Zaurus and desktop. Under MS Windows you can use WinSCP iirc, under Debian I use KDE fish://root@zaurus/
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #2 on: January 20, 2006, 11:29:09 pm »
that's all find and dandy, but How do I know which packages to install/update? Can I set up a script to check the Z, then download, then install on the Z? Other suggestions?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #3 on: January 22, 2006, 02:09:57 pm »
anyone?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #4 on: January 22, 2006, 04:13:42 pm »
What do you want to update?

If it's something like opie-calendar, then just do 'ipkg install opie-calendar' and it will install the newest version (removing any old versions) along with deps.

Ideally, you'd run 'ipkg upgrade'; however, running 'ipkg upgrade' on a 5500 is not recommended as you will run out of space on / (this is because jffs2 doesn't reclaim deleted files very quickly, and you already have little free space).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #5 on: January 23, 2006, 12:27:26 am »
I want to update everything, similar to 'apt-get dist-upgrade'. Can I install everything to a CF card? However, I can't run ipkg upgrade, because I don't have internet on my Z. My question is, is there a way to do this from the desktop, via usb?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #6 on: January 23, 2006, 05:30:28 am »
Yes, you can setup a webserver or nfs/samba share on your desktop (as ipkg downloads either from local files or from a webserver) and setup the feeds as they are on the web.

Do bear in mind what I said though. It simply won't work if you try to do the whole lot in one go with 'ipkg upgrade'.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #7 on: January 23, 2006, 07:11:11 pm »
how big(storage wise) are the feeds? Is there a way to set it to 'ipkg upgrade' to the CF card, and not the / fs?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Updating Via Desktop, Transferring To Z Over Usb?
« Reply #8 on: January 24, 2006, 05:41:23 am »
Quote
how big(storage wise) are the feeds?

Iirc they are something like 250MB, but I may be wrong (right order of magnitude though).

Quote
Is there a way to set it to 'ipkg upgrade' to the CF card, and not the / fs?

I don't think so.

What you really want is to be able to upgrade a couple of packages, then reboot and let jffs2 reclaim the space, then continue. You'd need to do this manually though I fear.


Si

P.S. 3.5.4 will be released soon...
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva