libremesh / lime-sdk

LibreMesh software development kit
http://libremesh.org/
GNU General Public License v3.0
50 stars 36 forks source link

lime-smart-wifi #86

Closed netzcoop closed 5 years ago

netzcoop commented 5 years ago

Hello, how can we add lime-smart-wifi to the packagebuild.

we tried: in flavors.local: lime_camp="lime-basic-no-ui lime-debug -dnsmasq -wpad-mini wpad-mesh lime-smart-wifi"

and in the feeds.config: src-git libremesh https://github.com/libremesh/lime-packages.git

The Cooker comand is: ./cooker -c ar71xx/generic --flavor=lime_camp --profile=tl-wdr4300-v1 --community=camp/cpublic ( --extra-pkg="lime-smart-wifi") with and without the --extra-pkg="lime-smart-wifi" option.

Collected errors:

what we do wrong?

thank you!

aparcar commented 5 years ago

The package isn't (yet) compiled for libremesh. However I started the compile process for both 17.06 and snapshots, within the next ours it should be possible to install.

To build it on your own you have to edit libremesh.sdk.config and add CONFIG_PACKAGE_lime-smart-wifi=m and run ./cooker -b ar71xx/generic. This does take some time...

netzcoop commented 5 years ago

thank you! i give the buildprocess a try

netzcoop commented 5 years ago

Nice it is working (compiled with 17.06) with our wdr4300 and ubnt-unifiac-lite. With adding to lime_defaults: config smart_wifi 'smart_wifi' option ap_2ghz '1' option ap_5ghz '0' option mesh_2ghz '0' option mesh_5ghz '1' option all_to_mesh '0' option all_to_ap '0' list channels_2ghz '11 6 1' list channels_5ghz '44 128 100'

aparcar commented 5 years ago

:rocket:

dangowrt commented 5 years ago

On Tue, Aug 07, 2018 at 02:04:31AM -0700, netzcoop wrote:

Nice it is working (compiled with 17.06) with our wdr4300 and ubnt-unifiac-lite. With adding to lime_defaults:

Nice! So that's where the wifi settings (missing in your other post) come from in the end.

config smart_wifi 'smart_wifi' option ap_2ghz '1' option ap_5ghz '0' option mesh_2ghz '0' option mesh_5ghz '1' option all_to_mesh '0' option all_to_ap '0' list channels_2ghz '11 6 1'

PLEASE use '1 5 9 13' instead, this setting wastes about 1/3 of the spectrum only to support ancient CCK rates (ie. we can have one additional non-overlapping channel in 2.4GHz if we just set option legacy_rates '0')

list channels_5ghz '44 128 100'
netzcoop commented 5 years ago

thanx for the hint i will fix this.

aparcar commented 5 years ago

Please create a PR to change the defaults, I'm happy to merge it

netzcoop commented 5 years ago

@aparcar: sry do you mean dangowrt with the list channels or me with change: option mesh_2ghz '0' in the 90_lime-smart-wifi ?

ilario commented 5 years ago

@netzcoop I suppose the change should be in 90_lime-smart-wifi from:

uci add_list lime-defaults.smart_wifi.channels_2ghz="1 11 6"

to

uci add_list lime-defaults.smart_wifi.channels_2ghz="1 5 9 13"

Can anyone do the pull request?

nicopace commented 5 years ago

It is 1, 6 and 11 @ilario https://en.wikipedia.org/wiki/List_of_WLAN_channels

ilario commented 5 years ago

@nicopace even if I trust Wikipedia a lot, on wireless stuff I trust @dangowrt even more XD Daniel suggested (in the comment above) to use the 1 5 9 13 channels.

nicopace commented 5 years ago

Have not seen @dangowrt comment... Can you share any reference to leave as documentation for this change? Couldn't find any around... found mentions of it here:

What does it mean "some overlap if using 1,5,9,13"? how is it going to affect?