Re: apmd: howto resume with screen locked

2018-11-25 Thread Edgar Pettijohn III
On 11/25/18 7:16 PM, shadrock uhuru wrote: Hi everyone i have in my /etc/rc.conf.local apmd "-A -Z8 -t120" my laptop doesn't hibernate when the power falls below 8% is there more that i need to configure ? shadrock try: rcctl set apmd status on rcctl set apmd flags -A -Z 8 -t 120 rcc

Re: X won't start with latest snapshot as user (Solution provided)

2018-11-11 Thread Edgar Pettijohn III
On 11/11/18 12:59 AM, Marc Espie wrote: On Sat, Nov 10, 2018 at 10:42:57PM -0600, Andrew wrote: Personally I use spectrwm, so I can't speak for other the wm's. In my case, all I had to do was: $> cp .xinitrc .xsession $> chmod +x .xsession ... and it "just worked" as expected :-) You were l

Re: Graphical debugger for C/C++ ?

2018-10-21 Thread Edgar Pettijohn III
On 10/11/18 10:40 AM, Kevin Chadwick wrote: On Thu, 11 Oct 2018 12:32:06 +0200 The gdb from packages is then called egdb. Make sure cgdb is using egdb, if you use cgdb too. I wanted to give cgdb a shot. How do I make sure its using egdb? Documentation is required for gdb unlike eclipse a

Re: Best USB WIFI Dongle

2018-09-22 Thread Edgar Pettijohn III
On 09/22/18 12:28, Ken M wrote: Can anyone make a recommendation for the best usb wifi dongle to use with OpenBSD. Criteria (in order) 1. good range 2. good speed 3. low profile/small size I realize priority 3 is typically going to compromise the first 2 priorities, so I guess I am looking

wifi manager

2018-09-22 Thread Edgar Pettijohn III
I've just uploaded what I feel to be a completed gui wifi manager to complement the base tools. https://sourceforge.net/projects/openbsd-wifi-manager/ Thanks, Edgar

Re: wifi gui manager

2018-09-01 Thread Edgar Pettijohn III
Please check out the new version. https://sourceforge.net/projects/openbsd-wifi-manager/ Includes a README and Makefile. I believe it should connect to a WEP network, but I don't have access to one to test with. Thanks, Edgar

wifi gui manager

2018-08-19 Thread Edgar Pettijohn III
I've written a simple gui wifi manager. It can be found at: https://sourceforge.net/projects/openbsd-wifi-manager/ It is very much in an alpha testing phase. I need to clean it up and make it a little more appealing to the eye. In my limited testing it works well. If you experience issues plea

Re: "no route to host" from pkg_add

2018-08-07 Thread Edgar Pettijohn III
On 08/07/18 13:18, traveller wrote: After OpenBSD, one too many “/“ I concur. cat /etc/installurl https://fastly.cdn.openbsd.org/pub/OpenBSD You probably did the ole copy/paste from somewhere and got a trailing '/'. On Aug 7, 2018, 11:16 AM -0700, Benjamin Walkenhorst , wrote: Hello ev

perlish question

2018-08-07 Thread Edgar Pettijohn III
I am attempting to create and verify password hashes from within perl. The easiest way I saw was to use Inline::C like this: #!/usr/bin/env perl use Inline C; my $pass = 'password'; my $hash = qx(encrypt password); chomp $hash; #get rid of pesky newline $hash =~ s/(\$)/\\$1/gx; #replace $ wit

xconsole keeps dieing

2018-07-17 Thread Edgar Pettijohn III
For some reason xconsole has decided to start seg faulting regularly. I can't remember how to build X with debugging symbols. Could anyone give me a quick rundown so I can provide more information. Thanks, Edgar OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 r...@syspatch-63-amd6

Re: disable fvwm screensaver?

2018-07-12 Thread Edgar Pettijohn III
On 07/12/18 20:19, Jordan Geoghegan wrote: Hello, Sorry for the noob question. I am having trouble disabling the screen saver / screen timeout for fvwm. I am using an OpenBSD machine as a video terminal for my CCTV system and need the screen to be on 24/7 so employees can see the camera pl

Re: cgi issues

2018-07-08 Thread Edgar Pettijohn III
On 07/08/18 08:41, Florian Obser wrote: On Sun, Jul 08, 2018 at 08:30:29AM -0500, Edgar Pettijohn III wrote: On 07/08/18 08:09, Florian Obser wrote: On Sun, Jul 08, 2018 at 07:53:41AM -0500, Edgar Pettijohn III wrote: I am playing around with cgi written in c. I am getting what seems like

Re: cgi issues

2018-07-08 Thread Edgar Pettijohn III
On 07/08/18 08:09, Florian Obser wrote: On Sun, Jul 08, 2018 at 07:53:41AM -0500, Edgar Pettijohn III wrote: I am playing around with cgi written in c. I am getting what seems like a weird error though. I'm starting off with a very basic program: #include int main(void) {     fp

cgi issues

2018-07-08 Thread Edgar Pettijohn III
I am playing around with cgi written in c. I am getting what seems like a weird error though. I'm starting off with a very basic program: #include int main(void) {     fprintf(stdout,    "\n"    "\n"    "test\n"    "\n"    "\n"   

Re: RDONLY but for the good ( pledged ) guys

2018-06-26 Thread Edgar Pettijohn III
On 06/26/18 13:50, Raul Miller wrote: Personally, I can't totally figure out what this policy would be. My current best approximation is: there's a period of time when pkg_add and syspatch are running and that is a time when writes are allowed, other than that, not. I could maybe rig up some

Re: OpenBSD logo on my private hompage. It is allowed?

2018-06-07 Thread Edgar Pettijohn III
On 06/07/18 18:51, justina colmena wrote: On June 7, 2018 3:27:30 PM AKDT, Johannes Krottmayer wrote: Hallo, Thanks! I have read over that. Best regards, Johannes Krottmayer On Thu, Jun 07, 2018 At 18:23:31 -0500, Constantine A. Murenin wrote: On 7 June 2018 at 17:36, Johannes Krottmayer

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
Patruck wrote: For me it works with %{user.username} as mail.lmtp(8) user. See "FORMAT SPECIFIERS" in smtpd.conf(5) for details. Shows how well I read the man page With this it works, thank you! On Sun, May 27, 2018 at 09:04:56AM +0200, viq wrote: > On 18-05-26 19:18:56, Edga

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
On 05/28/18 03:50, Gilles Chehade wrote: On Sun, May 27, 2018 at 08:05:05AM -0500, ed...@pettijohn-web.com wrote: On May 27, 2018 2:10 AM, viq wrote: On 18-05-26 20:30:32, Amelia A Lewis wrote: On Sun, 27 May 2018 00:43:02 +0200, viq wrote: Sorry, I've read the announcements, looked at man

[patch] Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
On 05/26/18 19:18, Edgar Pettijohn III wrote: Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: ta

Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: table vusers ldap:/etc/mail/ldap.conf table vdomains ldap:/etc/mail/ldap.con

Re: spamd pf rules

2015-06-11 Thread Edgar Pettijohn III
On Jun 11, 2015, at 6:42 AM, Stuart Henderson wrote: > On 2015-06-11, Jason Tubnor wrote: >> As Okan stated, your 5.6 man page is still correct for 5.7. It is >> only of issue when you move to 5.8-Release in November. > > correct. > >> On 11 June 2015 at 11:51,

Re: spamd pf rules

2015-06-10 Thread Edgar Pettijohn III
On Jun 10, 2015, at 3:59 PM, Okan Demirmen wrote: > On Wed 2015.06.10 at 15:43 -0500, Edgar Pettijohn III wrote: >> I've been using spamd for a while now. I was looking through my pf.conf and >> noticed that I had the following rules in regards to spamd. >> >>

spamd pf rules

2015-06-10 Thread Edgar Pettijohn III
I've been using spamd for a while now. I was looking through my pf.conf and noticed that I had the following rules in regards to spamd. table persist table persist file "/etc/mail/nospamd" pass in log on egress proto tcp from any to any port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress

Re: Unable to start dhcp server at boot on 5.7 stable

2015-05-28 Thread Edgar Pettijohn III
On May 28, 2015, at 2:06 AM, Ivo Chutkin wrote: > Hello guys, > I am lost with this simple task. > DHCP server does not start at boot. > If I started by #/etc/rc.d/dhcpd start, it starts and works properly. > If I check it with #/etc/rc.d/dhcpd check, i get dhcpd(failed) > I cannot see any errors

Re: simple maiserver fail (postfix dovecot)

2015-05-24 Thread Edgar Pettijohn III
On May 24, 2015, at 9:36 PM, Tuyosi Takesima wrote: > it is very sorry that in the previou setting , > from outside(namely not intra-net) sylpheed can recieve mail but can not > send mail to u...@a.mydns.jp . > > and more > gmail can not send mail to u...@a.mydns.jp . > > perhaps dovecot settig

Re: simple maiserver fail (postfix dovecot)

2015-05-24 Thread Edgar Pettijohn III
On May 24, 2015, at 1:29 AM, Tuyosi Takesima wrote: > Hello. Thomas. > thanks your kind advice , so i make some progress , but fail. > > i focus dovecot . > > 1)now i do > Edit /etc/ssl/dovecot-openssl.cnf (Edit this accordingly!) > /usr/local/sbin/dovecot-mkcert.sh > > > 2) > telnet a.mydns.j

Re: soekris install error

2015-05-15 Thread Edgar Pettijohn III
On May 15, 2015, at 6:51 AM, Nick Holland wrote: > On 05/15/15 07:33, Edgar Pettijohn III wrote: >> I am trying to install OpenBSD on a Soekris 4801. I am getting the >> following error when I try to partition the disk prior to installing the >> sets. I tried 5.7 and 5.6, so

Re: HP LaserJet 1100 lpr printing?

2015-05-15 Thread Edgar Pettijohn III
On May 15, 2015, at 6:45 AM, Craig Skinner wrote: > Hi folks, > > Any pointers on printing with an HP LaserJet 1100? > > This one is connected via a USB convertor to a 5.6 release box: > > $ dmesg | fgrep lp > ulpt0 at uhub0 port 2 configuration 1 interface 0 "Pr?lific Technology Inc. > IEEE-1

soekris install error

2015-05-15 Thread Edgar Pettijohn III
I am trying to install OpenBSD on a Soekris 4801. I am getting the following error when I try to partition the disk prior to installing the sets. I tried 5.7 and 5.6, so I'm guessing this may be a hardware issues. Hopefully someone out there can provide some insight. Thanks in advance, Edga

Re: specify custom 404s with httpd in 5.7

2015-05-01 Thread Edgar Pettijohn III
On May 1, 2015, at 6:09 PM, Daniel Melameth wrote: > On Fri, May 1, 2015 at 3:09 PM, Kevin wrote: >> How does one go about specifying a custom 404 page w/the new httpd? >> >> This seems like the correct directive: >> >>error_page 404 /some/path/404.html >> >> Yet it am no workie for me

Re: OpenBSD hosting in Hong Kong?

2015-04-18 Thread Edgar Pettijohn III
On Apr 18, 2015, at 6:39 PM, Rick Hanson wrote: > FWIW I have had an OpenBSD VPS with these dudes for about 6 months now. > > https://www.vultr.com/ > > No downtime, no problems yet. (Yeah, I know, it's not a lot of time.) As > Paul said, they're not OpenBSD centric, but they allow you to inst

Re: system freezes after routing traffic via openvpn

2015-04-14 Thread Edgar Pettijohn III
On Apr 14, 2015, at 5:08 PM, Dimitris Papastamos wrote: > On Tue, Apr 14, 2015 at 07:48:55PM +0100, Pedro Caetano wrote: >> Hi, >> >> After establishing a openvpn tunnel, the system frezzes completely when >> traffic is pushed trough the tunnel. >> Impossible to change x console or interact with

how to capture ddb output

2015-04-13 Thread Edgar Pettijohn III
I keep getting kernel panics when I start transmission-daemon on the latest snapshot. Is there an easy way to capture the data from 'trace' and 'ps' other than good ole pencil and paper? Thanks in advance.

Re: ssh help with X11Forwarding

2015-04-13 Thread Edgar Pettijohn III
On Apr 13, 2015, at 9:05 AM, Riccardo Mottola wrote: > Hi, > > Hrishikesh Murukkathampoondi wrote: >> I have restarted sshd (pkill -HUP sshd) and when I start ssh from the client using ssh -X I get DISPLAY is not set when trying to launch an xterm. > setenv DISPLAY localhost:10 or export DISPLAY=

Re: httpd tls - what am i missing?

2015-03-26 Thread Edgar Pettijohn III
Is the certificate and key PEM encoded?

Re: Can't trunk wireless adapter on ThinkPad x240

2015-03-21 Thread Edgar Pettijohn III
On Mar 21, 2015, at 5:19 PM, Aram Hăvărneanu wrote: > I have a ThinkPad x240 (Intel 7620 wireless) running -current (to get > the new iwm(4) driver). Wireless works fine, but when I try to use a > trunk(4) device, in the way it's described in the faq[1], it doesn't > work. > > When I boot without

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-22 Thread Edgar Pettijohn III
Have you tried installing something other than OpenBSD since you ran into this issue?

Re: free ipv6 KVM-based - cloudspin.me [was - Re: DigitalOcean's BSD debut is FreeBSD only]

2014-12-22 Thread Edgar Pettijohn III
On Dec 22, 2014, at 9:43 AM, Florian Obser wrote: > On Sun, Dec 21, 2014 at 06:08:04PM -0500, Jiri B wrote: >> On Sun, Dec 21, 2014 at 01:54:50AM +, Some Developer wrote: >>> Vultr already support OpenBSD on their servers (you upload the >>> OpenBSD install ISO and install it yourself) and the

Re: hplip cups

2014-11-15 Thread Edgar Pettijohn III
Finally got cups working. I upgraded to current and reinstalled the packages. Noticed I forgot to disable ulpt so that may have been the issue. After rebooting in the new kernel everything is working and printing like a champ. Cheers, edgar

Re: xombrero crashes with "ReferenceError: Can't find variable: iom"

2014-11-15 Thread Edgar Pettijohn III
On Nov 15, 2014, at 1:32 PM, Stefan Wollny wrote: > Hi there! > > I use xombrero with Fluxbox. OpenBSD is > OpenBSD 5.6-current (GENERIC.MP) #562: Fri Nov 14 18:33:27 MST 2014 >dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > (Full dmesg at the end) > > Shortly after st

Re: Postfix SASL auth problem in OpenBSD 5.6

2014-11-15 Thread Edgar Pettijohn III
On Nov 15, 2014, at 9:00 AM, giacomo wrote: > Hi at all, > > Recently I have upgrade my system from OpenBSD 5.4 to 5.5 and 5.6. > In old system I installed the port of Postfix with SASL and MySQL support. > In the 5.4 the program work fine. After the two aupgrade with the same > configuration I

Re: hplip cups

2014-11-12 Thread Edgar Pettijohn III
> Yes please. Send me the complete log file with debug. > Oh and please use ports@ next time for ports issues. Thanks. > > -- > Antoine > It may be a week or so before I get back to it. Had to get it running so I hooked up the printer to a spare Mac. When I do I will post the result to por

hplip cups

2014-11-11 Thread Edgar Pettijohn III
I'm trying to set up a print server using Openbsd 5.6 and hplip-cups. This is what the logs are showing me: D [11/Nov/2014:16:32:53 -0600] [Job 13] HP_Photosmart_C4200_series: can't load library 'libfontconfig.so.9.1' D [11/Nov/2014:16:32:53 -0600] [Job 13] HP_Photosmart_C4200_series:/usr/lib/