Acabei de atualizar meu laptop pré-Secure Boot, pré-UEFI * Toshiba 2012 Satellite P755-S5390 de 15.10 para 16.04. Em 15.10, o adaptador sem fio funcionou bem. Agora, o Ubuntu se recusa a reconhecer que meu laptop tem uma interface sem fio. Eu reiniciei muitas vezes, feito o seguinte:
apt install flashrom librtlsdr* nictools* r8168-dkms rtl-sdr rtl8812*
O que parecia ser bem sucedido, e uma infinidade de outras coisas que eu encontrei na net tudo sem sucesso. A tela Additional Drivers
de Software and Updates
tem uma entrada, que ela alega ser unknown
ou not working correctly
.
NetworkSettings
éumaentradacurta(àesquerda,costumavahaverumdispositivo"Wifi" ou mais):
(Antesdeperguntar,não,opequenosinaldemaisnãoajuda).
Euencontrei este post onde um usuário estava tendo um problema semelhante, e eles postaram muito dados de uma infinidade de comandos, então eu farei o mesmo aqui.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux mint-kitty 4.2.0-36-generic #41-Ubuntu SMP
Mon Apr 18 15:49:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
02:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 30)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
$ rfkill list all
<no output>
$ sudo lsmod |grep rtl
rtl8188ee 86016 0
rtl_pci 28672 1 rtl8188ee
rtlwifi 77824 2 rtl_pci,rtl8188ee
mac80211 745472 3 rtl_pci,rtlwifi,rtl8188ee
cfg80211 557056 2 mac80211,rtlwifi
$ ifconfig
enp1s0 Link encap:Ethernet HWaddr b8:88:e3:12:0f:00
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enx7a2df60b7f7a Link encap:Ethernet HWaddr 7a:2d:f6:0b:7f:7a
inet addr:192.168.42.149 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::6b2f:6a3c:64e2:5193/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22512 errors:3 dropped:0 overruns:0 frame:3
TX packets:27524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12577406 (12.5 MB) TX bytes:5778094 (5.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3687 errors:0 dropped:0 overruns:0 frame:0
TX packets:3687 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:533078 (533.0 KB) TX bytes:533078 (533.0 KB)
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.42.129 0.0.0.0 UG 100 0 0 enx7a2df60b7f7a
link-local * 255.255.0.0 U 1000 0 0 enx7a2df60b7f7a
192.168.42.0 * 255.255.255.0 U 100 0 0 enx7a2df60b7f7a
$ iw reg get
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
$ iwlist channel
lo no frequency information.
enx7a2df60b7f7a no frequency information.
enp1s0 no frequency information.
$ iwlist scan
lo Interface doesn't support scanning.
enx7a2df60b7f7a Interface doesn't support scanning.
enp1s0 Interface doesn't support scanning.
$ cat /etc/modules
coretemp
# the following commands all return the error code 1
$ dmesg | grep rtl
1 | $ dmesg | grep wifi
1 | $ dmesg | grep wl
1 | $ dmesg | grep rtlwifi
1 | $
Esse dispositivo enx7a2df60b7f7a
é a corda do meu laptop para o meu smartphone, que é como estou escrevendo este post.
Como obtenho minha wlp2s0
/ wlan0
interface sem fio de volta?
$ lspci -knn | grep Net -A2
<no output>
$ lspci -knn | grep net -A2
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05)
Subsystem: Toshiba America Info Systems RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [1179:fc30]
Kernel driver in use: r8169
Kernel modules: r8169
Esse é o dispositivo ethernet eth0
físico. Meu cartão sem fio é mencionado em /var/syslog
:
$ cat /var/log/syslog | grep -e wlan0
Apr 25 08:43:32 mint-kitty kernel: [ 7.498388] rtl8188ee 0000:02:00.0 wlp2s0: renamed from wlan0
OK, isso é antes da atualização, mas aí está.
Como sugerido aqui: Como obter o funcionamento do cartão sem fio Realtek Semiconductor Co., Ltd. RTL8188EE (rev 01) no Debian Wheezy
$ locate rtl8188ee | grep -v "debug" | grep .ko
/lib/modules/4.2.0-22-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.2.0-23-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.4.0-22-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
$ sudo modprobe -v rtl8188ee
insmod /lib/modules/4.2.0-36-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/4.2.0-36-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl_pci.ko
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
Mas o adaptador wi-fi ainda não funciona após a reinicialização.
* Meu laptop nunca teve UEFI e ainda tem apenas BIOS; como resultado, meu problema não é o mesmo que o driver Realtek RTL8723BE não funciona no Ubuntu 16.04 (kernel 4.4) .