Re: Re: dhcpcd weirdness
did you once live in apple valley? Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: dhcpcd weirdness
Oct 11 00:08:36 isharagi dhcpcd[188]: timed out waiting for a valid DHCP server response It gets the address instantly if I start it as follows: isharagi:/# dhcpcd -h (hostname) Whereas just typing dhcpcd causes it to pause for a long time, as it does when it tries running it at boot time. The cable modem shows activity so it's doing something. What am I failing to configure properly? If these configurations are ok, what's doing this? It used to work so I figure I must have changed something and made it broken. some dhcp servers apparently need you to add -h hostname for some obscure reason (i don't know why, i just remember hearing something about that somewhere), so i suggest you check out its config man file for the equivalent. on an almost related note, i had a weird issue when i tried to use dhcp on my linux box... it'd send a dhcpdiscover, get a dhcpoffer ... and then nothing. then, one day it worked, out of the blue. *shrug* ps: you could always run tcpdump while trying to start dhcpcd, to see just wtf it's doing. -m
Re: dhcpcd weirdness
On Wed, Oct 11, 2000 at 07:46:59AM +0200, Jan Martin Mathiassen wrote: some dhcp servers apparently need you to add -h hostname for some obscure reason (i don't know why, i just remember hearing something about that somewhere), so i suggest you check out its config man file for the equivalent. But he's adding one, via his config files, no? I'm using dhcpcd and the config files, and with rogers it often takes me multiple tries to finally get an IP address. They really suck. Mike -- Michael P. Soulier [EMAIL PROTECTED] ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://www.storm.ca/~msoulier/personal.html
Re: dhcpcd weirdness
I have no problems with [EMAIL PROTECTED] service and my DHCP service, albiet, I use the command line -h not config files. I've never had a problem at all except for when the power goes out, then I have to power cycle the cable ethernet bridge and then use dhcpcd -h hostname I just put dhcpcd -h cr-your#'s in rc.local and all is fine. Doesn't debian use pump though? some dhcp servers apparently need you to add -h hostname for some obscure reason (i don't know why, i just remember hearing something about that somewhere), so i suggest you check out its config man file for the equivalent. But he's adding one, via his config files, no? I'm using dhcpcd and the config files, and with rogers it often takes me multiple tries to finally get an IP address. They really suck. -- Jason Hammerschmidt - Sapere Aude - [EMAIL PROTECTED] MacLaren McCann Interactive - direct 416.643.8560
Re: dhcpcd weirdness
Jason Hammerschmidt [EMAIL PROTECTED] writes: I have no problems with [EMAIL PROTECTED] service and my DHCP service, albiet, I use the command line -h not config files. I've never had a problem at all except for when the power goes out, then I have to power cycle the cable ethernet bridge and then use dhcpcd -h hostname I just put dhcpcd -h cr-your#'s in rc.local and all is fine. Doesn't debian use pump though? I think by default pump is used, but you can install any one of, to my knowledge, three DHCP clients. Gary
Re: dhcpcd weirdness
Well, I guess I _could_ use a shell script to start it, but it bothers me that it used to work yet suddenly does not. The config files sure seem to be written correctly. I have installed other packages since dhcpcd that mess with network things, such as ssh and oidentd, but I don't see how this would affect dhcpcd since it has its own config file?? Debian does default to pump, but I removed it as I could never get it to work. dhcpcd worked on the first try, with the caveat that -h (hostname) must be used with my ISP. The config file even worked, back then... Does anybody think that upgrading to the version in unstable might do something? I've already tried purging and reinstalling potato's version (including the files in /etc/dhcpc). Andrew W. Original Message - From: Jason Hammerschmidt [EMAIL PROTECTED] Sent: Wednesday, October 11, 2000 9:22 AM Subject: Re: dhcpcd weirdness I have no problems with [EMAIL PROTECTED] service and my DHCP service, albiet, I use the command line -h not config files. SNIP I just put dhcpcd -h cr-your#'s in rc.local and all is fine. Doesn't debian use pump though?
Re: dhcpcd weirdness (resolution)
Problem: dhcpcd wouldn't run with config files, only when configured on command line Solution: the format given in the example config file in /etc/dhcpc seems to either be incorrect or, at least, it doesn't work for my ISP (@home). The format _given_ is as follows: OPTIONS='-h (hostname)' This doesn't work for me. I have to do it this way: OPTIONS='-h (hostname)' So it turned out to be really simple after all. Thanks for the responses! Andrew W.
Re: dhcpcd weirdness (resolution)
On Wed, Oct 11, 2000 at 11:57:11AM -0400, Andrew Whitlock wrote: Problem: dhcpcd wouldn't run with config files, only when configured on command line Solution: the format given in the example config file in /etc/dhcpc seems to either be incorrect or, at least, it doesn't work for my ISP (@home). The format _given_ is as follows: OPTIONS='-h (hostname)' This doesn't work for me. I have to do it this way: OPTIONS='-h (hostname)' So it turned out to be really simple after all. Thanks for the responses! With Rogers I have to use -I for the client ID. Not sure what the difference is from hostname, but apparently there is one. Mike -- Michael P. Soulier [EMAIL PROTECTED] ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://www.storm.ca/~msoulier/personal.html