Estou postando o que tentei fazer para atualizar o firmware da minha placa de rede wifi Realtek: 8822CE Wireless LAN 802.11ac PCI-E NIC. Pois, não consigo acessar a internet. A internet desconecta:
homeroboaventura@endless:~$ sudo su
Presumimos que você recebeu as instruções de sempre do administrador
de sistema local. Basicamente, resume-se a estas três coisas:
#1) Respeite a privacidade dos outros.
#2) Pense antes de digitar.
#3) Com grandes poderes vêm grandes responsabilidades.
[sudo] senha para homeroboaventura:
root@endless:/sysroot/home/homeroboaventura# pwd
/sysroot/home/homeroboaventura
root@endless:/sysroot/home/homeroboaventura# ls
Documentos Downloads Imagens Músicas Vídeos
root@endless:/sysroot/home/homeroboaventura# cd Downloads
root@endless:/sysroot/home/homeroboaventura/Downloads# ls
firmware-realtek_20210315-3_all.deb
root@endless:/sysroot/home/homeroboaventura/Downloads# dpkg -i firmware-realtek_20210315-3_all.deb
dpkg: erro: não foi possível aceder ao directório /var/lib/dpkg da base de dados do dpkg: Sistema de arquivos somente para leitura
root@endless:/sysroot/home/homeroboaventura/Downloads# cd /var/lib/dpkg
root@endless:/var/lib/dpkg# cd …
root@endless:/var/lib# cd …
root@endless:/var# cd …
root@endless:/# ls -l /var
total 32
drwxr-xr-x 13 root root 4096 fev 8 23:03 cache
-rw-r–r-- 1 root root 0 dez 11 14:11 eos-booted
-rw-r–r-- 1 root root 0 dez 31 1969 eos-swap-reclaimed
lrwxrwxrwx 1 root root 15 dez 11 14:11 home -> …/sysroot/home
drwxr-xr-x 27 root root 4096 jan 9 20:56 lib
drwxr-xr-x 2 root root 4096 out 14 06:54 local
lrwxrwxrwx 1 root root 11 out 14 06:53 lock -> …/run/lock
drwxr-xr-x 8 root root 4096 fev 8 22:28 log
drwxr-xr-x 2 root root 4096 dez 11 14:11 opt
drwx------ 3 root root 4096 dez 11 14:11 roothome
lrwxrwxrwx 1 root root 6 out 14 06:53 run -> …/run
drwxr-xr-x 3 root root 4096 dez 11 14:11 spool
drwxrwxrwt 35 root root 4096 fev 14 15:46 tmp
root@endless:/# chmod 777 /var/*
root@endless:/# ls -l
total 28
lrwxrwxrwx 5 root root 7 out 13 19:39 bin -> usr/bin
drwxr-xr-x 6 root root 4096 fev 8 22:27 boot
drwxr-xr-x 20 root root 4540 fev 14 15:45 dev
drwxr-xr-x 121 root root 4096 fev 14 15:45 etc
lrwxrwxrwx 3 root root 9 out 13 19:39 home -> /var/home
lrwxrwxrwx 5 root root 7 out 13 19:39 lib -> usr/lib
lrwxrwxrwx 5 root root 9 out 13 19:39 lib64 -> usr/lib64
lrwxrwxrwx 3 root root 10 out 13 19:39 media -> /run/media
drwxr-xr-x 2 root root 4096 dez 31 1969 mnt
lrwxrwxrwx 3 root root 8 out 13 19:39 opt -> /var/opt
lrwxrwxrwx 3 root root 15 out 13 19:39 ostree -> /sysroot/ostree
dr-xr-xr-x 367 root root 0 fev 14 15:45 proc
lrwxrwxrwx 3 root root 13 out 13 19:39 root -> /var/roothome
drwxrwxrwx 35 root root 800 fev 14 15:45 run
lrwxrwxrwx 5 root root 8 out 13 19:39 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 dez 31 1969 srv
dr-xr-xr-x 13 root root 0 fev 14 15:45 sys
drwxr-xr-x 12 root root 4096 fev 8 22:28 sysroot
drwxrwxrwt 18 root root 420 fev 14 15:47 tmp
drwxr-xr-x 12 root root 4096 dez 31 1969 usr
drwxr-xr-x 10 root root 4096 fev 8 22:28 var
root@endless:/# ls -la
total 36
drwxr-xr-x 14 root root 4096 fev 8 21:48 .
drwxr-xr-x 14 root root 4096 fev 8 21:48 …
lrwxrwxrwx 5 root root 7 out 13 19:39 bin -> usr/bin
drwxr-xr-x 6 root root 4096 fev 8 22:27 boot
drwxr-xr-x 20 root root 4540 fev 14 15:45 dev
drwxr-xr-x 121 root root 4096 fev 14 15:45 etc
lrwxrwxrwx 3 root root 17 out 13 19:39 .fscrypt -> /sysroot/.fscrypt
lrwxrwxrwx 3 root root 9 out 13 19:39 home -> /var/home
lrwxrwxrwx 5 root root 7 out 13 19:39 lib -> usr/lib
lrwxrwxrwx 5 root root 9 out 13 19:39 lib64 -> usr/lib64
lrwxrwxrwx 3 root root 10 out 13 19:39 media -> /run/media
drwxr-xr-x 2 root root 4096 dez 31 1969 mnt
lrwxrwxrwx 3 root root 8 out 13 19:39 opt -> /var/opt
lrwxrwxrwx 3 root root 15 out 13 19:39 ostree -> /sysroot/ostree
dr-xr-xr-x 367 root root 0 fev 14 15:45 proc
lrwxrwxrwx 3 root root 13 out 13 19:39 root -> /var/roothome
drwxrwxrwx 35 root root 800 fev 14 15:45 run
lrwxrwxrwx 5 root root 8 out 13 19:39 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 dez 31 1969 srv
dr-xr-xr-x 13 root root 0 fev 14 15:45 sys
drwxr-xr-x 12 root root 4096 fev 8 22:28 sysroot
drwxrwxrwt 18 root root 420 fev 14 15:47 tmp
drwxr-xr-x 12 root root 4096 dez 31 1969 usr
drwxr-xr-x 10 root root 4096 fev 8 22:28 var
root@endless:/# ls -la
total 36
drwxr-xr-x 14 root root 4096 fev 8 21:48 .
drwxr-xr-x 14 root root 4096 fev 8 21:48 …
lrwxrwxrwx 5 root root 7 out 13 19:39 bin -> usr/bin
drwxr-xr-x 6 root root 4096 fev 8 22:27 boot
drwxr-xr-x 20 root root 4540 fev 14 15:45 dev
drwxr-xr-x 121 root root 4096 fev 14 15:45 etc
lrwxrwxrwx 3 root root 17 out 13 19:39 .fscrypt -> /sysroot/.fscrypt
lrwxrwxrwx 3 root root 9 out 13 19:39 home -> /var/home
lrwxrwxrwx 5 root root 7 out 13 19:39 lib -> usr/lib
lrwxrwxrwx 5 root root 9 out 13 19:39 lib64 -> usr/lib64
lrwxrwxrwx 3 root root 10 out 13 19:39 media -> /run/media
drwxr-xr-x 2 root root 4096 dez 31 1969 mnt
lrwxrwxrwx 3 root root 8 out 13 19:39 opt -> /var/opt
lrwxrwxrwx 3 root root 15 out 13 19:39 ostree -> /sysroot/ostree
dr-xr-xr-x 366 root root 0 fev 14 15:45 proc
lrwxrwxrwx 3 root root 13 out 13 19:39 root -> /var/roothome
drwxrwxrwx 35 root root 800 fev 14 15:45 run
lrwxrwxrwx 5 root root 8 out 13 19:39 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 dez 31 1969 srv
dr-xr-xr-x 13 root root 0 fev 14 15:45 sys
drwxr-xr-x 12 root root 4096 fev 8 22:28 sysroot
drwxrwxrwt 18 root root 420 fev 14 15:47 tmp
drwxr-xr-x 12 root root 4096 dez 31 1969 usr
drwxr-xr-x 10 root root 4096 fev 8 22:28 var
root@endless:/# ls -la
total 36
drwxr-xr-x 14 root root 4096 fev 8 21:48 .
drwxr-xr-x 14 root root 4096 fev 8 21:48 …
lrwxrwxrwx 5 root root 7 out 13 19:39 bin -> usr/bin
drwxr-xr-x 6 root root 4096 fev 8 22:27 boot
drwxr-xr-x 20 root root 4540 fev 14 15:45 dev
drwxr-xr-x 121 root root 4096 fev 14 15:45 etc
lrwxrwxrwx 3 root root 17 out 13 19:39 .fscrypt -> /sysroot/.fscrypt
lrwxrwxrwx 3 root root 9 out 13 19:39 home -> /var/home
lrwxrwxrwx 5 root root 7 out 13 19:39 lib -> usr/lib
lrwxrwxrwx 5 root root 9 out 13 19:39 lib64 -> usr/lib64
lrwxrwxrwx 3 root root 10 out 13 19:39 media -> /run/media
drwxr-xr-x 2 root root 4096 dez 31 1969 mnt
lrwxrwxrwx 3 root root 8 out 13 19:39 opt -> /var/opt
lrwxrwxrwx 3 root root 15 out 13 19:39 ostree -> /sysroot/ostree
dr-xr-xr-x 366 root root 0 fev 14 15:45 proc
lrwxrwxrwx 3 root root 13 out 13 19:39 root -> /var/roothome
drwxrwxrwx 35 root root 800 fev 14 15:45 run
lrwxrwxrwx 5 root root 8 out 13 19:39 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 dez 31 1969 srv
dr-xr-xr-x 13 root root 0 fev 14 15:45 sys
drwxr-xr-x 12 root root 4096 fev 8 22:28 sysroot
drwxrwxrwt 18 root root 420 fev 14 15:47 tmp
drwxr-xr-x 12 root root 4096 dez 31 1969 usr
drwxr-xr-x 10 root root 4096 fev 8 22:28 var
root@endless:/# ls -l /var
total 32
drwxrwxrwx 13 root root 4096 fev 8 23:03 cache
-rwxrwxrwx 1 root root 0 dez 11 14:11 eos-booted
-rwxrwxrwx 1 root root 0 dez 31 1969 eos-swap-reclaimed
lrwxrwxrwx 1 root root 15 dez 11 14:11 home -> …/sysroot/home
drwxrwxrwx 27 root root 4096 jan 9 20:56 lib
drwxrwxrwx 2 root root 4096 out 14 06:54 local
lrwxrwxrwx 1 root root 11 out 14 06:53 lock -> …/run/lock
drwxrwxrwx 8 root root 4096 fev 8 22:28 log
drwxrwxrwx 2 root root 4096 dez 11 14:11 opt
drwxrwxrwx 3 root root 4096 dez 11 14:11 roothome
lrwxrwxrwx 1 root root 6 out 14 06:53 run -> …/run
drwxrwxrwx 3 root root 4096 dez 11 14:11 spool
drwxrwxrwx 35 root root 4096 fev 14 15:46 tmp
root@endless:/# cd /home/Downloads
bash: cd: /home/Downloads: Arquivo ou diretório inexistente
root@endless:/# ls
bin boot dev etc home lib lib64 media mnt opt ostree proc root run sbin srv sys sysroot tmp usr var
root@endless:/# cd /home
root@endless:/home# ls
homeroboaventura
root@endless:/home# cd /homeroboaventura
bash: cd: /homeroboaventura: Arquivo ou diretório inexistente
root@endless:/home# cd homeroboaventura/
root@endless:/home/homeroboaventura# ls
Documentos Downloads Imagens Músicas Vídeos
root@endless:/home/homeroboaventura# cd Downloads/
root@endless:/home/homeroboaventura/Downloads# ls
firmware-realtek_20210315-3_all.deb
root@endless:/home/homeroboaventura/Downloads# dpkg -i firmware-realtek_20210315-3_all.deb
dpkg: erro: não foi possível aceder ao directório /var/lib/dpkg da base de dados do dpkg: Sistema de arquivos somente para leitura
root@endless:/home/homeroboaventura/Downloads# top
top - 16:06:01 up 20 min, 1 user, load average: 0,00, 0,04, 0,06
Tarefas: 306 total, 1 em exec., 305 dormindo, 0 parado, 0 zumbi
%Cpu(s): 1,4 us, 1,2 sy, 0,0 ni, 97,2 id, 0,0 wa, 0,0 hi, 0,2 si, 0,0 st
MB mem : 17836,5 total, 15262,0 livre, 1384,3 usados, 1190,1 buff/cache
MB swap: 26754,7 total, 26754,7 livre, 0,0 usados, 16213,8 mem dispon.
PID USUARIO PR NI VIRT RES SHR S %CPU %MEM TEMPO+ COMANDO
1884 homerob+ 20 0 32,6g 153908 113688 S 13,6 0,8 0:10.56 chrome
1759 homerob+ 20 0 32,5g 177276 147740 S 12,6 1,0 0:12.67 chrome
1000 homerob+ 20 0 5316764 316656 145584 S 4,0 1,7 0:36.75 gnome-shell
1803 homerob+ 20 0 956444 122788 76732 S 4,0 0,7 0:03.41 Xwayland
370 root -2 0 0 0 0 S 0,7 0,0 0:01.77 gfx
692 root -51 0 0 0 0 S 0,7 0,0 0:07.01 irq/71-rtw88_pc
14 root 20 0 0 0 0 I 0,3 0,0 0:01.04 rcu_sched
98 root 20 0 0 0 0 I 0,3 0,0 0:00.18 kworker/6:1-events
570 root 20 0 0 0 0 I 0,3 0,0 0:00.62 kworker/u32:7-phy0
1686 homerob+ 20 0 635136 58076 46460 S 0,3 0,3 0:04.28 gnome-terminal-
2287 root 20 0 10596 3932 3104 R 0,3 0,0 0:00.38 top
1 root 20 0 166984 12188 8708 S 0,0 0,1 0:01.08 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 netns
7 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
9 root 0 -20 0 0 0 I 0,0 0,0 0:00.02 kworker/0:1H-events_highpri
10 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_wq
11 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_rude_
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_trace
13 root 20 0 0 0 0 S 0,0 0,0 0:00.02 ksoftirqd/0
15 root rt 0 0 0 0 S 0,0 0,0 0:00.01 migration/0
16 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/0
17 root 20 0 0 0 0 I 0,0 0,0 0:00.08 kworker/0:1-events
18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
19 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1
20 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/1
21 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/1
22 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/1
24 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/1:0H-events_highpri
25 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/2
26 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/2
27 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/2
28 root 20 0 0 0 0 S 0,0 0,0 0:00.01 ksoftirqd/2
29 root 20 0 0 0 0 I 0,0 0,0 0:00.12 kworker/2:0-mm_percpu_wq
30 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/2:0H-events_highpri
31 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/3
32 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/3
33 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/3
34 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/3
36 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/3:0H-events_highpri
37 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/4
38 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/4
39 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/4
40 root 20 0 0 0 0 S 0,0 0,0 0:00.04 ksoftirqd/4
42 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/4:0H-events_highpri
43 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/5
root@endless:/home/homeroboaventura/Downloads# top
top - 16:07:50 up 22 min, 1 user, load average: 0,20, 0,11, 0,08
Tarefas: 325 total, 1 em exec., 324 dormindo, 0 parado, 0 zumbi
%Cpu(s): 0,2 us, 0,1 sy, 0,0 ni, 99,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MB mem : 17836,5 total, 14784,4 livre, 1582,6 usados, 1469,5 buff/cache
MB swap: 26754,7 total, 26754,7 livre, 0,0 usados, 16014,7 mem dispon.
PID USUARIO PR NI VIRT RES SHR S %CPU %MEM TEMPO+ COMANDO
1000 homerob+ 20 0 5337260 319240 147144 S 2,0 1,7 0:45.11 gnome-shell
692 root -51 0 0 0 0 S 0,7 0,0 0:07.52 irq/71-rtw88_pc
1686 homerob+ 20 0 635648 58476 46460 S 0,7 0,3 0:05.58 gnome-terminal-
189 root 0 -20 0 0 0 I 0,3 0,0 0:00.10 kworker/u33:0-rtw_tx_wq
570 root 20 0 0 0 0 I 0,3 0,0 0:00.80 kworker/u32:7-events_power_efficient
2314 root 20 0 10600 3896 3084 R 0,3 0,0 0:00.30 top
2375 root 20 0 0 0 0 I 0,3 0,0 0:00.04 kworker/u32:1-phy0
1 root 20 0 166984 12188 8708 S 0,0 0,1 0:01.10 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 netns
7 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
9 root 0 -20 0 0 0 I 0,0 0,0 0:00.03 kworker/0:1H-events_highpri
10 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_wq
11 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_rude_
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_trace
13 root 20 0 0 0 0 S 0,0 0,0 0:00.02 ksoftirqd/0
14 root 20 0 0 0 0 I 0,0 0,0 0:01.17 rcu_sched
15 root rt 0 0 0 0 S 0,0 0,0 0:00.01 migration/0
16 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/0
17 root 20 0 0 0 0 I 0,0 0,0 0:00.08 kworker/0:1-events
18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
19 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1
20 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/1
21 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/1
22 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/1
24 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/1:0H-events_highpri
25 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/2
26 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/2
27 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/2
28 root 20 0 0 0 0 S 0,0 0,0 0:00.01 ksoftirqd/2
29 root 20 0 0 0 0 I 0,0 0,0 0:00.13 kworker/2:0-events
30 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/2:0H-events_highpri
31 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/3
32 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/3
33 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/3
34 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/3
36 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/3:0H-events_highpri
37 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/4
38 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/4
39 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/4
40 root 20 0 0 0 0 S 0,0 0,0 0:00.04 ksoftirqd/4
42 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/4:0H-events_highpri
43 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/5
44 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/5
45 root rt 0 0 0 0 S 0,0 0,0 0:00.28 migration/5
46 root 20 0 0 0 0 S 0,0 0,0 0:00.02 ksoftirqd/5
root@endless:/home/homeroboaventura/Downloads# top Syntp.sys
top: opção desconhecida “y”
Uso:
top -hv | -bcEeHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
root@endless:/home/homeroboaventura/Downloads# dpkg -i firmware-realtek_20210315-3_all.deb
dpkg: erro: não foi possível aceder ao directório /var/lib/dpkg da base de dados do dpkg: Sistema de arquivos somente para leitura
root@endless:/home/homeroboaventura/Downloads# dpkg -i firmware-realtek_20210315-3_all.deb
dpkg: erro: não foi possível aceder ao directório /var/lib/dpkg da base de dados do dpkg: Sistema de arquivos somente para leitura
root@endless:/home/homeroboaventura/Downloads#