diff --git a/NOTICE.txt b/NOTICE.txt index 218ce90..295cdde 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,3 +1,5 @@ +Doodle3D overrides the 802.11 regulatory domain such that channels 12 and 13 can be used. In most countries this is desired and accepted behaviour, with the notable exception being the USA. + Doodle3D uses the following external projects: Lua - Copyright (c) 1994–2013 Lua.org, PUC-Rio. - MIT license diff --git a/extra/openwrt-build/openwrt-diffconfig-extramini b/extra/openwrt-build/openwrt-diffconfig-extramini index b7eba80..b8e8531 100644 --- a/extra/openwrt-build/openwrt-diffconfig-extramini +++ b/extra/openwrt-build/openwrt-diffconfig-extramini @@ -1,6 +1,7 @@ CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_TLMR3020=y +CONFIG_ATH_USER_REGD=y # CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y # CONFIG_IPV6 is not set diff --git a/extra/openwrt-build/openwrt-diffconfig-mini b/extra/openwrt-build/openwrt-diffconfig-mini index 2f1a68f..cd9460d 100644 --- a/extra/openwrt-build/openwrt-diffconfig-mini +++ b/extra/openwrt-build/openwrt-diffconfig-mini @@ -1,6 +1,7 @@ CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_TLMR3020=y +CONFIG_ATH_USER_REGD=y # CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y # CONFIG_IPV6 is not set diff --git a/extra/openwrt-build/openwrt-diffconfig-regular b/extra/openwrt-build/openwrt-diffconfig-regular index adf6f65..6e01360 100644 --- a/extra/openwrt-build/openwrt-diffconfig-regular +++ b/extra/openwrt-build/openwrt-diffconfig-regular @@ -1,6 +1,7 @@ CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_TLMR3020=y +CONFIG_ATH_USER_REGD=y CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y CONFIG_PACKAGE_doodle3d-client=y CONFIG_PACKAGE_kmod-usb-acm=y diff --git a/post-install.sh b/post-install.sh index e4f07bb..e090572 100644 --- a/post-install.sh +++ b/post-install.sh @@ -78,7 +78,9 @@ $IPKG_INSTROOT/etc/init.d/dhcpcheck enable if [ -z "$IPKG_INSTROOT" ]; then echo "Enabling wifi device..." - uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi + uci set wireless.@wifi-device[0].disabled=0 + uci set wireless.radio0.country='NL' + uci commit wireless; wifi addFirewallNet @@ -97,6 +99,7 @@ else uci set uhttpd.main.lua_prefix='/d3dapi' uci set wireless.@wifi-device[0].disabled=0 + uci set wireless.radio0.country='NL' # TODO: add firewall net uci set network.wlan=interface EOM