public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Browsers cannot access WWW while ping and host utilities work as expected.
Date: Sun, 4 Aug 2013 20:57:33 +0100	[thread overview]
Message-ID: <201308042057.57917.michaelkintzios@gmail.com> (raw)
In-Reply-To: <CA+t6X7e81G49NcMVQSVyqd1k4jvzJZnUA28pw9z8DyX0bxBFnQ@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 5226 bytes --]

On Sunday 04 Aug 2013 19:56:08 gevisz wrote:
> Trying to migrate from Ubuntu 10.04 LTS, I have installed Gentoo,
> profile AMD64 13.0 desktop gnome.
> 
> Everything so far works as expected except for Internet browsers and
> GNOME applets that should connect to the Internet.
> 
> More exactly, Internet browsers (I have tried Firefox and Links) can
> connect to the WWW if I type the IP address as,
> for example, 173.194.71.104 but cannot if I type www.google.com
> 
> And this is strange because the host utility works as expected
> (converting www.google.com into 173.194.71.104) just adding the
> following "Warning: query response not set."

Hmm .. wonder if this is something to do with your dns repeater (your lan 
router) sending malformed packets in response?


> The ifconfig utility shows that instead of eth0 I have somewhat
> strange enp2s15 but I have played with this and found no difference
> after forcing udev to name it eth0.

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

There's been a few threads in this list a couple of months ago or so.  You may 
want to refer to them.


> Installing Gentoo, I closely followed the instructions from Gentoo
> Linux AMD64 Handbook
> (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1).
> 
> The contents of my /etc/conf.d/net file is like this:
> hostname="myhostname"
> dns_domain_lo="mynetwork"
> config_enp2s15="192.168.0.9 netmask 255.255.255.0 broadcast 192.168.0.255"
> routes_enp2s15="default via <my_rooter_local_network_IP>"
> dns_servers_enp2s15="<my_rooter_local_network_IP>
> <my_provider_DNS_server_IP> <another_DNS_server_IP>"

If you have concluded on using eth0, then change the above entries accordingly 
and also try leaving only your router's local_network_IP in there.  The router 
should provide you with your ISPs repeaters addresses anyway.


> The contents of my /etc/resolv.conf is like this:
> nameserver <my_rooter_local_network_IP>
> nameserver <my_provider_DNS_server_IP>
> nameserver <another_DNS_server_IP>
> 
> The relevant part of /var/log/rc.log is like this:
> * Bringing up interface enp2s15
> * Skipping module adsl due to missing program: /usr/sbin/adsl-start
> /usr/sbin/pppoe-start
> * Skipping module br2684ctl due to missing program: br2684ctl
> * Skipping module tuntap due to missing program: ip openvpn tunctl
> * Skipping module bridge due to missing program: brctl
> * Skipping module clip due to missing program: /usr/sbin/atmsigd
> * Skipping module ethtool due to missing program: ethtool
> * Skipping module macvlan due to missing program: ip
> * Skipping module netplugd due to missing program: /sbin/netplugd
> * Skipping module ifplugd due to missing program: /usr/sbin/ifplugd
> * Skipping module ipppd due to missing program: /usr/sbin/ipppd
> * Skipping module iwconfig due to missing program: /sbin/iwconfig
> * Skipping module iproute2 due to missing program: ip
> * Skipping module firewalld due to missing program: firewall-cmd
> * Skipping module pppd due to missing program: /usr/sbin/pppd
> * Skipping module vlan due to missing program: ip
> * Skipping module dhclient due to missing program: /sbin/dhclient
> * Skipping module pump due to missing program: /sbin/pump
> * Skipping module ip6rd due to missing program: ip
> * Skipping module ip6to4 due to missing program: ip
> * Loaded modules: apipa arping bonding ccwgroup macchanger macnet

You seem to have built a tonne of modules which you probably do not need.

> wpa_supplicant ssidnet ifconfig system dhcpcd
> * Configuring enp2s15 for MAC address <my_ethernet_card_mac_address> ...
> [ ok ]
> * 192.168.0.9 ...
> [ ok ]
> * Adding routes
> * default via <my_rooter_local_network_IP> ...
> 
> Remark: My router works ok for the Ubuntu installation on the same
> computer.
> 
>  Networking options of my kernel is as follows:
> 
> CONFIG_PACKET=y
> CONFIG_PACKET_DIAG=y
> CONFIG_UNIX=y
> CONFIG_UNIX_DIAG=y
> CONFIG_XFRM=y
> CONFIG_XFRM_ALGO=y
> CONFIG_XFRM_USER=y
> CONFIG_INET=y
> CONFIG_INET_TUNNEL=y
> CONFIG_INET_LRO=y
> CONFIG_INET_DIAG=y
> CONFIG_INET_TCP_DIAG=y
> CONFIG_INET_UDP_DIAG=y
> CONFIG_TCP_CONG_ADVANCED=y
> CONFIG_TCP_CONG_CUBIC=y
> CONFIG_DEFAULT_CUBIC=y
> CONFIG_DEFAULT_TCP_CONG="cubic"
> CONFIG_TCP_MD5SIG=y
> CONFIG_IPV6=y
> CONFIG_INET6_AH=y
> CONFIG_INET6_ESP=y
> CONFIG_INET6_XFRM_MODE_TRANSPORT=y
> CONFIG_INET6_XFRM_MODE_TUNNEL=y
> CONFIG_INET6_XFRM_MODE_BEET=y
> CONFIG_IPV6_SIT=y
> CONFIG_IPV6_NDISC_NODETYPE=y
> CONFIG_NETWORK_SECMARK=y
> CONFIG_HAVE_NET_DSA=y
> CONFIG_DNS_RESOLVER=y
> CONFIG_RPS=y
> CONFIG_RFS_ACCEL=y
> CONFIG_XPS=y
> CONFIG_BQL=y
> 
> where all options that are "not set" has been deleted for brevity.
> 
> I have also tried to use dhcpd instead of static IP but it did not help.
> 
> Currently, I have completely exhausted all my creativity trying to
> figure out how to make my WWW browsers to work properly. Please, help!

Can you please show us:

ip route show

ip addr show

ip link show

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2013-08-04 19:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04 18:56 [gentoo-user] Browsers cannot access WWW while ping and host utilities work as expected gevisz
2013-08-04 19:21 ` Mark Pariente
2013-08-04 19:57 ` Mick [this message]
2013-08-04 20:10   ` Kurian Thayil
2013-08-05  6:06   ` gevisz
2013-08-05 10:06     ` Mick
2013-08-05 12:59       ` Bruce Hill
2013-08-05 14:31         ` Marc Joliet
2013-08-05 14:41           ` Bruce Hill
2013-08-05 15:21             ` Marc Joliet
2013-08-05 15:37             ` Mick
2013-08-05 16:43             ` Stroller
2013-08-05 17:28             ` Alan McKinnon
2013-08-06 22:57               ` Stroller
2013-08-12  7:13       ` gevisz
2013-08-12  9:10         ` Alan McKinnon
2013-08-13  6:31           ` gevisz
2013-08-13  7:05             ` Alan McKinnon
2013-08-05 18:37   ` [gentoo-user] " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201308042057.57917.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox