Re: Programmatically detect removed usb stick?

2011-07-10 Thread T
On Sat, Jun 11, 2011 at 3:47 PM, Benny Lofgren bl-li...@lofgren.biz wrote: On 2011-06-11 10.08, T wrote: I'm writing a small program which changes working dir to a specific directory (using chdir()), and then opens, reads, and closes files in that directory, depending on user actions.

APPELS D'OFFRES PUBLICS

2011-07-10 Thread SESSIONS A PARIS - SEPTEMBRE 2011
LYMAE FORMATION Inginierie des marchis publics MAITRISER LA PRATIQUE DES MARCHES PUBLICS M O D U L E S D E F O R M A T I O N P O U R E N T R E P R I S E S Module 1: Passation / exicution des marchis - Jeudi 08 septembre 2011 nbs p;nb sp;n bsp;

different nwkeys for wifi

2011-07-10 Thread Jan Stary
Scenario: I am moving my laptop between different wifi networks (obviously). Some of these networks are encrypted with WEP, using various nwkeys. What would be an elegant way to remember the various networks' settings and choose the one I am connecting to at netstart(8) time? Before I start

Re: different nwkeys for wifi

2011-07-10 Thread Gregor Best
I use a simple AWK script which parses the available networks as returned by ifconfig wpi0 scan and selects the first known one it finds. It then creates an /etc/hostname.wpi0 for that network and runs /etc/netstart wpi0. I attached it for reference, though I think it's extremely easy to rebuild

Re: different nwkeys for wifi

2011-07-10 Thread Amit Kulkarni
Scenario: I am moving my laptop between different wifi networks (obviously). Some of these networks are encrypted with WEP, using various nwkeys. What would be an elegant way to remember the various networks' settings and choose the one I am connecting to at netstart(8) time? Before I start

Re: different nwkeys for wifi

2011-07-10 Thread Luis Useche
I use the following perl script below. I saved it in /etc/rc.wireless and apply the following patch: --- netstartFri Jul 8 15:34:09 2011 +++ /etc/netstart Sun Jul 10 11:43:20 2011 @@ -255,6 +255,8 @@ ip6kernel=NO fi +#wifi +/etc/rc.wireless # Configure all the non-loopback

Re: How does OpenBSD compare to Ubuntu Server?

2011-07-10 Thread Chris Cappuccio
STeve Andre' [and...@msu.edu] wrote: On 07/07/11 15:12, Amit Kulkarni wrote: The developers don't adopt new things just because they're new. If something isn't reasonable, useful and secure it isn't used. This is one reason why each new release of OpenBSD doesn't have the currently released