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.
|
|
06-13-2006, 12:45 AM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Rep:
|
Dhcpdiscover
Now DHCPDISCOVER try to reconnect only 5 times:
dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
..and then:
dhclient: No DHCPOFFERS received.
dhclient: No working leases in persistent database.
dhclient: Exiting.
So how can I increase DHCPDISCOVER times to 9999 for example?
|
|
|
06-13-2006, 01:23 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
check the /etc/dhclient.conf file, is there a setting in this file for it?
|
|
|
06-13-2006, 05:21 AM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Original Poster
Rep:
|
i can`t find this option in dhclient.conf:
#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
#request subnet-mask, broadcast-address, time-offset, routers,
# domain-name, domain-name-servers, host-name;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
|
|
|
06-13-2006, 01:29 PM
|
#4
|
Member
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103
Rep:
|
Are you getting any DHCP offers ?
|
|
|
06-13-2006, 02:08 PM
|
#5
|
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260
Rep:
|
Hello go_joe,
From the messages, one can find out that no DHCPOFFER packets are sent from the DHCP server. The client is sending out DHCPDISCOVER packets, but the server is not responding fine. Have you configured the server correctly? Try configuring the server properly and check again.
To edit the timeout you can use the directive 'timeout' in '/etc/dhclient.conf' file. The default timeout is 60 seconds.
Hope you got the answer....
Contact in case of any need...
Thanks...
Last edited by vimal; 06-13-2006 at 02:17 PM.
|
|
|
All times are GMT -5. The time now is 01: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
|
|