1 |
Can you do a ping and see if the resolv.conf DNS ips are reachable? |
2 |
|
3 |
do a |
4 |
dig @8.8.8.8 www.google.com ## which will do a name resolution with Google |
5 |
DNS servers. |
6 |
|
7 |
also pls post make sure you have correct routing table (route -n) |
8 |
|
9 |
Regards, |
10 |
Kurian. |
11 |
|
12 |
|
13 |
On Sun, Aug 4, 2013 at 7:57 PM, Mick <michaelkintzios@×××××.com> wrote: |
14 |
|
15 |
> On Sunday 04 Aug 2013 19:56:08 gevisz wrote: |
16 |
> > Trying to migrate from Ubuntu 10.04 LTS, I have installed Gentoo, |
17 |
> > profile AMD64 13.0 desktop gnome. |
18 |
> > |
19 |
> > Everything so far works as expected except for Internet browsers and |
20 |
> > GNOME applets that should connect to the Internet. |
21 |
> > |
22 |
> > More exactly, Internet browsers (I have tried Firefox and Links) can |
23 |
> > connect to the WWW if I type the IP address as, |
24 |
> > for example, 173.194.71.104 but cannot if I type www.google.com |
25 |
> > |
26 |
> > And this is strange because the host utility works as expected |
27 |
> > (converting www.google.com into 173.194.71.104) just adding the |
28 |
> > following "Warning: query response not set." |
29 |
> |
30 |
> Hmm .. wonder if this is something to do with your dns repeater (your lan |
31 |
> router) sending malformed packets in response? |
32 |
> |
33 |
> |
34 |
> > The ifconfig utility shows that instead of eth0 I have somewhat |
35 |
> > strange enp2s15 but I have played with this and found no difference |
36 |
> > after forcing udev to name it eth0. |
37 |
> |
38 |
> This is the new kernel naming scheme of NICs. Which-ever nomenclature you |
39 |
> decide to use, check that that's the only one having a symlink in |
40 |
> /etc/init.d/ |
41 |
> to net.lo |
42 |
> |
43 |
> There's been a few threads in this list a couple of months ago or so. You |
44 |
> may |
45 |
> want to refer to them. |
46 |
> |
47 |
> |
48 |
> > Installing Gentoo, I closely followed the instructions from Gentoo |
49 |
> > Linux AMD64 Handbook |
50 |
> > (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1). |
51 |
> > |
52 |
> > The contents of my /etc/conf.d/net file is like this: |
53 |
> > hostname="myhostname" |
54 |
> > dns_domain_lo="mynetwork" |
55 |
> > config_enp2s15="192.168.0.9 netmask 255.255.255.0 broadcast |
56 |
> 192.168.0.255" |
57 |
> > routes_enp2s15="default via <my_rooter_local_network_IP>" |
58 |
> > dns_servers_enp2s15="<my_rooter_local_network_IP> |
59 |
> > <my_provider_DNS_server_IP> <another_DNS_server_IP>" |
60 |
> |
61 |
> If you have concluded on using eth0, then change the above entries |
62 |
> accordingly |
63 |
> and also try leaving only your router's local_network_IP in there. The |
64 |
> router |
65 |
> should provide you with your ISPs repeaters addresses anyway. |
66 |
> |
67 |
> |
68 |
> > The contents of my /etc/resolv.conf is like this: |
69 |
> > nameserver <my_rooter_local_network_IP> |
70 |
> > nameserver <my_provider_DNS_server_IP> |
71 |
> > nameserver <another_DNS_server_IP> |
72 |
> > |
73 |
> > The relevant part of /var/log/rc.log is like this: |
74 |
> > * Bringing up interface enp2s15 |
75 |
> > * Skipping module adsl due to missing program: /usr/sbin/adsl-start |
76 |
> > /usr/sbin/pppoe-start |
77 |
> > * Skipping module br2684ctl due to missing program: br2684ctl |
78 |
> > * Skipping module tuntap due to missing program: ip openvpn tunctl |
79 |
> > * Skipping module bridge due to missing program: brctl |
80 |
> > * Skipping module clip due to missing program: /usr/sbin/atmsigd |
81 |
> > * Skipping module ethtool due to missing program: ethtool |
82 |
> > * Skipping module macvlan due to missing program: ip |
83 |
> > * Skipping module netplugd due to missing program: /sbin/netplugd |
84 |
> > * Skipping module ifplugd due to missing program: /usr/sbin/ifplugd |
85 |
> > * Skipping module ipppd due to missing program: /usr/sbin/ipppd |
86 |
> > * Skipping module iwconfig due to missing program: /sbin/iwconfig |
87 |
> > * Skipping module iproute2 due to missing program: ip |
88 |
> > * Skipping module firewalld due to missing program: firewall-cmd |
89 |
> > * Skipping module pppd due to missing program: /usr/sbin/pppd |
90 |
> > * Skipping module vlan due to missing program: ip |
91 |
> > * Skipping module dhclient due to missing program: /sbin/dhclient |
92 |
> > * Skipping module pump due to missing program: /sbin/pump |
93 |
> > * Skipping module ip6rd due to missing program: ip |
94 |
> > * Skipping module ip6to4 due to missing program: ip |
95 |
> > * Loaded modules: apipa arping bonding ccwgroup macchanger macnet |
96 |
> |
97 |
> You seem to have built a tonne of modules which you probably do not need. |
98 |
> |
99 |
> > wpa_supplicant ssidnet ifconfig system dhcpcd |
100 |
> > * Configuring enp2s15 for MAC address <my_ethernet_card_mac_address> ... |
101 |
> > [ ok ] |
102 |
> > * 192.168.0.9 ... |
103 |
> > [ ok ] |
104 |
> > * Adding routes |
105 |
> > * default via <my_rooter_local_network_IP> ... |
106 |
> > |
107 |
> > Remark: My router works ok for the Ubuntu installation on the same |
108 |
> > computer. |
109 |
> > |
110 |
> > Networking options of my kernel is as follows: |
111 |
> > |
112 |
> > CONFIG_PACKET=y |
113 |
> > CONFIG_PACKET_DIAG=y |
114 |
> > CONFIG_UNIX=y |
115 |
> > CONFIG_UNIX_DIAG=y |
116 |
> > CONFIG_XFRM=y |
117 |
> > CONFIG_XFRM_ALGO=y |
118 |
> > CONFIG_XFRM_USER=y |
119 |
> > CONFIG_INET=y |
120 |
> > CONFIG_INET_TUNNEL=y |
121 |
> > CONFIG_INET_LRO=y |
122 |
> > CONFIG_INET_DIAG=y |
123 |
> > CONFIG_INET_TCP_DIAG=y |
124 |
> > CONFIG_INET_UDP_DIAG=y |
125 |
> > CONFIG_TCP_CONG_ADVANCED=y |
126 |
> > CONFIG_TCP_CONG_CUBIC=y |
127 |
> > CONFIG_DEFAULT_CUBIC=y |
128 |
> > CONFIG_DEFAULT_TCP_CONG="cubic" |
129 |
> > CONFIG_TCP_MD5SIG=y |
130 |
> > CONFIG_IPV6=y |
131 |
> > CONFIG_INET6_AH=y |
132 |
> > CONFIG_INET6_ESP=y |
133 |
> > CONFIG_INET6_XFRM_MODE_TRANSPORT=y |
134 |
> > CONFIG_INET6_XFRM_MODE_TUNNEL=y |
135 |
> > CONFIG_INET6_XFRM_MODE_BEET=y |
136 |
> > CONFIG_IPV6_SIT=y |
137 |
> > CONFIG_IPV6_NDISC_NODETYPE=y |
138 |
> > CONFIG_NETWORK_SECMARK=y |
139 |
> > CONFIG_HAVE_NET_DSA=y |
140 |
> > CONFIG_DNS_RESOLVER=y |
141 |
> > CONFIG_RPS=y |
142 |
> > CONFIG_RFS_ACCEL=y |
143 |
> > CONFIG_XPS=y |
144 |
> > CONFIG_BQL=y |
145 |
> > |
146 |
> > where all options that are "not set" has been deleted for brevity. |
147 |
> > |
148 |
> > I have also tried to use dhcpd instead of static IP but it did not help. |
149 |
> > |
150 |
> > Currently, I have completely exhausted all my creativity trying to |
151 |
> > figure out how to make my WWW browsers to work properly. Please, help! |
152 |
> |
153 |
> Can you please show us: |
154 |
> |
155 |
> ip route show |
156 |
> |
157 |
> ip addr show |
158 |
> |
159 |
> ip link show |
160 |
> |
161 |
> -- |
162 |
> Regards, |
163 |
> Mick |
164 |
> |