[gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
The first reboot after recent update of the system have
shown that I cannot open any webpage in Firefox.

More exactly, Firefox or my system cannot any more resolve
URL to IP address (sorry if I use wrong terms).

Thus,
   host gmail.com
gives:
   ;; connection timed out no servers could be reached

Nevertheless
dig @8.8.8.8 gmail.com
reports the corresponding IP adresses.

I have not changed any my network settings and my
/etc/conf.d/net file still contains list of my DNS servers
that contains server 8.8.8.8 as well but somehow it is
not enough any more. :(

During my last system update, I suddenly found that
I had to update about 150 packages, what was a little
bit strange as I update my system at least once a week.

I have attributed that to the remnants of gnome2 (now I am using
fxce4) that I have not cleaned completely and that is now going
to update. So, I deviated a bit from my usual system update routine
trying to fix that. Nevertheless, as to my view, during my system update
I did nothing to distroy the DNS lookup.

Luckily, I save my system update logs and now can attach
the last one to this e-mail.

Please, help me to recover my internet access,
as I still have to do a lot of real work till Monday
and have not enough time to investigate this problem
alone and without a proper internet access. :(
# emerge-webrsync
Fetching most recent snapshot ...
Trying to retrieve 20140724 snapshot from http://de-mirror.org/gentoo ...
Fetching file portage-20140724.tar.xz.md5sum ...
Fetching file portage-20140724.tar.xz.gpgsig ...
Fetching file portage-20140724.tar.xz ...
Checking digest ...
Checking signature ...
gpg: Signature made Fri 25 Jul 2014 03:55:29 AM EEST using RSA key ID C9189250
gpg: Good signature from Gentoo Portage Snapshot Signing Key (Automated 
Signing Key) [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
Primary key fingerprint: DCD0 5B71 EAB9 4199 527F  44AC DB6B 8C1F 96D8 BF6D
 Subkey fingerprint: E1D6 ABB6 3BFC FB4B A02F  DF1C EC59 0EEA C918 9250
Getting snapshot timestamp ...
Syncing local tree ...

Number of files: 180119
Number of files transferred: 5148
Total file size: 327.62M bytes
Total transferred file size: 35.67M bytes
Literal data: 35.67M bytes
Matched data: 0 bytes
File list size: 4.56M
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 16.10M
Total bytes received: 124.13K

sent 16.10M bytes  received 124.13K bytes  135.75K bytes/sec
total size is 327.62M  speedup is 20.20
Cleaning up ...
q: Updating ebuild cache ... 
q: Finished 37417 entries in 0.297930 seconds

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)
@

# emerge --update --deep --with-bdeps=y --newuse --ask world

These are the packages that would be merged, in order:

Calculating dependencies... done!

The following packages are causing rebuilds:

  (media-libs/libmng-2.0.2-r1::gentoo, ebuild scheduled for merge) causes 
rebuilds for:
(dev-qt/qtgui-4.8.5-r3::gentoo, ebuild scheduled for merge)
  (gnome-base/gnome-desktop-3.12.2::gentoo, ebuild scheduled for merge) causes 
rebuilds for:
(gnome-extra/gnome-screensaver-3.6.1::gentoo, ebuild scheduled for merge)
  (media-libs/x264-0.0.20140308::gentoo, ebuild scheduled for merge) causes 
rebuilds for:
(media-video/vlc-2.1.2::gentoo, ebuild scheduled for merge)
[ebuild U  ] virtual/libintl-0-r1 [0] ABI_X86=(64%*) -32% (-x32) 
[ebuild U  ] media-libs/vo-aacenc-0.1.3 [0.1.2] ABI_X86=(64%*) (-32) 
(-x32) 
[ebuild U  ] gnome-base/gnome-common-3.12.0 [3.10.0]
[ebuild U  ] dev-libs/vala-common-0.24.0 [0.22.1]
[ebuild U  ] media-libs/libpng-1.6.12 [1.6.10]
[ebuild U  ] sys-libs/cracklib-2.9.1-r1 [2.9.1] ABI_X86=(64%*) (-32) 
(-x32) 
[ebuild U  ] x11-libs/gnome-pty-helper-0.36.3 [0.34.9]
[ebuild   R] media-libs/lcms-2.5 
[ebuild  r  U  ] media-libs/libmng-2.0.2-r1 [1.0.10-r1] ABI_X86=(64%*) (-32) 
(-x32) 
[ebuild  r  U  ] media-libs/x264-0.0.20140308 [0.0.20111220] USE=sse%* 
-opencl% ABI_X86=(64%*) (-32) (-x32) 
[ebuild U  ] media-libs/xvid-1.3.3 [1.3.2] ABI_X86=(64%*) (-32) (-x32) 
[ebuild U  ] dev-libs/gobject-introspection-common-1.40.0 [1.38.0]
[ebuild U  ] virtual/perl-Test-Simple-0.980.0-r5 [0.980.0-r4]
[ebuild U  ] perl-core/IO-1.25-r1 [1.25]
[ebuild U  ] virtual/perl-Digest-1.170.0-r3 [1.170.0-r1]
[ebuild U  ] virtual/perl-File-Spec-3.400.0-r2 [3.400.0-r1]
[ebuild U  ] dev-lang/orc-0.4.19 [0.4.18]
[ebuild U  ] virtual/perl-Scalar-List-Utils-1.270.0-r2 [1.270.0-r1]
[ebuild U  ] virtual/perl-Test-Harness-3.260.0-r2 [3.260.0-r1]
[ebuild U  ] virtual/perl-IO-Compress-2.60.0-r1 [2.60.0]
[ebuild U  ] perl-core/Archive-Tar-1.900.0-r1 [1.900.0]
[ebuild U  ] dev-db/sqlite-3.8.4.3 [3.8.2] ABI_X86=(64%*) (-32) (-x32) 
[ebuild   R] dev-libs/libgcrypt-1.5.3 
[ebuild U  ] 

Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Alan McKinnon
On 26/07/2014 17:23, Grand Duet wrote:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.
 
 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).
 
 Thus,
host gmail.com http://gmail.com
 gives:
;; connection timed out no servers could be reached
 
 Nevertheless
 dig @8.8.8.8 http://8.8.8.8 gmail.com http://gmail.com
 reports the corresponding IP adresses.
 
 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(
 
 During my last system update, I suddenly found that
 I had to update about 150 packages, what was a little
 bit strange as I update my system at least once a week.
 
 I have attributed that to the remnants of gnome2 (now I am using
 fxce4) that I have not cleaned completely and that is now going
 to update. So, I deviated a bit from my usual system update routine
 trying to fix that. Nevertheless, as to my view, during my system update
 I did nothing to distroy the DNS lookup.
 
 Luckily, I save my system update logs and now can attach
 the last one to this e-mail.
 
 Please, help me to recover my internet access,
 as I still have to do a lot of real work till Monday
 and have not enough time to investigate this problem
 alone and without a proper internet access. :( 



what is the contents of /etc/resolve.conf?





-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Jc García
2014-07-26 9:23 GMT-06:00 Grand Duet grand.d...@gmail.com:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.

 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).

 Thus,
host gmail.com
 gives:
;; connection timed out no servers could be reached

 Nevertheless
 dig @8.8.8.8 gmail.com
 reports the corresponding IP adresses.

 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(

 During my last system update, I suddenly found that
 I had to update about 150 packages, what was a little
 bit strange as I update my system at least once a week.

 I have attributed that to the remnants of gnome2 (now I am using
 fxce4) that I have not cleaned completely and that is now going
 to update. So, I deviated a bit from my usual system update routine
 trying to fix that. Nevertheless, as to my view, during my system update
 I did nothing to distroy the DNS lookup.

 Luckily, I save my system update logs and now can attach
 the last one to this e-mail.

 Please, help me to recover my internet access,
 as I still have to do a lot of real work till Monday
 and have not enough time to investigate this problem
 alone and without a proper internet access. :(




You did verify your settings where correctly used to generate
/etc/resolv.conf ? if not, append some known dns to that file this
way:
nameserver 8.8.8.8
nameserver 8.8.4.4

verify connection to your gateway and internet with ping.



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Mick
On Saturday 26 Jul 2014 16:23:20 Grand Duet wrote:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.
 
 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).
 
 Thus,
host gmail.com
 gives:
;; connection timed out no servers could be reached

OK, what does 'cat /etc/resolve.conf' shows?

It seems that you do not have a nameserver set up in your system?
 
 Nevertheless
 dig @8.8.8.8 gmail.com
 reports the corresponding IP adresses.

I'm guessing that 'dig gmail.com' doesn't come up with an answer?


 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(

Do you then define the nameservers statically?

Do you use dhcpcd, or something else?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 19:02 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:

 On 26/07/2014 17:23, Grand Duet wrote:
  The first reboot after recent update of the system have
  shown that I cannot open any webpage in Firefox.
 
  More exactly, Firefox or my system cannot any more resolve
  URL to IP address (sorry if I use wrong terms).
 
  Thus,
 host gmail.com http://gmail.com
  gives:
 ;; connection timed out no servers could be reached
 
  Nevertheless
  dig @8.8.8.8 http://8.8.8.8 gmail.com http://gmail.com
  reports the corresponding IP adresses.
 
  I have not changed any my network settings and my
  /etc/conf.d/net file still contains list of my DNS servers
  that contains server 8.8.8.8 as well but somehow it is
  not enough any more. :(
 
  During my last system update, I suddenly found that
  I had to update about 150 packages, what was a little
  bit strange as I update my system at least once a week.
 
  I have attributed that to the remnants of gnome2 (now I am using
  fxce4) that I have not cleaned completely and that is now going
  to update. So, I deviated a bit from my usual system update routine
  trying to fix that. Nevertheless, as to my view, during my system update
  I did nothing to distroy the DNS lookup.
 
  Luckily, I save my system update logs and now can attach
  the last one to this e-mail.
 
  Please, help me to recover my internet access,
  as I still have to do a lot of real work till Monday
  and have not enough time to investigate this problem
  alone and without a proper internet access. :(

 what is the contents of /etc/resolve.conf?

   # Generated by net-scripts for interface lo
   domain mynetwork

That is all.

I tried to add here lines like:

  nameserver 8.8.8.8

but found out that this file is rewritten on every reboot.

My net try was to create /etc/resolv.conf.tail file
and put that line there but that did not help either.



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Jc García
2014-07-26 10:16 GMT-06:00 Grand Duet grand.d...@gmail.com:


# Generated by net-scripts for interface lo
domain mynetwork

 That is all.

 I tried to add here lines like:

   nameserver 8.8.8.8

 but found out that this file is rewritten on every reboot.

 My net try was to create /etc/resolv.conf.tail file
 and put that line there but that did not help either.

if your system is using resolvconf to generate /etc/resolv.conf you
can use /etc/resolv.conf.head also with the same syntax, and its
content will get at the top on every reboot



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 19:09 GMT+03:00 Jc García jyo.gar...@gmail.com:
 2014-07-26 9:23 GMT-06:00 Grand Duet grand.d...@gmail.com:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.

 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).

 Thus,
host gmail.com
 gives:
;; connection timed out no servers could be reached

 Nevertheless
 dig @8.8.8.8 gmail.com
 reports the corresponding IP adresses.

 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(

 During my last system update, I suddenly found that
 I had to update about 150 packages, what was a little
 bit strange as I update my system at least once a week.

 I have attributed that to the remnants of gnome2 (now I am using
 fxce4) that I have not cleaned completely and that is now going
 to update. So, I deviated a bit from my usual system update routine
 trying to fix that. Nevertheless, as to my view, during my system update
 I did nothing to distroy the DNS lookup.

 Luckily, I save my system update logs and now can attach
 the last one to this e-mail.

 Please, help me to recover my internet access,
 as I still have to do a lot of real work till Monday
 and have not enough time to investigate this problem
 alone and without a proper internet access. :(




 You did verify your settings where correctly used to generate
 /etc/resolv.conf ?

I guess, no.

 if not, append some known dns to that file this way:
 nameserver 8.8.8.8
 nameserver 8.8.4.4

This does not help as /etc/resolv.conf is overwritten on every reboot.
Creating /etc/resolv.conf.tail also did not help.

 verify connection to your gateway and internet with ping.

It is ok. I am writing from the same subnet.



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Jc García
2014-07-26 10:22 GMT-06:00 Grand Duet grand.d...@gmail.com:
etc/resolv.conf ?

 I guess, no.

 if not, append some known dns to that file this way:
 nameserver 8.8.8.8
 nameserver 8.8.4.4

 This does not help as /etc/resolv.conf is overwritten on every reboot.
 Creating /etc/resolv.conf.tail also did not help.

 verify connection to your gateway and internet with ping.

 It is ok. I am writing from the same subnet.

That was just the trouble-shooting part, I use /etc/resolv.conf.head
as my permanent solution to dns nameservers setting on my desktop(see
my previous mail).



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 19:13 GMT+03:00 Mick michaelkintz...@gmail.com:
 On Saturday 26 Jul 2014 16:23:20 Grand Duet wrote:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.

 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).

 Thus,
host gmail.com
 gives:
;; connection timed out no servers could be reached

 OK, what does 'cat /etc/resolve.conf' shows?

  # Generated by f***ing net-scripts for interface lo
  domain mynetwork

 It seems that you do not have a nameserver set up in your system?

I have everything in /etc/conf.d/net:
  dns_servers_...=... ... 8.8.8.8
but currently nothing in /etc/resolv.conf

 Nevertheless
 dig @8.8.8.8 gmail.com
 reports the corresponding IP adresses.

 I'm guessing that 'dig gmail.com' doesn't come up with an answer?

You are right. :)

 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(

 Do you then define the nameservers statically?

I think, yes.

 Do you use dhcpcd, or something else?

I assign IP for my Gentoo computer statically in /etc/conf.d/net:
  config_...=my.local.IP netmask ...
  routes_...=default via my.local.router.IP
but I have not changed all this since last reboot when everything worked ok.



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 19:27 GMT+03:00 Jc García jyo.gar...@gmail.com:
 2014-07-26 10:22 GMT-06:00 Grand Duet grand.d...@gmail.com:
 etc/resolv.conf ?

 I guess, no.

 if not, append some known dns to that file this way:
 nameserver 8.8.8.8
 nameserver 8.8.4.4

 This does not help as /etc/resolv.conf is overwritten on every reboot.
 Creating /etc/resolv.conf.tail also did not help.

 verify connection to your gateway and internet with ping.

 It is ok. I am writing from the same subnet.

 That was just the trouble-shooting part, I use /etc/resolv.conf.head
 as my permanent solution to dns nameservers setting on my desktop(see
 my previous mail).

Moving my /etc/resolv.conf.tail with nameservers IPs to
/etc/resolv.conf.head changed nothing on reboot.



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Volker Armin Hemmann
Am 26.07.2014 18:47, schrieb Grand Duet:
 2014-07-26 19:27 GMT+03:00 Jc García jyo.gar...@gmail.com:
 2014-07-26 10:22 GMT-06:00 Grand Duet grand.d...@gmail.com:
 etc/resolv.conf ?
 I guess, no.

 if not, append some known dns to that file this way:
 nameserver 8.8.8.8
 nameserver 8.8.4.4
 This does not help as /etc/resolv.conf is overwritten on every reboot.
 Creating /etc/resolv.conf.tail also did not help.

 verify connection to your gateway and internet with ping.
 It is ok. I am writing from the same subnet.

 That was just the trouble-shooting part, I use /etc/resolv.conf.head
 as my permanent solution to dns nameservers setting on my desktop(see
 my previous mail).
 Moving my /etc/resolv.conf.tail with nameservers IPs to
 /etc/resolv.conf.head changed nothing on reboot.


and /etc/resolvconf.conf?



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Alan McKinnon
On 26/07/2014 18:16, Grand Duet wrote:
 2014-07-26 19:02 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:

 On 26/07/2014 17:23, Grand Duet wrote:
 The first reboot after recent update of the system have
 shown that I cannot open any webpage in Firefox.

 More exactly, Firefox or my system cannot any more resolve
 URL to IP address (sorry if I use wrong terms).

 Thus,
host gmail.com http://gmail.com
 gives:
;; connection timed out no servers could be reached

 Nevertheless
 dig @8.8.8.8 http://8.8.8.8 gmail.com http://gmail.com
 reports the corresponding IP adresses.

 I have not changed any my network settings and my
 /etc/conf.d/net file still contains list of my DNS servers
 that contains server 8.8.8.8 as well but somehow it is
 not enough any more. :(

 During my last system update, I suddenly found that
 I had to update about 150 packages, what was a little
 bit strange as I update my system at least once a week.

 I have attributed that to the remnants of gnome2 (now I am using
 fxce4) that I have not cleaned completely and that is now going
 to update. So, I deviated a bit from my usual system update routine
 trying to fix that. Nevertheless, as to my view, during my system update
 I did nothing to distroy the DNS lookup.

 Luckily, I save my system update logs and now can attach
 the last one to this e-mail.

 Please, help me to recover my internet access,
 as I still have to do a lot of real work till Monday
 and have not enough time to investigate this problem
 alone and without a proper internet access. :(

 what is the contents of /etc/resolve.conf?
 
# Generated by net-scripts for interface lo
domain mynetwork
 
 That is all.
 
 I tried to add here lines like:
 
   nameserver 8.8.8.8
 
 but found out that this file is rewritten on every reboot.
 
 My net try was to create /etc/resolv.conf.tail file
 and put that line there but that did not help either.

Then the problem is obvious - you have no nameserver entries as you
don't create any. The computer can't make them up by magic..

You need to create static nameserver entries because you use a static
(i.e. no dhcp) configuration. Add them to /etc/resolvconf.conf

If it still gets removed across restarts then you have some local
modification going on that does deletions you don't know about. You then
have too find them and turn them into something you do know about.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Mick
On Saturday 26 Jul 2014 17:47:51 Grand Duet wrote:
 2014-07-26 19:27 GMT+03:00 Jc García jyo.gar...@gmail.com:
  2014-07-26 10:22 GMT-06:00 Grand Duet grand.d...@gmail.com:
  etc/resolv.conf ?
  
  I guess, no.
  
  if not, append some known dns to that file this way:
  nameserver 8.8.8.8
  nameserver 8.8.4.4
  
  This does not help as /etc/resolv.conf is overwritten on every reboot.
  Creating /etc/resolv.conf.tail also did not help.
  
  verify connection to your gateway and internet with ping.
  
  It is ok. I am writing from the same subnet.
  
  That was just the trouble-shooting part, I use /etc/resolv.conf.head
  as my permanent solution to dns nameservers setting on my desktop(see
  my previous mail).
 
 Moving my /etc/resolv.conf.tail with nameservers IPs to
 /etc/resolv.conf.head changed nothing on reboot.

Have you checked that:

udev has not changed the name of your NIC and if it has, that your symlinks in 
/etc/init.d are correct.

Similarly, interface names are correct in your /etc/conf.d/net.

The syntax in /etc/conf.d/net is in line with /usr/share/doc/netifrc-
*/net.example.bz2


If all of the above are as they should be, then I'm running out of ideas.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 21:38 GMT+03:00 Mick michaelkintz...@gmail.com:
 On Saturday 26 Jul 2014 17:47:51 Grand Duet wrote:
 2014-07-26 19:27 GMT+03:00 Jc García jyo.gar...@gmail.com:
  2014-07-26 10:22 GMT-06:00 Grand Duet grand.d...@gmail.com:
  etc/resolv.conf ?
 
  I guess, no.
 
  if not, append some known dns to that file this way:
  nameserver 8.8.8.8
  nameserver 8.8.4.4
 
  This does not help as /etc/resolv.conf is overwritten on every reboot.
  Creating /etc/resolv.conf.tail also did not help.
 
  verify connection to your gateway and internet with ping.
 
  It is ok. I am writing from the same subnet.
 
  That was just the trouble-shooting part, I use /etc/resolv.conf.head
  as my permanent solution to dns nameservers setting on my desktop(see
  my previous mail).

 Moving my /etc/resolv.conf.tail with nameservers IPs to
 /etc/resolv.conf.head changed nothing on reboot.

 Have you checked that:

 udev has not changed the name of your NIC and if it has,
 that your symlinks in /etc/init.d are correct.

 Similarly, interface names are correct in your /etc/conf.d/net.

 The syntax in /etc/conf.d/net is in line with /usr/share/doc/netifrc-
 */net.example.bz2

 If all of the above are as they should be, then I'm running out of ideas.

I am also.

After having a break, I decided to manually edit /etc/resolv.conf and then
chmod it to be unoverwrittable. But I had no chance to check this solution:
after booting my Gentoo computer once again, I have found out that now
/etc/resolv.conf was created *with* DNS servers IPs, and everything works
fine.

But it is *very* strange as I have *not* changed anything after my
previous reboot.
Absolutely.

Have I discovered a new Windows-like fix for a Gentoo system that can be called
Just reboot it several times?



Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Peter Humphrey
On Saturday 26 July 2014 22:16:53 Grand Duet wrote:
 2014-07-26 21:19 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:
  On 26/07/2014 18:16, Grand Duet wrote:
  2014-07-26 19:02 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:
  On 26/07/2014 17:23, Grand Duet wrote:
  The first reboot after recent update of the system have
  shown that I cannot open any webpage in Firefox.
  
  More exactly, Firefox or my system cannot any more resolve
  URL to IP address (sorry if I use wrong terms).
  
  Thus,
  
 host gmail.com http://gmail.com
  
  gives:
 ;; connection timed out no servers could be reached
  
  Nevertheless
  
  dig @8.8.8.8 http://8.8.8.8 gmail.com http://gmail.com
  
  reports the corresponding IP adresses.
  
  I have not changed any my network settings and my
  /etc/conf.d/net file still contains list of my DNS servers
  that contains server 8.8.8.8 as well but somehow it is
  not enough any more. :(
  
  During my last system update, I suddenly found that
  I had to update about 150 packages, what was a little
  bit strange as I update my system at least once a week.
  
  I have attributed that to the remnants of gnome2 (now I am using
  fxce4) that I have not cleaned completely and that is now going
  to update. So, I deviated a bit from my usual system update routine
  trying to fix that. Nevertheless, as to my view, during my system
  update
  I did nothing to distroy the DNS lookup.
  
  Luckily, I save my system update logs and now can attach
  the last one to this e-mail.
  
  Please, help me to recover my internet access,
  as I still have to do a lot of real work till Monday
  and have not enough time to investigate this problem
  alone and without a proper internet access. :(
  
  what is the contents of /etc/resolve.conf?
  
 # Generated by net-scripts for interface lo
 domain mynetwork

That isn't right. It should say it's for interface eth0. At first I thought 
eth0 wasn't being brought up, but then you quoted replies from dig, so it must 
be.

  That is all.
  
  I tried to add here lines like:
nameserver 8.8.8.8
  
  but found out that this file is rewritten on every reboot.
  
  My net try was to create /etc/resolv.conf.tail file
  and put that line there but that did not help either.
  
  Then the problem is obvious - you have no nameserver entries as you
  don't create any. The computer can't make them up by magic...
 
 But it did it just before the last update: it created DNS entries in
 /etc/resolv.conf
 from my /etc/conf.d/net file on every reboot. And now it cannot do this
 magic?
  You need to create static nameserver entries because you use a static
  (i.e. no dhcp) configuration. Add them to /etc/resolvconf.conf
 
 It does not help as /etc/resolv.conf is overwritten on every reboot.
 
  If it still gets removed across restarts
 
 Yes, it does.

Do you still have netifrc installed? Maybe it got lost in all that updating 
work. Try emerging it again anyway.

Do your 90-network-rules look like mine?

$ cat /lib/udev/rules.d/90-network.rules
# do not edit this file, it will be overwritten on update

# /etc/udev/rules/90-network.rules:  triggering network init-scripts

# Activate our network if we can
SUBSYSTEM==net, ACTION==add,RUN+=net.sh %k start
SUBSYSTEM==net, ACTION==remove, RUN+=net.sh %k stop

I'm clutching at straws here, and I hear others doing the same  ;-(

-- 
Regards
Peter




Re: [gentoo-user] Something went wrong with DNS, plz help!

2014-07-26 Thread Grand Duet
2014-07-26 22:43 GMT+03:00 Peter Humphrey pe...@prh.myzen.co.uk:
 On Saturday 26 July 2014 22:16:53 Grand Duet wrote:
 2014-07-26 21:19 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:
  On 26/07/2014 18:16, Grand Duet wrote:
  2014-07-26 19:02 GMT+03:00 Alan McKinnon alan.mckin...@gmail.com:
  On 26/07/2014 17:23, Grand Duet wrote:
  The first reboot after recent update of the system have
  shown that I cannot open any webpage in Firefox.
 
  More exactly, Firefox or my system cannot any more resolve
  URL to IP address (sorry if I use wrong terms).
 
  Thus,
 
 host gmail.com http://gmail.com
 
  gives:
 ;; connection timed out no servers could be reached
 
  Nevertheless
 
  dig @8.8.8.8 http://8.8.8.8 gmail.com http://gmail.com
 
  reports the corresponding IP adresses.
 
  I have not changed any my network settings and my
  /etc/conf.d/net file still contains list of my DNS servers
  that contains server 8.8.8.8 as well but somehow it is
  not enough any more. :(
 
  During my last system update, I suddenly found that
  I had to update about 150 packages, what was a little
  bit strange as I update my system at least once a week.
 
  I have attributed that to the remnants of gnome2 (now I am using
  fxce4) that I have not cleaned completely and that is now going
  to update. So, I deviated a bit from my usual system update routine
  trying to fix that. Nevertheless, as to my view, during my system
  update
  I did nothing to distroy the DNS lookup.
 
  Luckily, I save my system update logs and now can attach
  the last one to this e-mail.
 
  Please, help me to recover my internet access,
  as I still have to do a lot of real work till Monday
  and have not enough time to investigate this problem
  alone and without a proper internet access. :(
 
  what is the contents of /etc/resolve.conf?
 
 # Generated by net-scripts for interface lo
 domain mynetwork

 That isn't right. It should say it's for interface eth0. At first I thought
 eth0 wasn't being brought up, but then you quoted replies from dig,
 so it must be.

After the last reboot I magically have got the right /etc/resolv.conf
with DNS servers IPs.

Even more strange is that it happened *without* my intervention:
just a few reboots (one was no enough!).

This, by the way, reminds me MS Windows very much.

I am afraid that you will not believe me, but I really did not changed
any configuration and have not (re)emerged anything after the previous
reboot. Why it did not worked then and does work now?

It is really very strange!

  That is all.
 
  I tried to add here lines like:
nameserver 8.8.8.8
 
  but found out that this file is rewritten on every reboot.
 
  My net try was to create /etc/resolv.conf.tail file
  and put that line there but that did not help either.
 
  Then the problem is obvious - you have no nameserver entries as you
  don't create any. The computer can't make them up by magic...

 But it did it just before the last update: it created DNS entries in
 /etc/resolv.conf
 from my /etc/conf.d/net file on every reboot. And now it cannot do this
 magic?
  You need to create static nameserver entries because you use a static
  (i.e. no dhcp) configuration. Add them to /etc/resolvconf.conf

 It does not help as /etc/resolv.conf is overwritten on every reboot.

  If it still gets removed across restarts

 Yes, it does.

 Do you still have netifrc installed? Maybe it got lost in all that updating
 work. Try emerging it again anyway.

As I have already written, DNS resolution now magically works
again and without any intervention from my side: just a few
reboots (one was no enough!).

So, no need to re-emerge netifrc now.

 Do your 90-network-rules look like mine?

 $ cat /lib/udev/rules.d/90-network.rules
 # do not edit this file, it will be overwritten on update

 # /etc/udev/rules/90-network.rules:  triggering network init-scripts

 # Activate our network if we can
 SUBSYSTEM==net, ACTION==add,RUN+=net.sh %k start
 SUBSYSTEM==net, ACTION==remove, RUN+=net.sh %k stop

My file is exactly the same, and it was changed on May 10, 2014 last time.
So, it could not be the cause.

 I'm clutching at straws here, and I hear others doing the same  ;-(

Everything is very, very strange.