Re: Detecting if kernel is ipv6 capable



On May 24, 11:07 am, robert <robertlazar...@xxxxxxxxx> wrote:
Hi all,

I have an embedded system which we want to run some of the installed
application like dhcp and ssh over ipv6. Is there a simple way to
determine if the OS is ipv6 capable? We are tracking down the kernel
sources to do 'make menuconfig' - but thought I'd ask if there is a
way I can know for sure in just the shell.

Robert

Check for the /proc/net/if_inet6 file. If it exists, kernel is IPv6
capable. Contents of this file will tell you what layer 3 interfaces
on your system support IPv6. Of course, I am assuming that your
embedded system is running Linux :-).

Thanks

Tejas Kokje

.



Relevant Pages