Re: httpd & calibre-server (ebooks)

2024-09-07 Thread Greg Thomas
If I'm reading this correctly you're missing some of this:

https://www.openbsd.org/faq/pf/rdr.html

Not sure what is sending this:

"500 Internal Server Error"

because you haven't mentioned your public IP setup.

On Sat, Sep 7, 2024 at 1:58 PM Am Jam  wrote:

> Hi Everyone,
>
> I am trying to host my ebook collection via the "Calibre Content Server"
> (i.e., calibre-server) on OpenBSD 7.5, but I am having a problem with my
> /etc/httpd.conf.
>
> My ebooks (comprising epub, mobi, and pdf files) are located in
> /var/calibre/library.
>
> I've created a dedicated user, _calibre, to run the server, and I do so
> like this:
>
> # doas -u _calibre calibre-server --port=8004 /var/calibre/library
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
> '/tmp/runtime-_calibre'
> calibre server listening on 0.0.0.0:8004
> OPDS feeds advertised via BonJour at: 192.168.1.78 port: 8004
> _
>
> When I do this, I can, from another computer within my network, navigate
> to http://192.168.1.78:8004 and read my ebooks. So far so good.
> I now want to access the same webpage from outside of the network using a
> domain I've purchased; however, I keep getting the following httpd error
> when I navigate to my URL:
>
> 500 Internal Server Error.
>
>
> Am I missing something obvious?
>
>
> Many Thanks.
>
>
> /etc/httpd.conf:
>
> ### Calibre
> ### https://lit.mydomain.io ###
> server "lit.mydomain.io" {
> listen on * tls port 443
>
> # enable HTTP Strict Transport Security
> hsts {
> preload
> subdomains
> max-age 15768000
> }
>
> tls {
> certificate "/etc/ssl/mydomain.io.fullchain.pem"
> key "/etc/ssl/private/mydomain.io.key"
> }
>
> location "/.well-known/acme-challenge/*" {
> root "/acme"
> request strip 2
> }
>
> # set logs
> log {
> access "calibre-access.log"
> error "calibre-error.log"
> }
>
> # set max upload size to 1G (in bytes)
> connection max request body 1048576000
> connection max requests 1000
> connection request timeout 3600
> connection timeout 3600
>
> # calibre access points
> location "/*" {
> fastcgi socket tcp "127.0.0.1" 8004
> # fastcgi socket tcp "192.168.1.78" 8004
> }
> }
>
> ### http://lit.mydomain.io
> server "lit.mydomain.io" {
> listen on * port 80
>
> location "/.well-known/acme-challenge/*" {
> root "/acme"
> request strip 2
> }
>
> location * {
> block return 302 "https://$HTTP_HOST$REQUEST_URI";
> }
>
> }
>
>
>
> /etc/acme-client.conf:
>
> $ less /etc/acme-client.conf
> authority letsencrypt {
> api url "https://acme-v02.api.letsencrypt.org/directory";
> account key "/etc/acme/letsencrypt-privkey.pem"
> }
>
> authority letsencrypt-staging {
> api url "https://acme-staging.api.letsencrypt.org/directory";
> account key "/etc/acme/letsencrypt-staging-privkey.pem"
> }
>
> domain mydomain.io {
> alternative names { www.mydomain.io, pub.mydomain.io,
> img.mydomain.io, src.mydomain.io, tar.mydomain.io, lit.mydomain.io }
> domain key "/etc/ssl/private/mydomain.io.key"
> domain certificate "/etc/ssl/mydomain.io.crt"
> domain full chain certificate "/etc/ssl/mydomain.io.fullchain.pem"
> sign with letsencrypt
> }
>
>
>
>


Re: Suggestions

2024-09-05 Thread Greg Thomas
Have you ever considered being a comedian?

On Thu, Sep 5, 2024 at 10:50 PM  wrote:

> Drag and drop does not work in xfce ...
> auto mounting of usb memories would be great
>
>


Re: hostname.if

2024-09-05 Thread Greg Thomas
Is this a trick question?

Mine has 1.

On Wed, Sep 4, 2024 at 11:50 PM  wrote:

> What should my hostname.if file look like.
> Is there a minimum amount of settings I need?
>
>


Re: Automatic Disk Partitioning

2024-08-04 Thread Greg Thomas
I don't know if I'm misreading your inquiry but if I have more than enough
storage space why would I allocate way too much space to system partitions
by allocating it proportionally?

On Sun, Aug 4, 2024 at 12:18 PM David Uhden Collado  wrote:

> Hello,
>
> I have observed that the automatic partitioning feature of disklabel(8)
> does not allocate more than approximately 350GB to system partitions
> [1]. In my opinion, the tool should have been designed to use all
> available space on the storage device when partitioning. To address this
> limitation, I had to write a custom program that calculates partition
> sizes to maintain their initial proportions while occupying the entire
> storage device.
>
> I would like to understand the rationale behind this design choice. Is
> there a specific reason why the automatic partitioning is limited to
> around 350GB for system partitions? Any insights or explanations you can
> provide would be greatly appreciated.
>
> References:
> 1. https://man.openbsd.org/disklabel#AUTOMATIC_DISK_ALLOCATION
>
> Best regards,
> David.
>
>


Re: OBS-Studio 26.1.0 and later

2023-12-13 Thread Greg Thomas
So you were using OBS-Studio in the past but can't remember how you
installed it?  As has been shown by others there never was a package for
7.1.  And then you blame the project for removing a package that was never
there in the first place.  Wow.

And you're also totally confusing some OS support with a full
implementation.

On Mon, Dec 11, 2023 at 10:06 PM hammer2_zfs  wrote:

> Hi dears!
>
> I am scripts' kitty ;-)
> I was using OBS-Studio 26.1.0 for Streaming by OpenBSD 7.1.
> since 7.1 to now...
>
> recently, My USB device was gone...
> then, I tried install by pkg_add obs-stuido on OpenBSD 7.4...
> but, I couldn't get the OBS-Studio...
>
> I want to use the OBS-Studio...
> Why, close the support for OBS-Studio...
>


Re: Recognition Of My Wireless Network Device

2023-08-07 Thread Greg Thomas
On Mon, Aug 7, 2023 at 2:02 PM Jay F. Shachter  wrote:

>
> It does not.  The "ifconfig -a" command reports an awareness of lo0,
> em0 (my Ethernet device), enc0, and pflog0.  And nothing else.  How do
> I get OpenBSD to recognize my Broadcom BCM4313 wireless network device?
>

Did you Google "BCM4313 OpenBSD"

The results aren't very encouraging.


Re: Recognition Of Linux LVMs

2023-08-07 Thread Greg Thomas
On Mon, Aug 7, 2023 at 12:20 PM Jay F. Shachter 
wrote:

>
> >
> > As the primary author of OpenBSD's current fdisk/disklabel/etc. I
> > was intrigued by your recent email to misc@  [I]f you want
> > disklabel(8) to say "Linux LVM" for sd0l you would need at a minimum
> > a patch to /usr/src/sys/sys/disklabel.h to add an FS_LINUXLVM define
> > and the string "Linux LVM" to the immediately following
> > fstypenames[] array
> >
>
> Please forgive me for being unclear.
>
> I was not asking whether my Linux volume group could be recognized by
> the OpenBSD "disklabel" program as a Linux volume group, and correctly
> identified as such.  That would certainly be nice, and a welcome
> improvement to the disklabel program, but it was not what I was
> asking.  I was asking whether Linux logical volumes can be recognized
> as disk devices by the OpenBSD kernel, in the way that they can be
> recognized in NetBSD, and in FreeBSD.  Thus, if I have a multiboot
> computer, on which Linux, FreeBSD, and NetBSD have been installed, and
> if, on the Linux system, I create a volume group named "vgname", and I
> then create within that volume group a logical volume named "lvname",
> then, on the NetBSD system, I can access this logical volume by using
> the exact same names that are used on Linux: either /dev/vgname/lvname,
> or /dev/mapper/vgname-lvname.  On FreeBSD the device name is slightly
> different, on FreeBSD you say /dev/linux_lvm/vgname-lvname, but in
> either case the logical volume is visible.  My question for this
> mailing list was: Are Linux logical volumes visible, or can they be
> made visible, on an OpenBSD system?
>
> I have already remarked that my Solaris, Linux, FreeBSD, and NetBSD
> systems can share disk storage (e.g., the /home/jay directory) by
> means of a ZFS pool, but that OpenBSD cannot, because OpenBSD does not
> support ZFS, and that, therefore, installing an OpenBSD system on the
> same hardware will require some duplication of otherwise shared disk
> storage (and I wonder, parenthetically, why FreeBSD and NetBSD are
> willing to support ZFS, but OpenBSD is not).
>

Stuart already told you this:

"Not likely to happen.

Even if there was an implementation written, patents are involved (use is
granted via the CDDL but that's not an acceptable license for OpenBSD)."


Re: Temporary failure when sending emails to this mailing list

2023-07-24 Thread Greg Thomas
On Mon, Jul 24, 2023 at 12:12 PM Jay F. Shachter 
wrote:

>
> I question whether this topic remains of interest to the readers of
> this mailing list, since it no longer has anything to do with OpenBSD,
> only with the character of the man who insulted me when I first tried
> to join the misc@openbsd.org mailing list.  Moreover, the appearance
> on this mailing list of such postings may distract people from other
> postings more deserving of their attention, such as the long, but
> immeasurably interesting, posting that appeared yesterday about the
> inability of the OpenBSD bootloader to boot OpenBSD, which as of this
> writing has elicited no replies.
>

You might get some replies if you rewrote that email quite a bit more
succinctly.   E.g. retain the steps taken along with the results, then
delete irrelevant paragraphs, delete redundancies, delete assumptions,
delete info about other OSes that has nothing to OpenBSD, that will make it
much more readable and less tl;dr.


Re: how to startx with kde?

2023-07-23 Thread Greg Thomas
On Sat, Jul 22, 2023 at 2:46 PM Martin Schröder  wrote:

> Am Sa., 22. Juli 2023 um 23:15 Uhr schrieb Greg Thomas
> :
> > Have you read:
> >
> > https://www.openbsd.org/faq/faq11.html
>
> Where does that mention KDE?
>

It doesn't.  But it also doesn't mention many desktop environments and
display managers.

That being said I clearly haven't kept up with KDE development so I went
down the KDE/Wayland rabbit hole.  For the OP:

https://undeadly.org/cgi?action=article;sid=20210124113220


> P.S.: Please learn to quote


Mea culpa.

Greg


Re: how to startx with kde?

2023-07-22 Thread Greg Thomas
Have you read:

https://www.openbsd.org/faq/faq11.html

On Sat, Jul 22, 2023 at 12:25 PM ykla  wrote:

> Hi,
>
> I install kde by pkg_add kde but how to boot it? Here isn't any login
> manager except gdm in openbsd. But gdm seems that can only boot gnome in
> openbsd.
>
> So how can I boot it? And even it not be booted and why no any warning or
> error after installation?
>
> ykla
>


Re: How Do I Get The OpenBSD Install Procedure To Stop Trashing My Bootloader?

2023-07-14 Thread Greg Thomas
"... use it for serious work."

Hah, sure bro. Seems more like you're just trying to set a personal record
for most bootable OSes on a single system.

On Fri, Jul 14, 2023 at 12:03 AM Rob Schmersel  wrote:

> On Thu, 13 Jul 2023 13:53:24 -0500 (EDT)
> "Jay F. Shachter"  wrote:
>
> > Esteemed Colleagues:
> >
> > Every time I install OpenBSD (the latest version, 7.3), it trashes
> > GRUB, and renders my computer unbootable.  I am guessing, and please
> > correct me if I am wrong, that this is because OpenBSD puts its
> > subpartition table in disk storage that has not been given to it.
> >
> > The internal hard drive is an MBR-partitioned disk belonging to a
> > computer that is configured to do Legacy boot.  Microsoft Windows,
> > Linux, and Haiku are already installed.  Microsoft Windows uses all
> > three primary partitions for itself, because that is what Windows
> > does, and every other operating system has to find a place for itself
> > within the extended partition.
> >
> > The bootloader is GRUB2, and has been, since I installed the Linux
> > system.  The Linux system resides on two logical volumes (root and
> > swap) carved out of an LVM volume group that resides on the first
> > logical slice of the extended partition (which Linux calls /dev/sda5).
> > GRUB2 boots it by means of:
> >
> >  insmod lvm
> >  set root=(lvm/m5-springdale)
> >  linux /boot/vmlinuz root=/dev/m5/springdale
> >  initrd /boot/initramfs.img
> >
> > Haiku resides on the third logical slice of the extended partition,
> > which in Linux is called /dev/sda7, and is booted by means of:
> >
> >  set root=(hd0,7)
> >  chainloader +1
> >
> > OpenBSD was installed -- repeatedly -- in the second logical slice of
> > the extended partition, which in Linux is called /dev/sda6 (and I
> > intend to install NetBSD in /dev/sda9, I have a very subtle sense of
> > humor), and there is already a stanza in my GRUB menu that has been
> > made ready for it:
> >
> >  set root=(hd0,6)
> >  chainloader +1
> >
> > although I am also ready to boot it by means of kopenbsd, if
> > necessary.
> >
> > I never got to execute that stanza in the GRUB menu, however, because
> > the OpenBSD installation has always rendered my system unbootable.  It
> > just didn't boot, not even into the GRUB menu.  I had to repair my
> > system by booting from a recovery CD, mounting /dev/m5/springdale on,
> > e.g., /mnt, furnishing /mnt with appropriate proc, sys and dev
> > filesystems, doing a chroot to /mnt, and then doing a "grub2-install
> > /dev/sda".  Which failed, complaining, inter alia, about a disk with
> > multiple partition tables.  But if I did
> >
> >   dd if=/dev/zero of=/dev/sda bs=512 skip=1 count=2
> >
> > then grub2-install ceased complaining about a disk with multiple
> > partition tables, and it succeeded, and I could then reboot into the
> > GRUB menu.  But now OpenBSD was unbootable.
> >
> > All of this has led me reasonably to theorize that OpenBSD puts its
> > subpartition table outside of the area that belongs to it, which is
> > the second logical slice of the extended partition, which is where I
> > tell it to install itself -- in particular, that it puts its
> > subpartition table near the MBR table, which is an area of disk that
> > does not belong to it, but, rather, to GRUB, which is, consequently,
> > trashed.
> >
> > If this is what is happening, then it is totally bogus.
> >
> > I have nothing against subpartitioning.  Linux doesn't do it, but many
> > respectable operating systems do, like FreeBSD, NetBSD, and Solaris,
> > although Solaris, practically speaking, is usually installed so as to
> > use ZFS rather than UFS, so the entire concept of subpartitioning is
> > obsolete.
> >
> > (Parenthetically, when is OpenBSD going to support ZFS, and join the
> > category of operating systems in which I can do serious work, i.e.,
> > Solaris, Linux, FreeBSD, and NetBSD?  NetBSD didn't use to be in that
> > category, because its implementation of ZFS was brain-damaged, but
> > now it has a good implementation of ZFS, and now it is a member in
> > good standing of the category of operating systems in which I can do
> > serious work.  OpenBSD is not, and in that regard it resembles Haiku,
> > or SkyOS, or Icaros, and that is regrettable, because OpenBSD has
> > other good features that would otherwise make me want to use it for
> > serious work.  But I digress.)
> >
> > But my FreeBSD systems manage to do subpartitioning without trashing
> > GRUB and rendering my computers unbootable.  I assume that is because
> > FreeBSD doesn't overwrite disk storage that doesn't belong to it, but
> > that, rather, it keeps its subpartition table in the area of disk
> > where it has been told to install itself.
> >
> > Now, I do not know for certain that OpenBSD overwrites parts of GRUB
> > with its subpartition table.  I am only theorizing, based on strong
> > circumstantial evidence.  What I do know is that every time I instal

IBM X220 drm errors

2023-04-17 Thread Greg Thomas
Just found my backup laptop had powered off while in the middle of rsyncing
to it over WiFi.  Full dmesg is down below these handful of lines:

Apr 17 14:24:28 grits /bsd: sd1 detached
Apr 17 14:24:28 grits /bsd: scsibus2 detached
Apr 17 14:24:28 grits /bsd: drm:pid7291:cpt_set_fifo_underrun_reporting
*ERROR* [drm] *ERROR* uncleared pch fifo underrun on pch transcoder A
Apr 17 14:24:28 grits /bsd: drm:pid7291:intel_pch_fifo_underrun_irq_handler
*ERROR* [drm] *ERROR* PCH transcoder A FIFO underrun
Apr 17 14:24:28 grits /bsd: xhci0: command ring abort timeout



Apr 17 16:03:12 grits /bsd: OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25
10:36:29 MDT 2023
Apr 17 16:03:12 grits /bsd: dera...@amd64.openbsd.org:
/usr/src/sys/arch/amd64/compile/GENERIC.MP
Apr 17 16:03:12 grits /bsd: real mem = 8451125248 (8059MB)
Apr 17 16:03:12 grits /bsd: avail mem = 8175603712 (7796MB)
Apr 17 16:03:12 grits /bsd: random: good seed from bootblocks
Apr 17 16:03:12 grits /bsd: mpath0 at root
Apr 17 16:03:12 grits /bsd: scsibus0 at mpath0: 256 targets
Apr 17 16:03:12 grits /bsd: mainbus0 at root
Apr 17 16:03:12 grits /bsd: bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000
(66 entries)
Apr 17 16:03:12 grits /bsd: bios0: vendor LENOVO version "8DET69WW (1.39 )"
date 07/18/2013
Apr 17 16:03:12 grits /bsd: bios0: LENOVO 428767U
Apr 17 16:03:12 grits /bsd: acpi0 at bios0: ACPI 4.0
Apr 17 16:03:12 grits /bsd: acpi0: sleep states S0 S3 S4 S5
Apr 17 16:03:12 grits /bsd: acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT
HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT UEFI UEFI UEFI
Apr 17 16:03:12 grits /bsd: acpi0: wakeup devices LID_(S3) SLPB(S3)
IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) EHC2(S3) HDEF(S4)
Apr 17 16:03:12 grits /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
Apr 17 16:03:12 grits /bsd: acpihpet0 at acpi0: 14318179 Hz
Apr 17 16:03:12 grits /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
Apr 17 16:03:12 grits /bsd: cpu0 at mainbus0: apid 0 (boot processor)
Apr 17 16:03:12 grits /bsd: cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz,
2790.99 MHz, 06-2a-07
Apr 17 16:03:12 grits /bsd: 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
Apr 17 16:03:12 grits /bsd: cpu0: 32KB 64b/line 8-way D-cache, 32KB
64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way
L3 cache
Apr 17 16:03:12 grits /bsd: cpu0: smt 0, core 0, package 0
Apr 17 16:03:12 grits /bsd: mtrr: Pentium Pro MTRR support, 10 var ranges,
88 fixed ranges
Apr 17 16:03:12 grits /bsd: cpu0: apic clock running at 99MHz
Apr 17 16:03:12 grits /bsd: cpu0: mwait min=64, max=64,
C-substates=0.2.1.1.2, IBE
Apr 17 16:03:12 grits /bsd: cpu1 at mainbus0: apid 1 (application processor)
Apr 17 16:03:12 grits /bsd: cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz,
2790.97 MHz, 06-2a-07
Apr 17 16:03:12 grits /bsd: 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
Apr 17 16:03:12 grits /bsd: cpu1: 32KB 64b/line 8-way D-cache, 32KB
64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way
L3 cache
Apr 17 16:03:12 grits /bsd: cpu1: smt 1, core 0, package 0
Apr 17 16:03:12 grits /bsd: cpu2 at mainbus0: apid 2 (application processor)
Apr 17 16:03:12 grits /bsd: cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz,
2790.98 MHz, 06-2a-07
Apr 17 16:03:12 grits /bsd: 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
Apr 17 16:03:12 grits /bsd: cpu2: 32KB 64b/line 8-way D-cache, 32KB
64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way
L3 cache
Apr 17 16:03:12 grits /bsd: cpu2: smt 0, core 1, package 0
Apr 17 16:03:12 grits /bsd: cpu3 at mainbus0: apid 3 (application processor)
Apr 17 16:03:12 grits /bsd: cpu3: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz,
2791.00 MHz, 06-2a-07
Apr 17 16:03:12 grits /bsd: 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
Apr 17 16:03:12 grits /bsd: cpu3: 32KB 64b/line 8-way D

Re: Help for another wiped out disklabel

2023-04-13 Thread Greg Thomas
Ok, now that 7.3 is up and running fine on sd0 I can re do my sd1 USB SSD.

This SSD was set up as a 2nd disk back when I originally installed 6.8 on
it so it's hard for me to remember how I would have had it start at 0
rather than 64 as mentioned in the FAQ.

Thanks for reading and reminding me Nick.



On Thu, Apr 13, 2023 at 4:32 PM Nick Holland 
wrote:

> On 4/13/23 16:08, Greg Thomas wrote:
> > Thank you!  I gave it one more shot before attempting the script and I'm
> > back in.  I figured I'd try 0 for the beginning of the partition.
> >
> > grits# disklabel sd1
> > # /dev/rsd1c:
> > type: SCSI
> > disk: SCSI disk
> > label: Ext SSD
> > duid: 2eeb6058175bf1f7
> > flags:
> > bytes/sector: 512
> > sectors/track: 20
> > tracks/cylinder: 22
> > sectors/cylinder: 440
> > cylinders: 2131143
> > total sectors: 937703088
> > boundstart: 0
> > boundend: 937703088
> >
> > 16 partitions:
> > #size   offset  fstype [fsize bsize   cpg]
> >a:9377030400  4.2BSD   4096 32768 1
> >c:9377030880  unused
>
> OUCH.  Don't do this!
>
> I'm not sure why your disklabel got overwritten *in your case*, but there
> is stuff that's supposed to be at sector zero, and a disklabel is NOT IT.
> Something someday will clobber it.  And it did.
>
> Please, back your data up, put either a UEFI or MBR partition table on it,
> and then use the rest of the disk for your backup.  With modern disk
> sizes, the amount of space you "save" isn't worth the first time this
> happens to you.
>
> Nick.
> (who went back to look at your dmesg to make sure it wasn't a sparc64 :)
>
>


Re: Help for another wiped out disklabel

2023-04-13 Thread Greg Thomas
Thank you!  I gave it one more shot before attempting the script and I'm
back in.  I figured I'd try 0 for the beginning of the partition.

grits# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Ext SSD
duid: 2eeb6058175bf1f7
flags:
bytes/sector: 512
sectors/track: 20
tracks/cylinder: 22
sectors/cylinder: 440
cylinders: 2131143
total sectors: 937703088
boundstart: 0
boundend: 937703088

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
  a:9377030400  4.2BSD   4096 32768 1
  c:9377030880  unused

On Thu, Apr 13, 2023 at 2:51 AM  wrote:

> Greg Thomas writes:
> > I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and
> I
> > have no idea what happened to the disklabel on sd1 (during the install I
> > only did an automatic disklabel on sd0).  This is just a backup of my
> > current laptop so not the end of the world (unless my current laptop dies
> > before I have a chance to back it up again).
>
> Part of the solution I used previously to recover my trashed disklabel
> was a script to create a partition on the disklabel with every
> starting value (a simple brute force approach). This proved to be
> far too slow so I resorted to hacking scan_ffs but that's because
> I had other partitions and swap of unknown size to skip over first
> to find the /var/backup partition that I needed.
>
> Since your lost partition is at the beginning of the disc somewhere
> this shouldn't be much of a problem. The end sector doesn't really
> matter if you'll mount the partition read-only provided it's large
> enough; just don't run fsck on it.
>
> Something along the lines of:
>
> for k in `jot 2048`; do echo  | disklabel -e sd0; mount -r
> /dev/sd1a /mnt && echo $k; umount /mnt; done
>
> Where  is multi-line input to disklabel to delete and create
> partition a. Alternatively investigate disklabel's -R option.
>
> Then locate your disklabel backup, investigate -R if you didn't
> already, and restore it exactly.
>
> Matthew
>
>


Help for another wiped out disklabel

2023-04-12 Thread Greg Thomas
I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and I
have no idea what happened to the disklabel on sd1 (during the install I
only did an automatic disklabel on sd0).  This is just a backup of my
current laptop so not the end of the world (unless my current laptop dies
before I have a chance to back it up again).

I was using the whole sd1 disk attached by USB for the backup and from what
I recall I had one big /dev/sd1a mounted on /backup.  Here's the current
disklabel.  The only thing I've tried is changing the boundstart from 2048
to 64, and then creating an a partition with offset of 2048 and 64.  No
luck there.  I'm foggy from getting through the end of a case of COVID so
let me know if there are some obvious parameters I should be using, or if
its futile.

And next time I'll disconnect the USB disk before doing a fresh install.

Thanks for reading.

 grits# disklabel /dev/sd1c
# /dev/sd1c:
type: SCSI
disk: SCSI disk
label: Ext SSD
duid: 2eeb6058175bf1f7
flags:
bytes/sector: 512
sectors/track: 20
tracks/cylinder: 22
sectors/cylinder: 440
cylinders: 2131143
total sectors: 937703088
boundstart: 2048
boundend: 937699328

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
  c:9377030880  unused


dmesg:

OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 8175603712 (7796MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET69WW (1.39 )" date 07/18/2013
bios0: LENOVO 428767U
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.98 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 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.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.97 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.98 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2791.04 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
You should reboot whenever patches or upgrades require it.  Was that a
trick question or something?

On Mon, Nov 28, 2022 at 12:51 AM Greg Thomas 
wrote:

>
>
> On Sun, Nov 27, 2022 at 12:08 PM James Johnson 
> wrote:
>
>> Thank you for this interesting perspective.
>>
>> Combined with the previous advice, I am convinced. I will not try to have
>> the machine sleep, or even try to put the drives in spun down. From what
>> you guys are saying, it seems doing so would be over-engineering.
>>
>> What are your thoughts regarding reboots? Should I do a daily, weekly,
>> monthly reboot?
>>
>>
>> > On 27 Nov 2022, at 20:00, Bodie  wrote:
>> >
>> >
>> >
>> > On 27.11.2022 10:37, James Johnson wrote:
>> >> Hi all,
>> >> OpenBSD is amazing. But I need help in configuring it correctly as a
>> >> remote server, rarely used.
>> >> The main thing I am trying to do is to make it sleep every now and
>> >> then to protect resources. I am very flexible on how to do this, but
>> >> have been unable to do so.
>> >> Here's what I tried :
>> >> 1) Make it sleep and wake up when woken up remotely
>> >> I investigated Wake On Lan, which I enabled via ifconfig. However,
>> >> this system is deployed remotely, and I have no access to other
>> >> computers on the LAN, so I am unable to make this work.
>> >> 2) Make it sleep for a few hours and then wake up
>> >> After 3hours+ of research in man pages and the internet, I have not
>> >> seen any solution for that.
>> >> 3) hard drives Spin down, CPU lower freq
>> >> I have been able to lower the CPU speed by running `apm -L`.
>> >> I haven't been able to spin down the hard drives.
>> >> How important is it to manually send a command to spin down the unused
>> >> harddrives? Will it be down by the system automatically?
>> >> I am trying to get info on the drives from the system but `atactl sd0
>> >> checkpower ` always shows `standby` even after I have just written on
>> >> the disk. I understand this does not work because my drives are SCSI
>> >> and not ATA.
>> >> I read the man page for scsi, and I see the command to spin down hard
>> >> drives : `scsi -f /dev/rsd2c -c "1b 0 0 0 0 0"`
>> >> However, I see no command to spin them back up. Is it automatic?
>> >> How can I request information on the spin state of the drive. I am
>> >> just a little worried about starting to send low levels instructions
>> >> to the hard drive, with little understanding of it. Is it safe to send
>> >> this command?
>> >> Thanks all !
>> >> PS : dmesg : I cannot share the full dmesg for security reasons, but
>> >> it is a fairly standard i386 machine, with 2 drives mounted as SCSI.
>> >
>> > As already pointed out by others. Don't do that ;-) Unless you explain
>> > why you need to do that (I'm sure it is possible without disclosing
>> much)
>> >
>> > I build systems running for eg. 12 years, amd64 architecture, SATA
>> disks,
>> > DDR RAM and so on. Serving number of virtual machines with constantly
>> > higher number of utilizations and in dozens of them only 2 problems
>> > during those years - battery for internal RAID run out :-)
>> >
>> > Saw systems which were running for over 30 years and nothing wrong with
>> > them.
>> >
>> > Can't talk about electricity as those are basically underground cities
>> > and there are different problems then if CPU is running 3 or 1GHz ;-)
>> >
>> > Sounds like maybe some IoT solution, but then go for ARM or use virtual
>> > machine in eg. OpenBSD Amsterdam or you really need compute power on
>> > demand then go for free options in eg. Azure (12 months free basic
>> Linux)
>> > or Oracle Cloud Infrastructure or whatever else you find fit.
>> >
>> > Either it is so important, need to be physically under your control and
>> > then small differences in electricity does not matter or solutions above
>> > are perfectly fine for your needs.
>> >
>> > Just one hint. No matter if own machine or something rented you want
>> that
>> > machine to be worth the money that means to do something on it and not
>> > have it shut down ;-)
>>
>>


Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
On Sun, Nov 27, 2022 at 12:08 PM James Johnson 
wrote:

> Thank you for this interesting perspective.
>
> Combined with the previous advice, I am convinced. I will not try to have
> the machine sleep, or even try to put the drives in spun down. From what
> you guys are saying, it seems doing so would be over-engineering.
>
> What are your thoughts regarding reboots? Should I do a daily, weekly,
> monthly reboot?
>
>
> > On 27 Nov 2022, at 20:00, Bodie  wrote:
> >
> >
> >
> > On 27.11.2022 10:37, James Johnson wrote:
> >> Hi all,
> >> OpenBSD is amazing. But I need help in configuring it correctly as a
> >> remote server, rarely used.
> >> The main thing I am trying to do is to make it sleep every now and
> >> then to protect resources. I am very flexible on how to do this, but
> >> have been unable to do so.
> >> Here's what I tried :
> >> 1) Make it sleep and wake up when woken up remotely
> >> I investigated Wake On Lan, which I enabled via ifconfig. However,
> >> this system is deployed remotely, and I have no access to other
> >> computers on the LAN, so I am unable to make this work.
> >> 2) Make it sleep for a few hours and then wake up
> >> After 3hours+ of research in man pages and the internet, I have not
> >> seen any solution for that.
> >> 3) hard drives Spin down, CPU lower freq
> >> I have been able to lower the CPU speed by running `apm -L`.
> >> I haven't been able to spin down the hard drives.
> >> How important is it to manually send a command to spin down the unused
> >> harddrives? Will it be down by the system automatically?
> >> I am trying to get info on the drives from the system but `atactl sd0
> >> checkpower ` always shows `standby` even after I have just written on
> >> the disk. I understand this does not work because my drives are SCSI
> >> and not ATA.
> >> I read the man page for scsi, and I see the command to spin down hard
> >> drives : `scsi -f /dev/rsd2c -c "1b 0 0 0 0 0"`
> >> However, I see no command to spin them back up. Is it automatic?
> >> How can I request information on the spin state of the drive. I am
> >> just a little worried about starting to send low levels instructions
> >> to the hard drive, with little understanding of it. Is it safe to send
> >> this command?
> >> Thanks all !
> >> PS : dmesg : I cannot share the full dmesg for security reasons, but
> >> it is a fairly standard i386 machine, with 2 drives mounted as SCSI.
> >
> > As already pointed out by others. Don't do that ;-) Unless you explain
> > why you need to do that (I'm sure it is possible without disclosing much)
> >
> > I build systems running for eg. 12 years, amd64 architecture, SATA disks,
> > DDR RAM and so on. Serving number of virtual machines with constantly
> > higher number of utilizations and in dozens of them only 2 problems
> > during those years - battery for internal RAID run out :-)
> >
> > Saw systems which were running for over 30 years and nothing wrong with
> > them.
> >
> > Can't talk about electricity as those are basically underground cities
> > and there are different problems then if CPU is running 3 or 1GHz ;-)
> >
> > Sounds like maybe some IoT solution, but then go for ARM or use virtual
> > machine in eg. OpenBSD Amsterdam or you really need compute power on
> > demand then go for free options in eg. Azure (12 months free basic Linux)
> > or Oracle Cloud Infrastructure or whatever else you find fit.
> >
> > Either it is so important, need to be physically under your control and
> > then small differences in electricity does not matter or solutions above
> > are perfectly fine for your needs.
> >
> > Just one hint. No matter if own machine or something rented you want that
> > machine to be worth the money that means to do something on it and not
> > have it shut down ;-)
>
>


Re: OpenSSH 8.8 ECCN REQUEST

2022-03-11 Thread Greg Thomas
Since the project is based in Canada I don't know if anyone on this list
would have an ECCN.  Unless there's someone on this list from one of the US
companies that exports OpenSSH.

On Fri, Mar 11, 2022 at 12:38 PM  wrote:

> Hello,
>
> Our company is exporting a computer with OpenSSH 8.8 software installed.
>
> We would like to confirm the ECCN of this software.  Would you please
> reply with US ECCN?
>
>
>
> Regards,
> [Icon  Description automatically generated]
> Marella Abraham
> Import/Export Compliance Analyst
> Email: marella.x.abra...@us.tel.com
>
>


Re: How to install yfklog

2022-01-11 Thread Greg Thomas
I'd read through this:

https://www.openbsd.org/faq/faq15.html

After you read that you should be able to verify if the required packages
are available on OpenBSD or not.

And then go through what you think are the correct steps.  And then ask
questions after you've written exactly what you've done if things don't
work.

On Tue, Jan 11, 2022 at 12:06 AM Pascal  wrote:

>
> I want to install yfklog software
> ( https://fkurz.net/ham/yfklog.html ) on OpenBSD. I have no experience.
> The author, Fabian Kurz, says in the installation manual:
>
> "Install the required packages:
>
> Perl
>
> DBI
>
> SQLite
>
> Curses
>
> Make
>
> libwww-perl
>
> On Ubuntu or Debian Linux, you can satisfy all requirements simply by
> running:
> sudo apt-get install perl libdbd-sqlite3-perl libclass-dbi-sqlite-perl
> make libsqlite3-0 libcurses-perl libwww-perl libnet-telnet-perl "
>
>
>
> Do these packets have equivalents on OpenBSD? How do I install them?
>
> Thank you for your help.
>
> Pascal
>
>


Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
So I found an approximate 750MB in a directory under the /backup mount
point.  Removed that and ended up with sane numbers:

grits# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a  986M166M771M18%/
/dev/sd0k 57.7G   25.9G   29.0G47%/home
/dev/sd0d  3.9G   10.0K3.7G 0%/tmp
/dev/sd0f  5.8G1.1G4.4G21%/usr
/dev/sd0g  986M234M702M25%/usr/X11R6
/dev/sd0h 16.8G   35.5M   15.9G 0%/usr/local
/dev/sd0j  5.8G2.0K5.5G 0%/usr/obj
/dev/sd0i  1.9G2.0K1.8G 0%/usr/src
/dev/sd0e 13.8G   18.8M   13.1G 0%/var
/dev/sd1c  440G306G112G73%/backup

grits# du -sxh /
166M/




On Wed, Aug 4, 2021 at 5:30 PM Jay Hart  wrote:

> For those of us following along, could you post the final disk usage?
>
> Thanks,
>
> Jay
>
> > Thank you Todd.  And I'm sorry to Paul for not reading his post more
> > thoroughly regarding the mount points.
> >
> > At some point my rsync script ran while /backup wasn't mounted or
> > something.  The culprit was there.
> >
> > On Wed, Aug 4, 2021 at 1:41 PM Todd C. Miller 
> wrote:
> >
> >> On Wed, 04 Aug 2021 13:32:54 -0700, Greg Thomas wrote:
> >>
> >> > I'm at a loss, I booted in single user mode, ran fsck on /dev/sd0a
> and it
> >> > shows clean.  I still have a large discrepancy between df and du.
> >>
> >> Did you verify that nothing was hiding under the mount points?  For
> >> example, when booted in single user mode with only the root partition
> >> mounted the /tmp, /home, /var, /usr and /backup directories should
> >> be empty.
> >>
> >>  - todd
> >>
> >
>
>
>


Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
Thank you Todd.  And I'm sorry to Paul for not reading his post more
thoroughly regarding the mount points.

At some point my rsync script ran while /backup wasn't mounted or
something.  The culprit was there.

On Wed, Aug 4, 2021 at 1:41 PM Todd C. Miller  wrote:

> On Wed, 04 Aug 2021 13:32:54 -0700, Greg Thomas wrote:
>
> > I'm at a loss, I booted in single user mode, ran fsck on /dev/sd0a and it
> > shows clean.  I still have a large discrepancy between df and du.
>
> Did you verify that nothing was hiding under the mount points?  For
> example, when booted in single user mode with only the root partition
> mounted the /tmp, /home, /var, /usr and /backup directories should
> be empty.
>
>  - todd
>


Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
I'm at a loss, I booted in single user mode, ran fsck on /dev/sd0a and it
shows clean.  I still have a large discrepancy between df and du.



On Wed, Aug 4, 2021 at 2:45 AM Greg Thomas 
wrote:

> Will do, but I should add that I have done nothing on this box for a
> couple of months.  The day before yesterday I realized that I really needed
> to backup my laptop, when I went to run my backup script I discovered that
> I couldn't reach this server.  When I went to troubleshoot I couldn't login
> so I hard rebooted it.
>
> After running fsck in single user mode and letting it fix things I ended
> up being able to log in which is when I discovered that / was full.
>
> Anyway, I'll boot into single user mode later today.  I shouldn't be
> troubleshooting things in the middle of the night.  I probably could have
> retained some more info about my situation if I had waited til the morning
> to troubleshoot the other night.
>
> On Wed, Aug 4, 2021 at 1:14 AM Paul de Weerd  wrote:
>
>> On Wed, Aug 04, 2021 at 12:56:57AM -0700, Greg Thomas wrote:
>> | I take it I'm dealing with filesystem corruption as Ali mentioned
>> earlier?
>>
>> Could be.  Boot the system in single user mode or the bsd.rd
>> installation kernel (at the boot prompt type either 'boot -s' or 'boot
>> bsd.rd').  Enter the shell and run `fsck /`.
>>
>> However, my next guess is that you have some data stored "under" a
>> mountpoint somewhere.  Here's what I mean:
>>
>> # mkdir /mnt/test
>> # du -sh install69.iso
>> 544Minstall69.iso
>> # cp install69.iso /mnt/test
>> # du -xsh /mnt
>> 545M/mnt
>> # vnconfig vnd0 /mnt/test/install69.iso
>> # mount /dev/vnd0c /mnt/test/
>> # du -xsh /mnt
>> 8.0K /mnt
>>
>> Since du can't traverse the hierarchy that the install69.iso image has
>> been mounted over, it also cannot report on the diskspace used by
>> files in that hierarchy.
>>
>> Again, boot into single user mode (or from bsd.rd) and figure this
>> out.
>>
>> Cheers,
>>
>> Paul 'WEiRD' de Weerd
>>
>> | On Tue, Aug 3, 2021 at 11:10 PM Otto Moerbeek  wrote:
>> |
>> | > On Tue, Aug 03, 2021 at 10:57:42PM -0700, Greg Thomas wrote:
>> | >
>> | > > I thought Paul's advice only applies if I was trying to figure it
>> out
>> | > > before rebooting?  I'd already rebooted before sending my first
>> email.
>> | >
>> | > OK, did the free space come back in df after reboot? If so, then it's
>> | > programs having open files that are unlinked for sure.
>> | >
>> | > -Otto
>> | >
>> | > >
>> | > >
>> | > >
>> | > > On Tue, Aug 3, 2021 at 10:40 PM Otto Moerbeek 
>> wrote:
>> | > >
>> | > > > On Tue, Aug 03, 2021 at 12:39:54PM -0700, Greg Thomas wrote:
>> | > > >
>> | > > > > I'm definitely suffering from filesystem corruption on root.  I
>> had
>> | > > > > rebooted last night with no change.
>> | > > > >
>> | > > > > I have no options for mounting root.
>> | > > > >
>> | > > > > grits# cat /etc/fstab
>> | > > > > 16a27b4b4549ce04.b none swap sw
>> | > > > > 16a27b4b4549ce04.a / ffs rw 1 1
>> | > > > > 16a27b4b4549ce04.k /home ffs rw,nodev,nosuid 1 2
>> | > > > > 16a27b4b4549ce04.d /tmp ffs rw,nodev,nosuid 1 2
>> | > > > > 16a27b4b4549ce04.f /usr ffs rw,nodev 1 2
>> | > > > > 16a27b4b4549ce04.g /usr/X11R6 ffs rw,nodev 1 2
>> | > > > > 16a27b4b4549ce04.h /usr/local ffs rw,wxallowed,nodev 1 2
>> | > > > > 16a27b4b4549ce04.j /usr/obj ffs rw,nodev,nosuid 1 2
>> | > > > > 16a27b4b4549ce04.i /usr/src ffs rw,nodev,nosuid 1 2
>> | > > > > 16a27b4b4549ce04.e /var ffs rw,nodev,nosuid 1 2
>> | > > > > /dev/sd1c /backup ffs rw,nodev,nosuid 1 2
>> | > > > >
>> | > > > > I need to upgrade so I can do that from scratch.  This is my
>> backup
>> | > > > server
>> | > > > > so the configuration is pretty simple.
>> | > > > >
>> | > > > > Not sure fsck output helps here?
>> | > > > >
>> | > > > > grits# fsck /dev/sd0a
>> | > > > > ** /dev/rsd0a (NO WRITE)
>> | > > > > ** Last Mounted on /
>> | > > > > ** Roo

Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
Will do, but I should add that I have done nothing on this box for a couple
of months.  The day before yesterday I realized that I really needed to
backup my laptop, when I went to run my backup script I discovered that I
couldn't reach this server.  When I went to troubleshoot I couldn't login
so I hard rebooted it.

After running fsck in single user mode and letting it fix things I ended up
being able to log in which is when I discovered that / was full.

Anyway, I'll boot into single user mode later today.  I shouldn't be
troubleshooting things in the middle of the night.  I probably could have
retained some more info about my situation if I had waited til the morning
to troubleshoot the other night.

On Wed, Aug 4, 2021 at 1:14 AM Paul de Weerd  wrote:

> On Wed, Aug 04, 2021 at 12:56:57AM -0700, Greg Thomas wrote:
> | I take it I'm dealing with filesystem corruption as Ali mentioned
> earlier?
>
> Could be.  Boot the system in single user mode or the bsd.rd
> installation kernel (at the boot prompt type either 'boot -s' or 'boot
> bsd.rd').  Enter the shell and run `fsck /`.
>
> However, my next guess is that you have some data stored "under" a
> mountpoint somewhere.  Here's what I mean:
>
> # mkdir /mnt/test
> # du -sh install69.iso
> 544Minstall69.iso
> # cp install69.iso /mnt/test
> # du -xsh /mnt
> 545M/mnt
> # vnconfig vnd0 /mnt/test/install69.iso
> # mount /dev/vnd0c /mnt/test/
> # du -xsh /mnt
> 8.0K /mnt
>
> Since du can't traverse the hierarchy that the install69.iso image has
> been mounted over, it also cannot report on the diskspace used by
> files in that hierarchy.
>
> Again, boot into single user mode (or from bsd.rd) and figure this
> out.
>
> Cheers,
>
> Paul 'WEiRD' de Weerd
>
> | On Tue, Aug 3, 2021 at 11:10 PM Otto Moerbeek  wrote:
> |
> | > On Tue, Aug 03, 2021 at 10:57:42PM -0700, Greg Thomas wrote:
> | >
> | > > I thought Paul's advice only applies if I was trying to figure it out
> | > > before rebooting?  I'd already rebooted before sending my first
> email.
> | >
> | > OK, did the free space come back in df after reboot? If so, then it's
> | > programs having open files that are unlinked for sure.
> | >
> | > -Otto
> | >
> | > >
> | > >
> | > >
> | > > On Tue, Aug 3, 2021 at 10:40 PM Otto Moerbeek 
> wrote:
> | > >
> | > > > On Tue, Aug 03, 2021 at 12:39:54PM -0700, Greg Thomas wrote:
> | > > >
> | > > > > I'm definitely suffering from filesystem corruption on root.  I
> had
> | > > > > rebooted last night with no change.
> | > > > >
> | > > > > I have no options for mounting root.
> | > > > >
> | > > > > grits# cat /etc/fstab
> | > > > > 16a27b4b4549ce04.b none swap sw
> | > > > > 16a27b4b4549ce04.a / ffs rw 1 1
> | > > > > 16a27b4b4549ce04.k /home ffs rw,nodev,nosuid 1 2
> | > > > > 16a27b4b4549ce04.d /tmp ffs rw,nodev,nosuid 1 2
> | > > > > 16a27b4b4549ce04.f /usr ffs rw,nodev 1 2
> | > > > > 16a27b4b4549ce04.g /usr/X11R6 ffs rw,nodev 1 2
> | > > > > 16a27b4b4549ce04.h /usr/local ffs rw,wxallowed,nodev 1 2
> | > > > > 16a27b4b4549ce04.j /usr/obj ffs rw,nodev,nosuid 1 2
> | > > > > 16a27b4b4549ce04.i /usr/src ffs rw,nodev,nosuid 1 2
> | > > > > 16a27b4b4549ce04.e /var ffs rw,nodev,nosuid 1 2
> | > > > > /dev/sd1c /backup ffs rw,nodev,nosuid 1 2
> | > > > >
> | > > > > I need to upgrade so I can do that from scratch.  This is my
> backup
> | > > > server
> | > > > > so the configuration is pretty simple.
> | > > > >
> | > > > > Not sure fsck output helps here?
> | > > > >
> | > > > > grits# fsck /dev/sd0a
> | > > > > ** /dev/rsd0a (NO WRITE)
> | > > > > ** Last Mounted on /
> | > > > > ** Root file system
> | > > > > ** Phase 1 - Check Blocks and Sizes
> | > > > > ** Phase 2 - Check Pathnames
> | > > > > ** Phase 3 - Check Connectivity
> | > > > > ** Phase 4 - Check Reference Counts
> | > > > > ** Phase 5 - Check Cyl groups
> | > > > > 12852 files, 469195 used, 35516 free (44 frags, 4434 blocks, 0.0%
> | > > > > fragmentation)
> | > > > >
> | > > > > Anyway, I'll reinstall unless someone has more learning
> experiences
> | > for
> | > > > me.
&g

Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
No, after the reboot I'm still in the same situation.  As mentioned earlier
I deleted /bsd.sp so I have a little more free space.

grits# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a  986M916M   20.1M98%/
/dev/sd0k 57.7G   25.9G   29.0G47%/home
/dev/sd0d  3.9G282K3.7G 0%/tmp
/dev/sd0f  5.8G1.1G4.4G21%/usr
/dev/sd0g  986M234M702M25%/usr/X11R6
/dev/sd0h 16.8G   35.5M   15.9G 0%/usr/local
/dev/sd0j  5.8G2.0K5.5G 0%/usr/obj
/dev/sd0i  1.9G2.0K1.8G 0%/usr/src
/dev/sd0e 13.8G   19.0M   13.1G 0%/var
/dev/sd1c  440G306G112G73%/backup

grits# du -xsh /
166M/

I take it I'm dealing with filesystem corruption as Ali mentioned earlier?

On Tue, Aug 3, 2021 at 11:10 PM Otto Moerbeek  wrote:

> On Tue, Aug 03, 2021 at 10:57:42PM -0700, Greg Thomas wrote:
>
> > I thought Paul's advice only applies if I was trying to figure it out
> > before rebooting?  I'd already rebooted before sending my first email.
>
> OK, did the free space come back in df after reboot? If so, then it's
> programs having open files that are unlinked for sure.
>
> -Otto
>
> >
> >
> >
> > On Tue, Aug 3, 2021 at 10:40 PM Otto Moerbeek  wrote:
> >
> > > On Tue, Aug 03, 2021 at 12:39:54PM -0700, Greg Thomas wrote:
> > >
> > > > I'm definitely suffering from filesystem corruption on root.  I had
> > > > rebooted last night with no change.
> > > >
> > > > I have no options for mounting root.
> > > >
> > > > grits# cat /etc/fstab
> > > > 16a27b4b4549ce04.b none swap sw
> > > > 16a27b4b4549ce04.a / ffs rw 1 1
> > > > 16a27b4b4549ce04.k /home ffs rw,nodev,nosuid 1 2
> > > > 16a27b4b4549ce04.d /tmp ffs rw,nodev,nosuid 1 2
> > > > 16a27b4b4549ce04.f /usr ffs rw,nodev 1 2
> > > > 16a27b4b4549ce04.g /usr/X11R6 ffs rw,nodev 1 2
> > > > 16a27b4b4549ce04.h /usr/local ffs rw,wxallowed,nodev 1 2
> > > > 16a27b4b4549ce04.j /usr/obj ffs rw,nodev,nosuid 1 2
> > > > 16a27b4b4549ce04.i /usr/src ffs rw,nodev,nosuid 1 2
> > > > 16a27b4b4549ce04.e /var ffs rw,nodev,nosuid 1 2
> > > > /dev/sd1c /backup ffs rw,nodev,nosuid 1 2
> > > >
> > > > I need to upgrade so I can do that from scratch.  This is my backup
> > > server
> > > > so the configuration is pretty simple.
> > > >
> > > > Not sure fsck output helps here?
> > > >
> > > > grits# fsck /dev/sd0a
> > > > ** /dev/rsd0a (NO WRITE)
> > > > ** Last Mounted on /
> > > > ** Root file system
> > > > ** Phase 1 - Check Blocks and Sizes
> > > > ** Phase 2 - Check Pathnames
> > > > ** Phase 3 - Check Connectivity
> > > > ** Phase 4 - Check Reference Counts
> > > > ** Phase 5 - Check Cyl groups
> > > > 12852 files, 469195 used, 35516 free (44 frags, 4434 blocks, 0.0%
> > > > fragmentation)
> > > >
> > > > Anyway, I'll reinstall unless someone has more learning experiences
> for
> > > me.
> > > >
> > > > And thank you to Paul for giving a quick explanation of the
> difference
> > > > between df and du.
> > > >
> > > > Thanks all!
> > >
> > > fsck looks normal for a mounted filesystem.
> > >
> > > but did you try following Paul's advice to find an open file that has
> > > no directory entry? That is not corruption, but explains why more
> > > storage is in use than du shows.
> > >
> > > -Otto
> > >
> > > >
> > > >
> > > >
> > > > On Tue, Aug 3, 2021 at 11:39 AM Ali Farzanrad <
> ali_farzan...@riseup.net>
> > > > wrote:
> > > >
> > > > > I also suspected that it is a filesystem corruption.
> > > > > Do you have `async` mount option on your root?
> > > > >
> > > > > Sebastien Marie  wrote:
> > > > > > On Tue, Aug 03, 2021 at 10:03:44AM +0200, Paul de Weerd wrote:
> > > > > > > df shows you how much data you can write to an fs, while du
> shows
> > > the
> > > > > > > disk usage of files it can find.  If it can't find a file
> (because
> > > > > > > it's been deleted), it won't account for it.  But if it's been
> > > deleted
> > > > > 

Re: Can't figure out what's taking up space on /

2021-08-03 Thread Greg Thomas
I thought Paul's advice only applies if I was trying to figure it out
before rebooting?  I'd already rebooted before sending my first email.



On Tue, Aug 3, 2021 at 10:40 PM Otto Moerbeek  wrote:

> On Tue, Aug 03, 2021 at 12:39:54PM -0700, Greg Thomas wrote:
>
> > I'm definitely suffering from filesystem corruption on root.  I had
> > rebooted last night with no change.
> >
> > I have no options for mounting root.
> >
> > grits# cat /etc/fstab
> > 16a27b4b4549ce04.b none swap sw
> > 16a27b4b4549ce04.a / ffs rw 1 1
> > 16a27b4b4549ce04.k /home ffs rw,nodev,nosuid 1 2
> > 16a27b4b4549ce04.d /tmp ffs rw,nodev,nosuid 1 2
> > 16a27b4b4549ce04.f /usr ffs rw,nodev 1 2
> > 16a27b4b4549ce04.g /usr/X11R6 ffs rw,nodev 1 2
> > 16a27b4b4549ce04.h /usr/local ffs rw,wxallowed,nodev 1 2
> > 16a27b4b4549ce04.j /usr/obj ffs rw,nodev,nosuid 1 2
> > 16a27b4b4549ce04.i /usr/src ffs rw,nodev,nosuid 1 2
> > 16a27b4b4549ce04.e /var ffs rw,nodev,nosuid 1 2
> > /dev/sd1c /backup ffs rw,nodev,nosuid 1 2
> >
> > I need to upgrade so I can do that from scratch.  This is my backup
> server
> > so the configuration is pretty simple.
> >
> > Not sure fsck output helps here?
> >
> > grits# fsck /dev/sd0a
> > ** /dev/rsd0a (NO WRITE)
> > ** Last Mounted on /
> > ** Root file system
> > ** Phase 1 - Check Blocks and Sizes
> > ** Phase 2 - Check Pathnames
> > ** Phase 3 - Check Connectivity
> > ** Phase 4 - Check Reference Counts
> > ** Phase 5 - Check Cyl groups
> > 12852 files, 469195 used, 35516 free (44 frags, 4434 blocks, 0.0%
> > fragmentation)
> >
> > Anyway, I'll reinstall unless someone has more learning experiences for
> me.
> >
> > And thank you to Paul for giving a quick explanation of the difference
> > between df and du.
> >
> > Thanks all!
>
> fsck looks normal for a mounted filesystem.
>
> but did you try following Paul's advice to find an open file that has
> no directory entry? That is not corruption, but explains why more
> storage is in use than du shows.
>
> -Otto
>
> >
> >
> >
> > On Tue, Aug 3, 2021 at 11:39 AM Ali Farzanrad 
> > wrote:
> >
> > > I also suspected that it is a filesystem corruption.
> > > Do you have `async` mount option on your root?
> > >
> > > Sebastien Marie  wrote:
> > > > On Tue, Aug 03, 2021 at 10:03:44AM +0200, Paul de Weerd wrote:
> > > > > df shows you how much data you can write to an fs, while du shows
> the
> > > > > disk usage of files it can find.  If it can't find a file (because
> > > > > it's been deleted), it won't account for it.  But if it's been
> deleted
> > > > > and still held open by some process, it would still consume disk
> > > > > space.
> > > > >
> > > > > So it looks like a process has a file open on the root filesystem
> that
> > > > > has been deleted.  You're looking for a root-owned process that is
> > > > > (probably) long-running.  My guess the file is in /dev/ (that's my
> > > > > crystal ball talking though).
> > > > >
> > > > > Easiest way out is generally to reboot - this stops all processes
> > > > > (d0h), dus freeing up all the resources they had tied up, including
> > > > > files that had been deleted from the filesystem.  But going through
> > > > > your process list to see if you can spot something that may have
> done
> > > > > this can be a good learning experience.  In general, base OpenBSD
> > > > > daemons don't behave this way.
> > > >
> > > > I agree with Paul: you should have a running process which hold
> > > > descriptor on unlinked file.
> > > >
> > > > fstat(1) could be used to see list of opened files, and specially
> > > > unlinked files:
> > > >
> > > >  INUM   The inode number of the file.  It will be followed by an
> > > asterisk
> > > > (‘*’) if the inode is unlinked from disk.
> > > >
> > > >
> > > > $ fstat | grep -F '* -'
> > > > [...]
> > > > semarie  chrome   537   25 /tmp   48* -rw---   rwp
> > >  279793
> > > > [...]
> > > >
> > > > here, chrome (pid 537) has descriptor 25 opened to a file on /tmp
> > > > inode=48 (unlinked), the file size is 279793 bytes.
> > > >
> > > > --
> > > > Sebastien Marie
> > > >
> > > >
> > >
> > >
>


Re: Can't figure out what's taking up space on /

2021-08-03 Thread Greg Thomas
I'm definitely suffering from filesystem corruption on root.  I had
rebooted last night with no change.

I have no options for mounting root.

grits# cat /etc/fstab
16a27b4b4549ce04.b none swap sw
16a27b4b4549ce04.a / ffs rw 1 1
16a27b4b4549ce04.k /home ffs rw,nodev,nosuid 1 2
16a27b4b4549ce04.d /tmp ffs rw,nodev,nosuid 1 2
16a27b4b4549ce04.f /usr ffs rw,nodev 1 2
16a27b4b4549ce04.g /usr/X11R6 ffs rw,nodev 1 2
16a27b4b4549ce04.h /usr/local ffs rw,wxallowed,nodev 1 2
16a27b4b4549ce04.j /usr/obj ffs rw,nodev,nosuid 1 2
16a27b4b4549ce04.i /usr/src ffs rw,nodev,nosuid 1 2
16a27b4b4549ce04.e /var ffs rw,nodev,nosuid 1 2
/dev/sd1c /backup ffs rw,nodev,nosuid 1 2

I need to upgrade so I can do that from scratch.  This is my backup server
so the configuration is pretty simple.

Not sure fsck output helps here?

grits# fsck /dev/sd0a
** /dev/rsd0a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
12852 files, 469195 used, 35516 free (44 frags, 4434 blocks, 0.0%
fragmentation)

Anyway, I'll reinstall unless someone has more learning experiences for me.

And thank you to Paul for giving a quick explanation of the difference
between df and du.

Thanks all!



On Tue, Aug 3, 2021 at 11:39 AM Ali Farzanrad 
wrote:

> I also suspected that it is a filesystem corruption.
> Do you have `async` mount option on your root?
>
> Sebastien Marie  wrote:
> > On Tue, Aug 03, 2021 at 10:03:44AM +0200, Paul de Weerd wrote:
> > > df shows you how much data you can write to an fs, while du shows the
> > > disk usage of files it can find.  If it can't find a file (because
> > > it's been deleted), it won't account for it.  But if it's been deleted
> > > and still held open by some process, it would still consume disk
> > > space.
> > >
> > > So it looks like a process has a file open on the root filesystem that
> > > has been deleted.  You're looking for a root-owned process that is
> > > (probably) long-running.  My guess the file is in /dev/ (that's my
> > > crystal ball talking though).
> > >
> > > Easiest way out is generally to reboot - this stops all processes
> > > (d0h), dus freeing up all the resources they had tied up, including
> > > files that had been deleted from the filesystem.  But going through
> > > your process list to see if you can spot something that may have done
> > > this can be a good learning experience.  In general, base OpenBSD
> > > daemons don't behave this way.
> >
> > I agree with Paul: you should have a running process which hold
> > descriptor on unlinked file.
> >
> > fstat(1) could be used to see list of opened files, and specially
> > unlinked files:
> >
> >  INUM   The inode number of the file.  It will be followed by an
> asterisk
> > (‘*’) if the inode is unlinked from disk.
> >
> >
> > $ fstat | grep -F '* -'
> > [...]
> > semarie  chrome   537   25 /tmp   48* -rw---   rwp
>  279793
> > [...]
> >
> > here, chrome (pid 537) has descriptor 25 opened to a file on /tmp
> > inode=48 (unlinked), the file size is 279793 bytes.
> >
> > --
> > Sebastien Marie
> >
> >
>
>


Can't figure out what's taking up space on /

2021-08-03 Thread Greg Thomas
grits# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a  986M936M162K   100%/
/dev/sd0k 57.7G   23.7G   31.1G43%/home
/dev/sd0d  3.9G   10.0K3.7G 0%/tmp
/dev/sd0f  5.8G1.1G4.4G21%/usr
/dev/sd0g  986M234M702M25%/usr/X11R6
/dev/sd0h 16.8G   35.5M   15.9G 0%/usr/local
/dev/sd0j  5.8G2.0K5.5G 0%/usr/obj
/dev/sd0i  1.9G2.0K1.8G 0%/usr/src
/dev/sd0e 13.8G   18.8M   13.1G 0%/var
/dev/sd1c  440G305G113G73%/backup

grits# du -xsh /
186M/

I just removed /bsd.sp to free up a little bit of space but I don't
understand the discrepancy between df and du.  How do I troubleshoot
further?

Thanks,
Greg


Re: home printer

2021-02-11 Thread Greg Thomas
On Thu, Feb 11, 2021 at 4:15 AM Stuart Longland 
wrote:

>
> Maybe the imaging drum on your laser has an imperfection that means it
> attracts proportionately more or less toner at a certain spot than other
> areas of the drum.
>
>
Hah, yeah, my old Brother 5250 lays down 3 blobs on every 8 1/2 x 11 sheet
of paper.


Re: home printer

2021-02-10 Thread Greg Thomas
Thanks for the analysis Ian.

On Wed, Feb 10, 2021 at 8:53 AM ropers  wrote:

> I reject the insinuation that only blackmailers need anonymous speech.
> Reality Winner is but one example to the contrary.
> Without anonymous speech, there can be no free speech.
>
> People might deem it a no-brainer that "They" would do something like
> this, but the real no-brainer is understanding that printer
> steganography and the secrecy surrounding it are corrosive to
> democracy, honest commerce and the rule of law.
>
> In any honest commercial transaction, the customer would be informed
> prior to the sale about the presence of any anti-features.  Especially
> when those anti-features enable a government-driven privacy invasion
> or warrantless metadata surveillance.  The U.S. Constitution in
> particular especially protects PAPERS and effects.
>
> In any non-kangaroo court, evidence obtained by secret mechanisms
> mandated by secret laws would be inadmissible.
>
> Obvious technical feasibility does not entitle hackers to do whatever
> they want, and neither can, under any reasonable rule of law,
> governments be allowed to do whatever they want just because they
> perceive some advantage to doing it, and just because they can get
> away with it for a while.
>
> Democracies understand that the people are more trustworthy than
> concentrated power, which is why democracies have the people hold
> governments in check.
> Tyrannies are the opposite, and have governments hold the people in check.
>
> Under any non-tyrannical government of laws, the introduction of
> printer steganography, if carried out, would not have been secret to
> start with.
> In a free society, this would have been a matter of public debate,
> giving the people a chance to reject the intrusion before its
> introduction, and a chance to know what rules they are operating under
> and what world they are living in.
>
> Printer steganography is the kind of chain most people will only
> notice once they move and start exercising their rights.  If you're
> only free because you don't dissent, you're not free.
>
> --Ian
>
>


Re: home printer

2021-02-10 Thread Greg Thomas
Does anyone have examples of  steganography in monochrome laser printers?

On Tue, Feb 9, 2021 at 10:53 PM Stuart Longland 
wrote:

> On 9/2/21 6:43 am, ropers wrote:
> > * Printer steganography -- which I've positively confirmed is indeed
> there,
> >   and which I neither asked for, nor was at any time told anything about
> by
> >   Xerox, especially not pre-purchase.
>
> I think this is situation normal for any printer made this decade.
> Don't like it?  You have three choices:
>
> 1. Find a way to coax an ancient parallel port printer to work with your
> modern Unix workstation.
> 2. Make your own printer.
> 3. Don't print.
>
> (1) could be achieved two ways:
>
> (1a) using either a standard LPT-to- adaptor.  (e.g.
> LPT-to-USB, there are also LPT print servers that present an lpd interface)
> (1b) with off-the-shelf modules to interface to the Centronics interface
> on the printer (which is 5V TTL IIRC) to one of the myriad of 5V-TTL
> compatible microcontroller dev boards out there and doing some hacking
> of the print spooler in OpenBSD along with some firmware development.
>
> (2) has been done various ways (e.g. HomoFaciens on YouTube did a
> junk-box printer using a pen, scrap motors, hand-made optical encoders
> and an Arduino dev board)… admittedly resolution and print speed are
> both poor in such systems unless you're very mechanically and
> electronically skilled.  You may also have to forgo conveniences such as
> an automatic sheet feeder or out-of-pigment notifications.
>
> Many people are doing (3) now, having decided they don't use a printer
> often enough to justify the cost of maintaining one.
> --
> Stuart Longland (aka Redhatter, VK4MSL)
>
> I haven't lost my mind...
>   ...it's backed up on a tape somewhere.
>
>


Re: Enhancing Privacy in 2020 attached screenshot

2020-12-16 Thread Greg Thomas
On Wed, Dec 16, 2020 at 6:12 PM Daniel Jakots  wrote:

>
> While you were "waiting for many decades" (because I assume you were
> not able to do the work), Stuart has done more than 17000 commits in
> OpenBSD. It could be funny to see how clueless you are, if it wasn't
> appalling because of your lack of respect.
>
>
And helped countless others here on misc.  I think I know who I respect,
and who I don't.


Re: CIDR vs aliases with ifconfig/hostname.if

2020-12-02 Thread Greg Thomas
Nope, as mentioned it's the network address, for every subnet you're going
to get a network address and a broadcast address, and your usable IPs in
between.

On Wed, Dec 2, 2020 at 10:45 PM Chris Bennett <
cpb_m...@bennettconstruction.us> wrote:

> On Wed, Dec 02, 2020 at 11:26:15PM -0500, Allan Streib wrote:
> > Mike Coddington  writes:
> >
> > > There was a useful tool that someone posted on misc a while back called
> > > netcalc. I think this is its website:
> > >
> https://jamsek.dev/posts/2019/Sep/21/ipv4-and-ipv6-cidr-subnet-calculator/
> > > Check it out if you want to get a better grasp on CIDR notation.
> >
> > There is also ipcalc in packages and that is one I use frequently,
> > though it's only for IPv4.
> >
> > $ ipcalc 104.149.1.112/28
> > address   : 104.149.1.112
> > netmask   : 255.255.255.240 (0xfff0)
> > network   : 104.149.1.112   /28
> > broadcast : 104.149.1.127
> > host min  : 104.149.1.113
> > host max  : 104.149.1.126
> >
> > Allan
> >
>
> So, what happens with 104.149.1.112? Does anybody get to actually use
> it? Or is it just a placeholder?
>
> I never really paid a lot of attention to CIDR until I started to need a
> lot of IP addresses for websites, email, etc. for TLS/SSL certs.
>
> I stumbled upon this server where I have my other two and I couldn't
> pass up $31 a month. I can't reasonably backup properly at home, too
> slow a connection.
>
> Chris
>
>
>


Re: syspatch -> no partition found ; any simple fix?

2020-10-29 Thread Greg Thomas
On Thu, Oct 29, 2020 at 8:42 PM Amelia A Lewis  wrote:

> Heylas,
>
> So, I ran 6.8 syspatch (patches 002 and 003 together) for three systems
> today (yesterday by the time anyone sees this, most likely). Two came
> right back up as expected. The third didn't, but as it's local, I could
>
> .

Or if it is entirely impossible that "No active partition" could be the
> result of kernel relinking borkage, and it's obvious to someone that
> something else (hardware failure showing up on a reboot?) happened, I'd
> welcome clues. Thanks.
>

 If you were just running syspatch I'd be worried that a hardware failure
showed up on reboot.  I'm way out of practice for troubleshooting OpenBSD
but booting the installer from a USB drive or CD, dropping to a shell and
checking your disk info will answer the hardware question for you.


Re: du man page

2020-10-21 Thread Greg Thomas
had is rad.

On Wed, Oct 21, 2020 at 10:09 AM Ingo Schwarze  wrote:

> Hi,
>
> a...@sdf.org wrote on Wed, Oct 21, 2020 at 11:44:01AM +:
>
> > In du(1) it reads:
> >
> > [...]
> > EXAMPLES
> >  Display a summary of files and folders in the current directory,
> >  sorted by size:
> >
> >$ du -sh * .??* | sort -h
> > [...]
> >
> > This misses file names of the form .a, .1, etc. Better use something like
> >
> > $ du -ahd1 . | sort -h
>
> Committed with three tweaks:
>
>  * The "." is redundant, it is the default for "file",
>as documented in the first paragraph.
>  * POSIX recommends a space between an option and its argument,
>and we usually follow that advice in our manuals.
>  * I like the word "had" better than the word "ahd".
>
> > Where is the best place to report these trivial documentation fixes?
>
> If you include a patch, tech@.  If you don't, misc@ is fine.
>
> Yours,
>   Ingo
>
>
> CVSROOT:/cvs
> Module name:src
> Changes by: schwa...@cvs.openbsd.org2020/10/21 11:00:47
>
> Modified files:
> usr.bin/du : du.1
>
> Log message:
> simplify and improve the example by using the -a and -d options;
> suggested by , tweaked by me
>
>
> Index: du.1
> ===
> RCS file: /cvs/src/usr.bin/du/du.1,v
> retrieving revision 1.37
> diff -u -r1.37 du.1
> --- du.130 Jan 2020 17:54:30 -  1.37
> +++ du.121 Oct 2020 16:56:47 -
> @@ -151,7 +151,7 @@
>  Display a summary of files and folders in the current directory,
>  sorted by size:
>  .Pp
> -.Dl $ du -sh * .??* | sort -h
> +.Dl $ du -had 1 | sort -h
>  .Sh SEE ALSO
>  .Xr df 1 ,
>  .Xr fts_open 3 ,
>
>


Re: sysupgrade with latest snapshot: The directory '/home/_sysupgrade/' does not exist.

2020-09-27 Thread Greg Thomas
 "Have sysupgrade just do the right thing. For example, there could be
a _sysupgrade user in the systems /etc/passwd, whose $HOME would
indicate the preferred location for sets"

Holy fucking overkill.

On Sun, Sep 27, 2020 at 2:29 PM Why 42? The lists account. 
wrote:

>
> On Sun, Sep 27, 2020 at 04:25:58PM -0400, Ian Darwin wrote:
> > > ...
> > > after the download of the new sets and the reboot, I would have been
> > > prompted as to what to do i.e. Install, Upgrade, or Shell.  Then for a
> > > keyboard layout (e.g. de) and for the name of the disk containing
> OpenBSD
> > > (i.e. the system root partition) or "/").
> >
> > Something is wwrong here. That is not how sysupgrade works. Probably you
> > didn't install updated boot blocks and it has been failing to "switch
> > to bsd.upgrade" when rebooting after the download, and your latest
> > change installed the updated boot blocks, and now it is working.
>
> I am not sure about that.
>
> IMO probably the something wrong here is/was that after installing
> OpenBSD as a proof of concept (of a new desktop "daily driver" system) I
> subsequently added a second disk to provide more space, for my /home.
>
> At that time this new disk (an ssd) then became know as, or inherited,
> the name sd0, and the pre-existing nvme device with the OS became sd1.
>
> Since that time I have been able to sysupgrade many times without issue,
> other than that I had to manually respond to sysupgrade e.g. to specify
> which disk device held the OS.
>
> > Here you describe how sysupgrade normally works.
> Right, although what is new for me (I think) is to see this message:
> "Performing non-interactive upgrade..."
>
> > >  2. The upgrade then proceeds, however it fails to identify the
> > >  location of the newly downloaded sets. The error is: "The directory
> > >  '/home/_sysupgrade/' does not exist."
> >
> > I've never tried using a symlink to /home. Can you mount /home properly
> > and see if that works?
> Over many sysupgrades it has always been sufficent to manually respond
> that the sets are on disk, the disk is mounted and that the path to them
> is "/mnt/space/home/_sysupgrade".
>
> Sysupgrade does a nice job presenting the information needed e.g. what is
> mounted where.
>
> I'm not sure what you mean by "Can you mount /home properly". At the
> point were I am having the issue, sysupgrade is in charge, has rebooted
> the system and mounted things where it wants them. Unfortunately, it
> doesn't find the sets and then apparently promptly reboots the system.
>
> What I would like would be able to do (one of):
>  1. Interrupt the "non-interactive upgrade" somehow, so as to provide my
> own answers.
>
>  2. Figure out how to tell sysupgrade the right answers in advance i.e.
> via the auto_upgrade.conf mechanism
>
>  3. Have sysupgrade just do the right thing. For example, there could be
> a _sysupgrade user in the systems /etc/passwd, whose $HOME would
> indicate the preferred location for sets ... But best understand the
> problem before designing a solution :)
>
> I guess that is reverse order of preference :)
>
> Cheers,
> Robb.
>
>
> FYI: From the normal running system:
>
> mjoelnir% sysctl hw.disknames
> hw.disknames=sd0:7a1775fef773535e,sd1:281ef747da03afe7,sd2:67c92dad63883338
>
> mjoelnir% dmesg | grep targ
> ...
> scsibus0 at mpath0: 256 targets
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 2 lun 0: 
> naa.5002538e4109632a
> scsibus2 at nvme0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: 
> scsibus3 at umass0: 2 targets, initiator 0
> sd2 at scsibus3 targ 1 lun 0: 
> serial.1058262039344E4B4E5A
> scsibus4 at vscsi0: 256 targets
> scsibus5 at softraid0: 256 targets
>
> mjoelnir% df -h
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/sd1a 1005M314M640M33%/
> mfs:6361   7.7G201K7.4G 0%/tmp
> /dev/sd1e 58.3G   92.6M   55.3G 0%/var
> /dev/sd1f  2.0G1.2G686M64%/usr
> /dev/sd1g 1005M251M703M26%/usr/X11R6
> /dev/sd1h 19.7G   11.0G7.7G59%/usr/local
> /dev/sd1k  5.9G2.0K5.6G 0%/usr/obj
> /dev/sd1j  2.0G2.0K1.9G 0%/usr/src
> /dev/sd1l  295G   10.0G271G 4%/fast
> /dev/sd0h  1.8T964G758G56%/space
>
> (sd2 is just a USB attached external Western Digital hard disk for
> backup.)
>
>


Re: Intl I350 Network Card Not Found

2020-09-17 Thread Greg Thomas
On Thu, Sep 17, 2020 at 11:43 AM Brandon Woodford  wrote:

> Hello,
>
> I've been trying  to fix an issue with my Intel I350-T4 PCI Network card
> not being reported to the OpenBSD 6.7 system during boot. Looking through
> dmesg, I was not able to find any reference to the card or the em interface
> name that it should have. I've also tried updating all firmware with
> fw_update.


And what was the result?  What's the current output of fw_update -i?


> After that I tried creating a /etc/hostname.em1 file that just has dhcp
> included in it and ran sh /etc/netstart. Unfortunately, no luck as of yet.
> I was able to find the boot_config(8) man page that describes a similar
> issue with the ne(4) driver. I went into the boot configuration and ran:
> find em and received a response of: em* at pci* dev -1 function -1 flags
> 0x0. Not sure if that means anything.
>

I'm running a different Intel em card but here's what your dmesg would like
if it was initialized:

em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
f0:de:f1:d9:fa:03

In the long run I probably can't help you, but if others are to help you
you should include a full dmesg.

Greg


Re: home printer

2020-09-17 Thread Greg Thomas
I've always been happy with the cheap Brother laser printers with ethernet,
even with just their version of Postscript.  But I believe they still sell
Postscript printers, too.

On Thu, Sep 17, 2020 at 10:07 AM Ingo Schwarze  wrote:

> Hi Carson,
>
> Carson Chittom wrote on Thu, Sep 17, 2020 at 09:51:45AM -0500:
> > Jan Stary  writes:
>
> >> Can people please recommend a home laser printer
> >> that is known to work well with OpenBSD?
> >>
> >> I would like to avoid cups, and possibly a2ps
> >> and foo* and if= and all that dance
> >> - a printer that speaks postscript and is as easy as
> >> lp:lp=/dev/lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
>
> > HP at least used to (and I assume still do) make several decent
> > printers that spoke Postscript.
>
> That answer used to be spot on until about the year 2000.  After
> that, quality of HP laser printers went down the drain very rapidly.
> One office i worked in decided in 2003 that the then more then five
> year old HP LaserJet might die from old age soon and bought a new
> one to be safe and not experience service disruption.  The old one
> was left running, too, because why not, and printing traffic was
> shared about evenly between the two because people tended to use
> the one closest to their desk.
>
> When the *successor* of the new one died from old age about six to
> eight years later (i.e. when two of the new ones had worn out one
> after the other, don't remember how long they lasted exactly, but
> not longer than three or four years i think), the old one was still
> going strong.  If i remember correctly, when the pre-2000 one finally
> did die from old age, it was probably fifteen years old, if not
> more, with continuous office use.
>
> I doubt HP printers have become better again, but i'm not sure.
>
> > In particular, I've used the
> > CP1525nw in the past with OpenBSD.  Haven't tried it in a couple
> > years, though; none of my OpenBSD machines need to print, these
> > days.
>
> Same here.  Currently, a Kyocera P2135dn is sitting on the desk here,
> but i can't say whether it is good because i'm printing so little.
>
> To the OP, what matters is a decent PostScript Processor
> and a RJ45 Ethernet connector, then it will work with OpenBSD
> no matter what.
>
> Yours,
>   Ingo
>
>


Re: Troubleshooting rsync

2020-09-10 Thread Greg Thomas
Just to add to the archives I set up another Window 10 laptop, set up WSL
but this time used OpenSUSE and rsync works fine.

On Sun, Sep 6, 2020 at 5:32 AM Todd C. Miller  wrote:

> On Fri, 04 Sep 2020 22:57:03 -0700, Greg Thomas wrote:
>
> > Hey all, I'm trying to use WSL on Windows 10 to backup to my OpenBSD
> server
> > running 6.7 release.  It looks like Debian on WSL is using rsync version
> > 3.1.2.  I tried both the rsync package and openrsync on OpenBSD with the
> > same results.Basically rsync never exits and when I use four Vs for
> > verbosity the last line is 'client_run waiting on..."   rsync locally
> works
> > fine.
>
> Are you using WSL 1 or WSL 2?  If possible, I'd suggest testing with WSL 2.
> You can convert between WSL 1 and 2 pretty easily.
>
>  - todd
>


Re: Troubleshooting rsync

2020-09-06 Thread Greg Thomas
Thanks for reading this.  This server hasn't been patched yet, so if I
understand correctly the lack of output of syspatch -l that I get is
because I haven't patched anything yet.

Yes, I'm using it over SSH.

>From checking a couple of directories that I added to my backup script it
looks like everything transfers.  I wait until I see " client_run waiting
on", hit ctrl C, and the script moves on.

On Sat, Sep 5, 2020 at 8:55 PM Predrag Punosevac 
wrote:

> Greg Thomas  wrote:
>
> > Hey all, I'm trying to use WSL on Windows 10 to backup to my OpenBSD
> server
> > running 6.7 release.  It looks like Debian on WSL is using rsync version
> > 3.1.2.  I tried both the rsync package and openrsync on OpenBSD with the
> > same results.Basically rsync never exits and when I use four Vs for
> > verbosity the last line is 'client_run waiting on..."   rsync locally
> works
> > fine.
> >
> > I'm not sure how to go about troubleshooting this further.  Any
> suggestions
> > would be appreciated.
> >
>
> Could you please show the output of the command syspatch -l ?  Could you
> please confirm that you are doing rsync over ssh rather than using rsync
> own protocol?
>
> Based upon what I see this might be actually LibreSSL bug similar to the
> one previously reported by me
>
> https://marc.info/?l=openbsd-misc&m=159718134822470&w=2
>
> It looks like SSL session is just not closing. Did rsync actually
> transfer data?
>
> Best,
> Predrag
>
>
> > ethant@NIHILANON:/mnt/c/Users/ethant$ rsync -r
> > --rsync-path=/usr/bin/openrsync -e /mnt/c/Windows/System32/OpenSSH/ss
> > h.exe /mnt/c/Users/ethant/Downloads ethant@192.168.0.61:/home/ethant/
> > cmd=/mnt/c/Windows/System32/OpenSSH/ssh.exe machine=192.168.0.61
> > user=ethant path=/home/ethant/
> > cmd[0]=/mnt/c/Windows/System32/OpenSSH/ssh.exe cmd[1]=-l cmd[2]=ethant
> > cmd[3]=192.168.0.61 cmd[4]=/usr/bin/openrsync cmd[5]=--server
> > cmd[6]=-re.iLsfxC cmd[7]=. cmd[8]=/home/ethant/
> > opening connection using: /mnt/c/Windows/System32/OpenSSH/ssh.exe -l
> ethant
> > 192.168.0.61 /usr/bin/openrsync --server -re.iLsfxC . /home/ethant/
> (9
> > args)
> > msg checking charset: UTF-8
> > (Client) Protocol versions: remote=27, negotiated=27
> > /usr/src/usr.bin/rsync/server.c:99: server detected client version 31,
> > server version 27, seed -1979080380
> > building file list ... /usr/src/usr.bin/rsync/server.c:128: server
> starting
> > receiver
> >
> > [sender] make_file(Downloads,*,0)
> > [sender] pushing local filters for /mnt/c/Users/ethant/Downloads/
> > [sender] make_file(Downloads/desktop.ini,*,2)
> > [sender] popping local filters
> > done
> > [sender] flist start=0, used=2, low=0, high=1
> > [sender] i=0 /mnt/c/Users/ethant Downloads/ mode=040777 len=512 flags=5
> > [sender] i=1 /mnt/c/Users/ethant Downloads/desktop.ini mode=0100777
> len=282
> > flags=0
> > send_file_list done
> > [sender] flist_eof=1
> > file list sent
> > send_files starting
> > /usr/src/usr.bin/rsync/flist.c:739: Downloads: received file metadata:
> size
> > 512, mtime 1599280175, mode 40777, rdev (0, 0)
> > /usr/src/usr.bin/rsync/flist.c:739: Downloads/desktop.ini: received file
> > metadata: size 282, mtime 1599125537, mode 100777, rdev (0, 0)
> > /usr/src/usr.bin/rsync/flist.c:765: received file metadata list: 2
> > /usr/src/usr.bin/rsync/flist.c:169: Downloads: top-level
> > /usr/src/usr.bin/rsync/receiver.c:233: /home/ethant/: receiver
> destination
> > /usr/src/usr.bin/rsync/receiver.c:329: /home/ethant/: ready for phase 1
> data
> > /usr/src/usr.bin/rsync/uploader.c:544: Downloads: updating directory
> > /usr/src/usr.bin/rsync/uploader.c:949: i=0, offs=700, msz=282,
> blk.len=700,
> > blk.rem=282
> > send_files(1, /mnt/c/Users/ethant/Downloads/desktop.ini)
> > /usr/src/usr.bin/rsync/uploader.c:957: Downloads/desktop.ini: mapped 282
> B
> > with 1 blocks
> > /usr/src/usr.bin/rsync/uploader.c:848: uploader: finished
> > count=1 n=700 rem=282
> > chunk[0] len=282 offset=0 sum1=d0fa3006
> > send_files mapped /mnt/c/Users/ethant/Downloads/desktop.ini of size 282
> > calling match_sums /mnt/c/Users/ethant/Downloads/desktop.ini
> > Downloads/desktop.ini
> > built hash table
> > hash search b=700 len=282
> > sum=d0fa3006 k=282
> > hash search s->blength=700 len=282 count=1
> > potential match at 0 i=0 sum=d0fa3006
> > match at 0 last_match=0 j=0 len=282 n=0
> > done hash search
> > sending file_sum
> > false_alarms=0 hash

Troubleshooting rsync

2020-09-04 Thread Greg Thomas
Hey all, I'm trying to use WSL on Windows 10 to backup to my OpenBSD server
running 6.7 release.  It looks like Debian on WSL is using rsync version
3.1.2.  I tried both the rsync package and openrsync on OpenBSD with the
same results.Basically rsync never exits and when I use four Vs for
verbosity the last line is 'client_run waiting on..."   rsync locally works
fine.

I'm not sure how to go about troubleshooting this further.  Any suggestions
would be appreciated.

ethant@NIHILANON:/mnt/c/Users/ethant$ rsync -r
--rsync-path=/usr/bin/openrsync -e /mnt/c/Windows/System32/OpenSSH/ss
h.exe /mnt/c/Users/ethant/Downloads ethant@192.168.0.61:/home/ethant/
cmd=/mnt/c/Windows/System32/OpenSSH/ssh.exe machine=192.168.0.61
user=ethant path=/home/ethant/
cmd[0]=/mnt/c/Windows/System32/OpenSSH/ssh.exe cmd[1]=-l cmd[2]=ethant
cmd[3]=192.168.0.61 cmd[4]=/usr/bin/openrsync cmd[5]=--server
cmd[6]=-re.iLsfxC cmd[7]=. cmd[8]=/home/ethant/
opening connection using: /mnt/c/Windows/System32/OpenSSH/ssh.exe -l ethant
192.168.0.61 /usr/bin/openrsync --server -re.iLsfxC . /home/ethant/  (9
args)
msg checking charset: UTF-8
(Client) Protocol versions: remote=27, negotiated=27
/usr/src/usr.bin/rsync/server.c:99: server detected client version 31,
server version 27, seed -1979080380
building file list ... /usr/src/usr.bin/rsync/server.c:128: server starting
receiver

[sender] make_file(Downloads,*,0)
[sender] pushing local filters for /mnt/c/Users/ethant/Downloads/
[sender] make_file(Downloads/desktop.ini,*,2)
[sender] popping local filters
done
[sender] flist start=0, used=2, low=0, high=1
[sender] i=0 /mnt/c/Users/ethant Downloads/ mode=040777 len=512 flags=5
[sender] i=1 /mnt/c/Users/ethant Downloads/desktop.ini mode=0100777 len=282
flags=0
send_file_list done
[sender] flist_eof=1
file list sent
send_files starting
/usr/src/usr.bin/rsync/flist.c:739: Downloads: received file metadata: size
512, mtime 1599280175, mode 40777, rdev (0, 0)
/usr/src/usr.bin/rsync/flist.c:739: Downloads/desktop.ini: received file
metadata: size 282, mtime 1599125537, mode 100777, rdev (0, 0)
/usr/src/usr.bin/rsync/flist.c:765: received file metadata list: 2
/usr/src/usr.bin/rsync/flist.c:169: Downloads: top-level
/usr/src/usr.bin/rsync/receiver.c:233: /home/ethant/: receiver destination
/usr/src/usr.bin/rsync/receiver.c:329: /home/ethant/: ready for phase 1 data
/usr/src/usr.bin/rsync/uploader.c:544: Downloads: updating directory
/usr/src/usr.bin/rsync/uploader.c:949: i=0, offs=700, msz=282, blk.len=700,
blk.rem=282
send_files(1, /mnt/c/Users/ethant/Downloads/desktop.ini)
/usr/src/usr.bin/rsync/uploader.c:957: Downloads/desktop.ini: mapped 282 B
with 1 blocks
/usr/src/usr.bin/rsync/uploader.c:848: uploader: finished
count=1 n=700 rem=282
chunk[0] len=282 offset=0 sum1=d0fa3006
send_files mapped /mnt/c/Users/ethant/Downloads/desktop.ini of size 282
calling match_sums /mnt/c/Users/ethant/Downloads/desktop.ini
Downloads/desktop.ini
built hash table
hash search b=700 len=282
sum=d0fa3006 k=282
hash search s->blength=700 len=282 count=1
potential match at 0 i=0 sum=d0fa3006
match at 0 last_match=0 j=0 len=282 n=0
done hash search
sending file_sum
false_alarms=0 hash_hits=1 matches=1
sender finished /mnt/c/Users/ethant/Downloads/desktop.ini
send_files phase=1
/usr/src/usr.bin/rsync/downloader.c:435: Downloads/desktop.ini: temporary:
Downloads/.desktop.ini.M0XjFWs8af
/usr/src/usr.bin/rsync/downloader.c:514: Downloads/.desktop.ini.M0XjFWs8af:
copied 282 B
/usr/src/usr.bin/rsync/receiver.c:99: Downloads/desktop.ini: updated
permissions
send files finished
/usr/src/usr.bin/rsync/downloader.c:321: downloader: phase complete
/usr/src/usr.bin/rsync/receiver.c:404: /home/ethant/: receiver ready for
phase 2 data
total: matches=1  hash_hits=1  false_alarms=0 data=0
/usr/src/usr.bin/rsync/receiver.c:453: receiver finished updating
client_run waiting on 3218


Re: How to split install.wim

2020-09-02 Thread Greg Thomas
I believe NTFS is read only on *BSD.

On Tue, Sep 1, 2020 at 11:44 PM Peter Nicolai Mathias Hansteen <
pe...@bsdly.net> wrote:

>
>
> > 2. sep. 2020 kl. 07:33 skrev Predrag Punosevac :
> >
> > Hi All,
> >
> > I am using my desktop
> >
> > predrag@oko$ uname -a
> > OpenBSD oko.int.bagdala2.net 6.7 GENERIC.MP#5 amd64
> >
> > to create a bootable Windows 10 USB flash drive. It is a paid job
> > although I would not be surprised that my consent to do it, is
> > consistent with the early signs of dementia. I just wasted a few hours
> > of my life to find out that install.wim is too large to be written on
> > Fat32 file system as described in this article
> >
> >
> https://www.zdnet.com/article/windows-10-installer-files-too-big-for-usb-flash-drive-heres-the-fix/
>
> Urgh. I’s probably due to the lack of a useful dd analogue that they make
> users jump through hoops like that.
>
> Otherwise my initial reaction before reading the article was ‘just use
> dd’, but that would be totally foreign territory to most Windows admins
> most likely.
>
> But I agree with Aaron that the other workaround would be to format the
> USB drive as NTFS to start with, that would not be subject to the 4GB file
> size restriction. Just how good the NTFS support is in OpenBSD I have no
> personal experience with, though.
>
> All the best,
>
> —
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
> "Remember to set the evil bit on all malicious network traffic"
> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
>
>
>
>
>


Re: Can I boot without GPU ("headless")?

2020-08-30 Thread Greg Thomas
set timeout 5?

On Sun, Aug 30, 2020 at 2:50 AM Henry W. Peterson <
henrywillpeter...@outlook.com> wrote:

> To Greg Thomas :
>
> Ok, one final question: Is there a way to make the boot process wait 5
> seconds for commands in the vga+keyboard phase but when "set tty com0" then
> load the kernel automatically?
>
> As a little test, I wrote in my personal computer's boot prompt "set tty
> pc0", it "switches to pc0" (it was already there, but shows again the
> "OpenBSD/amd64 BOOT X.XX" message)  and it waits indefinitely for commands.
>
> If this happens in the ones with the serial port after "set tty com0",
> then I assume it would wait there indefinitely too.
>
> Thank you in advance.
>


Re: Can I boot without GPU ("headless")?

2020-08-29 Thread Greg Thomas
On Sat, Aug 29, 2020 at 10:48 AM Henry W. Peterson <
henrywillpeter...@outlook.com> wrote:

>
> To Ian Darwin :
>
> But the password has already been entered, that is previous the boot
> prompt.
>
> When I type "set tty com0", would that immediately switch console? I
> thought it established the console for the single user mode while loading
> /bsd (typical white letters on a blue background).
>

Yes, it's been a long while but if you have a monitor and keyboard attached
you will no longer be able to use them.  For getting further info from the
boot  process you'll have to have a serial console attached.


>
> About the "pins"; yes, those are the ones. But I was assuming to use them
> on both ends. Are you suggesting the use of an USB to Serial adapter to
> safely disconnect the USB end of the cable and that it would make it then
> safe to disconnect the other end too?
>

Yes, I believe it's safe to remove them in any order actually.

Greg


Re: Can I boot without GPU ("headless")?

2020-08-28 Thread Greg Thomas
This is old and things may have changed since then, but for the simple PC
without a graphics card that I used for a wireless AP running off of
compact flash this is all I did:

https://www.cyberciti.biz/faq/openbsd-connect-serial-console/



On Fri, Aug 28, 2020 at 12:29 PM Henry W. Peterson <
henrywillpeter...@outlook.com> wrote:

> Hello,
>
> I have several Asus A320M-K motherboards with AMD Ryzen 3 1200 (which does
> not include a GPU) in very simple computers.
>
> I installed OpenBSD on them using a GigaByte GT710 graphics card. After
> reboot, everything works perfectly.
>
> My idea was to install and configure the systems with the graphics card
> and then remove it and control them by SSH (I only have one card).
>
> I disabled at the BIOS the "Wait for F1 if Error" option so it continues
> booting without the GPU. I am pretty sure it does:
>
> I encrypted the disk during installation with bioctl and softraid; if I do
> nothing, type intentionally a wrong password or simply press enter, the
> "num lock" led stays on and pressing the power button shut the system down
> in immediately. If I type the correct password, after 10 seconds the "num
> lock" led turns off and the power button only works if pressed for 5
> seconds.
>
> So I assume the kernel panics because the GPU is missing.
>
> Do I need a graphics card installed all the time?
>
> The motherboard has pins for a COM serial port, during installation I was
> asked if I wanted "com0" to become the default console. I said no.
>
> Could I be booting the system had I said yes (without actually using the
> port, again, I would use ssh)?
>
> If so, can I change this after installation?
>
> If not, is there anything I can do to be able to boot without the graphics
> card?
>
> Thank you.
>


Re: Microsoft's war on plain text email in open source

2020-08-26 Thread Greg Thomas
"... he had to set up an entirely new mail client which didn’t mangle his
email message to HTML-ise... That’s a barrier to entry that’s pretty
high..."

Wow.  Life's rough.

On Wed, Aug 26, 2020 at 2:31 AM Frank Beuth  wrote:

> "Linux kernel development  which is driven by plain-text email
> discussion  needs better or alternative collaborative tooling "to bring
> in new contributors and maintain and sustain Linux in the future," says
> Sarah Novotny, Microsoft's representative on the Linux Foundation board.
>
> Said tooling could be "a text-based, email-based patch system that can
> then also be represented in a way that developers who have grown up in
> the last five or ten years are more familiar with," she added.
>
> ...
>
> Should it migrate toward something more like, say, issues and pull
> requests on the Microsoft-owned GitHub? “I’m not saying that there will
> be a move in any time that I can see  my crystal ball’s broken  but I do
> think there needs to be expansions in the way people can enter that
> workflow,” said Novotny.
>
> “It is a fairly specific workflow that is a challenge for some newer
> developers to engage with. As an example, my partner submitted a patch
> to OpenBSD a few weeks ago, and he had to set up an entirely new mail
> client which didn’t mangle his email message to HTML-ise or do other
> things to it, so he could even make that one patch. That’s a barrier to
> entry that’s pretty high for somebody who may want to be a first-time
> contributor.”"
>
> https://www.theregister.com/2020/08/25/linux_kernel_email/
>
>


Re: FAQ file sets missing cmdbox

2020-08-25 Thread Greg Thomas
Interesting.  I used my phone a bunch to check the FAQ when I got back to
OpenBSD a couple of months ago, and I'm checking on my phone now
(Android/Chrome), and it still looks fine.

On Tue, Aug 25, 2020 at 1:04 AM Zé Loff  wrote:

>
> On Tue, Aug 25, 2020 at 12:04:57AM -0700, Greg Thomas wrote:
> > I'm getting pretty old and struggle with stuff like this more and more
> > these days but I don't see what is "very difficult to follow" about the
> > current layout, and  I'm not sure what's weird about it either?
>
> Indentation gets messed up on a narrow screen/window, I think that's
> what the OP meant.
>
> > On Mon, Aug 24, 2020 at 10:09 PM Jungle Boogie 
> > wrote:
> >
> > > Hi,
> > >
> > > I don't think it's intended for the file sets section of the FAQ is be
> > > formatted so weird. If the current layout is correct, it's very
> > > difficult to follow.
> > >
> > > https://www.openbsd.org/faq/faq4.html#FilesNeeded
> > >
> > > I think the section needs to go into the cmdbox class, such as the
> > > simple install section above the file sets.
> > >
> > > Thanks,
> > > j.b.
> > >
> > >
>
> --
>
>


Re: FAQ file sets missing cmdbox

2020-08-25 Thread Greg Thomas
I'm getting pretty old and struggle with stuff like this more and more
these days but I don't see what is "very difficult to follow" about the
current layout, and  I'm not sure what's weird about it either?

On Mon, Aug 24, 2020 at 10:09 PM Jungle Boogie 
wrote:

> Hi,
>
> I don't think it's intended for the file sets section of the FAQ is be
> formatted so weird. If the current layout is correct, it's very
> difficult to follow.
>
> https://www.openbsd.org/faq/faq4.html#FilesNeeded
>
> I think the section needs to go into the cmdbox class, such as the
> simple install section above the file sets.
>
> Thanks,
> j.b.
>
>


Re: how to mount phone?

2020-07-14 Thread Greg Thomas
Well, damn, I'm sorry, I guess I got myself confused.  I could have sworn I
used my phone to transfer a file when I couldn't find a thumbdrive but I
only get cd0 with some drivers and an adb script.

umass0 at uhub3 port 2 configuration 1 interface 1 "OnePlus OnePlus" rev
2.10/4.09 addr 6
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
cd0 at scsibus4 targ 1 lun 0:  removable
ugen2 at uhub3 port 2 configuration 1 "OnePlus OnePlus" rev 2.10/4.09 addr 6


On Tue, Jul 14, 2020 at 4:15 AM Abel Abraham Camarillo Ojeda <
acam...@verlet.org> wrote:

> On Tue, Jul 14, 2020 at 5:07 AM Jan Stary  wrote:
>
> > On Jul 13 14:39:35, justinkm...@gmail.com wrote:
> > > Just wishing to mount my phone to access photos.
> > > Here's the output from dmesg:
> > > ugen0 at uhub0 port 3 "Alcatel U50? Alcatel U50?" rev 2.00/3.10 addr 2
> > > Any ideas on how this might be mounted??
> >
> > I believe phone OSes go out of their way to _not_ expose
> > the storage as an umass. You need a dedicated app to do
> > things as fundamental as copying a file.
> >
> >
> I think you can use adb (in packages) to copy more "easily"
> (without installing third-party apps on phone):
>
> https://developer.android.com/studio/command-line/adb#copyfiles
>


Re: how to mount phone?

2020-07-13 Thread Greg Thomas
Have you set your USB preferences on your phone?  To File transfer?  My
Android defaults to charging only.

On Mon, Jul 13, 2020 at 2:57 PM Justin Muir  wrote:

> Hi,
>
> Just wishing to mount my phone to access photos.
>
> Here's the output from dmesg:
>
> ugen0 at uhub0 port 3 "Alcatel U50? Alcatel U50?" rev 2.00/3.10 addr 2
>
> Any ideas on how this might be mounted??
>
>
> tia!
>


Re: ls -R bug?

2020-07-04 Thread Greg Thomas
Man, it goes to show you that with complex systems it's still worth
reporting potential bugs even with heavily used utilities.

On Sat, Jul 4, 2020 at 2:23 PM Brian Brombacher 
wrote:

>
> > On Jul 4, 2020, at 3:10 PM, Brian Brombacher 
> wrote:
> >
> > Hmm...
> >
> > /bin/ls, a utility that has existed since 1960’s.
> >
> > This is not a bug.
> >
> > https://en.m.wikipedia.org/wiki/Ls
> >
>
> Please disregard this poor advice.  Obviously this isn’t the 1960’s and it
> ain’t the same code :)
>
> There was a bug as you identified correctly.
>
>


Re: It's been awhile

2020-07-04 Thread Greg Thomas
Happy Birthday Austin

On Sat, Jul 4, 2020 at 9:08 AM Austin Hook  wrote:

>
> Just noticed your post about, among other things, the old big puffy
> wireframe stickers.  Nice story about getting back into OpenBSD.
>
> There are quite a few of those stickers left over from the old days, when
> we ran the first version of the OpenBSD store.  Lifetime warrantee on
> anything we ever sold -- well if there's still any left; but it's my
> lifetime I'm talking about, so wish me well, birthday coming up next week
> or so -- getting very close to 80.  Will mail you one.
>
> Casual discussions sometimes still occur on the advocacy@ mailing list.
> but few folks subscribe any more.  It should be revived.
>
> Austin
>
>
> On Wed, 10 Jun 2020, Greg Thomas wrote:
>
> > Hey all,
> >
> > Wow, it looks like I haven't run OpenBSD since 2006 according to the misc
> > archives.  I guess I got too busy with my shit corporate job which I quit
> > in 2014 to roast coffee full time.  And then I guess I got too busy to
> move
> > on from my comfort zone as my old OpenBSD laptops died.  But with the
> > current lockdown in Los Angeles giving me a little bit of time to explore
> > tech along with Windows 7 being unsupported I figured I'd try to move
> back
> > to my favorite OS.  I bought a pretty much unused Thinkpad X220 on Ebay
> > (it's in better shape than the last X220 was when I bought that one 6
> years
> > ago, so super score).
> >
> > So, I'm still refamiliarizing myself with OpenBSD and was wondering what
> > the biggest changes have been for a regular user since 4.0?  The first
> > thing I've seen is rcctl.
> >
> > Also, has anybody ever reprinted the large wireframe Puffy sticker from
> > around 15 years ago, or still have one for trade/sale?  I still have the
> > T40 with my last one stuck to it.
> >
> > https://photos.app.goo.gl/QTPhKrMraZ4m4oPUA
> >
> > I'm thinking about trying to pull it off to stick it on to this X220
> > somehow.
> >
> > I also did a little poking around last night for window managers/desktop
> > environments.  I used to use WindowMaker but I'm thinking about trying
> > something more featureful.  So far during my searching I've seen
> > recommendations for cwm in base, and then stuff like spectrwm and MATE.
> > I'm pretty sure I'm *not *going to stick with fvwm.  Is there anything I
> > absolutely have to check out before I add windowmaker (or maybe xfce)?.
> >
> > The only problem I've had so far is I have no wired Ethernet here, urndis
> > was failing me with my OnePlus 6t phone and I just couldn't take the time
> > to troubleshoot, and I just couldn't seem to add the iwn firmware after
> > copying it to /tmp from my USB stick (I got "file:/tmp/: empty" after
> > running fw_update -v -p /tmp iwn) so I took my laptop to my neighbor's
> > ethernet and easily added iwn.  Running fw_update -vn -p /tmp now seems
> to
> > work fine, I'm not sure what I was doing wrong previously.
> >
> > I've added chrome obviously, and am happy to see my label app on
> Avery.com
> > works fine which is the only thing other than email and Google Docs that
> I
> > really need for the coffee business.
> >
> > I also just installed Audacity because I started a noise project about a
> > year ago so I need to do some basic sound editing.  I'll give the GIMP a
> > try again for my photography but I may hang on to my old X220 to use
> > Windows 7 and CS4 PS offline.  And now that I'm done with this email I'm
> > going to watch the end of Charlie Jade with VLC.
> >
> > Thanks folks!  If this is inappropriate for misc let me know which forums
> > are best to join, for whatever reasons I'm not a reddit user yet but if
> > need be I'll start an account there for OpenBSD, coffee, and noise.
> >
> > Greg
> >
> > get.misc.open...@gmail.com /home/austin/mail/newmisc 56199
> >
>


Re: Dual boot problem

2020-06-29 Thread Greg Thomas
On Sun, Jun 28, 2020 at 1:13 PM Greg Thomas 
wrote:

> On Sun, Jun 28, 2020 at 9:25 AM Nick Holland 
> wrote:
>
>>
>> from your dmesg:
>> sd0 at scsibus1 targ 0 lun 0: 
>> naa.5000c500b98a130c
>> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
>> sd1 at scsibus1 targ 1 lun 0: 
>> naa.500a07510369b769
>> sd1: 488386MB, 512 bytes/sector, 1000215216 sectors, thin
>> sd2 at scsibus1 targ 2 lun 0: 
>> naa.5002538844584d30
>> sd2: 244198MB, 512 bytes/sector, 500118192 sectors, thin
>>
>> ERR M basically means that biosboot(8), which is "tagged" with the
>> physical location of /boot(8) on the disk, doesn't see the marker
>> that indicates that what it is pointing at is actually /boot.  The
>> windows 10 boot loader is pulling from a disk other than sd0, the pbr
>> is pointing at something "correct" if it were sd0, but the Windows
>> boot loader is trying to pull it from whatever the new default disk
>> is.  Maybe.
>>
>> There may be some bcdedit magic that can say "boot from this other disk"
>> which might solve your problem, but I have no idea.  A lame way of
>> doing this might be to shrink your Windows partition by 1G, and install
>> your OpenBSD root partition there, and the rest on sd0.
>>
>
> Rad, thanks Nick!  I'm going to poke around with BCDEasy or whatever that
> 3rd party software is since it'll be easier to figure out rather than
> reading through all the bcdedit documentation.  I swear back in the Windows
> ntldr days that I was running Windows and OpenBSD on separate disks so I
> think this should be doable with their current boot loader.
>
> Worse comes to worse I'll go with your last suggestion!
>

I couldn't find any magic with bcdedit/BCDEasy so I shrunk my Windows
partition, did a minimal install of OpenBSD way out there at the end of
sd2, copied over some of /etc, and it's all good.

nihilanon$ fdisk sd2
Disk: sd2 geometry: 31130/255/63 [500118192 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
*0: 07  0  32  33 -191  24  25 [2048: 3067904 ] NTFS

 1: 07191  56  58 -  30875 167  12 [ 3072000:   492945408 ] NTFS

 2: A6  30875 167  13 -  31130 158   4 [   496017408: 4096000 ] OpenBSD

 3: 00  0   0   0 -  0   0   0 [   0:   0 ] unused


Next up is OpenVPN, and deciding if I should stick with -stable (most
probably) or start trying snapshots again.


Re: Dual boot problem

2020-06-28 Thread Greg Thomas
On Sun, Jun 28, 2020 at 12:34 PM Clay Daniels 
wrote:

>
> I too need a Windows install, but I have moved it to my older 2014 machine
> and kept my self-built toy for BSD. I think I need to buy me another SSD to
> run NetBSD too. ;-)
>

Yeah, I'm super fortunate to have found this pretty much unused X220 so I
could just keep the beat up old X220 for Windows.


Re: Dual boot problem

2020-06-28 Thread Greg Thomas
On Sun, Jun 28, 2020 at 9:25 AM Nick Holland 
wrote:

>
> from your dmesg:
> sd0 at scsibus1 targ 0 lun 0: 
> naa.5000c500b98a130c
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
> sd1 at scsibus1 targ 1 lun 0: 
> naa.500a07510369b769
> sd1: 488386MB, 512 bytes/sector, 1000215216 sectors, thin
> sd2 at scsibus1 targ 2 lun 0: 
> naa.5002538844584d30
> sd2: 244198MB, 512 bytes/sector, 500118192 sectors, thin
>
> ERR M basically means that biosboot(8), which is "tagged" with the
> physical location of /boot(8) on the disk, doesn't see the marker
> that indicates that what it is pointing at is actually /boot.  The
> windows 10 boot loader is pulling from a disk other than sd0, the pbr
> is pointing at something "correct" if it were sd0, but the Windows
> boot loader is trying to pull it from whatever the new default disk
> is.  Maybe.
>
> There may be some bcdedit magic that can say "boot from this other disk"
> which might solve your problem, but I have no idea.  A lame way of
> doing this might be to shrink your Windows partition by 1G, and install
> your OpenBSD root partition there, and the rest on sd0.
>

Rad, thanks Nick!  I'm going to poke around with BCDEasy or whatever that
3rd party software is since it'll be easier to figure out rather than
reading through all the bcdedit documentation.  I swear back in the Windows
ntldr days that I was running Windows and OpenBSD on separate disks so I
think this should be doable with their current boot loader.

Worse comes to worse I'll go with your last suggestion!

Greg


Dual boot problem

2020-06-27 Thread Greg Thomas
Hey folks, I'm trying to avoid buggin y'all, but I'm down to my last two
tasks, setting up dual boot with Windows 10 and setting up OpenVPN.  I'm
currently trying to troubleshoot "Loading  ERR M" while using Windows
BCD.  I can boot no problem when selecting my boot drive while starting up
my Thinkpad X220.

I installed a couple of weeks ago using pretty much all defaults.

nihilanon$ disklabel sd0

# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: ST1000LM049-2GH1
duid: f251a360129c9562
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 64
boundend: 1953520065
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
  a:  2097152   64  4.2BSD   2048 16384 12960 # /
  b: 33807608  2097216swap# none
  c:   19535251680  unused
  d:  8388576 35904832  4.2BSD   2048 16384 12960 # /tmp
  e: 74955232 44293408  4.2BSD   2048 16384 12960 # /var
  f: 12582912119248640  4.2BSD   2048 16384 12960 # /usr
  g:  2097152131831552  4.2BSD   2048 16384 12960 #
/usr/X11R6
  h: 41943040133928704  4.2BSD   2048 16384 12960 #
/usr/local
  i:  4194304175871744  4.2BSD   2048 16384 12960 # /usr/src
  j: 12582912180066048  4.2BSD   2048 16384 12960 # /usr/obj
  k:629145600192648960  4.2BSD   4096 32768 26062 # /home

nihilanon# fdisk sd0
Disk: sd0 geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused

 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused

 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused

*3: A6  0   1   2 - 121600 254  63 [  64:  1953520001 ]
OpenBSD

Since my install is on sd0 I ran the dd command from the FAQ:

dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1

I moved the PBR to Windows, and ran the bcdedit commands listed in the FAQ plus

bcdedit /set {bootmgr} displaybootmenu yes
bcdedit /set {bootmgr} timeout 12

Thanks for any pointers.  I'm going to re-run the dd command in case I
chose the wrong disk somehow earlier.

Greg

OpenBSD 6.7 (GENERIC.MP) #182: Thu May  7 11:11:58 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17041059840 (16251MB)
avail mem = 16511991808 (15747MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries)
bios0: vendor LENOVO version "8DET76WW (1.46 )" date 06/21/2018
bios0: LENOVO 4286CTO
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF!
TCPA SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4)
EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2791.35 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.95 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.96 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVE

Re: Openbsdstore.com - offline or powered off?

2020-06-27 Thread Greg Thomas
I just got my wireframe Puffy yesterday!

On Sat, Jun 27, 2020 at 7:27 AM Ruslanas Gžibovskis 
wrote:

> thank you
>
> On Sat, 27 Jun 2020, 16:50 Thomas Bohl, 
> wrote:
>
> > Am 27.06.2020 um 13:32 schrieb Ruslanas Gžibovskis:
> > > ok, cause I found it on openbsd.org/tshirt or shth like that.
> > >
> > > is there a way, how to get openbsd tshirts, or just get it on
> aliexpress
> > > with images of openbsd?
> >
> > I don't know why https://www.openbsdstore.com/ is offline at the moment,
> > but it is a redirect to https://teespring.com/stores/openbsd which is up
> > and running. If you buy here profits will go to the artists.
> >
> >
>


Re: OpenBSD in the news...from a long time ago

2020-06-13 Thread Greg Thomas
Oh, that is rad.  The music is waaay to loud though.

And, damn, there's some serious vintage stuff, especially the t-shirt, in
that video.

On Sat, Jun 13, 2020 at 12:40 AM jungle boogie 
wrote:

> Hi,
>
> Here's an old news clip about OpenBSD many folks haven't seen or have
> forgotten about. I don't know what year it's from or the hackathon that
> was taking place. Maybe someone can fill us in on the details?
>
> https://youtu.be/ka45HJu1MTM
>
> It features Theo, Bob, Ken, and a developer named Mickey.
>
> Unfortunately the background music is a bit loud at parts, though you're
> able to make out the dialog.
>
> Thank you all for continuing to work on OpenBSD!
>
>
> best,
> j.b.
>
>


It's been awhile

2020-06-10 Thread Greg Thomas
Hey all,

Wow, it looks like I haven't run OpenBSD since 2006 according to the misc
archives.  I guess I got too busy with my shit corporate job which I quit
in 2014 to roast coffee full time.  And then I guess I got too busy to move
on from my comfort zone as my old OpenBSD laptops died.  But with the
current lockdown in Los Angeles giving me a little bit of time to explore
tech along with Windows 7 being unsupported I figured I'd try to move back
to my favorite OS.  I bought a pretty much unused Thinkpad X220 on Ebay
(it's in better shape than the last X220 was when I bought that one 6 years
ago, so super score).

So, I'm still refamiliarizing myself with OpenBSD and was wondering what
the biggest changes have been for a regular user since 4.0?  The first
thing I've seen is rcctl.

Also, has anybody ever reprinted the large wireframe Puffy sticker from
around 15 years ago, or still have one for trade/sale?  I still have the
T40 with my last one stuck to it.

https://photos.app.goo.gl/QTPhKrMraZ4m4oPUA

I'm thinking about trying to pull it off to stick it on to this X220
somehow.

I also did a little poking around last night for window managers/desktop
environments.  I used to use WindowMaker but I'm thinking about trying
something more featureful.  So far during my searching I've seen
recommendations for cwm in base, and then stuff like spectrwm and MATE.
I'm pretty sure I'm *not *going to stick with fvwm.  Is there anything I
absolutely have to check out before I add windowmaker (or maybe xfce)?.

The only problem I've had so far is I have no wired Ethernet here, urndis
was failing me with my OnePlus 6t phone and I just couldn't take the time
to troubleshoot, and I just couldn't seem to add the iwn firmware after
copying it to /tmp from my USB stick (I got "file:/tmp/: empty" after
running fw_update -v -p /tmp iwn) so I took my laptop to my neighbor's
ethernet and easily added iwn.  Running fw_update -vn -p /tmp now seems to
work fine, I'm not sure what I was doing wrong previously.

I've added chrome obviously, and am happy to see my label app on Avery.com
works fine which is the only thing other than email and Google Docs that I
really need for the coffee business.

I also just installed Audacity because I started a noise project about a
year ago so I need to do some basic sound editing.  I'll give the GIMP a
try again for my photography but I may hang on to my old X220 to use
Windows 7 and CS4 PS offline.  And now that I'm done with this email I'm
going to watch the end of Charlie Jade with VLC.

Thanks folks!  If this is inappropriate for misc let me know which forums
are best to join, for whatever reasons I'm not a reddit user yet but if
need be I'll start an account there for OpenBSD, coffee, and noise.

Greg


Re: Feedback about Desktop Environments

2013-09-18 Thread Greg Thomas
Interesting.  I just used Xfce for a bit on a new Ubuntu box from a vendor
here today, I didn't check the version.  It sure has come a lng way
from when I last used it around 1999.  I may try it out on my home desktop,
seems a lot more responsive than KDE and Gnome.


On Mon, Sep 16, 2013 at 3:41 AM,  wrote:

> Definitely XFCE 4.10.
> Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE
> network.
>
> From: James GriffinSent: Monday, September 16, 2013 6:20 AMTo:
> misc@openbsd.orgSubject: Feedback about Desktop Environments
>
> I need to install a Dektop Environment for my partner.
>
> I thought about KDE or xfce, i've tried neither on OpenBSD before. Which
> of the 3 main main DE's (gnome, KDE, XFCE) do you feel work best on
> OpenBSD.
>
> I would need things like removable media mounting from within the
> graphical environment, good sound support and multimedia applications.
>
> Any advice would be helpful from those using any of these Desktop's. I
> thought i'd ask on this list before installing loads of packages.
>
> Cheers, Jamie.



Re: install5x.iso

2013-09-13 Thread Greg Thomas
I gave up on Firefox and Chrome on my low memory older laptops, found
midori, and using it everywhere now.  It has exactly what I need and no
more.


On Fri, Sep 13, 2013 at 10:21 AM, Fred Crowson wrote:

> How much memory and disk does your SPARC have?
>
> You might want to consider a lighter weight browser like midori or netsurf
> - I've not bother powering up my old SPARC boxes for about five years - and
> I always ran them headless, so my advice is a bit out of date ;~)
>
> hth
>
> Fred
> On 13 Sep 2013 16:40, "Richard Thornton" 
> wrote:
>
> > In general I really like and appreciate all that is done by developers
> with
> > OpenBSD.  The OS is stable and it works well, and shipping it with X
> > already functional is a big help, especially on older boxes.  Because to
> > compile xorg with this old sparc box under FreeBSD was taking > 24 hours
> > and it still was not done.
> >
> >
> > On Fri, Sep 13, 2013 at 11:19 AM, Gregor Best  wrote:
> >
> > > On Fri, Sep 13, 2013 at 10:06:10AM -0400, Richard Thornton wrote:
> > > > I am curious - given that OpenBSD ships each RELEASE with X , but
> > > > applications like Firefox will not work without installing another
> DE,
> > > > [...]
> > >
> > > That is not true. I ran Firefox and Chrome on a clean OpenBSD 4.9
> > > installation when it was released and I have been able to since then,
> > > and I find it hard to believe it was different before.
> > >
> > > > [...]
> > > > XFCE; why not ship OpenBSD with the basic X, but with the necessary
> > > > libraries to allow FireFox to run and other applications like R to
> > output
> > > > graphics?  Also why not go ahead and ship with Firefox?  The disk
> would
> > > > still be within the size of a standard CD.
> > > > [...]
> > >
> > > Installing Firefox with pkg_add adds the required libraries
> > > automatically. If it does not, that's a bug in the port that should be
> > > reported.
> > >
> > > Adding Firefox to the base system would be a very bad idea. It is a
> huge
> > > load of code that needs to be maintained and not everyone uses Firefox.
> > > What if I want Chrome instead? Add that to base? What about dillo?
> > > netsurf? Why not add OpenOffice while we are at it?
> > >
> > > --
> > > Gregor Best



Re: Exploits

2013-09-07 Thread Greg Thomas
"Does this document still hold any truth with current OpenBSD;"

Come on, really?

http://www.openbsd.org/errata40.html


On Sat, Sep 7, 2013 at 8:13 AM, andy  wrote:

> Hi everyone,
>
> I have a feeling that I may get some strong opinions on this question, so
> please don't flame me or anything, I'm asking because I don't know.
>
> Does this document still hold any truth with current OpenBSD;
>
> https://www.blackhat.com/presentations/bh-usa-07/Ortega/Whitepaper/bh-usa-07-ortega-WP.pdf
>
> Cheers, Andy.



Re: mysql.sock location

2013-08-17 Thread Greg Thomas
Need more info, like exactly how you're checking whether mysql works or
not.  But from your message you're apparently running into chroot issues:

http://www.openbsd.org/faq/faq10.html#httpdchroot


On Sat, Aug 17, 2013 at 8:52 PM, Guy Ferguson wrote:

> Hello,
>
> First time user of OpenBSD here. Having issues getting mysql up and running
>
> Can I ask you to confirm that in OpenBSD 5.3 mysql.sock should be being
> created in/var/run/mysql  or in/var/mysql?
>
> This page
> (
> http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/mysql/Makefile?rev=1.217;content-type=text%2Fx-cvsweb-markup
> )
> seems to tell me it should be in /var/run/mysql.
>
> yet I have just installed OpenBSD 5.3 and there's no mysql directory in
> /var/run.  The mysql.sock appears in /var/mysql
>
> Apologies if it's a silly question, but it's preventing me getting my
> drupal site up and running on this server - all else works well but i
> can't get mysql to connect
>
> I've installed php 5.2.17p13  and mysql-server-5.1.68
>
> If it helps i've made a (small) donation:
> Confirmation number: 9T459158LW9701138
>
> Thanks,
>
> Guy
> Brisbane Australia
> (When I get it all up and running i will send you the log of my
> sysconfig for your records, as i read somewhere you like to receive)



Re: Two questions.

2013-08-10 Thread Greg Thomas
On Fri, Aug 9, 2013 at 7:13 PM, Michael W. Lucas
wrote:

> On Fri, Aug 09, 2013 at 06:45:10PM -0600, Theo de Raadt wrote:
> > > On 08/09/2013 12:00 AM, voic...@openmailbox.org wrote:
> > > ...
> > > > The first one. We all know that the operating system OpenBSD largely
> > > > depends on lead, so what will happen when time will come for Theo? We
> > > > all know that so far people do not live thousands of years... I think
> > > > that not only me would be interesting to know the future of this
> great
> > > > project in case something happens. Please do not misunderstand me
> here,
> > > > I do not wish anything bad for Theo, I just need to be sure that
> there
> > > > are others who could keep project going.
> > >
> > > same thing that happens for any open source volunteer project, or any
> > > sole proprietorship...or any corporation.  Someone(s) may step up, they
> > > may not.  They may succeed in keeping the team together, they may not.
> > > The project may improve, it may "lessen".
> >
> > What a bunch of worrying balony.
> >
> > I have asexually reproduced a few times, and put the other copies of
> > myself in stasis.
> >
> > In the event that I fall off a mountain or get attacked by group of
> > dogs in central Turkey, a copy is automatically brought out of statis
> > to continue to effort.
> >
> > The process is so transparent, that you won't even know if it has
> > happened before...
>
> Excellent detail on the process. I'll get an errata out for Absolute
> OpenBSD.
>
> But I do wish you'd mentioned this before we went to print.
>

Hahaha, very very nice.



USB Audio

2013-08-08 Thread Greg Thomas
I ditched my Mac for good am trying to get everything running that was
connected to it.  Working on the SoundSticks now.

Full dmesg down below.

I linked the audio1 devices to audio.

$ ls -l /dev/audio*
lrwxr-xr-x  1 root  wheel11 Aug  7 14:47 /dev/audio -> /dev/audio1
lrwxr-xr-x  1 root  wheel14 Aug  7 14:48 /dev/audioctl ->
/dev/audioctl1
lrwxr-xr-x  1 root  wheel11 Aug  7 14:48 /dev/mixer -> /dev/mixer1
lrwxr-xr-x  1 root  wheel11 Aug  7 14:48 /dev/sound -> /dev/sound1

audio0 at uhub5 port 1 configuration 1 interface 0 "harman/kardon
SoundSticks" rev 1.10/0.01 addr 8
uaudio0: audio rev 1.00, 6 mixer controls
audio1 at uaudio0

$ cat /projects/Music/scream.aif > /dev/sound

cat: stdout: Input/output error

But my apps like vlc play through internal speakers still just fine.

I know the SoundSticks work with OpenBSD so obviously I'm an idiot and
missing something.

$ audioctl
name=USB audio
version=
config=uaudio
encodings=slinear_le:16:2:1,slinear_le:24:3:1
properties=independent
full_duplex=0
fullduplex=0
blocksize=8816
hiwat=7
lowat=5
output_muted=0
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
play.block_size=8816
play.errors=0
record.rate=44100
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear_le
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=8816
record.errors=0


OpenBSD 5.3-stable (GENERIC) #0: Wed Jul 10 23:31:39 PDT 2013
r...@wheeler.lodesertprotosites.org:
/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8466853888 (8074MB)
avail mem = 8219004928 (7838MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (68 entries)
bios0: vendor LENOVO version "8DET61WW (1.31 )" date 04/25/2012
bios0: LENOVO 4291X04
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2791.35 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
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus 14 (EXP7)
acpicpu0 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1025" serial   910 type LION oem "LGC"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK docked (15)
cpu0: Enhanced SpeedStep 2791 MHz: speeds: 2801, 2800, 2600, 2400, 2200,
2000, 1800, 1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
com2 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com2: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
3c:97:0e:08:67:59
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "

Re: Why I abandoned OpenBSD, and why you should too...

2013-07-05 Thread Greg Thomas
Nice parody of something, I don't know what though.  Replace OpenBSD with
Cisco and Windows and it makes sense.

Anyway, I've never seen where Sharyl Attkisson said she uses OpenBSD, and
it's highly unlikely that she does judging from the network reporters I
know.

"OpenBSD has shipped on over half of all network devices, including
things like routers, switches, gateways, and servers, for the last six
years. The current estimated number of OpenBSD installations sits at
over 350 million devices, comprising an almost ubiquitous presence of
OpenBSD in networks worldwide."

OpenBSD or OpenSSH?  Or Cisco?


On Thu, Jul 4, 2013 at 8:56 PM, Thomas Jennings <
thomas.jennings...@gmail.com> wrote:

> Dear OpenBSD developers and users:
>
> Regretfully, I have decided to abandon OpenBSD and thought I would
> share my reasoning with this list. I thought the 4th of July was a
> good date to do so since my reasons address national security
> implications. As a group of people who take development, security, and
> privacy seriously, I know you will want to know why I made the drastic
> decision to abandon OpenBSD and never look back.
>
> I'm sure we've all heard of PRISM by now, the user-friendly name of
> the United States Federal Government's massive civilian and resident
> spying program otherwise known as US-984XN. PRISM is certainly bad
> enough of its own accord, but it's how PRISM works, and the pattern of
> behavior found in OpenBSD development, that was the tipping point for
> my use of OpenBSD.
>
> And we all know Theo de Raadt, OpenBSD generalissimo of much infamy.
> After being fired from the NetBSD team, Theo forked the code and
> started OpenBSD. He's been pretty much solely responsible for
> development of OpenBSD over the years, taking volunteer code as he
> sees fit. He also has final say over security audits in the operating
> system, something that turns out to be very important.
>
> I was prepping to migrate the whole of our shop, a regional ISP in the
> United States of America, to OpenBSD 5.3 when the news broke: CBS News
> reporter Sharyl Attkisson claimed, during a live radio interview, that
> she had been dealing with suspicious computer and phone issues. Check
> out this snippet from the full transcript of the interview. One line
> in particular trashed my plans for the OpenBSD upgrade:
>
> > Well, I have been, as I said, pursuing an issue for a long time now —
> much longer
> > than you’ve been hearing about this in the news — with some compromising
> of my
> > computer systems in my house — my personal computer systems as well as my
> > work computer systems. I thought they were immune to being compromised —
> > because they all ran OpenBSD — but I guess I was wrong. So, we’re
> digging into
> > that and just not ready to say much more right now, but I am concerned.
>
> Since that interview in May, I've watched story after story of direct
> server access, PRISM, and NSA spying and connected some dots. For
> example, consider the accusations that the FBI had been accused of
> planting backdoors in OpenBSD's IPSEC in December of 2012, and that
> the accusations later proved true. The two scandals broke 18 only
> months apart.
>
> Consider that PRISM allows the United States Federal Government to
> directly access the servers of virtually any company doing online
> business, including tech giants like Apple, Facebook, Google, and
> Microsoft. But those same tech giants deny complicity. I'm sure we all
> agree that personal privacy is beyond the scope of private enterprise,
> but let's assume their denials are true. Then connect more dots:
>
> OpenBSD has shipped on over half of all network devices, including
> things like routers, switches, gateways, and servers, for the last six
> years. The current estimated number of OpenBSD installations sits at
> over 350 million devices, comprising an almost ubiquitous presence of
> OpenBSD in networks worldwide.
>
> EVEN IF NO CORPORATION OFFERS THE UNITED STATE FEDERAL GOVERNMENT
> DIRECT ACCESS TO ITS SERVERS THROUGH PRISM, OPENBSD OFFERS THAT SAME
> ACCESS THROUGH THE PRESENCE OF ITS BACKDOORS.
>
> There it is. Let it sink in. Words like Gestapo and Stasi and KGB come
> to mind. OpenBSD is part and parcel to the United States Federal
> Government's program to spy on its own citizens through bodies like
> the NSA and FBI and has been since the FBI paid for backdoors in IPSEC
> about a dozen years ago.
>
> Yesterday, I told the company that we must migrate all our services
> from OpenBSD to something else because the risk to our customers'
> privacy and security is simply unacceptable. Theo de Raadt may seem
> like some kind of guard dog of security, but he's really just a little
> bitch bought and sold by the United State Federal Government.
>
> The kicker is that Theo denies anything suggesting that OpenBSD is
> less than perfect at security, as if he's personally offended by the
> mere suggestion. He routinely attacks developers and enthusiasts for
> si

sdhc and Ricoh 5U823

2013-07-03 Thread Greg Thomas
My first dumb question since I've been back and there will probably be
plenty more.

With the Ricoh 5U823 does sdhc only recognize SD cards on boot?

OpenBSD 5.3 (GENERIC.MP) #58: Tue Mar 12 18:43:53 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz ("GenuineIntel" 686-class)
2.80 GHz
cpu0:
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC
real mem  = 3662856192 (3493MB)
avail mem = 3592019968 (3425MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/25/12, BIOS32 rev. 0 @ 0xfc200,
SMBIOS rev. 2.6 @ 0xdae9c000 (68 entries)
bios0: vendor LENOVO version "8DET61WW (1.31 )" date 04/25/2012
bios0: LENOVO 4291X04
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz ("GenuineIntel" 686-class)
2.80 GHz
cpu1:
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz ("GenuineIntel" 686-class)
2.80 GHz
cpu2:
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz ("GenuineIntel" 686-class)
2.80 GHz
cpu3:
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus 14 (EXP7)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1025" serial   910 type LION oem "LGC"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0x1!
cpu0: Enhanced SpeedStep 2791 MHz: speeds: 2801, 2800, 2600, 2400, 2200,
2000, 1800, 1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
com3 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com3: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
3c:97:0e:08:67:59
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 16
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 17
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34:
msi, MIMO 2T2R, MoW, address 8c:70:5a:f5:14:b8
ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: apic 2 i

Re: iwn0 no link device timeout

2013-06-29 Thread Greg Thomas
Nevermind, I must have fat fingered something.  iwn is working fine with
5.3 release on this X220, Centrino 6205.


On Sat, Jun 29, 2013 at 2:41 PM, Sha'ul  wrote:

> After disabling wireless security I am still getting "No link"
>
> Doing a "$ sudo ifconfig iwn0 scan" it lists the networks around me, in
> /etc/hostname.iwn0 I have
>
> nwid xxx
> #wpakey 'xx'
> dhcp
>
> since security is disabled, I broadcast the SSID, and still no link,
> device timeout.



Re: iwn0 no link device timeout

2013-06-29 Thread Greg Thomas
I'm just returning to OpenBSD after a lng time solely on OS X.  I
picked up a ThinkPad X220 a couple of days ago and this is the first thing
I'm trying to troubleshoot.  I'll get a dmesg later but right now I need a
nap.


On Sat, Jun 29, 2013 at 12:18 PM, Sha'ul  wrote:

> I did
>
> pkg_add
> http://firmware.openbsd.org/firmware/snapshots/iwn-firmware-5.7.tgz
>
> and still no link, device timeout



Re: Resilient RAID

2010-05-21 Thread Greg Thomas
On Fri, May 21, 2010 at 7:11 AM, Marco Peereboom  wrote:

>
> USB sticks primary cause of death is the washing machine and/or dryer.
> Second one probably is sitting out in the sun.
> I have yet to see the USB stick that dies because it was written to.
>
>
Funny thing is I still haven't killed one by washing machine or dryer, and
I've sent many through the wash/dry cycle.

Greg



Re: lpd printing

2010-05-07 Thread Greg Thomas
On Fri, May 7, 2010 at 2:59 PM, Frank Bax  wrote:

> I've never printed from my OpenBSD desktop.
> I've used lpd on Windows to print to HP printers with "HP JetDirect".
>
> I read the recent thread about lpd/postscript.
>
> Will I be able to use lpd to print to any "HP JetDirect" printer?
>

Yes, HP JetDirect does lpd/lpr amongst many other protocols.


>
> I'm looking at getting an HP 1518ni colour laser.
>
> Does "HP postscript level 3 emulation" qualify as "postscript support"
>



Not 100% sure about HP's postscript emulation but my Brother printer does
postscript level 3 emulation well enough for all my printing needs so far.

Greg



Re: OT - UML, can someone state that it works ?

2010-05-05 Thread Greg Thomas
On Wed, May 5, 2010 at 12:38 PM, Christiano F. Haesbaert <
haesba...@haesbaert.org> wrote:

> On 5 May 2010 16:25, Lars Nooden  wrote:
> > On 05/05/2010 10:08 PM, Christiano F. Haesbaert wrote:
> >>
> >> Sorry for such an out of topic thread, hear my pain:
> >>
> >> I'm really sick of hearing about UML/RUP and all this boulshit about
> >> software engineering in my university.
> >
> > User Mode Linux works ok, you should probably try asking over on one of
> > the linux kernel lists found at the wiki:
> >
> >http://uml.jfdi.org/uml/Wiki.jsp
> >
> > I'm surprised it's a big deal at your university. VirtualBox is much
> higher
> > profile and allows others guest and host sytems.  qemu / kqemu is
> available
> > in ports.
> >
>
> Sorry for UML I meant Unified Modeling Language.
> and for RUP Rational Unified Process
>
>
I think you guys missed the :P.

The app teams here at my work are big RUPpies but it seems to me that here
it's:

1)  Over applied on simple projects that don't need it.
2)  Adds a lot overhead and bureaucracy creating long delays in projects.

It has created some good practices with regards to configuration and change
management here.



Re: Stop spam from ISP Mailserver

2010-04-27 Thread Greg Thomas
I'm not sure this solution works with the original person's requirements.
It sounds like with your solution you need access to systems that the other
person doesn't have access to:  "setup a connection to the mail server from
the spamd machine using nc"

On Tue, Apr 27, 2010 at 8:50 AM, Girish Venkatachalam <
girishvenkatacha...@gmail.com> wrote:

> On Tue, Apr 27, 2010 at 4:31 PM,   wrote:
> > Hi,
> >
> > I have a client, he receives a lot of spam from his ISP Mailserver.
> > Is there a way to limit spam using an OpenBSD Gateway with PF and Spamd
> at
> > his place ? (His mailserver is ISP Mailserver, so he hasn't mailserver)
> >
> > I think it is not possible, true ?
> > If you have an idea ...
>
> I have a totally different perspective and answer due to my experience
> fighting spam.
>
> In fact I get close to 40 GB downloads for my open source spam product
> based on spamd.
>
> It does a great job of spam control or else why would people download? ;)
>
> Even in my customer locations in Chennai where they run my appliance
> they get only 5 spam messages
> in a year. But you should understand that the incidence of spam in
> India is much lower than America.
>
> Anyway read up this page:
>
> http://spam-cheetah.com/install.html
>
> to understand what you can achieve with pf(4) and spamd for spam
> control and how you ensure that the
> TCP rdr is completed in the reverse direction also. You need to
> configure the mail server's gateway as
> spamd.
>
> This is only necessary when you run spamd and do rdr(a reverse of NAT) .
>
> Whereas if you act as a TCP proxy in which you setup a connection to
> the mail server from the spamd
>  machine using nc or some similar thing(you could configure using
> inetd(8)) then your mail server
> can be anywhere.
>
> I have never tried that config and I can bet that rdr is way more
> efficient...
>
> Sorry I can't do more justice to this topic as I am running out of time.
>
> Later.
>
> Ever yours,
> Girish
>
>
> --
> Gayatri Hitech
> web: http://gayatri-hitech.com
>
> SpamCheetah Spam filter:
> http://spam-cheetah.com
>
>


-- 

Dethink to survive - Mclusky



Re: OpenBSD culture?

2010-04-14 Thread Greg Thomas
On Wed, Apr 14, 2010 at 6:14 PM, VICTOR TARABOLA CORTIANO <
vt...@c3sl.ufpr.br> wrote:

> > >
> > > I'm much more inclined to the GNU/Linux philosophy of Limitation
> > >
> >
> > Fixed that for you.
> >
> > Greg
> >
>
> This kind of childish attitude is what I meant when I said:
>
> > You will find this almost everywhere. One particular issue of some
> > OpenBSD users is that they feel cool because they use OpenBSD over
> > GNU/Linux. Like: "Hey you use Linux? I use OpenBSD, I'm more nerdy
> > than you are, your loser". Something like that.
>
> He thinks he can change other people minds by posting his "fix".
> It's funny.
>

My "fix" has nothing to do with childish attitude or being more nerdy than
you.  It has everything do with GNU's twisted definition of  freedom.

Greg



Re: OpenBSD culture?

2010-04-14 Thread Greg Thomas
On Wed, Apr 14, 2010 at 5:21 PM, Aaron Glenn  wrote:

>
> sincerity by itself is useless. if you can't take the time to read the
> concise, thoughtfully produced information provided in both manual
> pages, the FAQ, and the mailing list archives then you will most
> definitely be told to gfy and read what has been painstakingly written
> for your benefit. any other response is borne from pity.
>
>
Not reading the fine documentation is a sign of obvious insincerity.

Greg



Re: OpenBSD culture?

2010-04-14 Thread Greg Thomas
On Wed, Apr 14, 2010 at 3:33 PM, VICTOR TARABOLA CORTIANO <
vt...@c3sl.ufpr.br> wrote:

> Flame war ahead!
>
> > As a long time Linux user I will soon try out OpenBSD, I have been
> > reading the list emails and contacted 1 OpenBSD top person who was
> > very rude.
>
> OMG you sent mail to Theo de Radt asking for help?
>
> > There is some of the "RTFM" or "get lost" attitude in Linux, but if
> > a questioner seems sincere there is usually a certain level of
> > friendliness in Linux community towards them.
>
> Linux is a kernel. That attitude will vary between lists for
> specific packages. It varies with different people too.
>
> If you ask things about Linux on, say, the Bash list, you will
> probably get an similar response.
>
> The difference is that OpenBSD is for advanced users. Some (not
> all) GNU/Linux distros are intended for people that asks things
> such as "How do I grab a package?". Nothing wrong about either,
> just different audiences.
>
> > Just what I have briefly observed the OpenBSD community is more
> > abrupt and less interested in helping newbies, they prefer one
> > find the answer solely on their own if possible.
>
> Yes.
>
> > I must say I detect a certain attitude that smacks of superiority
> > and even condescension at times. Is this a fair assessment of the
> > OpenBSD culture?
> >
>
> You will find this almost everywhere. One particular issue of some
> OpenBSD users is that they feel cool because they use OpenBSD over
> GNU/Linux. Like: "Hey you use Linux? I use OpenBSD, I'm more nerdy
> than you are, your loser". Something like that.
>
> I'm much more inclined to the GNU/Linux philosophy of Limitation
>

Fixed that for you.

Greg



Re: Dump levels ?

2010-02-19 Thread Greg Thomas
On Thu, Feb 18, 2010 at 2:11 PM,  wrote:

>
> Dump levels other than 0 allow you to make partial dumps.
>
> I used to do dump level 0's at the start of the month.
>
> Then from Monday to Thursday I'd to dump 9's.  Each dump
> would save things from the previous 9 (or 0 the first time).
> Friday's I'd do a level 8.
>
> Thus each M-T I'd save the days work, Friday I'd save the
> weeks work.  Then at the start of the next month a level 0
> dump would make a copy of everything.
>
> Each dump level going downwards saves all the data from
> previous (higher) numbered dumps.
>
>
Just to confirm or unconfuse myself if you're doing dump 9s on Monday to
Thursday aren't you getting everything from the previous days each dump
rather than just the day before?  I thought to get just the files changed on
a particular day you'd have to go:

Mon  - dump 5
Tues  - dump 6
Wed  - dump 7
Thurs - dump 8
Fri - dump 4

-- 

Dethink to survive - Mclusky



Re: Donations (was, sadly, European orders)

2009-04-02 Thread Greg Thomas
"Work hard, play harder. Oh what, just because you are you, you dont
get to have a life? Fuck that. No need to justify anything in that
regard."

+1, as others have done already.

I regret not having been able to donate the last 18 months or so,
maybe longer.  But it's only because of my personal financial issues.
Hopefully I'll get back to buying multiple sets and donating cash.

On Wed, Apr 1, 2009 at 10:32 PM, David Schulz 
wrote:
> Work hard, play harder. Oh what, just because you are you, you dont get to
> have a life? Fuck that. No need to justify anything in that regard.
>
> Hopefull even after all this you and other Devs still have all the
motivation
> it takes to keep making the OpenBSD Project better and better;
>
> Having some sort of Report once a year about Donation Money or even also
the
> CD and Shirt Sales money and where it goes would help to shut up even the
> most ignorant. Reports possibly ala' FreeBSD Foundation; but if not, not; i
> personally have no doubt that you are the last Guy how would enrich himself
> on Money donated to OpenBSD, screw that.
>
> regards,
> David
>
> On Wed, Apr 01, 2009 at 10:11:07PM -0600, Theo de Raadt wrote:
>> > So what if it's founder lives a mountain biking/hiking lifestyle?
>>
>> There are people being misled that I pay for this extravagant
>> lifestyle out of donations.  Hah.  Shame on those people who spread
>> that rumour, and also shame on those who are so easily deceived.
>>
>> I hike near conferences that I am invited to; flights paid for.  I
>> hike near hackathons that I must attend with developers -- hackathons
>> tend to be near hiking areas but I am not alone in preferring this
>> (our hackathon locations are otherwise chosen for "cheap accomodation
>> with free internet2"... perhaps internet2 usage is correleted to good
>> terrain..).  Once a year I pay with my hard earned salary for a trip
>> to hike somewhere.  Then one further time a year I use the reward
>> points -- from all my other flights and hackathon hotel bills and
>> developer flights paid with donation money -- to get to another hiking
>> destination.
>>
>> Yes... I have to take time off to do this, but as many of you know
>> when I get back from a trip I go through all the thousands of mails I
>> received and the project moves on.  And between hikes in a foreign
>> country I find insecure ways to partially get in touch a bit and some
>> developers really hate that.  I work hard.  When I don't hike, and
>> especially during pre-release times, I sometimes don't get outside for
>> days at a time except on forced 10km runs.
>>
>> Extravagant?  No.  Just a life choice.
>>
>> I have had people accuse me privately of this.  I hope others are not
>> so easily deceived.
>>
>> Trust me, with the OpenBSD donations are a loss.  Just look at this
>> page, and estimate the hotel bills:
>>
>>   http://www.openbsd.org/hackathons.html
>>
>> After you estimate those numbers, where would I find money to spend on
>> even a slurpee?  Gimme a fucking break...  Donations help a lot, but
>> they are not the whole picture.  That is why we are so eager -- as a
>> project -- get the money that Wim has taken from us, because it will
>> help OpenBSD run more hackathons.  The systems code you are running,
>> almost half of it came from hackathons.
>>
>> > If I can give him that and he can continue to provide this wonderful
>> > product for "free," I'm happy to help him live his lifestyle (even if
>> > he doesn't play well with others at times).
>>
>> It's a deal.
>>
>> > It's too bad the project
>> > doesn't have greater financial backing to allow more development of
>> > the OS goodness we enjoy--and also allow more "OpenBSD people" to live
>> > a Theo-like lifestyle, if they so choose.
>>
>> Others are trying to do it too, but they are just more quiet about it.
>
>



--
2nd Annual R2 Poker Ride
http://lodesertprotosites.org/sites.html

Dethink to survive - Mclusky



khtml2png on OpenBSD?

2008-12-16 Thread Greg Thomas
Long time no misc for me.

Has anyone used khtml2png on OpenBSD?  I haven't seen any mention of
it.  Basically I need to grab a web page every 5 minutes, save it as
an image, and chop the image up using ImageMagick, preferrably on a
headless machine.

Any ideas other than khtml2png?

Any suggestions much appreciated.

Greg
-- 
2nd Annual R2 Poker Ride
http://groups.google.com/group/r2-poker-ride

Dethink to survive - Mclusky



Re: Continuation of OpenBSD's Stop the Blob

2008-06-26 Thread Greg Thomas
"What a load of crap.  You don't know what you are talking about.
Everything else you said is exactly the same blathering; you are
trying to say happy Linux things but there are no facts to support
that the Linux crew or FSF has done ANYTHING which has gotten
documentation for hardware out there.  They have failed to use their
dominant position to anyone else, and they have done a damn poor job
of even supporting themselves."

That was my thought when reading his missive.  Not enough people in the
Linux community are concerned with anything other than popularity at this
point, popularity that is gained by catering to the masses with stuff that
supports their hardware whether it's secure and reliable or in most cases
not.

Greg
-- 
Support the Lo Desert Protosites:
http://lodesertprotosites.org

Dethink to survive - Mclusky



Re: PC/OS Workstation listed

2008-04-08 Thread Greg Thomas
How nice.  Many people just give that stuff away.  Instead of giving it away
let's all post our Ebay junk sales and put "it did run OpenBSD for awhile"
in the message so everyone will think it's on topic.

On Tue, Apr 8, 2008 at 8:33 AM, Roberto J. Dohnert <[EMAIL PROTECTED]>
wrote:

> Hey guys, I have put a refurbed machine with PC/OS on sale at eBay.  It
> comes preloaded with PC/OS and has all the essentials to get up an running .
>  Comes preloaded but you can put any Linux or BSD on there that you want.
> (It did run OpenBSD for awhile) Perfect for those just starting to use
> Linux/BSD or are looking for that dedicated workstation without having to
> dual boot. I also have a Sun ultra thats listed in case anyones interested
> with BSD on SPARC
>
> *http://tinyurl.com/4tz364*
>
> *http://tinyurl.com/44gwlj*
>
> --
> For the ultimate desktop Linux experience try PC/OS
> http://www.pc-os.org



Re: Issue compiling a program on OpenBSD

2008-03-28 Thread Greg Thomas
On Fri, Mar 28, 2008 at 2:47 AM, Ross Cameron <[EMAIL PROTECTED]>
wrote:

>
>
> On Fri, Mar 28, 2008 at 12:20 AM, Girish Venkatachalam
> <[EMAIL PROTECTED]> wrote:
>
> >  It is only because linux kernel is so "modular" (laugh) that people
> want to
> >  build their own kernel. And to tell you honestly I still dunno how to
> >  compile and install a linux kernel. And it varies between distros to
> >  make things worse.
> Just blindly using the GENERIC kernel on you're OpenBSD install CD
> (you did buy one right) is daft.


Ummm, yes, we do trust the GENERIC kernel from the OpenBSD install CD.  It's
meant to be used, why wouldn't we use it?

I agree with some of your points but when you talk like this you sound like
a Linux fanboi.


>
> My home firewall has a very cut down kernel on it that only includes
> what I want in it. Why bloat it with drivers/etc I don't need?


Are you running into problems?  If not, why bother cutting down the kernel?



> >  Please don't retrofit OpenBSD to fit into the linux mould. It is
> >  unfortunate that such garbage like linux is so popular.
> M funny haven't seen any *BSD phones yet, or Oracle/Sybase IQ
> for BSD yet.


Who freakin' cares?  You probably realize that popularity doesn't guarantee
quality.

Greg

-- 
Bicycle fun ride in the middle of nowhere:
http://lodesertprotosites.org/pokerrun/pokerrun.html
http://ticketmastersucks.org
Dethink to survive - Mclusky



Re: Pre-Orders for Limited Edition Puffy the Blowfish

2008-01-07 Thread Greg Thomas
On Jan 7, 2008 8:22 AM, STeve Andre' <[EMAIL PROTECTED]> wrote:
> What is your name?  What  is the company that proposes to do this,
> and where is it located, whats the web site for it, etc?
>
> You aren't exactly instilling confidence in people right now...
>

"In an effort to help support OpenBSD and its masses I am offering myself to
you as a once-live preserved Puffy the Blowfish in limited quantities."

It sounds to me as if he's a blowfish who has cloned and then
sacrificed himselves to the project.

Greg

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: delete deleted data

2008-01-03 Thread Greg Thomas
On Jan 3, 2008 5:21 PM, Harpalus a Como <[EMAIL PROTECTED]> wrote:
> Myth?

Have you read this:
http://www.nber.org/sys-admin/overwritten-data-guttman.html?

> Why are you so upset about this?

Myth's that compel people to waste time and energy should be destroyed.

> It's not myth.

Have you read this or any of the papers referenced here:
http://www.nber.org/sys-admin/overwritten-data-guttman.html?

Greg
-- 
Up mesons in the low desert:  http://lodesertprotosites.org

Dethink to survive - Mclusky



Re: Perpetually Current

2007-12-27 Thread Greg Thomas
On Dec 27, 2007 8:35 AM, Henning Brauer <[EMAIL PROTECTED]> wrote:
> * STeve Andre' <[EMAIL PROTECTED]> [2007-12-27 17:31]:
> > Thats my point: running -current means building from source and
> > thus being affected.
>
> huh?
> not at all.
> you use snapshots of course.

STeve understands that but I don't think the original poster does.

Greg
-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
Obsession in the low desert:  http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: Adobe Flash on OpenBSD

2007-12-17 Thread Greg Thomas
On Dec 17, 2007 2:59 PM, Jon <[EMAIL PROTECTED]> wrote:
> hi
>
> I use OpenBSD as a desktop. Is there a documented way to get the latest
> Flash plugin (or any version) to work with the standard firefox (as released
> in /ftp/pub/.../packages)
>
> I am using OpenBSD 4.2

http://openbsd.org/faq/faq13.html#flashplugin

I guess reading emails where the writer hasn't read the FAQ is better
than reading about all the political bullshit.

Greg
-- 
Dethink to survive - Mclusky



Re: HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-16 Thread Greg Thomas
Oh, well, as always YMMV.  For my printing needs my Brother hasn't so
much as burped.

On Dec 16, 2007 9:09 PM, Chris Cappuccio <[EMAIL PROTECTED]> wrote:
> You must be kiddingBRscript is horrible.  I can't print more then
> 15 pages of the SAME postscript before it crashes  Now that HP is
> joining this crowd, the world is a darker place.
>
> Greg Thomas [EMAIL PROTECTED] wrote:
>
> > On Dec 11, 2007 9:06 AM, Matthew Szudzik <[EMAIL PROTECTED]> wrote:
> > > I recently purchased an HP LaserJet P2015 printer, and I wanted to warn
> > > other users not to make the same mistake.  The printer crashes
> > > intermittently while trying to print PostScript files with lpd.
> > >
> > > A little googling revealed that other users have also had problems with
> > > this model
> > >
> > >  http://www.macintouch.com/readerreports/printing/topic2869.html#27aug2007
> > >
> >
> > That's why I buy BR-Script supported Brother printers.  BR-Script
> > supports enough Postscript for my needs.
> >
> > Greg
> >
> > --
> > Ticketmaster and Ticketweb suck, but everyone knows that:
> > http://ticketmastersucks.org
> > http://lodesertprotosites.org
> > Dethink to survive - Mclusky
>
> --
> "You were about to change the channel when God healed you" -- Benny Hinn
>



-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: Real men don't attack straw men

2007-12-13 Thread Greg Thomas
On Dec 13, 2007 2:09 PM, Rui Miguel Silva Seabra <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 13, 2007 at 12:59:27PM -0700, Theo de Raadt wrote:
> > > Richard, you are a total hypocrite.  You are in here creating a fuss about
> > > our software, saying it is non-free, when you are doing exactly the same
> > > thing yourself.
> >
> > Please see
> >
> >http://www.gnu.org/software/emacs/windows/faq2.html
> >
> > And
> >
> > ftp://ftp.gnu.org/gnu/emacs/windows/
> >
> > What's that, there?
>
> Free Software.
>
> > Emacs *binaries* for *Windows*
> > Supplied right by Richard's http and ftp mirrors.
>
> Yes, Emacs for people who aren't as fortunate as you or I am.
>
> > Richard, I may be unfriendly, but you are a lying hypocritical
> > asshole.
>
> I believe Richard might have been misinformed about ports, while you...
> ... should know better.
>
> It's the difference between helping people run more Free Software vs
> spreading proprietary software.

Nice double speak.  The fact of the matter is he's encouraging the
usage of non-free OSes.

Greg
-- 
Dethink to survive - Mclusky



Re: Real men don't attack straw men

2007-12-13 Thread Greg Thomas
On Dec 13, 2007 10:58 AM, Tom Rosso <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 10:30 AM, Mayuresh Kathe <[EMAIL PROTECTED]> wrote:
>
> > Good people of MISC land, could we please drop this thread, its lasted
> > way longer than really needed.
> >
>
> I'm enjoying watching RMS struggle and fail to make any headway with his
> argument.
>

His argument would be more acceptable to me if it wasn't so
hypocritical.  Not that I would ever agree with it but least it would
hold a little more water.

Greg

-- 
Dethink to survive - Mclusky



Re: HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-12 Thread Greg Thomas
On Dec 12, 2007 6:53 PM, bofh <[EMAIL PROTECTED]> wrote:
> On Dec 12, 2007 7:39 PM, Greg Thomas <[EMAIL PROTECTED]> wrote:
> > That's why I buy BR-Script supported Brother printers.  BR-Script
> > supports enough Postscript for my needs.
>
>
> Yes.  I  my Brother 2520DN.  Duplex and network, under $250,
> and sometimes even under $200.

For the archives I think you mean an HL-5250DN.

Greg
-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-12 Thread Greg Thomas
On Dec 11, 2007 9:06 AM, Matthew Szudzik <[EMAIL PROTECTED]> wrote:
> I recently purchased an HP LaserJet P2015 printer, and I wanted to warn
> other users not to make the same mistake.  The printer crashes
> intermittently while trying to print PostScript files with lpd.
>
> A little googling revealed that other users have also had problems with
> this model
>
>  http://www.macintouch.com/readerreports/printing/topic2869.html#27aug2007
>

That's why I buy BR-Script supported Brother printers.  BR-Script
supports enough Postscript for my needs.

Greg

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: Default Route Issues

2007-12-10 Thread Greg Thomas
You should probably post relevant config files and netstat output.
Your drawing didn't come out very well.

On Dec 10, 2007 6:58 PM, Bret <[EMAIL PROTECTED]> wrote:
> Greetings
>
> I have the following computer network:
>
> Internet - OpenBSD 4.2 --- Internal LAN
> I
> I
> I Wireless Card  Wireless Card
> Soekris 5501 --- Wireless Card
>
>
> I
>
> I
>
> I
>
> Wired Lan
>
> Wireless cards are all ral()
>
> Soekriss 5501 is also running OpenBSD 4.2
>
> The Soekris works fine as a bridge or just as doing IPforwarding.
>
>
> The default route needs to be thru the wireless card and works fine
> untill I add an IP for the wired lan vr() or I add it to the
> bridge: up ral0
>up ral1 -- works great (and yes the up)
>
> but as soon as I add the vr0 the default route goes to the wired lan vr0.
>
> The router/ipforwarder works great until I add an ip to the vr0, then
> once again the default route goes to the vr0.
> I have tried to set the default route thru the hostname.ral0 file but it
> still goes to vr0.
> mygate points to the OpenBSD server but the default route still goes to vr0.
>
>
> Any Ideas on how to get the default pointing to ral0 on boot.
>
> Bret
>
>



-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: RS-232 serial PCMCIA cards and/or USB 2.0 serial adapaters

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 8:43 PM, Theo de Raadt <[EMAIL PROTECTED]> wrote:
> > I simply bought a USB serial adaptor. The cheapest that Bamboo Charlie
> > had in stock.
> >
> > It just worked. It was so low priced that if it didn't I'd have just
> > tossed it in the spare parts box and bought another. AFAIK most of them
> > work.
>
> There are roughly 20 USB serial variants on the market.
>
> 8 of them own the entire market, and we support those very well.
>
> Beyond that, we support 6 more.
>
> The rest?  We have trouble finding them, or we would support them
> better...  they are assuredly less than 1% of the market.
>
> These units are really cheap.  Just buy them.  If they don't work,
> send them to us, and we'll try to improve support for the remaining
> ones.

But skip the Keyspans, right?

My Prolific 2303-based adapter works great, one of the 8, I believe?

Greg
-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org

Dethink to survive - Mclusky



Re: Putting partition in RAM

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 4:56 PM, Antoine Jacoutot <[EMAIL PROTECTED]> wrote:
> On Sat, 8 Dec 2007, Gilbert Fernandes wrote:
> > c'est hallucinant de voir que l'un des meilleur os
> > disponibles rassemble autant de connards pretentieux
> > qui ont rien d'autre a fouttre que d'emmerder les
> > gens qui tentent d'apporter de l'aide aux autres.
> > vous avez que ca a fouttre bande de cons.
>
> Go away, you're a shame to us... frogs!
>

Heh heh, I don't think this merkin could get away with that.

-- 
Dethink to survive - Mclusky



Re: Putting partition in RAM

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 4:08 PM, Gilbert Fernandes
<[EMAIL PROTECTED]> wrote:
> On Fri, Dec 07, 2007 at 04:02:15PM -0800, Ted Unangst wrote:
>
> > > In my fstab I have :
> > >
> > > /dev/cgd0b  noneswap  sw  0 0
> >
> > and you are not running openbsd.
>
> the machine which is hosting mutt is not
> my soekris is (openbsd 4.2)
>

So why bother posting that???  And what has that to do with /tmp on mfs anyway?

Greg

-- 
Dethink to survive - Mclusky



Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 8:21 AM, Nick Guenther <[EMAIL PROTECTED]> wrote:
>
> As to this point, I see both sides not really giving a chance to
> listen to the other. He finds BSDers abrasive; Funny, I've more found
> linux to be the bastion of irritating screechy fanbois. This is a sign
> that we (myself included) don't all have the overall picture. "we"
> call him 'sheer stupid' for being overzealous with "No security bugs"?
> Well how far removed, really, is that claim from "Only two remote
> holes in the default install, in more than 10 years!"?

The latter is far more accurate than the former.

Greg

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 5:10 AM, Andris <[EMAIL PROTECTED]> wrote:
> Here is two messages from Hugo Leisink (Hiawatha developer). You'll
> note that the first has a newer date than the later, that's because I
> delete it, and I asked Hugo to send it to me again :P
>
> -- Forwarded message --
> From: Hugo Leisink <[EMAIL PROTECTED]>
> Date: Dec 7, 2007 10:02 AM
> Subject: Re: Hiawatha
> To: Andris <[EMAIL PROTECTED]>
>
>
>
> Andris wrote:
> > Could you please send your first e-mail to me again? I forgot to save
> > it to forward it later :P
> >
> > Greetings.
> >
> Sure, here it is:
>
>
> Hi Andres,
>
> I saw your post about Hiawatha in OpenBSD. I'd like to respond to the
> remarks about "Hiawatha's source code is free of security-bugs" on the
> Hiawatha website.
>
> First of all, you have to take a look at the webserver market. You use
> Apache, IIS, Lighttpd or you don't use anything at all. If you want
> people to use your software, you have to 'beat Goliath'. People use
> Apache, because everybody else does, even when Apache is the worse fit
> for their purposes. I think Hiawatha has become a really good webserver.
> It's faster then Apache, is more secure then Apache and definitly more
> easy to configure then Apache. But people don't use it because 'it ain't
> Apache'. So, to draw people's attention and to make them at least try
> Hiawatha once, I have to make 'dangerous' statements like 'free of
> security bugs'.
>

Marketing over substance.  The world is full of it.  Why add more BS
to the world?

Greg
--
http://lodesertprotosites.org

Dethink to survive - Mclusky



Re: rouge IPs / user

2007-12-07 Thread Greg Thomas
On Dec 7, 2007 10:03 AM, Daniel Ouellet <[EMAIL PROTECTED]> wrote:
> badeguruji wrote:
> > I am getting constant hacking attempt into my computer
> > from following IPs. Although, I have configured my ssh
> > config and tcp-wrappers to deny such attempts. But I
> > wish some expert soul in this community 'fix' this
> > rouge hacker for ever, for everyones good.
>
>
> Not sure that I understand what you are asking.
>
> Just put these IP's in your pf configuration and then forget about it.
>
> That's all there is to it.

He's already been told that under this previous thread:

[plz. help] constant attack from: 201.244.17.162, 222.231.60.88,
82.207.116.209

Greg
-- 
Bicycle ride in the low desert:
http://lodesertprotosites.org/pokerrun/pokerrun.html

Dethink to survive - Mclusky



Re: OpenBSD version / build question

2007-12-04 Thread Greg Thomas
On Dec 4, 2007 5:41 PM, new_guy <[EMAIL PROTECTED]> wrote:
> > 375, 410, 468:
> > Are these build numbers?
>
> Yes.
>
> So, the current stable kernel is 0?

Just on your system.  The -release kernel as compiled by
[EMAIL PROTECTED] is his build #375.

Once you start compiling your own kernels you may build them more
often than others.

>
> OpenBSD amdthunder.home.local 4.2 GENERIC#0 i386
> OpenBSD black.cirt.vt.edu 4.2 GENERIC#0 i386

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: OpenBSD version / build question

2007-12-03 Thread Greg Thomas
On Dec 3, 2007 12:02 PM, patrimith <[EMAIL PROTECTED]> wrote:
> Ingo Schwarze wrote:
> >
> > By the way, the following command is more useful for your purpose:
> >
> > [EMAIL PROTECTED] $ sysctl kern.version
> > kern.version=OpenBSD 4.2-current (GENERIC) #69: Sun Nov 18 22:43:19 CET
> > 2007
> > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> >
> > Here you see whether you are running -release, -stable or -current,
> > and here the build number also tells you something:
> > Here you see who (root) built the kernel when (Nov 18),
> > on which host (athene.usta.de) and in which source tree.
> >
>
> kern.version=OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
>
> This is the one that I just installed. It does not report being one of
> -release, -stable or -current, but as per another posting, I am hoping that
> it is that official 4.2 release.
>

Yes.  Given the info above that is 4.2 release.

Greg

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: OpenBSD version / build question

2007-11-30 Thread Greg Thomas
I believe #375 is RELEASE from Aug 28 2007, that's what's in
/pub/OpenBSD/4.2/i386. Don't know where you're getting the others
from, snapshots?  It'd be nice if you mentioned your upgrade steps.

On Nov 30, 2007 10:50 AM, patrimith <[EMAIL PROTECTED]> wrote:
> Hi List!
>
> I'm upgrading a server from OpenBSD 4.1 to 4.2 and there are a number of
> servers that have been done already. 'uname -a' tells me that they are:
>
> OpenBSD hostname 4.2 GENERIC#375 i386
> OpenBSD hostname 4.2 GENERIC#410 i386
> OpenBSD hostname 4.2 GENERIC#468 i386
>
> 375, 410, 468:
> Are these build numbers?
> Or do they mean something else?
> Would they signify security fixes that are important?
>
> Should I be concerned that they are not the same across our different
> servers if our goal is to keep a consistent setup?
>
> Thanks,
>
> Patrick Smith
>
> --
> View this message in context: 
> http://www.nabble.com/OpenBSD-version---build-question-tf4923181.html#a14088909
> Sent from the openbsd user - misc mailing list archive at Nabble.com.
>
>



-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



  1   2   3   4   5   >