surfing problems after replacing computer

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mintuser22

surfing problems after replacing computer

Post by mintuser22 »

Hello,
After my lenovo has been burned, a technician managed to move the hard drive,
with Mint 18.2 Cinnamon 64 bit and all the rest of the information on it to a new lenovo.
Everything is working well except:
After a few seconds of good surfing the browser says that "The site can't be resolved".
I can't update the device manager as well. The error displayed is "Failed to download pool data".
Update manager is working alternatively. now it is up to date.
Wifi is working well during all the time.
Firewall is off.
Pinging "www.google.com" returning good results.
Pinging "8.8.8.8" also returning good results.

Please advise
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

things to try.
delete your complete browser history/cookies
try another kernel at boot from the advanced options
update grub with sudo update-grub

show output for: in Terminal maximize the window to get the full view.

Code: Select all

inxi -Fxzd
nmcli device show
dmesg | grep -i "error\|warn\|fail"
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

still not working..
output attached.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

are you running a vpn? try changing DNS. this is openDNS you can change later to google or cloudfare or others. after applying and saving restart your connection (tick it OFF/ON) or reboot then after reboot what is nslookup linuxmint.com did it show you fast or did it take a few seconds

Code: Select all

208.67.222.222, 208.67.220.220
Image

Image
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

Not running a VPN.
Did the above but the problem persists - after a few seconds of regular surfing
the browser says "can't communicate with the server in address.."
Running "nslookup linuxmint.com" returning "connection timed out; no server could be reached".
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

sounds like you didn't finish changing the dns. can you show results to see if the changes are applied:
nmcli device show

don't take a picture of it. copy the Terminal writing then push the 5fth button above (code) this comment box and paste it in the middle of it.
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

dany@dany-Lenovo-G500 ~ $ nmcli device show
GENERAL.DEVICE: wlp2s0
GENERAL.TYPE: wifi
GENERAL.HWADDR: B0:FC:36:38:23:79
GENERAL.MTU: 0
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: HOTBOX-F5DF
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/0
IP4.ADDRESS[1]: 192.168.1.19/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 208.67.222.222
IP4.DNS[2]: 208.67.220.220
IP6.ADDRESS[1]: fe80::401a:ec5b:6f79:7b77/64
IP6.GATEWAY:

GENERAL.DEVICE: enp1s0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 54:EE:75:FA:3E:67
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off

GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY:
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY:
dany@dany-Lenovo-G500 ~ $
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

your openDNS is active you can test here >>> https://welcome.opendns.com/ you should see an orange checkmark if opendns is used or red x if not.
the line IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000 is in question. can you post what you have in /etc/hosts file? use the 5th button for the code. the one you use last was the fourth
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

Code: Select all

127.0.0.1	localhost
127.0.1.1	dany-Lenovo-G500

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

nope, i don't see anything wrong with your /etc/hosts

the only this i can now think of is when was the last time you cleared ALL your history and cookies of your browsers?
and power cycle your router. unplug it for about 20 seconds. do you have a modem and a router or only one device?
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

Yes, all history has been delited.
The router has been unpluged, no modem.
Maybe something with the device manager? it's not up to date
and stucked when updated.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

you can post here what you have for apt update
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

Code: Select all

dany@dany-Lenovo-G500 ~ $ apt update
[sudo] password for dany: 
Ign:1 cdrom://Linux Mint 18.2 _Sonya_ - Release amd64 20170628 xenial InRelease
Err:2 cdrom://Linux Mint 18.2 _Sonya_ - Release amd64 20170628 xenial Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease                        
Ign:6 http://packages.linuxmint.com sonya InRelease                            
Hit:7 http://packages.linuxmint.com sonya Release                              
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]       
Get:10 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [872 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [777 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [700 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [641 kB]
Reading package lists... Done                              
E: The repository 'cdrom://Linux Mint 18.2 _Sonya_ - Release amd64 20170628 xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
dany@dany-Lenovo-G500 ~ $ 

User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

open Software Sources > Additional repositories and UNcheck CD-ROM (Installation Disk) then run apt update again you should not get the errors you posted above
Image
mintuser22

Re: surfing problems after replacing computer

Post by mintuser22 »

No error message after unchecking.
The problem stays.. any other options?
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: surfing problems after replacing computer

Post by smurphos »

Disable power-saving on your wireless card.

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Change the contents to

Code: Select all

[connection]
wifi.powersave = 2
Ctrl-O and then enter to save, Ctrl-X to exit.

Reboot. Double - check powersave is off via iwconfig

Disable ipv6 for your wireless connection in Network Manager.

Might also be worth looking at your router settings. E.g on my router allowing the router to auto choose wifi channel creates havoc across a lot of my devices. This is because I'm urban and there are a a couple of dozen competing wifi networks in range and I think the router is often cycling through channels trying to find the best one (a futile exercise - they are all crowded).

Edit to add - on re-reading your original post and that your HDD has been moved from one machine to another - try with a Live CD of the same version of Mint - can you browse successfully from a Live session. If so consider backing up your user date and starting a fresh with a new install. May as-well got for 18.3 or 19 whilst you are at it.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: surfing problems after replacing computer

Post by trytip »

did you delete your connection from network manager and create a new one?
Image
Locked

Return to “Networking”