LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2003, 10:54 AM   #1
billiam2003
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Rep: Reputation: 0
Unhappy Configuration of Network w/ Redhat 8.0


I need some help w/ setting up my home network w/ redhat 8.0 I have figured out how to get the internet to work on the linux system but I cannot get it to share, or get the server running for my windows computer to see the dsl and server. if you can give me steps to get this working I would really appricaite it. thank you.
 
Old 03-25-2003, 11:17 AM   #2
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
are you trying to share out some files from you linux server to your windows computer or vise versa?
 
Old 03-25-2003, 12:09 PM   #3
billiam2003
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I am trying to make it so I can use my linux machine as a file server and also to let my windows machine access my dsl though the linux machine.
 
Old 03-25-2003, 12:18 PM   #4
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
for the file server part, you have to enable it for samba, the file sharing package that will let you windows access linux shares.
Are you using xwindows (GUI) That will make it easier?
 
Old 03-25-2003, 12:24 PM   #5
billiam2003
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I have redhat 8.0 thats about all I know. I am new at this.
 
Old 03-25-2003, 12:25 PM   #6
billiam2003
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I really appricate you helping me with this.
 
Old 03-25-2003, 01:14 PM   #7
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
no problem. The first thing you need to do is edit the smb.conf file. That will "share out" the directories you want to access. Look in the smb.conf file, it shows examples, it's very easy. You will basically just put the directory you want to share and permissions to what user ID's you want. After you have edited the conf file go to terminal and bring up the command line (If you have KDE running) and create a user name and password for the users you gave access to in the smb.conf file. The syntax will be something like > smbpasswd -a username -p. It will then prompt you for a password, go ahead and type that in. When you access this share through windows you will need to supply this username and password you created. For Windows 98 ME you will actually need to log in as that user. For 2000, NT just map a drive with a different username or click on the resource.
Youwill have to make sure you computer has a hostname and i.p address as well. The smb.conf file can be found in /etc/samba I think (been a while). If not at the command line just type whereis smb.conf. It will give you the directory.
Next go to /etc/rc.d/init.d/smb then type smb start.
Make sure to confure the SMB.CONF file the same as your windows workgroup or domain. Then browse to it in network neighborhood (It may take a few minutes). If it's configured correctly it will show up.
 
Old 03-27-2003, 01:56 PM   #8
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Billiam2003,

As far as setting up your Llinux box to route for the rest of your network, the first thing you need is 2 NIC's in the Linux machine, one to go to the internal network, and another one to connect to the DSL modem. Next, you need to install and configure BIND(DNS). If it is not installed on your Linux box already, download it from www.isc.org. Also, you'll want to have DHCP running from the Linux box so it can hand out IP addresses to all the other machines on the network. This is sounds very easy, but there's a reason hundreds of books have been written on it. BIND is especially annoying and difficult for new users. Look into it! Good luck!

Chris
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
No LAN type found in network configuration on redhat 9.0 ejain Linux - Networking 3 05-11-2005 10:30 AM
network configuration files in redhat czarherr Red Hat 5 04-29-2004 10:19 AM
Redhat 9 asus A7V8X network configuration. I am a total newbi- please help! zee Linux - Networking 3 09-27-2003 04:04 PM
redhat network configuration little_dan Linux - Networking 5 01-02-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 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
Open Source Consulting | Domain Registration