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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-14-2003, 04:26 PM
|
#1
|
LQ Newbie
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22
Rep:
|
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.
|
|
|
05-14-2003, 04:36 PM
|
#2
|
Member
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456
Rep:
|
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
|
|
|
05-14-2003, 04:55 PM
|
#3
|
LQ Newbie
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
05-15-2003, 01:00 AM
|
#4
|
LQ Newbie
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22
Original Poster
Rep:
|
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. 
|
|
|
05-15-2003, 11:34 AM
|
#5
|
Member
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Rep:
|
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.
|
|
|
05-19-2003, 10:14 PM
|
#6
|
LQ Newbie
Registered: May 2003
Location: Colorado Springs, CO
Distribution: Red Hat V7/V9/AS/Fedora
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:12 AM.
|
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
|
|