Here I show how to set a static IP on Ubuntu 20.04 (among other distro's).
The video showing SSH is here;
and here are the commands
ip link show
sudo nano /etc/netplan/01-network-manager-all.yaml
sudo netplan apply
ip address show
and the contents of the file (for example)
network:
version: 2
ethernets:
enp0s3:
dhcp4: false
addresses: [192.168.1.10/24]
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.1]
------------------------------------------ Get Social ------------------------------------------
Facebook: / crazylogica
Twitter: / crazy__logic
Instagram: / crazy__logic
Github: https://github.com/crazy-logic
Twitch: / crazy__logic
Webby: http://www.crazy-logic.co.uk.
------------------------------------------ Go Shopping ------------------------------------------
Amazon affiliate links
► Raspberry Pi kit - https://amzn.to/3ebdtQJ
Смотрите видео #33 - Ubuntu 20.04 set a Static IP with netplan онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Crazy-Logic 20 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,111 раз и оно понравилось 92 людям.