ericpaulbishop / gargoyle

Gargoyle Router Management Utility
http://www.gargoyle-router.com
468 stars 221 forks source link

Wireless Regulatory Settings (revisited) #752

Closed lantis1008 closed 6 years ago

lantis1008 commented 6 years ago

This is a revisit of #469 (now closed) which was initially rejected, and then reopened on condition of changes requested.

Allows the user to select the country they are in for regulatory purposes. The default option ensures regulatory compliance in all countries

Through the use of a new tool Gargoyle-IP-Query (leveraged off existing code from ddns_updater), we can attempt to detect the GeoIP location of the user.

The user will be allowed to set a wireless country setting under the following conditions:

The user is also presented with a large text block:

Gargoyle has attempted to determine your geographical region. If this is not correct, it is strongly recommended to leave this setting as World (Default). Setting this value incorrectly may lead to you violating regulatory standards in your region. If in doubt, choose World (Default) which is legal in all regions. By setting your country correctly, you may be allowed to use additional channels, higher transmit power or wider channel widths.

Note: You may only change this setting once.

Would appreciate testing here. I believe i have covered most bases. If this still does not fit the brief, please let me know what you would like to see differently.

francisuk1989 commented 6 years ago

Great work and great idea about GeoIP location

ericpaulbishop commented 6 years ago

Looks great, merging now.