[sf-lug] resolver problem

jim jim at well.com
Mon Apr 4 19:42:02 PDT 2016


     Your /etc/resolv.conf file shows that you have
a single nameserver with an IP address of 10.0.0.2

     A network that has 10 as its first IP address
number is a private network that cannot connect
with publicly available networks (mainly internet
available hosts).

     I'm guessing you've set up your home network
as a 10. network. You may have (or had) a nameserver
at 10.0.0.2 or maybe you set up a gateway (router
connected to some ISP) at that address.

     A question that I cannot answer is from where
did the 10.0.0.2 IP address come from.

     When you boot your computer, is it using
dhclient to get a dhcp IP address or is your
computer configured for a static address?
     If static, then look at your /etc/network/interfaces
file to see if it has a gateway directive in your
interface clause.
     If dhcp then inspect your router to see the
gateway (external) network IP address, and maybe
ISP docs to verify the nameserver IP address.

     Those more knowledgeable than I may know how
to force nameserver IP addresses into your
/etc/resolv.conf (and /run/{resolvconf,network}/ )
files




On 04/05/2016 01:44 AM, Alex Kleider wrote:
> On 2016-04-04 18:33, Michael Paoli wrote:
>> What does your nsswitch.conf file say about hosts?
>> What's in your /etc/resolv.conf file?
>>
>>
>>> From: "Alex Kleider" <akleider at sonic.net>
>>> Subject: [sf-lug] resolver problem
>>> Date: Mon, 04 Apr 2016 10:51:43 -0700
>>
>> [snip lots of stuff that omits mention of nsswitch.conf and resolv.conf]
>
> I checked resolv.conf but clearly the way Ubuntu is configured they 
> don't want me messing with it:
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by 
> resolvconf(8)
> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 10.0.0.2
> search sonic.net
>
> As for nsswitch.conf, it's Greek to me but here it is:
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, 
> try:
> # `info libc "Name Service Switch"' for information about this file.
>
> passwd:         compat
> group:          compat
> shadow:         compat
>
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
>
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
>
> netgroup:       nis
>
>
> Further info: I moved the hard drive from my computer to another (same 
> model thinkpad x301) but the symptoms were the same so have to assume 
> the problem is NOT to do with a bad wifi hardware component, which is 
> what I initially suspected.
>
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20160405/4574b50e/attachment.html>


More information about the sf-lug mailing list