csup cannot connect

2010-12-14 Thread Friedrich Locke
Hi, i am trying to sync my local ports directory but every server i try i got connection refused. Does anybody have any ideia about what's going on? Here there are some examples: lion# ls -l total 8 -rw-r--r-- 1 root wheel 205 Jun 6 2009 ports -rw-r--r-- 1 root wheel 203 Jun 6 2009

Re: opensmtpd with custom passwd file

2010-12-14 Thread Gregory Edigarov
On Tue, 14 Dec 2010 07:34:10 +0100 Gilles Chehade gil...@poolp.org wrote: On Mon, Dec 13, 2010 at 11:17:56PM -0300, Hugo Osvaldo Barrera wrote: Hi! I've been using smtpd on my server for some time now, and I want to host e-mail accounts for a couple of friends who've asked me to. I

Re: C++ CGI script

2010-12-14 Thread a . velichinsky
On Mon, Dec 13, 2010 at 04:44:30PM -0500, Ted Unangst wrote: endl is \n, you want \r\n. no. the httpd server is supposed to do that conversion. that should work. the OP probably messed up something (renamed the c++ source instead of the executable to .cgi?) On Mon, Dec 13, 2010 at 4:18 PM,

delete user in group script

2010-12-14 Thread OpenBSD Geek
Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup cat /tmp/group | grep -v ^$2 /tmp/nogroup cat /tmp/onlygroup | sed s/$1//g | \

Re: delete user in group script

2010-12-14 Thread Otto Moerbeek
On Tue, Dec 14, 2010 at 03:31:40PM +0400, OpenBSD Geek wrote: Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup cat

Re: delete user in group script

2010-12-14 Thread Markus Hennecke
On Tue, 14 Dec 2010, OpenBSD Geek wrote: Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup cat /tmp/group | grep -v ^$2 /tmp/nogroup

Re: delete user in group script

2010-12-14 Thread Tomas Bodzar
On Tue, Dec 14, 2010 at 12:31 PM, OpenBSD Geek open...@e-solutions.re wrote: Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 00:53, Nick Jones n...@dischord.org wrote: On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote: FWIW, I'm running -current with BIGMEM enabled on my X200 and it's running fine. I've attached the output of dmesg and pcidump -v for reference. Kernel is generic

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 02:45, Jeff Ross jr...@openvistas.net wrote: On 12/13/10 09:52, Nick Jones wrote: On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote: FWIW, I'm running -current with BIGMEM enabled on my X200 and it's running fine. I've attached the output of dmesg and pcidump -v for

Re: delete user in group script

2010-12-14 Thread OpenBSD Geek
I made as I could, since it works, where is the probleme...? ;-) You really deserve the Useless Use of Cat Award. And the race condition award, and the nuke the wrong file award, and... Kind regards, Markus

Re: delete user in group script

2010-12-14 Thread Markus Hennecke
On Tue, 14 Dec 2010, OpenBSD Geek wrote: I made as I could, since it works, where is the probleme...? ;-) Tomas already pointed out where this will blow up for sure. Hint: Take a look at mktemp(1) and install(1) to weed out the worst issues. Kind regards, Markus

Re: Migrating from isakmpd to iked: interface name not recognized

2010-12-14 Thread Axel Rau
Am 13.12.2010 um 18:50 schrieb Axel Rau: no IP address found for pppoe0 This happens with all devices, I have tried. Anybody succeeded in using an interface name as argument of option local? This is 4.8 stable on i386 generic. Axel --- axel@chaos1.de PGP-Key:29E99DD6 +49 151

Re: delete user in group script

2010-12-14 Thread Jan Stary
On Dec 14 15:31:40, OpenBSD Geek wrote: Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup cat /tmp/group | grep -v ^$2

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Tomas Bodzar
On Tue, Dec 14, 2010 at 1:03 PM, Denise H. G. darc...@gmail.com wrote: On 2010/12/14 at 02:45, Jeff Ross jr...@openvistas.net wrote: On 12/13/10 09:52, Nick Jones wrote: On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote: FWIW, I'm running -current with BIGMEM enabled on my X200 and

Re: csup cannot connect

2010-12-14 Thread Christian Weisgerber
Friedrich Locke friedrich.lo...@gmail.com wrote: i am trying to sync my local ports directory but every server i try i got connection refused. Looks like you are blocking outgoing traffic to port 5999. -- Christian naddy Weisgerber na...@mips.inka.de

Re: opensmtpd with custom passwd file

2010-12-14 Thread L. V. Lammert
On Mon, 13 Dec 2010, Hugo Osvaldo Barrera wrote: Hi! I've been using smtpd on my server for some time now, and I want to host e-mail accounts for a couple of friends who've asked me to. You might want to consider github.com/mailserv for multiple domain and/or 'mail only' users. Allard's

Re: opensmtpd with custom passwd file

2010-12-14 Thread Gilles Chehade
On Tue, Dec 14, 2010 at 11:53:38AM +0200, Gregory Edigarov wrote: What is not yet possible is to use alternate authentication sources. Then after all it *is* QUITE possible. I've written bsd auth module for authenticating to any pop3 server. Gilles, I had a chat with you some time

mic2 is unplugged whatever the physical status is

2010-12-14 Thread Dmitrij D. Czarkoff
Hello! I have found my external microphone (mic2) not working under OpenBSD -current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense answering outputs.mic2_sense=unplugged regardless of whether it is plugged or not. At the same time outputs.hp_sense is reported correctly. Is there

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 20:32, Tomas Bodzar tomas.bod...@gmail.com wrote: On Tue, Dec 14, 2010 at 1:03 PM, Denise H. G. darc...@gmail.com wrote: On 2010/12/14 at 02:45, Jeff Ross jr...@openvistas.net wrote: On 12/13/10 09:52, Nick Jones wrote: On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G.

Re: mic2 is unplugged whatever the physical status is

2010-12-14 Thread Jacob Meuser
On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote: Hello! I have found my external microphone (mic2) not working under OpenBSD -current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense answering outputs.mic2_sense=unplugged regardless of whether it is plugged

Re: Migrating from isakmpd to iked: interface name not recognized

2010-12-14 Thread Mike Belopuhov
On Mon, Dec 13, 2010 at 18:50 +0100, Axel Rau wrote: Hi all, in the man page for iked.conf, I read: Addresses can be specified in CIDR notation (matching netblocks), as symbolic host names, interface names, or interface group names. In my iked.conf, I have local pppoe0 but iked

Re: Migrating from isakmpd to iked: interface name not recognized

2010-12-14 Thread Axel Rau
Am 14.12.2010 um 17:23 schrieb Mike Belopuhov: mask2prefixlen functions are taken from bgpd. OK? Thanks, Axel --- axel@chaos1.de PGP-Key:29E99DD6 +49 151 2300 9283 computing @ chaos claudius

LIME EN LA VENTA NOCTURNA DE LIVERPOOL Y FABRICAS DE FRANCIA.

2010-12-14 Thread NORDIKA-LIME
Venta Nocturna SOLO HOY!!! 18 MESES SIN INTERESES Y 20% DE REGALO EN MONEDERO ELECTRONICO BICICLETA S9.0 CON RESPALDO RESISTENCIA MAGNETICA - VELOCIDAD, DISTANCIA, CALORIAS Y PULSO $333* REGALO

Re: [PATCH] uticom driver fix

2010-12-14 Thread Daniel Gracia
El 12/12/2010 0:13, Jonathan Gray escribis: On Tue, Dec 07, 2010 at 10:06:59AM +0100, Daniel Gracia wrote: Hi there! Being in need of uticom driver noticed that it didn't worked out of the box. Compiled, but opening the serial port twice panics the kernel. With the attached fix applyed to

Re: [PATCH] uticom driver fix

2010-12-14 Thread Jonathan Gray
On Tue, Dec 14, 2010 at 04:43:23PM +0100, Daniel Gracia wrote: El 12/12/2010 0:13, Jonathan Gray escribis: On Tue, Dec 07, 2010 at 10:06:59AM +0100, Daniel Gracia wrote: Hi there! Being in need of uticom driver noticed that it didn't worked out of the box. Compiled, but opening the serial

Re: delete user in group script

2010-12-14 Thread Leonardo Rodrigues
Ok! Here goes my contribution to this thread! # $1=group # $2=user cd /etc cat ./group \ | sed '/'$1'/ s/'$2'//' \ | sed '/'$1'/ s/,,/,/' \ | sed '/'$1'/ s/,$//' \ | sed '/'$1'/ s/:,/:/' group.new mv /etc/group.new /etc/group chown root.wheel /etc/group chmod

Re: delete user in group script

2010-12-14 Thread Ted Unangst
On Tue, Dec 14, 2010 at 4:00 PM, Leonardo Rodrigues leonardov...@gmail.com wrote: mv /etc/group.new /etc/group chown root.wheel /etc/group chmod 644 /etc/group A) root:wheel is better. B) it's a bad idea to fix the permissions of a file after installing it.

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
Is there a light at the end of the tunnel somewhere to make email secure even for amateurs who don't know how to use PGP? I'm very curious about the future of email, especially now. I would like to hear opinions of OpenBSD wizards. The thing is that it is very hard to persuade someone to use PGP

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 23:06:49 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the tunnel somewhere to make email secure even for amateurs who don't know how to use PGP? I'm very curious about the future of email, especially now. I would like to hear opinions of

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Kevin Chadwick
On Tue, 14 Dec 2010 23:06:49 +0100 Tomas Vavrys vav...@cleancode.cz wrote: The thing is that it is very hard to persuade someone to use PGP all the time. it is very hard to persuade someone to use PGP in the first place, and even harder to believe they have a secure machine. Sometimes you may

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
Well, since Egypt we know that it's not going to happen. 2010/12/14 roberth rob...@openbsd.pap.st: On Tue, 14 Dec 2010 23:06:49 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the tunnel somewhere to make email secure even for amateurs who don't know how to use

Re: delete user in group script

2010-12-14 Thread Adriaan
On Tue, Dec 14, 2010 at 10:00 PM, Leonardo Rodrigues leonardov...@gmail.com wrote: Ok! Here goes my contribution to this thread! # $1=group # $2=user cd /etc cat ./group \ | sed '/'$1'/ s/'$2'//' \ | sed '/'$1'/ s/,,/,/' \ | sed '/'$1'/ s/,$//' \ | sed

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Johan Beisser
On Tue, Dec 14, 2010 at 2:06 PM, Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the tunnel somewhere to make email secure even for amateurs who don't know how to use PGP? I'm very curious about the future of email, especially now. I would like to hear opinions of

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 23:33:13 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Well, since Egypt we know that it's not going to happen. 2010/12/14 roberth rob...@openbsd.pap.st: On Tue, 14 Dec 2010 23:06:49 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 23:33:13 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Well, since Egypt we know that it's not going to happen. 2010/12/14 roberth rob...@openbsd.pap.st: On Tue, 14 Dec 2010 23:06:49 +0100 Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
2010/12/14 Kevin Chadwick ma1l1i...@yahoo.co.uk: On Tue, 14 Dec 2010 23:06:49 +0100 it is very hard to persuade someone to use PGP in the first place, and even harder to believe they have a secure machine. I have a great experience with Pidgin and OTR. Even a child could handle the first

Re: opensmtpd with custom passwd file

2010-12-14 Thread Hugo Osvaldo Barrera
On 12/14/2010 03:21 AM, Gilles Chehade wrote: On Mon, Dec 13, 2010 at 11:17:56PM -0300, Hugo Osvaldo Barrera wrote: Hi! Hi, I've been using smtpd on my server for some time now, and I want to host e-mail accounts for a couple of friends who've asked me to. I was wondering if it's posible

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Clint Pachl
Denise H. G. wrote: I've switched to FreeBSD for my desktop with 4G memory... Unnecessary fear : $ sysctl kern.version kern.version=OpenBSD 4.8-current (GENERIC.MP) #547: Tue Dec 7 23:16:34 MST 2010

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 16:46:08 -0700 Clint Pachl pa...@ecentryx.com wrote: Denise H. G. wrote: I've switched to FreeBSD for my desktop with 4G memory... Unnecessary fear : $ sysctl kern.version kern.version=OpenBSD 4.8-current (GENERIC.MP) #547: Tue Dec 7 23:16:34

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Clint Pachl
roberth wrote: omg, i am using 95% of my memory all the time, should i be worried? maybe kern.bufcachepercent=95 has something to do with it; blame Bob. Holy shit! Mine's at 10%. Maybe I should crank mine up to to 95% and then buy more RAM.

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread xSAPPYx
Dan Kaminsky (http://dankaminsky.com) has been working on Domain Key Infrastructure bootstrapped of of dnssec that looks pretty interesting. I'm not sure where the video is for this talk (it was at blackhat/defcon 2010), but I found the slides..

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Ted Unangst
On Tue, Dec 14, 2010 at 5:19 PM, Johan Beisser j...@caustic.org wrote: On Tue, Dec 14, 2010 at 2:06 PM, Tomas Vavrys vav...@cleancode.cz wrote: Is there a light at the end of the tunnel somewhere to make email secure even for amateurs who don't know how to use PGP? I'm very curious about the

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 16:38:54 -0800 xSAPPYx xsap...@gmail.com wrote: Dan Kaminsky (http://dankaminsky.com) has been working on Domain Key Infrastructure bootstrapped of of dnssec that looks pretty interesting. I'm not sure where the video is for this talk (it was at blackhat/defcon 2010), but

how to know if a headphone jack is plugged in

2010-12-14 Thread Aaron Lewis
how to know if a headphone jack is plugged in , anyone knows ? -- Aaron

Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread roberth
On Tue, 14 Dec 2010 17:19:23 -0700 Clint Pachl pa...@ecentryx.com wrote: roberth wrote: omg, i am using 95% of my memory all the time, should i be worried? maybe kern.bufcachepercent=95 has something to do with it; blame Bob. Holy shit! Mine's at 10%. Maybe I should crank mine up to to

Re: how to know if a headphone jack is plugged in

2010-12-14 Thread Jacob Meuser
On Wed, Dec 15, 2010 at 10:06:57AM +0800, Aaron Lewis wrote: how to know if a headphone jack is plugged in , anyone knows ? -- Aaron for azalia(4): $ mixerctl | grep _sense other drivers, I don't think any others have such a feature. maybe some of the macppc audio devices ... some ac97

Papai Noel existe - Anuncie GRATIS.

2010-12-14 Thread auto-motivos
Se vocj nco esta conseguindo ver o contezdo deste email acesse a versco alternativa. Informativo-1 Site [IMAGE] Cadastre-se [IMAGE]

Re: how to know if a headphone jack is plugged in

2010-12-14 Thread roberth
On Wed, 15 Dec 2010 10:06:57 +0800 Aaron Lewis the.warl0ck.1...@gmail.com wrote: how to know if a headphone jack is plugged in , anyone knows ? -- Aaron there is this hole thingy, if there is that plug thingy in it, you might expect it to be plugged in. to make sure, you push on it, that's

sysjail project

2010-12-14 Thread Mikle Krutov
Hello, list! I'm interested, why is it said on sysjail projects site that Sources tested variously on i386, AMD64, alpha, and others. It will only work with OpenBSD 3.9, 4.0, 4.1, 4.2, and 4.3. The most current version is 1.2.35, dated 29 May 2010. While dated 29 May 2010 ? Is that information

Re: sysjail project

2010-12-14 Thread Jason Dixon
On Wed, Dec 15, 2010 at 06:26:24AM +0300, Mikle Krutov wrote: Hello, list! I'm interested, why is it said on sysjail projects site that Sources tested variously on i386, AMD64, alpha, and others. It will only work with OpenBSD 3.9, 4.0, 4.1, 4.2, and 4.3. The most current version is 1.2.35,

Re: Advice on learning C as first language

2010-12-14 Thread Daniel B.
On Wed, 24 Nov 2010, Marco Peereboom wrote: The must have is: http://www.amazon.com/Programming-Environment-Addison-Wesley-Professional-Computing/dp/0321525949/ref=pd_sim_b_8 +1

Re: OpenBSD in Rock Band 3

2010-12-14 Thread Daniel B.
On Wed, 8 Dec 2010, Marco Peereboom wrote: So you suggest they should continue to break the law? Thinking on how things are actually done today, they are obviously wrong, but at least then mentioned OpenBSD.

my new script for delete user from group

2010-12-14 Thread OpenBSD Geek
After correction, i'm agree it is a bit long, but it works. Thank you very much for your posts! if [ $1 ] [ $2 ]; then tempfile=`mktemp /tmp/tempfile.` cp /etc/group $tempfile onlygroup=`mktemp /tmp/tempfile.` cat $tempfile | grep ^$2 $onlygroup nogroup=`mktemp /tmp/tempfile.`

Re: my new script for delete user from group

2010-12-14 Thread Andres Perera
On Wed, Dec 15, 2010 at 12:47 AM, OpenBSD Geek open...@e-solutions.re wrote: After correction, i'm agree it is a bit long, but it works. Thank you very much for your posts! if [ $1 ] [ $2 ]; then Missing an ampersand, and if $1 or $2 evaluate to -t, some shells will return 1 if stdout is not