<div dir="ltr"><div dir="ltr"><div>Hi, with the help of my hardware guru, Holden Aust, I was able to solve a wifi problem with the wifi not working on the Alamo SFUSD Thinkpad x140e notebooks that teacher Owen Peery is using to replace Microsoft Windows machines for students in at least one classroom, and probably several classrooms.  The Lubuntu 18.04 was simply not seeing the wifi cards, due to proprietary Broadcom drivers.  All I had to do was install the drivers.  It was not really even all that terribly difficult, after Holden found the proper instructions on line.  Here are the instructions:</div><div><br></div><div><a href="https://askubuntu.com/questions/847580/no-wifi-with-broadcom-43142-ubuntu-16-04" style="text-decoration:none" id="gmail-docs-internal-guid-4c4d2b95-7fff-e3a3-b583-16d38c627c40"><span style="font-size:11pt;font-family:Arial;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">https://askubuntu.com/questions/847580/no-wifi-with-broadcom-43142-ubuntu-16-04</span></a></div><div><br></div><div>Here is the output, so that you can see how it played out on this particular machine, which is machine 9:</div><div><br></div><div><a href="https://docs.google.com/document/d/1HvEUIeeHpDqD1aNbb0DBE4qMQNRXRaFR0b5uha8__3s/edit">https://docs.google.com/document/d/1HvEUIeeHpDqD1aNbb0DBE4qMQNRXRaFR0b5uha8__3s/edit</a></div><div><br></div><div>If you need an invitation to this document, please just let me know.  I have invited Holden, Lyz, and Grant, and am happy to invite others.  Many thanks to Holden in helping me solve this problem for the Alamo school, which is a direct SFUSD school, not a public charter, like KIPP was.  The teachers were complaining that these Thinkpads were too slow to use before.  Now tech teacher Owen Peery thinks the machines are fast and thinks they will be popular with teachers.<br></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 30, 2018 at 12:33 AM Holden Aust  wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It looks to me like the driver/firmware for the Broadcom BCM43142 network card is not loaded. I think that's why only the bluetooth and NOT the 802.11b/g/n circuit shows up when the rfkill utility is run. It looks like the Broadcom card has both bluetooth AND Wifi on the same card. But you have to install the driver/firmware for the WiFi part of the card to become operational and to be seen by the rfkill utility.<div><br></div><div>This article seems to show how you can install the Broadcom driver:<br><div><br></div><div><a href="https://askubuntu.com/questions/847580/no-wifi-with-broadcom-43142-ubuntu-16-04" target="_blank">https://askubuntu.com/questions/847580/no-wifi-with-broadcom-43142-ubuntu-16-04</a><br></div><div><br></div><div>When you install Ubuntu do you download the latest updates?  I hope so, since updated network card drivers will be installed along with kernel updates when you do an update.</div></div><div><br></div><div>If you run lsmod in a console, it will (as the name says list the modules which are loaded and running). I don't know exactly how the Broadcom module be named, but it will probably have the number 43142 in it. If that doesn't show up in the list generated by lsmod, it isn't loaded and that's why the WiFi isn't working.</div><div><br></div><div>If you know the name of the Broadcom WiFi module, you can get more information about it by running sudo modinfo [module name].</div><div><br></div><div>In my case, sudo modinfo r8169 this is what I get   (r8169 is the name of the wired Ethernet module on my motherboard)</div><div><br></div><div><div>filename:       /lib/modules/4.12.14-lp150.12.16-default/kernel/drivers/net/ethernet/realtek/r8169.ko</div><div>firmware:       rtl_nic/rtl8107e-2.fw</div><div>firmware:       rtl_nic/rtl8107e-1.fw</div><div>firmware:       rtl_nic/rtl8168h-2.fw</div><div>firmware:       rtl_nic/rtl8168h-1.fw</div><div>firmware:       rtl_nic/rtl8168g-3.fw</div><div>firmware:       rtl_nic/rtl8168g-2.fw</div><div>firmware:       rtl_nic/rtl8106e-2.fw</div><div>firmware:       rtl_nic/rtl8106e-1.fw</div><div>firmware:       rtl_nic/rtl8411-2.fw</div><div>firmware:       rtl_nic/rtl8411-1.fw</div><div>firmware:       rtl_nic/rtl8402-1.fw</div><div>firmware:       rtl_nic/rtl8168f-2.fw</div><div>firmware:       rtl_nic/rtl8168f-1.fw</div><div>firmware:       rtl_nic/rtl8105e-1.fw</div><div>firmware:       rtl_nic/rtl8168e-3.fw</div><div>firmware:       rtl_nic/rtl8168e-2.fw</div><div>firmware:       rtl_nic/rtl8168e-1.fw</div><div>firmware:       rtl_nic/rtl8168d-2.fw</div><div>firmware:       rtl_nic/rtl8168d-1.fw</div><div>version:        2.3LK-NAPI</div><div>license:        GPL</div><div>description:    RealTek RTL-8169 Gigabit Ethernet driver</div><div>author:         Realtek and the Linux r8169 crew <<a href="mailto:netdev@vger.kernel.org" target="_blank">netdev@vger.kernel.org</a>></div><div>suserelease:    openSUSE Leap 15.0</div><div>srcversion:     D9FE583C1D2FE3D0A0E8550</div><div>alias:          pci:v00000001d00008168sv*sd00002410bc*sc*i*</div><div>alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*</div><div>alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*</div><div>alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*</div><div>alias:          pci:v00001186d00004302sv*sd*bc*sc*i*</div><div>alias:          pci:v00001186d00004300sv*sd*bc*sc*i*</div><div>alias:          pci:v00001186d00004300sv00001186sd00004B10bc*sc*i*</div><div>alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*</div><div>alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*</div><div>alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*</div><div>alias:          pci:v000010ECd00008161sv*sd*bc*sc*i*</div><div>alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*</div><div>alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*</div><div>depends:        mii</div><div>retpoline:      Y</div><div>intree:         Y</div><div>vermagic:       4.12.14-lp150.12.16-default SMP mod_unload modversions retpoline </div><div>parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)</div><div>parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)</div></div><div><br></div><div>The lines ending with "fw" are the indication that the r8169 module includes the firmware for the various versions of the Ethernet chip that the module supports (8107, 8168, 8106, 8411, etc.)</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 11:55 PM Christian Einfeldt <<a href="mailto:einfeldt@gmail.com" target="_blank">einfeldt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi thanks, <div><br></div><div>Could you please try to copy and past this command </div><div><br></div><div>rfkill</div><div><br></div><div>and then copy and paste the output from that command?  Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 8:44 PM Peery, Owen <<a href="mailto:peeryo@sfusd.edu" target="_blank">peeryo@sfusd.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I tried that earlier script you mentioned and here is that output</div><div><br></div><div>ragingwaters@ragingwaters-op-09:~$ lspci -nn | grep -i network<br>01:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)<br></div><div><br></div><div>It looks like there is a card because of the 802.11b/g/n but is it off or on?<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 8:39 PM Peery, Owen <<a href="mailto:peeryo@sfusd.edu" target="_blank">peeryo@sfusd.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Christian,</div><div>I am at home, with an X140e, where the wifi is not working, I am plugged into my router with a ethernet cable. Here is the output after I do rfkill</div><div><br></div><div>ragingwaters@ragingwaters-op-09:~$ sudo sh -c 'printf "[Seat:*]\nallow-guest=true\n" >/etc/lightdm/lightdm.conf.d/40-enable-guest.conf'<br>[sudo] password for ragingwaters: <br>ragingwaters@ragingwaters-op-09:~$ rfkill</div></div><div dir="ltr"><div><br>ID TYPE      DEVICE                   SOFT      HARD<br></div></div><div dir="ltr"><div> 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked<br> 1 bluetooth hci0                unblocked unblocked<br>ragingwaters@ragingwaters-op-09:~$ <br><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 7:29 PM Christian Einfeldt <<a href="mailto:einfeldt@gmail.com" target="_blank">einfeldt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">hi Owen,<div><br></div><div>My current theory is that the wifi adapters on these machines have been manually turned off by pressing fn+f5.  All you have to do is press fn+f5 again to turn the wifi on (if my theory is correct).</div><div><br></div><div>Before you hit the fn+f5, you could try to just run </div><div><br></div><div>rfkill</div><div><br></div><div>just like that and you should get output that looks like this, except that this is rfkill with the wifi working:</div><div><br></div><div></div></div></div><div dir="ltr"><div dir="ltr"><div><div>ID TYPE DEVICE SOFT HARD</div><div> 0 wlan phy0 unblocked unblocked</div><div><br></div></div></div></div><div dir="ltr"><div dir="ltr"><div><div>The formatting is a little confusing but this is what it means:</div><div><br></div><div>ID (of the USB WiFi adapter)  =  0</div><div><br></div><div>Interface type =  wlan</div><div><br></div><div>Device type = phy0</div><div><br></div><div>Software control =  unblocked (i.e. not shut down but working)</div><div><br></div><div>Hardware control = unblocked (i.e. not turned off by a hardware switch but working)</div><div><br></div><div>If the report had said HARD blocked that would have meant that the hardware switch to physically turn the WiFi adapter OFF was turned OFF.</div></div><div><br></div><div>So maybe please try running </div><div><br></div><div>rfkill</div><div><br></div><div>and put that in an email to me.  Thanks! </div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 4:35 PM Peery, Owen <<a href="mailto:peeryo@sfusd.edu" target="_blank">peeryo@sfusd.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Christian,<div>I'm trying rfkill --help but I don't see anything about wifi. </div><div><br></div><div>Do I just have to open Terminal and type in rfkill --help?</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 12:23 AM Christian Einfeldt <<a href="mailto:einfeldt@gmail.com" target="_blank">einfeldt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Owen, it turns out that there is a tool called rfkill that you can use to help you diagnose whether the wifi adapter is on or off.  Please see below for more.      :-)<br><br><div class="gmail_quote"><div dir="ltr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Holden</b><br>Date: Tue, Aug 28, 2018 at 11:59 PM<br>Subject: Re: wifi issues with Ubuntu<br>To: Christian Einfeldt <<a href="mailto:einfeldt@gmail.com" target="_blank">einfeldt@gmail.com</a>><br></div><br><br><div dir="ltr"><div>There is a Linux console command named rfkill which can tell you if a WiFi adapter is switched off with a hardware switch and whether it is enabled or disabled by a software driver.</div><div><br></div>rfkill --help<div><br></div><div>Usage:</div><div> rfkill [options] command [identifier ...]</div><div><br></div><div>Tool for enabling and disabling wireless devices.</div><div><br></div><div>Options:</div><div> -J, --json             use JSON output format</div><div> -n, --noheadings       don't print headings</div><div> -o, --output <list>    define which output columns to use</div><div> -r, --raw              use the raw output format</div><div><br></div><div> -h, --help             display this help</div><div> -V, --version          display version</div><div><br></div><div>Available output columns:</div><div> DEVICE      kernel device name</div><div> ID          device identifier value</div><div> TYPE        device type name that can be used as identifier</div><div> TYPE-DESC   device type description</div><div> SOFT        status of software block</div><div> HARD        status of hardware block</div><div><br></div><div>Commands:</div><div> help</div><div> event</div><div> list   [identifier]</div><div> block   identifier</div><div> unblock identifier</div><div><br></div><div><br></div><div>The output below is the output I got when I connected a USB WiFi adapter to my desktop and ran sudo rfkill.  In this example it says that the USB WiFi adapter is named "wlan" and it is "phy" device and is unblocked (i.e. working) both with the software device driver and is not locked physically with a switch in the OFF position. I think it will probably be shown as "unblocked" when it doesn't have an on-off switch as well as when a device has an on-off switch that is set to the ON position.<br><div><br></div><div><br></div><div>ID TYPE DEVICE      SOFT      HARD</div><div> 0 wlan phy0   unblocked unblocked</div><div><br></div></div></div></div></div><div dir="ltr"><div class="gmail_quote"><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 28, 2018 at 9:24 PM Christian Einfeldt <<a href="mailto:einfeldt@gmail.com" target="_blank">einfeldt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Owen,</div><div><br></div><div>Here is the command that we need to use to find out if the machines have wifi built in.  It tells you the exact name of the wifi adapter.  I ran this command on the Alamo Thinkpad x131e that you gave me to take home.  We need to run the same command on those x140e machines that are having wifi problems.  If you don't mind, please run this command on an x140e and paste the output into an email for me.  I wish I had taken home one of those x131e machines.  I will be busy tomorrow morning until about 11:45 am and will check in with you then.  Thanks!</div><div><br></div><div>ragingwaters@ragingwaters-op-13:~$ lspci -nn | grep -i network<br>02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)<br>ragingwaters@ragingwaters-op-13:~$ <br><br></div><div>Here is the link to the Partimus tech list, in case you want to get on there and get some help.  </div><div><br></div><div><a href="http://lists.partimus.org/listinfo.cgi/tech-partimus.org" target="_blank">http://lists.partimus.org/listinfo.cgi/tech-partimus.org</a><br></div><div><br></div><div>Thanks! </div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 28, 2018 at 5:56 PM Peery, Owen <<a href="mailto:peeryo@sfusd.edu" target="_blank">peeryo@sfusd.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><a href="https://askubuntu.com/questions/235279/my-wifi-adapter-is-not-working-at-all-how-to-troubleshoot" target="_blank">https://askubuntu.com/questions/235279/my-wifi-adapter-is-not-working-at-all-how-to-troubleshoot</a><br></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656m_1566958692136442406m_3362090819481161788m_-1875714501436747366m_-3425365712489599452m_-9211359519157417258gmail-m_-333038899140728386m_-9092425090745164947gmail_signature"><div dir="ltr">-- "Harness Collective Intelligence" --<div></div><br></div></div>
</blockquote></div></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656m_1566958692136442406m_3362090819481161788m_-1875714501436747366m_-3425365712489599452m_-9211359519157417258m_-333038899140728386gmail_signature">Christian Einfeldt</div>
</blockquote></div>
</div></div><div dir="ltr"><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656m_1566958692136442406m_3362090819481161788m_-1875714501436747366gmail_signature">Christian Einfeldt</div></div></blockquote></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656m_1566958692136442406m_3362090819481161788gmail_signature"><div dir="ltr">-- "Harness Collective Intelligence" --<div><br><div>Owen Peery</div><div><div>K-5 Computer Science Teacher</div><div>Alamo Elementary School</div><div><a href="https://maps.google.com/?q=250+23rd+Avenue,+San+Francisco,+CA+94121&entry=gmail&source=g" target="_blank">250 23rd Avenue, San Francisco, CA 94121</a></div></div></div><div>@owenpeery on Twitter #CSinSF</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656m_1566958692136442406gmail_signature">Christian Einfeldt</div>
</blockquote></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901m_-5021569788936514656gmail_signature"><div dir="ltr">-- "Harness Collective Intelligence" --<div><br><div>Owen Peery</div><div><div>K-5 Computer Science Teacher</div><div>Alamo Elementary School</div><div>250 23rd Avenue, San Francisco, CA 94121</div></div></div><div>@owenpeery on Twitter #CSinSF</div></div></div>
</blockquote></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636m_379610186317332901gmail_signature"><div dir="ltr">-- "Harness Collective Intelligence" --<div><br><div>Owen Peery</div><div><div>K-5 Computer Science Teacher</div><div>Alamo Elementary School</div><div>250 23rd Avenue, San Francisco, CA 94121</div></div></div><div>@owenpeery on Twitter #CSinSF</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8157598234494623412m_2184982329537130636gmail_signature">Christian Einfeldt</div>
</blockquote></div>
</blockquote></div><br></div></div></div>