Joseph B. Welsh on Mon, 22 Oct 2001 09:43:19 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Linux / Win networking question


On Mon, 2001-10-22 at 09:20, jbeck@jbwd.net wrote:
> 
> Hi all! 
> 
> I have what I hope is a pretty simple networking question.  In my home, I 
> have a Linkysys 4-port cable modem router, connected to a cable modem and 
> then to the net.  On port 1, I have a Win2K computer, with a printer 
> attached.  On port 2, I have my Redhat 7.1 computer.  I can access the net 
> on both no problem (set up through DHCP).  What I want to do is to be able 
> to use the Linux box to access files on the Windows computer, and also to 
> print to the printer that is attached to the windows computer. 
> 
> Can anyone point me in the right direction (and be as specific as possible - 
> I'm still a newbie here!  :-) 
> 
> Thanks for your help! 
> 
> John

On your win2k box, set up the share for the directories you want to 
access.

On your linux box, set up a mount point for your win2k box
(/mnt/win2k/dir)

Since you are using DHCP, on win2k box, from a command prompt windows,
type ipconfig and remember the win2k ip address (192.168.xxx.xxx)

On linux box issue the following command

mount -t smbfs -o username=anyone,password=anypassword
//192.168.xxx.xxx/(sharename) /mnt/win2k/dir    (enter)

That should let you access files in the shared directory

Obviously you must have a username and password that has access to tha
share.

Hope that helps

Joe Welsh


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug