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
Enviar mensagem ao usuário trabalhando com as opções do php.ini
Meu Fork do Plugin de Integração do CVS para o KDevelop
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Compartilhamento de Rede com samba em modo Público/Anônimo de forma simples, rápido e fácil
Cups: Mapear/listar todas as impressoras de outro Servidor CUPS de forma rápida e fácil
Criando uma VPC na AWS via CLI
Arch Linux - Guia para Iniciantes (0)
Dificuldade para renderizar vídeo no kdenlive (6)
xubuntu sem sons de eventos (3)
Erro ao iniciar serviço samba4 como novo dc em um ambiente com ad [RES... (9)