Hello,
I need to set a netmask == (255,255,0,0) in AP mode. The initialization is ok, and if I read back the current netmask, it is correct (255,255,0,0). But when I connect a WiFi client, it gets (255,255,255,0) as netmask. Any idea to workaround this problem?
Thanks,
Francis
AP mode with a netmask == (255,255,0,0)
Re: AP mode with a netmask == (255,255,0,0)
Found out the source of the problem: there is a conditional statement
#ifdef USE_CLASS_B_NET
....
in add_offer_options (dhcpserver.c) that forces the subnet mask what ever the value defined in ip_info.
Modifying this par allows to use the specified subnet mask.
#ifdef USE_CLASS_B_NET
....
in add_offer_options (dhcpserver.c) that forces the subnet mask what ever the value defined in ip_info.
Modifying this par allows to use the specified subnet mask.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 109 guests