LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-14-2014, 11:53 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
Inconsistent DNS...why?


This is so weird. Just installed a brand new Fedora 20 and my network connectivity seems all right but I can only maintain a local connection on my local network. DNS is not working or very slow.

I noticed this while running yum and seeing a bunch of this:

Code:
cpp-4.9.2-1.fc21.x86_64.rpm    FAILED                                          
http://mirror.pnl.gov/fedora/linux/development/21/x86_64/os/Packages/c/cpp-4.9.2-1.fc21.x86_64.rpm: [Errno 12] Timeout on http://mirror.pnl.gov/fedora/linux/development/21/x86_64/os/Packages/c/cpp-4.9.2-1.fc21.x86_64.rpm: (28, 'Resolving timed out after 30545 milliseconds')
Trying other mirror.
binutils-2.24-21.fc21.x86_64.r FAILED                                          
ftp://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/development/21/x86_64/os/Packages/b/binutils-2.24-21.fc21.x86_64.rpm: [Errno 12] Timeout on ftp://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/development/21/x86_64/os/Packages/b/binutils-2.24-21.fc21.x86_64.rpm: (28, 'Resolving timed out after 30543 milliseconds')
Trying other mirror.
I also noticed I coredump on various host lookups:

Code:
# host google.com
name.c:2445: REQUIRE((((source) != ((void *)0)) && (((const isc__magic_t *)(source))->magic == ((('D') << 24 | ('N') << 16 | ('S') << 8 | ('n')))))) failed, back trace
#0 0x7fb76f6297a7 in ??
#1 0x7fb76f6296fa in ??
#2 0x7fb77014edbc in ??
#3 0x409a49 in ??
#4 0x409aea in ??
#5 0x409ca8 in ??
#6 0x40ef1a in ??
#7 0x7fb76f64becb in ??
#8 0x7fb76e4a852a in ??
#9 0x7fb76d52777d in ??
Aborted (core dumped)
I don't understand why, since my nameservers are correct and I am locally connected to the machine. The network connection is up too, since I'm posting this from the same local network.

/etc/resolv.conf
Code:
# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.10.10.1
nameserver 8.8.8.8
nameserver 8.8.4.4
/etc/hosts
Code:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1     some.address.here hostname localhost6.localdomain6 localhost6
ping results seconds apart:
Code:
# ping google.com
PING google.com (167.206.252.187) 56(84) bytes of data.
^C
--- google.com ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms

# ping google.com
PING google.com (167.206.252.163) 56(84) bytes of data.
64 bytes from 167.206.252.163: icmp_seq=3 ttl=59 time=15.5 ms
64 bytes from 167.206.252.163: icmp_seq=25 ttl=59 time=36.7 ms
64 bytes from 167.206.252.163: icmp_seq=37 ttl=59 time=27.2 ms
64 bytes from 167.206.252.163: icmp_seq=42 ttl=59 time=29.6 ms
64 bytes from 167.206.252.163: icmp_seq=48 ttl=59 time=15.5 ms
64 bytes from 167.206.252.163: icmp_seq=52 ttl=59 time=18.7 ms
64 bytes from 167.206.252.163: icmp_seq=53 ttl=59 time=18.9 ms
64 bytes from 167.206.252.163: icmp_seq=54 ttl=59 time=49.3 ms
64 bytes from 167.206.252.163: icmp_seq=55 ttl=59 time=13.8 ms
64 bytes from 167.206.252.163: icmp_seq=58 ttl=59 time=14.6 ms
64 bytes from 167.206.252.163: icmp_seq=69 ttl=59 time=13.0 ms
^C
--- google.com ping statistics ---
74 packets transmitted, 11 received, 85% packet loss, time 92076ms
rtt min/avg/max/mdev = 13.084/23.029/49.365/11.058 ms
This is actually very similar to the setup of my previous Fedora 14 box, but I guess things changed with the introduction of dnsmasq. Is this interfering? Is something else interfering? Why is my host lookup core dumping? Why is my DNS totally messed up?
 
Old 12-15-2014, 02:24 AM   #2
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
You are also missing a lot of echo replies (85% packet loss).

