Author Topic: Getting Samba working on OZ 3.3.5  (Read 4585 times)

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« on: March 25, 2004, 07:38:25 am »
I would like to set up a Samba share on my 5500 (running OZ 3.3.5). I thought I would need to follow the instructions in the \"Samba over non-USB\" HOWTO, but it begins by asking me to change to /etc/rc.d/init.d/, which doesn\'t exist. (There are directories called /etc/rc0.d, /etc/rc1.d and so on.)

A \"ps aux\" shows that smbd isn\'t running on my Z. The FAQ on the OZ site doesn\'t contain any references to Samba at all (AFAICS), and a Google search turned up next to nothing in terms of a Samba/OZ HOWTO. How have other OZ users got Samba working?

Many thanks,
Tim
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #1 on: March 25, 2004, 08:00:23 am »
Try /etc/init.d rather than /etc/rc.d/init.d/


Simon
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

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #2 on: March 25, 2004, 08:38:04 am »
I should\'ve thought of that  

I looked in /etc/init.d/, but there was no file called \"samba\" there. I wanted to use \"locate\" to look for the file if it exists, but the command doesn\'t seem to be present, at least in the shell I\'m using here (the default - ash?).

Could it be that Samba isn\'t installed, and I have to pick up the package(s) from somewhere?

Thanks for your help,
Tim
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #3 on: March 25, 2004, 08:55:41 am »
Yes, samba doesn\'t come installed by default on the OZ ROMs, so you\'ll have to install it.


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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #4 on: March 25, 2004, 08:56:10 am »
It\'s in the OZ feed (for your particular ROM flavour)
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

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #5 on: March 25, 2004, 11:25:58 am »
Thanks a bunch - I\'ll try the feed this evening

Tim
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #6 on: March 25, 2004, 01:30:18 pm »
I couldn\'t find a Samba package on the OZ \"stable\" feed (http://www.openzaurus.org/official/stable/feed/ the other two feeds don\'t seem to work right now), but downloaded the package linked to from the ZSI. Hope this one works with OZ...

Thanks again,
Tim.
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #7 on: March 25, 2004, 03:42:46 pm »
What about the feed for your ROM?

http://www.openzaurus.org/official/3.3.5/c...l-strongarm.ipk

You\'ll (probably) also need samba-common from the same loc.


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

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #8 on: March 26, 2004, 08:47:59 am »
I must have missed that feed - I was on the OZ site\'s download page for 3.3.5, and scrolled down to the three feeds at the bottom of the page (two of which weren\'t working).

Anyway, I\'m putting this feed in the package manager for later. Thanks again for your continuing help - I think I\'m gradually getting there  

Tim
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

lanninmi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #9 on: March 31, 2004, 11:12:11 am »
I have been trying to get samba to work flawlessly with 3.3.6-pre1 on a 5600 without any luck.  I was first able to get past the usb hotplug problem, although it takes an occasional reboot in the cradle to reset itself.  I have been able to mount shares from my linux box to my zaurus using the smbclient.  When I do so, it spits out errors complaining that codepages do not exist in /user/...  I have not been able to get the samba_2.2.8a-2_armv4l-strongarm.ipk (I am assuming this is the server package) package to install on my system.  It complains about needing samba-common installed first.  However, when I install samba-common first the package manager tells me to move a number of files out of the way (/etc/samba/samba.conf, etc).  By the way, I have been using the ipks from the 3.3.6-pre1 feed (http://openzaurus.org/official/experimental/poodle/3.3.6-pre1/).  Has anyone made any progress with samba on a 5600?  Maybe I am doing something wrong?
SL-5600 with oz 3.3.6-pre1
256 MB SanDisk SD/32 MB Cannon CF
Linksys WCF12 wireless

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #10 on: March 31, 2004, 11:32:31 am »
Use --force-overwrite or similar with ipkg

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

lanninmi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #11 on: April 01, 2004, 09:54:05 am »
Quote
Use --force-overwrite or similar with ipkg

Si

I went ahead and installed samba using the --force-overwrite option.  It is now installed.  I no longer get a bus error when loading smbd.  However, when I run ps aux it does not show that smbd is running.  Has anyone got samba server to work on the 3.3.6-pre1 to work on a 5600?  If so what packages did you use?

Thanks...
SL-5600 with oz 3.3.6-pre1
256 MB SanDisk SD/32 MB Cannon CF
Linksys WCF12 wireless

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Getting Samba working on OZ 3.3.5
« Reply #12 on: April 01, 2004, 11:45:28 am »
Did you reboot or run /etc/init.d/samba start (I think that path is right)?

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

lanninmi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Getting Samba working on OZ 3.3.5
« Reply #13 on: April 01, 2004, 11:01:38 pm »
I went ahead and uninstalled samba, then reintstalled it using the package manager.  It did not complain about the files being in the way this time.  Now everything is working.  Thanks for the pointers lardman...
SL-5600 with oz 3.3.6-pre1
256 MB SanDisk SD/32 MB Cannon CF
Linksys WCF12 wireless