Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Anyone have a working DHCPCD for 2.2.0preXX?
@ 1999-01-10  0:55 Don_Munroe
  1999-01-10  3:09 ` Michal Jaegermann
  1999-01-10  9:08 ` Maurice Hilarius
  0 siblings, 2 replies; 5+ messages in thread
From: Don_Munroe @ 1999-01-10  0:55 UTC (permalink / raw)
  To: axp-list



The one from rawhide.redhat.com doesn't work for me... Just a bunch of
unaligned accesses...

Anyone have a working DHCPCD for 2.2.0preXX?

Thanks!
--Don
Don@Munroe.ca



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anyone have a working DHCPCD for 2.2.0preXX?
  1999-01-10  0:55 Anyone have a working DHCPCD for 2.2.0preXX? Don_Munroe
@ 1999-01-10  3:09 ` Michal Jaegermann
  1999-01-10  6:22   ` Re[2]: " Dan
  1999-01-10  9:08 ` Maurice Hilarius
  1 sibling, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1999-01-10  3:09 UTC (permalink / raw)
  To: axp-list

Don_Munroe@ns.pcp.ca wrote:
> 
> The one from rawhide.redhat.com doesn't work for me... Just a bunch of
> unaligned accesses...

It is not supposed to. It should be something on the topic in
Documentation/Changes or other files there.

> Anyone have a working DHCPCD for 2.2.0preXX?

First of all you have to turn it on by doing

echo 1 > /proc/sys/net/ipv4/ip_bootp_agent

somewhere in your startup files.  The second you likely need another
client (and, possibly, also ipchains).  Clients from

ftp://204.210.112.66/pub/dhcpcd
ftp://ftp.isc.org/isc/dhcp/test/
dhcpcd-1.3.16.tar.gz (don't know where)
maybe something from ftp://ftp.inr.ac.ru/ip-routing/

reportedly work but I do not know if anybody tried them on Alpha.

In general 2.1/2.2 kernels require various changes and expecting
that everything will work without spending some time reading
documentation has to end in failures.

  Michal


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re[2]: Anyone have a working DHCPCD for 2.2.0preXX?
  1999-01-10  3:09 ` Michal Jaegermann
@ 1999-01-10  6:22   ` Dan
  0 siblings, 0 replies; 5+ messages in thread
From: Dan @ 1999-01-10  6:22 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Body --]
[-- Type: text/plain, Size: 2815 bytes --]


I've also been trying to get DHCP working on my box.  So far I have dhcpcd-0.70 
working with kernel 2.2.0-pre3.  I have to do a
`route add default gw <gateway-addr>` after dhcpcd "fails" to actually get 
routing to work (dhcpcd will get an IP address and then fail to set the default 
route), but it does work.

Michal Jaegermann wrote:
> Don_Munroe@ns.pcp.ca wrote:
> > The one from rawhide.redhat.com doesn't work for me...
> It is not supposed to. It should be something on the topic in
> Documentation/Changes or other files there.

Well, it is dhcpcd-1.3.16-2.alpha.rpm, so it SHOULD be recent enough.
Is there some other reason why it shouldn't work?  (The same version compiled 
from the .tar.gz has the same results.)


> First of all you have to turn it on by doing
> echo 1 > /proc/sys/net/ipv4/ip_bootp_agent

That's what the ISC's documentation says, at least.  The problem is that 
/proc/sys/net/ipv4/ip_bootp_agent does not exist since 2.1.117 (which is the 
earliest version I tried.)  This is either because it's no longer necessary or 
because I cannot for the life of me figure out what kernel config option turns 
it on.  Is anyone else missing this option?


> somewhere in your startup files.  The second you likely need another
> client (and, possibly, also ipchains).

I've tried every client I can get my hands on, from dhcpcd-0.70 through 
dhcpcd-1.3.16, and several versions of the ISC client.  In some cases, the 
client just dies with an error message that I can't remember just now, in other 
cases it just does nothing and emits no errors, and with recent kernels it 
assigns an IP address but fails to set the default route, getting an "operation 
not permitted" error.  (Note that by "recent kernels" I mean 2.2.0-pre3, which
is what I'm running right now, and dhcpcd-0.70.  Apparently they re-added 
support for the obsolete raw socket access that dhcpcd-0.70 requires.) 
dhcpcd-1.3.16 does nothing, and times out after failing to find a DHCP server.

My understanding of ipchains is that it's a firewall utility.  Does it have 
some impact on DHCP support as well?


> In general 2.1/2.2 kernels require various changes and expecting
> that everything will work without spending some time reading
> documentation has to end in failures.

Unfortunately, in this case the documentation isn't good enough;  the ISC's 
documentation for their client, for example, only refers to fairly early 
development kernels, whereas recent kernels do not seem to have the 
ip_bootp_agent sysctl option.  This has also become a minor FAQ on the kernel 
list, and the answer is always "get the latest client", which fails to help.  
I, at least, am stumped.

Hopefully using dhcpcd-0.70 with the `route` command above will at least get 
you working.


Dan Morrill
Computer Scientist, Physicist



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anyone have a working DHCPCD for 2.2.0preXX?
  1999-01-10  0:55 Anyone have a working DHCPCD for 2.2.0preXX? Don_Munroe
  1999-01-10  3:09 ` Michal Jaegermann
@ 1999-01-10  9:08 ` Maurice Hilarius
  1 sibling, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 1999-01-10  9:08 UTC (permalink / raw)
  To: axp-list

With regards to your message at 08:55 PM 01-09-99 -0400,
Don_Munroe@ns.pcp.ca. Where you stated:
>
>
>The one from rawhide.redhat.com doesn't work for me... Just a bunch of
>unaligned accesses...
>
>Anyone have a working DHCPCD for 2.2.0preXX?
>
Try the older one from Red Hat 5.1 release. It works.


Best regards,

  Maurice W. Hilarius                   Telephone: 01-403-414-9319
  Hard Data Ltd.                        FAX:       01-403-456-1510
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com

  NOTE: January 25, 1999, new telephone numbers _AND_ area code:
					Telephone: 01-780-456-9771
					FAX:       01-780-456-9772



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anyone have a working DHCPCD for 2.2.0preXX?
@ 1999-01-12  0:30 Michael Tibor
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Tibor @ 1999-01-12  0:30 UTC (permalink / raw)
  To: axp-list

FYI,

dhcpcd-1.3.17 is out:

====
(From Chris Ricker <kaboom@gatech.edu>, posted to linux-kernel)

Also, those of you using DHCP and experiencing problems, can you try 

<ftp://ftp.phystech.com/pub/dhcpcd-1.3.17.tar.gz> 

and let me know if it does NOT work for you. (thanks, all, who've
suggested phystech's clients). If no one screams in the next couple of
days, I'll assume it does work and send Linus a patch to update Changes.
====

Mike
-- 
Mike Tibor         Univ. of Alaska Anchorage    (907) 786-1001 voice
LAN Technician     Consortium Library             (907) 786-6050 fax
tibor@lib.uaa.alaska.edu       http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey  for PGP public key


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-01-12  0:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-10  0:55 Anyone have a working DHCPCD for 2.2.0preXX? Don_Munroe
1999-01-10  3:09 ` Michal Jaegermann
1999-01-10  6:22   ` Re[2]: " Dan
1999-01-10  9:08 ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
1999-01-12  0:30 Michael Tibor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox