...making Linux just a little more fun!

Talkback

Talkback:124/smith.html

[ In reference to "Build a Six-headed, Six-user Linux System" in LG#124 ]

Cubbs [cubbs_obannen at flashmail.com]


Thu, 10 May 2007 19:51:55 -0500

Hi folks, regarding the multi-head linux system build-

I'm wondering if the mouse and keyboard entries will work the same if i'm using one or more PS2 to USB adapters? The ones I found online convert both ps/2 mouse and keyboard to a single USB input. (Such as: http://www.newegg.com/Product/Product.aspx?Item=N82E16812107701)

Would these cause any problems with differentiating/using the inputs for each head?

Thanks, Cubbs

[ Thread continues here (2 messages/1.67kB) ]


Talkback:128/ramanathan.html

[ In reference to "Subversion: Installation, Configuration — Tips and Tricks" in LG#128 ]

Narinder Sharma [nshama at varshyl.com]


Mon, 21 May 2007 21:41:32 +0530

Hi Friend I am Narinder here from New Delhi. I need your assistance to install svn on linux . Can u send me the documentation or steps involved in doing so. Waiting for reply Thanks Narinder Shama

[ Thread continues here (2 messages/1.67kB) ]


Talkback:18/bash.html

[ In reference to "/bash.html" in LG#18 ]

Ben Okopnik [ben at linuxgazette.net]


Sun, 6 May 2007 20:25:00 -0400

On Sun, May 06, 2007 at 09:37:09AM -0700, Jim Dennis wrote:

> 
> 
>  Okay, LONG overdue though minor correction:
> 
> 
> ---- Forwarded message from <MAILER-DAEMON@starshine.org> -----
> 
> To: "Smith, Tyler" <tsmith@inphi-corp.com>
> Cc: utyler@gmail.com, editors@linuxgazette.net
> Subject: Re: [Spam: ***]
> From: Jim Dennis <jimd@starshine.org>
> 
> On Wed, May 02, 2007 at 03:25:00PM -0700, Smith, Tyler wrote:
> > On the page
> > http://linuxgazette.net/issue18/bash.html
> > should shortest be longest (see below)?
>  
> > ${variable%%pattern} 
> > Trim the shortest match from the end 
>  
> > ~~~~~~~~~~~~~~~~~
>  
> > Thanks for the page.
> > Tyler
> 
>  You're probably right.  That error has probably been there, 
>  and heretofore unreported for years.
> 
>  I'll see if the current editors of LG are inclined to fix their
>  copy of it (but, of course the many mirrors around the world might
>  not pick up the change any time soon.
> 
> --
> Jim Dennis
> 
> ----- End forwarded message -----

Actually, the mirrors - barring a mirracle - will not pick it up at all; typically, they just pull down the latest issue as a tarball and add it to their structure. However, I went ahead and made the change anyway.

This particular bit of parameter expansion stays at the top of my mind for an odd reason: I tend to fire up Midnight Commander in most of my xterms, and since MC uses '%' as a designator for special entities (e.g., '%s' is the current or selected filename, '%d' is the current directory, etc.), I have to remember to double any percent signs that I want to use literally. Therefore, "shortest match" for me is ${variable%%pattern} - and "longest match" is ${variable%%%%pattern}. It also makes life interesting when I'm firing off a Perl one-liner containing hashes (which, of course, use '%' for a sigil.)

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Talkback:126/pfeiffer.html

[ In reference to "Digging More Secure Tunnels with IPsec" in LG#126 ]

René Pfeiffer [lynx at luchs.at]


Fri, 27 Apr 2007 21:30:59 +0200

Hello!

On Apr 26, 2007 at 1329 -0700, S. Banerian appeared and said:

> [...]
> I read through the two articles on use of setkey/racoon in
> linuxgazette/2006.
> The second article describes racoon configuration, but really only in
> terms of two private nets behind gateways.  My goal is to just connect a
> cluster of boxes together, on whatever subnets.

You can only use IPsec for creating an encrypted tunnel between two points in the network. If you wish to connect multiple hosts you need to create tunnels from one hosts to the others or use gateways that route through VPN tunnels.

> >From what I get out of the article, I might be able to just modify the
> sainfo block, using the two endpoints for each connection; however that
> does not "seem' to work; tcpdump tells me nothing appears encrypted.
> I've not found online any good peer-to-peer x509 description.

Can you tell me something more about your configuration? Maybe you can send an anonymised config file, so that I can see the relations between the IP addresses. I don't need to know your real IPs, just mark them in order to indicate private and public IP ranges.

> Do you have any recommendations for an A-B-C peer connection with x509 ?

One way would be to use static routes through multiple VPN tunnels. Another way would be to use a star topology and have one machine act as a VPN server where all the others connect to. This saves you some tunnels between indidivual hosts and requires the VPN server in the middle to reroute all the traffic. Yet another way is to try a mesh. tinc (http://www.tinc-vpn.org/) is used by the German Chaos Computer Club to link multiple sites with a kind of mesh topology. It doesn't seem to support X.509 though.

Best wishes, René.

[ Thread continues here (2 messages/6.02kB) ]


Talkback: Discuss this article with The Answer Gang

Copyright © 2007, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 139 of Linux Gazette, June 2007

Tux