You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Reset network settings?

Author (Read 5278 times)

0 Members and 1 Guest are viewing this topic.

Re: Reset network settings?
« Reply #4 on: March 26, 2018, 10:14:48 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Short of time, bed time....

Try Googling dns flush and dns repair
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Reset network settings?
« Reply #3 on: March 26, 2018, 02:46:54 PM »
 

redplanet

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile
Copied, along with results of "apt-get update"

Code: [Select]
ifconfig

enp2s8    Link encap:Ethernet  HWaddr 00:1b:fc:5f:3b:d6 
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: 2605:a000:d0d6:400::2/128 Scope:Global
          inet6 addr: 2605:a000:d0d6:400:45e9:2e26:12cb:153d/64 Scope:Global
          inet6 addr: 2605:a000:d0d6:400:6d1d:3a18:8835:95ad/64 Scope:Global
          inet6 addr: fe80::9ed0:6ab6:a1b5:d951/64 Scope:Link
          inet6 addr: 2605:a000:d0d6:400:5d43:773d:1acb:dc42/64 Scope:Global
          inet6 addr: 2605:a000:d0d6:400:47fd:c659:e68f:1215/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91 errors:0 dropped:0 overruns:0 frame:0
          TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26316 (26.3 KB)  TX bytes:40832 (40.8 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:561 errors:0 dropped:0 overruns:0 frame:0
          TX packets:561 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:47397 (47.3 KB)  TX bytes:47397 (47.3 KB)


Code: [Select]
ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=28.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=26.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=25.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=25.5 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=26.8 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4075ms
rtt min/avg/max/mdev = 25.546/26.696/28.953/1.224 ms


Code: [Select]
ping google.com

ping: unknown host google.com

retried: ping www.google.com

ping: unknown host www.google.com

droofus@droofus-a6120n:~$ sudo apt-get update
[sudo] password for droofus:
Err:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:4 http://us.archive.ubuntu.com/ubuntu xenial-proposed InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:6 http://archive.canonical.com xenial InRelease
  Temporary failure resolving 'archive.canonical.com'
Err:7 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease
  Temporary failure resolving 'ppa.launchpad.net'
Err:8 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
  Temporary failure resolving 'ppa.launchpad.net'
Err:9 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
  Temporary failure resolving 'ppa.launchpad.net'
Err:10 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
  Temporary failure resolving 'ppa.launchpad.net'
Err:11 http://repo.linuxliteos.com/linuxlite citrine InRelease
  Temporary failure resolving 'repo.linuxliteos.com'
Err:12 http://download.opensuse.org/repositories/home:/osmc/xUbuntu_16.04  InRelease
  Temporary failure resolving 'download.opensuse.org'
Err:13 https://mega.co.nz/linux/MEGAsync/xUbuntu_15.10 ./ InRelease
  Could not resolve host: mega.co.nz
Err:14 https://mega.nz/linux/MEGAsync/xUbuntu_15.10 ./ InRelease
  Could not resolve host: mega.nz
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-proposed/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/dists/xenial/InRelease  Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch https://mega.co.nz/linux/MEGAsync/xUbuntu_15.10/./InRelease  Could not resolve host: mega.co.nz
W: Failed to fetch http://ppa.launchpad.net/deluge-team/ppa/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch http://download.opensuse.org/repositories/home:/osmc/xUbuntu_16.04/InRelease  Temporary failure resolving 'download.opensuse.org'
W: Failed to fetch http://repo.linuxliteos.com/linuxlite/dists/citrine/InRelease  Temporary failure resolving 'repo.linuxliteos.com'
W: Failed to fetch https://mega.nz/linux/MEGAsync/xUbuntu_15.10/./InRelease  Could not resolve host: mega.nz
W: Failed to fetch http://ppa.launchpad.net/nemh/systemback/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So, looking at this, it looks like my DNS settings are messed up.  I think I had them set to OpenDNS.
 

Re: Reset network settings?
« Reply #2 on: March 26, 2018, 10:13:37 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,

Do the following commands in a terminal and post back results, you will need to a ctrl+c to stop the pings.

Code: [Select]
ifconfig
Code: [Select]
ping 8.8.8.8
Code: [Select]
ping google.com
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Reset network settings?
« Reply #1 on: March 25, 2018, 03:02:59 PM »
 

redplanet

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile
Linux noob, MS power user for 20+ years, LL for life at this point (3 months now).  Have reinstalled LL 3 times now for various reasons (moving to different partitions mainly, and preserving my win vista partition until I back up almost 10 years of documents/misc on it).  Has worked amazingly well each time, but I am a tinkerer, so I have added unsupported repositories, finally found synaptic (it's kinda hidden, why?), edited config files, and ran unknown cli commands cut and pasted from the internet.  Here is my current problem:

Latest install (3.6 upgraded to 3.8), everything was running as normal.  I mess around with a lot of stuff (I run pi-hole, for example), and I may have "released" my DHCP lease in my router settings (I'm not 100% clear on what that means, I was probably trying to fix something else, following an online "recipe").  Now, in LL, it connects to the network, but no browser will load, AND apt-get update will not connect either - connected with no connectivity.  Of course windows and other distros all have normal connectivity. 

Questions:  Is there a way to completely reset my internet settings?  I'm not opposed to reinstalling the OS, but...  can I reinstall in the same partition, or will it just leave whatever corrupted config files are there?  (I do have "spare" partitions I can use...  see ya Ubuntu, ha ha told you...)

Obviously (in retrospect) the DNS settings in /etc/resolv.conf were incorrect, the system was looking to 127.0.0.1 (home) for DNS lookups for some reason.  I was not able to install nscd... until I fixed this.  Did not work the first time ...  not used to, and don't like non-GUI editors, they have nothing to offer me.  Yet.  Thanks!! 
« Last Edit: March 27, 2018, 12:48:55 PM by redplanet »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section