# Ubuntu 22.04 network error

**URL:** <https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247>\
**Category:** Technical Help\
**Created:** [October 5, 2022, 1:51am UTC](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247 "2022-10-05T01:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uj03109](https://avatars.discourse-cdn.com/v4/letter/u/e95f7d/32.png) [@uj03109](https://deeptalk.lambda.ai/u/uj03109)\
**Post date:** [October 5, 2022, 1:51am UTC](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247/1 "2022-10-05T01:51:00Z")

</div>

When I connect wi-fi, wired connection says Ethernet connection is established, but when I disconnect the wi-fi, in the settings, Ethernet connection is connected but internet connection is not work.  
ex) ping [facebook.com](http://facebook.com) // name resolution error

I think it is name server problem, so I also modified the name server.but the problem is still valid. There was no problem when using 18.04, but after changing to 22.04 it looks like this. I’ve reinstalled it about 3 times now.

is it a bug / issue or didn’t i have enough coffee?  
best regards from korea

---

<div class="post-metadata">

**Author:** ![markd](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@markd](https://deeptalk.lambda.ai/u/markd)\
**Post date:** [October 15, 2022, 4:29am UTC](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247/2 "2022-10-15T04:29:40Z")

</div>

You can see if a IP address is assigned with:

```auto
$ ip address show

```

And you can see the links and routing with:

```auto
$ ip link
and
$ ip route

```

To test the network you can ping a IP address directly example (googles DNS):

```auto
   $ ping -c 3 8.8.8.8

```

And you can see the name resolution in:

```auto
   $ cat /etc/resolv.conf

```

If ping works, it is likely the network configuration is no longer working.  
It could be old settings or other issues. (some formats have changed).

```auto
  $ cat /etc/netplan/*

```

For example in the netplan ‘gateway4’ is deprecated and you should use ‘routes’ now.  
For that specific example there is a write up:  
[netplan generate: `gateway4` has been deprecated, use default routes instead - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/681220/netplan-generate-gateway4-has-been-deprecated-use-default-routes-instead)

Well that should give you a start of a few things to look for.

Mark
