OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: dino on December 07, 2004, 10:22:50 pm

Title: Samba Server On 3.5.2?
Post by: dino 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
Title: Samba Server On 3.5.2?
Post by: dino 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.
Title: Samba Server On 3.5.2?
Post by: Mahoro 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..
Title: Samba Server On 3.5.2?
Post by: dino 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.
Title: Samba Server On 3.5.2?
Post by: systemparadox 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.
Title: Samba Server On 3.5.2?
Post by: anunakin 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....
Title: Samba Server On 3.5.2?
Post by: aereinha 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
Title: Samba Server On 3.5.2?
Post by: Pyrates 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
Title: Samba Server On 3.5.2?
Post by: dino 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.
Title: Samba Server On 3.5.2?
Post by: aereinha on December 16, 2004, 02:55:21 pm
I found another way to acomplish what i needed using konqueror
Title: Samba Server On 3.5.2?
Post by: acpkendo 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. . .)
Title: Samba Server On 3.5.2?
Post by: ironstorm 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>