Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Crystal Kolipe
On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: > Hello everyone, hope you're having a great day. I am looking for > resources to learn modern C, so that I can understand (and hopefully > someday contribute) to the OpenBSD source code, in areas like device > drivers, kernel and th

Re: here one more array in the pipe prisoner.. suggestion

2025-07-28 Thread Crystal Kolipe
On Mon, Jul 28, 2025 at 01:26:00PM +0200, Dan wrote: > result [filename] > > And programmatically is really appreciable/ted :) Have you tried 'sha256 -r'?

Re: VMD more than one vCPU per VM and 4+ VMs running simultaneously

2025-07-27 Thread Crystal Kolipe
On Mon, Jul 28, 2025 at 06:06:46AM +, Martin wrote: > Can anybody share some way how to increase VM quantity per host (more than > four VMs running simultaneously) You probably need to add more tap devices in /dev... # cd /dev # ./MAKEDEV tap4 # ./MAKEDEV tap5 [...]

Re: No audio on Lenovo Thinkpad X1 Extreme Gen 5

2025-07-26 Thread Crystal Kolipe
On Sun, Jul 27, 2025 at 05:06:51AM +, dirk coetzee wrote: > I have the azalia driver as well, on a Dell XPS 9315. The dmesg you posted does not show the audio device connecting to the azalia driver, it is unrecognised. Since this is -current, the first question would be, did it _ever_ work be

Re: No audio on Lenovo Thinkpad X1 Extreme Gen 5

2025-07-26 Thread Crystal Kolipe
Have you tried selecting the audio1 device rather than audio0? I would expect that one to produce some output on this machine.

Re: du strange output on single file

2025-07-26 Thread Crystal Kolipe
On Sat, Jul 26, 2025 at 10:12:35AM -, Stuart Henderson wrote: > Other than wc, I think ls -l | awk is probably the most portable way. That will break badly if you feed it the name of a directory or a device file rather than a regular file. If you're going to use ls -l | awk, then it should pr

Re: here one more array in the pipe prisoner..

2025-07-26 Thread Crystal Kolipe
On Sat, Jul 26, 2025 at 11:22:47AM +0200, Dan wrote: > y=0 > arg[$y]="hello" > y=$y+1 > arg[$y]="dan" This piece of code doesn't do what you probably think it does. Although it works here, y is a string variable and not a numeric variable. If you add some extra echo statements you can se

Re: du strange output on single file

2025-07-25 Thread Crystal Kolipe
On Fri, Jul 25, 2025 at 07:30:38PM +0200, Kirill A. Korinsky wrote: > On Fri, 25 Jul 2025 19:20:53 +0200, > Dan wrote: > > > > Here I found a strange behavior of du: > > > > wiz$ ls -lsa index.php > > 16 -rw-r--r-- 1 user www 7412 Oct 19 2024 index.php > > wiz$ du index.php > > 16 index.php

Re: usb microphone on X1 Carbon

2025-07-17 Thread Crystal Kolipe
On Thu, Jul 17, 2025 at 02:32:36PM -0600, Raymond, David wrote: > record.enable=sysctl Have you enabled kern.audio.record? # sysctl kern.audio.record=1

Re: Upgrading Mac 2011 to 7.7: unbound(timeout) after update

2025-07-15 Thread Crystal Kolipe
On Wed, Jul 16, 2025 at 06:54:39AM +0200, Dan wrote: > I'm finishing the upgrade of my Mac 2011 - Intel with some general slow > performances with OpenBSD 7.7. Are you still running the entire system from a usb flash drive? > However I want to advise that launching > > wiz# /usr/sbin/rcctl -f s

Re: cvs

2025-07-13 Thread Crystal Kolipe
On Sun, Jul 13, 2025 at 12:53:57PM +, Daniel Wilkins wrote: > imo even git is too much SCM for most projects. I just rolled my own > eventually. +1

Re: NAS on OpenBSD?

2025-07-11 Thread Crystal Kolipe
On Fri, Jul 11, 2025 at 09:55:23AM -0700, Kevin Williams wrote: > I certainly want to detect a failing drive for my source data and replace it > before corrupted data is backed up from it. No matter what techniques you use, this is more difficult than it might seem. Copying data from one place to

Re: httpd log

2025-07-09 Thread Crystal Kolipe
On Wed, Jul 09, 2025 at 10:30:59PM -0600, latin...@resist.ca wrote: > > Quoth latin...@resist.ca: > >> Hello > >> > >> i found today these lines, is it something to be worry please? > >> > >> agroena.org 185.177.72.16 - - [09/Jul/2025:13:06:03 -0700] "GET > >> /.well-known/security.txt HTTP/1.1" 40

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Crystal Kolipe
On Wed, Jul 09, 2025 at 12:49:49PM -0400, Geoff Steckel wrote: > What do people use for long term/archival storage? BD-R. But at least in my experience it's getting more difficult to find good quality media. Plus the ~46 Gb capacity of BD-R DL discs is a tedious limitation when backing up volume

Re: NAS on OpenBSD?

2025-07-08 Thread Crystal Kolipe
On Tue, Jul 08, 2025 at 03:09:38PM -0500, Brian Conway wrote: > Essential files should be part of a regular backup. Not necessarily - finished projects and stuff that won't change anymore can be archived separately and taken out of the regular backup loop. Then you just keep a copy of that unchan

Re: NAS on OpenBSD?

2025-07-08 Thread Crystal Kolipe
On Tue, Jul 08, 2025 at 08:53:47PM +0200, Piotr K. Isajew wrote: > Do you use OpenBSD for your home > NAS? If yes, do you just rely on softraid to protect against data > loss or do you supplement it with something? This has been discussed on the lists several times in the past. Fancy filesystems

Re: iked ignoring srcid certs and keys

2025-07-08 Thread Crystal Kolipe
On Tue, Jul 08, 2025 at 10:47:21AM -, Stuart Henderson wrote: > From the manual > >/etc/iked/private/ The directory where local private keys used for > public key authentication are kept. The file > local.key is used to store the loc

Re: iked ignoring srcid certs and keys

2025-07-07 Thread Crystal Kolipe
On Mon, Jul 07, 2025 at 07:11:39PM +0200, open...@mailbox.org wrote: > The currently implemented behavior is also totally undocumented. The hard coded paths are mentioned in this guide: https://research.exoticsilicon.com/series/reckless_guide_to_openbsd/keys_and_certificates You might find other

Re: ipv6 prefix maintenance

2025-07-04 Thread Crystal Kolipe
On Sat, Jul 05, 2025 at 06:18:18AM +0200, Mike Fischer wrote: > BTW: The correct prefix for ULA is fc00::/7 (RFC 4193, RFC 8190). Technically yes, the prefix is specified as fc00::/7, but bit 7 is supposed to be set to 1 which effectively makes the prefix in practice fd00::/8. I.E. F C 110

Re: setting X11 screen resolution on boot

2025-07-04 Thread Crystal Kolipe
On Fri, Jul 04, 2025 at 02:43:44PM -0600, David Raymond wrote: > Crystal, thanks for the suggestion, but that didn't work either. > However, I found a simpler way of doing it: Add the line > > ${exec_prefix}/bin/xrandr --size 1600x900 > > with whatever screen resolution you desire, to the file >

Re: setting X11 screen resolution on boot

2025-07-04 Thread Crystal Kolipe
On Fri, Jul 04, 2025 at 12:01:22PM -0600, David Raymond wrote: > I used to be able to set my X11 screen resolution on boot by putting > something like the file > > Section "Screen" > Identifier "Screen0" > SubSection "Display" > Virtual 1600 900 > EndSubSection > EndSection You probably want so

Console 4096 colours and blink attribute

2025-07-04 Thread Crystal Kolipe
Tired of having just 256 colours on your console instead of 4096? Do you miss the blink attribute from the old VGA text mode days? Want to learn how cool stuff like this is implemented? Look no further: https://research.exoticsilicon.com/articles/console_4096

Re: New laptop will not boot install77.img

2025-07-01 Thread Crystal Kolipe
On Tue, Jul 01, 2025 at 03:58:14PM +0100, Maurice McCarthy wrote: > I disabled Secure Boot but when I tried to install OpenBSD7.7 it failed to > boot at all. In tiny text at the centre of the screen I get this: > > # > probing: pc0 mem [636K 760M 217M 31424M] > disk: hd0 hd

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-30 Thread Crystal Kolipe
On Sun, Jun 29, 2025 at 08:27:32PM -0400, Jason wrote: > I have a few choices. To turn off acpicpi on the amd64, switch to i386 Out of these two choices you would definitely want to use amd64 with acpipci disabled rather than i386. In fact, the i386 generic kernel doesn't include acpipci which is

Re: does openbsd support file history?

2025-06-29 Thread Crystal Kolipe
On Sun, Jun 29, 2025 at 04:39:28PM -0400, Geoff Steckel wrote: > FWIW, nlink_t is uint32_t which gives you quite a bit of time > before it runs out. LINK_MAX is 32767 which gives you somewhat less ;-).

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 11:51:07AM -0400, Jason wrote: > I have this laptop its an Acer aspire 7720 with an intel core 2 duo t5450. > Trying to boot the amd64 installer gives me an error of > > maclloc: allocation large error At the bootloader prompt, type: boot -c and when it enters UKC, do:

Re: does openbsd support file history?

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 04:26:05PM +0100, Ethan Azariah wrote: > On Sat, Jun 28, 2025, at 4:03 PM, Crystal Kolipe wrote: > > On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: > >> can ffs run out of inodes as ext2 can? > > > > Yes. > > > > But

Re: does openbsd support file history?

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: > can ffs run out of inodes as ext2 can? Yes. But with default settings and typical use, it probably won't happen.

Re: does openbsd support file history?

2025-06-27 Thread Crystal Kolipe
On Fri, Jun 27, 2025 at 08:24:10AM +0100, Ethan Azariah wrote: > What's a HBA Host Bus Adaptor

Re: posting a patch

2025-06-24 Thread Crystal Kolipe
On Tue, Jun 24, 2025 at 04:40:22PM -0400, Geoff Steckel wrote: > I have a kernel patch which allows NetMos PCI serial/parallel chips. > Post it here, tech, mail somewhere? Patches are best sent to t...@openbsd.org for review.

Re: style(9) question - declarations in for(;;) statements

2025-06-21 Thread Crystal Kolipe
On Sat, Jun 21, 2025 at 02:26:12PM -0400, Geoff Steckel wrote: > Recent C standards allow (a) >     for (int i = 0; i < 10; i++) > which limits the scope of i to the loop > instead of (b) >     int i; >     for (i = 0; > which leaves i in scope > > Is it permissible to use (a) in kernel code

Re: install.sub: "setup" vs to "set up"

2025-06-18 Thread Crystal Kolipe
On Wed, Jun 18, 2025 at 10:23:01AM +0100, Stuart Henderson wrote: > On 2025/06/18 03:41, Crystal Kolipe wrote: > > On Mon, Jun 16, 2025 at 11:13:07AM -, Stuart Henderson wrote: > > > On 2025-06-16, Claus Assmann wrote: > > > > While trying to find a way t

Re: install.sub: "setup" vs to "set up"

2025-06-17 Thread Crystal Kolipe
On Mon, Jun 16, 2025 at 11:13:07AM -, Stuart Henderson wrote: > On 2025-06-16, Claus Assmann wrote: > > While trying to find a way to get fw_update to work during autoinstall > > without an internet connection, I noticed the use of the word > > "setup" - maybe someone can take a look and decid

Re: Future of Xenocara

2025-06-15 Thread Crystal Kolipe
On Sun, Jun 15, 2025 at 09:36:42AM -0400, Christopher Turkel wrote: > Maintaining a fork would be a tremendous effort As somebody who actually uses the networking parts of X11 on a daily basis, (I.E. programs running on one machine and displaying their graphical output on an X server running on a

Re: uslcom(4) not attaching to ucom(4) / showing up on /dev/cuaU*

2025-06-04 Thread Crystal Kolipe
On Tue, May 06, 2025 at 09:37:43PM +0200, Manuel Kuklinski wrote: > Hi! > > I have a CC2652RB Zigbee stick, which I cannot access via /dev/cuaU*, > despite attaching at ucom(4), at least according to dmesg. It is > initially recognized as uslcom(4): > > - - - - - - - - - - %< - - - - - - - - - -

Framebuffer console patchset, 256 colours, italic text...

2025-06-04 Thread Crystal Kolipe
A couple of years ago I wrote some patches to make the framebuffer console a bit more compatible with xterm: https://marc.info/?l=openbsd-tech&m=167252984220096&w=2 Some of the more essential fixes found their way in to CVS, but a lot of the more experimental code didn't. As a result, setting TE

Re: wskbd connects differently now, without pckbc timeouts

2025-06-02 Thread Crystal Kolipe
On Mon, Jun 02, 2025 at 09:17:47AM +0200, Jan Stary wrote: > On Jun 02 03:16:13, kolip...@exoticsilicon.com wrote: > > On Mon, Jun 02, 2025 at 08:04:22AM +0200, Jan Stary wrote: > > > In retrospect, why did this USB keyboard ever attach via pckbc? > > > > It didn't. At least, not in the dmesgs th

Re: wskbd connects differently now, without pckbc timeouts

2025-06-01 Thread Crystal Kolipe
On Mon, Jun 02, 2025 at 08:04:22AM +0200, Jan Stary wrote: > In retrospect, why did this USB keyboard ever attach via pckbc? It didn't. At least, not in the dmesgs that you attached. The pckbc and pckbd drivers are strictly PS/2. The uhidev and ukbd drivers are USB. Both pckbd and ukbd can be

Re: wskbd connects differently now, without pckbc timeouts

2025-06-01 Thread Crystal Kolipe
On Sun, Jun 01, 2025 at 11:16:20AM +0200, Jan Stary wrote: > This is current/amd64 on an old PC. > Everything works, this is just to say that > the wskbd connects differently now (full dmesgs below). > -isa0 at pcib0 > -isadma0 at isa0 > -pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > -pckbd0 at pckbc0

Re: /bin/sh and RANDOM documention error?

2025-05-16 Thread Crystal Kolipe
On Fri, May 16, 2025 at 03:35:42PM +0200, Jan Stary wrote: > On May 16 15:10:48, fischer+o...@lavielle.com wrote: > > The sh(1) manage does not mention the RANDOM variable. > > But it mentions that sh(1) is ksh(1) It also mentions that sh(1): "describes only the parts relevant to a POSIX complia

Re: Excessive memory cache causing performance issues

2024-11-15 Thread Crystal Kolipe
On Tue, Nov 12, 2024 at 05:09:17PM +0100, Bambero wrote: > I've tried adjusting kern.bufcachepercent and kern.maxvnodes to limit cache > growth, but the cache still occupies a large portion of memory. The value of kern.bufcachepercent relates to the amount of DMA-accessible RAM that is available f

Re: Discrepancies between i386 port list and package list

2024-08-30 Thread Crystal Kolipe
On Fri, Aug 30, 2024 at 09:56:13AM -, Stuart Henderson wrote: > imho you should really be looking for a 64 bit machine if you want to > run a web browser. Lynx runs just fine on my i386 ;-)

Re: USB gigabit nic

2024-08-24 Thread Crystal Kolipe
On Sat, Aug 24, 2024 at 09:02:21AM -0300, Paulo Mafra wrote: > Hello guys, i have a firewall (APU board) with limited traffic to 450mbps. > I was wondering if is there some USB nic that deal with 1 gbps at least and > works fine in openbsd ? Any sugestion ? I've used a few USB-C NICs that are bas

Re: igc network devices work during install, but not when booted into installed system

2024-08-14 Thread Crystal Kolipe
On Wed, Aug 14, 2024 at 11:08:39AM +0200, Georg Bege wrote: > The devices are being detected and igc0 is in an UP state. > Igc0 is missing an IP, do you acquire one via DHCP? > Did you try to set one up? That's not the problem. In fact, igc0 is assigned an IP of 192.168.10.192 in the ifconfig out

Re: VPN iked keys in 7.5 don't work with older systems

2024-08-13 Thread Crystal Kolipe
On Tue, Aug 13, 2024 at 10:42:51PM -0400, Daniel Ouellet wrote: > Hi, > > I just tried to setup iked vpn as I did many times before by coping keys > from > > /etc/iked/local.pub > > between systems and it doesn't work anymore. > > Looking at the keys, they are now a different type. > > On all

Re: How to trim SSD?

2024-08-11 Thread Crystal Kolipe
On Sun, Aug 11, 2024 at 05:45:43PM -0400, Nick Holland wrote: > No, OpenBSD does not do "TRIM" (unless something was slipped in when I wasn't > looking). But as an alternative you can copy the data elsewhere and then do a SECERASE on the original drive using atactl on OpenBSD. * This can resolve

Re: wireguard routing

2024-08-10 Thread Crystal Kolipe
On Sat, Aug 10, 2024 at 09:18:48AM +0100, 04-psyche.tot...@icloud.com wrote: > Hi all, > > I am working on a wireguard network. > > I have a setup like this: > > serverA (10.0.0.0) => serverB (10.0.0.1) => serverC (10.0.0.2) > > - serverA connects to serverB with AllowedIPs = 0.0.0.0/0 > - serv

Re: Automatic Disk Partitioning

2024-08-04 Thread Crystal Kolipe
On Mon, Aug 05, 2024 at 03:42:48AM +0200, David Uhden Collado wrote: > > Why not just use a custom disklabel template that suits your needs? This > is the -t option to /sbin/disklabel. > > How is it possible to use a custom template from the OpenBSD installer? You'll need to drop to the shell and

Re: About pf Rule ( pf.conf

2024-08-04 Thread Crystal Kolipe
On Mon, Aug 05, 2024 at 12:36:18AM +0900, WATANABE Takeo wrote: > Dear Sirs, > > Would you be willing to discuss how to write pf.conf? > > I'm using OpenBSD 7.5 AMD. > I want to limit the packets going in and out as follows > > 1. reject in principle : block all > 2. when rejecting packets, do n

Re: Automatic Disk Partitioning

2024-08-04 Thread Crystal Kolipe
On Sun, Aug 04, 2024 at 09:16:52PM +0200, David Uhden Collado wrote: > 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. Why not just use a custom disklabel template that

Re: iked authentication logging ?

2024-07-30 Thread Crystal Kolipe
On Tue, Jul 30, 2024 at 11:39:39PM -, Stuart Henderson wrote: > On 2024-07-30, J Doe wrote: > > As a result with continuing to experiment with my configuration, I ran > > into a new issue. I followed the instructions in the OpenBSD FAQ[0] for > > an X.509 configuration - in particular the fol

Re: exFAT & NTFS

2024-07-28 Thread Crystal Kolipe
On Sun, Jul 28, 2024 at 09:40:29AM -0400, openbsd_fr...@mail2tor.com wrote: > Can OpenBSD write to exFAT and NTFS partitions? Sure. You can write random data to any partition with dd.

Re: iked authentication logging ?

2024-07-25 Thread Crystal Kolipe
On Wed, Jul 24, 2024 at 06:20:26PM -0400, J Doe wrote: > My hypothesis is that iked does not name an identity because this is > certificate based authentication vs. MSCHAPv2 for EAP authentication > which would provide an identity (ie: a username). > > Is that correct ? No. The identity that wou

Re: avoid single-user mode boot

2024-07-24 Thread Crystal Kolipe
On Wed, Jul 24, 2024 at 10:53:28AM -, Stuart Henderson wrote: > On 2024-07-24, Crystal Kolipe wrote: > > The normal way to handle this and other boot-related problems is with a > > serial > > connection from another machine that is still accessible via the network. >

Re: trying to boot on HP EliteBook 820 G1

2024-07-24 Thread Crystal Kolipe
On Wed, Jul 24, 2024 at 12:19:34PM +0200, Jan Stary wrote: > The problem persists with every USB stick, > with each of miniroot75.img, install75.img > and a full usb stick install, on every USB port. Out of curiosity, does the machine successfully boot OpenBSD/i386 from a USB stick?

Re: avoid single-user mode boot

2024-07-24 Thread Crystal Kolipe
On Wed, Jul 24, 2024 at 09:04:17AM +0100, 04-psyche.tot...@icloud.com wrote: > Alternatively, is there a way to have ssh access in single user mode? The normal way to handle this and other boot-related problems is with a serial connection from another machine that is still accessible via the netwo

Re: trying to boot on HP EliteBook 820 G1

2024-07-22 Thread Crystal Kolipe
On Mon, Jul 22, 2024 at 03:22:21PM +0200, Jan Stary wrote: > There, the rotating slash either stops and nothing else happens, > or the machine reboots after the first number in > > booting hd0a:/bsd 12345678 + [reboot] > > This happens with both bsd and bsd.rd. > > The USB stick holds a fu

Re: Dual boot with 2 openbsd

2024-07-19 Thread Crystal Kolipe
On Thu, Jul 18, 2024 at 10:38:42PM +0200, Martin Schrder wrote: > Am Mi., 17. Juli 2024 um 00:18 Uhr schrieb <04-psyche.tot...@icloud.com>: > > Does this idea make sense? > > No. > You'll have to keep both systems up-to-date. Only if you expect the system to come up 100% automatically when the fi

Re: Dual boot with 2 openbsd

2024-07-17 Thread Crystal Kolipe
On Wed, Jul 17, 2024 at 11:05:05AM +0100, 04-psyche.tot...@icloud.com wrote: > Your point regarding no guarantee for the system to boot to disk 2 is well > taken. It makes me question if it's worth doing at all. Do yo uhave a sense > if there is a large enough probability of disk1 failing catastrop

Re: Frustrating feature in Evolution mail

2024-07-17 Thread Crystal Kolipe
On Wed, Jul 17, 2024 at 09:59:01AM +0100, Mark Gary wrote: > /etc/login.conf - yes I did run cap_mkdb. Don't. On a small personal system there is no point in using the db format for login.conf. Remove the db version and stick to the plain text file.

Re: Dual boot with 2 openbsd

2024-07-17 Thread Crystal Kolipe
On Tue, Jul 16, 2024 at 09:57:20PM +0100, 04-psyche.tot...@icloud.com wrote: > - Install OpenBSD on the 2 drives > + drive1 : partition a to k for the OS > + drive 2: partition a to k for the OS and partition m for data > - In UEFI, set up boot priority drive1, then drive2 > - In the OS

Re: httpd: request rewrite reliably causes 500 internal server error

2024-07-13 Thread Crystal Kolipe
On Sat, Jul 13, 2024 at 08:48:56PM +1000, Paul W. Rankin wrote: > Hello, > > I’m trying to get a basic URL rewrite working with httpd but, alas, it > seems broken. It's not broken :-). > > My goal: > > /~USER -> /htdocs/u/USER root "/htdocs/u" location match "/~(.*)" { request

Re: openbsd console

2024-07-13 Thread Crystal Kolipe
On Sat, Jul 13, 2024 at 02:12:35PM +0200, Erling Westenvik wrote: > It is my understanding that OpenBSD requires X for any practical, productive > and meaningful terminal usage. That is completely untrue. > As for your question the FAQ briefly describes some trickery that may or may > not be appl

Re: vi: How to display German umlauts?

2024-07-13 Thread Crystal Kolipe
On Thu, Jul 11, 2024 at 06:34:00PM +0100, ropers wrote: > On Thu, 11 Jul 2024 at 06:09, Crystal Kolipe > wrote: > > > On Thu, Jul 11, 2024 at 04:25:33AM +0100, ropers wrote: > > > It's long been a secret wishlist item for me to solicit/reach agreement > > on

Re: Running OpenBSD on a VPS.

2024-07-12 Thread Crystal Kolipe
On Sat, Jul 13, 2024 at 02:16:12AM +0200, Christian Schulte wrote: > There is no security with those kind of setups and we > all know it. I am just glad I can run OpenBSD there. But if you want to run internet-facing servers without exposing access to them to the VPS hosting provider, you can stil

Re: webcam detected but image capture shows green/black screen

2024-07-12 Thread Crystal Kolipe
On Fri, Jul 12, 2024 at 01:04:10PM +0530, Sandeep Gupta wrote: > I have a non-mainstream laptop (company name: chuwi). Working great so far > but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024 > count=10` and all i am getting is the stream of 0s. Is sysctl kern.video.record

Re: vi: How to display German umlauts?

2024-07-10 Thread Crystal Kolipe
On Thu, Jul 11, 2024 at 04:25:33AM +0100, ropers wrote: > It's long been a secret wishlist item for me to solicit/reach agreement on > which 256 (possibly 512) code points might merit inclusion in a minimal There is already preliminary support for propper UTF-8 handling in the framebuffer console

Re: Filesystem corruption on OpenBSD routers after power outage?

2024-07-10 Thread Crystal Kolipe
On Wed, Jul 10, 2024 at 08:32:38PM -, Stuart Henderson wrote: > On 2024-07-10, Tom Smyth wrote: > > I don't include a swap partition on the routers in the field as I > > don't want them swapping to disk, we over specify the hardware so that > > memory exhaustion is (should be anyway) not a c

Re: Filesystem corruption on OpenBSD routers after power outage?

2024-07-10 Thread Crystal Kolipe
On Wed, Jul 10, 2024 at 03:29:47PM -0500, Brian Conway wrote: > On Wed, Jul 10, 2024, at 2:48 PM, Tom Smyth wrote: > > Hi Kirill, > > I don't include a swap partition on the routers in the field as I > > don't want them swapping to disk, we over specify the hardware so that > > memory exhaustion i

Re: Full disk encryption - Verifying/changing passphrase

2024-07-01 Thread Crystal Kolipe
On Mon, Jul 01, 2024 at 10:30:28PM -0700, patrick keshishian wrote: > 1. How can one verify they remember the passphrase before > rebooting/shutting down? If this is a fresh installation, you'll usually want to reboot and check that everything went smoothly anyway. If you've already lost the pas

Re: M-Audio Fast Track Ultra 8R

2024-06-29 Thread Crystal Kolipe
On Sun, Jun 30, 2024 at 08:26:06AM +0200, Jan Stary wrote: > What can I do to debug this? usbdevs -vv would be interesting. > uhub4: device problem, disabling port 2 Is this error reported each time you connect the device, or was it just co-incidence that it happened this time? If it does appe

Re: make usb audio device always rsnd/1 - not rsnd/2

2024-06-28 Thread Crystal Kolipe
On Fri, Jun 28, 2024 at 11:56:11AM +0200, Divan Santana wrote: > Thanks to all for the suggestions! > > >> How can one make "Creative Creative BT-W5" device always rsnd/1 and not > > A -workaround- is: > >   Don't explicitly name an audio device in your commands. > >   Use the environment variab

Re: /tmp on mfs is blocked

2024-06-28 Thread Crystal Kolipe
On Fri, Jun 28, 2024 at 10:51:38AM +0100, Kirill A. Korinsky wrote: > On Fri, 28 Jun 2024 07:24:16 +0100, > Dan wrote: > > > > What about permissions over /tmp? > > > > I really think you are talking of /tmp over mfs, mh.. in my own > > flavour (different setup) I have to *very versatilly* adjus

Re: accidentally overwritten wrong drive with DD, please help

2024-06-23 Thread Crystal Kolipe
at 12:35:56PM -0300, Crystal Kolipe wrote: > In theory most of your data would be recoverable from that image, but it would > require a lot of work and knowledge of ffs filesystem layout. Saving an image of the, (decrypted), partition gives you the chance to recover some of the data at

Re: accidentally overwritten wrong drive with DD, please help

2024-06-23 Thread Crystal Kolipe
On Sun, Jun 23, 2024 at 07:03:36PM +, Anon Loli wrote: > Okay, I now have a fresh big chunky encrypted drive on another machine and can > transfer the image/files from the corrupted sd3i to it, but when I tried to > run > `dd if=/dev/sd3i | ssh destination "dd of=/mnt/somewhere/ssdimage bs=1m"

Re: IPv6 ULA routing stops working after 20 hours or so

2024-06-23 Thread Crystal Kolipe
On Sun, Jun 23, 2024 at 06:42:10PM +0200, Thomas Bohl wrote: > (The log-output is indistinguishable from when it is working.) Yet I don't > see them arriving with tcpdump: > > # tcpdump -n -i vio0 ip6 > tcpdump: listening on vio0, link-type EN10MB > 18:29:38.703181 fe80::be24:11ff:fe10:5272.46404

Re: accidentally overwritten wrong drive with DD, please help

2024-06-23 Thread Crystal Kolipe
On Sun, Jun 23, 2024 at 12:19:15PM +, Anon Loli wrote: > On Sun, Jun 23, 2024 at 11:56:18AM +, Anon Loli wrote: > > On Sat, Jun 22, 2024 at 03:28:37PM -0300, Crystal Kolipe wrote: > > > On Sat, Jun 22, 2024 at 06:03:06PM -, Stuart Henderson wrote: > > > >

Re: Installer cannot open hd0a

2024-06-23 Thread Crystal Kolipe
On Sun, Jun 23, 2024 at 11:44:30AM +, Anon Loli wrote: > Every time I tried it, be it 7.3 or 7.5 install*.img, or I now tried a CD/DVD > 7.5 iso and got "cannot open cd0a.\n booting cd0a", I always went to SHELL > and typed this: > `dd if=/dev/urandom of=/dev/rsd0c bs=1m` the sd0 or sd1 bei

Re: accidentally overwritten wrong drive with DD, please help

2024-06-22 Thread Crystal Kolipe
On Sat, Jun 22, 2024 at 06:03:06PM -, Stuart Henderson wrote: > If this is really important, I suggest going to buy another drive to > plug in and dd to rather than trying to do anything complicated. Definitely. If the only copy of the key is in RAM, then time is of the essence.

Re: accidentally overwritten wrong drive with DD, please help

2024-06-22 Thread Crystal Kolipe
On Sat, Jun 22, 2024 at 03:02:29PM +, Anon Loli wrote: > On Sat, Jun 22, 2024 at 11:51:53AM -0300, Crystal Kolipe wrote: > > On Sat, Jun 22, 2024 at 01:02:04PM +, Anon Loli wrote: > > > Hello list > > > So I was trying to resolve the problem that I just submitt

Re: accidentally overwritten wrong drive with DD, please help

2024-06-22 Thread Crystal Kolipe
On Sat, Jun 22, 2024 at 01:02:04PM +, Anon Loli wrote: > Hello list > So I was trying to resolve the problem that I just submitted with the > Installer, and I was putting a fresh install75 on my USB, the problem is that > last DD/flash my USB was on sd2, and in meanwhile I attached my VERY IMPO

Re: accidentally overwritten wrong drive with DD, please help

2024-06-22 Thread Crystal Kolipe
On Sat, Jun 22, 2024 at 01:02:04PM +, Anon Loli wrote: > So, guess who did a DD with "of=/dev/rsd2c" instead of "of=/dev/rsd4c"... ME > Can this volume/drive still be recovered? I think the metadata and stuff is > lost > "77594624 bytes transferred", so about 74M... First of all, STOP. Anythi

Re: behavior of usermod

2024-06-22 Thread Crystal Kolipe
On Sat, Jun 22, 2024 at 10:15:33AM +, dalton.c.russell wrote: > I double checked with id and it does show that my user is in the wheel group > but if i look at /etc/groups it isn’t listed next to wheel. What arguments did you pass to usermod exactly? > is usermod supposed to modify /etc/group

Re: How are default config files populated?

2024-06-21 Thread Crystal Kolipe
On Fri, Jun 21, 2024 at 11:43:14PM +0100, Jo MacMahon wrote: > I recently needed to restore the file `/var/unbound/etc/unbound.conf`, which > is in the base system, to its original version, and assumed I could get it > out of one of the file sets, most likely `base75.tgz`. However the file is > not

Re: Do I need to wipe encrypted dual boot NVME before installation

2024-06-15 Thread Crystal Kolipe
On Sat, Jun 15, 2024 at 09:01:51AM +, lafermedesanim...@posteo.net wrote: > I have a dual boot Devuan/OpenBSD, I wrote random data on my > drive and then install the OSes, both are encrypted. > Now, I want to remove this dual boot to have only OpenBSD > and use it as a daily driver. > My plan f

Re: Rate limit the httpd web server for signup requests

2024-06-13 Thread Crystal Kolipe
On Tue, Jun 11, 2024 at 10:41:33PM +, Martin wrote: > But what useful methods exists that prevent spamming a HTML signup form > from stuffing the database with useless signups? > > Naturally the accounts that haven't been validated one way or another > gets deleted, but the initial signup is a

Re: crippled my laptop trying to reclaim root space

2024-06-12 Thread Crystal Kolipe
On Thu, Jun 13, 2024 at 03:47:26AM +0400, shadrock uhuru wrote: > i tried bioctl -c C -l /dev/sd0a softraid0 > which returned the following errors > > softraid0: sd2 was not shutdown properly > softraid0: sd2 was not shutdown properly > bioctl: KDF hint has invalid size You are getting this error

Re: Recommendations for 2.5G NIC

2024-06-05 Thread Crystal Kolipe
On Thu, Jun 06, 2024 at 03:08:49AM +, Martin wrote: > I am about to upgrade a network from 1G to 2.5G and a couple > of boxes needs new NICs. > > Any recommendations for NICs with good driver support on OpenBSD? We have quite a few NICs that are based on the RTL8125, which uses the rge driver

Re: disk encryption for remote server

2024-05-26 Thread Crystal Kolipe
On Sun, May 26, 2024 at 08:33:59PM +0100, 04-psyche.tot...@icloud.com wrote: > Is there any way to use disk encryption without having physical access to > the device? Yes, it is possible. But I think you are talking about full disk encryption and want to enter a passphrase at the bootloader promp

Re: What software to debugging and analyzing C?

2024-05-14 Thread Crystal Kolipe
On Sun, May 12, 2024 at 10:26:55PM +0200, Tomasz Rola wrote: > I am sure gdb has some merits but for whatever C programs I wrote so > far, a much more useful debugging technique was putting printf in > right places and isolate the problem, and after that doing some mental > work to actually underst

Re: No coloring with colorls

2024-03-26 Thread Crystal Kolipe
On Mon, Mar 25, 2024 at 07:03:06PM -0400, Amelia A Lewis wrote: > Note that you need a color-capable terminal to enable colorls. This > means you should set your TERM to "wsvt25" on the wscons(4) console For several releases now, you should be able to set TERM to "xterm" even when using wscons.

Re: how to external encrypted drive that supports OpenBSD and FreeBSD?

2024-03-01 Thread Crystal Kolipe
On Fri, Mar 01, 2024 at 04:50:01PM -, beecdadd...@danwin1210.de wrote: > hi list > do you have any recommendation? internet can't find my answer > > drive is external usb and it has to be encrypted.. > something that can also supports freeBSD is what I need > fast solution is fat32, but how do

Re: mirror.bytemark.co.uk appears to have removed all OpenBSD content?

2024-02-28 Thread Crystal Kolipe
On Wed, Feb 28, 2024 at 11:26:31AM +0100, Janne Johansson wrote: > Stuart is already testing listed mirrors. And tests have indeed shown that Stuart locked in a room with a workstation for 15 hours a day repeatedly and reliably outperforms an AI running on any of the top 500 supercomputers for thi

Re: mirror.bytemark.co.uk appears to have removed all OpenBSD content?

2024-02-28 Thread Crystal Kolipe
On Wed, Feb 28, 2024 at 09:25:35AM +, Pontus Stenetorp wrote: > scripting together some sort of "mirror health" tool would be a fairly easy > (yet probably valuable) In principle it might sound 'fairly easy', but once you start to add code to deal with things such as sites going down for plann

Re: Automatic OS updates

2024-02-16 Thread Crystal Kolipe
On Fri, Feb 16, 2024 at 12:10:18PM -0800, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > At work I manage a herd of a dozen OpenBSD machines. We "upgrade" > by perforing a full network install. +1 All of our servers are upgraded the same way - fresh install, and restore the configuration and user da

Re: Screenshotting using PrtScr in cwm?

2024-02-11 Thread Crystal Kolipe
On Sun, Feb 11, 2024 at 10:34:52AM +0100, Omar Polo wrote: > I can reproduce here. Laptop' print key works, the USB keyboard one > doesn't. On PS/2 keyboards the print screen key and the pause/break key have special behaviour when operating in set 2. On USB keyboards print screen is basically ju

Re: questions about RAID5C, RAID6, RAID6C, can Openbsd be a good storage-server OS?

2024-02-05 Thread Crystal Kolipe
On Mon, Feb 05, 2024 at 12:56:39PM -, beecdadd...@danwin1210.de wrote: > wow that's unreadable on my browser > is that 75M I'm seeing? and doesn't even work as a readable site > Ill be reading that for the rest of life thanks The linked page passes HTML and CSS validation: https://validator.n

Re: Huawei K5161h 4G dongle

2024-01-25 Thread Crystal Kolipe
On Thu, Jan 25, 2024 at 03:44:07PM +, Alex Frolkin wrote: > All I get from pppd is "LCP: timeout sending Config-Requests", after > the "CONNECT". > > I've also discovered yet another mode of this device (using the patch > below), to turn it into product ID 1001, which comes up as three ucom(4)

Re: Huawei K5161h 4G dongle

2024-01-24 Thread Crystal Kolipe
On Wed, Jan 24, 2024 at 11:01:23PM +, Alex Frolkin wrote: > On Wed, Jan 24, 2024 at 10:03:00PM +, Alex Frolkin wrote: > > In any case, I think the right answer is to make it work with umb(4). > > I'll see if I can make any progress with this. > > Okay, I got this wrong. What I thought was

Re: history of w(1)

2024-01-22 Thread Crystal Kolipe
On Mon, Jan 22, 2024 at 10:10:22PM +0900, SASANO Takayoshi wrote: > I found history of w(1) is > > > HISTORY > > The w command appeared in 2BSD. > > But man of OpenBSD-5.0 and previous describes > > > HISTORY > > The w command appeared in 3.0BSD. > > NetBSD's w(1) comes from 3.0BSD. >

  1   2   3   >