LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-03-2004, 11:26 PM   #1
penny21
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
how to configure network


hi

I am using a 4 port SMC router. 1 port for my winxp, 1 port for redhat9 and 2 unused.

i have got the following under my /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
onBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet

when i type ifup eth0, it trys to determine IP info for eth0 but failed.

under my network configuration, the eth0 device is inactive but i cant activate it. No idea why also.

please help
 
Old 04-03-2004, 11:36 PM   #2
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
The first question is this...

Is there actualy a DHCP server on your network. It sounds to me like there is not.

MrKnisely
 
Old 04-04-2004, 01:07 AM   #3
penny21
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
i used automatic obtain IP address settings with DHCP

i have no idea how this all works for linux.
 
Old 04-04-2004, 03:06 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
it doesn't work "for linux" it works for an ethernet network... do you or do you not have a dhcp server on your computer network? if not then you will need a static IP address.
 
Old 04-04-2004, 03:31 AM   #5
penny21
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
i suppose it is a dhcp server. den how do i do the rest of the configuration?
 
Old 04-04-2004, 08:29 AM   #6
zowey
Member
 
Registered: Feb 2004
Location: Croatia
Distribution: slackware 10.1, debian sarge, knoppix, ubuntu 7.04
Posts: 67

Rep: Reputation: 15
as first you must set one box to be dhcp server, one to be gateway etc. dhcp server must have static ip, gateway as well. other machines can have static ip but it's not necessary.
 
Old 04-04-2004, 09:01 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
Originally posted by penny21
i suppose it is a dhcp server. den how do i do the rest of the configuration?
you can't suppose anything. as i said you either have a dhcp server or you don't, and you need to KNOW that for a FACT.
 
Old 04-04-2004, 02:19 PM   #8
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Let's start small....

Does your XP sytem get an IP address automatically? If so, what is it's IP address.

Next, can you please post the output of the command: dmesg

There will me LOTS of stuff, try to figure out the part that deals with Eth0. If you can't figure out what is important and what is not, just post it all and we'll take care of it.

Lastly, what network card do you have? Is it built into your motherboard or is it a seperate card. What is the maker/model of the card?

Thanks!

MrKnisely
 
Old 04-06-2004, 10:52 AM   #9
penny21
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Original Poster
Rep: Reputation: 0
hi

thanks for all the help!!! I managed to make it work only after re-installing linux on my system. Actuallie got another pc to configure for linux but really got no time for it so giving up on it.

thanks for the help again.
 
  


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 configure my network on slackware 10.0 so i can access a windows network salviadud Linux - Newbie 2 02-11-2005 01:19 PM
how to configure a new network halovivek Linux - Networking 1 12-04-2003 10:59 AM
configure network athenerx Linux - Networking 1 06-08-2002 11:36 AM
NETWORK CONFIGURE rajufrancisa Linux - Networking 3 04-05-2001 11:44 AM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM


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

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