openbsd-misc mailing list

FromSubjectsort iconDate
Davide Marini
X server delay on HP ProLiant ML110 G6
Hi, I just bought an HP ProLiant ML110 G6 server, which I plan to use as my desktop machine. After adding a Radeon HD 4350 graphics card, I installed OpenBSD 4.8-RELEASE on it. Everything works perfectly without configuration (dmesg attached). The only problem is a strange ~2 s delay when opening X terminals. The X server is very very slow. The same graphics card installed on a Dell PowerEdge T110 (same processor) works perfectly. Has anybody encountered this issue by any ...
Dec 13, 1:44 pm 2010
Francesco Vollero
Re: C++ CGI script
I want to help you and you can recyle it thousand times :) #include <iostream> #include <cstdlib> using namespace std; void headers(string content="Content-Type: text/html") { // string result="Content-Type: text/html"; cout<<content<<"\r\n\r\n"; } int main(int argc, char** argv) { headers(); cout << "Hello world" <<endl; return EXIT_SUCCESS; }
Dec 13, 2:31 pm 2010
Jean-Francois
C++ CGI script
Hello, Sorry for posting basic question here, would you please let me know why such script does'nt work (error with "Premature end of script headers") ? #include <iostream> using namespace std; int main() { cout << "Content-type: text/plain" << endl << endl << "Hello, World!"; } It actually shows flush needed on google but I'm not able to do a hello world CGI in C++. Thjanks for your help, Reagrds
Dec 13, 2:18 pm 2010
Gerhard Hoffmann
Re: C++ CGI script
endl is a so-called manipulator in C++. It outputs '\n' and flushes the output buffer (using the flush method in the stream). So, I would change the order: cout << "Content-type: text/plain" << endl << endl << "Hello, World!" << endl; Don't know if that solves it. Regards
Dec 13, 2:56 pm 2010
Francesco Vollero
Re: C++ CGI script
Sorry i forgot to paste the link
Dec 13, 4:51 pm 2010
Ted Unangst
Re: C++ CGI script
endl is "\n", you want "\r\n".
Dec 13, 2:44 pm 2010
Francesco Vollero
Re: C++ CGI script
Since the most smart way to do is *following* HTTP Protocol [1]: "HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body (see appendix 19.3 for tolerant applications)." That mean, the most common way is to use my function or just: cout << "Content-Type: text/plain\r\n\r\n"<<"Hello World, it's me"<<endl; And i can use endl on the last line, because hello world message is an entity-body. Regards,
Dec 13, 4:44 pm 2010
Axel Rau
Migrating from isakmpd to iked: interface name not recognized
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 -vn complains: no IP address found for pppoe0 /etc/iked.conf: 26: could not parse host specification . ifconfig pppoe0 | grep inet shows: inet 79.243.41.99 --> 87.186.224.28 netmask 0xffffffff Clueless: Axel --- axel.rau@chaos1.de ...
Dec 13, 10:50 am 2010
Ahlsen-Girard, Edwar ...
Re: easy snapshot updates
Please disregard my last. The light came on while rushing for the door. -- Ed Ahlsen-Girard Ft. Walton Beach, FL
Dec 13, 7:51 am 2010
Friedrich Locke
openldap mysql openbsd
Hi folks, did anyone using openbsd already deployed openldap with mysql ? What is your experience running them with openbsd? What about performance and stability? Is it a better approach to deploy openldap with mysql or BDBv3 ? Thanks a lot for your feedback. Best regards, Gustavo.
Dec 13, 9:16 am 2010
Lic. Ana Laura Vazquez
Incrementa tus ventas un trescientos por ciento.. garantizado
Si no puede visualizar la imagen haga click aqui [IMAGE] Este correo electronico se envia por unica ocasion Si no es de su interes disculpe las molestias contador php
Dec 13, 7:45 am 2010
Ted Unangst
Re: easy snapshot updates
Just to clarify, it doesn't replace or update any modified files. So it will place nice with custom kernels, but it won't patch them either.
Dec 13, 11:10 am 2010
Ed Ahlsen-Girard
Re: easy snapshot updates
Ted Unangst <ted.unangst () gmail ! com> wrote: Does it play nicely with modified (config, timezone) or custom (say, ntfs support) kernels? -- Edward Ahlsen-Girard Ft Walton Beach, FL
Dec 13, 6:40 am 2010
Francesco Vollero
Re: remove users from group
XML? Are you talking about the best system to create database on file not human readable? :) But talking about user databases, would not be better JSON or BSON ? geez! Anyway to answer the question, /there's more than one way to/ accomplish this task. And..it's the key to solve the problem.
Dec 13, 2:46 am 2010
patric conant
Re: remove users from group
You may also try copying over a valid groups file from a different machine.
Dec 13, 1:36 am 2010
Jan Stary
Re: remove users from group
Sadly, no. These users will be members of these groups forever. There's nothing you can do about it. You can only reinstall.
Dec 13, 1:15 am 2010
OpenBSD Geek
remove users from group
Hi, I have 100 users in groups : clients, and ftp_group How can i remove these 100 users from ftp_group ? I have already try usermod, but it only add users to group, not remove. Is there a way to achieve my task ? Thanks
Dec 13, 1:01 am 2010
Rob Pickering
Re: remove users from group
*what* vi /etc/group -- Rob.
Dec 13, 1:30 am 2010
Bret Lambert
Re: remove users from group
On Mon, Dec 13, 2010 at 10:14 AM, MERIGHI Marcus <mcmer-openbsd@tor.at> You're all wrong. We obviously need XML user databases.
Dec 13, 2:23 am 2010
MERIGHI Marcus
Re: remove users from group
And do not forget to wipe your hard disk to make sure you have a clean re-install! Jan, you just brightened my monday morning, thanks! On the more serious side and for the OP: how about the unix way of combining simple tools to accomplish more complex tasks: 1) use id(1) to get the groups 2a) use sed(1) to get rid of the unwanted ones 2b) use tr(1) to get a newline seperated list and grep(1) to get rid of the unwanted groups. 3) use tr(1) again to transform the new list to a format ...
Dec 13, 2:14 am 2010
LIc. Maria Robledo
Última Presentación: Taller de Finanzas para NO Financie ...
[IMAGE] Promociones Especiales para grupos! Capacitacisn Impartida por: L.C.P. Gustavo Rangel L. Pms Capacitacisn Efectiva de Mixico presenta: Taller de Finanzas para NO Financieros. Experto Consultor L.C.P. Gustavo Rangel L. Empresa Registrada ante la STPS Reg. COLG640205CP30005 Mayores informes responda este correo electrsnico con los siguientes datos. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: Y en breve le haremos llegar la informacisn completa del evento. ...
Dec 12, 11:49 pm 2010
Agustina Walker
Quiere hacer publicidad por E-mail pero su servidor lo ...
QUIERE HACER PUBLICIDAD POR E-MAIL PERO... - SU SERVIDOR LO BLOQUEA? - COMPRA BASES DE EMAILS QUE RESULTAN SER SOLO UN GASTO DE TIEMPO Y DINERO? - PIERDE TIEMPO ENVIANDO SU PUBLICIDAD A DIRECCIONES DE EMAIL QUE NI SIQUIERA EXISTEN, O CREE ENVIAR EMAILS Y LOS MISMOS NO LLEGAN YA QUE SON FILTRADOS POR LOS ANTISPAM? - GENERA MALHUMOR EN PERSONAS QUE NO DESEAN RECIBIR EMAILS PUBLICITARIOS, YA QUE DESCONOCE LAS TECNICAS PARA DICHA CLASE DE ENVIOS? - NO TIENE LOS CONOCIMIENTOS NECESARIOS PARA ...
Dec 12, 6:56 pm 2010
Anders Langworthy
Thinkpad X41 Tablet mic/headphone jacks
Hello list, The headphone and mic 3.5mm jacks on my Thinkpad X41 Tablet are quirky. I want to throw it all out there for reference to others, and in case the quirks are actually bugs. I'm using a cheap analog headset. (I can record & play audio fine with the right mixerctl settings. There isn't a "problem" here except odd behavior for some of the knobs.) I have to toggle the bluetooth softswitch (Fn+F5 on my laptop) the first time in order to use the headphone jack. Otherwise it ...
Dec 12, 5:40 pm 2010
Cato Auestad
Re: BitCoin on OpenBSD
I know. 2.8.11 is the latest stable release of wxWidgets, while 2.9.1 is the latest development release. Not much point including a development release as a package, I guess. Tried compiling 2.9.1 without alot of success. Sent some bugreport to their bugtracker. -- |- Cato Auestad |- bleakgadfly |- 0x19ABF872 |- www.openbsd.org
Dec 12, 5:02 pm 2010
Alexander Shulgin
Re: BitCoin on OpenBSD
I guess it should still be possible to compile the daemon and console ui, isn't it?
Dec 12, 10:28 pm 2010
Joachim Schipper
Re: Strange behavior from poll() when interrupted by signal
This is not valid - poll takes an int argument here. NULL is interpreted as 0 (return immediately) on most platforms, which means you're busy-waiting. And that poll() will usually return 0 ("timeout reached"). This matches your observations, as far as I can tell. I *think* you meant: while ((rfds = poll(wait_fd, 2, INFTIM)) == -1 && errno == EINTR); if (rfds == -1) err(1, "Poll failed"); Note that poll cannot return 0 here. Joachim -- TFMotD: poll (2) - synchronous I/O ...
Dec 13, 2:34 am 2010
Joachim Schipper
Re: [Was: OT - gmail alternatives] PGP web mail anyone?
It's unmaintained. I would also be surprised if the server can't get at your plaintext (e.g. with Javascript, or even Java/Flash). You may want to look at http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/ and the comments (in particular, my http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/#comment-6239). Summary: it doesn't work, and can't work unless you add a plugin with *many* restrictions. Joachim -- PotD: devel/ivy - dependency manager for ...
Dec 13, 2:23 am 2010
Joel Wiramu Pauling Dec 12, 8:57 pm 2010
Joel Wiramu Pauling
Re: [Was: OT - gmail alternatives] PGP web mail anyone?
On 13 December 2010 22:23, Joachim Schipper <joachim@joachimschipper.nl> http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/#comment-623 Firegpg was basically just chrome extensions to local(read client) side gpg binaries. It wasn't insecure for the reasons you cite, the author just got sick of having to update it to work with gmail (it's initial target). It is still useful for easy access to gpg functions within firefox.
Dec 13, 2:55 am 2010
Travis King
Re: [Was: OT - gmail alternatives] PGP web mail anyone?
On Mon, 13 Dec 2010 16:57:52 +1300 firegpg is the only way I can get friends and family to communicate with me securely. I don't even know what the interface looks like, but it does work (apparently). -- end
Dec 12, 9:11 pm 2010
Marti Martinez
Re: [Was: OT - gmail alternatives] PGP web mail anyone?
A better alternative would be a PGP browser addon, which I think already exists (but I'm too lazy to check on). Granted, you still have to trust your browser/addon maker to a certain extent, but presumably if you're looking for web based mail encryption, you already do.
Dec 12, 8:13 pm 2010
Diana Eichert
need some help to get some h/w to a developer Was: anyon ...
Okay, I guess no one is in the Arlington / Dallas area. There was a piece of h/w listed on CL yesterday I wanted to buy for a developer, but they only want to sell locally. diana
Dec 13, 7:13 am 2010
Diana Eichert
nevermind Was: need some help to get some h/w to a developer
Sorry for the noise, the item got deleted from CL this morning. It was a Yamaha sound processor. I have been looking for one after the one I owned turned out to be damaged. I got a search hit on Arlington CL yesterday, but they only wanted to sell locally. going back to RO mode diana
Dec 13, 8:05 am 2010
Jeff Ross
Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory
Be aware that you are treading on unproven and unsupported ground, and the devs are not interested in hearing about bigmem related problems. Here is a PR I submitted not to long ago that was immediately closed because it was based on a bigmem kernel: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6453 At the bottom of this lengthy bug report is the response of the dev who closed it. Jeff Ross
Dec 13, 11:45 am 2010
Denise H. G.
Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory
Great! Did you recompile your kernel? Or just modified your kernel by using config(8) ? I am rather new to OpenBSD... -- The chief cause of problems is solutions.
Dec 13, 7:55 am 2010
Nick Jones
Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory
You need to amend: /usr/src/sys/arch/amd64/amd64/machdep.c And change the relevant line (1183 in the -current source I checked out yesterday) so that it says: int bigmem = 1; Then recompile your kernel as per the FAQ, reboot, and cross your fingers. Report your success (or failure) here. -- -Nick
Dec 13, 9:53 am 2010
Nick Jones
Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory
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 otherwise, just renamed. -- -Nick OpenBSD 4.8-current (DEADOPEN.MP) #1: Mon Dec 13 11:07:14 GMT 2010 root@deadopen.local:/usr/src/sys/arch/amd64/compile/DEADOPEN.MP real mem = 4182446080 (3988MB) avail mem = 4057165824 (3869MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor ...
Dec 13, 6:26 am 2010
Amit Kulkarni
Re: easy snapshot updates
Thank you thank you thank you! I am sure thousands of people out there would be grateful for this little gem.
Dec 12, 11:20 pm 2010
Stuart Henderson
Re: symbol ( - - - - ) size mismatch, relink your program
many packages are now using manpages preformatted at build time. makewhatis(8) doesn't handle these very well yet. you need to show the actual messages.
Dec 13, 4:13 am 2010
Lists Account
Re: OpenBSD Access Point? (Summary)
Hi All, Summarising, for future reference... I received some six responses. Overall the feedback was a little disappointing. Three responses suggested that it would be easier/less time consuming/more stable to simply connect a consumer access point configuration and stability of drivers e.g. ath and ral. At least a couple of the respondents are successfully using ALIX boards, including the desired 2D13. None of the responses related to the specific wireless devices that I asked about. Some ...
Dec 13, 5:29 am 2010
Ing. Alexander Kršek
Re: OpenBSD Access Point? (Summary)
Hi. Not true. You do not need any use of hostapd daemon (for SINGLE AP). You need CARD, that CAN WORK in hostap mode. Btw, I tested three Atheros minipci cards (AR5212/5213) to find out, that usage of the chip, that should work in hostap mode, is not the guaranty, that card with that chip will be useable in hostap mode. Two of them (some TP-Links) caused hard freezes after ifconfig and my Wistron CM9 simply refused to switch into 802.11g hostap mode - always ended in 802.11a. Now I use ...
Dec 13, 6:26 am 2010
Дмитрий Ð¦Ð°Ñ ...
Re: Donations
It works for crimes with certain punishment margins. Accusing PayPal of killing peaple, spying or frauding may be brought to court. Accusing PayPal of stealing food from market, not dealing with due process and etc - doesn't. By the way, that may give You an image of importancy of due process in modern legal systems - just between stealing a hamburger and stealing a TV. -- Dmitrij D. Czarkoff
Dec 13, 2:41 am 2010
Дмитрий Ð¦Ð°Ñ ...
Re: Donations
It seems that You consider killing people on the street to be a part of one's liberty that he trades for public order. A nice way to put to preason everyone because it is a trade off for public, social or whatever security. And to look even more authoritative, You may apply a label "anarchist" to everyone who isn't going to march to prison on his own. -- Dmitrij D. Czarkoff
Dec 13, 2:49 am 2010
previous daytodaynext day
December 12, 2010December 13, 2010December 14, 2010