<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>Am 09.02.2009 um 17:17 schrieb D'AVELLA STEFANO:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <!-- Converted from text/rtf format --> <br><p><font size="2" face="Arial">Hello,</font> </p><p><font size="2" face="Arial">I am new to Freeradius. I am running Freeradius 2.1.0 on Ubuntu 8.10, built from source.</font> <br><font size="2" face="Arial">I have already read all the documentation I could find in the config files and in the wiki.</font> <br><font size="2" face="Arial"> </font> <br><font size="2" face="Arial">The machine has two network interfaces, eth0 and eth1, the first configured with ipv4 and the second with ipv6.</font> <br><font size="2" face="Arial">I am interested on using freeradius with ipv6 support so I would like to test it using it only on eth1 interface.</font> </p><p><font size="2" face="Arial">The point of my testbed will be to define a new attribute and transfer it to the client when it is authorized. </font> <br><font size="2" face="Arial">But before  doing it I am finding some problems in opening the ip6 socket in the server. </font> <br><font size="2" face="Arial">In fact I configured users and clients.conf to allow my ip6 client to connect to the server, and then in the radiusd.conf file I commented the ip4 listening option and uncommented the ip6 one. (I also commented the accounting listening part because I am not interested in it).</font></p><p><font size="2" face="Arial">The problem is that when I run the server it exits saying (last lines):</font> </p><p><i><font size="2" face="Arial"> Module: Checking session {...} for more modules to load</font></i> <br><i><font size="2" face="Arial"> Module: Checking post-proxy {...} for more modules to load</font></i> <br><i><font size="2" face="Arial"> Module: Checking post-auth {...} for more modules to load</font></i> <br><i><font size="2" face="Arial"> }</font></i> <br><i><font size="2" face="Arial">radiusd: #### Opening IP addresses and Ports ####</font></i> <br><i><font size="2" face="Arial">listen {</font></i> <br><i><font size="2" face="Arial">        type = "auth"</font></i> <br><i><font size="2" face="Arial">        ipv6addr = :: IPv6 address [::]</font></i> <br><i><font size="2" face="Arial">        port = 0</font></i> </p></blockquote><br><blockquote type="cite"><p><br><i><font size="2" face="Arial">/etc/freeradius/radiusd.conf[236]: Error binding to port for :: port 1812</font></i></p></blockquote><div>Be sure that no other freeradius is running and also that you have enough rights to open such a port.</div><div><br></div><div>Look in your inet.d or similar to avoid that another service is run instead of the planned freeradius.</div><div><br></div><br><blockquote type="cite"><p> </p> <br><p><font size="2" face="Arial">I checked if the ip6 interface is properly configured, and it seems so (i can ping other ip6 nodes, and also writing another little c program to bind an ip6 socket works fine)</font></p><p><font size="2" face="Arial">Changing port doesn't solve the issue.</font> <br><font size="2" face="Arial">Commenting or uncommenting the "interface" line in radiusd.conf doesn't change anything.</font> <br><font size="2" face="Arial">Trying different types of ip6 addresses (::1, or manually assigned ones) doesn't work either.</font> </p><p><font size="2" face="Arial">Obviously with ip4 I don't have any kind of problem.</font> </p><p><font size="2" face="Arial">I can't understand if it a freeradius configuration problem or a system configuration one.</font> </p><p><font size="2" face="Arial">Thank you for you help!</font> </p><p><font size="2" face="Arial">Regards,</font></p></blockquote><div>Have a nice day!</div><br><blockquote type="cite"><p> </p><p><font size="2" face="Arial">-- </font> <br><font size="2" face="Arial">Stefano D'Avella</font> <br><font size="2" face="Arial"> </font> </p> <br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Nicolas Goutte</div><div><br class="khtml-block-placeholder"></div><div> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">extragroup GmbH - Karlsruhe</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Waldstr. 49</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">76133 Karlsruhe</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Germany</div><div> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Registergericht: Amtsgericht Münster / HRB: 5624</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Steuer Nr.: 337/5903/0421 / UstID: DE 204607841</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></body></html>