Forum Home
Press F1
 
Thread ID: 37439 2003-09-07 08:05:00 Finally got Samba to work jcr1 (893) Press F1
Post ID Timestamp Content User
173630 2003-09-07 08:05:00 John D and Chilling Silently, I've finally got it to work. After much trial and error it probably boiled down to a password issue. Mind you I have learnt a lot on the way and there is probably some serious tweaking to do as at this stage I can only read Linux files on my Windows machine; I created a folder called transfer and put some of my digital photos in it and I can read them from my Windows machine, so I guess that's got to be real progress. I got SWAT to work as well, but in the end I used vi to configure smb.conf, and I'm pleased I did. Anyway, I used bits of both sample config files that you posted, many thanks for doing that.
Where to with Linux from here?, it's fascinating and quite a challenge; think I'll set up my digital camera on it, then delete the windows partition.
jcr1 (893)
173631 2003-09-07 08:57:00 Hi jcr1

Good to see that you got Samba working :)

Did you create a Home Share Definition in smb.conf? This should allow you to read/write to your Home directory as well as a Transfer folder (I guess this depends on how secure you want your system).

This is what I have in my Red Hat smb.conf under Share Definitons:
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

This allows me full read/write access to my /home/username directory from my XP machine.
Jen C (20)
173632 2003-09-07 09:18:00 Great!

Have you got your camera working? I not, it is easier than SAMBA! Post if you want help. I have a Sony Cybershot 2Mpixel working on my Redhat 9. I use GQview for viewing and the GIMP for editing.
JohnD (509)
173633 2003-09-08 03:17:00 Thanks Jen C, I added that into my smb.conf and it works very well (I'm running Libranet which is close to Debian but apparently easier to install).
I haven't set up my digital camera as of yet John D, but thanks for your offer and I'll let you know how I get on. Gimp would be a challenge wouldn't it? But something I must have a look at once I get this networking under my belt.
jcr1 (893)
173634 2003-09-08 05:35:00 That's good to hear you've got it sorted :-)

I've never actually used an GUI tools to edit the smb.conf file... Not sure why? ;-)

If you're looking for how to mount your Windows shares locally, see a post by David.Castle that's around the top of the forum atm :-)

Cheers


Chill.
Chilling_Silently (228)
173635 2003-09-08 09:24:00 The GIMP certainly has lots of complicated features for the uninitiated!! I don't claim to be initiated!! -- but to crop, change contrast, colours etc of photos is not difficult with the GIMP. JohnD (509)
173636 2003-09-09 06:30:00 More progress! The guys in Canada (Libranet support) suggested I try Gnomba or LinNeighborhood to access Windows files from Linux. So, I used LinNeighborhood and it worked and I can see most of the stuff on my XP machine, I would probably need Wine or something similar for a lot of it to be of much use, but at this stage, my digital photos, any HTML type files, good as gold. I guess if I wanted to look at say, my Excel files on Linux, then I could do this from Open Office, just stipulating an Excel type file? Then there's always VNC, might have a go at that soon, but first the digital camera.
John D. you said you might be able to helpin this respect; I have a Kodak DX3600 and it is not listed in my version of gphoto, but it is in GTkam. GTkam will identify it, but I'm at a loss as to how to actually get the images from the camera. What would be your thoughts on this one?
jcr1 (893)
173637 2003-09-09 06:58:00 > More progress! The guys in Canada (Libranet support)
> suggested I try Gnomba or LinNeighborhood to access
> Windows files from Linux. So, I used LinNeighborhood
> and it worked and I can see most of the stuff on my
> XP machine, I would probably need Wine or something
> similar for a lot of it to be of much use, but at
> this stage, my digital photos, any HTML type files,
> good as gold.

Right on the money with WINE, see http://www.winehq.com iirc!
Ive used LinNeighborhood myself, not too bad, although I'd rather use Konqueror or Nautilus and type:
smb:///
This brings up the Workgroups and then subsequently the machine's in the workgroup and then the machine shares!

> I guess if I wanted to look at say, my
> Excel files on Linux, then I could do this from Open
> Office, just stipulating an Excel type file?

You're catching on quick, right again :-)

> Then
> there's always VNC, might have a go at that soon, but
> first the digital camera.

Ahh.... vnc is brilliant!
I use RealVNC, although iirc it may come with TightVNC :-)


Cheers


Chill.
Chilling_Silently (228)
173638 2003-09-09 08:25:00 I can tell you how I got my Sony P51 to work and hope that it works for your camera.

The Sony presents itself to the system as a block USB device (just like a USB pen drive or similar). Linux (from kernel 2.4) finds these devices by emulating SCSI devices. If the camera is the first such device on your PC then:

1. Make a directory called (say) /mnt/camera

2. Issue the command mount /dev/sda1 /mnt/camera

3. Use the GUI file manager to navigate to the folder and copy the files to where ever you want.


To semi-automate the mounting process put a line in your /etc/fstab file. The relevant parts in my file look like this:

/dev/sda4 /mnt/zip vfat noauto,owner,rw 0 0
/dev/sdb1 /mnt/USB1 auto noauto,owner 0 0
/dev/sdc1 /mnt/USB2 auto noauto,owner 0 0

I have a parallel port Zip drive on sda, my pen drive on sdb and the camera on sdc.

Once you have the appropriate line in your fstab, you can (in GNOME) right click the desktop and mount the partition under the menu item "disks".

John
JohnD (509)
1