Re: Is there such a thing as a fanless OpenBSD-capable laptop?
On 14 June 2016 at 00:53, frantisek holop wrote: > the acer travelmate b115-m is an el cheapo netbook > with no moving parts if you stick an ssd in it. > Thanks for the addition and dmesg. Do you know if all the Travelmate B115's are fanless or only the M models, not MP or P? What about the B116's and B117's? Actually, are all the Travelmate B's fanless? > it suspends, resumes, most things work; > the clickpad and the wifi being notable exceptions. > Does this mean that despite dmesg recognition, the pms0 device somehow does not work at all (=need external mouse), or does this mean just fancy-schmancy gesturing support won't work (limiting the pad to working like a conventional trackpad)? Is the apparent absence of separate trackpad buttons (as per pics I googled) an issue? Can the pad's lower parts work like buttons, or is it only tap-to-click (which I seriously hate)? I see some models have a touchscreen. Does yours? Do all of them? (I'd rather do without that.) Is the glossy screen annoying? (I prefer matte.) Thanks again.
Re: Started having bioctl encryption problems recently - lost data. Error within FAQ?
Hello misc@, Phones suck. # dd if=/dev/random of=/dev/rsd0c bs=1m #__Zero out random garbage._### # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 # fdisk -iy sd0 # disklabel -E sd0 (create an "a" partition, see above for more info) # bioctl -c C -l sd0a softraid0 New passphrase: Re-type passphrase: softraid0: CRYPTO volume attached as sd1 # dd if=/dev/zero of=/dev/rsd1c bs=1m count=1 __Add a MBR__# # fdisk -iy sd1 # disklabel -E sd1 (create an "i" partition, see above for more info) # newfs sd1i # mkdir -p /mnt/secretstuff # mount /dev/sd1i /mnt/secretstuff # mv planstotakeovertheworld.txt /mnt/secretstuff/ # umount /mnt/secretstuff # bioctl -d sd1 Regards, Gerald Hanuer
Re: Started having bioctl encryption problems recently - lost data. Error within FAQ?
Hello misc@, On Tue, Jun 14, 2016 at 12:30 AM Theo Buehler However, I don't quite understand your double zeroing of the disk. > #__Zero out random garbage._### > # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 [...] > #__Zero out random garbage ( not the raw disk ).__# > # dd if=/dev/zero of=/dev/sd1c bs=1m count=1 The first one is an ok alternative to what's done in the FAQ, but I don't understand your comment on not using the raw disk for the second command. Using the raw device as it is written *is* correct, see also the example section in the bioctl(4) manual. You are correct, this is not needed, ( Over zealous "pasto" ) This reads better. # dd if=/dev/random of=/dev/rsd0c bs=1m #__Zero out random garbage._### # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 # fdisk -iy sd0 # disklabel -E sd0 (create an "a" partition, see above for more info) # bioctl -c C -l sd0a softraid0 New passphrase: Re-type passphrase: softraid0: CRYPTO volume attached as sd1 __Add a MBR__# # fdisk -iy sd1 # disklabel -E sd1 (create an "i" partition, see above for more info) # newfs sd1i # mkdir -p /mnt/secretstuff # mount /dev/sd1i /mnt/secretstuff # mv planstotakeovertheworld.txt /mnt/secretstuff/ # umount /mnt/secretstuff # bioctl -d sd1 Regards, Gerald Hanuer
Re: Started having bioctl encryption problems recently - lost data. Error within FAQ?
obsd [d...@protonmail.com] wrote: > 'Encrypting external disks' > http://www.openbsd.org/faq/faq14.html#softraidCrypto > > Followed the FAQ instructions EXACTLY to encrypt an external drive, then > copied data to it and after restarting the computer again.. I cannot access > the drive, infact it doesn't look like anything is even on it. This has > happened whilst following this tutorial on two different systems, using two > different hard disks.. Are the FAQ instructions wrong? Thanks > > $ fdisk wd1 > 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > # disklabel wd1 > 16 partitions: > # size offset fstype [fsize bsize cpg] > c: 234441648 0 unused My guess is that you didn't run fdisk, THEN disklabel, THEN bioctl. This stays true for any use of software, not just crypto. If you don't run fdisk prior to disklabel, a. The BIOS may not be able to boot from the device (if necessary) b. Your disklabel will be overwritten by the filesystem itself if it starts at block 0. c. You must start the first partition past block 0, block 64 is standard for various reasons. Chris
Re: Started having bioctl encryption problems recently - lost data. Error within FAQ?
Hello misc@, The added or modified lines have comments. # dd if=/dev/random of=/dev/rsd0c bs=1m #__Zero out random garbage._### # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 # fdisk -iy sd0 # disklabel -E sd0 (create an "a" partition, see above for more info) # bioctl -c C -l sd0a softraid0 New passphrase: Re-type passphrase: softraid0: CRYPTO volume attached as sd1 #__Zero out random garbage ( not the raw disk ).__# # dd if=/dev/zero of=/dev/sd1c bs=1m count=1 #__Add a MBR__# # fdisk -iy sd1 # disklabel -E sd1 (create an "i" partition, see above for more info) # newfs sd1i # mkdir -p /mnt/secretstuff # mount /dev/sd1i /mnt/secretstuff # mv planstotakeovertheworld.txt /mnt/secretstuff/ # umount /mnt/secretstuff # bioctl -d sd1 This has worked for me. Regards, Gerald Hanuer
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
the acer travelmate b115-m is an el cheapo netbook with no moving parts if you stick an ssd in it. the sound of silence is very relaxing. it suspends, resumes, most things work; the clickpad and the wifi being notable exceptions. but there is no wifi card blacklist (eat shit lenovo) so problem solved. it's not a monster obviously but high end machines do not come fanless anyway. the plastic is very cheap, but the design is stylish and it's much thinner than it looks on pictures. as a bonus i could buy it without windows and secureboot can be disabled. as good as it gets in notebook world for me... dmesg: http://marc.info/?l=openbsd-tech&m=146185180505045&w=2 -f -- equal bytes to women!
Started having bioctl encryption problems recently - lost data. Error within FAQ?
'Encrypting external disks' http://www.openbsd.org/faq/faq14.html#softraidCrypto Followed the FAQ instructions EXACTLY to encrypt an external drive, then copied data to it and after restarting the computer again.. I cannot access the drive, infact it doesn't look like anything is even on it. This has happened whilst following this tutorial on two different systems, using two different hard disks.. Are the FAQ instructions wrong? Thanks # Find the drive out $ dmesg | grep '^[sw]d' # Check the available partition on it $ fdisk wd1 Disk: wd1 geometry: 14593/255/63 [234441648 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused # disklabel wd1 # /dev/rwd1c: type: ESDI disk: ESDI/IDE disk label: KINGSTON SV300S3 duid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14593 total sectors: 234441648 boundstart: 0 boundend: 234441648 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 234441648 0 unused # #
Re: generate xorg.conf
On 2016-06-13, Rudolf Sykora wrote: > Hello, > > please, how do one generate an xorg.conf file on openBSD? > > I thought running > X -configure > (or X :1 -configure, if X is running) > would generate one, however, there seems to be no option -configure > present. So how, then? > > (I want to read xorg.conf and then modify some parts to try to use wacom > intuos3 > tablet [pressure sensitivity].) > > Thanks > Ruda > > You don't need to include any of the other parts, just include the parts you need for the wacom in the xorg.conf file.
Re: OpenBSD 5.9/amd64 (2-Jun-2016), httpd(40862): [syscall 5 "wpath"] error when attempting to start httpd with ssl
On Thu, Jun 09, 2016 at 01:19:50PM -0500, Troy Frericks wrote: > ... > > I've spent hours googeling, and found only one mention that this may be a > kernel bug. > I've checked theOpenBSD 5.9 patch list, the OpenBSD 5.9 -current changes > log. > By the way, instead of googeling a nice way to see what is going on is to run: ktrace httpd -d -v then run kdump -f ktrace.out after it aborts to see what exactly triggered the abort. Hope this helps, -- Kind regards, Hiltjo
Re: generate xorg.conf
Quoting Rudolf Sykora : > Hello, > > please, how do one generate an xorg.conf file on openBSD? > > I thought running > X -configure > (or X :1 -configure, if X is running) > would generate one, however, there seems to be no option -configure > present. So how, then? > > (I want to read xorg.conf and then modify some parts to try to use wacom > intuos3 > tablet [pressure sensitivity].) > > ThanksRuda I remember doing this long time ago when there were three monitors on my desk. On my desktop, I had to do the following steps to create this file: 1) Edit /etc/sysctl.conf and add the line machdep.allowaperture=1 2) Reboot 3) X -configure Once I did that, there was a file called xorg.conf.new in the root directory. There was also a log file /var/log/Xorg.1.log that may give you more details. Vijay -- Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited vsan...@foretell.ca
Re: generate xorg.conf
On 13 June 2016 at 12:31, Jan Stary wrote: > > > (I want to read xorg.conf and then modify some parts to try to use wacom > intuos3 > > tablet [pressure sensitivity].) > > You mean, you have installed OpenBSD on this tablet? > The intuos 3 is a graphics tablet human interface device, not a tablet computer.
Re: x clipboard that can copy images
not sur it can help but non-revelant copies (used as snapshot of file currently modifyed by other process) I generaly use a copy of last save state of the source file to a ram disk I open that copy in the destination software. so it works just as a clipboard (file is not saved on disks) > > From: Rudolf Sykora > Sent: Mon Jun 13 16:10:38 CEST 2016 > To: > Subject: x clipboard that can copy images > > > Hello, > > I need a program that would be able to "copy a .png file into > the clipboard", so that other programs (xournal, gimp, ...) > can paste the image. > > I used xsel and xclip before, but these only work with text. > I tried to compile newer xclip, which can "copy images", > so far without success. > Apart from new xclip, bigger programs like copyq have > the ability to cope with images, but that's too big for > the task, I think. > > Do you have any advice? What do you use? > > Thanks > Ruda > Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr
x clipboard that can copy images
Hello, I need a program that would be able to "copy a .png file into the clipboard", so that other programs (xournal, gimp, ...) can paste the image. I used xsel and xclip before, but these only work with text. I tried to compile newer xclip, which can "copy images", so far without success. Apart from new xclip, bigger programs like copyq have the ability to cope with images, but that's too big for the task, I think. Do you have any advice? What do you use? Thanks Ruda
Re: generate xorg.conf
Sent from my phone. Original Message From: Rudolf Sykora Sent: Monday, June 13, 2016 04:44 To: misc@openbsd.org Subject: generate xorg.conf Hello, please, how do one generate an xorg.conf file on openBSD? I thought running X -configure (or X :1 -configure, if X is running) would generate one, however, there seems to be no option -configure present. So how, then? (I want to read xorg.conf and then modify some parts to try to use wacom intuos3 tablet [pressure sensitivity].) Thanks Ruda
Re: Can't change screen brightness Acer Aspire ES1-411
Does this workaround work for you? http://marc.info/?l=openbsd-misc&m=146520183827302&w=2 http://marc.info/?l=openbsd-misc&m=146523968007324&w=2 If it does then it's related to this bug: http://marc.info/?l=openbsd-bugs&m=146451346724515 (I'm just an user, not a developer)
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
> :It is not a good idea to mix topics, stay focused and think before send. > : > :Attitude is formed based on intelligence of email postings. We all know > :highly educated people can disagree without negative feelings. Grow up. > : > :I encourage you to keep posting until you meet the quality expectations. > : > > Wrant: Your actions are offensive to the community in general, and > specifically to those you respond to. > > Stop replying to mails on this list. To this thread I agree not to reply any more unless provoked directly. There is at least one future reader I have not managed to offend yet..
Re: pledge(2) API ideas for libraries
pledge should be used to restrict a program to whatever it is necessary to do, rather than everything the library can do. So if I use libimaginarydb to parse a csv file I've already read into a memory buffer (nearly pledge("", NULL)), but the library can read/write/create files, do remote db connections, and fork shells, we don't want it to do all that (pledge("rpath wpath cpath dns inet exec proc", NULL)). > On Jun 13, 2016, at 12:56 PM, wrote: > > I have thought of a way pledge(2) can be made a little more > library-friendly. > > This is not a patch, but just a thought. > There are 2 setups I have thought of: > > === 1. Variable arguments === > > int pledge(const char *promises, const char *paths[]) > { >return vpledge(1, promises, paths); > } > > int vpledge(const size_t npledge, ...); > > - > > In a program, this may be something like this: > > #include > #include > #include > #include > #include > #include > > int main(void) { >if(vpledge(5, "stdio rpath wpath cpath", NULL, >ultra_promises, ultra_pledgepaths, >extra_promises, NULL, super_promises, NULL, >mecha_promises, mecha_pledgepaths) == -1) >errx("pledge"); > >... [other code] ... > }; > > > --- > > In vpledge(), "npledge" refers to the number of pledge-pairs, which > consist of: > >const char *promises, const char *paths[] > > These have the same semantics as the original pledge(). > > A library can export *_promises and *_pledgepaths symbols, pointing to > static text. This allows the library to change without the program > being affected because the new library changes call something outside > the original pledge() of a program. > > = 2. Using a struct == > > - > > struct pledge { >char *promises; >char *paths[]; > }; > > - > > int pledge(const char *promises, const char *paths[]) > { >struct pledge pl = { >.promises, paths >}; > >return pledges(1, &pl); > } > > int pledges(const size_t npledge, const struct pledge pledge_array[]); > > - > > In a program, this may be something like this: > > #include > #include > #include > #include > #include > #include > > int main(void) { >struct pledge pl[4]; > >pl[0].promises = "stdio rpath wpath cpath"; >ultra_getpledge(&pl[1]); >extra_getpledge(&pl[2]); >super_getpledge(&pl[3]); >mecha_getpledge(&pl[4]); > >if(pledges(5, pl) == -1) >errx("pledge"); > >... [other code] ... > > > }; > > > --- > > > A library can tell the application what pledges are in use as follows: > > > static const char *pledge_promises = "stdio fattr sendfd recvfd" > > void ultra_getpledge(struct pledge *const pl) > { >pl->promises = pledge_promises; >pl->paths = NULL; > } > > > == > > I think that #1 has the advantage of it being easier to code so a > program can ratchet down its abilities. #2 allows one to group the > pledge arguments into a single struct. > > Thoughts?
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
On 2016 Jun 13 (Mon) at 05:25:17 +0300 (+0300), li...@wrant.com wrote: :It is not a good idea to mix topics, stay focused and think before send. : :Attitude is formed based on intelligence of email postings. We all know :highly educated people can disagree without negative feelings. Grow up. : :I encourage you to keep posting until you meet the quality expectations. : Wrant: Your actions are offensive to the community in general, and specifically to those you respond to. Stop replying to mails on this list.
Re: generate xorg.conf
On Jun 13 10:33:24, rudolf.syk...@gmail.com wrote: > please, how do one generate an xorg.conf file on openBSD? If you need xorg.conf at all, it might be best to read xorg.conf(5) and write your own by hand. > (I want to read xorg.conf and then modify some parts to try to use wacom > intuos3 > tablet [pressure sensitivity].) You mean, you have installed OpenBSD on this tablet? Jan
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
I'll see what I can get for you, ropers. In the mean while, I can say that most of the devices on my CF-30 and CF-31 function well, as indicated by the dmesg. Then again, they only have basic options on those laptops. On Mon, 13 Jun 2016 09:25:29 +0200 ropers wrote: > > Also, while dmesg requests aren't a bad idea (bytevolcano? pretty plz? > joekiser? when available?), ...
Re: OpenBSD on SBC?
> > From: Roderick > Sent: Mon Jun 13 10:15:41 CEST 2016 > To: > Subject: Re: OpenBSD on SBC? > > > On Sun, 12 Jun 2016, Dan Lüdtke wrote: > > > is there an OpenBSD-compatible SBC (Singe Board Computer) that comes close to > > raspberryPi size-wise? > > The interesting question is: OpenBSD on modern SoC (System on a Chip). > > OpenBSD seems to work fine on Geode LX800 (I run it on Siemens Futro > A220 thin client). > > But now we have whole computers on a stick (Intel, Lenovo). > > I think, the future is for "consumers" the tablet computer, for > business powerfull servers and thin clients. > > OpenBSD seems to be more an operating system for servers than for > embedded systems ... > > Rodrigo. > Hello, Of course it is better featured for servers and stations, but it should work fine on some SBC or some other small or specific hardwares like beaglbones etc... Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
> On 13 June 2016 at 05:29, wrote: > > ignore this entire mediocre thread, search the archive instead. Mon, 13 Jun 2016 09:25:29 +0200 ropers > I did. This is a lie. You created the thread on purpose with wrong definitions. This is towards future readers, based on the fact that the value is zero. > The real reason why you responded to me as you did was because I had > thanked a person you had insulted earlier. The low rating of the thread is because you did not review the archives, did not do your home work before posting & the after work was marketing. You thanked people for helping you fulfil your job of spamming the list.
Re: OpenBSD on SBC?
On Sun, 12 Jun 2016, Dan Lüdtke wrote: > is there an OpenBSD-compatible SBC (Singe Board Computer) that comes close to > raspberryPi size-wise? The interesting question is: OpenBSD on modern SoC (System on a Chip). OpenBSD seems to work fine on Geode LX800 (I run it on Siemens Futro A220 thin client). But now we have whole computers on a stick (Intel, Lenovo). I think, the future is for "consumers" the tablet computer, for business powerfull servers and thin clients. OpenBSD seems to be more an operating system for servers than for embedded systems ... Rodrigo.
generate xorg.conf
Hello, please, how do one generate an xorg.conf file on openBSD? I thought running X -configure (or X :1 -configure, if X is running) would generate one, however, there seems to be no option -configure present. So how, then? (I want to read xorg.conf and then modify some parts to try to use wacom intuos3 tablet [pressure sensitivity].) Thanks Ruda
Virtual Day: Adapte, Transforme e Lidere a Revolução Digital
 Para garantir que você continue a receber informações relacionadas à SAP, adicione o endereço [s...@mailsap.com](mailto:s...@mailsap.com ) em seu livro de endereços (address book) ou lista de remetentes autorizados. Se você está com problemas para visualizar este e-mail, por favor [clique aqui](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=1401530582b636748503073e60763380&urlid=560887 ) para ver em seu browser. [Contate a SAP](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=2941530582d797948503073f60904390&urlid=562208 ) Ou ligue 0800 888 9988 Virtual Day: Sobreviva à Transformação Digital No atual cenário, se adaptar é essencial para sobreviver [Inscreva-se agora!](# )  Prezada Micaela Almeida, Esse é um momento que pode ser épico para modelar uma visão inovadora. Isso não será fácil, mas será muito mais brilhante que simplesmente ficar na sombra de concorrentes vanguardistas. Pensando nisso, preparamos o Virtual Day "Sobreviva à Revolução Digital" no dia 15 de junho, com destaques: Ricardo Amorim conversando como a tecnologia e a revolução digital poderão impactar a economia. Destaques do SAP Forum e do SAP Roadshow com casos de sucesso, especialistas SAP e convidados especiais. Consideramos que esse evento é ideal para você, conforme agenda abaixo: 10h00 â 10h10: Cristina Palmaka, Presidente SAP Brasil 10h20 â 10h50: Executivo de mercado CEC 11h00 â 11h30: Executivo de mercado Finance 11h40 â 12:10: Executivo de Mercado RH 14h00 â 14:30: Life Business CEITEC 14h40 â 15h10: Life Business Stara 15:20 â 16:50: Keynote â Digital Transformation Atenciosamente, SAP Brasil Informações: Inscreva-se agora [((link)) ](# )para nosso Virtual Day e saiba como estar preparado para o futuro. Data: 15 de junho Stay Connected (http://sap.mailsap.com/bf/EmailCampaign.php?lf1=3401530582f698348503073e60905072&urlid=562215 ) (http://sap.mailsap.com/bf/EmailCampaign.php?lf1=7681530582c636048503073b60905159&urlid=562216 ) (http://sap.mailsap.com/bf/EmailCampaign.php?lf1=4961530582a249948503073a60905272&urlid=562217 ) (http://sap.mailsap.com/bf/EmailCampaign.php?lf1=9771530582e489648503073f60905361&urlid=562218 )Este e-mail promocional fornece informações sobre produtos e serviços da SAP que possam ser de seu interesse. Para não receber e-mails da SAP, clique no link [Cancelar recebimento](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=2631530582c579748503073f60905488&urlid=562219 ). [Cancelar recebimento](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=2631530582c579748503073f60905488&urlid=562219 )  |  [Continuar recebendo](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=3071530582b240948503073c60905599&urlid=562220 )  |  [Contate a SAP](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=2941530582d797948503073f60904390&urlid=562208 )  |  [Direitos autorais/ marcas registradas](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=1461530582a829448503073f60905646&urlid=562221 )  |  [Privacidade](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=6111530582d711348503073f60905757&urlid=56 )  |  [Divulgação legal](http://sap.mailsap.com/bf/EmailCampaign.php?lf1=5781530582d462348503073f60905875&urlid=562223 ) SAP Brasil - Av. das Nações Unidas, 14.171 - Marble Tower - São Paulo - SP This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
Re: Random delay on incoming SMTP connection to OpenSMTPD
Am 06/11/16 um 10:47 schrieb ML mail: > This VM has 2 GB of RAM and 2 vCPUs and does only serve as a mail gateway, > nothing else really. Does SpamAssassin really need so much resources? Of course, it perl ;). You could use something like amavis, which does additionally queueing and invoking spamassassin or use something less resources consuming and fast like rspamd, which does the job in C. A port for rspamd is there, but not for rmilter.