18.04 internetproblem

Asked by leon antoniadis on 2018-03-08

I used the 12th Feb. image and installed ubuntu 18.04 on an external hard disk. No problem till an update some days ago when I noticed that I can connect to the router but can not to the internet although connection was OK till then. I downloaded the7th March iso made a startup usb but neither this can connect to internet. Only the router's site can be reached. The Feb.iso usb connects normally
Any ideas?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

Can you ping ?

Yes I can but www.google.com cannot be reached from firefox

OK then run:

echo "nameserver" | sudo tee /etc/resolv.conf > /dev/null

Then try web access. Is it OK?

It works.Thanks
However I will have to repeat the command every time it starts.


echo "nameserver" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null

It will now stick

This solves the restart of firefox. You have to rerun the command upon starting the computer and is OK till it is shutdown

The head file is used to create the DNS server file /etc/resolv.conf

It will add the text each boot. Is this not the case?

It seems this is no the case as the command has to run at every boot

Zoltán Süle (zoltan-sule) said : #9

thanks it fixed for me too

Can you help with this problem?

Provide an answer of your own, or ask leon antoniadis for more information if necessary.

To post a message you must log in.