From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9C4301381F3 for ; Mon, 5 Aug 2013 10:07:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0383E0A91; Mon, 5 Aug 2013 10:07:13 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AAA32E0A53 for ; Mon, 5 Aug 2013 10:07:12 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id c11so2306627wgh.32 for ; Mon, 05 Aug 2013 03:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=S3v3aCnXjUNCFH/DI1Hdvb+nJPPUYAuHVl9fqMOAHSw=; b=fdBYm8kSYl5+Ue8ieCq1PwLyh0qOMNlYA9BvW/3BKduMJm2wQBBOpiU5FOntHmMFER 8MPlH3ztiqOKTTE5sAsoOtiT/cTfces2RwK5Wwbjo2z0p8DZDl0/iWP6bItr1VIvDAS/ HHkFR9utkBI04Mz6d15o0+zcYjvEfh1J9m95hyl4jUo65L6GVIsR5zCu0E/kHFQuUZEW utRCeamFeK3/MEPqnjfzk93rF4oOTXc/pZXJP6+j4Lkk50vc8ptTs+B2budmE86cgooy ATvFhw1JPI+iCozftkpWHiLFmQ8bIIKCisacCSxn2fO7XoCKHWXmaIWtpxil3cfmV5L9 17BQ== X-Received: by 10.194.192.1 with SMTP id hc1mr9661322wjc.39.1375697231379; Mon, 05 Aug 2013 03:07:11 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id l5sm8217794wia.6.2013.08.05.03.07.09 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 03:07:10 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Browsers cannot access WWW while ping and host utilities work as expected. Date: Mon, 5 Aug 2013 11:06:52 +0100 User-Agent: KMail/1.13.7 (Linux/3.8.13-gentoo; KDE/4.10.5; x86_64; ; ) References: <201308042057.57917.michaelkintzios@gmail.com> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart47442227.TBMFfailSm"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201308051107.03261.michaelkintzios@gmail.com> X-Archives-Salt: a3f6290b-951b-425e-ba7c-b7798e8ca3a4 X-Archives-Hash: d379a009925348fbe5d44f891db52a6b --nextPart47442227.TBMFfailSm Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 05 Aug 2013 07:06:08 gevisz wrote: > My thanks to all who replied to my question. >=20 > The problem was with my local router, which I also used as DNS. > After excluding it from /etc/resolv.config and /etc/init.d/net files, > Firefox started to work as expected. Hmm ... I wonder if this is related to my earlier comment about malformed=20 packets. May be worth trying a different firmware for this router. > Suggestions of Michael Kintzios > > This is the new kernel naming scheme of NICs. Which-ever nomenclature > > you decide to use, check that that's the only one having a symlink in > > /etc/init.d to net.lo >=20 > Yes, there is only enp2s15 links to lo in /etc/init.d The idea here is that you need consistent naming of your iface. If you hav= e=20 settled on the kernel naming of enp2s15, then stick with this throughout yo= ur=20 configuration. > After deleting all but my lan router DNS from /etc/conf.d/net and > /etc/resolv.conf > files, I had the same problem as before but in addition the host > utility reports an > additional error. Please, see the full response below. You should not need to manually alter anything in your /etc/resolv.conf, wh= ich=20 will be completed with the DNS server name(s) you have set up in your=20 /etc/conf.d/net. > # host www.google.com > www.google.com has address 74.125.232.52 > www.google.com has address 74.125.232.48 > www.google.com has address 74.125.232.49 > www.google.com has address 74.125.232.50 > www.google.com has address 74.125.232.51 > ;; Warning: query response not set > ;; Warning: query response not set I think this means that the DNS server response is incorrectly formed (or t= hat=20 the server respond code does not include a 4 bit RCODE as it should - more= =20 detail for DNS geeks can be found here: http://www.ietf.org/rfc/rfc2136.tx= t) > Host www.google.com not found: 4(NOTIMP) The RFC says: The name server does not support the specified Opcode. I wo= uld=20 reflash the firmware, or try any OpenSource alternatives if available for y= our=20 router. > After leaving in /etc/conf.d/net and /etc/resolv.conf files only the > DNS of my service > provider, Firefox started to work as predicted. Thank you! This may not be ideal (it will introduce some latency in your requests) but= if=20 you can't fix your router, it'll have to do for now. > > Can you please show us: > > ip route show > > ip addr show > > ip link show >=20 > $ ip route show > default via 192.168.0.1 dev enp2s15 metric 2 > 127.0.0.0/8 via 127.0.0.1 dev lo scope link > 192.168.0.0/24 dev enp2s15 proto kernel scope link src 192.168.0.9 This says that your IP address us 192.168.0.9, but see below. > $ ip addr show [snip ...] > 2: enp2s15: mtu 1500 qdisc > pfifo_fast state UP qlen 1000 > link/ether brd ff:ff:ff:ff:ff:ff > inet 192.168.0.7/24 brd 192.168.0.255 scope global enp2s15 This says that your ip address is 192.168.0.7 - did you get a different IP= =20 address between the two commands? Your /etc/conf.d/net showed that you had= =20 set up a static address as config_enp2s15=3D"192.168.0.9 ..." so why is th= is=20 here? > $ ip link show [snip ...] > 2: enp2s15: mtu 1500 qdisc > pfifo_fast state UP mode DEFAULT qlen 1000 > link/ether brd ff:ff:ff:ff:ff:ff OK, this looks good. =20 > Suggestions of Kurian Thayil >=20 > > Can you do a ping and see if the resolv.conf DNS ips are reachable? >=20 > Yes, I can ping all my DNS. Moreover, I successfully use them from my > Ubuntu installation on the same computer. >=20 > > do a > > dig @8.8.8.8 www.google.com ## which will do a name resolution with > > Google DNS servers. >=20 > Here is the output: >=20 > $ dig @8.8.8.8 www.google.co >=20 > ; <<>> DiG 9.9.2 <<>> @8.8.8.8 www.google.co > ; (1 server found) > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4036 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 12, AUTHORITY: 4, ADDITIONAL: 5 >=20 > ;; OPT PSEUDOSECTION: > ; EDNS: version: 0, flags:; udp: 4096 > ;; QUESTION SECTION: > ;www.google.co. IN A >=20 > ;; ANSWER SECTION: > www.google.co. 86400 IN CNAME www3.l.google.com. > www3.l.google.com. 13 IN A 173.194.32.166 > www3.l.google.com. 13 IN A 173.194.32.167 > www3.l.google.com. 13 IN A 173.194.32.168 > www3.l.google.com. 13 IN A 173.194.32.169 > www3.l.google.com. 13 IN A 173.194.32.174 > www3.l.google.com. 13 IN A 173.194.32.160 > www3.l.google.com. 13 IN A 173.194.32.161 > www3.l.google.com. 13 IN A 173.194.32.162 > www3.l.google.com. 13 IN A 173.194.32.163 > www3.l.google.com. 13 IN A 173.194.32.164 > www3.l.google.com. 13 IN A 173.194.32.165 >=20 > ;; AUTHORITY SECTION: > google.com. 244594 IN NS ns3.google.com. > google.com. 244594 IN NS ns2.google.com. > google.com. 244594 IN NS ns4.google.com. > google.com. 244594 IN NS ns1.google.com. >=20 > ;; ADDITIONAL SECTION: > ns1.google.com. 191550 IN A 216.239.32.10 > ns2.google.com. 191550 IN A 216.239.34.10 > ns3.google.com. 191550 IN A 216.239.36.10 > ns4.google.com. 191550 IN A 216.239.38.10 >=20 > ;; Query time: 96 msec > ;; SERVER: 8.8.8.8#53(8.8.8.8) > ;; WHEN: Mon Aug 5 07:59:45 2013 > ;; MSG SIZE rcvd: 385 OK, Google's public DNS 8.8.8.8 works fine, but your router's internal DNS= =20 repeater seems to be dodgy. =2D-=20 Regards, Mick --nextPart47442227.TBMFfailSm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAABAgAGBQJR/3lHAAoJELAdA+zwE4YeGioH/36LjHmluK9HIAHuK74z2YNY LFCrAJ8zQn8Yr1e9cgYSJHLYbc3LwTR1HfKhpBnVmRj97//ubP7BvBzXDvnt5Sru 9I0P0X7g1h1vZsgRoZrt6OfIC5IILYIYPvM3/lQD/KEC4meYJoTdTFNf+BjbD4TJ /Qp/+ht6v+YqG4leXLPfsVX+cPRGsZdccoNtqblKoQDOm8IACbBNnTAJJH14X8rc McQdEH2yE6AKFlvLGQZT5wosrmNO7ZYexNSmKCIeuj3eAD0h5wsCxSGWCA2rUvjf KQALnBh2jMRNcW5aGorAE99E7O15zfoC4rE3U2OLv9mIinv3cOdrjPWAA8wkj2M= =hAaQ -----END PGP SIGNATURE----- --nextPart47442227.TBMFfailSm--