On Friday 13 March 2009 10:26:14 pm Tallam, Sreenivas wrote: > Hi Denys, > > Looks like I narrowed it down to the line of code that is throwing this > error. > So I moved the /usr/share/udhcpc/default.script to the one that I had. ( > the original one!!) > > And I recompiled the busybox with more debug statements within > networking/ifupdown.c > So I added debug_noise under execute() command ... > Configuring interface eth0 (inet6) > OUT: ifconfig eth0 up > OUT: ifconfig eth0 add fd20:8b1e:b255:202::1234/64 > OUT: route -A inet6 add ::/0 gw fd20:8b1e:b255:202::1 > > ifup: don't seem to have all the variables for eth0/inet6 > > And with this failure, I ran the command, on the command line directly, > to see the same failure > > # route -A inet6 add ::/0 gw fd20:8b1e:b255:202::1 > route: SIOCADDRT: Invalid argument > # > > So the failing command is under networking/ifupdown.c --> static_up6 -- > > "route -A inet6 add ::/0 gw %gateway%"
Looks like you have static IPv6 configuration. route command looks correct too, but it doesn't seem to succeed. Looks like busybox's route applet is buggy. Please do the following: run "strace -o bb_route.log route -A inet6 add ::/0 gw fd20:8b1e:b255:202::1" and send me the log; build (or take from other system) "standard" route (for example, one from net-tools 1.60) and collect the same info from it: strace -o std_route.log route_from_nettools -A inet6 add ::/0 gw fd20:8b1e:b255:202::1 -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
