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 05-14-2003, 04:26 PM   #1
batchild
LQ Newbie
 
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22

Rep: Reputation: 15
Angry DHCP config. problems on RH 7.0


Hello,

Having a problem configuring a Compaq Deskpro PC running RH 7.0 (no patches or anything) as a DHCP client on my corporate LAN. I go into netcfg (I did give my system a fully-qualified hostname here, not sure if this is relevant), select "eth0" & select "dhcp" as the interface protocol. I save my work and try to activate eth0 and I see the message "delaying eth0 initialization" in my terminal window. Same results when I use "linuxconf". Multiple reboots fail to bring the interface up. dhcpcd also fails to start when I try to start it manually.

I don't have a static IP yet (hence the reason for me trying to get dhcp working) so I haven't tested if the NIC works with a static IP, but I AM able to successfully ping localhost without incident.

I am getting my dns info./primary default gateway/dhcp server info. from my Windows 2000 workstation (ipconfig /all), which is using DHCP without a problem.

I notice that when I configure DHCP on a Tru64 UNIX Alpha workstation (using "sysman network"), one of the things it prompts me for is a DHCP server name; I am missing something on RH because I don't see where I enter the DHCP server information in netcfg/linuxconf.

Pilot error on my part? Wouldn't be surprised. Any thoughts/suggestions/pointers are greatly appreciated.
 
Old 05-14-2003, 04:36 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you dont have to give a dhcp server name for linux. who runs the dhcp server? is it behind a firewall?

please post the results of 'ifconfig'

and the contents of '/etc/sysconfig/network-scripts/ifcfg-eth0'

you can look in '/var/log/messages' for the error messages when it is trying to get the ip
 
Old 05-14-2003, 04:55 PM   #3
batchild
LQ Newbie
 
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the quick response.

>you dont have to give a dhcp server name for linux.

Ok, thanks.

>Who runs the dhcp server?
>Is it behind a firewall?

Don't know. I am not in the office today,
but will check this tomorrow and post results.

>please post the results of 'ifconfig'

This only reports lo0 info.; eth0 doesn't show up at all.
At some point I removed eth0 and now I actually have eth1
that I configured in netcfg (which also doesn't show up in
ifconfig output). Still able to ping localhost, though.

Suspected NIC problem originally, need to look at this
more closely it seems.

>..and the contents of
>'/etc/sysconfig/network-scripts/ifcfg-eth0'

Will post here when I am in the office.

>you can look in '/var/log/messages' for the
>error messages when it is trying to get the ip

Will check this as well.

Thanks again.
 
Old 05-15-2003, 01:00 AM   #4
batchild
LQ Newbie
 
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22

Original Poster
Rep: Reputation: 15
I don't think I was clear on something:
============================

>I am getting my dns info./primary default gateway
>/dhcp server info. from my Windows 2000 workstation
>(ipconfig /all), which is using DHCP without a problem.

What I mean here is that my W2k system is a dhcp client on our corporate LAN and I am "filling in the blanks" on the linux system from the info. on the W2K system. However, it doesn't appear that I need to be doing this; dhcp SHOULD fill in the blanks for me(i.e. assign/lease me an IP address-->dns info-->primary default gateway) after I set up the NIC to be a dhcp client in netcfg or linuxconf, so this looks like it might be pilot error after all.

Time to study some more, but replies are still welcome and appreciated.
 
Old 05-15-2003, 11:34 AM   #5
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
If the W2K workstation is up and getting DHCP, and /etc/sysconfig/network-scripts/ifcfg-eth0 has a line that says
BOOTPROTO=dhcp
and the dhcpcd package is installed (verify this with 'rpm -q dhcpcd'), you should be in business.
 
Old 05-19-2003, 10:14 PM   #6
batchild
LQ Newbie
 
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22

Original Poster
Rep: Reputation: 15
Smile Problem was that NIC wasn't compiled in the kernel.

Problem solved

The system I am using has an Embedded Intel PRO/100+ Management Adapter in it, which wasn't compiled in the kernel.
I thought I could upgrade from RH 7.0 to 7.1 to get the network driver support I needed, but it didn't work.

I performed the necessary kernel build steps (slightly revised for my configuration, per the URL below) to add this NIC to my kernel:

http://www.redhat.com/docs/manuals/l...dularized.html

At any rate, I am at 7.1 and I am on the network so I am happy.

Thanks for all of the replies and suggestions.
 
  


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
config dhcp server meysam39 Linux - Networking 1 08-07-2005 10:16 AM
DHCP config problems Fritz_Monroe Linux - Newbie 7 06-16-2005 01:23 PM
DHCP config -- FC2 abelard Linux - Networking 6 09-07-2004 02:38 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM
DHCP client problems - network config RedHat123 Linux - Networking 1 12-16-2001 12:52 PM

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

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