On Wed, 01 Sep 1999, Bob Meyer wrote:
> "Thomas M." wrote:
>
> > Hi
> >
> > I was just trying to get dhcpd up'n running on my server, which also has
> > all my ax25 stuff running. But dhcpd refuses to start, because it doesn't
> > know the ax0 hardware, saying ax0: unknown hardware address type 3
> >
> > Anyone got any pointers, as to how to get this thing up'n running?
>
> I got it working once, here's a diff from dhcp-2.0b1pl6/common/dispatch.c
>
> Bob
I use dhcp but not for ax25 however the latest version is 2.0, yes
2.0 its not a typo, the convention used by the writer of dhcp was
used backwards,
I have no idea if that will help you but at least 2.0 is the only
version i got to work here.
>
> 237,266d236
> < #ifdef ARPHRD_AX25
> < case ARPHRD_AX25:
> < tmp -> hw_address.hlen = 6;
> < tmp -> hw_address.htype = ARPHRD_AX25;
> < memcpy (tmp -> hw_address.haddr,
> < sa.sa_data, 6);
> <
> < break;
> < #endif
> < #ifdef ARPHRD_NETROM
> < case ARPHRD_NETROM:
> < tmp -> hw_address.hlen = 6;
> < tmp -> hw_address.htype = ARPHRD_NETROM;
> < memcpy (tmp -> hw_address.haddr,
> < sa.sa_data, 6);
> <
> < break;
> < #endif
> < #ifdef ARPHRD_ROSE
> < case ARPHRD_ROSE:
> < break;
> < #endif
> < #ifdef ARPHRD_TUNNEL
> < case ARPHRD_TUNNEL:
> < break;
> < #endif
> < #ifdef ARPHRD_CSLIP
> < case ARPHRD_CSLIP:
> < break;
> < #endif
--
Regards Richard
[EMAIL PROTECTED]