euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Re: [sao] BeaverBarCamp 2008 – Feb.29th & Mar. 1st – Kelley Engineering @ OSU – The First Rule of BeaverBarCamp is That You DO Talk About BarCamp



    John SechrestTue Feb 26 14:22:53 PST 2008

    Remember that there is both a Friday night  and a Saturday component. 
    
    
    Hal Pomeranz <hal at deer-run.com> writes:
    
     % > Who all here is going to Beaver Barcamp?
     % 
     % Me.  Carpool scheduling to begin later this week (say, Thursday).
     % 
     % -- 
     % Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
     %     Network Connectivity and Security, Systems Management, Training
     % _______________________________________________
     % EUGLUG mailing list
     % euglug at euglug.org
     % http://www.euglug.org/mailman/listinfo/euglug
    
    -----
    John Sechrest          .         Helping people use
                            .           computers and the Internet
                              .            more effectively
                                 .                      
                                     .       Internet: sechrest at peak.org
                                          .   
                                                  . http://www.peak.org/~sechrest
    
  • [Eug-lug] Re: [sao] BeaverBarCamp 2008 – Feb.29th & Mar. 1st – Kelley Engineering @ OSU – The First Rule of BeaverBarCamp is That You DO Talk About BarCamp



    Hal PomeranzTue Feb 26 13:50:06 PST 2008

    > Who all here is going to Beaver Barcamp?
    
    Me.  Carpool scheduling to begin later this week (say, Thursday).
    
    -- 
    Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
        Network Connectivity and Security, Systems Management, Training
    
  • [Eug-lug] Re: [sao] BeaverBarCamp 2008 – Feb.29th & Mar. 1st – Kelley Engineering @ OSU – The First Rule of BeaverBarCamp is That You DO Talk About BarCamp



    Rob HudsonTue Feb 26 13:48:35 PST 2008

    Who all here is going to Beaver Barcamp?
    
    On 2/26/08, John Sechrest <sechrest at peak.org> wrote:
    >
    >
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20080226/bc547d87/attac=
    hment.htm
    
  • [Eug-lug] Shell scripts to export environment variables?



    Rob HudsonTue Feb 26 13:47:41 PST 2008

    On 2/26/08, Fred James <fredjame at fredjame.cnc.net> wrote:
    >  ... "source" the file as ...
    >
    >  . filename
    
    That works for me.  I'm mostly looking for a way to set those
    variables and not have to remember the exact details every time.
    
    Thanks,
    Rob
    
  • [Eug-lug] anyone using the Clearwire voice bundle?



    BBTue Feb 26 12:47:33 PST 2008

    I'm just trying to get a handle on the hardware, such as: can the modem be
    reset to clear a password and can you access the router to set things like
    WPA. My gut is telling me no, I'm just trying to help a friend
    
    For me, I reached my limit on my wireless, I added a 7dbi external, with no
    change in signal.  I'm going to get my own account, instead of paying to
    share.
    
    I'm looking into the Linksys router hack mentioned here,
    
    http://lifehacker.com/software/router/hack-attack-turn-your-60-router-into-=
    a-600-router-178132.php
    
    Brian
    
    On Tue, Feb 26, 2008 at 9:42 AM, Mike Cherba <mike.cherba at caviumnetworks.co=
    m>
    wrote:
    
    > Brian,
    >        There are a few people on the list who have clearwire I think.  Go
    > ahead and ask.
    >                        -Mike
    >
    > Mere lack of doubt does not imply understanding -- Eihei D=F4gen Dai=F4sh=
    =F4
    > ( 1200 - 1253 AD )
    >
    >
    > On Tue, 2008-02-26 at 02:15 -0800, BB wrote:
    > > Hey all,
    > >
    > > I'm about fed up with my wireless share for Cable Broadband.  I'm
    > > ready to get Comcast and forget.  But I'll get into that later.
    > >
    > > I got a chat friend who needs some tech help with Clearwire and I was
    > > hoping to ask some questions about Clearwire's networking, if someone
    > > has the service.
    > >
    > > Brian
    > > _______________________________________________
    > > 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
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20080226/89ce31f5/attac=
    hment.htm
    
  • [Eug-lug] Shell scripts to export environment variables?



    Ben BarrettTue Feb 26 12:06:21 PST 2008

    Absolutely, but I think the point is that you can't exec that 'source' cmd
    from inside your script,
    if your goal is to change environment variables in the parent process (a
    shell, here).
    So if you're counting on a larger process, you'll might need some locking
    mechanism,
    if the rest of your script will be waiting for that change.
    
    ~ben
    
    
    On Tue, Feb 26, 2008 at 11:43 AM, Fred James <fredjame at fredjame.cnc.net>
    wrote:
    
    > Rob Hudson wrote:
    >
    > >I've got some Python scripts that rely on shell environment variables
    > >for certain things.  I wrote a simple script that did an export but it
    > >didn't take, and I'm guessing that the shell script gets its own
    > >environment, that when the script terminates goes away.
    > >
    > >Is there a way to write a shell script that can export an environment
    > >variable to the calling shell?
    > >
    > >I know I can set environment variables in Python, but I want to keep
    > >things modular so I can re-use the Python script and do things based
    > >on different environment settings.
    > >
    > >Thanks,
    > >Rob
    > >
    > >
    > Rob Hudson
    > Create a file the contents of which are in the form ...
    >
    > export ENV_VARIABLE1=3Dvalue1
    > export ENV_VARIABLE2=3Dvalue2
    > export ENV_VARIABLE3=3Dvalue3
    > export ENV_VARIABLE4=3Dvalue4
    >
    > ... "source" the file as ...
    >
    > . filename
    >
    > (that is dot space filename)
    > Hope this helps
    > Regards
    > Fred James
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20080226/fa749ca1/attac=
    hment.htm
    
  • [Eug-lug] Shell scripts to export environment variables?



    Fred JamesTue Feb 26 11:43:18 PST 2008

    Rob Hudson wrote:
    
    >I've got some Python scripts that rely on shell environment variables
    >for certain things.  I wrote a simple script that did an export but it
    >didn't take, and I'm guessing that the shell script gets its own
    >environment, that when the script terminates goes away.
    >
    >Is there a way to write a shell script that can export an environment
    >variable to the calling shell?
    >
    >I know I can set environment variables in Python, but I want to keep
    >things modular so I can re-use the Python script and do things based
    >on different environment settings.
    >
    >Thanks,
    >Rob
    >  
    >
    Rob Hudson
    Create a file the contents of which are in the form ...
    
    export ENV_VARIABLE1=value1
    export ENV_VARIABLE2=value2
    export ENV_VARIABLE3=value3
    export ENV_VARIABLE4=value4
    
    ... "source" the file as ...
    
    . filename
    
    (that is dot space filename)
    Hope this helps
    Regards
    Fred James
    
  • [Eug-lug] Shell scripts to export environment variables?



    Ben BarrettTue Feb 26 11:35:11 PST 2008

    Right; fair discussion of this at
    http://www.velocityreviews.com/forums/t352671-putenv.html
    
    ~ben
    
    
    On Tue, Feb 26, 2008 at 11:25 AM, Mike Cherba <
    mike.cherba at caviumnetworks.com> wrote:
    
    > instead of invoking the script with #!/bin/bash try using "source
    > scriptname" to run it within the current shell.  the #!/binbash
    > invokation spawns a subshell to run the script and the returns, blowing
    > away any environment variables you might have set.
    >
    >                        -Mike
    >
    > "Counting in octal is just like counting in decimal, if you don't use
    > your thumbs." --=97 Tom Lehrer.
    >
    >
    > On Tue, 2008-02-26 at 11:16 -0800, Rob Hudson wrote:
    > > I've got some Python scripts that rely on shell environment variables
    > > for certain things.  I wrote a simple script that did an export but it
    > > didn't take, and I'm guessing that the shell script gets its own
    > > environment, that when the script terminates goes away.
    > >
    > > Is there a way to write a shell script that can export an environment
    > > variable to the calling shell?
    > >
    > > I know I can set environment variables in Python, but I want to keep
    > > things modular so I can re-use the Python script and do things based
    > > on different environment settings.
    > >
    > > Thanks,
    > > Rob
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20080226/6c7b6853/attac=
    hment.htm
    
  • [Eug-lug] Shell scripts to export environment variables?



    Mike CherbaTue Feb 26 11:25:45 PST 2008

    instead of invoking the script with #!/bin/bash try using "source
    scriptname" to run it within the current shell.  the #!/binbash
    invokation spawns a subshell to run the script and the returns, blowing
    away any environment variables you might have set.
    		
    			-Mike
    
    "Counting in octal is just like counting in decimal, if you don't use
    your thumbs." --— Tom Lehrer.
    
    
    On Tue, 2008-02-26 at 11:16 -0800, Rob Hudson wrote:
    > I've got some Python scripts that rely on shell environment variables
    > for certain things.  I wrote a simple script that did an export but it
    > didn't take, and I'm guessing that the shell script gets its own
    > environment, that when the script terminates goes away.
    > 
    > Is there a way to write a shell script that can export an environment
    > variable to the calling shell?
    > 
    > I know I can set environment variables in Python, but I want to keep
    > things modular so I can re-use the Python script and do things based
    > on different environment settings.
    > 
    > Thanks,
    > Rob
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Shell scripts to export environment variables?



    Rob HudsonTue Feb 26 11:16:01 PST 2008

    I've got some Python scripts that rely on shell environment variables
    for certain things.  I wrote a simple script that did an export but it
    didn't take, and I'm guessing that the shell script gets its own
    environment, that when the script terminates goes away.
    
    Is there a way to write a shell script that can export an environment
    variable to the calling shell?
    
    I know I can set environment variables in Python, but I want to keep
    things modular so I can re-use the Python script and do things based
    on different environment settings.
    
    Thanks,
    Rob