vk4tec
Posts: 131
Joined: Thu Mar 07, 2013 9:05 am
Location: Brisbane QLD
Contact: Website

eth0 only

Sat May 21, 2016 1:08 am

Hello

How can I disable wifi on a rasp pi 3 ?

I just want eth0 wired ethernet

Andrew
---------------------------------
Andrew Rich
email: [email protected]
http://www.tech-software.net/ ( hobby website )
http://59.167.159.165/ ( Raspberry Pi ADS-B server ) RTL SDR

User avatar
Pilosopong Tasyo
Posts: 116
Joined: Wed Apr 06, 2016 11:43 am
Location: /root

Re: eth0 only

Sat May 21, 2016 2:55 am

From the Pi menu, click Run... and enter the following command:

Code: Select all

sudo ifdown wlan0
Note however, that wlan0 will be enabled again the next time you reboot your Pi. If you want to disable the wireless interface everytime, you can set it in /etc/rc.local.* Again, from the Pi menu, click Run... and enter the following command:

Code: Select all

sudo leafpad /etc/rc.local
Then insert the following text on a blank line above "exit 0"

Code: Select all

ifdown wlan0
Save the file and close the text editor. The next time you reboot your Pi, wlan0 will be disabled.

*There are likely other ways to do this. But AFAIC, this procedure is pretty much straightforward and non-convoluted.
Give a man a ghoti and he'll eat for a day; teach him how to ghoti and he'll eat for life. Ghoti?! - http://i.imgur.com/mAfBUdi.png
How To Ask Questions The Smart Way - http://www.catb.org/esr/faqs/smart-questions.html

User avatar
DougieLawson
Posts: 36331
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: eth0 only

Sat May 21, 2016 2:20 pm

vk4tec wrote:How can I disable wifi on a rasp pi 3 ?

I just want eth0 wired ethernet
You should have bought a RPI2.

viewtopic.php?p=920016#p920016
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “General discussion”