euglug.org

[작성자:] admin

  • [Eug-lug] arp kernel voodoo question for the gurus.



    larry priceFri Aug 17 16:19:52 PDT 2007

    I have a need to shorten the time between arp requests for a specific
    machine running a 2.6 kernel.
    
    looking at the various sysctls available (sysctl entries map to /proc/sys/)
    I see the following groups of variables that may be germane
    
    net.ipv4.conf.eth0.arp_accept = 0
    net.ipv4.conf.eth0.arp_ignore = 0
    net.ipv4.conf.eth0.arp_announce = 0
    net.ipv4.conf.eth0.arp_filter = 0
    net.ipv4.neigh.default.app_solicit = 0
    net.ipv4.conf.default.proxy_arp = 0
    
    and the following time specifications that may be relevant.
    
    net.ipv4.neigh.default.base_reachable_time_ms = 30000
    net.ipv4.neigh.default.retrans_time_ms = 1000
    net.ipv4.neigh.default.gc_thresh3 = 1024
    net.ipv4.neigh.default.gc_thresh2 = 512
    net.ipv4.neigh.default.gc_thresh1 = 128
    net.ipv4.neigh.default.gc_interval = 30
    
    But aside from man (7) arp
    and /usr/src/linux/ip-sysctl.txt
    
    I am not finding good documentation that tells me what I need to know.
    
    So if anyone here has any idea about how the various knobs available
    to tune arp caching actually interact I (and google) would be much
    obliged if you could enlighten me.
    
    Now I could work around the problem by using arping from cron, but
    that is hacky and error prone and I would really rather have a clean
    solution.
    
  • [Eug-lug] No Install MP3 Player



    LinuxRocks!Fri Aug 17 10:16:22 PDT 2007

    Heh, I ordered 2!
    
    Jamie
    
    On Mon, Aug 13, 2007 at 09:03:50AM -0700, Jim K wrote:
    > Date: Mon, 13 Aug 2007 09:03:50 -0700
    > From: Jim K <jimkahn12 at clearwire.net>
    > To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    > Subject: Re: [Eug-lug] No Install MP3 Player
    > 
    >   While possibly not what you are looking for, Woot.com has a
    > SanDisk Sansa e250 2Gb media playerofr $49.99 and $5 for shipping.
    >   Not sure if it needs windoze to load photos, or mp3's. Also don't know
    > if it plays OGG'S.
    > Jim Kahn
    > 
    > Jared Ubelhor wrote:
    > > I cannot install programs on my work PC. :(
    > > I need an MP3 (OGG too) player that can be run as a stand alone
    > > executable.
    > > It has to work on Windows. No Linux at work.
    > >
    > > Any suggestions?
    > > ------------------------------------------------------------------------
    > >
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > >   
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Q about Sendmail



    Matthew JarvisFri Aug 17 08:56:40 PDT 2007

    Bob Miller wrote:
    > Matthew Jarvis wrote:
    <snip>
    > 
    > This happens before the shell parses the command to break it into
    > words, so it just looks like there are two spaces between
    > "/usr/sbin/sendmail" and the first supplied argument.
    > 
    > So, in other words, it's fine.  No bugs here...
    > 
    
    
    Thanks All - that's all I wanted to know...
    
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] Q about Sendmail



    Bob MillerThu Aug 16 17:52:40 PDT 2007

    Matthew Jarvis wrote:
    
    > # change these to suit your needs
    > SENDMAIL=/usr/sbin/sendmail  # your Mail-Transfer-Agent
    > SENDMAIL_OPTS=               # and its required options
    > 
    > Then later when it fires off the command, it looks like this:
    > 
    > 
    > cat $TEMPFILE | $SENDMAIL $SENDMAIL_OPTS "$@"
    > 
    > 
    > It looks to me like the first ref to SENDMAIL_OPTS is a dangling 
    > reference, but then later on the command that runs supplies the parameter.
    
    The shell is just doing string substitution.  The line,
       SENDMAIL_OPTS=
    sets the variable to the empty string.
    
    Then this line
       ... $SENDMAIL $SENDMAIL_OPTS "$@"
    substitutes the empty string for the variable.
    
    This happens before the shell parses the command to break it into
    words, so it just looks like there are two spaces between
    "/usr/sbin/sendmail" and the first supplied argument.
    
    So, in other words, it's fine.  No bugs here...
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] For Th night meetings, Please REMOVE the link to NextStep



    Mike CherbaThu Aug 16 17:52:12 PDT 2007

    Karl,
    	Agreed!  We've been working on and off on a website facelift, which
    will correct this among other things.  In the meantime, the current
    meeting place is:
    Mike O's House
    Across N Park Ave from Valley Restaurant Equipment, 
    near the corner of N Park Ave and Maxwell road.
    
    "The danger from computers is not that they will eventually get as smart
    as men, but that we will meanwhile agree to meet them halfway." -Bernard
    Avashi
    
    On Thu, 2007-08-16 at 17:48 -0700, Karl Lehman wrote:
    > 
    > IF you people are serious about encouraging linux user consolidation
    > and want people to take you seriously, 
    > 
    >  the webmaster should at least be a little more specific where the
    > Thursday night 7 to 9 pm meetings are at.  
    > 
    > On your home page at 
    > 
    > www.euglug.org
    > 
    > you have a link to the NextStep recycling building rather than the 2nd
    > floor of the address of their old Lane county Reduse RE-use recycling
    > center (no longer in existence), 
    > 
    > which is somewhere near or at 
    > 
    > "Lord Leebdick's theater" on Polk street, ,
    > 
    > If what the NextStep people told me is correct.
    > 
    > - LustfulLaneCountyLinux
    > 
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    
  • [Eug-lug] For Th night meetings, Please REMOVE the link to NextStep



    Karl LehmanThu Aug 16 17:48:24 PDT 2007

    IF you people are serious about encouraging linux user consolidation and
    want people to take you seriously,
    
     the webmaster should at least be a little more specific where the Thursday
    night 7 to 9 pm meetings are at.
    
    On your home page at
    
    www.euglug.org <http://www.eugelug.org>
    
    you have a link to the NextStep recycling building rather than the 2nd floor
    of the address of their old Lane county Reduse RE-use recycling center (no
    longer in existence),
    
    which is somewhere near or at
    
    "Lord Leebdick's theater" on Polk street, ,
    
    If what the NextStep people told me is correct.
    
    - LustfulLaneCountyLinux
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070816/607c21fd/attac=
    hment.htm
    
  • [Eug-lug] Q about Sendmail



    alanThu Aug 16 16:00:50 PDT 2007

    On Thu, 16 Aug 2007, Matthew Jarvis wrote:
    
    > It's prolly unrelated to a problem I'm having, but I came across this in a 
    > bash script that is supposed to send me an email when a certain task is done.
    >
    >
    > # change these to suit your needs
    > SENDMAIL=/usr/sbin/sendmail  # your Mail-Transfer-Agent
    > SENDMAIL_OPTS=               # and its required options
    >
    > Then later when it fires off the command, it looks like this:
    >
    >
    > cat $TEMPFILE | $SENDMAIL $SENDMAIL_OPTS "$@"
    >
    >
    > It looks to me like the first ref to SENDMAIL_OPTS is a dangling reference, 
    > but then later on the command that runs supplies the parameter.
    >
    > I wonder if the first ref is a problem or not.
    
    It just means SENDMAIL_OPTS is null.
    
    -- 
    Refrigerator Rule #1: If you don't remember when you bought it, Don't eat it.
    
  • [Eug-lug] Q about Sendmail



    Matthew JarvisThu Aug 16 15:56:21 PDT 2007

    It's prolly unrelated to a problem I'm having, but I came across this in 
    a bash script that is supposed to send me an email when a certain task 
    is done.
    
    
    # change these to suit your needs
    SENDMAIL=/usr/sbin/sendmail  # your Mail-Transfer-Agent
    SENDMAIL_OPTS=               # and its required options
    
    Then later when it fires off the command, it looks like this:
    
    
    cat $TEMPFILE | $SENDMAIL $SENDMAIL_OPTS "$@"
    
    
    It looks to me like the first ref to SENDMAIL_OPTS is a dangling 
    reference, but then later on the command that runs supplies the parameter.
    
    I wonder if the first ref is a problem or not.
    
    
    -- 
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] 8,6,5,3 and snacks galore



    AlanThu Aug 16 15:37:32 PDT 2007

    On Wed, August 15, 2007 11:54 pm, Mr O wrote:
    > Will the buns last that long? I can throw them in the freezer I
    > suppose. I'll get a grill set in a couple weeks.
    >
    >
    Sure, toss them in the fridge or whatever. If they go bad, we can feed
    them to the birds.
    
    -ajb
    
    
    
  • [Eug-lug] amd64 or x86?



    larry priceThu Aug 16 15:30:25 PDT 2007

    On 8/15/07, Bob Miller <kbob at jogger-egg.com> wrote:
    > So what are the rest of you running, and why?
    
    I'm running amd64 Ubuntu Feisty on my main workstation, I can run the
    flash plugin if I load up SwiftFox (32 bit), but the the 32 bit fonts
    are ugly for some reason.
    
    This arrangement actually has the benefit of preventing spontaneous
    DTD breaks during the working hours.
    
    
    I've been running amd64 linux (debian and ubuntu) in production at
    work, it works well for running this huge java app that needs 12Gb to
    be happy