Click to See Complete Forum and Search --> : setting up Linux/Win network problems


wojtek b
02-02-2001, 07:46 PM
I'm trying to setup a LAN where RHLinux7 / Samba 2.0.7 PC (P133 w/5GB Hd, 48 RAM) is the server with Win98: desktop and
laptops + WinMe laptop connected to it. (Laptops, on-and-off).

I want the Win desktop machine to store all the files for sharing on the network and I don't want any files to reside on Linux (HD too small). To add to it, I want to be able to share printers: one connected to the Win desktop and another to Linux.
I don't care if the "users" have actual accounts on the Linux. Ultimately, I want Linux to be the gateway (?) to the Internet but I'm not there yet.

Right now I can communicate betw. win machines and I can see my Linux machine in Network Neighborhood / My Network Places and I can access shares I created. WHat I don't know is how to access my Win boxes from Linux :confused:.

Thanks,
Wojtek

TheMuso
02-03-2001, 06:25 AM
Search the forums here and you will find you're question answered in many posts.

Good luck!

wojtek b
02-03-2001, 02:15 PM
Thanks, I did and that's why this posting was half the size of the original draft :)
My questions are still:
1. can I store all the shared files on my windows desktop (I think yes since I'm doing it now);
2. how to access windows machines from Linux (i can ping them but not ftp or otherwise);
3. do I need to have user accounts on Linux for all the Windows boxes?
Any help appreciated.
:)

CablDeViL
02-03-2001, 02:39 PM
Here is the way I did it. It seems you have samba set up ok and u may or may not have used SWAT (doesnt matter).
Go to your console and type "smbmount //wincomputername/sharedrivename /mnt/mountpoint" make sure u have a file created in linux for the "mountpoint". E.G if the place you wanted to mount the win share was /mnt/winshare u must creat a file called winshare 1st in the mnt dir.

Once you type the obove command you will be promted for the password for the win share.

Enter the winshare pass and then you can go to /mnt/winshare and access the win share drive.

let me know if u need more help I just went through the entire learning process with samba (well im still a newbie).

wojtek b
02-03-2001, 11:55 PM
Thanks CablDeViL, sounds logical. Let me try it and I'll let you know first thing tomorrow.
Wojtek

Delta_z
02-04-2001, 02:27 AM
I have a linux book that is really good for that kind of situation. I would go down to local coffee shop/book store (ie Borders). Check out "Linux: Networking for your office" by Roderick W Smith. I've found this book to be the most informative to all the linux stuff.

wojtek b
02-04-2001, 05:34 PM
Ok, I tried it and it worked fine... with one small problem. SOme questions:
1. I can mount just one windows directory to a mount point on Linux. If I try to add more i get an error: device or resource busy.
2. It seems like I can only mount specific directories. Is there a way of being able to view the entire content of a Win box (e.g in Midnight Commander)?

Delta_z, I'll look that book up, thank you.

Lorithar
02-05-2001, 02:00 AM
*grrrrs* at tonights build of mozillla


try this AGAIN (this version keeps segfaulting)

1) create mountpoint x -- you may only mount one object on it be it local partition, remote share etc.

2) share the entire drive ... then mount said drive to the above mountpoint...

perhaps more secure/safe/sane would be to create a collection of mountpoints (they aren't really hard on space) then mount specific shares to each point..
Thus you could (using the differing mount points, chmod and whatnot) controll the access to specific shares on the win box.