Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NanoPI M4: Disable LEDs and WiFi

Featured Replies

Hello,

I was wondering if it is possible to disable both LEDs on this board or, at least, the green (stat) one. Also I was trying to remove wifi completely and I can do:

iwconfig wlan0 txpower off
ifconfig wlan0 down
systemctl disable wpa_supplicant

But not sure if it's possible to remove the driver from the OS and what other unnecessary software I can remove.

 

Thank you in advance.

On 12/29/2018 at 2:56 PM, TCB13 said:

I was wondering if it is possible to disable both LEDs on this board or, at least, the green (stat) one.

Thank you in advance.

 

for the LEDs you can try the following:

ls -l /sys/class/leds

(here as example from a NanoPi Neo2):

lrwxrwxrwx 1 root root 0 Feb 20 21:50 nanopi:green:status -> ../../devices/platform/leds/leds/nanopi:green:status
lrwxrwxrwx 1 root root 0 Feb 20 21:50 nanopi:red:pwr -> ../../devices/platform/leds/leds/nanopi:red:pwr

 

then echo none to the trigger of the led-name: 

 

echo 'none' > /sys/class/leds/[name_of_the_led]/trigger

 

so it should look like this:

 

echo 'none' > /sys/class/leds/nanopi:green:status/trigger

 

You only have to check the led-names of your board and add the commands in /etc/rc.local before "exit 0"

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.