euglug.org

[작성자:] admin

  • [Eug-lug] Cheapest Linux box



    Bob MillerSat Dec 31 10:06:52 PST 2005

    Hal Pomeranz wrote:
    
    > I smell a really weird but super cheap Beowulf cluster coming on...
    
    No, I'm working on a smarmy answer to the question, "How many
    Linux boxes can you buy for the retail price of Windows XP?"
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Cheapest Linux box



    Hal PomeranzSat Dec 31 10:03:57 PST 2005

    I smell a really weird but super cheap Beowulf cluster coming on...
    
    -- 
    Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
        Network Connectivity and Security, Systems Management, Training
    
  • [Eug-lug] Cheapest Linux box



    Mike CherbaSat Dec 31 09:56:16 PST 2005

    Hal,
    	So then in order to count, you'd need to add in the money for the
    serial adapter Bob had to build.  That brings the total back to ~$60 I
    think.  
    
    Other Cheap Linux boxen
    -------------------------
    Glomation is reportedly selling an ARM9 based SBC which comes with
    Linux.  ~$65 each at a qty>10supposedly.
    
    A Korean Company named Gamepark makes an ARM based PSP-like system which
    is Dual Core and runs Linux as it's native OS.  They even offer an SDK
    for it to the public. http://www.realtechnews.com/posts/2387
    
    Linksys produces a NAS box which is IXP420 based and has had a full
    blown Debian port to it. http://linuxdevices.com/news/NS6152296875.html
    
    Aeronix used to make a device called the Zipit, which also ran Linux and
    included 802.11g.  http://linuxdevices.com/articles/AT8107883197.html
    
    Can forget Gumstix, Whic has a purpose-built PXA255 based box starting
    at $129.00 in QTY 1.
    
    
    
    
    		-Mike
    
    On Sat, 2005-12-31 at 09:30 -0800, Hal Pomeranz wrote:
    > > I'll lead with the $79.99 LinkSys router I got in September.
    > > (Allegedly $39.99 after rebates, but I'm still owed $20, so call it
    > > $59.99 + an hour of my time dealing with stupid rebates.)
    > 
    > I don't think that's fair.  It should be a machine I can at least get
    > a shell prompt on.  Otherwise, what good is it?  :-)
    > 
    -- 
    Mike Cherba
    Cavium Networks
    883 Brookside Dr
    Eugene, OR 97405
    phone: (541) 684-3820
    Cell:  (541) 914-2188
    mike.cherba at caviumnetworks.com
    www.caviumnetworks.com
    
  • [Eug-lug] Cheapest Linux box



    Bob MillerSat Dec 31 09:41:24 PST 2005

    Hal Pomeranz wrote:
    
    > > I'll lead with the $79.99 LinkSys router I got in September.
    > > (Allegedly $39.99 after rebates, but I'm still owed $20, so call it
    > > $59.99 + an hour of my time dealing with stupid rebates.)
    > 
    > I don't think that's fair.  It should be a machine I can at least get
    > a shell prompt on.  Otherwise, what good is it?  :-)
    
    That's a good point.  Having Linux isn't interesting unless you can
    access Linux.
    
    That doesn't disqualify the LinkSys, though.  Numerous third parties
    will help you install an accessible shell.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Wet/Dry Vacuum



    Bob MillerSat Dec 31 09:36:22 PST 2005

    larry price wrote:
    
    > does anyone on this list (in eugene) have one I could borrow for a few
    > hours... this morning
    > 
    > this is relevant to this list, because I've been moving linux machines
    > out of the way of the water for the past hour and a half.
    
    If the flood is at home, let your landlord know so he can call the
    insurance company.  If it's at your office, let the building's
    landlord know.
    
    The insurance company will bring in specialists who have the tools and
    experience to actually stop/prevent building rot.
    
    When our toilet flooded last spring, my first thought was to shopvac
    it all up.  I did so.  Then the mitigation company arrived and got
    ~100 gallons that had already soaked through the floor.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Cheapest Linux box



    Hal PomeranzSat Dec 31 09:30:19 PST 2005

    > I'll lead with the $79.99 LinkSys router I got in September.
    > (Allegedly $39.99 after rebates, but I'm still owed $20, so call it
    > $59.99 + an hour of my time dealing with stupid rebates.)
    
    I don't think that's fair.  It should be a machine I can at least get
    a shell prompt on.  Otherwise, what good is it?  :-)
    
    -- 
    Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
        Network Connectivity and Security, Systems Management, Training
    
  • [Eug-lug] Wet/Dry Vacuum



    larry priceSat Dec 31 09:22:50 PST 2005

    My landlord came through with a shopvac, and I already had everything
    up off the floor so it was not catastrophic, merely worrisome,
    shot my weekend to pieces though.
    
    don't think I need any heaters, the space is linoleum over concrete,
    but thank you for the offer.
    
    On 12/31/05, Mr O <notanatheist at yahoo.com> wrote:
    > I have a dish style heater you borrow for a day to help dry
    > things out. Alas, no wet/dry vac owned by me yet. If it's for
    > the office have them spring for one. A plain ol' ShopVac is
    > usually well below $100.
    >
    >
    > --- larry price <laprice at gmail.com> wrote:
    >
    > > does anyone on this list (in eugene) have one I could borrow
    > > for a few
    > > hours... this morning
    > >
    > > this is relevant to this list, because I've been moving linux
    > > machines
    > > out of the way of the water for the past hour and a half.
    > > --
    > > http://Zoneverte.org -- information explained
    > > Do you know what your IT infrastructure does?
    > > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > >
    >
    >
    >
    >
    > __________________________________________
    > Yahoo! DSL – Something to write home about.
    > Just $16.99/mo. or less.
    > dsl.yahoo.com
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
    --
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Wet/Dry Vacuum



    Mr OSat Dec 31 09:05:29 PST 2005

    I have a dish style heater you borrow for a day to help dry
    things out. Alas, no wet/dry vac owned by me yet. If it's for
    the office have them spring for one. A plain ol' ShopVac is
    usually well below $100.
    
    
    --- larry price <laprice at gmail.com> wrote:
    
    > does anyone on this list (in eugene) have one I could borrow
    > for a few
    > hours... this morning
    > 
    > this is relevant to this list, because I've been moving linux
    > machines
    > out of the way of the water for the past hour and a half.
    > --
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    > > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    
    		
    __________________________________________ 
    Yahoo! DSL – Something to write home about. 
    Just $16.99/mo. or less. 
    dsl.yahoo.com 
    
    
  • [Eug-lug] Cheapest Linux box



    Bob MillerSat Dec 31 08:44:08 PST 2005

    What is the least expensive Linux-based computer you know of?
    
    Include total costs - I'm not interested in a "free" phone that's tied
    to a $1,000 service contract.
    
    I'm also not counting used hardware -- new stuff only, please.
    
    I'll lead with the $79.99 LinkSys router I got in September.
    (Allegedly $39.99 after rebates, but I'm still owed $20, so call it
    $59.99 + an hour of my time dealing with stupid rebates.)
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] resolving IP addresses to domain names



    Bob MillerSat Dec 31 08:31:38 PST 2005

    Matthew Jarvis wrote:
    
    > Question (remember - I'm stoopid): where is this script getting the IP 
    > addresses from? I don't understand the first part of:
    > 
    >   $ sub='s/.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/p'
    >   $ sed -rn "$sub" logfile1 logfile2 logfile3
    
    Answer (remember - we're all stoopid about different things): I had
    assumed (maybe incorrectly) that you were starting with apache log
    files or something.  My apache error log has lines looking like
    this.
    
      [Mon Feb 25 17:37:23 2002] [error] [client 149.225.92.162] Directory index forbidden by rule: /home/kbob/web/jogger-egg/docs/kbob/dist/
    
    The IP address is in the middle of a bunch of other text.
    
    Regular expressions.  You went through the CS curriculum, I think, so
    you probably met them in a formal languages class.  They're a big part
    of Unix culture and you have to use them.
    
    Sed is ancient, first written around 1976.  It uses an ancient dialect
    of regular expressions, which is hard to read.  I'm a little
    surprised that the GNU project didn't plug in Perl-compatible regexps
    (PCRE) when they reimplemented it.  But the man page didn't mention
    them.
    
    Anyway, sed is the stream editor.  It reads input files or standard
    input and writes to standard output.  I used the shell variable $sub to
    hold a sed substitution command.  Normally you'd just put the sed
    command(s) in line, but this one was big and ugly enough that it
    obfuscated the rest of the story.
    
    The substitute command says this.
    	For every line of text in the file(s), look for this
    	pattern. If you find it, replace it with something else, and
    	write the resulting line of text to standard output.
    
    The general syntax is:
    	s/pattern/replacement/p
    	s means substitution command.
    	p means print result.
    
    The pattern part of the command is this:
    	.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*
    
    Some common idioms:
    	[0-9]  matches a digit.
    	[0-9]+ matches one or more digits.
    	[^0-9] matches a non-digit.
    	.      matches any character
    	.*     matches zero or more of any character (i.e., any string)
    	\.     matches a period character
    	(...)  save the text that matches ... in a temporary variable.
    	       the temp variables are called \1, \2, \3 ...
    
    So, in English, the pattern says,
    	Match anything ending with a nondigit.  Then save into \1 the
    	sequence digits, dot, digits, dot, digits, dot, digits.  (In
    	other words, nn.nn.nn.nn) Then match everything else in the
    	line.
    
    The whole command says this.
    	s/(pattern)/\1/p
    The pattern matches the whole line - that's why it starts and ends
    with .* .  We replace the whole line with just the IP address and
    print it.
    
    In PCRE, you can write it a little more simply.  (Just a little)
    	.*?(\d+\.\d+\.\d+\.\d+\).*
    
    The .*? idiom is a non-greedy match.  Read the perlre man page.
    
    Perl also has extended regular expressions, which nobody uses.  In
    that syntax, you can use whitespace and comments.  That is allegedly
    more readable.  Here's our command in extended syntax.
    
    	s/
    	    .*?			# discard leading trash
    	    (
    		[[:digit:]]+	# first octet
    		\.
    		[[:digit:]]+	# second octet
    		\.
    		[[:digit:]]+	# third octet
    		\.
    		[[:digit:]]+	# fourth octet
    	    )
    	    .*			# discard trailing trash
    	/$1/x;
    
    You probably ought to get a copy of Jeff Friedl's regular expression
    book sometime.  Other resources:
    
    	info sed
    	man perlre
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com