Author Topic: Samba Server On 3.5.2?  (Read 4731 times)

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Samba Server On 3.5.2?
« on: December 07, 2004, 10:22:50 pm »
I installed the 7MB Samba package from the 3.5.2. feed.  Is this all I need to set up a Samba server?  Any advice on how to get it working?
Thanks
SL5500, Open Zaurus 3.5.2, 128MB SD

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Samba Server On 3.5.2?
« Reply #1 on: December 08, 2004, 04:20:33 pm »
OK, I have it working now.
First I edited the file /usr/lib/smb.conf and added:
Quote
[global]
    workgroup = METRAN
[test]
    comment = For testing only, please
    path = /usr/local/samba/tmp
    read only = no
    guest ok = yes
I then created the directory /usr/local/samba/tmp and put a file in it for testing.
I then ran
Quote
smbpasswd -a root
and used my root login password.
To start samba run:
nmbd
smbd

Now I can play ogg files stored on the Zaurus from my Win2K machine at work.
SL5500, Open Zaurus 3.5.2, 128MB SD

Mahoro

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Samba Server On 3.5.2?
« Reply #2 on: December 08, 2004, 11:51:30 pm »
So you send your music from your home machine to the work place?


I though Samba is just only for sending and transfer file between machines..
Zaurus 5500- 3.5.2 64mb memory
XP- Qtopia 1.7

Kingston CF 512 RAM on FAT
DigitFilm SD 256 RAM on ext2
Panasonic SD 256 RAM <- can't manage to put ext2 in it :(

Targus universal keyboard <- Not working in 3.5.2
Symbol CF wifi <- worked, but have a bump on the back of the card :(
Intel CF wifi <- not working well :(

2 broken stylus...(bought another one in Japan but I broke that within 2 week after. = o o = )
(managed to glue it w/ krazy glue :)

Battery box <-DIY (Stuffs were bought in RadioShack)

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Samba Server On 3.5.2?
« Reply #3 on: December 09, 2004, 09:17:13 am »
I mount the Z as a shared drive which contains ogg files.  It sits in the USB cradle plugged into the Win2k box.  The connection between the Z and Win2k box is a local network, but it could work over the internet.
SL5500, Open Zaurus 3.5.2, 128MB SD

systemparadox

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • http://www.systemparadox.co.uk
Samba Server On 3.5.2?
« Reply #4 on: December 13, 2004, 12:15:43 pm »
I assume the samba package also gives the z the ability to mount samba shares on other pcs.
My Site: The System Paradox (http://www.systemparadox.co.uk)

FOR SALE: Zaurus SL-C750: /Symbol Spectrum24 CF WiFi/Pilot Pentopia extending stylus (worth every penny)/Currently running Cacko.

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Samba Server On 3.5.2?
« Reply #5 on: December 13, 2004, 12:25:30 pm »
I dont need use SAMBA, on my OZ 3.5.2... I using fish protocol... its is like samba but over a ssh conection...

On Zaurus
- Open a shell
- Create a login (SSHd close conections from root, dont change this! :-P )
  adduser zaurus
- put a password to this user.

On PC
- Open Konqueror
- put a URL like:
     fish://192.168.129.201/
- type u login and pass, for zaurus....
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

aereinha

  • Newbie
  • *
  • Posts: 20
    • View Profile
Samba Server On 3.5.2?
« Reply #6 on: December 14, 2004, 08:10:55 pm »
Ok dont mean to steal the topic or anything....but I cannot get samba to work....all I want to be able to do is copy my mp3 files from my linux box to my cf card....fish didnt let me write but i could read...any help would be awsome....

Thanks

Tony

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
Samba Server On 3.5.2?
« Reply #7 on: December 15, 2004, 04:32:20 am »
Aereinha, did you consider using scp? I'm doing it, and it's hassle free, fast enough and, well, gets the job done. Using Samba just to copy some files seem a bit... you know

Cheers
Philipp
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Samba Server On 3.5.2?
« Reply #8 on: December 15, 2004, 05:42:28 pm »
Aereinha, did you follow my directions above?
Try running the following two commands, each in a different shell:
Quote
nmbd -i
smbd -i
This runs the daemons in the interactive mode where they may provide some feed back on problems.  Also run the command:
Quote
ps
and see if smbd and nmbd are indeed running.
I like samba because I can mount a drive using a script with the password.  Scp used to work without a password using keys.  Unfortunetly dropbear appears to have a problem with scp and keys.
SL5500, Open Zaurus 3.5.2, 128MB SD

aereinha

  • Newbie
  • *
  • Posts: 20
    • View Profile
Samba Server On 3.5.2?
« Reply #9 on: December 16, 2004, 02:55:21 pm »
I found another way to acomplish what i needed using konqueror

acpkendo

  • Full Member
  • ***
  • Posts: 169
    • View Profile
    • http://
Samba Server On 3.5.2?
« Reply #10 on: December 16, 2004, 04:20:52 pm »
Is there any other Samba server available for OZ?  I don't have the room for 7MB, but my understanding is that that is how Intellisync accesses the DTM databases.

(BTW, I'm asking because I am trying to get the Sharp PIM's installed on OZ.  I know, DTM is crap, but I need sync'ing of e-mail including attachments and text notes to a WinXP box for work. . .)

ironstorm

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
Samba Server On 3.5.2?
« Reply #11 on: April 17, 2005, 08:56:45 pm »
I'll add my 2 cents of what I had to do as an almost shell script...

Code: [Select]
echo [global]>/usr/lib/smb.conf
echo    workgroup = WORKGROUP>>/usr/lib/smb.conf
echo [test]>>/usr/lib/smb.conf
echo     comment = For testing only, please>>/usr/lib/smb.conf
echo     path = /media/card>>/usr/lib/smb.conf
echo     read only = no>>/usr/lib/smb.conf
echo     guest ok = yes>>/usr/lib/smb.conf

Code: [Select]
mkdir -p /usr/private/
nmbd
smbd
smbpasswd -a USER

From Windows (replace 192.168.0.102 w/ your Z's IP):
\\192.168.0.102\test
USER
<enter password>