Disabling WLAN on Meteobridge RPI

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
Highlander
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Wed Mar 15, 2023 3:23 am

Disabling WLAN on Meteobridge RPI

Post by Highlander »

Hi there,
I’m wondering if there is permanent way to disable Wi-Fi radio emissions on Meteobridge RPI platform. I prefer Ethernet only. My RF meter shows WLAN activity even though Wi-Fi connection is not activated from network menu. I’m currently using ifconfig wlan down command. However it is not permanent after reboot or power outage. Any ideas?
64BC0BBC-3311-409F-AB14-5689AD04EE3D.jpeg
64BC0BBC-3311-409F-AB14-5689AD04EE3D.jpeg (56.58 KiB) Viewed 559 times
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Disabling WLAN on Meteobridge RPI

Post by Gyvate »

in the directory /etc/crontabs there is a file named "root" which contains the usual crontab entries.
I would try adding the following line either at the start or the end of the file

Code: Select all

@reboot ifconfig wlan0 down
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
Highlander
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Wed Mar 15, 2023 3:23 am

Re: Disabling WLAN on Meteobridge RPI

Post by Highlander »

Thanks Gyvate! I’ve edited mentioned root file adding new crontab and noticed that it is cleaned/reverted to original file after reboot.
My guess is the only way to permanently implement WLAN DOWN is sort of rfkill switch embedded in user menu (or fixed initial setting)?
New feature request?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Disabling WLAN on Meteobridge RPI

Post by admin »

MB PRO is just acting as a WLAN client (unless otherwise configured) and by that I can't see a security threat or adding any measurable amount of WiFi traffic. Meteobridge needs WiFi enabled to search for available WLANs in case you want to select one on "Network" tab.
Therefore, I do not want to invent another switch that adds complexity without a real benefit.
Post Reply