LinuxQuestions.org
Help answer threads with 0 replies.
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 09-10-2004, 12:13 PM   #1
fifty
LQ Newbie
 
Registered: Sep 2004
Location: Israel
Distribution: Slackware 10
Posts: 17

Rep: Reputation: 0
Fedora core 2, how to set up network


Hello, I want to install Fedora Core 2 but before I install I want to know how I set up the internet because I dont want to get stuck without internet.
My internet in windows is that my modem is connected to a HUB and all other PC's connect to it throught the HUB. I set it up so everytime someone open the PC its automaticly connected to internet.
I want to do the same with Fedora Core 2 but I couldnt find how to set it up this way...
can you please help me?
Thanks in advanced
 
Old 09-12-2004, 05:22 PM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
How did you setup your windows machine?
If you had to make changes to your windows machine then most likely you will have to make changes in linux.
But if you can just plug your windows machine in and it works then linux should do the same things as long as it finds all your hardware.
Fedora core 2 is very new so it will most likely find everything ok and setup your network card to work in dhcp so that is what you want to leave it at cause its default.

So yeah just go through the installation and you should be fine.
 
Old 09-12-2004, 06:09 PM   #3
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Hi, so you have your main computer connected to the internet, as well as a HUB right? Then all the other computers connect to the HUB/your computer? I set up a network using a HUB about 6 month ago (just to play with, I use a wireless router for my i-net). I'll try to see if I can find someone of the site that helped me...

This was pretty much all I used I think:
http://www.e-infomax.com/ipmasq/

Your going to have to recompile your kernel. As the site tells you, you need to include "Netfilter" in your kernel (among several other things). In the netfilter config., make sure you also include ip-tables support, and you have to choose some sort of "Matching" support. I chose most of them (why not eh?), also choose REJECT support, cuz I think the script that that site has on it uses REJECT. There is also some other stuff you have to include, can't remember it all right now, looking at my config, I think, MASQUERADE, connection tracking, packet mangling, LOG support, and possbily some other stuff as well.

I think the above site tells you how to do everything but set up a dhcp server. Your going to want to configure your dhcp server (dhcpd),
this is my dhcpd.conf file (/etc/dhcpd.conf (slackware)), I created a script that automatically gets your dns servers and writes em to the conf. file, but if you don't move your computer around a lot then don't worry. If you want it, I can email it to you.

## Start of file
# dhcpd.conf
ddns-update-style none;
default-lease-time 21600;
max-lease-time 90000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
#Fill in your domain-name-servers' ip-addies below, I blanked mine out
option domain-name-servers xx.xx.xx.xx, xx.xx.xx.xx;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
}
# This is for my laptop, when that MAC logs in (my laptop) it gives it 192.168.0.100
host top {
hardware ethernet 08:00:2b:xx:xx:xx;
fixed-address 192.168.0.100;
}
## end of conf file

You should probably start the firewall you get from the site sometime after you setup your network cards, and before you do anything else with em, and start the dhcpd server anytime after that. Start dhcpd by running: dhcpd ethX (where ethX is the name of your network card)
 
Old 09-12-2004, 06:18 PM   #4
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
you dont need to recompile your kernel for any of that.
FC2 comes with kernel 2.6.5 which includes netfiter support.
The only time you need to even do anything with the firewall config is if you want to setup a firewall, its not required but a good policy.
But you dont need to do any of that to just get on the internet.
 
Old 09-12-2004, 07:23 PM   #5
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Oops, I misread. I thought he wanted to know how to setup the computer with the HUB... lol. Sorry bout that. No, FC2 should just do it automatically pretty much, Fedora is good like that. All that other stuff is if you want your linux comp to be a router. Just ignore it
 
Old 09-15-2004, 05:00 AM   #6
fifty
LQ Newbie
 
Registered: Sep 2004
Location: Israel
Distribution: Slackware 10
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks
I will install it today and try setting the internet hope it works.
 
  


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
How to set up broadband in Fedora Core 3? futurist Fedora 10 10-26-2007 04:13 PM
Hebrew Character set in fedora core 2 hq4ever Linux - Newbie 0 07-19-2004 02:26 PM
Hebrew Character set in fedora core 2 hq4ever Fedora 0 07-18-2004 02:36 PM
Modem [kppp] set-up with Fedora Core 1 OldBob Linux - Newbie 3 05-18-2004 01:02 AM
how can i set up a VPN pptp connection on fedora core 1? lynchmob09 Linux - Software 1 02-05-2004 12:46 AM

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

All times are GMT -5. The time now is 09:36 PM.

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