Re: way to help: laptops and weekly

2010-01-28 Thread Stas Miasnikou
Ingo Schwarze wrote: Kevin Kadow wrote on Tue, Jan 26, 2010 at 04:40:13PM -0600: and also like his suggestion to check 'apm' and not launch housekeeping tasks when solely on battery power. I fear that's not an option. The apm(8) utility uses the apm(4) device which is limited to i386, AMD64,

Re: USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support

2010-01-28 Thread Raymond Lillard
Ralph Becker-Szendy wrote: For one of my OpenBSD machines, I need to be able to measure a few analog voltages, and act on them in a control process. The requirements are quite simple compared to typical data acquisition: I absolutely need two voltage inputs, either 0-20V or 0-100mV; doesn't h

Re: Postgresql and Memory Usage

2010-01-28 Thread Tobias Ulmer
On Thu, Jan 28, 2010 at 06:53:06PM -0500, Ted Unangst wrote: > On Thu, Jan 28, 2010 at 6:10 PM, Tobias Ulmer wrote: > > Let's make this simple, on i386 you have 1G per process. Adding all the > > numbers up, you have to stay below this limit. > > That's quite an oversimplification. For starters,

utf-8 file name display problem

2010-01-28 Thread shwegime
Running 4.6 release on i386. This is a problem with chinese characters, I did not try if it has the same problem with other languages. The problem: If I copy a file from a Windows machine, and use 'convmv' to convert the filename to utf-8 (from gb2312) it then displays correctly in a unicode

Re: umts need help

2010-01-28 Thread dave
Hey Didier: 2) Here was my problem I needed a "AT+CFUN=1" to turn the card on ;-/ http://www.thinkwiki.org/wiki/Ericsson_F3507g_Mobile_Broadband_Module I noticed if I turn off radio afterwards with "AT+CFUN=0" or "AT+CFUN=4", the gsm card is detached from the kernel: ubt0 detached ucom0 detac

[no subject]

2010-01-28 Thread Credito . Cooperativo
Gentile Cliente, da questo momento h disponibile on-line l'estratto conto mensile riferito al codice del rapporto 01002-33047891: potr` consultarlo, stamparlo e salvarlo sul suo PC per creare un suo archivio personalizzato. Le ricordiamo che ogni estratto conto rimane in linea fino al terzo mese

Re: way to help: laptops and weekly

2010-01-28 Thread K K
So maybe what we really need is just a message at boot? Its been 824 days since? /etc/weekly was last run On Jan 28, 2010 6:09 PM, "Ingo Schwarze" wrote: Kevin Kadow wrote on Tue, Jan 26, 2010 at 04:40:13PM -0600: > and also like his suggestion to check 'apm' and not launch housekeeping > tas

Re: way to help: laptops and weekly

2010-01-28 Thread Ingo Schwarze
Kevin Kadow wrote on Tue, Jan 26, 2010 at 04:40:13PM -0600: > and also like his suggestion to check 'apm' and not launch housekeeping > tasks when solely on battery power. I fear that's not an option. The apm(8) utility uses the apm(4) device which is limited to i386, AMD64, Zaurus and MacPPC.

Re: Postgresql and Memory Usage

2010-01-28 Thread Ted Unangst
On Thu, Jan 28, 2010 at 6:10 PM, Tobias Ulmer wrote: > Let's make this simple, on i386 you have 1G per process. Adding all the > numbers up, you have to stay below this limit. That's quite an oversimplification. For starters, we're talking about shm, which doesn't count against your 1GB. The st

Re: USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support

2010-01-28 Thread Paul M
OpenBSD has a driver for the Dallas OneWire protocol. man(4) onewire Dallas make adapters for USB and RS232, such as the DS9490R - google can find you a supplier, for example: http://www.hobby-boards.com/catalog/product_info.php?products_id=1503 There are all manner of 1wire chips avalable - h

Re: Postgresql and Memory Usage

2010-01-28 Thread Tobias Ulmer
On Wed, Jan 27, 2010 at 04:38:08PM -0700, Jeff Ross wrote: > Tobias Ulmer wrote: > >On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: > >>I have searched (and searched) so I wonder if I'm running into the > >>i386 1GB limit I see referenced, as in the thread today about fsck > >>on larger

USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support

2010-01-28 Thread Ralph Becker-Szendy
For one of my OpenBSD machines, I need to be able to measure a few analog voltages, and act on them in a control process. The requirements are quite simple compared to typical data acquisition: I absolutely need two voltage inputs, either 0-20V or 0-100mV; doesn't have to be differential, acq

Re: vsftpd

2010-01-28 Thread Robert
On Thu, 28 Jan 2010 20:04:25 +0100 Jean-Frangois SIMON wrote: > Hi List, > > I am using vsftpd as ftp daemon. I actually launch this service as > root (sudo /usr/...) because this is the only way it actually starts. > Is this normal way or do I miss something ? > I don't see that it drops its pri

Re: vsftpd

2010-01-28 Thread Brad Tilley
On Thu, 28 Jan 2010 21:44 +0200, "Lars Nooden" wrote: > Jean-FranC'ois SIMON wrote: > > Is this normal way or do I miss something ? > > For ftp the normal way is to work with the chrooted ftp daemon that is > part of the OpenBSD base: > http://www.openbsd.org/faq/faq10.html#AnonFTP >

Re: vsftpd

2010-01-28 Thread Lars Nooden
Jean-FranC'ois SIMON wrote: > Is this normal way or do I miss something ? For ftp the normal way is to work with the chrooted ftp daemon that is part of the OpenBSD base: http://www.openbsd.org/faq/faq10.html#AnonFTP http://www.openbsd.org/cgi-bin/man.cgi?query=ftpd /Lars

vsftpd

2010-01-28 Thread Jean-François SIMON
Hi List, I am using vsftpd as ftp daemon. I actually launch this service as root (sudo /usr/...) because this is the only way it actually starts. Is this normal way or do I miss something ? I don't see that it drops its privileges, through "top", I see it running as root. Regards

Re: /etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hmm, on Thu, Jan 28, 2010 at 05:21:07PM +0100, Peter Hessler said that > Did you create the link before or after the programs started? Most > won't check that file after they start, so they stay in UTC. i am finding out that this is a curious situation. the said issue happens on a virtual openbs

Re: Device agnostic networking interface

2010-01-28 Thread Bret S. Lambert
On Thu, Jan 28, 2010 at 09:26:04AM -0700, Sean Mackrory wrote: > Hi all, > I'm interested in OS network stacks, and I'm very interested in OpenBSD, > but I'm coming from a Linux background, and I've had a hard time finding > resources that cover the way the kernel code is organized. Learning > cold

Re: /etc/localtime, date and other programs

2010-01-28 Thread Daniele Pilenga
On Thu, Jan 28, 2010 at 5:23 PM, Otto Moerbeek wrote: > [...] > > You are mistaken. The installer symlinks. > > > I looked up my system and found the copied file. Since I was _sure_ I didn't do that I wrongly assumed it was the installer, but you are of course right. Sorry for the noise. Ciao

Re: Postgresql and Memory Usage

2010-01-28 Thread J Sisson
On Wed, Jan 27, 2010 at 3:13 PM, Jeff Ross wrote: > max_connections = 200 # pgtune wizard 2010-01-27 Silly question, but have you tried any kind of connection pooling? If you can drop max_connections down you can reduce the shared memory footprint postgresql has.

Device agnostic networking interface

2010-01-28 Thread Sean Mackrory
Hi all, I'm interested in OS network stacks, and I'm very interested in OpenBSD, but I'm coming from a Linux background, and I've had a hard time finding resources that cover the way the kernel code is organized. Learning cold from the source code is tricky - so if someone could point me in the rig

Re: Postgresql and Memory Usage

2010-01-28 Thread Ted Unangst
On Thu, Jan 28, 2010 at 1:16 AM, Bret S. Lambert wrote: > On Wed, Jan 27, 2010 at 06:55:29PM -0500, Ted Unangst wrote: >> Shm shouldn't be mapped in the kernel, so large values won't be that >> bad. > > But the way that shared mem is implemented means that larger > values require a larger malloc(9

Re: /etc/localtime, date and other programs

2010-01-28 Thread Otto Moerbeek
On Thu, Jan 28, 2010 at 04:39:51PM +0100, frantisek holop wrote: > hi there, > > $ ls -l /etc/localtime > lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ -> > /usr/share/zoneinfo/Europe/Amsterdam > $ date > Thu Jan 28 16:37:33 CET 2010 > > but all the other programs, including thunde

Re: /etc/localtime, date and other programs

2010-01-28 Thread Otto Moerbeek
On Thu, Jan 28, 2010 at 04:58:41PM +0100, Daniele Pilenga wrote: > On Thu, Jan 28, 2010 at 4:39 PM, frantisek holop wrote: > > > hi there, > > > > $ ls -l /etc/localtime > > lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ -> > > /usr/share/zoneinfo/Europe/Amsterdam > > > > Have you t

Re: /etc/localtime, date and other programs

2010-01-28 Thread Julian Leyh
Am 28.01.10 16:58, schrieb Daniele Pilenga: Have you tried *copying* the file over? That's how the installer does it. Did you actually try to install OpenBSD? That's _not_ how the installer does it.

Re: /etc/localtime, date and other programs

2010-01-28 Thread Peter Hessler
Did you create the link before or after the programs started? Most won't check that file after they start, so they stay in UTC. On 2010 Jan 28 (Thu) at 16:39:51 +0100 (+0100), frantisek holop wrote: :hi there, : :$ ls -l /etc/localtime :lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@

Re: Finding bsd.rd checksums for sets without booting?

2010-01-28 Thread Ted Unangst
The program that puts the file system in the kernel can also take it out. It's called elfrdsetroot or something. Look in src/distrib. On Wed, Jan 27, 2010 at 7:36 AM, Lars Nooden wrote: > What ways are there to get the checksums from bsd.rd without actually > booting with it and going through t

Re: /etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hmm, on Thu, Jan 28, 2010 at 04:58:41PM +0100, Daniele Pilenga said that > On Thu, Jan 28, 2010 at 4:39 PM, frantisek holop wrote: > > > hi there, > > > > $ ls -l /etc/localtime > > lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ -> > > /usr/share/zoneinfo/Europe/Amsterdam > > > > Hav

Re: /etc/localtime, date and other programs

2010-01-28 Thread Daniele Pilenga
On Thu, Jan 28, 2010 at 4:39 PM, frantisek holop wrote: > hi there, > > $ ls -l /etc/localtime > lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ -> > /usr/share/zoneinfo/Europe/Amsterdam > Have you tried *copying* the file over? That's how the installer does it. Ciao, D.

/etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hi there, $ ls -l /etc/localtime lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ -> /usr/share/zoneinfo/Europe/Amsterdam $ date Thu Jan 28 16:37:33 CET 2010 but all the other programs, including thunderbird, gkrellm, the window manager show 15:37.. i have no idea what's going on, cou

I AM INTERESTED IN YOU

2010-01-28 Thread Fati Mbogo
You are invited to "I AM INTERESTED IN YOU". By your host Fati Mbogo: Date: Thursday January 28, 2010 Time: 2:00 pm - 3:00 pm (GMT +02:00 Egypt) Street:My name is Fati Mbogo,i saw your contact today and became intrested in you.Iam good look

Re: way to help: laptops and weekly

2010-01-28 Thread Lars Nooden
Nick Holland wrote: > however, maybe locate.updatedb could be adjusted to put an optional > delay between disk queries... What would be the relevant metric, how close to capacity a drive is working at? On a one-user system, it could be feasible to wait until usage is zero or close to it. On a m

Re: Finding bsd.rd checksums for sets without booting?

2010-01-28 Thread Lars Nooden
Nick Holland wrote: > look around in that file, you should have no problem finding it. > you will learn more following that process than me giving you the > answer. :) Good point. Grepping the output from 'strings' for large hexadecimal numbers finds the hash. strings /bsd.rd | egrep '^[

Re: way to help: laptops and weekly

2010-01-28 Thread Nick Holland
Jonathan Thornburg wrote: ... > Some of the /etc/weekly stuff (eg rebuilding locatedb) involves > walking all (non-NFS) mounted filesystems, so it really eats disk > seek bandwidth, i.e., it makes the machine painfully slow for most > other use while it's running. So, only a human can decide when

Re: Finding bsd.rd checksums for sets without booting?

2010-01-28 Thread Nick Holland
Lars Nooden wrote: > Aaron Mason wrote: > >> ftp://ftp.openbsd.org/pub/OpenBSD/4.6/i386/SHA256 >> >> Replace 4.6 and i386 with the OpenBSD version (or snapshots) and your >> arch respectively. > > Yes, those are the expected checksums and the sets can be tested with > 'chksum -c SHA256'. > > Ho

Re: fsck segfault on a big partition, 4.6

2010-01-28 Thread Kenneth R Westerback
On Wed, Jan 27, 2010 at 10:48:01PM -0500, Ted Unangst wrote: > Obviously, as any competent sysadmin like nixlists knows, you should > restrict all your processes to a max of 20 megs. 64KB is enough for anyone. Giving people more resources they may misuse is just "stupid". And swap is doubly so sin

Re: Change root password from shell-script

2010-01-28 Thread Julian Leyh
Am 27.01.10 18:14, schrieb Paul Branston: A little more generic in case there is no usermod -p PASSWORD=$(echo "my_new_password" | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow /etc/shadow: no such file

American Express Mobile Support Follow-up

2010-01-28 Thread AmericanExpress
As a security measure, we regularly monitor our customer's accounts. In carrying out our monitoring, we have noticed that your account needs further verification in line with current regulations, and we have temporarily deactivate your American Express Mobile. Your American Express Mobile wil

bgpctl reload, refuse to load configuration

2010-01-28 Thread leonardo fabian
Hi misc, After fixing error in bgpd.conf (OpenBSD 4.6), bgpctl reload, refuse to load new configuration. from /var/log/messages: Jan 27 06:55:43 acbgp bgpd[31029]: /etc/bgpd.conf:114: rib "Adj-RIB-In" allready exists. Jan 27 06:55:43 acbgp bgpd[31029]: /etc/bgpd.conf:114: rib "Loc-RIB" allready e

Incrementata las ventas, usando simuladores de negocios

2010-01-28 Thread LatAm Operations Manager
Simule 2 aqos de ventas en tan sslo 4 horas con el programa vivencial de Empower "Traders of Genoa". Gracias al interis que mostraron los participantes despuis de la primera edicisn de "Traders of Genoa", ahora usted podra participar en la segunda edicisn de este simulador de negocios znico. La nu

Re: way to help: laptops and weekly

2010-01-28 Thread Lars Nooden
Jonathan Thornburg wrote: > ... > Some of the /etc/weekly stuff (eg rebuilding locatedb) involves > walking all (non-NFS) mounted filesystems, so it really eats disk > seek bandwidth, i.e., it makes the machine painfully slow for most > other use while it's running. So, only a human can decide whe

Re: Using Facebook API: URL file-access is disabled in the server configuration

2010-01-28 Thread Alexander Farber
On Wed, Jan 27, 2010 at 10:39 PM, Chazza wrote: > Take a look at your php.ini file to allow fopen to work on URLs. Yes, setting allow_url_fopen = On allow_url_include = On and restarting Apache brings me a bit further but then I fail with a getaddrinfo error. Adding localhost and api.facebo

Re: Finding bsd.rd checksums for sets without booting?

2010-01-28 Thread Lars Nooden
Aaron Mason wrote: > ftp://ftp.openbsd.org/pub/OpenBSD/4.6/i386/SHA256 > > Replace 4.6 and i386 with the OpenBSD version (or snapshots) and your > arch respectively. Yes, those are the expected checksums and the sets can be tested with 'chksum -c SHA256'. However, bsd.rd itself contains a list

Re: fsck segfault on a big partition, 4.6

2010-01-28 Thread nixlists
On Thu, Jan 28, 2010 at 1:24 AM, Robert wrote: > nixlists wrote: >> >> The idea is to limit memory such that running out of RAM+swap is not >> possible, or unlikely. You can set the limit on the allowed number of >> processes as well. > > I do use ulimit / login.conf for some processes, but does a