success with PF+PFSYNC+CARP

2023-08-21 Thread Pierre-Philipp Braun
Hello, I just wanted to share how cool and easy it was to setup PF+PFSYNC+CARP over here, for a simple inbound/outbound HA gateway. The fail-over was successful from one node to another: the SSH connection remained up while switching states and DNAT from a pfsync node to another. I used the

Re: 5G wifi connection

2023-06-23 Thread Pierre-Philipp Braun
apparently that's normal, as the manual suggests "It operates in the 2GHz spectrum only." https://man.netbsd.org/urtwn.4 -- Pierre-Philipp Braun On 5/24/23 20:23, Bruno Melo wrote: Hi, Do you know somehow to make NetBSD connect into a 5G wifi using urtwn dongle? I'm trying b

Re: Limitations regarding number of VNDs as Xen Backing Store for DomUs (consider partitionless image approach vs. GPT in image approach)

2023-06-23 Thread Pierre-Philipp Braun
On 5/17/23 16:28, Matthias Petermann wrote: This leads to the main reason for my question: apart from the VND nodes in /dev that I can easily generate in sufficient numbers using MAKEDEV, what other unknown limitations might I potentially encounter earlier with this approach compared to

Re: IP-based KVM solutions

2023-06-23 Thread Pierre-Philipp Braun
On 5/3/23 23:39, Brook Milligan wrote: Perhaps slightly off topic (forgive me), but I am guessing that some of you have NetBSD systems connected to IP-based (i.e., remote) KVM systems so that they can be monitored and controlled from afar. I am wondering what solutions that you have found

Re: Writing a CD

2022-11-07 Thread Pierre-Philipp Braun
On 05/11/2022 23:32, Todd Gruhn wrote: I am writing a large *.wav to CD. I get: Cannot read drive buffer The DMA speed test has been skipped What does this mean? Can one make the MP3/WAV file un-writeable to CD? Hello Todd, it's not clear how you are attempting to write the file

Re: [Solved] Re: Cannot boot, was: Re: Can't install NetBSD to ffs2 partition, no errors

2022-10-31 Thread Pierre-Philipp Braun
menuentry "NetBSD" { insmod part_gpt insmod chain chainloader (hd0,gpt2)/EFI/boot/bootx64.efi } I am not sure I followed everything, but if you've already gone that far and use GRUB instead, why not load the kernel directly from there? menuentry "netbsd -v" {

Re: Mounting Linux swap, during or post installation

2022-10-13 Thread Pierre-Philipp Braun
- Do i have to edit the Linux swap partition to have it recognised as swap by NetBSD? in short, you cannot use the same partition for swap unless you want to hack around. No idea if this old guide is still relevant nor if this can be applied to NetBSD, but it could be worth a try ) 3.

Re: netbsd .img at vultr?

2022-09-04 Thread Pierre-Philipp Braun
is there an image installer that works at vultr please? i have tested Openbsd and Freebsd and they works correctly. I normaly use Openbsd as server. Not AFAIK but if there's a GNU/Linux rescue system you should be able to deploy NetBSD there: (easy & dirty) Installing NetBSD on EXT2FS from

Re: Cybersquatters and netbsd.ru domain

2022-09-04 Thread Pierre-Philipp Braun
https://www.cnews.ru/articles/kiberskvotting_zakony_rossii_neodnoznachny Interesting, it seems there's a way to handle it within the Russian Federation without going through a UDRP *1: by addressing the Moscow Arbitration Court which is accustomed to those disputes. If previous ownership

Re: Cybersquatters and netbsd.ru domain

2022-09-04 Thread Pierre-Philipp Braun
On 04/09/2022 14:18, Dmitrii Postolov wrote: I want to appeal to the Community with such a question. In Russia, cybersquatter(s) seized the netbsd.ru domain and are trying to sell it, the amount of 10,000 rubles is called, but this can be a lie. There is a NetBSD community in Russia, on the

Re: Trying to install NeBSD on bare metal through a Linux distro

2022-05-21 Thread Pierre-Philipp Braun
it from their FreeBSD rescue system, which you also have at OVH apparently. Installing NetBSD from FreeBSD https://pub.nethence.com/bsd/malabar.freebsd HTH ;-) -- Pierre-Philipp Braun SMTP Health Campaign: enforce STARTTLS and verify MX certificates <https://nethence.com/smtp/>

