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
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Aplicativo simples para gravar tela
Quebra de linha na data e hora no Linux Mint
Firefox não abre em usuário não administradores (0)
Sempre que vou baixar algum pacote acontece o erro dpkg (8)
tentando instalar em um notebook antigo o Linux LegacyOS_2023... [RESO... (8)
Problema com Conexão Outlook via Firewall (OpenSUSE) com Internet Fibr... (5)