A core dump indicates me some sort of failure in hardware or software installed (eg data corruption at install time).

How much do you trust the hardware? brand new? used a lot of years without problems and the installation of fedora20 introduces this issue?

On another machine, do you see even as many packet drops when you ping to an internet address. And when you ping to the target machine, from another machine in the local network, do you see packet drops then? (trying to eliminate faulty components, you need to cut in smaller pieces and identify the issue). The machine you posted this post from is probably not the Fedora20 box, do you experience problems on that when connecting to the target machine?

Have you tried a memory test on the target machine? Perhaps boot from a liveCD to figure out if that has the same issue? An older version of fedora (maybe a driver is faulty of some exotic hardware you have?)

These are a few thoughts that came up to me when reading about your issue...
 
1 members found this post helpful.
Old 12-15-2014, 06:25 AM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Well, in that case, I'll try a reinstall first and see what I can do. After all it's a brand new Fedora (21, not 20) install.

The hardware is all on the mobo so I hope I won't have any trouble with this. I have a gigabit ethernet card I can use as a last resort.

My current machine doesn't experience any packet loss. Weird.

I did a yum -y update as soon as the machine was up and had no issues, btw. But I haven't lost *that* much time so a reinstall isn't going to phase me.
 
Old 12-15-2014, 08:25 AM   #4
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
All right, a reinstall seemed to have fixed it. That was definitely an odd issue.

Thanks rhoekstra!
 
Old 12-15-2014, 08:26 AM   #5
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
Glad to be able to help
 
Old 12-15-2014, 12:41 PM   #6
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Okay, I'm back. Did a reboot due to some settings I made and now I'm back to having trouble again. Now I can't even connect on the local network.

How would I possibly be able to troubleshoot "network is unreachable" errors?
 
Old 12-15-2014, 12:53 PM   #7
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Also, for what it's worth, the motherboard is a MSI DKA790GX.

Seems to work after an install until I do a reboot and something I set up via yum kicks in.
 
Old 12-15-2014, 01:20 PM   #8
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
I have no idea what to do here so I'm just going to post info I think will be helpful. I'm typing this by hand.

In maintenance mode, I can do a:

Code:
/sbin/service network status
Configured devices: 
lo enp3s0
Current active devices:
lo
Note: this is a wired connection only.

lspci -nn shows:
Code:
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:0168] (rev 02)
ethtool enp3s0 shows:
Code:
<snip>
Link detected: no
systemctl --failed --all shows me nothing related to this

Since I'm trying to challenge myself, I'm literally about to reinstall this thing again. I hope it doesn't happen again...
 
Old 12-15-2014, 01:26 PM   #9
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
Hmm.. odd.. try to reinstall and not do anything but 'using' the machine.. and see if it remains stable.

then try rebooting without changes..
then try configuring, rebooting...
then, if still stable, try to update.

is it known that recent fedora releases step away from eth0 naming? not entirely sure...
 
Old 12-15-2014, 02:14 PM   #10
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rhoekstra View Post
Hmm.. odd.. try to reinstall and not do anything but 'using' the machine.. and see if it remains stable.

then try rebooting without changes..
then try configuring, rebooting...
then, if still stable, try to update.

is it known that recent fedora releases step away from eth0 naming? not entirely sure...
I dunno, it threw me for a loop too.

Might be already a few steps ahead though. I need this to be a server config, so I've already started configuring for it...
 
Old 12-15-2014, 04:57 PM   #11
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
All right, it's been stable for a few hours. I'm going to chalk this up to a fluke and hope I won't be back

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inconsistent Sound expatCM Linux - Hardware 18 07-12-2007 02:59 PM
Inconsistent Compilation GlassEyeSlim Linux - Newbie 1 02-21-2006 01:37 PM
Inconsistent permissions kosmonaft Linux - General 1 11-21-2005 11:21 PM
inconsistent ip resolution blahJake Linux - Networking 0 09-20-2004 11:28 PM
inconsistent X server? rgiggs Mandriva 3 05-11-2004 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration