Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Browsers cannot access WWW while ping and host utilities work as expected.
Date: Sun, 04 Aug 2013 18:56:15
Message-Id: CA+t6X7e81G49NcMVQSVyqd1k4jvzJZnUA28pw9z8DyX0bxBFnQ@mail.gmail.com
1 Trying to migrate from Ubuntu 10.04 LTS, I have installed Gentoo,
2 profile AMD64 13.0 desktop gnome.
3
4 Everything so far works as expected except for Internet browsers and
5 GNOME applets that should connect to the Internet.
6
7 More exactly, Internet browsers (I have tried Firefox and Links) can
8 connect to the WWW if I type the IP address as,
9 for example, 173.194.71.104 but cannot if I type www.google.com
10
11 And this is strange because the host utility works as expected
12 (converting www.google.com into 173.194.71.104) just adding the
13 following "Warning: query response not set."
14
15 The ifconfig utility shows that instead of eth0 I have somewhat
16 strange enp2s15 but I have played with this and found no difference
17 after forcing udev to name it eth0.
18
19 Installing Gentoo, I closely followed the instructions from Gentoo
20 Linux AMD64 Handbook
21 (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1).
22
23 The contents of my /etc/conf.d/net file is like this:
24 hostname="myhostname"
25 dns_domain_lo="mynetwork"
26 config_enp2s15="192.168.0.9 netmask 255.255.255.0 broadcast 192.168.0.255"
27 routes_enp2s15="default via <my_rooter_local_network_IP>"
28 dns_servers_enp2s15="<my_rooter_local_network_IP>
29 <my_provider_DNS_server_IP> <another_DNS_server_IP>"
30
31 The contents of my /etc/resolv.conf is like this:
32 nameserver <my_rooter_local_network_IP>
33 nameserver <my_provider_DNS_server_IP>
34 nameserver <another_DNS_server_IP>
35
36 The relevant part of /var/log/rc.log is like this:
37 * Bringing up interface enp2s15
38 * Skipping module adsl due to missing program: /usr/sbin/adsl-start
39 /usr/sbin/pppoe-start
40 * Skipping module br2684ctl due to missing program: br2684ctl
41 * Skipping module tuntap due to missing program: ip openvpn tunctl
42 * Skipping module bridge due to missing program: brctl
43 * Skipping module clip due to missing program: /usr/sbin/atmsigd
44 * Skipping module ethtool due to missing program: ethtool
45 * Skipping module macvlan due to missing program: ip
46 * Skipping module netplugd due to missing program: /sbin/netplugd
47 * Skipping module ifplugd due to missing program: /usr/sbin/ifplugd
48 * Skipping module ipppd due to missing program: /usr/sbin/ipppd
49 * Skipping module iwconfig due to missing program: /sbin/iwconfig
50 * Skipping module iproute2 due to missing program: ip
51 * Skipping module firewalld due to missing program: firewall-cmd
52 * Skipping module pppd due to missing program: /usr/sbin/pppd
53 * Skipping module vlan due to missing program: ip
54 * Skipping module dhclient due to missing program: /sbin/dhclient
55 * Skipping module pump due to missing program: /sbin/pump
56 * Skipping module ip6rd due to missing program: ip
57 * Skipping module ip6to4 due to missing program: ip
58 * Loaded modules: apipa arping bonding ccwgroup macchanger macnet
59 wpa_supplicant ssidnet ifconfig system dhcpcd
60 * Configuring enp2s15 for MAC address <my_ethernet_card_mac_address> ...
61 [ ok ]
62 * 192.168.0.9 ...
63 [ ok ]
64 * Adding routes
65 * default via <my_rooter_local_network_IP> ...
66
67 Remark: My router works ok for the Ubuntu installation on the same computer.
68
69 Networking options of my kernel is as follows:
70
71 CONFIG_PACKET=y
72 CONFIG_PACKET_DIAG=y
73 CONFIG_UNIX=y
74 CONFIG_UNIX_DIAG=y
75 CONFIG_XFRM=y
76 CONFIG_XFRM_ALGO=y
77 CONFIG_XFRM_USER=y
78 CONFIG_INET=y
79 CONFIG_INET_TUNNEL=y
80 CONFIG_INET_LRO=y
81 CONFIG_INET_DIAG=y
82 CONFIG_INET_TCP_DIAG=y
83 CONFIG_INET_UDP_DIAG=y
84 CONFIG_TCP_CONG_ADVANCED=y
85 CONFIG_TCP_CONG_CUBIC=y
86 CONFIG_DEFAULT_CUBIC=y
87 CONFIG_DEFAULT_TCP_CONG="cubic"
88 CONFIG_TCP_MD5SIG=y
89 CONFIG_IPV6=y
90 CONFIG_INET6_AH=y
91 CONFIG_INET6_ESP=y
92 CONFIG_INET6_XFRM_MODE_TRANSPORT=y
93 CONFIG_INET6_XFRM_MODE_TUNNEL=y
94 CONFIG_INET6_XFRM_MODE_BEET=y
95 CONFIG_IPV6_SIT=y
96 CONFIG_IPV6_NDISC_NODETYPE=y
97 CONFIG_NETWORK_SECMARK=y
98 CONFIG_HAVE_NET_DSA=y
99 CONFIG_DNS_RESOLVER=y
100 CONFIG_RPS=y
101 CONFIG_RFS_ACCEL=y
102 CONFIG_XPS=y
103 CONFIG_BQL=y
104
105 where all options that are "not set" has been deleted for brevity.
106
107 I have also tried to use dhcpd instead of static IP but it did not help.
108
109 Currently, I have completely exhausted all my creativity trying to
110 figure out how to make my WWW browsers to work properly. Please, help!

Replies