Author Topic: 3.3.6pre1 smbfs on 3.5.1  (Read 3017 times)

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
3.3.6pre1 smbfs on 3.5.1
« on: October 19, 2004, 12:30:19 am »
I've got the old version of smbclient working by using the smbclient, libsmbclient and smbfs packages from 3.3.6pre1 and installing them manually out of the data.tar.gz's.
But since they are not installed through ipkg, ipkg-link mount /mnt/card doesnt pick it up. Meaning I have to symlink it by hand after a reboot.  Is there anyway to fake-out ipkg into thinking these were installed like a normal ipk so that ipkg-link will work on it?


(I'll gladly post what I did to get smbmount working if someone wants to know.)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.3.6pre1 smbfs on 3.5.1
« Reply #1 on: October 19, 2004, 06:23:27 am »
A couple of questions:

1. Why don't you use the samba packages from 3.5.1 (the samba package certainly has smbclient in it, I've not looked at smbfs).

2. Why don't you just install the packages normally using ipkg? If they are complaining about dependencies then use -force-depends.

The way you're doing it seems very painful.


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

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
3.3.6pre1 smbfs on 3.5.1
« Reply #2 on: October 19, 2004, 07:15:55 am »
Dumb question of the day: can you guys explain to me (or point me to an explanation of) why symlinks break upon reboot? Thanks.

In my case, ipkg-link works but not automatically. I have to run it by hand (it may be due to the fact that my CF card is multi-partitioned - some hard-coded boot script probably tries to mount /mnt/cf instead of the actual mount point). It's a pain for sure.

z.
« Last Edit: October 19, 2004, 07:23:04 am by zenyatta »
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
3.3.6pre1 smbfs on 3.5.1
« Reply #3 on: October 19, 2004, 04:13:49 pm »
Oh, it is painful, but I want to be able to do smbmount.  And 3.5.1 Samba doesnt seem to want to.

I cant do ipkg install because it screams about expecting archtype= something something...  In fact, it seems a lot of 3.3.6pre1 packages do that. (this and qtopiagnuboy at least)


I think the problem with ipkg-link is that it doesnt obey ipkg.conf's dests.  It is setup to only look at /mnt/ram, /mnt/cf and /mntcard.  Am I wrong?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.3.6pre1 smbfs on 3.5.1
« Reply #4 on: October 19, 2004, 05:24:52 pm »
Quote
I think the problem with ipkg-link is that it doesnt obey ipkg.conf's dests. It is setup to only look at /mnt/ram, /mnt/cf and /mntcard. Am I wrong?

Look here: https://www.oesf.org/forums/inde...?showtopic=6420

Quote
I cant do ipkg install because it screams about expecting archtype= something something... In fact, it seems a lot of 3.3.6pre1 packages do that. (this and qtopiagnuboy at least)

kergoth explained this to me a while back on irc; he said it was to do with the arch line (in the control file in control.tar.gz in the ipk I assumed) not appearing in the ipkg configuration file (/etc/ipkg.conf). This is probably not a very good explanation of what he said; my fault.

I don't know what the arch lines in /etc/ipkg.conf actual mean/do; for example mine say this (and it changes on a per machine basis, mine's a Shepherd):

Code: [Select]
arch all 1
arch any 1
arch noarch 1
arch arm 10
arch shepherd 20

Anyone care to shed any light (though this is going off topic now)?


Si

P.S. If you really want to use these files without using ipkg, take a look in /usr/lib/ipkg/info/ and look at the files in there. One (for each package) is a list of the package's files, I reckon if you create one of these and place it there (as well as the other bits, and adding the package details to /usr/lib/ipkg/status, you might get ipkg-link to work)
« Last Edit: October 19, 2004, 05:27:08 pm by lardman »
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

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
3.3.6pre1 smbfs on 3.5.1
« Reply #5 on: October 19, 2004, 11:36:51 pm »
This would be essentially along the same lines as "porting" pdaXrom srtuff, it  appears. Will any of the xrom stuff work on a 5500 (if correctly dissected and transplanted)?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.3.6pre1 smbfs on 3.5.1
« Reply #6 on: October 20, 2004, 06:25:17 am »
Quote
This would be essentially along the same lines as "porting" pdaXrom srtuff, it appears.

If by port you mean converting from X11 to using the framebuffer, then no not at all.

If you mean fixing the 'broken' control files in pdaXrom ipks then yes, similar (but I'm not sure if this is the (only?) fix which must be applied to the pdaXrom ipks).

Quote
Will any of the xrom stuff work on a 5500 (if correctly dissected and transplanted)?

A qualified no: PdaXrom apps are compiled to arm5 code, the 5500 can only run arm4. You may be lucky and find an app which doesn't have any of the new arm5 instructions. Probably (almost certainly) not though.

On a 5600/Cxxx they would work (assuming you fix the control files and grab the dependencies and probably use GPE, unless you're after a command line app)


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

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
3.3.6pre1 smbfs on 3.5.1
« Reply #7 on: October 22, 2004, 10:18:58 am »
OZ 3.5.1 images have /etc/ipkg/arch.conf file with all arch info. It is read by opie-packagemanager (via libipkg) and by ipkg itself.

opie-aqpkg doesn't use it so if you use it then have to add contents of that file into /etc/ipkg.conf - maybe it will help.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
3.3.6pre1 smbfs on 3.5.1
« Reply #8 on: October 23, 2004, 06:22:04 am »
To answer my own question: symlinks break after reboot when opie-symlinker is not installed. I must have uninstalled it by mistake.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)