DHCPCD: change timeout value in LM7.2?

ASmurf

Member
Sep 13, 2000
103
0
0
I tried DHCPTIMEOUT=5 in my ifcfg-eth0, but it still kicks to 60sec. Where do I change the timeout value?
 

BOFH

Senior member
Dec 31, 1999
456
0
0
2 options that I can see

1) use linuxconf as I recall it has a place for optional arguments when you setup a interface. set the option there

2) edit the ifup script and drop the switch into there
 

ASmurf

Member
Sep 13, 2000
103
0
0
I didn't find any places for optional arguements in linuxconf for LM7.2 and I already tried editing ifup. I tried editing it at two places, but I'm nor sure where exactly I can specify a timeout value.
 

BOFH

Senior member
Dec 31, 1999
456
0
0
just read up on my box some. if you're using pump you can set it in /etc/pump.conf other wise there will be a line like

if /sbin/dhcpcd $PUMPARGS -i $DEVICE ; then

change it to

if /sbin/dhcpcd $PUMPARGS -i $DEVICE --timeout 300; then

or whatever your's requires
 

ASmurf

Member
Sep 13, 2000
103
0
0
I don't use pump, but tried the same thing for dhcpcd in ifup. The timeout still stuck to 60 sec, doh
here is a chunk of my message file:
Mar 4 16:32:58 squirrel cardmgr[204]: executing: './network start eth0'
Mar 4 16:32:59 squirrel network: Setting network parameters: succeeded
Mar 4 16:32:59 squirrel cardmgr[204]: + Try `basename --help' for more information.
Mar 4 16:32:59 squirrel ifup: Usage: grep [OPTION]... PATTERN [FILE]...
Mar 4 16:32:59 squirrel ifup: Try `grep --help' for more information.
Mar 4 16:32:59 squirrel ifup: ./ifup: 127.0.0.0: command not found
Mar 4 16:32:59 squirrel network: Bringing up interface lo: succeeded
Mar 4 16:32:59 squirrel network: Enabling IPv4 packet forwarding succeeded
Mar 4 16:32:59 squirrel ifup: basename:
Mar 4 16:32:59 squirrel ifup: too few arguments
Mar 4 16:32:59 squirrel ifup: Try `basename --help' for more information.
Mar 4 16:33:59 squirrel dhcpcd[297]: timed out waiting for a valid DHCP server response
Mar 4 16:33:59 squirrel dhcpcd[353]: recvfrom: Network is down
Mar 4 16:33:59 squirrel dhcpcd[355]: recvfrom: Network is down
Mar 4 16:33:59 squirrel cardmgr[204]: start cmd exited with status 1
Mar 4 16:33:59 squirrel ifup: Determining IP information for eth0 via ...
Mar 4 16:34:04 squirrel dhcpcd[356]: timed out waiting for a valid DHCP server response
Mar 4 16:34:04 squirrel ifup: failed dammit.
Mar 4 16:34:04 squirrel network: Bringing up interface eth0: failed
 

BOFH

Senior member
Dec 31, 1999
456
0
0
looks like you don't have your LO interface up or it doesn't like your host name. I would like to know if you couldn't fix those errors showing in your logs
 

ASmurf

Member
Sep 13, 2000
103
0
0
I thought about that too...except it says that it successfully brought up lo. I could never get that error to go away. btw, what calls ifup?
oh yeah, thxs for sticking around and helping
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |