LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-01-2002, 09:13 PM   #1
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
connecting a linux box to a win2k network


hi, i need to connect a linux box to a windows network. want to get user access to network shares, access to the internet (http/https, ftp, and AIM for linux), and maybe be able to configure the server to forward http requests to my computer.

i am a complete newbie to networking. the most important thing is getting access to the internet from the linux box, going through the win2k server. second most important is user access to shares, and third most important is being able to have the win2k forward http requests from it to the linux box.

how would i go about doing any of this? any help would be greatly appreciated, thank you.
 
Old 05-01-2002, 11:35 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
To share between Win and Linux boxen on a network, you'll need to install and configure Samba on the Linux box. Samba is the open source software that (at least for the time being) provides integration with Windows SMB/CIFS file and print services.

As far as Internet connection sharing and port-forwarding through the Win2K box goes, I can't really help as I don't use Win2K, and that's where the bulk of your configuration would have to be done.
 
Old 05-02-2002, 09:10 PM   #3
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Original Poster
Rep: Reputation: 15
ok, i have samba installed already, i put it on during installation. how do i configure it to connect to the windows network?
 
Old 05-03-2002, 06:13 AM   #4
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Well you will need to make a configuration file that runs samba, its called smb.conf mine is in /etc/samba/smb.conf I will post my config file below as it is a simple one to get started on.

after you have edited the smb.conf to your liking you will need to restart samba, the command for me, I am running RH7.2 is:

/etc/rc.d/init.d/smb restart

You will also need to create a user for each one that will be connecting to your samba shares, after you have created the users, I know there is an easier way to do this but this is how I do it, you type smbpasswd -a username, substitute whatever the username is for username of course.

Then if you were to use my config file you would need to make a directory /tmp/downloads and I chmod to 777 just to be simple, but it is not secure, the command for that is:

chmod 777 /tmp/downloads

And that should be all you need to get it up and running, just copy the smb.conf below into a txt editor and save it as smb.conf in the /etc/samba/ directory.

[global]
server string = WINS Server, RH7.2
log level = 2
smb passwd file = /etc/samba/smbpasswb
workgroup = workgroup
log file = /var/log/samba.log.%m
netbios name = LINUX
debug timestamp = yes
max log size = 50
encrypt passwords = yes

[homes]
guest ok = yes
read only = yes
browseable = no
writeable = yes

[tmp]
path = /tmp/downloads
read only = no
guest ok = yes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
please help - using linux box as server for win2k ruwach Linux - Networking 9 08-29-2004 03:59 PM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
setting up a home network, unix/win2k box to connect with xp system Cher Linux - Networking 7 03-11-2004 01:41 AM
How to Q: Win2k box to see Linux Box NPSHr Linux - Networking 3 09-17-2003 10:53 PM
Help on Linux connecting to Win2k bigtoy Linux - Networking 4 05-25-2002 03:04 AM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration