Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
! :) Anyway, i tried that command and i think it got rid of some of the errors. There are still a few but im pretty sure it is fewer than it was. Thanks! > On Aug 22, 2019, at 11:50, Stuart Henderson wrote: > > On 2019-08-21, Jordon wrote: >> A few years ago I attempted to make a por

Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
n problems with permissions with pkg_check as my user can not read > all the directories that pkg_check are trying to read. > > /Isak > >> ---- >> From: Jordon >> Sent: Thu Aug 22 14:40:28 CEST 2019 >> To: Isak Holmström >

Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
>> On Aug 22, 2019, at 00:27, Isak Holmström wrote: > Have you tried pkg_check to see failing messages for missing files? > >> On August 21, 2019 11:03:06 PM UTC, Jordon wrote: >> A few years ago I attempted to make a port of obs-studio for openbsd. >> With help fro

Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
ic.so.3.0 should exist lib/libatomic.so.3.0 is not a file can't read lib/libatomic.so.3.0 lib/libestdc++.so.19.0 should exist lib/libestdc++.so.19.0 is not a file can't read lib/libestdc++.so.19.0 Are those problematic? How do I fix them or should I just ignore them? Thanks again! Jordo

pkg_add -u fails on nonexistant package

2019-08-21 Thread Jordon
e and I am finally annoyed enough to try to fix it! Jordon

Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Jordon
On 07/25/2018 01:01 PM, vincent delft wrote: Hello, I've migrated to -current to test the auto-join, but since then, my system is slow. Specially with libreoffice, firefox, ... By looking at top, I've saw that only 2 CPU are actually running. (Should I say that with OpenBSD-6.3 this was not th

Re: Serial port pci cards.

2018-04-08 Thread Jordon
Here’s a good start https://man.openbsd.org/puc > On Apr 8, 2018, at 11:19, Michael Price wrote: > > I am unwise in the ways of serial port pci cards. Should I be avoiding any > particular brands? Any pointers to more information would be appreciated. > > Michael

Re: popen from cgi program

2018-01-22 Thread Jordon
> > I think i tracked it down. I have the ‘what’, just not the ‘why’. My > program that i am calling in the popen() call looks for a local config file. > It builds the path to it with a call to std::getenv(“HOME”). This getenv() > call is what is causing the segfault. Why would this be a

Re: popen from cgi program

2018-01-22 Thread Jordon
> Heh. I was poking around with ktrace last night, though you have a much more > elegant way of using it. > I have run my program in the chroot from the command line like you suggest - > it works fine there. > In the cgi program, it blows up after a bunch of mprotect and kbind calls. I > do se

Re: popen from cgi program

2018-01-22 Thread Jordon
> Tips: > > - run it from the command line (chroot /var/www /cgi-bin/whatever), watch > for error messages in the output > > - run it under ktrace (if this was running from slowcgi, something like > "ktrace -i -p `pgrep slowcgi`", then try to call it, then ktrace -C), > you may find some clue

Re: popen from cgi program

2018-01-21 Thread Jordon
> Bingo! I copied all the necessary libs to corresponding usr/lib dirs and got > the chrooted programs to run from a chroot command, but they would still not > work from the cgi program. You pointing out that popen requires sh got me > thinking. Sh was already in /var/www/bin but it had 000

Re: popen from cgi program

2018-01-21 Thread Jordon
> popen() requires a shell. You are most likely running it in a chroot and > don't have /bin/sh. Bingo! I copied all the necessary libs to corresponding usr/lib dirs and got the chrooted programs to run from a chroot command, but they would still not work from the cgi program. You pointing ou

popen from cgi program

2018-01-19 Thread Jordon
I am still learning cgi/web stuff and stumbled upon an issue.  I am trying to popen() a program to catch what it dumps to stdout.  To start simply, I am just trying to run uname.  I get nothing.  No errors on popen() or pclose(), but nothing printed.  I run the same code from a regular cpp prog

Re: Cgi shell script in httpd

2018-01-01 Thread Jordon
name ends in *.cgi or something > like that. This is the real answer. If scripts a cgi programs is bad practice, I won’t do it. Again, I am very new to this area of programming and I am as interested in the “should I” as much as the “can I”. Thanks! Jordon

Cgi shell script in httpd

2017-12-31 Thread Jordon
Over the last few days I have been learning the BCHS approach at web design. I am not a web designer (i had to learn CSS as part of this!) but have enjoyed this little adventure. My goal was to make an web interface to view data that i provide in a c++ library and so far i have been pretty suc

Re: Dumb question about updating snapshots

2017-08-26 Thread Jordon
> On Aug 26, 2017, at 4:14 AM, Stuart Henderson wrote: > > On 2017-08-26, Bryan Linton wrote: >> On 2017-08-25 13:09:14, Jordon wrote: >>> I’ve been running snapshots on my machine for a while now. About once or >>> twice a week I will interrupt the boot

Dumb question about updating snapshots

2017-08-25 Thread Jordon
solution is to boot from a flash drive or PXE from the latest 6.2 media? Thanks. Jordon

no network in bsd.rd when wifi card is present

2017-04-21 Thread Jordon
inconvenient. Is there a workaround for this? Jordon

Re: OpenBSD as a non-routing access point

2017-04-12 Thread Jordon
> On Apr 12, 2017, at 3:27 AM, Stuart Henderson wrote: > > On 2017-04-12, Jordon wrote: >>> rcctl enable dhcrelay >>> rcctl set dhcrelay flags -i athn0 192.168.1.1 "assuming that is your routers >> address" >>> rcctl start dhcrelay >>

Re: OpenBSD as a non-routing access point

2017-04-12 Thread Jordon
about turning on relayctld is what made this work for me. I am guessing that OpenBSD does not forward broadcasts over a bridged connection. If there is better terminology for what I am trying to do, I am more than interested in learning it! :) Jordon

