vitorbrangioni
(usa Ubuntu)
Enviado em 03/02/2017 - 12:12h
meianoite escreveu:
vitorbrangioni escreveu:
MeiaNoite, o segundo código que rodei foi:
apt-get update && apt-get install -y firmware-ralink
Para instalar o driver da realtek RTL8101
Abra o terminal com o usuário root
tar vjxf 0006-r8101-1.030.02.tar.bz2
cd r8101-1.030.02
chmod +x autorun.sh
./autorun.sh
Para verificar a instalação (coloca o resultado aqui):
lsmod | grep r8101
ifconfig -a
Após rodar comando
./autorun.sh, tenho o seguinte retorno:
Check old driver and unload it.
rmmod r8169
Build the module and install
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
Backup r8169.ko
rename r8169.ko to r8169.bak
DEPMOD 4.4.0-31-generic
load module r8101
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
Completed.
Ao rodar o comando
lsmod | grep r810 tenho esse resultado:
r8101 176128 0
Ao rodar o comando
ifconfig -a tenho esse resultado:
enp3s0 Link encap:Ethernet HWaddr 44:1e:a1:77:b6:2a
inet addr:192.168.15.6 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: 2804:7f7:a584:65bc:997f:55ce:c072:434e/64 Scope:Global
inet6 addr: fe80::2b35:7fa5:6841:af5a/64 Scope:Link
inet6 addr: 2804:7f7:a584:65bc:1aa9:1269:fe81:ffc8/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4356 errors:0 dropped:0 overruns:0 frame:0
TX packets:3185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4058193 (4.0 MB) TX bytes:427540 (427.5 KB)
Interrupt:17 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6827 errors:0 dropped:0 overruns:0 frame:0
TX packets:6827 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:618524 (618.5 KB) TX bytes:618524 (618.5 KB)