Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Now I install RedHat 7.2, Firstly 7.2 didn't recognize Ethernet Card, after installed the new driver (Intel Pro 1000 MT), 7.2 can find eth0, I can manually set IP address, but DHCp doesn't work. Need help.
i wouldn't recommend using such an old version of redhat, but the principles should still be the same. at the lowest level, to assign a DHCP addressing setup to a NIC, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and set BOOTPROTO=DHCP rather than STATIC. there will be various higher level gui to do this, like netconfig.
you don't need a dhcp hostname always, normally it's not needed. add one if youwant though. that should be all you need. so assuming that the interface IS eth0, starting the network script in /etc/init.d should go for dhcp. if not post what actually happens, maybe looking in /var/log/messages for info.