Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-01-2002, 10:13 PM
|
#1
|
Member
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64
Rep:
|
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.
|
|
|
05-02-2002, 12:35 AM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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.
|
|
|
05-02-2002, 10:10 PM
|
#3
|
Member
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64
Original Poster
Rep:
|
ok, i have samba installed already, i put it on during installation. how do i configure it to connect to the windows network?
|
|
|
05-03-2002, 07:13 AM
|
#4
|
Member
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|