[radvd-devel-l] radvd on freetz (Fritzbox mod) - radvd[1865]: setsockopt(IPV6_RECVPKTINFO): Protocol not available

Pekka Savola pekkas at netcore.fi
Tue Jan 13 00:59:35 EST 2009


On Mon, 12 Jan 2009, Paul Oranje wrote:
> radvd 1.2, compiled for uClibc 0.9.29 and kernel 2.6.13, fails at
> start with . compiled with uClibc 0.9.28 radvd works well.
>
> "strace -f -r -T -v /etc/init.d/rc.radvd start" produces:
>
> [pid  2323]      0.002957 socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) =
> 4 <0.000366>
> [pid  2323]      0.001497 setsockopt(4, SOL_IPV6, 0x31 /* IPV6_??? */,
> [1], 4) = -1 ENOPROTOOPT (Protocol not available) <0.000247>
>
> How should this be fixed? in socket.c?

You could try to comment out the socket.c line about setsockopt 
IPV6_RECVPKTINFO and see if the error goes away (likely radvd doesn't 
work, but that could give an indication if this is the reason).

I'm guessing this is a problem in that version of uClibc.  You could 
try to look at the changelogs or code for clues, or try 0.9.30.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings



More information about the radvd-devel-l mailing list