18.04 - 电源中断后,没有dlink wifi

分享于 

10分钟阅读

ubuntu

  繁體

问题:


cd rtl8812AU_8821AU_linux


make clean


make ( **It messes up here** )




$ make


make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-116-generic/build M=/home/joanne/rtl8812AU_8821AU_linux modules


make[1]: *** /lib/modules/4.4.0-116-generic/build: No such file or directory. Stop.


Makefile:1049: recipe for target 'modules' failed


make: *** [modules] Error 2



以下查询的一些结果:


$ lshw


*-usb:2 UNCLAIMED


 description: Generic USB device


 product: 802.11n WLAN Adapter


 vendor: Realtek


 physical id: 3


 bus info: usb@2:1.3


 version: 2.00


 serial: 00e04c000001


 capabilities: usb-2.10


 configuration: maxpower=500mA speed=480Mbit




$ 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:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)


00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (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.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)


00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)


00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)


00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset LPC Controller (rev 04)


00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 04)


00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)




$ inxi


CPU~Quad core Intel Core i5-2400 (-MCP-) speed/max~1600/3400 MHz Kernel~4.4.0-116-generic x86_64 Up~2:07 Mem~1911.9/7862.7MB HDD~250.1GB(9.6% used) Procs~259 Client~Shell inxi~2.3.56 




$ nmcli device


DEVICE TYPE STATE CONNECTION 


eno1 ethernet connected Auto Ethernet


lo loopback unmanaged -- 




$ sudo lshw -C network


[sudo] password for joanne:


 *-network 


 description: Ethernet interface


 product: 82579LM Gigabit Network Connection (Lewisville)


 vendor: Intel Corporation


 physical id: 19


 bus info: pci@0000:00:19.0


 logical name: eno1


 version: 04


 serial: 78:2b:cb:a9:18:b3


 size: 100Mbit/s


 capacity: 1Gbit/s


 width: 32 bits


 clock: 33MHz


 capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation


 configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=192.168.0.106 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s


 resources: irq:27 memory:e1a00000-e1a1ffff memory:e1a80000-e1a80fff ioport:3080(size=32)




$ 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:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)


00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (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.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)


00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)


00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)


00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset LPC Controller (rev 04)


00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 04)


00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)




$ lsusb


Bus 002 Device 006: ID 0e8d:2008 MediaTek Inc.


Bus 002 Device 005: ID 2001:3314 D-Link Corp.


Bus 002 Device 004: ID 04f2:0760 Chicony Electronics Co., Ltd Acer KU-0760 Keyboard


Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse


Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub


Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub


Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub




$ nmcli g


STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN 


connected full enabled enabled enabled enabled




$ nmcli g


STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN 


connected full enabled enabled enabled enabled




joanne@joanne-OptiPlex-790:~$ nmcli n


enabled




joanne@joanne-OptiPlex-790:~$ nmcli r


WIFI-HW WIFI WWAN-HW WWAN 


enabled enabled enabled enabled




joanne@joanne-OptiPlex-790:~$ nmcli c


NAME UUID TYPE DEVICE


Auto Ethernet 03d1561f-d6d4-4752-bd31-9e5af210bf3e ethernet eno1 


MIFI2-MXAM 9fd213c2-58da-418d-aa27-ad97fca962b7 wifi -- 


PrivatVPN-US-LA-TUN-1194 b885f4df-bd81-4321-ac06-743c094508e9 vpn -- 


RCMP 1 6ada3fdc-1731-43ce-9248-475020d208fa wifi -- 


RCMP 2 82e3482a-a767-4afb-a7a1-b19e58177520 wifi -- 




joanne@joanne-OptiPlex-790:~$ nmcli d


DEVICE TYPE STATE CONNECTION 


eno1 ethernet connected Auto Ethernet




答案1:

路由器没有正确重新启动?有没有手动复位按钮?尝试断开与路由器的所有连接,并尝试访问路由器的IP。


答案2:

在编译驱动程序时遇到问题?请尝试以下过程:

将归档文件下载到临时目录。


# mkdir -p /tmp/t4u


# cd /tmp/t4u


# wget https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip



解压


# unzip master.zip


# cd rtl8812AU_8821AU_linux-master



安装内核头文件


# sudo apt install linux-headers-$(uname -r)



从源代码编译和安装


# make


# sudo make install



装入模块


# sudo modprobe -a rtl8812au



此过程在GitHub > > >https://github.com/abperiasamy/rtl8812AU_8821AU_linux



INT  POW  link  WIF  WIFI  中断  
相关文章