LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2020, 09:55 AM   #1
marietto2008
LQ Newbie
 
Registered: May 2020
Posts: 23

Rep: Reputation: Disabled
how to restore a working network configuration with netplan on ubuntu 20.04


Hello. Newbie here.

recently I tried to install open nebula and for some reason,the eno1 network interface is disappeared from my ubuntu 20.04 network configuration and I would like to restore it,because actually I'm not able to connect to internet. Ubuntu 20.04 uses netplan. This is my 01-network-manager-all.yaml file :


Code:
network:

version: 2

renderer: networkd

ethernets:

eno1:

dhcp4: true

Actually,when I do ifconfig,I see these network interfaces :

Code:
docker0 : inet 172.17.0.1 ; netmask 255.255.0.0 ; broadcast 172.17.255.255

minione-nic : no inet ; no netmask ; no broadcast

veth03ad024 : no inet ; no netmask ; no broadcast

virbr0 : inet 192.168.122.1 ; netmask 255.255.255.0 ; broadcast 192.168.122.255

virbr0-nic : no inet ; no netmask ; no broadcast

I tried to re-create the old eno1 interface with these commands :


Code:
sudo netman apply

sudo systemctl restart network-manager

I don't see any identation error,but the situation is not changed. I have no eno1 interface and no connection to internet. what should I do ? what's missing ?

Last edited by marietto2008; 07-11-2020 at 11:32 AM.
 
Old 07-11-2020, 06:28 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Is there anything regarding NICs in the kernel startup messages? Use dmesg or journalctl -k.
 
Old 07-13-2020, 08:21 AM   #4
marietto2008
LQ Newbie
 
Registered: May 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
u can read here :

https://askubuntu.com/questions/1258...n-ubuntu-20-04
 
  


Reply

Tags
netplan, network confguration, ubuntu 20.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netplan (systemd-network) : how to connect to another AP? concoran Linux - Networking 1 05-17-2020 02:02 AM
[SOLVED] A start job is running for Wait for Network to be Configured - netplan Ubuntu 18.04 vincix Linux - Networking 2 03-30-2019 07:59 PM
LXer: How to Use the Netplan Network Configuration Tool on Linux LXer Syndicated Linux News 0 09-09-2018 04:51 AM
Ubuntu 17.04, netplan, bring up interface without ip da1 Ubuntu 3 01-24-2018 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration