1 |
I somehow missed this post, so excuse me for the late reply. |
2 |
|
3 |
2013/8/5 Mick <michaelkintzios@×××××.com>: |
4 |
> On Monday 05 Aug 2013 07:06:08 gevisz wrote: |
5 |
>> My thanks to all who replied to my question. |
6 |
>> |
7 |
>> The problem was with my local router, which I also used as DNS. |
8 |
>> After excluding it from /etc/resolv.config and /etc/init.d/net files, |
9 |
>> Firefox started to work as expected. |
10 |
> |
11 |
> Hmm ... I wonder if this is related to my earlier comment about malformed |
12 |
> packets. |
13 |
|
14 |
Somewhere, you hinted that the problem may be with the routers and |
15 |
suggested to experiment with it. |
16 |
|
17 |
Before that, I strongly believed that, if I listed 3 different routers in my |
18 |
resolv.conf, the system should proceed with the next router if something |
19 |
is wrong with the previous one, but unfortunately it did not. |
20 |
|
21 |
The response of the first router contained an error that prevented all the |
22 |
other applications to use it, the system knew about it (for example from |
23 |
the output of the host utility) but, nevertheless did not proceeded with |
24 |
the next router listed in resolv.conf. |
25 |
|
26 |
I do undersand that this may be because of the layered structure of the |
27 |
networked software. But, nevertheless, I think that something is fundamentally |
28 |
wrong with this. |
29 |
|
30 |
Once more, thank you for your help. |
31 |
|
32 |
A few following remarks are minor and so, you can stop your reading here. |
33 |
|
34 |
> May be worth trying a different firmware for this router. |
35 |
|
36 |
I have already changed the firmware after purchasing it but now I cannot afford |
37 |
it as I need its uninterupted functioning. |
38 |
|
39 |
>> Suggestions of Michael Kintzios |
40 |
> |
41 |
>> > This is the new kernel naming scheme of NICs. Which-ever nomenclature |
42 |
>> > you decide to use, check that that's the only one having a symlink in |
43 |
>> > /etc/init.d to net.lo |
44 |
>> |
45 |
>> Yes, there is only enp2s15 links to lo in /etc/init.d |
46 |
> |
47 |
> The idea here is that you need consistent naming of your iface. If you have |
48 |
> settled on the kernel naming of enp2s15, then stick with this throughout your |
49 |
> configuration. |
50 |
|
51 |
Yes, I did. |
52 |
|
53 |
>> After deleting all but my lan router DNS from /etc/conf.d/net and |
54 |
>> /etc/resolv.conf files, I had the same problem as before but, |
55 |
>> in addition, the host utility reports an additional error. Please, |
56 |
>> see the full response below. |
57 |
> |
58 |
> You should not need to manually alter anything in your /etc/resolv.conf, |
59 |
> which will be completed with the DNS server name(s) you have set up |
60 |
> in your /etc/conf.d/net. |
61 |
|
62 |
Actually, I changed it in both files simultaneously, but -- as I have already |
63 |
explained it above, yes, I should not do it but had to. :^) |
64 |
|
65 |
>> # host www.google.com |
66 |
>> www.google.com has address 74.125.232.52 |
67 |
>> www.google.com has address 74.125.232.48 |
68 |
>> www.google.com has address 74.125.232.49 |
69 |
>> www.google.com has address 74.125.232.50 |
70 |
>> www.google.com has address 74.125.232.51 |
71 |
>> ;; Warning: query response not set |
72 |
>> ;; Warning: query response not set |
73 |
> |
74 |
> I think this means that the DNS server response is incorrectly formed (or that |
75 |
> the server respond code does not include a 4 bit RCODE as it should - more |
76 |
> detail for DNS geeks can be found here: http://www.ietf.org/rfc/rfc2136.txt) |
77 |
|
78 |
Thank you, for the referrence. I will study it later. |
79 |
|
80 |
>> Host www.google.com not found: 4(NOTIMP) |
81 |
> |
82 |
> The RFC says: The name server does not support the specified Opcode. |
83 |
> I would reflash the firmware, or try any OpenSource alternatives if available |
84 |
> for your router. |
85 |
|
86 |
It is a small router device. I have already changed its firmware after |
87 |
purchasing it |
88 |
to a newer one. I do not know if its open source alternative exists and, anyway, |
89 |
I cannot change it now because I cannot afford any interruption of the |
90 |
router functioning. |
91 |
|
92 |
>> After leaving in /etc/conf.d/net and /etc/resolv.conf files only the |
93 |
>> DNS of my service provider, Firefox started to work as predicted. Thank you! |
94 |
> |
95 |
> This may not be ideal (it will introduce some latency in your requests) but if |
96 |
> you can't fix your router, it'll have to do for now. |
97 |
> |
98 |
> |
99 |
>> > Can you please show us: |
100 |
>> > ip route show |
101 |
>> > ip addr show |
102 |
>> > ip link show |
103 |
>> |
104 |
>> $ ip route show |
105 |
>> default via 192.168.0.1 dev enp2s15 metric 2 |
106 |
>> 127.0.0.0/8 via 127.0.0.1 dev lo scope link |
107 |
>> 192.168.0.0/24 dev enp2s15 proto kernel scope link src 192.168.0.9 |
108 |
> |
109 |
> This says that your IP address us 192.168.0.9, but see below. |
110 |
> |
111 |
> |
112 |
>> $ ip addr show |
113 |
> [snip ...] |
114 |
> |
115 |
>> 2: enp2s15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc |
116 |
>> pfifo_fast state UP qlen 1000 |
117 |
>> link/ether <MAC_address_of_my_Ethernet_card> brd ff:ff:ff:ff:ff:ff |
118 |
>> inet 192.168.0.7/24 brd 192.168.0.255 scope global enp2s15 |
119 |
> |
120 |
> This says that your ip address is 192.168.0.7 - did you get a different IP |
121 |
> address between the two commands? Your /etc/conf.d/net showed that you had |
122 |
> set up a static address as config_enp2s15="192.168.0.9 ..." so why is this |
123 |
> here? |
124 |
|
125 |
Sorry, it happened only because of my stupid attempt to eliminate all |
126 |
the real IP addresses... |
127 |
|
128 |
>> $ ip link show |
129 |
> [snip ...] |
130 |
> |
131 |
>> 2: enp2s15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc |
132 |
>> pfifo_fast state UP mode DEFAULT qlen 1000 |
133 |
>> link/ether <MAC_address_of_my_Ethernet_card> brd ff:ff:ff:ff:ff:ff |
134 |
> |
135 |
> OK, this looks good. |
136 |
> |
137 |
> |
138 |
>> Suggestions of Kurian Thayil |
139 |
>> |
140 |
>> > Can you do a ping and see if the resolv.conf DNS ips are reachable? |
141 |
>> |
142 |
>> Yes, I can ping all my DNS. Moreover, I successfully use them from my |
143 |
>> Ubuntu installation on the same computer. |
144 |
>> |
145 |
>> > do a |
146 |
>> > dig @8.8.8.8 www.google.com ## which will do a name resolution with |
147 |
>> > Google DNS servers. |
148 |
>> |
149 |
>> Here is the output: |
150 |
>> |
151 |
>> $ dig @8.8.8.8 www.google.co |
152 |
>> |
153 |
>> ; <<>> DiG 9.9.2 <<>> @8.8.8.8 www.google.co |
154 |
>> ; (1 server found) |
155 |
>> ;; global options: +cmd |
156 |
>> ;; Got answer: |
157 |
>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4036 |
158 |
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 12, AUTHORITY: 4, ADDITIONAL: 5 |
159 |
>> |
160 |
>> ;; OPT PSEUDOSECTION: |
161 |
>> ; EDNS: version: 0, flags:; udp: 4096 |
162 |
>> ;; QUESTION SECTION: |
163 |
>> ;www.google.co. IN A |
164 |
>> |
165 |
>> ;; ANSWER SECTION: |
166 |
>> www.google.co. 86400 IN CNAME www3.l.google.com. |
167 |
>> www3.l.google.com. 13 IN A 173.194.32.166 |
168 |
>> www3.l.google.com. 13 IN A 173.194.32.167 |
169 |
>> www3.l.google.com. 13 IN A 173.194.32.168 |
170 |
>> www3.l.google.com. 13 IN A 173.194.32.169 |
171 |
>> www3.l.google.com. 13 IN A 173.194.32.174 |
172 |
>> www3.l.google.com. 13 IN A 173.194.32.160 |
173 |
>> www3.l.google.com. 13 IN A 173.194.32.161 |
174 |
>> www3.l.google.com. 13 IN A 173.194.32.162 |
175 |
>> www3.l.google.com. 13 IN A 173.194.32.163 |
176 |
>> www3.l.google.com. 13 IN A 173.194.32.164 |
177 |
>> www3.l.google.com. 13 IN A 173.194.32.165 |
178 |
>> |
179 |
>> ;; AUTHORITY SECTION: |
180 |
>> google.com. 244594 IN NS ns3.google.com. |
181 |
>> google.com. 244594 IN NS ns2.google.com. |
182 |
>> google.com. 244594 IN NS ns4.google.com. |
183 |
>> google.com. 244594 IN NS ns1.google.com. |
184 |
>> |
185 |
>> ;; ADDITIONAL SECTION: |
186 |
>> ns1.google.com. 191550 IN A 216.239.32.10 |
187 |
>> ns2.google.com. 191550 IN A 216.239.34.10 |
188 |
>> ns3.google.com. 191550 IN A 216.239.36.10 |
189 |
>> ns4.google.com. 191550 IN A 216.239.38.10 |
190 |
>> |
191 |
>> ;; Query time: 96 msec |
192 |
>> ;; SERVER: 8.8.8.8#53(8.8.8.8) |
193 |
>> ;; WHEN: Mon Aug 5 07:59:45 2013 |
194 |
>> ;; MSG SIZE rcvd: 385 |
195 |
> |
196 |
> OK, Google's public DNS 8.8.8.8 works fine, but your router's internal DNS |
197 |
> repeater seems to be dodgy. |
198 |
|
199 |
Yes, it is. Thank you once more (in case you happen to read until this point :). |
200 |
|
201 |
> Regards, |
202 |
> Mick |