Enviado em 04/09/2018 - 09:19h
Olá a todos,
$ uname -a
Linux qw 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
sudo nano /etc/netplan/01-network-manager-all.yaml
On the file I put this commands/configurations:
network:
version: 2
renderer: networkd
ethernets:
enp0s25:
dhcp4: no
dhcp6: no
addresses: [192.168.1.41/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
$ sudo netplan apply
Error in network definition //etc/netplan/01-network-manager-all.yaml line 1 column 8: expected mapping
$ sudo netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:1637): DEBUG: 01:43:45.579: Processing input file //etc/netplan/01-network-manager-all.yaml..
** (generate:1637): DEBUG: 01:43:45.579: starting new processing pass
Error in network definition //etc/netplan/01-network-manager-all.yaml line 1 column 8: expected mapping
$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 129 bytes 8997 (8.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 129 bytes 8997 (8.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ ifconfig
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.104 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::6795:8c49:1091:4b04 prefixlen 64 scopeid 0x20<link>
ether f4:ce:46:12:f0:f7 txqueuelen 1000 (Ethernet)
RX packets 2824 bytes 241767 (241.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2152 bytes 295936 (295.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 memory 0xf0500000-f0520000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 129 bytes 8997 (8.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 129 bytes 8997 (8.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Criando uma Infraestrutura para uma micro Empresa
Criar entrada (menuentry) ISO no Grub
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalando o Pi-Hole versão v5.18.4 depois do lançamento da versão v6.0
Instalar o VIM 9.1 no Debian 12
Como saber o range de um IP público?
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Erro ao instalar o ChatGPT Desktop (9)
Liberação de alguns links no squid (13)