euglug.org

[작성자:] admin

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



    Bob MillerWed Dec 29 23:23:40 PST 2004

    Allen Brown wrote:
    
    > My Debian Sarge system doesn't have anything by this name.
    > But I would still like to be able to update this file on
    > my system without rebooting.
    > 
    > All very fine, but /usr/sbin/nscd doesn't exist on my system.
    > Is there some other program I should be looking for?
    
    If you don't have nscd, you're probably fine.  If you want to make
    sure, do this.
    
    	# strace ping -c1 www.google.com
    
    and grovel through the output to see what actually happens.
    
    If you WANT nscd, apt-get it.  The package is called nscd on woody.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] raid-0, asus p4R800-V motherboard (sis 180) ide 133 drives… ???



    Ken BarberWed Dec 29 19:09:07 PST 2004

    On Wednesday 29 December 2004 6:41 pm, Linux Rocks! wrote:
    
    > Onboard hardware raid (sata, and ata133), I have ata133 drives.
    > I think the easy way would be to install another disk (as a boot drive)
    > on the primary ide controller
    
    I agree, that's probably easier.  It would be tempting to tell my story here, 
    but I'll spare you all.
    
    Ken
    
  • [Eug-lug] raid-0, asus p4R800-V motherboard (sis 180) ide 133 drives… ???



    Ken BarberWed Dec 29 18:50:37 PST 2004

    On Wednesday 29 December 2004 5:54 pm, Linux Rocks! wrote:
    > So, Im tring to get raid 0 working with 2 brand new 200GB IDE 133 disks.
    > I seem to have it setup in the raid bios, the docs say it should be seen
    > like one drive, (/dev/hda ???) anyway Ive tried installing slack and
    > gentoo, but fdisk doesnt recognize /dev/hda (nor hdd, hde, hdf).
    
    Hardware RAID?  You prob'ly need some kind of a driver.  Which means it has to 
    be on your boot CD.  And that it prob'ly won't show up as /dev/hd-anything, 
    'coz the /dev/hdx drivers are for plain ol' IDE.  In my most recent 
    experience, it was a SATA RAID controller, and the driver presented the 
    drives as /dev/sd-whatever.
    
    Good luck.  You're in for lots of fun & games compiling kernel modules, and 
    then getting to do it again every time there's a new kernel to fix the 
    vulnerability du jour.
    
    Ken
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 18:48:53 PST 2004

    On Wed, 29 Dec 2004, Bob Miller wrote:
    
    > 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?
    > 
    > >From nscd(8):
    > 
    >     Nscd doesn't know anything about the underlaying protocols
    >     for a  service.  This  also  means,  that  if you change
    >     /etc/resolv.conf for DNS queries, nscd will continue to use
    >     the old one if you  have configured /etc/nsswitch.conf  to 
    >     use DNS for host lookups. In such a case, you need to
    >     restart nscd.
    > 
    > Running "/etc/init.d/nscd restart" might be necessary.
    > 
    > -- 
    > Bob Miller                              K<bob>
    
    My Dad's system is RedHat7.3, so it should have nscd.
    
    My Debian Sarge system doesn't have anything by this name.
    But I would still like to be able to update this file on
    my system without rebooting.
    
    There are two things in /etc/init.d with "dns" in them,
    dns-clean and pppd-dns.  The former is clearly not it since
    it doesn't do anything for restart.  The latter does nothing
    but call /etc/ppp/ip-down.d/0000usepeerdns, which then uses
    /usr/sbin/nscd.
    
    All very fine, but /usr/sbin/nscd doesn't exist on my system.
    Is there some other program I should be looking for?
    
    Here is what I have in /etc/init.d
    apache2*            exim4*            mountall.sh*  sendsigs*
    atd*                fam*              mountnfs.sh*  setserial*
    bind9*              gdm*              mountvirtfs*  single*
    bootclean.sh        halt*             networking*   skeleton*
    bootlogd*           hostname.sh*      nfs-common*   spamassassin*
    bootmisc.sh*        hotplug*          nviboot*      ssh*
    checkfs.sh*         hwclockfirst.sh*  portmap*      stop-bootlogd@
    checkroot.sh*       hwclock.sh*       postgresql*   sudo*
    console-screen.sh*  ifupdown*         ppp*          sysklogd*
    cron*               inetd*            pppd-dns*     umountfs*
    cupsys*             initrd-tools.sh*  procps.sh*    umountnfs.sh*
    dbus-1*             keymap.sh*        rc*           urandom*
    dhcp*               klogd*            rcS*          xfree86-common*
    discover*           lwresd*           README        xprint*
    dns-clean*          makedev*          reboot*
    etc-setserial*      modutils*         rmnologin*
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      When you say "I wrote a program that crashed Windows",
      people just stare at you blankly and say "Hey, I got those
      with the system, *for free*".  --- Linus Torvalds
    
    
  • [Eug-lug] raid-0, asus p4R800-V motherboard (sis 180) ide 133 drives… ???



    Linux Rocks!Wed Dec 29 18:41:46 PST 2004

    Ken Barber [kenb at nu-world.com] wrote:
    > On Wednesday 29 December 2004 5:54 pm, Linux Rocks! wrote:
    > > So, Im tring to get raid 0 working with 2 brand new 200GB IDE 133 disks.
    > > I seem to have it setup in the raid bios, the docs say it should be seen
    > > like one drive, (/dev/hda ???) anyway Ive tried installing slack and
    > > gentoo, but fdisk doesnt recognize /dev/hda (nor hdd, hde, hdf).
    > 
    > Hardware RAID?  You prob'ly need some kind of a driver.  Which means it has to 
    > be on your boot CD.  And that it prob'ly won't show up as /dev/hd-anything, 
    > 'coz the /dev/hdx drivers are for plain ol' IDE.  In my most recent 
    > experience, it was a SATA RAID controller, and the driver presented the 
    > drives as /dev/sd-whatever.
    
    Onboard hardware raid (sata, and ata133), I have ata133 drives.
    I think the easy way would be to install another disk (as a boot drive)
    on the primary ide controller... but it would be nicer to boot from the
    array.
    
    Jamie
    
    > 
    > Good luck.  You're in for lots of fun & games compiling kernel modules, and 
    > then getting to do it again every time there's a new kernel to fix the 
    > vulnerability du jour.
    > 
    > Ken
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] raid-0, asus p4R800-V motherboard (sis 180) ide 133 drives… ???



    Linux Rocks!Wed Dec 29 17:54:14 PST 2004

    So, Im tring to get raid 0 working with 2 brand new 200GB IDE 133 disks.
    I seem to have it setup in the raid bios, the docs say it should be seen
    like one drive, (/dev/hda ???) anyway Ive tried installing slack and
    gentoo, but fdisk doesnt recognize /dev/hda (nor hdd, hde, hdf).
    
    The physical connection (ide cable) is not the same as the regular ide
    connector, so Im wondering if I should be accessing it as a different
    device ? raid-0 ?
    
    anyway, im trying to setup a raid-0 config (2 200 gb disks that act as
    one faster 200 gb disk). Do I need to use another drive as a boot drive
    (on the primary master ide ?)
    
    Jamie
    
  • [Eug-lug] How to program GNU “make”?



    walter fryWed Dec 29 14:07:34 PST 2004

    I'm glad to hear that, you scared me because I could find nothing in my 
    stack of linux reference books and I thought that there was another level of 
    understanding to conquer. In trying to understand  at least some of the 
    "chatter"on this line, for I try very hard to read all of it and try many of 
    the commands just to learn some of it.. So far it has been somewhat usefull, 
    and thanks again...WF.
    
    >From: Allen Brown <abrown at peak.org>
    >Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    >To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    >Subject: Re: [Eug-lug] How to program GNU "make"?
    >Date: Tue, 28 Dec 2004 16:48:03 -0800 (PST)
    >
    >On Tue, 28 Dec 2004, walter fry wrote:
    >
    > > Are linux commands really this arcane?  this is scary...what does this:
    >
    >No.
    >
    > > >    o      o     o    o     o    <o     <o>    o>    o
    > > >   .|.    \|.   \|/   //    X     \      |    <|    <|>
    > > >    /\     >\   /<    >\   /<     >\    /<     >\    /<
    > >
    > > really mean?
    >
    >That is my signature line dancing the Macarena.  :-)
    >
    >http://www.ludd.luth.se/~vk/pics/ascii/junkyard/creative/animations/macarena.html
    >--
    >Allen Brown
    >   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    >         allen_brown at agilent.com             abrown at peak.org
    >   I knit little sweaters for my pet peeves. --- unknown
    >_______________________________________________
    >EUGLUG mailing list
    >euglug at euglug.org
    >http://www.euglug.org/mailman/listinfo/euglug
    
    _________________________________________________________________
    Is your PC infected? Get a FREE online computer virus scan from McAfee® 
    Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
    
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 12:43:50 PST 2004

    On Wed, 29 Dec 2004, Bob Miller wrote:
    
    > 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?
    > 
    > >From nscd(8):
    > 
    >        Nscd doesn't know anything about the underlaying protocols for a  ser-
    >        vice.  This  also  means,  that  if you change /etc/resolv.conf for DNS
    >        queries, nscd will continue to use the old one if you  have configured
    >        /etc/nsswitch.conf  to  use  DNS  for host lookups. In such a case, you
    >        need to restart nscd.
    > 
    > Running "/etc/init.d/nscd restart" might be necessary.
    > -- 
    > Bob Miller                              K<bob>
    
    Aha!  So what really happened is that the reboot updated it.
    
    Last night Dad noticed the computer was on and just hit the
    power switch.  (He's 80.  Untrainable.)  When my friend booted it
    this morning nscd was restarted.  (After a long fsck.)
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Never say "never"; always avoid "always"; and don't verb your nouns.
    
    
  • [Eug-lug] Name server for a ppp connection



    Allen BrownWed Dec 29 12:12:55 PST 2004

    I just got word that he has full name-based web browsing working.
    Evidently it was not sufficient to specify the IP address of
    the nameserver in resolv.conf.  He also had to specify it's name
    in /etc/hosts.  I don't understand this, but it works.
    
    The person I have been working with (in Calif) over the phone is
    not my Dad, altho it is his computer.  That friend's time is about
    up.  And my Dad is barely competent to enter his password.  So
    no further work will happen on this computer until I visit in
    a couple of months.  But since the most important stuff is
    working, that's OK.
    
    Thank you for your help.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      REAL fortran programmers can program fortran in any language.
    
    
    
  • [Eug-lug] Name server for a ppp connection



    Bob MillerWed Dec 29 12:09:42 PST 2004

    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?
    
    >From nscd(8):
    
           Nscd doesn't know anything about the underlaying protocols for a  ser-
           vice.  This  also  means,  that  if you change /etc/resolv.conf for DNS
           queries, nscd will continue to use the old one if you  have configured
           /etc/nsswitch.conf  to  use  DNS  for host lookups. In such a case, you
           need to restart nscd.
    
    Running "/etc/init.d/nscd restart" might be necessary.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com