
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
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Script de montagem de chroot automatica
Atualizar Linux Mint 22.2 para 22.3 beta
Jogar games da Battle.net no Linux com Faugus Launcher
Como fazer a Instalação de aplicativos para acesso remoto ao Linux
Conky, alerta de temperatura alta (14)
Instalação do cosmic no archlinux (1)
De volta para o futuro - ou melhor, para o presente (parte 2) (2)
Por que passar nas disciplinas da faculdade é ruim e ser reprovado é b... (7)