Re: Can't mount an ext4 partition under NetBSD

2022-01-15 Thread Pierre-Philipp Braun
> None of them is the working one. > Hello Mario, why not try with ext2fs directly ? You will miss some features but ext4 is backwards compatible.

Re: Mouse movements

2021-07-29 Thread Pierre-Philipp Braun
n the "watching user devices" front, supposedly to find out about typed characters based on keyboard sounds: https://ggerganov.github.io/keytap and https://s2.smu.edu/~eclarson/pubs/2019Keyboard.pdf HTH -- Pierre-Philipp Braun SMTP Health Campaign: enforce STARTTLS and verify MX cert

Re: OS-level virtualization

2021-04-06 Thread Pierre-Philipp Braun
it. I can only suppose it's a bit stronger than the system chroot. Is it? -- Pierre-Philipp Braun SMTP Health Campaign: enforce STARTTLS and verify MX certificates <https://nethence.com/smtp/>

Re: postfix for 2 domains on 1 vps 1 ip

2021-01-05 Thread Pierre-Philipp Braun
I get 2 public ips from the cloud provider - one is ipv4 and one ipv6. I have a NetBSD 9.1 host on which I'll setup NetBSD 9.1 qemu guest and would like the guest to get the ipv6 public ip. Is this feasible? Any tips (both NetBSD and qemu side)? That qemu on a cloud instance sounds like bad

Re: steamcmd not working on netbsd 9 i386

2020-08-26 Thread Pierre-Philipp Braun
steamcmd not working on netbsd 9 i386 Maybe you're simply missing a trust store? You need to do that manually on NetBSD. Assuming you want the usual set of public CAs in place, here is it. export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/.../All; pkg_add mozilla-rootcerts cp -i

Re: What administrative user interfaces for Xen are available for NetBSD?

2020-08-25 Thread Pierre-Philipp Braun
since I set up my lab environment on NetBSD/Xen I am very satisfied with the handling of Xen. I use a mixture of sparse image files and LVM volumes as storage. The guests are mostly NetBSD (PVM) and some Windows 7 VMs. Apart from snapshots (which I would probably get if I switched to ZFS

Re: setkey -- twofish-cbc unsupported algorithm

2020-04-28 Thread Pierre-Philipp Braun
Yep for the record, on a netbsd-9 guest with hw accel I get (devcrypto) /dev/crypto engine (rdrand) Intel RDRAND engine (dynamic) Dynamic engine loading support that was OpenSSL 1.1.1c 28 May 2019 while on another netbsd-9 w/o hw accel I get (cryptodev) BSD cryptodev engine (dynamic)

Re: setkey -- twofish-cbc unsupported algorithm

2020-04-28 Thread Pierre-Philipp Braun
I'm not clear on if Chacha20 is specified for IPsec. It was not there originally of course, but it's coming (proposed standards) ChaCha20 & Poly1305 for IPsec https://tools.ietf.org/html/rfc7634 and it is mentioned as SHOULD, there in section 5 ESP and AH Algorithm Requirements

Re: setkey -- twofish-cbc unsupported algorithm

2020-04-28 Thread Pierre-Philipp Braun
Also, as you test, you may want to look into whether the kernel is using AES instructions, with or without /dev/crypto offload. I have not paid attention to these details in quite a few years. As wikipedia notes, while twofish and rijndael were competitive in speed, twofihs is slower on

Re: authentication scheme to share password between bozohttpd and asterisk

2020-04-28 Thread Pierre-Philipp Braun
Whenever I open up use of sip/webrtc to users, as far as possible I don't want them to be bothered with yet another password and preferably not even ask to enter the same password when using the webrtc app. How is authentication handled on Asterisk's side? And if that's WebRTC, could a

setkey -- twofish-cbc unsupported algorithm

2020-04-21 Thread Pierre-Philipp Braun
Hello, I was willing to benchmark and compare a few IPSEC settings and I noticed twofish-cbc does not seem to be available, although it is referenced in the manual. Seen on NetBSD/amd64 9.0. Is this a known issue? I tried with 128 and 256 bit keys, same result. No probem with blowfish-cbc

Re: NetBSD mirrors in Kazakhstan?

2020-04-14 Thread Pierre-Philipp Braun
Nikita - you might try my yet-unofficial and mirror in Russia but so far there's only release 9.0 there http://mirror.os3.su/pub/NetBSD/NetBSD-9.0/ HTH and you will get good download bandwidth). You can also compare against the CDN - but I think I am the closest (unofficial) mirror to you

Re: Finding parameters of existing ext2fs partition

2020-04-14 Thread Pierre-Philipp Braun
Question is how to determine what this format is for an already existing ext2fs filesystem, either from base system or from e2fstools package. One solution would be to reboot with a GNU/Linux live/rescue system and check from there with `tune2fs -l`. The other way around, I do deploy NetBSD

Re: errno 55 No buffer space available

2019-05-24 Thread pierre-philipp braun
(solved) I checked pkgsrc/net/nsd/Makefile again and `CPPFLAGS="-D_OPENBSD_SOURCE"` did the trick .if ${OPSYS} == "NetBSD" # For reallocarray(3) CPPFLAGS+= -D_OPENBSD_SOURCE .endif

errno 55 No buffer space available

2019-05-23 Thread pierre-philipp braun
Hi, I am trying to get latest NSD (v4.1.27) up and running on NetBSD-current/amd64. I could probably just use pkgsrc, but I don't. ## Here's how I build it hence with debug symbols export CFLAGS="-g -O2" got latest openssl there already (1.0.2r) export

Re: preparing netbsd boot straps from gnu/linux

2019-04-03 Thread pierre-philipp braun
ship fixup onto `/etc/rc.local`, with a simple lock mechanism to avoid repeating those at boot time every time. I wonder if doing `-u` would be enough. But most importantly I wonder if I SHOULD force a reboot after fixing the device permissions. So much Thanks -- Pierre-Philipp Braun SNE Russia https://os3.su/

Re: preparing netbsd boot straps from gnu/linux

2019-03-27 Thread pierre-philipp braun
atter only reports about removing/adding dk0, not dk1. I did not re-check how the types are with the successful freebsd install PoC with GPT and UFS2. fsck_ffs is not complaining at boot time. -- Pierre-Philipp Braun SNE Russia https://os3.su/

Re: playing with bootxx_ext2fs

2019-03-18 Thread pierre-philipp braun
> This is not how NetBSD normally does things. You could get away with > it by mounting wd0c as / later, but everything else (starting with > boot blocks) will be seriously confused and probably unable to find your > root partition. Makes sense. This points back to the question if phase 1

Re: preparing netbsd boot straps from gnu/linux

2019-03-18 Thread pierre-philipp braun
> So an MBR with partition 1 is NetBDS, starting at ? and for 25G. > Presumably you made this with fdisk on linux. > > Then a NetBSD disklabel in that partition that you actually wrote? I do not write the disklabel. Sector 1 of the netbsd partition has all zeroes. Regarding the loading netbsd

Re: playing with bootxx_ext2fs

2019-03-18 Thread pierre-philipp braun
> A BSD disklabel will be on sector 1 if you create a filesystem that > starts at 0. > > I am not sure if you are talking about sector numbers of the disk, or of > a partition. I am talking about the netbsd/a9 DOS partition, and I am doing `mkfs.ext2 -O^dir_index` all over it. That partition

Re: preparing netbsd boot straps from gnu/linux

2019-03-18 Thread pierre-philipp braun
> Please explain more thoroughly what you are doing. That makes it seem > like you are loading the kernel from a FAT32 partition, and I can't tell > how many partitions of what kind you have and why. I am trying to setup netbsd from gnu/linux, which means no `installboot` nor `disklabel`

Re: preparing netbsd boot straps from gnu/linux

2019-03-15 Thread pierre-philipp braun
kmod } Many thanks^^ -- Pierre-Philipp Braun SNE Russia https://os3.su/

Re: MULTIBOOT fails w/ GRUB2 and SYS/EXTLINUX

2019-03-15 Thread pierre-philipp braun
t2 set root=(hd0,msdos1) knetbsd /netbsd -v --root=wd0e } In any case, now that I have a working boot strapping model, I am trying to get the system up and running: I am following this up in the "preparing netbsd boot straps" thread. -- Pierre-Philipp Braun SNE Russia https://os3.su/

Re: playing with bootxx_ext2fs

2019-03-15 Thread pierre-philipp braun
.netbsd.org/how_netbsd_boots_on_x86/ -- Pierre-Philipp Braun SNE Russia https://os3.su/

Re: MULTIBOOT fails w/ GRUB2 and SYS/EXTLINUX

2019-03-12 Thread pierre-philipp braun
> knetbsd /netbsd root=/dev/wd0e Hello Benny. Yes I've tested it and it works both against netbsd and netbsd.gz. But I believe this is NOT multiboot.

MULTIBOOT fails w/ GRUB2 and SYS/EXTLINUX

2019-03-12 Thread pierre-philipp braun
` and `module` parameters before, and I believe this was doing MULTIBOOT already. But maybe that was GRUB legacy. Thanks *1 https://mail-index.netbsd.org/tech-kern/2011/09/13/msg011481.html *2 https://www.gnu.org/software/grub/manual/grub/grub.html#multiboot -- Pierre-Philipp Braun SNE Russia https

Re: raid0 disappears

2019-01-02 Thread pierre-philipp braun
Hello Patrick, your problem is either badly explained or too complicated, or both. You say you do not see raid0 when using netboot, and then it seems the same happens when booting from the disk. I suppose there's something wrong about partitioning, either with MBR or labels. Not sure there is

Re: raid0 disappears

2019-01-02 Thread pierre-philipp braun
> If there were something wrong the MBR or the labels, I wouldn't be able > to boot the kernel from raid0a. Not really: the bootloader finds the kernel from one disk or the other (should be able to boot from both). It does not boot from raid0a as it does not know about it. Good enough

Re: Options to use winxp and netbsd together with xen

2018-07-19 Thread pierre-philipp braun
>> Cons 2: Converting the VirtualBox vdi disk to "raw" and using it as DomU >> disk hasn't worked. It just leads to "blue screen of death". (A fresh >> installation of WinXP works, but my constraint is to carry the node locked >> software as explained above.) >> > > This *may* be just a simple

Re: Options to use winxp and netbsd together with xen

2018-07-18 Thread pierre-philipp braun
Hi, unless you have already used NetBSD as a workstation instead of a server, I would advice to try it first in this regard, and check whether it does support all your laptop's peripherals, if you are happy with various aspects -- and quirks -- that makes it a bit more painful than wide-spread

NetBSD/XEN FFS virtual disk/partition

2018-06-14 Thread pierre-philipp braun
Hello NetBSD administrators I would like to share a working NetBSD guest setup that allows to mount its FFS or even EXT2FS virtual disk/partition right from the dom0, possibly being GNU/Linux. The guest has to be shut down first, of course. This can be useful for maintenance of otherwise fast

pxe success + iscsi `size` feature for devices

2017-11-26 Thread Pierre-Philipp Braun
Good day. I am glad I have the chance to play with NetBSD again. Yesterday I put pxeboot_ia32.bin inside pxelinux.cfg/default, so I could PXE while I PXE:-) Seriously, it went fine, and the the vendor-class-identifier trick helped the dhcp server differentiate normal BOOTP requests from

Re: lpd/samba printing with usb

2014-01-18 Thread pierre-philipp braun
Hi Olaf, I don't think so, at least for plain text test printing. Most printers that require funny drivers can print plain text using their own built-in font, even if it's ugly. Yes it was some kind of typewriter font with my laserjet. The samsung scx-4200 seems to accept neither direct

Re: lpd/samba printing with usb

2014-01-17 Thread pierre-philipp braun
Hi Jeremy, Have you been able to print successfully to your Samsung SCX-4200 printer via ulpt0 directly (without using samba)? The same happens whether I use lptest against the device or samba with the appropriate drivers: the laser printer starts to make some noise and warms up like it's

lpd/samba printing with usb

2014-01-16 Thread pierre-philipp braun
Hi, I am using lpd instead of cups to provide a shared printer to some windows clients, and the result isn't as great with an USB (ulpt0) as with parallel (lpa0) printer. The method I used implies that lpd uses a raw printcap entry and that the clients use the windows drivers which are

samba-bsd printing

2013-07-23 Thread Pierre-philipp Braun
Hi there, I've got a good'old LaserJet 4L printer I would like to continue to use, and possibly shared from a BSD system. To me, a good way to configure the printer for Windows clients appears to be using a raw printer entry in /etc/printcap and use the official or windows provided drivers

success story -- SUN storage bay with RAIDframe

2013-04-29 Thread Pierre-philipp Braun
is a stripping on the two previous raid arrays, so it's a RAID 50. pierre-philipp braun