Primeiro, tenho problema com esses dois comandos:
sudo make
sudo make install
Porque quando eu tento instalar o cabeçalho do Linux, é um erro de show, mas depois de um tempo tentando, eu o instalei!
Agora, sudo make
funciona, mas quando executo sudo make install
, recebo o seguinte erro:
shahab@home:~$ cd rtl8188eu-master
shahab@home:~/rtl8188eu-master$ sudo make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-7-amd64/build M=/home/shahab/rtl8188eu-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-7-amd64'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-7-amd64'
shahab@home:~/rtl8188eu-master$ sudo make install
install -p -m 644 8188eu.ko /lib/modules/4.9.0-7-amd64/kernel/drivers/net/wireless
cp rtl8188eufw.bin /lib/firmware/.
cp: cannot create regular file '/lib/firmware/.': No such file or directory
Makefile:157: recipe for target 'install' failed
make: *** [install] Error 1
shahab@home:~/rtl8188eu-master$ su
Password:
root@home:/home/shahab/rtl8188eu-master# make && make install
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-7-amd64/build M=/home/shahab/rtl8188eu-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-7-amd64'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-7-amd64'
install -p -m 644 8188eu.ko /lib/modules/4.9.0-7-amd64/kernel/drivers/net/wireless
cp rtl8188eufw.bin /lib/firmware/.
cp: cannot create regular file '/lib/firmware/.': No such file or directory
Makefile:157: recipe for target 'install' failed
make: *** [install] Error 1
root@home:/home/shahab/rtl8188eu-master#
como posso fazer isso?
edit:
saída do lsusb:
Bus 006 Device 002: ID 8087:8002 Intel Corp.
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 8087:800a Intel Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 045b:0210 Hitachi, Ltd
Bus 002 Device 002: ID 045b:0210 Hitachi, Ltd
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
Bus 001 Device 003: ID 045b:0209 Hitachi, Ltd
Bus 001 Device 006: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 004: ID 045b:0209 Hitachi, Ltd
Bus 001 Device 002: ID 09da:054f A4Tech Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
uname -a:
Linux home 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
sources.list:
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
deb http://deb.debian.org/debian stretch main
# deb-src http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian-security/ stretch/updates main
# deb-src http://deb.debian.org/debian-security/ stretch/updates main
deb http://deb.debian.org/debian stretch-updates main
# deb-src http://deb.debian.org/debian stretch-updates main
# non-free
# deb http://deb.debian.org/debian stretch main contrib non-free
# deb-src http://deb.debian.org/debian stretch main contrib non-free
# deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
# deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
# deb http://deb.debian.org/debian stretch-updates main contrib non-free
# deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
result after last solution:
seogerenciadorderedemostrarumdispositivo,poisnãoestáprontoeleprecisaserreinicializado!agoratudoestábem!!!
finalresult