Re: OpenBSD as a non-routing access point

2017-04-12 Thread Jordon
> On Apr 12, 2017, at 1:54 AM, Stefan Sperling wrote: > > On Tue, Apr 11, 2017 at 08:04:45PM -0500, Jordon wrote: >> /ets/hostname.athn0 >> media autoselect mode 11n media opt host ap chan 1 > > Is there actual whitespace between 'media' and 'opt

Re: OpenBSD as a non-routing access point

2017-04-11 Thread Jordon
> I'm not certain but I suspect you're athn address is outside your routers > subnet. > No, they’re both on 192.168.77.x

Re: OpenBSD as a non-routing access point

2017-04-11 Thread Jordon
esnt the bridge just forward everything? Or are DHCP requests broadcasts that dont get forwarded? Jordon

Re: OpenBSD as a non-routing access point

2017-04-11 Thread Jordon
, where the actual router/DHCP server will see it and respond? Jordon

Re: OpenBSD as a non-routing access point

2017-04-11 Thread Jordon
ain. However, if I try to connect a wireless device, I think it connects, but it doesnt pull an IP address. Seems to me that with ip.forwarding enabled and the bridge in place, DHCP requests should be forwarded through. Am I missing something? Jordon

Re: OpenBSD as a non-routing access point

2017-04-08 Thread Jordon
> Or ar9280 may be better. Pcie devices are usually more capable too. > Exactly what I ordered! And an antenna/pigtail kit. Total price under $30. My openbsd machine (a broadwell Shuttle system) has the mini pcie slot for it, so no pice adapter card needed.

Re: OpenBSD as a non-routing access point

2017-04-08 Thread Jordon
> On Apr 8, 2017, at 3:38 AM, Stefan Sperling wrote: > > On Fri, Apr 07, 2017 at 05:06:22PM -0500, Jordon wrote: >> My new wifi adapter finally arrived today (AR9271) so I want to give hostap a >> try with its new 802.11n support. > >> Am I on the right track? >

OpenBSD as a non-routing access point

2017-04-07 Thread Jordon
? Perhaps the configs for a simple AP-only setup would be a good example for the faq. Thanks Jordon

Re: Is there something to replace zaurus?

2017-03-29 Thread Jordon
> On Mar 29, 2017, at 4:51 AM, Luke Small wrote: > > I thought I read that there is an arm7 based mobile device, but I can't > find anything about it. > I’m really hoping the Dragonbox Pyra could become a mobile OpenBSD device like the zaurus was. It is almost ready for manufacturing. Jordon

Re: Encryption

2017-03-24 Thread Jordon
believe), FDE was indeed tricky. > > Nowadays it's fairly easy but the installer script still does not support > setting up disks with FDE so manual steps as shown in the FAQ are needed > to set it up. > FWIW, I just did this for the first time in the last week or two. Following the instructions in the FAQ was easy. It works great. Jordon

Question on audio and video handling

2017-02-21 Thread Jordon
bpostproc53. 3.100 / 53. 3.100 [video4linux2,v4l2 @ 0xd8f50064800] ioctl(VIDIOC_STREAMON): Invalid argument /dev/video0: Invalid argument I’m guessing this means that the camera isn’t quite supported. Thoughts? Jordon

clang support

2017-02-17 Thread Jordon
chang running’ question. It is just a ‘what is the current state of base clang support’ question. Jordon

Re: apmd

2017-01-24 Thread Jordon
> On Jan 24, 2017, at 12:54 PM, Stefan Sperling wrote: > > On Tue, Jan 24, 2017 at 11:52:56AM -0600, Jordon wrote: >>> OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016 >>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP >>>

Re: apmd

2017-01-24 Thread Jordon
pported. I’m seeing similar issues in my Skylake laptop - sleeps find but video subsystem doesn’t wake properly. I know myself and several others are ready to make a nice donation when Skylake support drops. Until then… Jordon

Re: pledging a portable program

2017-01-20 Thread Jordon
> OpenSSH Portable checks for the presence of pledge in configure > (https://anongit.mindrot.org/openssh.git/tree/configure.ac#n1715) and > if not found defines a no-op pledge function > (https://anongit.mindrot.org/openssh.git/tree/openbsd-compat/bsd-misc.c#n282) I finally took some time to look

Re: pledging a portable program

2017-01-16 Thread Jordon
> On Jan 16, 2017, at 4:31 PM, Darren Tucker wrote: > > On Tue, Jan 17, 2017 at 6:05 AM, Jordon wrote: >> What is the “official" way to pledge(2) a portable program? > > OpenSSH Portable checks for the presence of pledge in configure > (https://anongit.mindrot.org/

pledging a portable program

2017-01-16 Thread Jordon
What is the “official" way to pledge(2) a portable program? Put #ifdef __OpenBSD__ around the pledge call? Make an #ifndef __OpenBSD__ block that defined the function to always return 0? Something better?

Re: Funding for Skylake support

2017-01-07 Thread Jordon
full Skylake support could turn it into my ‘main system’. When Skylake support hits the tree, count me in for a donation as well. Jordon

Re: Hardware recommendations for compact 1U firewall

2016-12-15 Thread Jordon
testing these boards, I ran OpenBSD on them without any issues. Those last families of Atoms are a bit underrated in my book. Jordon > On Dec 15, 2016, at 1:45 PM, Bryan Vyhmeister wrote: > > On Thu, Dec 15, 2016 at 07:51:40PM +0100, Hrvoje Popovski wrote: >> On 15.12.2016

Re: Laptop Recommendations?

2016-11-12 Thread Jordon
> On Nov 12, 2016, at 5:36 AM, Stefan Sperling wrote: > > On Fri, Nov 11, 2016 at 08:03:04PM -0600, jordon wrote: >> WiFi Just Works! > >> iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 8260" rev 0x3a, >> msi > > Uhmm, you probably wanna

Re: Laptop Recommendations?

2016-11-11 Thread jordon
> On Nov 9, 2016, at 11:47 PM, Nathan Koch wrote: > > Greetings Fair BSD Wizards, > I am new to the lists. I am currently shopping for a new Xmas present for myself and am looking for a laptop that's portable and lightweight. Preferably fast, cheap (close to free), light, and secure. If you have

Installing RackTables

2016-01-04 Thread Jordon
a lot of info on apache and nginx, but not much on the new httpd. Am I on the right track? Is there some obvious documentation I am missing or is there a lot of assumed knowledge that I simply do not have? Jordon

Re: Progress on adding support for Perle Speed8 LE

2015-12-26 Thread Jordon
> On Dec 26, 2015, at 4:15 PM, Mark Kettenis wrote: > > Hi Jordon, > > Please send future diffs to tech@; misc@ is for trolls ;) Will do. >> I'm still not sure why the first four ports give the probe message >> and the second four don't. If this is adequ

Re: Progress on adding support for Perle Speed8 LE

2015-12-26 Thread Jordon
com11 at puc1 port 3 apic 2 int 18: st16650, 32 byte fifo I’m still not sure why the first four ports give the probe message and the second four don’t. If this is adequate testing, feel free to add this. If more testing is preferred, let me know what to do. Thanks! Jordon

Re: Progress on adding support for Perle Speed8 LE

2015-12-22 Thread Jordon
int 18: st16650, 32 byte fifo com10 at puc1 port 2 apic 2 int 18: st16650, 32 byte fifo com11 at puc1 port 3 apic 2 int 18: st16650, 32 byte fifo I will explore this more over Christmas break. Thanks, Jordon

Re: Progress on adding support for Perle Speed8 LE

2015-12-22 Thread Jordon
> On Dec 22, 2015, at 6:20 PM, Stuart Henderson wrote: > > On 2015-12-22, Jordon mailto:open...@sirjorj.com>> wrote: >> I have actually made some progress on this serial port card! I looked at how >> FreeBSD has it configured, tried to map the values to the OpenBSD

Progress on adding support for Perle Speed8 LE

2015-12-21 Thread Jordon
and couldn’t find anything about that string on the Internet. This is my first real attempt at development of this type so I am pretty happy about this. I would love for 5.9 to have support for this card. I also have a couple RocketPort cards and I could probably send one to someone if they would want to work on it. Jordon

Re: 8-Port Serial Port Card

2015-12-13 Thread Jordon
> On Dec 12, 2015, at 2:49 PM, Maurice Janssen mailto:maur...@z74.net>> wrote: > > On Sat, Dec 12, 2015 at 09:54:39AM +, Craig Skinner wrote: >> On 2015-12-07 Mon 21:30 PM |, Jordon wrote: >>> I recently picked up a few PCI serial port cards from the junk pile at

8-Port Serial Port Card

2015-12-11 Thread Jordon
is limited to a very little bit of linux coding I did at work. Jordon

Re: Install 5.4 onto netbook... almost

2014-04-06 Thread jordon
); the >> misc@openbsd.org list doesn't appear to be searchable (right?). So I >> seem to have exhausted the DIY possibilities. Therefore... >> >> Dear list: What is the one line I'm missing? >> > > > Plan F) - Did you try latest -current ? > > > >> >> Thanks for any pointers. >> > > > Devs and list need to see your dmesg output for sure (it can be posted > somewhere as screenshots via link) > > >> >> Norman >> >> >> >> [1] http://www.att.com/esupport/article.jsp?sid=KB102059&cv=820 >> [2] http://www.darwinsys.com/openbsd/laptops.html >> [3] http://www.openbsd.org/faq/faq14.html#Boot386 >> [4] http://undeadly.org/cgi?action=article&sid=20140225072408 >> [5] >> http://blog.breeno.net/2014/02/creating-flexible-openbsd-usb-installer.html >> [6] >> https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/bless.8.html >> >> >> -- >> Norman Gray : http://nxg.me.uk >> SUPA School of Physics and Astronomy, University of Glasgow, UK > Not sure if this helps, but I have OpenBSD running (very well) on an old Atom-based Asus eeepc netbook. I always install it by PXE-booting the installer. If you have never tried this approach, it involves a bit of setup but works really well. Jordon

Re: Is Soekris OpenBSD friendly?

2013-11-15 Thread jordon
t; days. It works fine for home stuff. > > On Fri, Nov 15, 2013 at 5:39 PM, jordon wrote: >> I have an old net4511 running 5.4. It’s too old/slow to route but it’s too >> fun to not have running because how many other OS’es can run on a 486 100MHz >> with 3

Re: Is Soekris OpenBSD friendly?

2013-11-15 Thread jordon
I have an old net4511 running 5.4. It’s too old/slow to route but it’s too fun to not have running because how many other OS’es can run on a 486 100MHz with 32MB RAM? On Nov 15, 2013, at 6:03 PM, SmithS wrote: > Greetings misc@. After coming across a link[1] to make an OpenBSD > router us

OpenBSD on Ouya/Tegra3

2013-05-23 Thread jordon
that could run OpenBSD is pretty intriguing, but how possible is it? Are there licensing strings attached to Tegra3 that would make this difficult? jordon

5.3 fixed PXE booting for me!

2013-05-02 Thread jordon
Yesterday I updated my Soekris 4511 to v5.3. I am just amused that a new OS can run on a 486 100MHz with 32MB RAM and 4G CF for storage! This was also the first time I have tried 'U'pgrading instead of just reinstalling. Very simple procedure - well done! Anyway, today I tried PXE-booting my

Re: Userland build fails on old machine

2013-02-14 Thread jordon
On Feb 14, 2013, at 10:47 PM, Philip Guenther wrote: > On Thu, Feb 14, 2013 at 5:21 PM, jordon wrote: >> Yesterday I got current on 2 machines: >> 1) a Core2 Quad based shuttle >> 2) a 486-based Soekris 4511. >> >> The core2quad build the kernel and user land

Userland build fails on old machine

2013-02-14 Thread jordon
ure out why this would work on one machine and not the other. There is still room on the CF card, so its not a storage issue. Is 32MB RAM not enough? Or is it some CPU feature a 486 is lacking? Jordon

Re: Source for drivers for basic devices

2013-02-12 Thread jordon
On Feb 12, 2013, at 10:02 PM, Philip Guenther wrote: > On Tue, Feb 12, 2013 at 5:34 PM, jordon wrote: >> Today I was looking into some of the more simple devices to see how they >> are implemented. I figured the basic text ones (zero, random, null, >> etc) would be a ni

Source for drivers for basic devices

2013-02-12 Thread jordon
vices? Are they actual drivers like network drivers or are they some completely different devices? Thanks, Jordon

Re: Building a single driver in the source tree

2012-09-14 Thread jordon
On Sep 14, 2012, at 9:33 PM, Nick Holland wrote: > On 09/14/12 20:16, jordon wrote: >> I am having trouble getting a Hifn7751 to work in an old Soekris box. I >> want to dig in and see if I can figure out what is going on but I am >> very new to this. From /usr/src/sys/d

Building a single driver in the source tree

2012-09-14 Thread jordon
I am having trouble getting a Hifn7751 to work in an old Soekris box. I want to dig in and see if I can figure out what is going on but I am very new to this. From /usr/src/sys/dev/pci, I typed "make hifn7751", but that leads to a lot of compiler errors. Is there some better way to do this or do