Score:1

Question mark shown over ethernet icon

kh flag

I have a computer that is using an Ethernet connection. Recently I have changed routers and had to set it up with a new static IP. When I had typed in all the information to set up a static ip, the ethernet connection started showing a question mark over it. Hostname -I shows the static IP I set up, and on the list of connected devices on the router I can see my computer is connected. But I still cannot access the internet through Firefox or through a ping.

David avatar
cn flag
The ? indicates an error.
chili555 avatar
cn flag
Please edit your question to show the result of these terminal commands: `ping -c3 8.8.8.8` and: `route -n` and: `systemd-resolve --status | grep 'DNS Servers' -A2` I suspect that you omitted DNS nameservers in your static setup.
samsell avatar
kh flag
@chili555 yes I had forgotten to put in the DNS servers, thank you :)
chili555 avatar
cn flag
In the interest of helping others with the same issue search for and find the solution, I shall propose an answer that I hope you will accept: https://askubuntu.com/tour
Score:1
cn flag

The question mark typically means that the computer is connected to the router but does not yet have access to the internet. In many cases, this is because DNS nameservers are not properly set. Check:

ping -c3 8.8.8.8
ping -c3 www.ubuntu.com

If you get ping returns from the first, but not the second, then DNS resolution is not working.

If you wish to use a static IP address, you may do so by editing connections in Network Manager. In this case, if you set up a fixed address, you are responsible to specify DNS nameservers, as well. I suggest:

enter image description here

Of course, substitute your exact details here. Reboot and test:

ping -c3 www.ubuntu.com

You should be all set.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.