Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-03-2004, 11:26 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Posts: 17
Rep:
|
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
|
|
|
|
04-03-2004, 11:36 PM
|
#2
|
|
Member
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
|
The first question is this...
Is there actualy a DHCP server on your network. It sounds to me like there is not.
MrKnisely
|
|
|
|
04-04-2004, 01:07 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Posts: 17
Original Poster
Rep:
|
i used automatic obtain IP address settings with DHCP
i have no idea how this all works for linux.
|
|
|
|
04-04-2004, 03:06 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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.
|
|
|
|
04-04-2004, 03:31 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2004
Posts: 17
Original Poster
Rep:
|
i suppose it is a dhcp server. den how do i do the rest of the configuration?
|
|
|
|
04-04-2004, 08:29 AM
|
#6
|
|
Member
Registered: Feb 2004
Location: Croatia
Distribution: slackware 10.1, debian sarge, knoppix, ubuntu 7.04
Posts: 67
Rep:
|
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.
|
|
|
|
04-04-2004, 09:01 AM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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.
|
|
|
|
04-04-2004, 02:19 PM
|
#8
|
|
Member
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
|
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
|
|
|
|
04-06-2004, 10:52 AM
|
#9
|
|
LQ Newbie
Registered: Mar 2004
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|