[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
And if/when one doesn't have rfkill installed ...: Re: BerkeleyLUG meetup this Sunday 2019-10-27 at Cafe Blue Door
- To: BerkeleyLUG <berkeleylug@googlegroups.com>
- Subject: And if/when one doesn't have rfkill installed ...: Re: BerkeleyLUG meetup this Sunday 2019-10-27 at Cafe Blue Door
- From: "Michael Paoli" <Michael.Paoli@cal.berkeley.edu>
- Date: Wed, 30 Oct 2019 00:15:46 -0700
- Arc-authentication-results: i=2; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-authentication-results: i=1; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent :content-disposition:mime-version:in-reply-to:references:subject:to :from:date:message-id:sender:dkim-signature; bh=KZdv2UA+0Io7hudyWjRq8I5iwn2kHyDnnPsxiUYlKl8=; b=ni4QVrGYA34cC/q52d2Vp+WxO8qs4n9YVJuQKpaVkRdb5yCJO0Z+Q8kIFOlxGh25Kp h1c47PU2Qmbi/oicViiJU0cQcCsh9J6Iu/SZua+3pe9SeBT8JplyLR3mCioT1VMP0RTs tk56HiKHPEj//DgLqfiyL0/IqdK3yOVW4EWfriiwSNslJ43YnAxrqPuM4KnM5WN7gBHl UTfP1Lld21YyhqdMv+P7c7qDga0ai/gAsQuAqBXNY2kZ6/g3BGksSo2vZTpm9m6OaHn5 Iz1exd2Rc+0tJ5kQAl6Lhj1rsSEp3hhhP2WVcC3nVG0cxtPRNU5S8I+jzqWxIX3gB1Sy 2olw==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:content-disposition :mime-version:in-reply-to:references:subject:to:from:date:message-id; bh=s+5gTv8qTxvwhIAFkGAVyIeIgP/1mXwKuh0YY/DB9+I=; b=vS1dP9VTu8DDXIu4TknpMiO0RgkNkoG3KkyiTqXShaBsKpX9DmTqsGIetxM5SQVwbS wtrRDrg886s6kKf9w2dERDV6NcPJ4cDXEFb/ieZqfiEl9mCk+Kpm+mX3XggVbQ5znA8p sEOyYjy09Vn6EYhlxEIxKIis+6ylufeBJKAF3ar6/QFSavV0Ogoef9CIe0CVL8Lb+wUl SuMW6/TH9h6hRl5yY249eXzMxnJolXmFRshZYixdMNnLQa3MtzMbEfuNpKJsYq1L3DTq ygcsXf48tGaiUHo+uknFbJjlGdX7lfCyJGkg2KPKRe6qJi8Go5cx8cc8VrqkKuxenFBF jmyA==
- Arc-seal: i=2; a=rsa-sha256; t=1572419747; cv=pass; d=google.com; s=arc-20160816; b=rzR1McqqCaFS8ZXrYBTeLJ1Z90S9EDLlTqZXWURVQBDKjlSWYGCjdgUWoX18URYfwH uXhS6GQ9T0XmjhWuGiVXBDFjtttrRkuMk4nOEm61jtFKx579YDQ1eVH2cHynr5Idnknh 9cu1wcv2TdHd04MTVP8+4rAQGlHRloPdX8RolraUfZP6Q4UclSJoGIow1xWAnZ/qUaXo 8s7hzT4kK7IWTpAlqsmWxYt1jpUIMI/Aj9uG409+TiO9c/g08cuT24VJ1MMq9VZXM69/ /BIfoFUly8PA+hOujCFChsdD9L6kjJt0R2LTEd/mVxfcVOmtu+uMly2eY61x8x6ZIExF N/QQ==
- Arc-seal: i=1; a=rsa-sha256; t=1572419746; cv=none; d=google.com; s=arc-20160816; b=yDVPpPYl9ctoG4dXdZ8/ffQPrz9ye63Ktk19xtjoAZ/OztwVEpbYNCp0kEzE7+tki1 AS8MIQEKfBb7R73ERjEnNj5abn4XzS4vJ8r9mbE9uDoUFdEkvnVoYA6Nt8eRMCEoUhBM bYfqfkpe8VNAw1lglAG5YgWVRKG/vV6Z5ubgLQjmkO0Lchx14UgjpJ+b2qjpJ9ikS3Tk f/cqjbaz+R0rmBxqgEtj16fwTq1PGcBWpHThe7IloUQ7hSt3SQtuFVHzqD4wffQayafa DwFsYY2yCaz/Qd7iljttralIiz9k7GNc4q9B4OSDUMfS8t6rlgxU1nczVqt8Y7S5+5HR rRaQ==
- Delivered-to: historian@entropia.netisland.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:date:from:to:subject:references:in-reply-to :mime-version:content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=KZdv2UA+0Io7hudyWjRq8I5iwn2kHyDnnPsxiUYlKl8=; b=kWMtzcsnUKCfacH9LPKtRcUjNiEAMh068d60PUfnf5Js18S9kqqqP/AEtJTXXjgH+4 vgmjoJR3MpmoRTlHruUfvs+q4ghfQ89H4sBliiDbUMj1vkUHEWnPcpBfRciDbP5QFtWS 40fNGwI2DVhl5MCZz/lvoNZJ+3YHRO+v6Mr4ixm0wLx26+9NNzdlwL5Qd4mrkdvu6XJ/ th/sgbuOYjmQkwNfzQWXiZ5lkB6q0E8jbeZ3jCPGZYTjjAn3/pMwSyLaYqUj3XAouxja 1sR/22nFK68RNnXXQx2BB0OpwcB6/m+psOgqaDep6/17wU6+HfII5YVBlrbBb+uZHk0S Bxvg==
- In-reply-to: <CAGpvfsq7tDax=9XnrdG25eFyRbkA1WMaRwfn6TA4BNowR9NN-w@mail.gmail.com>
- List-archive: <https://groups.google.com/group/berkeleylu>
- List-help: <https://groups.google.com/support/>, <mailto:berkeleylug+help@googlegroups.com>
- List-id: <berkeleylug.googlegroups.com>
- List-post: <https://groups.google.com/group/berkeleylug/post>, <mailto:berkeleylug@googlegroups.com>
- List-subscribe: <https://groups.google.com/group/berkeleylug/subscribe>, <mailto:berkeleylug+subscribe@googlegroups.com>
- List-unsubscribe: <mailto:googlegroups-manage+61884646931+unsubscribe@googlegroups.com>, <https://groups.google.com/group/berkeleylug/subscribe>
- Mailing-list: list berkeleylug@googlegroups.com; contact berkeleylug+owners@googlegroups.com
- References: <d99a8762-3100-453f-90ee-fb8e095bbc4a@googlegroups.com> <CA+znOQES-E03CYsnW_dJ3oX52p4WP-Si4ckE2CL=cLiKaKi_Dw@mail.gmail.com> <CAGpvfsoc8bHLREQcgqVvqVz4y3GJ8868wJgW01t=pim9BihYww@mail.gmail.com> <20191027142440.167111lsuhjpt9nk@webmail.rawbw.com> <CAGpvfsq7tDax=9XnrdG25eFyRbkA1WMaRwfn6TA4BNowR9NN-w@mail.gmail.com>
- Reply-to: berkeleylug@googlegroups.com
- Sender: berkeleylug@googlegroups.com
- User-agent: Internet Messaging Program (IMP) H3 (4.2.1-RC1)
And if/when one doesn't have rfkill installed ...:
From: "tom r lopes" <tomrlopes@gmail.com>
Subject: Re: BerkeleyLUG meetup this Sunday 2019-10-27 at Cafe Blue Door
Date: Sun, 27 Oct 2019 17:13:38 -0700
but rfkill was not installed.
# find /proc /dev /sys -name '*rfkill*' -exec ls -Lonid \{\} \; | sort -bn
37371 drwxr-xr-x 6 0 0 Jun 21 09:31 /sys/module/rfkill
37404 drwxr-xr-x 2 0 0 Oct 30 07:01 /sys/class/rfkill
37405 drwxr-xr-x 3 0 0 Jul 31 14:47 /sys/devices/virtual/misc/rfkill
37405 drwxr-xr-x 3 0 0 Oct 30 07:03 /sys/class/misc/rfkill
40100 -r--r--r-- 1 0 4096 Oct 30 07:03
/sys/module/dell_laptop/parameters/force_rfkill
40156 drwxr-xr-x 4 0 0 Aug 25 00:54 /sys/devices/platform/dell-laptop/rfkill
40157 drwxr-xr-x 3 0 0 Aug 25 00:54
/sys/devices/platform/dell-laptop/rfkill/rfkill0
40157 drwxr-xr-x 3 0 0 Oct 30 07:03 /sys/class/rfkill/rfkill0
40179 drwxr-xr-x 3 0 0 Aug 25 00:54
/sys/devices/platform/dell-laptop/rfkill/rfkill1
40179 drwxr-xr-x 3 0 0 Oct 30 07:03 /sys/class/rfkill/rfkill1
40241 drwxr-xr-x 3 0 0 Aug 25 00:54
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill2
40241 drwxr-xr-x 3 0 0 Oct 30 07:03 /sys/class/rfkill/rfkill2
40266 -r--r--r-- 1 0 4096 Oct 30 07:03
/sys/module/dell_rbtn/parameters/auto_remove_rfkill
71569 crw-rw-r--+ 1 0 10, 57 Jun 14 10:46 /dev/rfkill
#
Notice also that some of those are same inode number on same filesystem,
thus (are or link to) same file.
# grep . /sys/class/rfkill/rfkill*/{hard,soft} | sort
/sys/class/rfkill/rfkill0/hard:1
/sys/class/rfkill/rfkill0/soft:0
/sys/class/rfkill/rfkill1/hard:1
/sys/class/rfkill/rfkill1/soft:1
/sys/class/rfkill/rfkill2/hard:1
/sys/class/rfkill/rfkill2/soft:0
# ls -l /sys/class/rfkill/rfkill*
lrwxrwxrwx 1 root root 0 Oct 30 07:03 /sys/class/rfkill/rfkill0 ->
../../devices/platform/dell-laptop/rfkill/rfkill0
lrwxrwxrwx 1 root root 0 Oct 30 07:03 /sys/class/rfkill/rfkill1 ->
../../devices/platform/dell-laptop/rfkill/rfkill1
lrwxrwxrwx 1 root root 0 Oct 30 07:06 /sys/class/rfkill/rfkill2 ->
../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill2
# rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
#
... flip the hardware switch, and:
# rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
12: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
# grep . /sys/class/rfkill/rfkill*/{hard,soft} | sort
/sys/class/rfkill/rfkill0/hard:0
/sys/class/rfkill/rfkill0/soft:0
/sys/class/rfkill/rfkill1/hard:0
/sys/class/rfkill/rfkill1/soft:1
/sys/class/rfkill/rfkill2/hard:0
/sys/class/rfkill/rfkill2/soft:0
#
Flip the (Wi-Fi) softs:
# echo 1 | tee /sys/class/rfkill/rfkill[02]/soft >> /dev/null
# echo 0 > /sys/class/rfkill/rfkill1/soft
# rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
13: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
#
Set 'em as they were before:
# echo 0 | tee /sys/class/rfkill/rfkill[02]/soft >> /dev/null
# echo 1 > /sys/class/rfkill/rfkill1/soft
# rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
#
--
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/berkeleylug/20191030001546.37264yn0ywpxpx28%40webmail.rawbw.com.