Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rssidleds: workaround high cpu load bug #165

Closed
wants to merge 1 commit into from

Conversation

everloop2
Copy link
Contributor

Workaround for high cpu load bug till https://bugs.openwrt.org/index.php?do=details&task_id=3708 is fixed.

In /etc/config/system change rssid_wlan0 option dev 'wlan0' to 'wlan0-mesh-2'.

Fixes #142.

Signed-off-by: everloop2 [email protected]

Workaround for high cpu load bug till https://bugs.openwrt.org/index.php?do=details&task_id=3708 is fixed.

In /etc/config/system change rssid_wlan0 option dev 'wlan0' to 'wlan0-mesh-2'.

Fixes freifunk-berlin#142.

Signed-off-by: everloop2 <[email protected]>
@everloop2
Copy link
Contributor Author

o.O

ci/circleci build failed: Build dependency: Please install Python >= 3.6

@Akira25
Copy link
Member

Akira25 commented Apr 3, 2021

o.O

ci/circleci build failed: Build dependency: Please install Python >= 3.6

Yeah, we just had a discussion on that in our chat...

Copy link
Member

@Akira25 Akira25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test run this on a device? Looks good to me.

@PolynomialDivision
Copy link
Contributor

could u rebase on current master? than the workflow checks shoudl work again.

@pmelange
Copy link
Collaborator

pmelange commented Apr 5, 2021

I think setting system.@rssid[0].dev should be done in the wizard when the mesh type is selected (adhoc/802.11s) and should further be implemented in the "Mesh Settings" page similarly.

Also, there should be a migration script too.

@everloop2 I look forward to seeing a new PR which handles this. Thanks for your first effort

@everloop2
Copy link
Contributor Author

I think setting system.@rssid[0].dev should be done in the wizard when the mesh type is selected (adhoc/802.11s) and should further be implemented in the "Mesh Settings" page similarly.

Also, there should be a migration script too.

@everloop2 I look forward to seeing a new PR which handles this. Thanks for your first effort

For my commit only had to "copy paste" - i am no "coder" - putting it to wizard and migration script - i am "out" xP

Possibility to select/disable wifi device for rrsidleds would be nice.

@everloop2 everloop2 closed this Apr 5, 2021
@everloop2 everloop2 deleted the patch-1 branch April 5, 2021 12:21
@everloop2
Copy link
Contributor Author

Did you test run this on a device? Looks good to me.

Only did test uci commands:

uci set system.@rssid[0].dev=wlan0-mesh-2
uci commit system

cause:

# change default hostname
if [ $(uci get system.@system[0].hostname) = OpenWrt ]; then
  uci set system.@system[0].hostname=gib-mir-einen-namen
  uci commit system
fi

prooved to be working.

@pmelange
Copy link
Collaborator

pmelange commented Apr 7, 2021

I think setting system.@rssid[0].dev should be done in the wizard when the mesh type is selected (adhoc/802.11s) and should further be implemented in the "Mesh Settings" page similarly.
Also, there should be a migration script too.
@everloop2 I look forward to seeing a new PR which handles this. Thanks for your first effort

For my commit only had to "copy paste" - i am no "coder" - putting it to wizard and migration script - i am "out" xP

Possibility to select/disable wifi device for rrsidleds would be nice.

I will try to implement this in the next few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CPE210 high cpu load bug still present
4 participants