eapol_test: override the value of Framed-MTU

Jouni Malinen j at w1.fi
Sun Jul 6 03:40:03 EDT 2008

On Thu, Jun 26, 2008 at 11:16:25AM +0200, Dana Blanaru wrote:

> Currently, when using eapol_test as a client, the access request packet
> contains Framed-MTU = 1400. I would like to reduce it to 1344. I have tried
> to include this attribute in the eapol config file but it doesn't recognize
> the network field and i got failure in parsing the config file.
> Does anyone know how to change the value of Framed-MTU?

By changing the hardcoded value in eapol_test.c:

    if (!radius_msg_add_attr_int32(msg, RADIUS_ATTR_FRAMED_MTU, 1400)) {

> Another question: how can i increase the eapol_test timeout?

-t<timeout> command line argument in the current version or by changing
eapol_test.c if you are using older version that does not have this
option (search for eloop_register_timeout calls).

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list