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

Re: Networking a Linux and a Window workstation



hi ya philip

there is a couple of samba book
	Oreilly has a good one 
	forgot the publisher of theother one..

there is a samba-HOWTO
	http://us1.samba.org/samba/docs/Samba-HOWTO-Collection.html
	http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html
	
smbpasswd  phillip   
	allows you to sit on your windows box and print to your windows
	docs tothe printer connected to the linux box if it is configured

	it allows oyur windows to network neighborhood to see your
	exported home dir on the linux box if it is configured
	
if your linux box can print text and webpages to the printer...
than your windows box should not have any problems printing either

check your samba printer stuff
	testparm 

set your samba passwd
	cd /etc/samba ; smbpasswd -a philip

use smbclient to see if the linux box can see the windoze stuff
	smbclient -U% -L localhost

on your windows box...you should be able to drag-n-drop files into your
home dir on the linux box... with all the whacky windows file names
	( philip's confidential files.doc )

c ya
alvin

/etc/samba/smb.conf

in the global section...
...
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes

in the home dir section ...
[homes]
   comment = Home Directories
   path = /opt/home/philip
   browseable = no
   writable = no
   -- add permissions as needed to keep your paranoia happy
   ....


On Sat, 24 Nov 2001, Phillip Deackes wrote:

> I have recently added a second NIC to my Debian box and connected a small
> Netgear hub. I have connected a second PC running Windows 98 to the hub.
> My primary network card is connected to a cable modem which uses DHCP to
> obtain dynamic IP address. I have allocated a private internal IP address
> to the second card. I am running squid so that I can point the second PC
> to it and get a basic Internet connection. I did it this way because it is
> simple and I find networking something of a Black Art.
> 
> I would now like to be able to print and possibly send files to my Linux
> box from the Windows machine. I have been doing some reading and have
> installed Samba, but have made little progress. I am not sure how to set
> up Samba - I have been through the /etc/samba/smb.conf and made an attempt
> to set up a password with smbpasswd. The trouble is, what exactly am I
> setting the password for? Is it the password I will need on the Windows
> machine to access my Linux box? Do I need shadow passwords (don't even
> know what they are!)?
> 
> Does anyone know if there is an idiot's guide to setting this up anywhere?
> A guide which does not assume a great deal of prior knowledge of
> networking?
> 
> Many thanks.
> 
> -- 
> Phillip Deackes
> Using Debian Linux
> 
> /"\   
> \ /   ASCII RIBBON CAMPAIGN
>  X    AGAINST HTML MAIL AND NEWS
> / \ 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: