Re: console radeondrm default font change

2019-01-05 Thread John

Christian Weisgerber wrote:

On 2019-01-04, Mihai Popescu  wrote:


Can someone tell me a font close to this to use for xterm in X?


ports/fonts/spleen



How could I configure my -current install to use this font in the console?

Best regards,
John



Re: All traffic over iked VPN

2015-07-03 Thread John
On Fri, Jul 03, 2015 at 12:20:01PM -0400, trondd wrote:
> I'll jump into the current iked/ipsec/VPN discussions going on.
> 
> I have used iked to create a road warrior VPN from my OpenBSD laptop to an
> OpenBSD server in a remote data center.  All connections between the two are
> correctly going through the VPN.
> 
> What I want to do is force all traffic from the laptop through VPN and exit
> to the internet from the server.  Does that require a pseudo device tunnel?
> How do I create a tunnel through a firewall where one end point is NATed?  I
> can control the firewall on my network (also OpenBSD) but will it work from,
> say, a hotel?

My current setup does exactly what you describe with several endpoints,
iked, ospfd, gif, bridge, vether and pf.

There are a few documents available with a quick search but "man gif" is
a great place to start since it documents tunneling using etherip and
IPSec.

I use ospfd to inject multiple default gateway routes into the local
routing table.  If a given IPSec tunnel goes down the associated default
gateway is removed from the local routing table.  In this way it's self
healing since other tunnels and default gateway routes should still be
available.

There are occasional quirks with ospfd but this setup works quite well
with my use case which is also currently configured as a full-mesh vpn.
I'm fairly certain this configuration has been previously discussed on
the list.



> 
> I feel like this has to have been solved and can't be that hard.  And
> without using openVPN to do it...
> 
> Tim.



Re: hardware recommendation for openbsd-based thin client?

2016-05-27 Thread John
On Thu, May 26, 2016 at 02:40:09PM +0200, Marko Cupać wrote:
> Hi,
> 
> I need to implement a few dozen boxes whose only purpose will be
> connecting to RDP servers. I have figured out the software part -
> OpenBSD + slim + openbox + freerdp, but I haven't yet decided about the
> hardware part. It needs to be of amd64 architecture, and it needs to
> run OpenBSD. Local storage is not a concern, SD card would be enough.
> In fact, I'd go for diskless zero client if OpenBSD's implementation
> supported CIDR.
> 
> Something like PCengines' APU, but in monitor+mouse+keyboard world.

Depending on budget a barebone Fitlet might work. 

http://www.fit-pc.com/web/purchasing/order-fitlet/

I've used one as a portable desktop though now it's in use as a
temporary router/firewall/VPN.  The case is a heatsink and gets hot to
the touch but it's been running 24/7 for months and survived multiple
electrical storms.



OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7961124864 (7592MB)
avail mem = 7715954688 (7358MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xecbf0 (62 entries)
bios0: vendor American Megatrends Inc. version "SBCFLT_0.08.04" date 06/27/2015
bios0: CompuLab fitlet
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG ASF! HPET WDRT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT
acpi0: wakeup devices LOM_(S4) SBAZ(S4) EHC1(S4) EHC2(S4) EHC3(S4) XHC0(S4) 
ODD8(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A10 Micro-6700T APU+AMD Radeon R6 Graphics, 1197.90 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A10 Micro-6700T APU+AMD Radeon R6 Graphics, 1197.75 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD A10 Micro-6700T APU+AMD Radeon R6 Graphics, 1197.76 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD A10 Micro-6700T APU+AMD Radeon R6 Graphics, 1197.76 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GFX_)
acpiprt2 at acpi0: bus 1 (GPP0)
acpiprt3 at acpi0: bus 2 (GPP1)
acpiprt4 at acpi0: bus 3 (GPP2)
acpiprt5 at acpi0: bus 4 (GPP3)
acpicpu0 at acpi0: !C

OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
Hello list,

Are there any plans to support the realtek rtl8187: 8187B wireless chipset?
Is it available in -current?

thanks

-- 
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
> yup;  i am writing this email from one.  ;-)  got it working couple
> of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;
>
> which one do you have?  usbdevs -v?
>

oh wow that's great news! I don't have openbsd installed on (the
machine) yet - lack of support for this device was a show-stopper as
it is a laptop. Linux shows this in the dmesg:

[  105.708047] rtl8187: Invalid hwaddr! Using randomly generated MAC address
[  214.908048] rtl8187: 8187B chip detected. Support is EXPERIMENTAL,
and could damage your
[  214.908050]  hardware, use at your own risk
[  214.909768] phy0: Selected rate control algorithm 'pid'
[  218.447469] phy0: hwaddr 6e:72:7b:10:73:c6, RTL8187BvB V1 + rtl8225z2
[  218.447515] usbcore: registered new interface driver rtl8187

(rest of dmesg is at http://www.growveg.org/laptop/kubuntu/kubuntu-8_dmesg.txt)

I managed to get it actually working under ubuntu-9.04 but have no
lspci output for it yet. the last time I tried freebsd-current back in
November, I got:

no...@pci0:4:0:0:   class=0x02 card=0xff501179 chip=0x436c11ab
rev=0x16 hdr=0x00
   vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
   class  = network
   subclass   = ethernet
   cap 01[48] = powerspec 3  supports D0 D1 D2 D3  current D0
   cap 05[5c] = MSI supports 1 message, 64 bit
   cap 10[c0] = PCI-Express 2 legacy endpoint

I need to install the latest openbsd now. Can you post your usbdevs -v
ifconfig -a and relevant bit of dmesg? I'll be really interested in
seeing those. What's performance like? My laptop is a toshiba
satellite A300
-- 
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
2009/5/27 Nido :
> 2009/5/27, Martynas Venckus :
> 
>>> From: "John ." 
> 
>>> Hello list,
>>>
>>> Are there any plans to support the realtek rtl8187: 8187B wireless
>>> chipset?
>>> Is it available in -current?
>>
>> yup;  i am writing this email from one.  ;-)  got it working couple
>> of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;
>>
>> which one do you have?  usbdevs -v?
>
> I don't have an OpenBSD cd or partition at hand for that machine so
> I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
> will produce that for you later.
>
> The ID of my card is, according to Linux's lsusb: "ID 0bda:8197
> Realtek Semiconductor Corp. RTL8187B Wireless Adapter". Can you
> confirm this specific instance of this card to (at least partly) work.
>

Hello,

Yes I will do as soon as i get home (about 3 hrs from now).

Many thanks!

--
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
2009/5/27 Nido :
> 2009/5/27, Martynas Venckus :
> 
>>> From: "John ." 
> 
>>> Hello list,
>>>
>>> Are there any plans to support the realtek rtl8187: 8187B wireless
>>> chipset?
>>> Is it available in -current?
>>
>> yup;  i am writing this email from one.  ;-)  got it working couple
>> of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;
>>
>> which one do you have?  usbdevs -v?
>
> I don't have an OpenBSD cd or partition at hand for that machine so
> I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
> will produce that for you later.
>
> The ID of my card is, according to Linux's lsusb: "ID 0bda:8197
> Realtek Semiconductor Corp. RTL8187B Wireless Adapter". Can you
> confirm this specific instance of this card to (at least partly) work.
>

Hi,

machine:

j...@john-desktop:~$ uname -a
Linux john-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
01:58:03 UTC 2009 x86_64 GNU/Linux

Output of lsusb:

j...@john-desktop:~$ lsusb
Bus 001 Device 002: ID 04f2:b064 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B
Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

It works, I'm using it now. Oddly, I have to use recovery mode in the
boot menu, recover nothing, then wifi is seen. I think the reason for
this is because it pauses probing, maybe it needs time to wake up. If
I just boot ubuntu normally, it never initializes (it times out) and
it never re-initializes

I want this laptop to be multi-boot vista/openbsd. All serious work
being done on openbsd. I need to keep the vista part for work reasons.
i'd be completely grateful if you could tell me what you did to get
this wifi to work under openbsd.

Many thanks,
--
John



Re: locate weirdness

2012-01-12 Thread john
On , "LV Lammert"  wrote:

> Recommendations to upgrade are total BS - the system is 4.3 for reasons  
> which I will not share with the list because they are not germaine to any  
> issue raised herein. Such comments (beyond Theo's first one, to which he  
> is more than entltled) are pure Obsd MISC - off topic, provide no useful  
> information, and only worth reading for entertainment value.

Upgrading is a rule of this list. It cannot get anymore simple than that.



spamd openbsd 4.0 query

2007-01-27 Thread John .

Hello list,

I have an older openbsd 3.5 system that is running well just as a
firewall NAT router, with 3 interfaces on it.

Behind (and protected by) this is another machine. This particular
machine was in use as a shell box, running ssh, web and mail under
FreeBSD. I have converted it to OpenBSD 4.0.
It gets lots of mail, and it has about 30 users on it. It has one NIC.
I want to use PF to control spam.

Question is, the pf.conf seems to want 2 interfaces in order to do
this.. Is it permissable to set int_if and ext_if to be the same (same
IP) or should I clone the interface? or is there another way that I
haven't thought of?

cheers
--
John



Re: spamd openbsd 4.0 query

2007-01-28 Thread John .

On 27/01/07, Josh Grosse <[EMAIL PROTECTED]> wrote:

FYI: You will find that while spamd does a great job eliminating
spambot traffic, you will still get plenty of spam.

I use three DNSBLs, ClamAV, and SpamAssassin as well as spamd.

   -J-


Thank you everyone who replied.

In the previous FreeBSD setup, spamassassin was used in conjunction
with procmail on an individual basis. There was a "possibly_spam"
file, for each user, for stuff that was only just over the threshold,
and the stuff that was way over it went to /dev/null.

This is the first time using it the OpenBSD way. Presumably there is a
way of fine-tuning it, so that possibly_spam is accepted.

or maybe I've answered my own question :) Sometimes it helps to type
it out. So, presumably spamd as actuated by PF takes care of the 100%
certain spam, what is then accepted per user depends on invoking
spamc/d via a procmail ruleset individually?

Am I correct? I'm using Exim btw

--
John



Re: spamd openbsd 4.0 query

2007-01-28 Thread John
On Sun, Jan 28, 2007 at 09:54:07AM -0500, Josh Grosse wrote:
> All that spamd does is tarpit any blacklisted IPs -- and, *if* you're
> using greylisting, eliminate the obviously fake MTAs.  That's all.
> 
> It does eliminate a great deal of spam, but...
> 
>1) it does not examine headers (beyond tuple for greylisting)
>2) it does not examine content.

OK. Many thanks for your help. I seem to have a working config now!

cheers
-- 
John 



build question

2007-01-29 Thread John .

Hello list

When XF4 is brought to -stable, does the machine have to be rebooted
for the changes to take effect? It doesn't say so explicitly in the
FAQ.

cheers
--
John



Re: spamd openbsd 4.0 query

2007-01-30 Thread John
On Sat, Jan 27, 2007 at 12:39:42PM -0500, Josh Grosse wrote:

> 
> #  is automatically maintained by spamd(8) and related apps.
> #  is automatically maintained by spamd(8) and related apps.
> #  is a manually maintained whitelist
> 
> table  persist
> table  persist
> table  persist file "/etc/whitelist"

> # redirect blacklisted and greylisted email connections
> #
> rdr pass log proto tcp from  to any port smtp \
>   -> 127.0.0.1 port spamd
> 
> # do not redirect whitelisted:
> #
> no rdr proto tcp from  to any port smtp
 
I found that I had to put the manual whitelist first, but apart from
that, it is all as you said it was, many thanks for that.

> # redirect everything else not in spamdb's whitelist:
> rdr pass log proto tcp from ! to any port smtp \
>   -> 127.0.0.1 port spamd

I also did the spamd thing in cron so it updates, and edited spamd.conf
so that the whitelist part is read by spamd.

The only other thing I'm trying to find out now is whether whitelist.txt
can use domains rather than dotted quads
-- 
John 



how many ptys and resources?

2007-01-31 Thread John
Hello misc@

I recently ran out of ptys, so, I ran MAKEDEV and made about 900 of
them.

I understand that I will have to make a custom kernel now, in order to
use them. What I want to know is, does this line in the kernel config:

pseudo-device pty 16

does that number correspond with the *actual* number of ptys? Because,
when I ran /dev sh ./MAKEDEV pty1 (then pty2 then pty3), I was
surprised to find that I haad made 256 of them (so, I carried on until I
got to pty15 and now theres just over 900)

The machine will be in use by anything up to 30 people logged in at
once.

Is there anything else you would recommend retuning regarding increasing 
resources?

I've already looked at login.conf and increased the default maxproc-max
up to 512 from the default (because with about 7 screens and similar
number of xterms, got the warning from sh - cannot fork). 

Machine details:

cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2
cache) 1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 519663616 (507484K)
avail mem = 466055168 (455132K)
using 4256 buffers containing 26087424 bytes (25476K) of memory

thanks
-- 
John 



Re: remove sendmail/install postfix

2007-01-31 Thread John
On Wed, Jan 31, 2007 at 10:54:04PM -0700, David B. wrote:
> hi, hate to bother, but...
> 
> I looked around on the net and couldn't find a howto on howto uninstall
> sendmail, the default in 3.8, and then install postfix.

[snip]

I think in OpenBSD, that sendmail is tied in rather tightly to the whole
OS. I use exim, and the way I ensure that sendmail isn't "there" is to
do:

in rc.conf (or rc.conf.local)

sendmail_enable="NONE"
sendmail_flags=NO

..and reboot

Exim is a drop-in replacement (sort of) for sendmail. I know nothing
of Postfix.
-- 
John 



Re: remove sendmail/install postfix

2007-02-01 Thread John
On Thu, Feb 01, 2007 at 10:45:45AM +0200, Antti Harri wrote:
> On Thu, 1 Feb 2007, John wrote:
> 
> >I think in OpenBSD, that sendmail is tied in rather tightly to the whole
> >OS. I use exim, and the way I ensure that sendmail isn't "there" is to
> >do:
> >
> >in rc.conf (or rc.conf.local)
> >
> >sendmail_enable="NONE"
> 
> This doesn't do anything.

no? OK. It does (did) in freebsd where I also ran exim, but freebsd
isn't openbsd. 

> 
> >sendmail_flags=NO
> 
> Only this is required to prevent sendmail from starting
> on boot up.

Well I was desperate :)

I confirm what you say is indeed correct, because in /etc/rc we have

if [ X"${sendmail_flags}" != X"NO" -a -s /etc/mailer.conf ]; then
echo -n ' sendmail';( /usr/sbin/sendmail
${sendmail_flags} >/dev/null 2>&1 & )
> 
> PS. Don't forget the root's crontab.

yeah, found that out the hard way (root email complaints about malformed
L)

cheers
-- 
John 



Re: gnome

2007-02-03 Thread John
On Sat, Feb 03, 2007 at 12:10:20PM +0100, Jasper Lievisse Adriaanse wrote:

[xterm tabs]

> x11/mrxvt

not in ports if you're following 4.0-stable when I looked a few minutes
ago. Do you mean ports in current?

[but it was in ports on freebsd 6.2-stable, so installed it there, and
jolly nice it is too]
-- 
John 



Re: arptables: unable to enter address

2007-02-03 Thread John
On Sat, Feb 03, 2007 at 03:31:08PM -0500, J. Alfred Prufrock wrote:
> Hi guys,
> 
> I recently switched ISPs, and my new ISP (Time-Warner) gave me a
> Motorola SBG1000 cable-modem box.  My OpenBSD machine, which used to
> connect directly to my old ISP's servers, is now behind this box.  I'm
> running a GENERIC 4.0 kernel which has never had any problems with my
> hardware.

Yeah, I've got one of those or similar. I'm using it with openbsd
doing firewalling and NAT.

> My problem now is that every fifteen minutes I get the following
> message on my console as well as in /var/log/messages:
> Feb  3 15:13:58 rock /bsd: arplookup: unable to enter address for 
> 24.aaa.bbb.ccc
> 
> 24.aaa.bbb.ccc is the SBG1000's WAN address.  Its LAN address is
> 192.168.0.1, and my OpenBSD machine's address on the attached NIC
> (dc0) is 192.168.0.10.  This machine functions as my LAN router and
> firewall, so it has another NIC (fxp0) whose address is 192.168.1.11.
> 
> After looking around on misc, I tried the following:
> arp -s 24.aaa.bbb.ccc 00:11:22:33:44:55 pub
> where 00:11:22:33:44:55 is the MAC address of the Motorola box's
> WAN-facing NIC.  This gives me:
> cannot intuit interface index and type for 24.aaa.bbb.ccc
> I don't really know arp, so I'm wary of poking around any further.

> I also tried getting the Motorola box not to do NAT, so my machine
> then gets its IP address directly from the ISP's DHCP server instead
> of the Motorola box's DHCP server.  I still get the same message, but
> with a different IP address (10.something).

My setup goes like this:

modem --> obsd (xl0) --> LANs (xl1 and xl2)

on obsd I have in hostname.xl0 just the following:

dhcp none none none

I made sure NAT and DHCP was turned off the modem via the web 
interface.

And, as far as getting the obsd box to talk to the modem was concerned,
that's it! There is other stuff involved in getting the box to talk to
the lan and v/v. I found it useful getting just the box to work with the
modem, it's not clear in your message if that is also your situation.
-- 
John 



usb2 external disk oddness

2007-02-11 Thread John
hello list

I'm following 4.0-stable, using the generic config. I seem to be getting
transfer rates of only a little better than usb 1.0 (2 to 3MB/s). The
disk is plugged into a usb port which is on a usb2 pci card. Is there
something special I have to do to realise the full speed of the disk?

ehci0 at pci0 dev 14 function 2 "VIA VT6202 USB" rev 0x63: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 4 ports with 4 removable, self powered

[unplug the disk]

scsibus3 detached
umass0 detached

[plug it back in]

umass0 at uhub4 port 2 configuration 2 interface 0
umass0: Maxtor Maxtor USB Drive, rev 2.00/3.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets
sd1 at scsibus3 targ 1 lun 0:  SCSI0 0/direct
fixed
sd1: 38182MB, 38182 cyl, 64 head, 32 sec, 512 bytes/sec, 78198750 sec
total

cheers
-- 
John 



sftp logins

2007-02-17 Thread John
Hello misc@

Is there a way to quickly show current and historical sftp logins 
in a format like the command 'last'? I've looked at ac (doesn't record
sftp) and sa (way too much data, and the wrong sort) so far.

cheers
-- 
John 



Re: Mail Server (seeking recommendations)

2007-04-15 Thread John .

On 14/04/07, Steven Presser <[EMAIL PROTECTED]> wrote:

Hello,
I'm working for a small company which has settled on OpenBSD as its
server software (because the security is excellent).  We have settled on
what software to use for everything but the mail server.  I'd like to
request recommendations from the knowledgeable people of this
list.  The priorities for the mail server are:
1. Security
2. Usability (for the end user - not everyone is technically skilled,
although the setup can be done for anyone who needs help)
3. Ease of setup
4. Scaleability
Obviously the first is by far the most important.  The other three
are more perks than anything else.

Thank you,
Steve




I use exim (mail server) qpopper (pop3) and openwebmail (web-only
users) and spamassassin and the spamd in pf. Adding mail routing for
domains and particular users is a breeze in exim. Documentation is
*extensive*.

If it's good enough for ISPs then it's good enough for me.
--
John



newbie network segment routing query

2008-11-04 Thread John .
Hello misc@,

I don't know if this is really a packet filtering, or DMZ kind of
query. What I've looked at so far (eg:
http://www.openbsd.org/faq/pf/queueing.html) doesn't really describe
what I'm trying to do. I hope someone can help.

I have a range (a /28) of real IP addresses. The openbsd box (4.0,
soon to be upgraded to 4.4) functions as a firewall/router. It
forwards packets to the speedtouch router that manages the connection.
All the speedtouch router does is to accept traffic for this range, it
does not do NAT. presently the openbsd box nats everything.

The openbsd box sits behind the router. It has 4 NICs in it:

fxp0 to the speedtouch
fxp1 for a network that I want to be unfiltered, in other words, real
IPs (wired)
fxp2 the top usable real IP - this I want to nat behind, it is for wireless
fxp3 is unused.

Is this a DMZ for fxp1? I don't need this traffic to be processed by
the openbsd box, I just want it to go down the right interface. From
what I've read, a DMZ involves some queuing/processing. Not sure if my
nomenclature is right for what I'm describing. Is there a howto for
what I'm trying to do? Do I have to split the /28?

many thanks

-- 
John



possibly generic disk copy and restore question

2008-11-21 Thread John .
Hello misc,

I want to install OpenBSD/amd64 on my laptop (a recent Toshiba amd
turon with 3GB RAM) and ONLY have OpenBSD on it, but before I do this,
I need to know how I can image the disk and restore it subsequently.
It has vista on, and I may need to restore vista should I subsequently
need to sell the laptop at some future date.

The hard disk was partitioned and formatted at the manufacturers. The
first primary partition is not visible as usable space - I think this
if from where the OS was prepped.

Has anyone had this scenario, if so, what did you use to image the
data? Have you restored it since?

thanks

-- 
John



Re: possibly generic disk copy and restore question

2008-11-21 Thread John .
> 2008/11/21 dermiste <[EMAIL PROTECTED]>:
> cat(1) is the way to go.

LOL.

actually, dunno why I didn't see it before, but g4u seems to do what I
want, sorry for the noise.
-- 
John



Re: possibly generic disk copy and restore question

2008-11-21 Thread John .
2008/11/21 Chris Zakelj <[EMAIL PROTECTED]>:
> An even easier solution would be to just buy a new HDD, and stick the
> original into a static bag.  Why make it harder than it needs to be?

True, but this is a home system, and I'm cheap. I want that 170GB drive ;)

A side issue I have found is some laptop drives are non-transferable -
they seem cryptographically locked to the controller they came from. I
had 2 otherwise identical acer aspire laptops, both with Hitachi
drives. One got wine spilled onto the keyboard and did something to
the motherboard. Tried to whip out this harddrive and put it into the
other laptop, and was prompted for a password after POST. I had never
set any password (the machine was prepped at the factory). This
occurred before any data on the HD could be read, so I think the
facility is in the circuitry rather than the physical disk.

-- 
John



Re: possibly generic disk copy and restore question

2008-11-21 Thread John .
Thanks for all your help. certainly have some good pointers there. At
least I'm not now in the dark, so to speak.
-- 
John



laptop page for amd64 laptops

2008-11-21 Thread John .
Hello misc,

There's a laptop page for i386 laptops at
http://www.openbsd.org/i386-laptop.html but none for amd64. Something
that has success/failure stories plus dmesg & xorg. Would it be a good
idea to have one? Who to suggest to? I thought it'd be a good idea as
it is a separate arch and there's a lot of them about...

if this is the wrong list, please suggest the right one.

-- 
John



SNMP and NAT

2005-10-21 Thread John
Hi misc@

Reading through the misc@ archives, I see that back in 2003, it was said, to a
similar query to mine [0] that:

> also, be aware that if there's any kind of NAT involved, the SNMP payloads
> will not be translated, so you'll need to be prepared to deal with it.

I was wondering if this was still the case, or if there is now some pf way
around it, now that we're in 2005, and 3.7 is on its way.

[0] I have a selection of openbsd, freebsd, and gentoo linux boxes behind a
3.5 openbsd firewall. They all run behind NAT, because I just have a single
IP. Behind the firewall runs a freebsd server with https where I'm running
rrdtools and net-snmp to graph traffic and usage from each machine on the LAN.
I'd also like to graph my cablemodem but that is on the other side of the
firewall, but I can't from the BSD box because of NAT. I can, however,
snmpwalk to the cablemodem interface from the openbsd firewall. Note that the
WAN interface of the openbsd firewall has the real IP. 

[1] the way around it, of course, would be to rrdtool/snmp on both boxes then
copy the graphs produced to the https server, but I just wondered if there is
a better way.

thanks for listening.
--
John
GPG public key at https://shell.reiteration.net/~jfm/gpg.html



Re: OpenBSD forked

2012-06-20 Thread John
On Wed, Jun 20, 2012 at 08:28:22AM +0530, Jay Patel wrote:
> Hi all users,
> 
> I am users too.  Thanks cody. I am learning C too. from "C primus
> plus" any thoughts from devs. which we should read?

You may want to give this a try:
http://c.learncodethehardway.org/book/learn-c-the-hard-way.html


John



Internet Keyword & Asia/Cn domain name registration

2012-09-20 Thread John
Dear Manager,

(If you are not the person who is in charge of this, please forward this to 
your CEO,Thanks)

This email is from China domain name registration center, which mainly deal 
with the domain name registration in China. We received an application from 
Hanson Ltd on September 17, 2012. They want to register " openbsdies " as their 
internet keyword and China/Asia (CN/ASIA) domain names. But after checking it, 
we find this name conflicts with your company. In order to deal with this 
matter better, so we send you email and confirm whether this company is your 
distributor or business partner in China or not?

Best Regards

John

General Manager  

Shanghai Office (Head Office) 

3002, Nanhai Building, No. 854 Nandan Road, 

Xuhui District, Shanghai 200070, China 

Tel: +86 216191 8696 

Mobile: +86 1870199 4951 

Fax: +86 216191 8697 

Web: www.ygnetworkltd.com



Question??

2010-06-07 Thread John
Hello-

We are interested in purchasing from you, any scrap, surplus, or corporate
owned technology that has little to no residual value or is no longer in
service. Spectra Recovery L.L.C buys all types of technology including
Circuit Boards, Semiconductors, Networking hardware, PC's, Phones, PBX's,
Laptops, servers, and Scrap electronics. We adhere to a strict no landfill
policy.  

We can help offset tech costs by providing you a return on your old
equipment. 

To whom would I need to speak with in regards to your used and obsolete
surplus technology? 

Any assistance would be greatly appreciated. 

Please e-mail Brad Cuen at  b...@spectrarecovery.com.

 

John Damiano

2995 Trotters Parkway

Alpharetta, GA 30004

 <mailto:j...@spectrarecovery.com> j...@spectrarecovery.com

Phone: 678-608-3347

Fax: 770-234-6659

[demime 1.01d removed an attachment of type image/bmp which had a name of 
Spectra.bmp]



php5-core package install problems

2009-11-18 Thread John
I am having trouble with installing a package, php5-core for OpenBSD 4.6
(i386). There is a dependency that cannot be resolved. php5-core
requires libiconv-1.12, and a package only exists for libiconv-1.13.

# pkg_add -r php5-core  
Can't install php5-core-5.2.10: lib not found iconv.6.0
Dependencies for php5-core-5.2.10 resolve to: libiconv-1.12,
libxml-2.6.32p3, gettext-0.17p0
Full dependency tree is libiconv-1.12,libxml-2.6.32p3,gettext-0.17p0
iconv.6.0: partial match in /usr/local/lib: major=5, minor=0 (bad major)

I've also tried building php from ports with no luck due to a problem
with one of the patches...

===>  Extracting for php5-core-5.2.11
===>  Patching for php5-core-5.2.11
`/usr/ports/obj/php5-core-5.2.11/.prepatch_done' is up to date.
===>  Applying distribution patches for php5-core-5.2.11
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to
ext/date/lib/parse_date.re.rej
***>   patch-ext_date_lib_parse_date_re did not apply cleanly
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to ext/date/lib/timelib.h.rej
***>   patch-ext_date_lib_timelib_h did not apply cleanly
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to ext/date/php_date.c.rej
***>   patch-ext_date_php_date_c did not apply cleanly
*** Error code 1

Stop in /usr/ports/www/php5/core (line 2091
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/core (line 1444
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/core (line 1984
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/core (line 1474
of /usr/ports/infrastructure/mk/bsd.port.mk).
===> Exiting www/php5/core with an error
*** Error code 1

Stop in /usr/ports/www/php5 (line 129
of /usr/ports/infrastructure/mk/bsd.port.subdir.mk). 



Re: Quick question regarding puffy

2024-12-03 Thread John
On the wider 'it could be considered political' point - it's time 
everyone in or near tech understand that pretty much everything is 
political, including technology.


If the OpenBSD Foundation want to avoid 'party political' - sure, 
understandable. But 'anything' political? Impossible.


Good luck with the project, Gwen.

John

On 12/3/24 16:49, izzy Meyer wrote:

Hi Gwen

Like others have mentioned- this could technically be considered 
"political".


However, thats the least of my concerns as social science is not 
political science. I would only consider this "politicised" in recent 
times, rather than "political".


I say you should be fine, although I carry no authority on the art or 
copyright or goals of the project.


Also- all this image appears to be intended to do is have puffy 
holding a progress flag. This would be a rather simple GIMP job, 
especially cos both of these pieces of art are fairly easy to come by 
online. (could be as simple as drag and drop and a mask over the fin). 
You don't really need to generate any new images, just compose two 
images together.


But- for some reason there is a strange glow on the puffy art (despite 
looking very similar to the official art), and the lines are sorta 
fuzzy and messy.


I can't help but infer this was made by a GAN, and if so, *that* would 
be your legal pitfall. Please make this in GIMP so at the very least 
you don't get accused of AI-art and copyright abuse.


Appreciated-


On December 2, 2024 7:06:55 PM CST, Gwen Nelson 
 wrote:


Hi

I'm setting up a pubnix server for LGBT people running the best OS
(OpenBSD of course) and was wondering if it'd be acceptable to
display puffy holding a pride flag on the project's website as a logo.

See attached - I'm not sure if the puffy artwork is licensed to
allow this kind of modification.

I promise it's for a good cause and in good taste, the server has
rules against people doing illegal stuff and being abusive etc,
it's also invite-only and I'll ban anyone who's an asshole. The
main purpose of the project is to build a community, similar to
services such as sdf.org <http://sdf.org> or the tildeverse - I've
found most people tend to default to Linux or NetBSD and felt
OpenBSD is the superior option for my project.

Naturally I'll give appropriate attribution too.

I'm not subscribed to the list and looking for an official
response, so also sending this to Theo.

You guys have my utmost respect for creating such a beautiful
clean yet functional and secure OS.

Should there be any issues with this, please advise - as I said,
the project and all involved have my utmost respect.

Best regards


[no subject]

2017-06-29 Thread John Ireland

unsubscribe misc



NFS and mkdir permission

2017-08-03 Thread John Wong
I have a permission problem with NFS mount point, after upgrade to today 
current(#41) (amd64).

My /var/www is mount on NFS.
When I type mkdir -m 777 dir, 
The dir still has 755 permission
If I type mkdir -m 666 dir.,
The dir has 655 permission

When I set php-fpm create socket with permission 660,
It can not create permission 660 socket.
It create 640 socket

But after mkdir or create socket,
I can manually chmod 666/777 or whatever I want.


Thanks.

Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC

Re: Japanese Input in xterm

2017-10-15 Thread Jens John
On Sun, Oct 15, 2017 at 11:07:55AM +0200, Niels Kobschaetzki wrote:
> > I do this because I prefer the default font in xterms for Latin
> > text, and the Japanese font is too big for my tastes.  For
> > Japanese it's the other way around.  A bigger font is necessary to
> > show the detail of kanji.  Either way, it's only a display issue
> > and I can edit documents even if the font doesn't display them
> > properly.
> 
> I hoped, I can find a way to use both at once - Terminess for ascii, a
> Japanese font for Japanese.

If specifying multiple fonts in xterm's font resource key at the same
time is not possible, you can achieve this exact behaviour in urvxt,
which supports font lookup lists. There, I have:

URxvt.font: xft:Fantasque Sans 
Mono:style=Regular:size=15,\
xft:IPAGothic:antialias=false,\
xft:DejaVu Serif
URxvt.boldFont: xft:Fantasque Sans Mono:style=Bold,\
xft:IPAGothic:style=bold:antialias=false,\
xft:DejaVu Sans Mono:style=bold,\
xft:DejaVu Serif:style=bold
URxvt.letterSpace:  -1

meaning, that if a CJK glyph can't be found in Fantasque Sans, it looks
up the glyph in the next listed font.



USB sound card not playing

2018-05-09 Thread John Wilkes
Hello Misc, I've got a set of speakers with a built-in sound card and I
want to attach them to my computer by USB. On attaching, I get the
message: uhub2 at uhub1 port 2 configuration 1 interface 0 "vendor 0x17a0
product 0x0200" rev 2.00/1.00 addr 3
uaudio0 at uhub2 port 1 configuration 1 interface 0 "Samson Technologies
StudioDock" rev 1.10/1.00 addr 4
uaudio0: audio rev 1.00, 2 mixer controls
audio1 at uaudio0
uhidev0 at uhub2 port 1 configuration 1 interface 2 "Samson Technologies
StudioDock" rev 1.10/1.00 addr 4
uhidev0: iclass 3/0
uhid0 at uhidev0: input=1, output=0, feature=0 How do I get sound to this
card? I've tried the following: aucat -f snd/1 -i track01.wav Setting
snd/0 works with the built-in audio, but no joy with the external card.
I've tried setting the link /dev/audio -> /dev/audio1, still nothing.
Looking through the archives got me 
this:http://openbsd-archive.7691.n7.nabble.com/Change-default-audiodevice-in-OpenBSD-current-td249547.html
I tried the suggestion for changing rc.conf.local(8), but nothing. Is
there anything else I can try? full dmesg below. Best regards, John
OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4158898176 (3966MB)
avail mem = 4025778176 (3839MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed750 (86 entries)
bios0: vendor Intel Corporation version
"RYBDWi35.86A.0249.2015.0529.1640" date 05/29/2015
bios0: Intel Corporation NUC5i3RYB
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF! SSDT
SSDT SSDT DMAR
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
RP04(S4) PXSX(S4) RP05(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.46 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP
ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 
0xe3,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpitimer0: recalibrated TSC frequency 2095152072 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpihpet0: recalibrated TSC frequency 2095138048 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus

Re: USB sound card not playing

2018-05-10 Thread John Wilkes
Gesendet: Mittwoch, 09. Mai 2018 um 21:25 Uhr
Von: "Jordan Geoghegan" 
> I would recommend looking here to start:
> https://www.openbsd.org/faq/faq13.html
>
> You're going to have to configure sndiod to output to your secondary
> audio(4) device.
>
> To quote from the above faq link:
>
> "To change the default audio output device, for example to use an
> external DAC rather than your motherboard's onboard audio, just change
> sndiod(8) <https://man.openbsd.org/sndiod>'s startup flags to use that
> device:
>
> #*rcctl set sndiod flags -f rsnd/1*
> #*rcctl restart sndiod*
>
> This would make the second audio device (rsnd/1) the default."
>
> I just followed the faq and man pages when I was trying to set up my
> Fiio E17k USB DAC, and everything has been working great

Thanks for the response, somehow I missed that part of the FAQ page. It doesn't 
work,
I'm afraid, I get the message "sndiod(ok)", but no sound.

Best regards,

John



Re: CVE-2018-8897

2018-05-10 Thread John Long
On Thu, 2018-05-10 at 18:54 -0600, Theo de Raadt wrote:
> > Dare I ask what lead to OpenBSD not being affected.
> > 
> > Sorry if it is a dumb question but since this hit FreeBSD as well I
> > am
> > wondering
> > what OpenBSD did differently.
> > 
> > Was this caught in an audit?
> > 
> > I am just curious about causality that kept OpenBSD in the clear of
> > this one
> > that made such headlines yesterday.
> 
> 
> We didn't chase the fad of using every Intel cpu feature.

This goes into the achive! Thank you for the slice of sanity in an
insane word.

/jl



OpenBSD on Lenovo m710q running minidlna?

2018-06-05 Thread John Long
I have a Lenovo m710q foobar2000 appliance under Windows 10. I like the
box, it's about 1 1/2 as wide as a Lemote Fuloong Mini and about as
deep and tall, but has slots for two, 2.5 inch drives. I thought about
buying another one to use as a minidlna host under OpenBSD.

Does anybody on the list have any experience with OpenBSD and minidlna
on this box? Or any experience in general running minidlna on OpenBSD?

Thanks,

/jl



Re: OpenBSD on Lenovo m710q running minidlna?

2018-06-06 Thread John Long
On Wed, 2018-06-06 at 12:10 +, Stuart Henderson wrote:
> On 2018-06-05, John Long  wrote:
> > I have a Lenovo m710q foobar2000 appliance under Windows 10. I like
> > the
> > box, it's about 1 1/2 as wide as a Lemote Fuloong Mini and about as
> > deep and tall, but has slots for two, 2.5 inch drives. I thought
> > about
> > buying another one to use as a minidlna host under OpenBSD.
> > 
> > Does anybody on the list have any experience with OpenBSD and
> > minidlna
> > on this box?
> 
> Nothing in dmesglog, it would be nice if you could boot the one you
> have
> from a USB stick and email in to dmesg@.

I'm up to my ass in alligators with work right now so it will take a
few days. How do I capture the output? It's been a while since I
installed OpenBSD... maybe it gives me an option to mail directly from
the installer? I have only a vague memory about it.

> Seems it may have a real serial port, if so that's a nice thing to
> have on such a small machine.

It appears to yes, but since I'm running Windows on it I haven't used
it. 

They're not cheap and the hardware is just kinda meh. The one I bought
has 4G of RAM, a 256G SSD (not sure which brand, it's buried in the
chassis and hard to get to) and cost 500 Euros. The one I want for the
minidlna server will cost about 600 Euros and have 8G of RAM.

The box I have has the i3-7100T, it's a two-banger with hyperthreading,
good single CPU clocks, 3.4GHz. For the same price you can get a i5-
7400T which is a four banger but no hyperthreading, and significantly
slower clocks, 2.4 GHz. Not sure what the benefit to that would be.

The disk tray is a flimsy, loose-fitting piece of plastic, not very
reassuring. It feels like if you swap disks and out of there a dozen
times you're going to be buying a new tray. I'm sure there is better
hardware around, maybe even for the same price, but these boxes are
readily available from my local shop in a few different variations, and
have a nice form factor and some nice features. So far I'm satisfied
with it. They advertised mine with a DVD drive, and it doesn't have one
of course...when I complained they sent me a USB DVD drive.

The enclosure is substantial aluminum, quite sturdy. Feels like you
could stack them in a big pile of other gear and nothing would go
wrong. And it comes with a separate aluminum tray case with rubber feet
that wraps around the bottom and goes up and over both sides (the
computer slides into it) and which has a slot for a separate aluminum
holder (also included) that holds the power brick. It's a nice package
if you don't open it up and look inside.

Not sure about the cooling. The fan is tiny.

> 
> > Or any experience in general running minidlna on OpenBSD?
> 
> I used to run this on OpenBSD, it worked reasonably well with the
> devices I tried accessing it from. I stopped running it after I moved
> my
> fileshares to a separate NAS box.
> 
> We don't have inotify and minidlna doesn't have kqueue support for
> file
> monitoring; run it with the -r flag to do an incremental rescan if
> you
> add files.

Thanks, this is good news. I would prefer not to have code doing things
"for" me. I tend to rip a lot of discs in big batches and then move a
lot of files at once. It would be ideal to update manually.

> I had some problems with the multicast bits after the routing
> table change to ART, but others couldn't replicate this, maybe it was
> because the machine I was running it on was multihomed.

I am clueless about networking but I don't anticipate any issues. I
have the Windows box roped-off from my LAN so I can't move files around
easily, can't use rsync or any convenient *NIX tools etc. It will be
very convenient to have OpenBSD running dlna.

Thanks,

/jl



Anybody have any experience with Fujitsu PRIMERGY TX1310 M3?

2018-06-24 Thread John Long
There are two variants of the Fujitsu PRIMERGY TX1310 M3 available here
for about the same price I was paying for the Lenovo m710q. Does
anybody have any comments about these Fujitsu boxes running OpenBSD?

Also, I remember there was a section in the FAQ about setting up an ftp
server on OpenBSD. I can't find it on the website any more. Is there an
archive and why was it removed?

Thanks,

/jl



Partitioning recommendations for 6.3?

2018-06-25 Thread John Long
Been a while and don't have my other OpenBSD boxes accessible.

What are the recommended partitions and appropriate sizes for people
who want to track stable and possibly build the whole ports tree?

Thanks,

/jl



Re: Partitioning recommendations for 6.3?

2018-06-25 Thread John Long
On Mon, 2018-06-25 at 17:16 +0300, IL Ka wrote:
> Do you want to really build all ports or just fetch skeletons and
> build some of them?

Not sure, but I don't want to rule out building them all for a couple
or reasons. I have a new box which is probably fast enough to make it
worthwhile to build packages for some slower boxes I have. Second thing
is rebuilding the system from source and then building all the ports is
a good stability test. Bottom line is probably that I would rather plan
to have the space available and not need it then to need it and not
have it. Seems like in the past this was a problem for me.

> For skeletons, automatic layout is good enough, but I recommend to
> increase /usr/src a little and decrease /home.
> Make sure you have ~ 5GB for /usr/src/ and /usr/obj.
> 

Thanks, this helps. The automatic layout didn't include /usr/xenocara
There used to be a recommendation in the past to have that as a
separate filesystem. How large should it be?

Is there any reason to track -stable anymore or has syspatch done away
with the need for that?

Seems to me, after trying to install OpenBSD on a new box, a lot of the
helpful in the FAQ is totally AWOL now and I find it hard to get all
the info together.

/jl

> 
> 
> 
> 
> On Mon, Jun 25, 2018 at 3:17 PM, John Long  wrote:
> > Been a while and don't have my other OpenBSD boxes accessible.
> > 
> > What are the recommended partitions and appropriate sizes for
> > people
> > who want to track stable and possibly build the whole ports tree?
> > 
> > Thanks,
> > 
> > /jl
> > 
> 
> 



Re: Partitioning recommendations for 6.3?

2018-06-25 Thread John Long
On Mon, 2018-06-25 at 09:25 -0500, Vijay Sankar wrote:
> Quoting John Long :
> 
> > Been a while and don't have my other OpenBSD boxes accessible.
> > 
> > What are the recommended partitions and appropriate sizes for
> > people
> > who want to track stable and possibly build the whole ports tree?
> > 
> > Thanks,
> > 
> > /jl
> 
> However, for the past year or so, I have had to increase the size of
> /usr to 6G and /usr/local to 20G to build all the packages.

I can't remember now.. ports go under /usr/local, correct? What goes in
/usr that would require 6G?

Thanks,

/jl



Re: Partitioning recommendations for 6.3?

2018-06-25 Thread John Long
On Mon, 2018-06-25 at 10:15 -0500, Vijay Sankar wrote:
> Here is my df -h output -- Just as an FYI I was testing some  
> workarounds for the samba virusfilter issue and then made some  
> mistakes that screwed up KDE etc. So decided to build it from
> scratch  
> and have about 5000 packages built right now with the following
> disk  
> usage.
> 
> $ df -h
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/sd0a 1005M102M852M11%/
> /dev/sd0l  3.9G1.8G2.0G48%/builds
> /dev/sd0k  127G1.3G119G 1%/home
> /dev/sd0d  3.9G7.2M3.7G 0%/tmp
> /dev/sd0f  5.9G1.9G3.8G33%/usr
> /dev/sd0g  2.0G185M1.7G10%/usr/X11R6
> /dev/sd0h 19.7G9.4G9.3G50%/usr/local
> /dev/sd0j  5.9G3.3G2.3G59%/usr/obj
> /dev/sd0i  2.0G990M929M52%/usr/src
> /dev/sd0e 31.5G   57.9M   29.9G 0%/var
> /dev/sd0m  243G   83.7G147G36%/usr/ports

Thanks, this is good info. 

I am trying to find out about /usr/xenocara if it is still needed and
also whether it's still recommended to build from source and track
-stable or whether syspatch does away with that.

What is the recommended http server these days? I remember the
transition from apache to nginx. What's the conventional wisdom?

My plan for this box is sftp, http, and minidlna server.

Thank you,
 
/jl



Re: Partitioning recommendations for 6.3?

2018-06-25 Thread John Long
Thanks @bryanharris and @bruno

Thanks guys, I will check out the links.

/jl



Re: Partitioning recommendations for 6.3?

2018-06-26 Thread John Long
> > Seems to me, after trying to install OpenBSD on a new box, a lot of
> > the helpful in the FAQ is totally AWOL now and I find it hard to
> > get all the info together.
> 
> Hi John,
> 
> Person came from somewhere and cut out a lot of the useful hardware
> info.
> At least now it's maintainable and can be carefully rewritten again,
> duh.
> 
> The frequent questions will probably go away over time as things
> improve.
> Sound advice should have stayed however if you ask an enthusiast
> opinion.
> 
> The cvsweb shows historic versions of the pages if you want to reread
> it.

Thanks, Anton. I understood from Stuart how to find old web versions.
It's good to know. I started with OpenBSD at 3.6 or 3.7 and installed
everything until around 5.2. I still have two boxes running 5.X, they
just work and they're not internet-facing so they'll run until they
die. But it seems like there was a lot more info in the FAQ in those
days. Now I find it more difficult to get info.

> Ideally, the auto partition could have templates, for the cases you 
> have.

I think this is a good idea but I guess a lot of people will bang you
on the head for suggesting it ;)

I don't know that I have ever seen the one-size fits all approach work
in any installer I have used, so I think templates make sense. Let the
flames begin...

Thanks for the other links. I will read all the stuff you and the other
guys have pointed me at.

/jl



Is Intel PRO/1000 CT Desktop Adapter supported on amd64?

2018-06-27 Thread John Long
I found a lot of PRO/1000 adapters listed in the em driver man page but
CT version is not included.

Does anybody know?

Thanks

/jl



Re: Is Intel PRO/1000 CT Desktop Adapter supported on amd64?

2018-06-28 Thread John Long
On Thu, 2018-06-28 at 09:32 +0300, Manolis Tzanidakis wrote:
> On Wed (27/06/18), Vijay Sankar wrote:
> > 
> > Quoting John Long :
> > > I found a lot of PRO/1000 adapters listed in the em driver man
> > > page but
> > > CT version is not included.
> > 
> > Since the CT version uses the Intel 82574L Controller, I think it
> > will work.
> 
> Indeed. I've got a couple of those and work just fine:
> 
> $ sysctl kern.version
> kern.version=OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST
> 2018
> r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compil
> e/GENERIC.MP
> 
> $ dmesg | grep ^em
> em0 at pci2 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address
> xx:xx:xx:xx:xx:xx

Thanks Manolis, the card will be here hopefully in the next week or
two.

/jl
> 



dmesg for Fujitsu PRIMERGY TX1310 M3

2018-06-29 Thread John Long
OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8389017600 (8000MB)
avail mem = 8127692800 (7751MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7bef (69 entries)
bios0: vendor FUJITSU // American Megatrends Inc. version "V5.0.0.11 R1.17.0 
for D3521-A1x" date 02/19/2018
bios0: FUJITSU PRIMERGY TX1310 M3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET LPIT SSDT SSDT DBGP DBG2 SSDT 
UEFI SSDT DMAR EINJ ERST BERT HEST
acpi0: wakeup devices PEGP(S4) PEG0(S4) PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) 
PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) PXSX(S4) RP01(S4) 
PXSX(S4) RP02(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz, 3293.89 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz, 3292.39 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz, 3292.39 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz, 3292.39 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 2399 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (RP13)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP05)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C3(200@256 mwait.1@0x40), C2(200@151 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@256 mwait.1@0x40), C2(200@151 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@256 mwait.1@0x40), C2(200@151 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@256 mwait.1@0x40), C2(200@151 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: WRST
acpipwrres2 at acpi0: WRST
acpipwrres3 at acpi0: WRST
acpipwrres4 at acpi0: WRST
acpipwrres5 at acpi0: WRST
acpipwrres6 at acpi0: WRST
acpipwrres7 at acpi0: WRST
acpipwrres8 at acpi0: WRST
acpipwrres9 at acpi0: WRST
acpipwrres10 at acpi0: WRST
acpipwrres11 at acpi0: WRST
acpipwrres12 at acpi0: WRST
acpipwrres13 at acpi0: WRST
acpipwrres14 at acpi0: WRST
acpipwrres15 at acpi0: WRST
acpipwrres16 at acpi0: WRST
acpipwrres17 at acpi0: WRST
acpipwrres18 at acpi0: WRST
acpipwrres19 at acpi0: WRST
acpipwrres20 at acpi0: WRST
acpipwrres21 at acpi0: PG01, resource for PEG1
"INT3F0D" at acpi0 not configured
"INT345D" at acpi0 not configured
"I

httpd setup info?

2018-07-02 Thread John Long
Hi,

I read the man pages for httpd and httpd.conf but I remain clueless.

I would like to serve static content (directory listings and contents).
Must I use a chroot for httpd? If so, how do I set it up?

I have my content in /var/content/webserver/.. I would like httpd to
automatically index the contents.

Trying to massage the example/httpd.conf didn't work. I get a 403 when
I try to access my website.

# $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $

server "example.com" {
listen on * port 80 
listen on :: port 80
location "/var/content/webserver/htdocs/*" {
directory auto index
}
}

Thanks

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 06:27 -0500, ed...@pettijohn-web.com wrote:
> On Jul 2, 2018 5:58 AM, John Long  wrote:
> > 
> > Hi,
> > 
> > I read the man pages for httpd and httpd.conf but I remain
> > clueless.
> > 
> > I would like to serve static content (directory listings and
> > contents).
> > Must I use a chroot for httpd? If so, how do I set it up?
> > 
> > I have my content in /var/content/webserver/.. I would like httpd
> > to
> > automatically index the contents.
> > 
> > Trying to massage the example/httpd.conf didn't work. I get a 403
> > when
> > I try to access my website.
> > 
> > # $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $
> > 
> 
> Try:
> chroot "/var/content"
> server "example.com" {
> listen on * port 80 
> listen on :: port 80
> root "/webserver/htdocs"
> directory auto index
> }

Thank you. What has to be in the chroot besides the content I want to
serve?

> 
> I think the listen directive changed recently, so if it fails look
> into that as the cause.

Thanks, ok.

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 06:38 -0500, ed...@pettijohn-web.com wrote:
> On Jul 2, 2018 6:30 AM, John Long  wrote:
> > 
> > On Mon, 2018-07-02 at 06:27 -0500, ed...@pettijohn-web.com wrote:
> > > On Jul 2, 2018 5:58 AM, John Long  wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I read the man pages for httpd and httpd.conf but I remain
> > > > clueless.
> > > > 
> > > > I would like to serve static content (directory listings and
> > > > contents).
> > > > Must I use a chroot for httpd? If so, how do I set it up?
> > > > 
> > > > I have my content in /var/content/webserver/.. I would like
> > > > httpd
> > > > to
> > > > automatically index the contents.
> > > > 
> > > > Trying to massage the example/httpd.conf didn't work. I get a
> > > > 403
> > > > when
> > > > I try to access my website.
> > > > 
> > > > # $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $
> > > > 
> > > 
> > > Try:
> > > chroot "/var/content"
> > > server "example.com" {
> > > listen on * port 80 
> > > listen on :: port 80
> > > root "/webserver/htdocs"
> > > directory auto index
> > > }
> > 
> > Thank you. What has to be in the chroot besides the content I want
> > to
> > serve?
> > 
> 
> Nothing for static content. If you add Perl or other such things you
> will have to add a lot of stuff.

Ah great, thanks, I'll try it asap.

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 06:27 -0500, ed...@pettijohn-web.com wrote:
> chroot "/var/content"
> server "example.com" {
> listen on * port 80 
> listen on :: port 80
> root "/webserver/htdocs"
> directory auto index
> }

Thanks, this works. Actually I pushed things down one level and used

chroot "/var/content/webserver"

and then I can take the default for the root macro and omit it.


When I click on a PDF doc file, my browser (on Linux) wants to download
it instead of opening it. What's the appropriate way to let the browser
know it should open it in Acrobat (or default app set in the browser)
instead of downloading the file?

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 17:18 +0300, IL Ka wrote:
> >>What's the appropriate way to let the browser
> >> know it should open it in Acrobat
> See "Content-Disposition" header.
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Dis
> position
> 
> It tells client to download document or open it inline.

Thanks, how do I translate this info into something httpd can use?

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
What userid does httpd run under?

I have some kind of permission problem, httpd can't serve some of the
content.

Thank you.

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 08:11 -0700, Scott Vanderbilt wrote:
> On 7/2/2018 8:05 AM, John Long wrote:
> > What userid does httpd run under?
> > 
> > I have some kind of permission problem, httpd can't serve some of
> > the
> > content.
> 
> ps aux|grep httpd

Thanks again.

/jl



Re: httpd setup info?

2018-07-02 Thread John Long
On Mon, 2018-07-02 at 08:10 -0700, Scott Vanderbilt wrote:
> On 7/2/2018 8:03 AM, John Long wrote:
> > On Mon, 2018-07-02 at 17:18 +0300, IL Ka wrote:
> > > > > What's the appropriate way to let the browser
> > > > > know it should open it in Acrobat
> > > 
> > > See "Content-Disposition" header.
> > > https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content
> > > -Dis
> > > position
> > > 
> > > It tells client to download document or open it inline.
> > 
> > Thanks, how do I translate this info into something httpd can use?
> 
> https://man.openbsd.org/httpd.conf#TYPES

 Thanks/sorry. I saw that somewhere and couldn't remember
where until this recent clue-stick ;)

/jl



Best way to serve files to Windows?

2018-07-18 Thread John Long
Hi,

I have minidlna working fine on OpenBSD. However this doens't help with
Roon media software since they don't have anything for OpenBSD,
unsurprisingly. Roon doesn't want to support dlna.

I have my Windows foobar2000 appliance roped-off from my LAN because I
don't trust Windows boxes on my network. So I would like to set up some
way to serve the files to Windows from OpenBSD. I guess that is
CIFS/SAMBA?

Is this secure over the network? I have not done this before and I
don't know what's involved. Is there an approved CIFS implementation to
use?

Thanks,

/jl



Re: Best way to serve files to Windows?

2018-07-18 Thread John Long
@tom @solene

Thanks guys. I'll look into Samba. I hope it won't turn out to be a
typical Windows nightmare.

Are there any reliable setup guides on the net?

I will basically want to just make a couple of directory trees
available read-only.

Thanks,

/jl



[Now OT] Re: Best way to serve files to Windows?

2018-07-18 Thread John Long
On Wed, 2018-07-18 at 16:57 +0100, Tom Smyth wrote:
> Hi John,
> 
> I would just follow the SAMBA documentation in setting up the share, 
> /shared folders, 
> 
> then on the windows clients  you may have to tweak the security
> settings 
> in the local security policy manager,  (but windows out of the box
> for domestic
> settings) if your windows boxes are controlled by a Windows 
> Domain then you may need to talk to the windows admin to relax /
> enhance 
> authentication settings and SMB signing settings in the group policy
> ) 
> but a typical windows setup 
> should just ask you for a username and password to connect to the
> setup 
> samba share 
> 

Thanks Tom. It's my box and I'm the incompetent sysadmin, so no worries
 other than those self-inflicted ;)

I got spoiled years ago by ssh and RSA authentication and I don't like
the idea of username/password in general.. but the traffic doesn't go
to the outside world in my setup so I guess it is ok.

> keep it simple for now 
> the eventlog  (system event log) with the following
> windows command 
> eventvwr 
> will spew errors if there are a mismatches in your security settings 
> and you will get hints by looking up errors as you see them, 

Thanks, this is good info!

Not sure if I'll keep Roon or not. It has some nice features but it is
still pretty rough on things I would have thought it should handle.

/jl



[OT] Roon discussion

2018-07-18 Thread John Long
Hi Marcus,

On Wed, 2018-07-18 at 18:19 +0200, Marcus MERIGHI wrote:
> codeb...@inbox.lv (John Long), 2018.07.18 (Wed) 13:51 (CEST):
> > I have minidlna working fine on OpenBSD. However this doens't help
> > with
> > Roon media software since they don't have anything for OpenBSD,
> > unsurprisingly. Roon doesn't want to support dlna.
> 
> What network access is officially supported?

As far as I know just native filesystems depending on the client and
whatever qualifies as a Windows Network Fileshare. The all-in-one Roon
package is only for Win/MacOS. I didn't want to start complicating
things.

> I've seen a RPi based media player that supported sftp. That would be
> an easy and secure way. chrooted user, sftp access. 

Yeah but I don't need another media player and having to sftp each file
to play it is unmanageable. foobar2000 on Windows is better than
anything else until now for this purpose because nothing that runs on
the Pi can use the device drivers for my audio hardware, it's all
Windows-only. What Roon does is cooperate with Roon-enabled devices and
you can direct music to play on them. It works.

> 
> > I have my Windows foobar2000 appliance roped-off from my LAN
> > because I
> > don't trust Windows boxes on my network. So I would like to set up
> > some
> 
> I see Roon downloads for windows, android, macos, ios. What is your
> Roon
> running on? Just saying...

It is kinda complicated and I just started looking into it. There are a
few pieces. I am running the whole thing on Windows. The Android and
ios versions are display and controller apps but the media is hosted
somewhere else. On Windows and Mac you can host and control from one
device. On Linux I think you can't do everything either, just host the
data.

The media is already living on OpenBSD.

I guess one option would be to try to get Linux running in a VM under
OpenBSD, if it's possible to access data outside the VM. Then I could
use anything for a Roon controller clien.

> 
> > way to serve the files to Windows from OpenBSD. I guess that is
> > CIFS/SAMBA?
> 
> If your Roon machine formerly accessed the windows server then it was
> SMB/CIFS, almost for sure. 

This is a new Roon setup a couple of hours old. It didn't formerly
access anything ;)

>  
> > Is this secure over the network? I have not done this before and I
> > don't know what's involved. Is there an approved CIFS
> > implementation to
> > use?
> 
> There's only samba. Isn't the Roon box the weakest point?

Sure, Windows is always the weakest point. But for music playback there
isn't any real option since all the device drivers are for Windows
only. Some of the work somewhat on Mac or Linux but mostly not very
well and not all the features are there.

/jl



Re: Q: Systems with Skylake based XEON silver CPUs supported by OpenBSD 6.3 amd64

2018-07-18 Thread John Long
Hello Peter,

On Wed, 2018-07-18 at 12:40 +, Steiner Peter wrote:
> Hello folks,
> 
> we are currently looking for new server hardware compatible with
> OpenBSD 6.3 amd64.
> I couldn't find a compatibility list for current systems.
> 
> We'd like to use Skylake based XEONs (e.g. Xeon Silver 4108) in
> current dual (or single) socket systems 
> like "Dell PowerR640", "Fujitsu RX2530M4" (maybe "ProLiant DL360
> Gen10" or "Lenovo ThinkSystem SR550")

I just brought up 6.3 on a new Fujitsu Primergy TX1310 M3 which runs
the Xeon E3-1225 v6 Kaby Lake (low-end Xeon) in the last couple of
weeks.

It works fine, the biggest PITA was figuring out what the BIOS is
calling legacy boot, I didn't want to use UEFI.

I did see a failure to load i915 firmware in the dmesg or log, I didn't
follow up on it because I ASSumed it was for the display adapter- which
btw works fine over VGA enough to install and get it minimally set up.
Since then I'm running it headless.

6.3 has been totally stable (no surprise) and what's interesting is
sometimes a terminal running top over SSH looks like the box is dead. I
don't ever remember seeing an OS that idled so well. Only the clock on
tmux changing lets you know the system is alive. Just outstanding.

/jl
 
> 
> 
> Does anybody have hints for me where to look for information about
> hardware compatibility?
> 
> If someone actually runs OpenBSD 6.3 on a current XEON (or even an
> AMD EPIC) please let me know ;-)
> 
> 
> Thanks in advance!
> 
> 
> greetings from Austria
> -Peter
> 
> 
> PS: btw. our current OpenBSD systems have Broadwell-EP Xeon CPUs (for
> example E5-2620v4 in "Lenovo x3550M5" and "Fujitsu PRIMERGY RX2530
> M2") with several Intel 82599 10Gbit NICs, running perfectly with
> OpenBSD 6.3
> 
> PPS: I already got the information that 6.3 boots into kernel panic
> on a "Fujitsu RX2530M4" with Xeon Silver 4110
> 



Re: The Ultimate OpenBSD Media Server

2018-08-11 Thread John Long
On Sat, 2018-08-11 at 21:55 -0700, Jordan Geoghegan wrote:
> Hi Folks,
> 
> I found a viable Plex alternative that runs perfectly on OpenBSD
> called 
> 'Serviio'. It does DLNA with on the fly media transcoding / remuxing
> and 
> also has an HTML5 media player.

Thanks for the info. I have been using minidlna and sambad which are
both fine so far for my purposes. The only thing that is missing from
minidlna for me is the ability to stream .dss and .dsf audio. Somebody
has been maintaining a patch tree to support this for a few years but
for some reason it has not been incorporated into whatever the main
branch is.

I don't get why anybody would want transcoding in 2018. My own use case
is high res audio and I absolutely don't want to kill sound quality by
transcoding. I don't do much video but I also don't get it why anybody
would be happy about reducing video quality given how cheap bandwidth
is these days.

> I've rewritten the install guide from the official Serviio website
> to 
> instead run Serviio as a separate user, use a better install
> location 
> and not grab the full jdk. I mentioned Serviio a few days ago on a 
> ports@ thread and several people messaged me privately asking for my 
> write up on Serviio; I hope others can get some use and enjoyment out
> of 
> this, so I thought I would share it here for others to see as well.
> 
> Link to Guide:
> 
> www.geoghegan.ca/serviio.html

Thanks. I will definitely look at it!

/jl




Domain name including openbsd

2018-09-10 Thread John Naggets
Hi,

I was wondering if the OpenBSD community permits the usage of the
"openbsd" word inside a domain name with the purpose of offering
commercial OpenBSD-based services? For example let's say I want to
sell OpenBSD-based cloud services, would I be allowed to purchase the
domain name openbsd.cloud and use it to sell my OpenBSD-based cloud
services?

Best regards,
John



x, c and v misbehaving in GTK applications

2018-09-27 Thread John Ankarström

Hello all!

I'm having this weird issue on OpenBSD 6.3.  In some GTK applications -- 
so far only in Evolution and Chromium, but not Firefox or SeaMonkey -- 
the letters x, c and v have stopped working in some text fields. 
Instead of entering the letters, it's as if Control is pressed and they 
perform Cut, Copy and Paste.


Has anybody experienced anything similar?  Any idea what the problem 
might be?


I'm fairly new to OpenBSD and its mailing lists.  Is this the 
appropriate place to discuss this, or should I report the bug somewhere 
else?  If so, where?


Much thanks,

John



Re: Some highlights: Emacs 21.4 and 25.3

2018-10-02 Thread John M
Personally I use Emacs 25.x on OpenBSD 6.3, with the caveat being that
I rely on a number of customizations to normalize behavior to be what I
expect. I would suggest using whichever version annoys you the least.

>> And I am tired that in some modes I cannot get emacs to stop
>> writing things (like indentation) that I do not type.
>
> I believe there is a variable to customize for this behaviour. I will
> know the variable name when I find it in Elisp code down there in
> sources. After that, googling for this name will be very easy.
>
> Before this happens, I will continue to use 23 and 24 (23 does not
> show me indent problem), but I feel prompted to have a look at 21 as
> well (but then even more puzzles for dot-emacs).

This may be a bit off-topic but the feature responsible for this is
'electric-indent-mode', which is enabled by default in 24.4 or later.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Indent-Convenience.html#index-Electric-Indent-mode

Put (electric-indent-mode -1) somewhere in your Emacs configuration
when using 24.4 or later.


On Tue, Oct 2, 2018 at 4:18 PM Tomasz Rola  wrote:
>
> On Tue, Oct 02, 2018 at 03:55:31PM +, Roderick wrote:
> >
> > On Tue, 2 Oct 2018, Solene Rapenne wrote:
> >
> > >emacs 25 has a X11 flavour -athena which do not use gtk, but you need
> > >to build it from ports, there is no package for it.
> >
> > And indeed I do that.
> >
> > I thought that perhaps 21.4 is more stable, or less bloated ...
> >
> > Interessting remains to know, what the reson was.
>
> Your remarks prompted me to have a look myself - so those are just my
> wild guesses, but:
>
>  - a comparison between announcements for 21.1 and 22.1
>
> http://lists.gnu.org/archive/html/info-gnu-emacs/2001-10/msg9.html
>
> http://lists.gnu.org/archive/html/info-gnu-emacs/2007-06/msg0.html
>
>tells me that support for GTK started with 22.1 - and if so then 21.4
>is the latest bugfixed version without it, while still enabling
>color themes (and custom fonts?), which are very nice to have (me
>being color abuser).
>
>  - myself, I am using 23 and 24, and comparison of their "concept
>index" info nodes shows there are 1582 and 1863 items,
>respectively. Some of those new concepts were introduced earlier
>and only documented in 24 but this gives a glimpse into amount of
>ongoing changes. There are some new Elisp functions in 24 and
>various sets of installed Elisp files for each, which makes
>supporting them both in my dot-emacs an interesting puzzle (not
>always succesfull).
>
> > And I am tired that in some modes I cannot get emacs to stop
> > writing things (like indentation) that I do not type.
>
> I believe there is a variable to customize for this behaviour. I will
> know the variable name when I find it in Elisp code down there in
> sources. After that, googling for this name will be very easy.
>
> Before this happens, I will continue to use 23 and 24 (23 does not
> show me indent problem), but I feel prompted to have a look at 21 as
> well (but then even more puzzles for dot-emacs).
>
> My guess is, all those inconveniences are introduced to make more
> users into looking under the hood. I have not really cared much about
> such detail until I played with elpa too much and had to manually
> unkcuf it.
>
> --
> Regards,
> Tomasz Rola
>
> --
> ** A C programmer asked whether computer had Buddha's nature.  **
> ** As the answer, master did "rm -rif" on the programmer's home**
> ** directory. And then the C programmer became enlightened...  **
> ** **
> ** Tomasz Rola  mailto:tomasz_r...@bigfoot.com **
>



ksh equivalent to shell-expand-line

2018-10-06 Thread John Ankarström

Hello again,

Is there a way for ksh to expand a $(command substitution) without 
having to execute the entire line?


bash provides this via shell-expand-line (bound to Ctrl-Alt-e by 
default), and ksh seems to have expand-file, but that only works for 
filenames.


Any ideas?

Best regards,
John



Re: ksh equivalent to shell-expand-line

2018-10-07 Thread John Ankarström

Klemens Nanni wrote:

On Sat, Oct 06, 2018 at 09:38:42PM +0200, John Ankarström wrote:

Is there a way for ksh to expand a $(command substitution) without having to
execute the entire line?

No.


That's too bad.


bash provides this via shell-expand-line (bound to Ctrl-Alt-e by default),

 From bash(1):

shell-expand-line (M-C-e)
Expand the line as the shell does.  This performs alias and
history expansion as well as all of the shell word expansions.

And yet, it disregards quoting and will errornously expand the following
example into multiple words instead of one:

bash-4.4$ echo "$(echo a b)"
bash-4.4$ echo a b


There is a discussion about this behavior on the bug-bash mailing list:

https://lists.gnu.org/archive/html/bug-bash/2016-11/msg00010.html

Turns out to be a relatively simple fix, but the old behavior will 
remain the default (as of 2016).



and ksh seems to have expand-file, but that only works for filenames.

We have no other expanding functions.


Would there be any interest among the pdksh developers in a function 
like shell-expand-line (but which works properly), if somebody like me 
did the work?


Best regards,
John



Re: ksh equivalent to shell-expand-line

2018-10-07 Thread John Ankarström

Klemens Nanni wrote:

On Sun, Oct 07, 2018 at 07:30:15PM +0200, Tomasz Rola wrote:

Another trick may be executing the line with echo prepended - should
do all expansions and write what will be executed. I think it is not
going to work too well if for loop is being echoed, and other such
things, so perhaps quoting a command and echoing would do the job.

This will break any non-trivial construct including pipes, command lists,
loops, (nested) quoting, et al.



To which message is this a response?  It seems I haven't received it, 
but I'd like to read it.  Tomasz?


Best regards,
John



Re: ksh equivalent to shell-expand-line

2018-10-10 Thread John Ankarström

Hajime Edakawa wrote:

Hello Mr. Ankarström,

I have challenged to try to make shell_expand_line in ksh.
You can check it if you type M-C-e.


That sounds fabulous!  Thank you for your initiative!  The code looks 
interesting.



To be honest, I'm not sure if this is correct.
I only like OpenBSD, That's why I'm so sorry if they're wrong


It might be interesting to take a look at the source of mksh[1], another 
ksh implementation, which has a similar binding called evaluate-region.


[1]: https://www.mirbsd.org/mksh.htm

Best regards,
John



Re: phonetic alphabet on OpenBSD

2018-10-15 Thread John Ankarström

Jan Stary wrote:

Are there any phoneticians running on OpenBSD?
How do you type the phonetic alphabet in vim?
Is there a standard keyboard layout for the English part of IPA?


It wouldn't be too difficult to create one.  I found this on DuckDuckGo 
via the search query "ipa xkb layout":


http://www.ajmakkas.com/pages/c_xkbipa.html

You could add that to /usr/X11R6/share/X11/xkb/symbols/ and use 
setxkbmap to switch to it.  I would assign a key binding to it in my 
window manager.


If you use a desktop environment like GNOME, you might want to edit 
../rules/evdev.xml in order to be able to find the keyboard layout in 
the graphical keyboard preferences.


Here's another good resource on X11 keyboard layouts in general:

http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11

Best regards,
John



Persistent flags for disabled daemons?

2018-11-03 Thread John Long
Hi,

I am not understanding how to get rcctl to use the flags in
/etc/rc.conf.local for minidlna

rcctl get minidlna shows

minidlna_flags=NO

even though rc.conf.local has

minidlna_flags=-R

If I use rcctl set to set minidlna's flags to -R it seems it will only
allow me to do it when minidlna is enabled. I would like the flags to
survive disablement because I don't want to start the minidlna server
every time the box comes up.

Thanks,

/jl






Re: Persistent flags for disabled daemons?

2018-11-04 Thread John Long
On Sun, 2018-11-04 at 10:46 +0100, Antoine Jacoutot wrote:
> On Sun, Nov 04, 2018 at 03:57:30AM +0100, Klemens Nanni wrote:
> > On Sun, Nov 04, 2018 at 12:41:17AM +0000, John Long wrote:
> > > If I use rcctl set to set minidlna's flags to -R it seems it will
> > > only
> > > allow me to do it when minidlna is enabled. I would like the
> > > flags to
> > > survive disablement because I don't want to start the minidlna
> > > server
> > > every time the box comes up.
> > 
> > Settings flags for disabled daemons is not possible as rcctl tells
> > you.
> > 
> > Keeping flags when disabling daemons with rcctl is currently not
> > possible.  The only way to do so is by commenting the rc.conf.local
> > line
> > manually.
> 
> Note that it would be easy for rcctl to save the flags (basically
> only remove
> minidlna from the pkg_scripts variable). But that would make the
> behavior
> inconsistent with how base rc.d scripts behave. When you disable a
> base script,
> you must remove the foo_flags from rc.conf.local (and can't retain
> the flags).
> I prefer to have a consistent behavior, this is why rcctl works this
> way.

I did not understand why it worked this way. Thanks for the
explanation!

/jl




Re: Persistent flags for disabled daemons?

2018-11-04 Thread John Long
On Sun, 2018-11-04 at 03:57 +0100, Klemens Nanni wrote:
> On Sun, Nov 04, 2018 at 12:41:17AM +0000, John Long wrote:
> > If I use rcctl set to set minidlna's flags to -R it seems it will
> > only
> > allow me to do it when minidlna is enabled. I would like the flags
> > to
> > survive disablement because I don't want to start the minidlna
> > server
> > every time the box comes up.
> 
> Settings flags for disabled daemons is not possible as rcctl tells
> you.
> 
> Keeping flags when disabling daemons with rcctl is currently not
> possible.  The only way to do so is by commenting the rc.conf.local
> line
> manually.

Hi,

rcctl does not seem to respect the flag in rc.conf.local, so I don't
understand how it would help to comment it out. If I have a flag
specified in rc.conf.local it does not seem to be respected when I
start the daemon using rcctl.

It seems like it would make sense for the status of the daemon
(enabled/disabled) to be separate from the flags.

/jl





Re: Persistent flags for disabled daemons?

2018-11-05 Thread John Long
On Mon, 2018-11-05 at 11:55 +, Stuart Henderson wrote:
> On 2018-11-04, John Long  wrote:
> > On Sun, 2018-11-04 at 10:46 +0100, Antoine Jacoutot wrote:
> > > On Sun, Nov 04, 2018 at 03:57:30AM +0100, Klemens Nanni wrote:
> > > > On Sun, Nov 04, 2018 at 12:41:17AM +, John Long wrote:
> > > > > If I use rcctl set to set minidlna's flags to -R it seems it
> > > > > will
> > > > > only
> > > > > allow me to do it when minidlna is enabled. I would like the
> > > > > flags to
> > > > > survive disablement because I don't want to start the
> > > > > minidlna
> > > > > server
> > > > > every time the box comes up.
> > > > 
> > > > Settings flags for disabled daemons is not possible as rcctl
> > > > tells
> > > > you.
> > > > 
> > > > Keeping flags when disabling daemons with rcctl is currently
> > > > not
> > > > possible.  The only way to do so is by commenting the
> > > > rc.conf.local
> > > > line
> > > > manually.
> > > 
> > > Note that it would be easy for rcctl to save the flags
> > > (basically
> > > only remove
> > > minidlna from the pkg_scripts variable). But that would make the
> > > behavior
> > > inconsistent with how base rc.d scripts behave. When you disable
> > > a
> > > base script,
> > > you must remove the foo_flags from rc.conf.local (and can't
> > > retain
> > > the flags).
> > > I prefer to have a consistent behavior, this is why rcctl works
> > > this
> > > way.
> > 
> > I did not understand why it worked this way. Thanks for the
> > explanation!
> > 
> > /jl
> > 
> > 
> > 
> 
> In order to do what you're asking for, set minidlna_flags=-R in
> rc.conf.local by hand, then you can use "rcctl start minidlna"
> as normal. As long as you don't use enable/disable you won't
> need to change it again.

Thank you, that works. I tried various flavors of this but I probably
shot myself in the behind trying the sample commands in the manpage ;)

/jl




Re: dynamic dns updates for clients in my home network?

2020-04-25 Thread john slee
I also encountered this requirement and created a tool to handle it. It
runs as a non-privileged user and is independent of dhclient and the like.
My DNS zones are hosted in AWS, so it uses their API. No other DNS
providers are supported.

https://github.com/jsleeio/ru1

I'm much more sysadmin than developer but this has been sufficiently
reliable that I forget it's there

John

On Sun, 26 Apr 2020 at 12:00, Bryan Stenson  wrote:

> I've thought about this as welland would love to use native
> OpenBSD tools for the job.
>
> Just a design idea:
>
> 1. Use dhcpd(8) synchronization
> (https://man.openbsd.org/dhcpd.8#SYNCHRONISATION) to send details of
> dhcp leases to a DNS creator/listener.
> 2. The dns creator/listener creates/updates the zone file, and
> 3. Send a SIGHUP to nsd(8) (https://man.openbsd.org/nsd.8#SIGHUP) to
> reload the zone details.
>
> Issues to consider:
> 1. hostname collisions - what happens (what should happen?) when more
> than one dhcp client has the same hostname?
> 2. what should ttl on these A records be?  probably something much
> less than the dhcp lease duration (depending on how aggressive clients
> are at renewing soon-to-be-expired leases).
>
> I'm sure there are a thousand other things to consider
> here...thoughts/ideas?
>
> On Sat, Apr 25, 2020 at 3:10 PM Raymond, David 
> wrote:
> >
> > I use dnsmasq (an openbsd package) on the gateway for my lab ethernet
> > network and it works great with minimal configuration as a local DNS
> > server.  At home I have a Synology wireless router which does the same
> > as long as you tell it to make DNS reservations.  Your mileage may
> > vary with cheaper routers.  One could in principle use dnsmasq even in
> > this case, but I haven't tried it.
> >
> >
> > Dave Raymond
> >
> > On 4/25/20, bofh  wrote:
> > > Hi,
> > > I searched through the archives and saw a couple of discussions about
> using
> > > Dnsmasq from a long time ago.
> > >
> > > Is that the best way to let the stuff in my home to have valid dns
> entries
> > > in my home network?
> > >
> > > How difficult is it to get the OpenBSD provided dhcpd and unbound to do
> > > this?
> > >
> > > Thanks.
> > >
> >
> >
> > --
> > David J. Raymond
> > david.raym...@nmt.edu
> > http://physics.nmt.edu/~raymond
> >
>
>


Ansible network_cli module broke

2020-05-20 Thread John Doe
Installed the ansible pkg via pkg_add. I cannot get the ansible network_cli
module to work in OpenBSD. Tried in version 6.6 and also 6.7 and both hang
at "using connection plugin network_cli". It never times out, hangs here
forever.

I copied my ansible configuration files over to a fedora OS and the
ansible-playbook works successfully. Has anyone used OpenBSD as an ansible
control node to manage network devices via SSH? Below is the output I
receive.

openbsd#  ansible-playbook - -u username -k -e ansible_network_os=ios
test.yml

TASK [ios_config]
**
task path: /etc/ansible/test.yml:6
<192.168.1.1> attempting to start connection
<192.168.1.1.1> using connection plugin network_cli


6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-23 Thread John Mettraux
Hello,

I tried to upgrade my Lenovo X1 Carbon 7th generation i7-10510U
from 6.6 to 6.7.

The last reboot freezes at "entry point at 0x1001000".

I tried to do a pure install, but booting from the USB stick leads immediately
to the "entry point at 0x1001000" freeze.

I found various past threads here or on Reddit for "entry point at 0x..."
but none yield anything useful.

I attach the 6.6 dmesg, I fetched it after re-installing 6.6.


Thanks a lot,

John
OpenBSD 6.6 (RAMDISK_CD) #349: Sat Oct 12 11:03:52 MDT 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 16809205760 (16030MB)
avail mem = 16295788544 (15540MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x6cc77000 (65 entries)
bios0: vendor LENOVO version "N2QET18W (1.12 )" date 12/10/2019
bios0: LENOVO 20R1CTO1WW
acpi0 at bios0: ACPI 6.1
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 SSDT HPET APIC MCFG ECDT 
SSDT SSDT SSDT NHLT BOOT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB DMAR UEFI FPDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 7509.68 MHz, 06-8e-0c
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 3 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus 5 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
"PNP0A08" at acpi0 not configured
"LEN0268" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"PNP0C60" at acpi0 not configured
"LEN0111" at acpi0 not configured
"LEN0100" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT34BB" at acpi0 not configured
"SYNA8004" at acpi0 not configured
"ACPI000E" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT0E0C" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT3400" at acpi0 not configured
"STM7308" at acpi0 not configured
"USBC000" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x9b61 rev 0x0c
vendor "Intel", unknown product 0x9b41 (class display subclass VGA, rev 0x02) 
at pci0 dev 2 function 0 not configured
"Intel Core 6G Thermal" rev 0x0c at pci0 dev 4 function 0 not configured
"Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
vendor "Intel", unknown product 0x02f9 (class DASP sub

Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-23 Thread John Mettraux
> > On 23 May 2020, at 12:54, John Mettraux  wrote:
> >
> > I tried to upgrade my Lenovo X1 Carbon 7th generation i7-10510U
> > from 6.6 to 6.7.
> >
> > The last reboot freezes at "entry point at 0x1001000".
> >
> > I tried to do a pure install, but booting from the USB stick leads 
> > immediately
> > to the "entry point at 0x1001000" freeze.
> >
> > I found various past threads here or on Reddit for "entry point at 0x..."
> > but none yield anything useful.
> >
> > I attach the 6.6 dmesg, I fetched it after re-installing 6.6.

On Sat, May 23, 2020 at 8:50 PM Joseph A Borg  wrote:
>
> happened to me twice. Doing a hard power down worked for me but this is 
> anecdotal.

Hard power down is the only way out, but rebooting still leads
immediately to the
"entry point at 0x1001000" wall. It is consistent. I tried boot -c,
boot -d or boot -s,
still the same wall.

I have just tried with the install67.img snapshot (22-May-2020 21:12
476545024) from
https://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ but it leads to the same
"entry point at 0x1001000" right after boot.

Best regards,

John



Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-24 Thread John Mettraux
On Sun, May 24, 2020 at 5:36 PM Stuart Henderson  wrote:
>
> On 2020-05-23, John Mettraux  wrote:
> >
> > (...)
> >
> > Hard power down is the only way out, but rebooting still leads
> > immediately to the
> > "entry point at 0x1001000" wall. It is consistent. I tried boot -c,
> > boot -d or boot -s,
> > still the same wall.
> >
> > I have just tried with the install67.img snapshot (22-May-2020 21:12
> > 476545024) from
> > https://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ but it leads to the 
> > same
> > "entry point at 0x1001000" right after boot.
>
> Try downloading a 6.7 kernel (bsd.mp) to e.g. /bsd.test, and from the 6.6 boot
> loader type "b /bsd.test". Do you still get the hang? This will give you an 
> idea
> whether the problem in 6.7 is with the newer boot loader or the kernel.

Hello,

I can confirm that the hang doesn't happen with the 6.7 kernel and the 6.6 boot
loader (bootx64 3.46). The hang happens with the 6.7 boot loader (3.50).

I will try to do a 6.7 install with the 3.46 boot loader.

Thanks a lot!

John



Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-24 Thread John Mettraux
On Sun, May 24, 2020 at 8:38 PM Otto Moerbeek  wrote:
>
> On Sun, May 24, 2020 at 08:26:43PM +0900, John Mettraux wrote:
>
> > On Sun, May 24, 2020 at 5:36 PM Stuart Henderson  
> > wrote:
> > >
> > > On 2020-05-23, John Mettraux  wrote:
> > > >
> > > > (...)
> > > >
> > > > Hard power down is the only way out, but rebooting still leads
> > > > immediately to the
> > > > "entry point at 0x1001000" wall. It is consistent. I tried boot -c,
> > > > boot -d or boot -s,
> > > > still the same wall.
> > > >
> > > > I have just tried with the install67.img snapshot (22-May-2020 21:12
> > > > 476545024) from
> > > > https://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ but it leads to 
> > > > the same
> > > > "entry point at 0x1001000" right after boot.
> > >
> > > Try downloading a 6.7 kernel (bsd.mp) to e.g. /bsd.test, and from the 6.6 
> > > boot
> > > loader type "b /bsd.test". Do you still get the hang? This will give you 
> > > an idea
> > > whether the problem in 6.7 is with the newer boot loader or the kernel.
> >
> > I can confirm that the hang doesn't happen with the 6.7 kernel and the 6.6 
> > boot
> > loader (bootx64 3.46). The hang happens with the 6.7 boot loader (3.50).
> >
> > I will try to do a 6.7 install with the 3.46 boot loader.
>
> Can you also try using legacy boot mode (mbr)? There should be some
> setting in the bios to enable that.
>
> -Otto

I tried to set the boot mode to [Legacy First] and [Legacy Only]. In
both cases the Boot 3.47 kicked in
and allowed me to install.

I performed the install on the machine drive (sd0) with MBR and the
install was successful.
Dmesg below for the resulting 6.7 Snapshot.

I tried to install on sd0 with GPT. The install warned me "An EFI/GPT
disk may not boot. Proceed?"
I answered yes. The install proceeded but upon reboot it froze with
the "entry point at 0x1001000".
This was with bootx64 3.50.

I am going to re-install with sd0 MBR.

Thanks a lot!

John

---dmesg---

OpenBSD 6.7-current (RAMDISK_CD) #204: Fri May 22 20:38:04 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 16197828608 (15447MB)
avail mem = 15702892544 (14975MB)
random: good seed from bootblocks
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x6cc77000 (65 entries)
bios0: vendor LENOVO version "N2QET18W (1.12 )" date 12/10/2019
bios0: LENOVO 20R1CTO1WW
acpi0 at bios0: ACPI 6.1
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 SSDT HPET APIC
MCFG ECDT SSDT SSDT SSDT NHLT BOOT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM
BATB DMAR UEFI FPDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 7498.82 MHz, 06-8e-0c
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 3 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus 5 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configu

Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-25 Thread John Mettraux
On Mon, May 25, 2020 at 6:04 PM Otto Moerbeek  wrote:
>
> On Mon, May 25, 2020 at 08:29:56AM +0200, Otto Moerbeek wrote:
>
> > On Sun, May 24, 2020 at 09:46:09PM +0900, John Mettraux wrote:
> >
> > > On Sun, May 24, 2020 at 8:38 PM Otto Moerbeek  wrote:
> > > >
> > > > On Sun, May 24, 2020 at 08:26:43PM +0900, John Mettraux wrote:
> > > >
> > > > > On Sun, May 24, 2020 at 5:36 PM Stuart Henderson 
> > > > >  wrote:
> > > > > >
> > > > > > On 2020-05-23, John Mettraux  wrote:
> > > > > > >
> > > > > > > (...)
> > > > > > >
> > > > > > > Hard power down is the only way out, but rebooting still leads
> > > > > > > immediately to the
> > > > > > > "entry point at 0x1001000" wall. It is consistent. I tried boot 
> > > > > > > -c,
> > > > > > > boot -d or boot -s,
> > > > > > > still the same wall.
> > > > > > >
> > > > > > > I have just tried with the install67.img snapshot (22-May-2020 
> > > > > > > 21:12
> > > > > > > 476545024) from
> > > > > > > https://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ but it leads 
> > > > > > > to the same
> > > > > > > "entry point at 0x1001000" right after boot.
> > > > > >
> > > > > > Try downloading a 6.7 kernel (bsd.mp) to e.g. /bsd.test, and from 
> > > > > > the 6.6 boot
> > > > > > loader type "b /bsd.test". Do you still get the hang? This will 
> > > > > > give you an idea
> > > > > > whether the problem in 6.7 is with the newer boot loader or the 
> > > > > > kernel.
> > > > >
> > > > > I can confirm that the hang doesn't happen with the 6.7 kernel and 
> > > > > the 6.6 boot
> > > > > loader (bootx64 3.46). The hang happens with the 6.7 boot loader 
> > > > > (3.50).
> > > > >
> > > > > I will try to do a 6.7 install with the 3.46 boot loader.
> > > >
> > > > Can you also try using legacy boot mode (mbr)? There should be some
> > > > setting in the bios to enable that.
> > > >
> > > > -Otto
> > >
> > > I tried to set the boot mode to [Legacy First] and [Legacy Only]. In
> > > both cases the Boot 3.47 kicked in
> > > and allowed me to install.
> > >
> > > I performed the install on the machine drive (sd0) with MBR and the
> > > install was successful.
> > > Dmesg below for the resulting 6.7 Snapshot.
> > >
> > > I tried to install on sd0 with GPT. The install warned me "An EFI/GPT
> > > disk may not boot. Proceed?"
> > > I answered yes. The install proceeded but upon reboot it froze with
> > > the "entry point at 0x1001000".
> > > This was with bootx64 3.50.
> > >
> > > I am going to re-install with sd0 MBR.
> > >
> > > Thanks a lot!
> > >
> > > John
> >
> > I have an x1 6th generation that also does not like to boot using EFI.
> > There's is a difference though: it already had problems with EFI
> > when I initially installed it in Feb 2019.
> >
> > I'll see if I can find some time to make a more detail diagnosis.
>
> I just tried and EFI boot with the latst snap works on it.  efifb(4)
> is not configured but for the rest it seems to work ok using bootx64
> 3.50 and BIOS version 1.44.
>
> -Otto

Hello,

I have tried yesterday an EFI boot with the install67.img snapshot
(22-May-2020 21:12),
but it froze at  "entry point at 0x1001000".

I had this laptop with a vanilla 6.6 booting from EFI until last week.

I have now re-installed a vanilla 6.7 booting from MBR following your advice and
it's fine for now.

Thanks again!

John



Re: Recommendations for USB Barcode Scanner and Thermal Receipt Printer

2020-07-27 Thread john slee
+1 for Symbol here. Have used them in factory environments and I can’t
recall one ever failing.

If buying used, be sure you can get the documentation for it, as these are
often configurable (eg. continuous vs. triggered scanning) via scanning
special barcodes.

John


On Sun, Jul 26, 2020 at 07:20 Erling Westenvik 
wrote:

> On Sat, Jul 25, 2020 at 08:47:48PM +0200, Rubén Llorente wrote:
> > Anybody in the list has good (or bad) experiences with USB Barcode
> > Scanners? Which models with?
>
> I have a working barcode scanner, Symbol Technologies LS2208, that
> shows up in dmesg as:
>
> uhidev4 at uhub3 port 6 configuration 1 interface 0 "?Symbol
> Technologies, Inc, 2002 Symbol Bar Code Scanner" rev 2.00/2.01 addr 4
> uhidev4: iclass 3/1
> ukbd1 at uhidev4: 8 variable keys, 6 key codes, country code 33
> wskbd2 at ukbd1 mux 1
> wskbd2: connecting to wsdisplay0
>
> It's an old model, manufactured in 2005, and I can't say that I've used
> it extensively, but it seems to work well with at least "normal"
> barcodes typically found on groceries, books (ISBN), receipts and so on.
> There are barcodes that it cannot read but I have not investigated the
> matter. The manufacturer still exists.
>
> Good luck!
>
> Erling
>
>


Boot NVME device on sparc64

2019-07-25 Thread John Gould
Hi there, Does anyone have a way of booting a pcie nvme device on sparc64.
I can install OBSD on the device but of course there is no way OBP can see
it
as a boot device. I can also use it for storage under OpenBSD which works
fine.

But! Is there any way to boot OpenBSD 6.5 installed on this drive on
sparc64.

I'm using a Sun t5120.

Kind regards John.


Re: IPv6 NDP not completing

2019-07-31 Thread john slee
Hi,

I'm having very similar problems to this, I think. Syspatch'ed OpenBSD 6.5
on an apu4c4, with my ISP-supplied termination device (cable modem,
effectively) directly attached to an ethernet interface. No switch. IPv4
works fine. DHCPv6 NA+PD seems to work OK — I get v6 NA & PD assignments —
but I can't ping anything beyond my gateway. If I use the ISP-supplied
router I have fully functional dualstack networking.

I saw sthen@'s recent post on this topic with his configs included. I
adjusted my configs (which were already pretty close) to reflect what he'd
done, but no joy :-(.

FWIW my ISP is Telstra in Australia. Looking around a bit I found a pfSense
discussion wherein the suggestion was to make a config change to what I
assume underneath the pfSense UI is FreeBSD's
"net.inet6.icmp6.nd6_onlink_ns_rfc4861" sysctl:

https://whirlpool.net.au/wiki/pfsense_ipv6_telstra

But I also found this old discussion that suggested that OpenBSD's
behaviour here — and lack of this particular knob — was a result of a nasty
old CVE:


https://misc.openbsd.narkive.com/3KdNDcEM/openbsd-ignoring-rfc-compliant-ipv6-neighbor-solicitation#post1

My next discovery step is to boot Debian on my spare apu4c4 and see if it
works there, capture some traffic, etc. I don't want to use that as a
gateway, though.

John

On Tue, 30 Jul 2019 at 16:22, Kyle  wrote:

> Hi all,
>
> I'm trying to get IPv6 set up on a firewall box running 6.4. I'm using
> dhcpcd to get an NA and several PDs, which appears to be working fine, but
> no normal v6 traffic can be sent or received. tcpdump on the egress
> interface (em3) shows lots of icmp6 neighbor solicits going back and forth,
> but no responses from either side:
>
>
> $ ifconfig em3
> em3: flags=8843 mtu 1500
>  lladdr 0c:c4:7a:ad:2a:e7
>  index 4 priority 0 llprio 3
>  groups: egress
>  media: Ethernet autoselect (1000baseT full-duplex)
>  status: active
>  inet6 fe80::8dfc:5795:8ab7:e2b%em3 prefixlen 64 scopeid 0x4
>  inet  netmask 0xe000 broadcast 
>  inet6 2605:a601:fe07:c900::1 prefixlen 128 pltime 64553 vltime
> 86153
>
>
> $ tcpdump -nlp -i em3 ip6
> ... neighbor sol repeating many times ...
> 22:46:53.876457 fe80::8dfc:5795:8ab7:e2b > ff02::1:ffea:4ff0: icmp6:
> neighbor sol: who has fe80::2d0:f6ff:feea:4ff0
> 22:47:01.876688 fe80::2d0:f6ff:feea:4ff0 > 2605:a601:fe07:c900::1: icmp6:
> neighbor sol: who has 2605:a601:fe07:c900::1 [class 0xc0]
> 22:47:01.876778 fe80::8dfc:5795:8ab7:e2b > ff02::1:ffea:4ff0: icmp6:
> neighbor sol: who has fe80::2d0:f6ff:feea:4ff0
> 22:47:01.877542 fe80::2d0:f6ff:feea:4ff0 > fe80::8dfc:5795:8ab7:e2b:
> icmp6: neighbor sol: who has fe80::8dfc:5795:8ab7:e2b [class 0xc0]
> 22:47:02.876594 fe80::8dfc:5795:8ab7:e2b > ff02::1:ffea:4ff0: icmp6:
> neighbor sol: who has fe80::2d0:f6ff:feea:4ff0
> 22:47:03.876603 fe80::8dfc:5795:8ab7:e2b > ff02::1:ffea:4ff0: icmp6:
> neighbor sol: who has fe80::2d0:f6ff:feea:4ff0
> 22:47:32.337233 fe80::8dfc:5795:8ab7:e2b.546 > ff02::1:2.547: dhcp6
> release [hlim 1]
> 22:47:32.515413 fe80::2d0:f6ff:feea:4ff0.547 >
> fe80::8dfc:5795:8ab7:e2b.546: dhcp6 [class 0xc0]
>
>
> I added "pass quick on em3 inet6" to the top of pf.conf to make sure the
> responses aren't being filtered.
>
> The peer LL address is always marked incomplete:
>
> $ ndp -na | grep em3
> 2605:a601:fe07:c900::1   0c:c4:7a:ad:2a:e7 em3 permanent R
> l
> fe80::2d0:f6ff:feea:4ff0%em3 00:d0:f6:ea:51:96 em3 expired   I
> R
> fe80::8dfc:5795:8ab7:e2b%em3 0c:c4:7a:ad:2a:e7 em3 permanent R
> l
>
>
> Pinging any v6 address outside my network only results in one
> fe80::8dfc:5795:8ab7:e2b > ff02::1:ffea:4ff0: icmp6: neighbor sol: who has
> fe80::2d0:f6ff:feea:4ff0
>
> per ping sent.
>
> Routes:
>
> $ route -n show -inet6 | grep em3
> default fe80::2d0:f6ff:feea:4ff0%em3   UGS053699 - 8 em3
> 2605:a601:fe07:c900::1 0c:c4:7a:ad:2a:e7  UHLl   0
> 1752 - 1 em3
> fe80::%em3/64 fe80::8dfc:5795:8ab7:e2b%em3   UCn11 - 4
> em3
> fe80::2d0:f6ff:feea:4ff0%em3 00:d0:f6:ea:51:96  UHLch  1
> 720183 - 3 em3
> fe80::8dfc:5795:8ab7:e2b%em3 0c:c4:7a:ad:2a:e7  UHLl   0
> 110606 - 1 em3
> ff01::%em3/32 fe80::8dfc:5795:8ab7:e2b%em3   Um 03 - 4
> em3
> ff02::%em3/32 fe80::8dfc:5795:8ab7:e2b%em3   Um 0   161322 - 4
> em3
>
>
> There is a managed switch between the firewall's egress and the ISP, but
> it's not doing any packet filtering. I'm currently out of ideas; any
> suggestions would be much appreciated.
>
>
>


Apple Display via Thunderbolt on macbook pro

2019-08-05 Thread John Brahy
Hello,

I have OpenBSD 6.5 installed on a MacBook Pro (mid-2015) and I was hoping
to use a couple of my 27" Apple Displays with it. Has anyone had any
success with them? I don't see anything pop up in dmesg when I plug them in
so not sure if the system detects them or of OpenBSD recognizes the
Thunderbolt bus. I see "Intel DSL 5520 Thunderbolt" rev 0x00 at pci4 dev 0
function 0 not configured in the dmesg.

Thanks,

John


Bluetooth support status

2019-08-06 Thread John Brahy
Hello,

Just curious if there was any change in OpenBSD supporting bluetooth.

In this commit from tedu@ it's saying that support was ripped out of the
kernel because it never really worked.

https://marc.info/?l=openbsd-cvs&m=140511572108715&w=2

man -k blue brings up nothing appros.

Thanks,

JB


Re: Bluetooth support status

2019-08-07 Thread John Brahy
ok, thanks. Bluetooth is overcomplicated and if it's not managed properly
it just opens up the attack surface for no reason.

It definitely makes some things easy but there are always workarounds.


On Tue, Aug 6, 2019 at 11:52 PM Consus  wrote:

> On 17:12 Tue 06 Aug, John Brahy wrote:
> > Hello,
> >
> > Just curious if there was any change in OpenBSD supporting bluetooth.
>
> Sadly, there is none.
>


Re: Bluetooth support status

2019-08-07 Thread John Brahy
Right, without reading the code and only reading this commit message
it's all conjecture.

I was just hoping to hear something more if someone was inclined to share.

 inclined. The commit message seems like some sort of inside joke.




Log message:
"It's not the years, honey; it's the mileage."

bluetooth support doesn't work and isn't going anywhere. the current
design is a dead end, and should not be the basis for any future support.
general consensus says to whack it so as to not mislead the unwary.


On Wed, Aug 7, 2019 at 10:06 AM Theo de Raadt  wrote:

> Bryan Wright  wrote:
>
> > Are there technical/philosophical problems that make all versions of
> > Bluetooth incompatible with the project, or is it a just matter of
> > removing what is not being maintained?
>
> I'm sure a bunch of you can come up with theories about what actually
> transpired, without reading any of the code that used to be here, or
> the commit messages.
>
> Basically, feel free to keep making up stuff.
>
>


Re: Bluetooth support status

2019-08-07 Thread John Brahy
Ha. I was about to start out with how I can guess how complicated managing
an operating system is. Then I see the last line of your email saying, "How
about if you don't know, stop making guesses".

My comments only apply to my experience coding for bluetooth on mobile
devices and it was just overcomplicated for me and I felt it was opening up
an unnecessary attack surface. That opinion has nothing to do with OpenBSD.

Just writing this here in case someone tries to use this in a future
conversation.







On Wed, Aug 7, 2019 at 10:22 AM Theo de Raadt  wrote:

> Bryan Wright  wrote:
>
> > > On Aug 7, 2019, at 10:06, Theo de Raadt  wrote:
> > >
> > > Bryan Wright  wrote:
> > >
> > >> Are there technical/philosophical problems that make all versions of
> > >> Bluetooth incompatible with the project, or is it a just matter of
> > >> removing what is not being maintained?
> > >
> > > I'm sure a bunch of you can come up with theories about what actually
> > > transpired, without reading any of the code that used to be here, or
> > > the commit messages.
> > >
> > > Basically, feel free to keep making up stuff.
> > >
> >
> > I’m sorry, Theo.  I’ve read some, but I’m sure I haven’t read all the
> history.  I didn’t mean anything by my question, but perhaps I should have
> done more reading before asking.  Apologies.
>
> Beyond the commit messages, none of us owes anyone any sort of explanation,
> no matter how much it is begged for.
>
> What bothers me greatly is the begging pattern of introducing fake
> theories, and a year or so later those fake theories are used as part of
> the evidence chain in a new discussion, and another few years later even
> more fake discussion is used to create new fake discussion, and
> eventually everyone believes parts of it.
>
> How about if you don't know, stop making up guesses.
>
>
>


Re: What is you motivational to use OpenBSD

2019-09-04 Thread john slee
User since ~2001 here, albeit intermittently. My first encounter with it
was where it was used — mostly to run Postfix, Squid and BIND, if my hazy
memory is trustworthy — by a private company who was effectively an ISP for
many Australian Federal Government departments.

I think the aspect I like most is the gradual, carefully-considered but
also inexorable flow of improvements that may individually look small, but,
when viewed collectively, represent a huge improvement.

A [software developer] colleague recently said, in a different context, "a
big-bang release only guarantees a big bang". Seems appropriate here. I
might have missed one but I can't remember a "big bang" OpenBSD release.
That's a good thing.

John

On Thu, 29 Aug 2019 at 00:32, Mohamed salah 
wrote:

> I wanna put something in discussion, what's your motivational to use
> OPENBSD what not other bsd's what not gnu/Linux, if something doesn't work
> fine on openbsd and you love this os so much what will do?
>


Re: Tools for writers

2019-11-03 Thread john slee
I really like Markdown for actual writing, because its markup for logical
structure is quite low-key and non-distracting, and (unlike *roff or LaTeX)
it also reads pretty well in source form. Tables are fairly annoying,
particularly if I later have to insert a column in mid table.

Use whatever editor works best for you. I use Vim because when I switched
from Emacs back in 1999 my wrist problems disappeared almost overnight, a
consequence of replacing almost all of the multi-key combinations with
single keystrokes. If not for the physiological consequences I would
probably still be using Emacs, or an emacslike such as jed or mg.

Frankly I think it’s a bit weird that so many people are using an editor
with key mappings expressly designed for a (Space Cadet) keyboard that few
people ever had even seen in real life, never mind actually used. But
evidently people cope just fine. That’s good, I guess?

John



On Sun, Nov 3, 2019 at 02:07 Oliver Leaver-Smith  wrote:

> Hello,
>
> What tools do people find useful for writing on OpenBSD? By writing I mean
> long form such as novels and technical books, including plot and character
> development, outlining, and formatting for publishing (not all the same
> application necessarily)
>
> I have found a number which boast Linux support, but not really anything
> that stands out which supports OpenBSD (aside from the obvious LaTeX et al.)
>
> Mich appreciated
>
>  ~ols
> --
> Oliver Leaver-Smith
> +44(0)114-360-1337
> TZ=Europe/London
>


Kinesis Advantage not working with USB 3 in OpenBSD 5.8

2015-11-01 Thread John Wilkes
Hi misc,
 
I use a Kinesis Advantage keyboard. It stopped working when I upgraded to
5.8.
 
It was not a great setback, as I had a similar problem on another machine with
Win 7. If I disable USB 3 in the BIOS, it works again. It just means that I
don't have USB 3, which is not a show-stopper for me. But maybe this is an
issue that would interest one of the devs.

The Kinesis page says:
"Advantage keyboard’s currently do not work on most Windows 7 computers
which have USB 3.0 ports, even if they also have USB 2.0. This problem does
not exist in other operating systems, including Windows 8, Mac & Linux.
Possible work-around: If your Windows 7 computer only has USB 3.0 ports
available, enter the BIOS of your computer during bootup. Look for “USB
Configuration” section in which there may be a checkbox or option for
“Enable USB 3.0 Controller”. Uncheck the box or disable USB 3.0,
reboot,and test keyboard."

I guess we can add OpenBSD to the OS's that do not work.

Cheers,

John

My dmesg below.

OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4158898176 (3966MB)
avail mem = 4028960768 (3842MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed750 (86 entries)
bios0: vendor Intel Corporation version "RYBDWi35.86A.0249.2015.0529.1640"
date 05/29/2015
bios0: Intel Corporation NUC5i3RYB
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF! SSDT SSDT
SSDT DMAR
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4)
PS2K(S3) PS2M(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.47 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.15 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus -1 (RP04)
acpiprt8 at acpi0: bus 2 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: !C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x31),
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0:

Re: Paris..

2015-11-14 Thread John Long
Miod, are you ok? Condolences and hoping for the best for you guys.

/jl

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary/ \http://www.mutt.org
 attachments /   \  Code Blue or Go Home!
 Encrypted email preferred  PGP Key 2048R/DA65BC04 



Regex in doas.conf

2015-12-03 Thread Sebastian John
Hello,

I used sudo wish some expressions in sudoer like:

  foo ALL=NOPASSWD: /bin/bar -a [a-zA-Z][a-zA-Z][a-zA-Z]

This matches commands like „/bin/bar abc" for example.



I try in doas.conf:


  permit nopass foo as root cmd /bin/bar args -a [a-zA-Z][a-zA-Z][a-zA-Z]


but this does not work. Is there a way to use regular expressions in the
configuration like in sudo?


Sebastian

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: How to tune network on Qemu-system-i386

2016-02-11 Thread John Long
Dmitry,

On Thu, Feb 11, 2016 at 10:06:34AM +0500, dmitry.sensei wrote:

> Can you give generic guide to setting up a network in Qemu (OpenBSD)?
> I have one physical re0 interface, which looks to the Internet.

#!/bin/ksh
ifconfig tun0 create
ifconfig tun0 link0
ifconfig tun0 up
ifconfig bridge0 create
#ifconfig bridge0 fwddelay 4
ifconfig bridge0 add re0 add tun0
ifconfig bridge0 up

I can't remember where I found the above but I have been using it with
SIMH. It may have been in the example where somebody shows how to run
OpenBSD VAX under SIMH. In the SIMH .conf you use

at xq tap:tap0

I ASSume you would use a similar syntax in QEMU's config. That is, use
tap:tap0 as your network interface name instead of re0. I commented out the
fwddelay to see if it affected anything and it doesn't seem to in this
application.

/jl

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary/ \http://www.mutt.org
 attachments /   \  Code Blue or Go Home!
 Encrypted email preferred  PGP Key 2048R/DA65BC04 



OpenBSD5.7, hangs on ppb6 "Intel 5000 PCIE" Dell poweredge 1950

2016-02-11 Thread John Nyhuis
We had a drive failure, and after replacement I am reinstalling our 
bridging Firewall, OpenBSD 5.7 - amd64, bsd.mp kernal.  This is the same 
version that was running stably on this server before.


HW: Dell Poweredge 1950 v2, BIOS 2.7.0

We made it through the install OK, but on first boot, I hang on:
"ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x12"
"pci7 at ppb6 bus 1"

I've gone through the BIOS and disabled everything, including the NICs 
which I actually need for the final solution, and I still hang at the 
same device "Intel 5000 PCIE" rev 0x12" while the OS is loading.


Google hasn't turned up much of use.
Any ideas?
--
Thanks,
John N.



Re: OpenBSD5.7, hangs on ppb6 "Intel 5000 PCIE" Dell poweredge 1950

2016-02-12 Thread John Nyhuis
Thanks, I'll start running through our spare PERC5i cards and see if the 
problem is affected.


Thanks,
John Nyhuis, Director
Altius Institute for Biomedical Research
2211 Elliott Avenue
6th Floor, 6S139
Seattle, WA 98121
O: (206)-267-1091 ext 220
F: (206)-441-3033

On 2/11/2016 11:44 PM, Abel Abraham Camarillo Ojeda wrote:

On Thu, Feb 11, 2016 at 6:18 PM, John Nyhuis  wrote:

We had a drive failure, and after replacement I am reinstalling our bridging
Firewall, OpenBSD 5.7 - amd64, bsd.mp kernal.  This is the same version that
was running stably on this server before.

HW: Dell Poweredge 1950 v2, BIOS 2.7.0

We made it through the install OK, but on first boot, I hang on:
"ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x12"
"pci7 at ppb6 bus 1"

I've gone through the BIOS and disabled everything, including the NICs which
I actually need for the final solution, and I still hang at the same device
"Intel 5000 PCIE" rev 0x12" while the OS is loading.

Google hasn't turned up much of use.
Any ideas?
--
Thanks,
John N.



In my experience with this servers - poweredge 1950 - this has been
'fixed' by changing RAID cards,
we keep a lot of PERC5 cards on site because of this...

sometimes we have seen some 'broken capacitors' on these cards,
so sometimes the card was broken, not some hdds

regards~




  1   2   3   4   5   6   7   8   9   10   >