Error opening '/proc/net/if_inet6' to list IPv6 interfaces

Michael Webber MichaelWebber at TELEDEX.com
Thu Nov 20 21:29:48 UTC 2008


I have setup the dhcpd.conf file and everything llo0ks like it will
start correctly and then I get the following message:

 

Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file
or directory

Can't get list of interfaces.

 

I tries /usr/local/sbin/dhcpd -4 to only use IPv4 and I still get the
this message.

 

I am not using IPv6.  I tried to compile the software with:

 

./configure --enable-dhcpv6=no

 

And I tried it with this also:

 

./configure --disable-dhcpv6

 

When I do "make"  I get :

 

Making install in client

make[1]: Entering directory `/root/Download/DHCP/dhcp-4.0.0/client'

gcc  -g -O2  -Wall -Werror -fno-strict-aliasing   -o dhclient clparse.o
dhclient.o dhc6.o ../common/libdhcp.a ../minires/libres.a
../omapip/libomapi.a ../dst/libdst.a -lcrypto

dhclient.o: In function `main':

/root/Download/DHCP/dhcp-4.0.0/client/dhclient.c:524: undefined
reference to `dhcpv6_packet_handler'

/root/Download/DHCP/dhcp-4.0.0/client/dhclient.c:524: undefined
reference to `do_packet6'

dhc6.o: In function `do_release6':

/root/Download/DHCP/dhcp-4.0.0/client/dhc6.c:1309: undefined reference
to `send_packet6'

dhc6.o: In function `do_refresh6':

/root/Download/DHCP/dhcp-4.0.0/client/dhc6.c:2995: undefined reference
to `send_packet6'

dhc6.o: In function `do_confirm6':

/root/Download/DHCP/dhcp-4.0.0/client/dhc6.c:1189: undefined reference
to `send_packet6'

dhc6.o: In function `do_select6':

/root/Download/DHCP/dhcp-4.0.0/client/dhc6.c:2111: undefined reference
to `send_packet6'

dhc6.o: In function `do_init6':

/root/Download/DHCP/dhcp-4.0.0/client/dhc6.c:1088: undefined reference
to `send_packet6'

collect2: ld returned 1 exit status

make[1]: *** [dhclient] Error 1

make[1]: Leaving directory `/root/Download/DHCP/dhcp-4.0.0/client'

make: *** [install-recursive] Error 1

 

It looks like the client is looking for IPv6. 

 

How do I stop dhcpd from using  IPv6?

 

Thanks,

 

Michael

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081120/0c6651b0/attachment.html>


More information about the dhcp-users mailing list