Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
[root:localhost:~]# service dhcpd start
starting dhcpd: [failed]
[root:localhost:~]# dhclient eth0
Internet Systems Consortium DHCP Client V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/08:00:27:9a:7b:6f
Sending on LPF/eth0/08:00:27:9a:7b:6f
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping
DHCP server is the one which assigns IP address, gateway, netmask , DNS entries etc to your machine.
Please check weather DHCP Server is configured properly. Because you are getting No DHCPOFFERS received. as error. You have told that you have changed the LAN card. So MAC address might have got changed.
Change your old MAC address entry in DHCP server to new one.
Paste your /etc/dhcp.conf configuration file contents here.
# This is the communication zone
zone best.dyndns.org. {
primary 127.0.0.1;
key rndckey;
}
default-lease-time 21600; # 6 hours
max-lease-time 43200; # 12 hours
What are you trying to do?
You need ip to your system or want to configure dhcp server?
From dhcp server you will get ip?
You dont need to configure your system as dhcp server to get ip on your own system.
From some one get the details of how you get ip's to other system on network ...is it manually set or you get it through dhcp?
You are posting info to run a dhcp server. What they (above) are asking how do you connect to a network. Do you connect to a dhcp server with a dhcp client (which pulls IP from a dhcp server).
What does your
/etc/sysconfig/network-scripts/ifcfg-eth0
look like Post it please and put xx on the last to sets of your externel ip if ou are configured with it to keep it private.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.