ifconfig showing null ipv6 address

conn intel connintel at gmail.com
Sat May 27 07:39:15 UTC 2006


 Hello friends,

In uClinux i am using busybox for ipv6 support for that i have  enable
following flags..

1) "Ifconifg" (CONFIG_USER_BUSYBOX_IFCONFIG)
2) "Enable IP6 Support"   CONFIG_USER_BUSYBOX_IPV6

When i run the ifconfig command on board the following output is as
follow ::

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:25:FE:00:00
         inet6 addr: /64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:2057 errors:0 dropped:0 overruns:0 frame:0
         TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:685230 (669.1 KiB)  TX bytes:378 (378.0 B)
         Interrupt:8 Base address:0x4000

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: /128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The output of /proc/net/if_net6

/proc/net> cat if_inet6
fe80000000000000020425fffefe00  00 02 40 20 80     eth0
00000000000000000000000000000001 01 80 10 80       lo

& when i try to assign ip address to eth0 then

/proc/net> ifconfig eth0 add fec0::1/64
pid 73: failed 256


The LS command at /proc/net is as follows

/proc/net> ls
\0x1b[0;0manycast6\0x1b[0m       \0x1b[0;0migmp6\0x1b[0m
\0x1b[0;0mnetstat\0x1b[0m        \0x1b[0;0mrt6_stats\0x1b[0m
\0x1b[0;0msockstat6\0x1b[0m
\0x1b[0;0marp\0x1b[0m            \0x1b[0;0mip6_flowlabel\0x1b[0m
\0x1b[0;0mpacket\0x1b[0m         \0x1b[0;0mrt_cache\0x1b[0m
\0x1b[0;0msoftnet_stat\0x1b[0m
\0x1b[0;0mdev\0x1b[0m            \0x1b[0;0mipv6_route\0x1b[0m
\0x1b[0;0mpnp\0x1b[0m            \0x1b[0;0mrt_cache_stat\0x1b[0m
\0x1b[0;0mtcp\0x1b[0m
\0x1b[0;0mdev_mcast\0x1b[0m      \0x1b[0;0mmcfilter\0x1b[0m
\0x1b[0;0mraw\0x1b[0m            \0x1b[0;0msnmp\0x1b[0m
\0x1b[0;0mtcp6\0x1b[0m
\0x1b[1;34mdrivers\0x1b[0m        \0x1b[0;0mmcfilter6\0x1b[0m
\0x1b[0;0mraw6\0x1b[0m           \0x1b[0;0msnmp6\0x1b[0m
\0x1b[0;0mudp\0x1b[0m
\0x1b[0;0mif_inet6\0x1b[0m       \0x1b[0;0mnetlink\0x1b[0m
\0x1b[0;0mroute\0x1b[0m          \0x1b[0;0msockstat\0x1b[0m
\0x1b[0;0mudp6\0x1b[0m

Can any one suggest the problem i am facing ..

Thank You in Advance.

Ankur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060527/78379c65/attachment-0001.htm 


More information about the busybox mailing list