LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2004, 08:42 AM   #1
farneyboy
LQ Newbie
 
Registered: Nov 2003
Distribution: Redhat 9.0
Posts: 2

Rep: Reputation: 0
networking linux to a windows network?


I feel like an idiot asking this question. I am trying to network a linux box to a windows network. Is there a step-by-step guide to doing this.

I know I have to edit the samba file by using webmin. But what do I do before this. Is there a fool proof guide (tutorials etc) to networking linux to windows?

Would appreciate any feedback. Cheers.
 
Old 01-22-2004, 09:04 AM   #2
Ostemanden
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
I am having the same problem... Just following along here
 
Old 01-22-2004, 09:19 AM   #3
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
I think you might mean edit your Samba file using SWAT, (samba web administration tool). What you would do in that case is connect to your localhost on port 901. I would recommend that you take a look at the SWAT interface and see if you can't figure some of it out, it's very well done.

Josh

I've never used webmin, so I don't know if it has some Samba admin capabilities.
 
Old 01-22-2004, 09:37 AM   #4
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Rep: Reputation: 15
Suggestions:
1. put your distribution in your user profile so others can see what you're working with.
2. Ask a more specific question so we can help. Are you sharing a resource from Linux or trying to connect from Linux to a Windows box. Very different things.
3. Lots and lots of stuff on the web. Google Linux +network +share +setup
4. try Linneighborhood
 
Old 01-22-2004, 10:27 AM   #5
farneyboy
LQ Newbie
 
Registered: Nov 2003
Distribution: Redhat 9.0
Posts: 2

Original Poster
Rep: Reputation: 0
Want to use the Linux box as server

Want to use the Linux box as a test server for websites - for the small Windows network only. Want to be able to transfer files from windows machines to Linux box. The office runs a small Windows network and I want to add a Linux box. Is it just a matter of getting a network card and using SWAT to edit Samba?

Last edited by farneyboy; 01-22-2004 at 10:34 AM.
 
Old 01-22-2004, 10:51 AM   #6
slapshotct
LQ Newbie
 
Registered: Jan 2004
Location: CT
Distribution: Servers: Debian, RH8, Laptop: Fedora
Posts: 15

Rep: Reputation: 0
If you are just trying to create a share, locate the /etc/samba/smb.conf file and open it for editing. The descriptions for each option in that file are very good! Look to change the following:

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = mycowrkgrp

# server string is the equivalent of the NT Description field
server string = Samba Server

hosts allow = 192.168.1. 192.168.2. 127.
#The above only allows internal clients||change this to reflect your ip scheme - Notice for 192.168.1.0/24, I only needed to put in 192.168.1. -- keep that in mind when changing these values

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = 192.168.1.250/24 192.168.2.1/24

-----------------
And here is a share definition to create a share called media
-----------------
[media]
path = /usr/public/media
public = yes
writable = yes
printable = no


---------------------------------------------------

Ok, if you just change the above in your smb.conf file to look like mine (with your data provided) you should be fine. Create some users in Samba with smbadduser and smbpasswd, restart samba and you are good to go.

Remember.. what I just gave you really provides no user level security! This will give you a share so you can get started.

Last edited by slapshotct; 01-22-2004 at 10:52 AM.
 
  


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
Networking in a windows network NL-Stitch Linux - Newbie 1 08-01-2004 02:00 PM
Networking Linux and Windows jleach42 Linux - Networking 1 05-01-2004 10:15 PM
Linux and Windows networking libranikki Linux - Networking 2 02-13-2004 04:05 AM
Linux - Windows Networking loteck Linux - Networking 8 12-14-2002 03:11 PM
linux networking on windows-based network question direstraits Linux - Networking 4 05-24-2002 10:01 AM


All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration