euglug.org

[작성자:] admin

  • [Eug-lug] Name server for a ppp connection



    Po PetzWed Dec 29 11:42:10 PST 2004

    On Wed, 29 Dec 2004, Allen Brown wrote:
    
    > All addresses work by IP address.  None work by name, except for those 
    > we have inserted into /etc/hosts.
    
    Just to rule out /etc/nsswitch.conf, what does the line beginning with 
    "hosts:" include?  It should have something like "hosts: files nis dns" in 
    it.
    
    -po
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 11:24:39 PST 2004

    On Wed, 29 Dec 2004, Ken Barber wrote:
    
    > On Wednesday 29 December 2004 11:07 am, Allen Brown wrote:
    > > On Tue, 28 Dec 2004, Ken Barber wrote:
    > > > On Tuesday 28 December 2004 8:09 pm, Allen Brown wrote:
    > > > > He is able to ping by IP address.  Just not by name.  Does
    > > > > that rule out route as the problem?
    > > >
    > > > Maybe.  WHERE is he pinging by IP?  His gateway?  Or an
    > > > address beyond his gateway?
    > >
    > > Beyond.  For instance GTE's nameserver.
    > >
    > > > If SOME addresses outside of your gateway work and some do not,
    > > > take a look at your subnet mask.
    > >
    > > None work.
    > 
    > Now, THAT is impossible.  You just said that one address beyond
    > his gateway -- a DNS server -- works (i.e., responds to a ping
    > request).  Which is it?  None, or at least one?  The two are
    > mutually exclusive.
    > 
    > Ken
    
    Ah, the ambiguity of natural language...
    
    All addresses work by IP address.  None work by name, except
    for those we have inserted into /etc/hosts.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      There are those who would misteach us that to stick in a rut is
      consistency--and a virtue, and that to climb out of the rut is
      inconsistency--and a vice. ---Mark Twain
    
    
  • [Eug-lug] Name server for a ppp connection



    Ken BarberWed Dec 29 11:22:59 PST 2004

    On Wednesday 29 December 2004 11:17 am, Allen Brown wrote:
    > We have been changing the resolv.conf file and expecting the
    > system to respond immediately to the change.  Is that a
    > mistake?  Is there something else I need to do each time?
    
    Last I knew, it was supposed to start working without having to kill & restart 
    anything.  You can always try restarting the network services.  I'm one of 
    those lazy RHCE's who do it with 'service network restart' -- dunno any more 
    how you do it in non-RH distros.
    
    Also, got any DNS caches that need flushing?
    
    Ken
    
  • [Eug-lug] Name server for a ppp connection



    Mike CherbaWed Dec 29 11:20:37 PST 2004

    No, It should respond to the file being changed.  I've never needed to
    do anything else.  You say he can ping the nameserver by ip, but he
    can't ping anything by name?  what happens if he does a "dig
    www.google.com"  what server is listed?  how long does the command take
    to run?  does it return instantly?  does it return IP addresses for
    google?  This should tell you pretty quickly whether things are
    functional.
    
    On Wed, 2004-12-29 at 11:17, Allen Brown wrote:
    > We have been changing the resolv.conf file and expecting the
    > system to respond immediately to the change.  Is that a
    > mistake?  Is there something else I need to do each time?
    > --
    > Allen Brown
    >   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    >         allen_brown at agilent.com             abrown at peak.org
    >   Reality is for those who cannot handle fantasy.
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    -- 
    "The meek shall inherit the Earth. The rest of us are getting the hell
    off this rock!"
    
  • [Eug-lug] Name server for a ppp connection



    Ken BarberWed Dec 29 11:19:51 PST 2004

    On Wednesday 29 December 2004 11:07 am, Allen Brown wrote:
    > On Tue, 28 Dec 2004, Ken Barber wrote:
    > > On Tuesday 28 December 2004 8:09 pm, Allen Brown wrote:
    > > > He is able to ping by IP address.  Just not by name.  Does
    > > > that rule out route as the problem?
    > >
    > > Maybe.  WHERE is he pinging by IP?  His gateway?  Or an
    > > address beyond his gateway?
    >
    > Beyond.  For instance GTE's nameserver.
    >
    > > If SOME addresses outside of your gateway work and some do not,
    > > take a look at your subnet mask.
    >
    > None work.
    
    Now, THAT is impossible.  You just said that one address beyond his gateway -- 
    a DNS server -- works (i.e., responds to a ping request).  Which is it?  
    None, or at least one?  The two are mutually exclusive.
    
    Ken
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 11:17:01 PST 2004

    We have been changing the resolv.conf file and expecting the
    system to respond immediately to the change.  Is that a
    mistake?  Is there something else I need to do each time?
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Reality is for those who cannot handle fantasy.
    
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 11:07:27 PST 2004

    On Tue, 28 Dec 2004, Ken Barber wrote:
    
    > On Tuesday 28 December 2004 8:09 pm, Allen Brown wrote:
    > 
    > > He is able to ping by IP address.  Just not by name.  Does
    > > that rule out route as the problem?
    > 
    > Maybe.  WHERE is he pinging by IP?  His gateway?  Or an
    > address beyond his gateway?
    
    Beyond.  For instance GTE's nameserver.
    
    > If you can ping an IP address that lies beyond your gateway,
    > then your default route (i.e., gateway) is fine.
    
    Confirmed.  Route is fine.
    
    > If you're only pinging inside your subnet, then all you know
    > is that your IP address and (maybe) subnet mask are OK.
    > 
    > If SOME addresses outside of your gateway work and some do not,
    > take a look at your subnet mask.
    
    None work.
    
    > If everything works when pinging by IP but nothing works when
    > pinging by name, then you have a DNS problem.
    > 
    > Ken
    
    This is the case.
    
    I just asked him to add several important IP addresses into
    /etc/hosts.  I will see if we can get him limping along.
    If he can read email, that will be a start.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Poor is the man whose pleasures depend on the permission of another.
    
    
  • [Eug-lug] kernel requirements



    Mike CherbaWed Dec 29 11:00:20 PST 2004

    The basic requirements for any given kernel should be listed in the
    Documentation/Changes file in the kernel source tree.  Along with
    minimum versions of each to support the build.  A couple of basic
    omissions I noticed in your list, although they would be easy to simply
    not mention or lump in with other packages are binutils, util-linux, and
    modutils.  
    
    		-Mike
    
    
    -- 
    "The meek shall inherit the Earth. The rest of us are getting the hell
    off this rock!"
    
  • [Eug-lug] Name server for a ppp connection



    Mike CherbaWed Dec 29 10:49:31 PST 2004

    Here is my experience with PPP connections.  The sequence I go through
    to locate a problem is as follows.  I have made a couple of assumptions
    about IP addresses that you can simply replace with the proper ones to
    try this.
    
    MY eth0: 192.168.1.101
    MY ppp0: 192.168.16.78
    MY local gateway: 192.168.1.1
    remote ppp server: 192.168.16.76
    
    No admitedly I'm using ppp/pptp for VPN purposes but the process of
    testing the connection should be pretty much the same.
    
    Before I start the connection, if I run "route" or "ip route show" I see
    that the default route points to my local router: 
    	default via 192.168.1.1 dev eth0 
    One the ppp link is established The default route should be through the
    ppp0 device with the ppp server as the gateway address I think.  
    
    The sequence of tests I'd have him do is the following:
    ping the local router by IP
    ping the ppp server by IP
    ping the DNS servers in his resolv.conf by IP
    ping some big internet provider like google or yahoo to test DNS
    capability.
    
    Based on the results of each of these you can get and idea of at what
    stage the problem lies.
    		-Mike
    
    
    On Tue, 2004-12-28 at 22:59, Ken Barber wrote:
    > On Tuesday 28 December 2004 8:09 pm, Allen Brown wrote:
    > 
    > > He is able to ping by IP address.  Just not by name.  Does
    > > that rule out route as the problem?
    > 
    > Maybe.  WHERE is he pinging by IP?  His gateway?  Or an address beyond his 
    > gateway?
    > 
    > If you can ping an IP address that lies beyond your gateway, then your default 
    > route (i.e., gateway) is fine.
    > 
    > If you're only pinging inside your subnet, then all you know is that your IP 
    > address and (maybe) subnet mask are OK.
    > 
    > If SOME addresses outside of your gateway work and some do not, take a look at 
    > your subnet mask.
    > 
    > If everything works when pinging by IP but nothing works when pinging by name, 
    > then you have a DNS problem.
    > 
    > Ken
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    -- 
    "The meek shall inherit the Earth. The rest of us are getting the hell
    off this rock!"
    
  • [Eug-lug] How to program GNU “make”?



    Brian GallagherWed Dec 29 09:14:41 PST 2004

    The art of programing!  Someone has too much time on their hands.
    
    On Tue, 2004-12-28 at 15:54, walter fry wrote:
    > Are linux commands really this arcane?  this is scary...what does this:
    > 
    > >    o      o     o    o     o    <o     <o>    o>    o
    > >   .|.    \|.   \|/   //    X     \      |    <|    <|>
    > >    /\     >\   /<    >\   /<     >\    /<     >\    /<
    > 
    > really mean?
    > 
    > _________________________________________________________________
    > Express yourself instantly with MSN Messenger! Download today - it's FREE! 
    > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    -- 
    Message from Mars: get to work!