[BusyBox 0001518]: display ipv6 address issus
bugs at busybox.net
bugs at busybox.net
Thu Oct 11 11:42:06 UTC 2007
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1518
======================================================================
Reported By: arprip
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1518
Category: Networking Support
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 10-02-2007 19:27 PDT
Last Modified: 10-11-2007 04:42 PDT
======================================================================
Summary: display ipv6 address issus
Description:
Even use busybox 1.7.2 , I still can not see the ipv6 link local address by
ifconfig .
Here is the log
=========================================
br0 Link encap:Ethernet HWaddr 00:05:5D:21:99:96
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: h?.xA/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:261 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24678 (24.0 KiB) TX bytes:15610 (15.2 KiB)
eth0 Link encap:Ethernet HWaddr 00:05:5D:21:99:96
inet6 addr: h?.xA/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:291 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32743 (31.9 KiB) TX bytes:16052 (15.6 KiB)
Interrupt:6 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:05:5D:21:99:95
inet6 addr: h?.xA/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: h?.xA/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9836 (9.6 KiB) TX bytes:9836 (9.6 KiB)
======================================================================
----------------------------------------------------------------------
vda - 10-11-07 03:23
----------------------------------------------------------------------
Works for me:
# ./busybox ifconfig if 44::4/128
# ./busybox ifconfig -a
if Link encap:Ethernet HWaddr 00:16:17:6D:77:DB
inet6 addr: 44::4/128 Scope:Global
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:23
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3863 errors:0 dropped:0 overruns:0 frame:0
TX packets:3863 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:340266 (332.2 KiB) TX bytes:340266 (332.2 KiB)
# ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: if: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:16:17:6d:77:db brd ff:ff:ff:ff:ff:ff
inet6 44::4/128 scope global tentative
valid_lft forever preferred_lft forever
Example of working .config attached.
Please upload your .config
----------------------------------------------------------------------
arprip - 10-11-07 03:44
----------------------------------------------------------------------
I have found why it can not work.
The root cause is buildroot . My compiler is build from buildroot.
And suppose if your turn on buysbox ipv6 (BR_IPV6) feature. It should be
related to turn on uClibc option with ipv6 support on. but in my
buildroot.
there is no related option. So even I turn on ipv6 on busybox, but the
uClibc is still no ipv6 enable. So the problem happen. I need to
manually turn on
uClibc ipv6 support . the everything fine.
Thanks for answer.
Issue History
Date Modified Username Field Change
======================================================================
10-02-07 19:27 arprip New Issue
10-02-07 19:27 arprip Status new => assigned
10-02-07 19:27 arprip Assigned To => BusyBox
10-11-07 03:23 vda Note Added: 0002819
10-11-07 03:23 vda File Added: .config_good
10-11-07 03:23 vda Status assigned => feedback
10-11-07 03:44 arprip Note Added: 0002820
10-11-07 04:42 vda Status feedback => closed
======================================================================
More information about the busybox-cvs
mailing list