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
-
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
-
OK, I have it working now.
First I edited the file /usr/lib/smb.conf and added:
[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 ransmbpasswd -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.
-
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..
-
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.
-
I assume the samba package also gives the z the ability to mount samba shares on other pcs.
-
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....
-
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
-
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
-
Aereinha, did you follow my directions above?
Try running the following two commands, each in a different shell:
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:
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.
-
I found another way to acomplish what i needed using konqueror
-
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. . .)
-
I'll add my 2 cents of what I had to do as an almost shell script...
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
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>