2000-12-15 12:49:57

by Matt Bernstein

[permalink] [raw]
Subject: BOOTP not working in 2.2.18?

In the file net/ipv4/ipconfig.c is a variable called ic_enabled which is
initialised to zero and never set anywhere. a check is made and bootp
isn't run if its not set. Setting it to 1 before the check makes it appear
to work.

[ The user-space bootpc doesn't want to play ball at all these days.. :-( ]


2000-12-15 17:47:21

by Matt Bernstein

[permalink] [raw]
Subject: Re: BOOTP not working in 2.2.18?

OK this means you need "ip=::::::bootp" on your command-line. I didn't
spot it documented anywhere :-( and it wasn't obvious the default
behaviour had changed until I browsed patch-2.2.18 rather than the patched
file.

I'd still like the userspace bootpc to do the job though. It just grumbles
"sendto: network is unreachable."

At 12:19 -0000 Matt Bernstein wrote:

>In the file net/ipv4/ipconfig.c is a variable called ic_enabled which is
>initialised to zero and never set anywhere. a check is made and bootp
>isn't run if its not set. Setting it to 1 before the check makes it appear
>to work.

2000-12-15 20:35:49

by Michael J. Dikkema

[permalink] [raw]
Subject: Re: BOOTP (and DHCP) not working in 2.2.18?

On Fri, 15 Dec 2000, Matt Bernstein wrote:

> In the file net/ipv4/ipconfig.c is a variable called ic_enabled which is
> initialised to zero and never set anywhere. a check is made and bootp
> isn't run if its not set. Setting it to 1 before the check makes it appear
> to work.

If I change the ic_enable variable to a 1 from 0, my DHCP starts working
again. I'll come up with a more sane patch for 2.2.18 today or
tomorrow. (unless someone else does it first)

,.;::
: Michael J. Dikkema
| Systems / Network Admin - Internet Solutions, Inc.
| http://www.moot.ca Work: (204) 982-1060
; [email protected]
',.