LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-18-2003, 12:59 PM   #1
lucky_1811
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
adding linux to a windows lan, using a linksys router


hello everyone! i am trying to add my linux red hat 7.1 to my windows based lan. i am using cat 5 and a linksys router. i understand i have to use samba, but thats about it, the book i have is pretty basic! i need help, and soon! please someone let me know if you can help! where do i even begin!

thanks,
newbie~lucky
 
Old 12-18-2003, 01:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

You only need samba if you want to share files. So it whether you need it or not depends on what you want your LAN to do.
 
Old 12-18-2003, 01:35 PM   #3
radudley
LQ Newbie
 
Registered: Sep 2003
Location: Charleston SC
Distribution: Suse 9.0
Posts: 14

Rep: Reputation: 0
Lan Help

Go to www.techtv.com and do a search for Linux. There is a page for setting up linux and a good 3 or 4 pages of how to set up Samba.

ROB
 
Old 12-18-2003, 01:57 PM   #4
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
What are you wanting the Linux machine to do on this network? Host a web server, ftp server, share files, or simply be a client to access files on other hosts of the network?
 
Old 12-18-2003, 06:10 PM   #5
lucky_1811
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
i want to do two things. first i want to share files and use it for a back up machine for my windows files. second, i want to build an irc eggdrop bot. thanks for the info so far, please keep it coming!
 
Old 12-18-2003, 06:38 PM   #6
lucky_1811
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
i am also getting a bit confused on setting up the network config. i don't understand how to put in my domain names and all that, all i am doing now with my windows network is running a broadband connection into my linksys router. i use dhcp for the other computers. i have a name for my workgroup. but the linux setup seems so much more involved than just telling it to use dhcp. where to i put what! lol, sorry, i'm a linux rookie!
 
Old 12-18-2003, 07:02 PM   #7
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Go to System Settings -> Network
click on the interface then choose the "Edit" button at top
Check on the checkbox to use DHCP to get network address

edit /etc/resolv.conf
nameserver <ip address of linksys router>
 
Old 12-18-2003, 07:31 PM   #8
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Well, as far as the sharing, the easiest way to do it probably is with Samba. That allows your Linux box to use Windows SMB/CIFS sharing.

If you want, you could also share with ftp, which would be a little more work. Of course, you could also do that with Apache/http. I think Samba is easiest route.

As far as the IRC stuff goes, I don't really know what to tell you there, so I'll let someone else address that.

It would probably be easier for you if you upgraded RedHat to 9 or at least 8. Those are both free. If you wanted the most recent version of RedHat, you could get the Fedora for free.
 
Old 12-18-2003, 09:20 PM   #9
lucky_1811
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
i still can't understand the hostnames and all that. someone please give me a rookies step-by-step? how to i obtain the upgrades? i can work on the irc bot later. for now just want to see my linux machine on the lan. this shouldn't be so hard, but it is for someone like me who is just starting linux. i tried the above on the networking, but i still don't get the connection. i think i truely just need a step-by-step from the beginning to end (in laymen's terms) if anyone has the time to do that for me, it would be much appreciated! thank you guys for your help!

Last edited by lucky_1811; 12-18-2003 at 09:22 PM.
 
Old 12-18-2003, 10:00 PM   #10
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
I would recommend finding RedHat ISO cd images somewhere online and then reinstalling w/ those.

But if you don't want to do that, I may be able to help you with what you have now. But reinstalling with a newer version would be considerably easier I believe.
 
Old 12-19-2003, 01:12 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What upgrades are you looking for?

If you don't own a domain then just use "localhost" as it will be defined in your hosts file.

To set up your network config run "netconfig" and select to use dhcp then restart network services:
service network restart.

Then to see if it has worked run:
ifconfig

And you should have an IP address for your ethernet card - ie "eth0". if you do then try to ping it from your windows box:
ping ip.of.server.here

Let us know the results.
 
Old 12-19-2003, 02:36 PM   #12
lucky_1811
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
can i ask the obvious. what differences are there in 7.1 vs the versions you are suggesting to me?
 
Old 12-19-2003, 04:13 PM   #13
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Installation and configuration will be easier for a newbie in RH9. Also, you'll be able to download the latest version of Samba for that version easily and get it setup quite easily. Also, RH 7.1 is past its end of life support from RedHat, so you won't be able to get security updates as easily as you would be able to for RH9.

But its not 100% necessary, if you want to use 7.1, we can help you still. I just think you may find RH9 easier to use as you are new to Linux. If you think you may want a later version but don't have the bandwidth capabilities to get it, let me know, and I could burn it for you and send it via snail mail.

Last edited by sorrodos; 12-19-2003 at 04:15 PM.
 
  


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
ADSL router / DHCP / Linux / Windows XP LAN shazam75 Linux - Networking 0 02-17-2005 05:17 AM
Can not reach server from LAN after adding router Jedyte Linux - Networking 8 09-01-2004 10:48 AM
Linksys router lets Linux connect, but not windows Fear58 Linux - Networking 2 07-15-2004 11:24 PM
Linksys Router behind a Linux LAN ysa475 Linux - Wireless Networking 0 07-05-2004 09:06 PM
Linux Windows Linksys Router? Tuzinor Linux - Networking 0 12-02-2001 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:59 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