<br><font size=2 face="sans-serif">Richard, to be sure about the packet
arriving at the radius machine and see the content of the packet you can
use "netcat".</font>
<br><font size=2 face="sans-serif">@radius-server : nc -l -u -p 1812 -vv
-o /tmp/dump_hex_packet (will use UDP and dump hex info)</font>
<br><font size=2 face="sans-serif">@client_machine : radtest as usual</font>
<br>
<br><font size=2 face="sans-serif">hope it helps</font>
<br>
<br><tt><font size=2>freeradius-users-bounces+antolini=ar.ibm.com@lists.freeradius.org
wrote on 10/26/2006 09:29:27 AM:<br>
<br>
> Hi, </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Actually, the 0 in the radtest command means
NAS-Port. Since 1812 is<br>
> the default port for radius defined in /etc/service, the Access-<br>
> Request is always sent to port 1812.</font></tt>
<br><tt><font size=2>> I can see the same messege as follow when I type
both 0 or 1812:</font></tt>
<br><tt><font size=2>> Sending
Access-Request of id 40 to IP of server port 1812</font></tt>
<br><tt><font size=2>>
User-Name = "username"</font></tt>
<br><tt><font size=2>>
User-Password = "password"</font></tt>
<br><tt><font size=2>>
NAS-IP-Address = 255.255.255.255</font></tt>
<br><tt><font size=2>>
NAS-Port = 0/1812 (According
to the number<br>
> typed in radtest command)</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Now, I am not sure wether the RADIUS server receives
the Access-<br>
> Request from the client or not. As I said, I can see the packet <br>
> arrives at the interface and port of the server, but no information
<br>
> printed out in RADIUS debug mode. </font></tt>
<br><tt><font size=2>> And the local test just works fine.</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Thanks!</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> BR</font></tt>
<br><tt><font size=2>> Richard</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> <br>
> <br>
> </font></tt>
<br><tt><font size=2>> On 10/26/06, Vasea Marii <vascim@yahoo.com>
wrote: </font></tt>
<br><tt><font size=2>> I guess you didn't type " radtest username
password localhost 0 <br>
> sharedsecret" but " radtest username password localhost
1812 <br>
> sharedsecret" why send it to the port 0? </font></tt>
<br><tt><font size=2>> <br>
> <br>
> richard Bai <baixin@gmail.com> wrote: </font></tt>
<br><tt><font size=2>> <br>
</font></tt>
<br><tt><font size=2>> Hi, everyone,</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> I face a very strange problem right now when
I configure a <br>
> freeradius server with PEAP + LDAP.</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> I can start the radius in debug mode properly.
I get following lines:</font></tt>
<br><tt><font size=2>> Listening on authentication *:1812</font></tt>
<br><tt><font size=2>> Listening on accounting *:1813</font></tt>
<br><tt><font size=2>> Ready to process requests.</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Then I did test by using " radtest username
password localhost 0 sharedsecret"</font></tt>
<br><tt><font size=2>> And the radius server replied with Access-Accept
message. So, I <br>
> think the serve works just fine.</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> But when I tested by using "radtest username
password IP of server 0<br>
> sharedsecret" from a client conneted to the server through a
hub, I <br>
> can not get anything back.</font></tt>
<br><tt><font size=2>> I even did not see any Access-Request information
in debug mode on <br>
> the radius server. It looks like the radius doesn't receive anything.</font></tt>
<br><tt><font size=2>> However, I sniffered the interface via Ethereal
and used " tcpdump -<br>
> v port 1812 " in the server, I do see the Access-Request packet
<br>
> received by the interface on the server, </font></tt>
<br><tt><font size=2>> I confirmed that the 1812 port is open. </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Please give me some idea. Any advices or solution
is welcome.</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Thank you very much!</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Best Regards</font></tt>
<br><tt><font size=2>> Richard</font></tt>
<br><tt><font size=2>> - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.<br>
> org/list/users.html </font></tt>
<br><tt><font size=2>> <br>
> Get your own web address for just $1.99/1st yr. We'll help. Yahoo!
<br>
> Small Business . </font></tt>
<br><tt><font size=2>> <br>
> -<br>
> List info/subscribe/unsubscribe? See http://www.freeradius.<br>
> org/list/users.html <br>
</font></tt>
<br><tt><font size=2>> - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html</font></tt>