LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 10-16-2020, 02:51 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
WIFI on/off magic pls on RazPi 4


I have a RazPi 4 and I'd like the config.txt magic to turn off the internal wifi. I can get it with a line in modprobe.conf, or wrestle with the machinations of NetworkManager. But I'd like to do it with a one liner in /boot/config.txt, if anyone has the syntax. I managed to read a couple of config.txt files without finding it.
 
Old 10-16-2020, 03:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Try this:

dtoverlay=disable-wifi

https://github.com/raspberrypi/firmw...verlays/README

Last edited by michaelk; 10-16-2020 at 03:37 PM.
 
1 members found this post helpful.
Old 10-16-2020, 04:57 PM   #3
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by business_kid View Post
I have a RazPi 4 and I'd like the config.txt magic to turn off the internal wifi. I can get it with a line in modprobe.conf, or wrestle with the machinations of NetworkManager. But I'd like to do it with a one liner in /boot/config.txt, if anyone has the syntax. I managed to read a couple of config.txt files without finding it.
I'm surprised you couldn't find the relevant code. There's literally dozens of results when I did a google search for it.

The command(s) to disable wireless and BT are included within the config.txt file with each SARPi release. You just need to #uncomment the relevant line(s).

For example, see this example config.txt file: https://slackware.uk/sarpi/extra/config.txt
 
1 members found this post helpful.
Old 10-17-2020, 12:07 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
I searched in my archive, but now have the relevant magic
Code:
dtoverlay=disable-wifi
Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Weird USB behaviour on RazPi 4 business_kid Linux - Embedded & Single-board computer 18 10-28-2020 12:44 PM
[SOLVED] Wifi missing on Sarpi (32bit) with RazPi 4 business_kid Slackware - ARM 21 06-26-2020 12:38 PM
[SOLVED] Fedora 32 out now. how on a RazPi 4? business_kid Fedora - Installation 12 05-02-2020 08:17 AM
Partition Magic/Boot magic and Slackware. adam1835 Linux - Newbie 5 01-11-2006 11:46 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration