1 registered members (Russ),
1,132
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
S |
M |
T |
W |
T |
F |
S |
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
Only The Best Herbs!
Your best source of world-class herbal information! More... |
#1 Book We've Found!
"Silver" fillings, mercury detox, & much more. More... |
For Mercury Detox
Prevent mercury reabsorption in the colon during detox. More... |
Softcover & Kindle
Excellent resource for mercury detox. More... |
For Mercury Chelation
For calcium chelation and heart health. More... |
Must for Every Parent
The most complete vaccine info on the planet. More... |
Finally.
Relief! More... |
Dr. Sherri Tenpenny
Get the info you need to protect yourself. More... |
What everyone's talking about!
Safe, powerful, timely! More... |
There is a difference!
A powerful brain antioxidant for use during Hg detox. More... |
This changed my life!
This book convinced me remove my fillings. More... |
This is what we use!
The only multi where you feel the difference. More... |
Hair Tests Explained!
Discover hidden toxicities, easily. More... |
Have Racing Thoughts?
Many use GABA for anxiety and better sleep. More... |
Help Them!
Natural health for pets. More... |
The Bible We Use!
King James with study notes by Bullinger. More... |
The Bible We Use!
King James with study notes by Bullinger. More... |
Food Additives
Protect your family from toxic food! More... |
|
|
|
|
Raspberry Pi 3: How To Disable the WiFi Transmitter
#81166
10/23/16 03:52 AM
10/23/16 03:52 AM
|
OP
Master Elite Member
|
Joined: Dec 1999
Posts: 30,795
Maine, USA
|
|
Raspberry Pi 3: How To Disable the WiFi TransmitterThis post applies to the Raspberry Pi 3.We turned our Raspberry Pi 3 into a WiFi hotspot, but extended exposure to WiFi can be harmful to health, so we created a simple way to disable the Raspberry Pi 3 WiFi transmitter when it's not in use. Disable The TransmitterWe have tested the transmitter with an RF intensity meter to confirm that this method actually powers down the transmitter so it no longer emits RF energy. This is the statement you need to use. There is no known method to restart a powered-down transmitter at this time, so to enable WiFi again, you must reboot the Pi: How To Put a One-Touch Button On the Taskbar To Disable WiFiWe wanted to make it as easy as possible for people to disable WiFi when it was not in use. To create a button on your taskbar takes 3 easy steps. STEP 1: Write a script to disable WiFi.First, edit/create this file (in your home folder): sudo nano /home/pi/disable-wifi.sh Paste this code into the file:
#/usr/bin/sh
echo Shutting down WiFi...
sudo ifconfig wlan0 down
echo WiFi has been disabled.
sleep 3
Now, save the file and mark it as an executable:
sudo chmod 700 /home/pi/disable-wifi.sh
Good, now we have a script that disables the WiFi transmitter. You can run this from the command line if you want, but we want a button on the taskbar to make it easy to run the file with a mouse or touchscreen. STEP 2: Prepare An IconWe need an icon to display on the taskbar. This is important. You can just download the icon below (or any icon of your choice), but it must be in this directory on your Pi 3, and it must be named as shown: /usr/share/icons/no-wifi.png You can just grab the icon from our server if you like. Here is the procedure from the Pi 3 command line:
cd /usr/share/icons/
wget orbisvitae.com/assets/images/misc/no-wifi.png
Here is the image in case you just want to download it using your Pi's browser: STEP 3: Create the Taskbar ButtonNow we need to create the file that actually displays a taskbar button, so edit/create the "desktop" file: sudo nano /home/pi/.local/share/applications/disable-wifi.desktop Paste this code into the file:
[Desktop Entry]
Name=Disable WiFi
Comment=Turn off the WiFi transmitter
Icon=/usr/share/icons/no-wifi.png
Exec=/home/pi/disable-wifi.sh
Type=Application
Encoding=UTF-8
Terminal=true
Categories=Utility;
Now, you may or may not need to reboot your Pi to see the new button, but usually the button will simply appear when the file is created and saved. If you need to reboot, do this: Now you will have a taskbar button that disables the WiFi transmitter on your Raspberry Pi 3. If you found this post helpful, please share by copying and sharing the URL of this page.
Last edited by Russ; 10/23/16 04:09 AM.
|
|
|
|