Re: Wireless network interface remembering join list across /etc/netstart.

2022-06-21 Thread Stefan Sperling
On Mon, Jun 20, 2022 at 11:41:05PM +0100, Julian Smith wrote: > Recently i got really confused after removing a 'join ... ' line > from /etc/hostname.iwn0, then running `sh /etc/netstart`. This resulted > in reconnection to , even though was now not mentioned > anywhere in /etc/hostname.iwn0. >

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-15 Thread Stefan Sperling
On Wed, Jun 15, 2022 at 03:38:15AM +0200, Christian Schulte wrote: > > > On 14.06.22 11:36, Stefan Sperling wrote: > > I don't know what SYSASSERT 0x0005 is supposed to tell us. All > > I can do is make guesses based on what changed between 7.0 and 7.1. > > >

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-14 Thread Stefan Sperling
On Tue, Jun 14, 2022 at 03:11:35AM +0200, Christian Schulte wrote: > See attached files. Thank you. I still don't have a definite clue. It looks as if we are failing to send out the initial AUTH frame on Tx queue 0 but it is unclear why. The commands we are sending up to this point seem to be

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-13 Thread Stefan Sperling
On Mon, Jun 13, 2022 at 02:45:23AM +0200, Christian Schulte wrote: > > > On 12.06.22 13:22, Stefan Sperling wrote: > > On Sun, Jun 12, 2022 at 01:16:00PM +0200, Stefan Sperling wrote: > > > On Sun, Jun 12, 2022 at 10:28:33AM +0200, Christian Schulte wrote: > >

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-12 Thread Stefan Sperling
On Sun, Jun 12, 2022 at 01:16:00PM +0200, Stefan Sperling wrote: > On Sun, Jun 12, 2022 at 10:28:33AM +0200, Christian Schulte wrote: > > Please see attached dmesg and pcidump. There has been a similar issue with > > the if_iwm.c driver. Maybe this one is related. > > These

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-12 Thread Stefan Sperling
On Sun, Jun 12, 2022 at 10:28:33AM +0200, Christian Schulte wrote: > Please see attached dmesg and pcidump. There has been a similar issue with > the if_iwm.c driver. Maybe this one is related. These are seperate drivers so it is unlikely that these issues would be related. How many different

Re: airport(7) and defunct airports

2022-06-10 Thread Stefan Sperling
On Fri, Jun 10, 2022 at 01:21:53PM -, Stuart Henderson wrote: > On 2022-06-10, Moritz Röhrich wrote: > > In the end I don't think there is a right answer without defining > > what purpose the list should serve. If it's an insider game for the > > devs, documenting all the places where OpenBSD

Re: iwm driver not working on starlabs starlite iv laptop

2022-06-02 Thread Stefan Sperling
On Wed, Jun 01, 2022 at 12:32:45AM +0100, Chris Narkiewicz wrote: > > Can you please apply this patch, boot the resulting kernel, and > > show me the new line that now appears in dmesg? It will show us > > the antenna configuration of your device. > > So I applied the patch and this is the

Re: iwm driver not working on starlabs starlite iv laptop

2022-05-31 Thread Stefan Sperling
On Mon, May 30, 2022 at 11:58:23PM +0100, Chris Narkiewicz wrote: > > Do you see this problem with every access point, or just a specific one? > > I tried 2 APs with the same result. > > > Do see the problem while forcing 11n/11ac off? To do this you could try > > forcing the driver into 11a

Re: iwm driver not working on starlabs starlite iv laptop

2022-05-30 Thread Stefan Sperling
On Mon, May 30, 2022 at 09:19:18PM +0100, Chris Narkiewicz wrote: > Dnia Mon, May 30, 2022 at 10:09:19AM +0200, Stefan Sperling napisał(a): > > A likely reason is that this device is mis-detected and we are loading > > the wrong firmware image. > > Please boot Linux with iwlwi

Re: iwm driver not working on starlabs starlite iv laptop

2022-05-30 Thread Stefan Sperling
On Mon, May 30, 2022 at 02:09:23AM +0100, Chris Narkiewicz wrote: > I got my hands on StarLabs StarLite laptop and I'm stuck with iwm > driver issue. > > I bootstrapped iwm-firmware-20220111.tgz and it seems to detect > Intel AC 9560, firmware is loaded. But when the interface is configured, >

Re: Is there a way to build mod_auth_kerb?

2022-04-19 Thread Stefan Sperling
On Tue, Apr 19, 2022 at 12:23:31PM -, Stuart Henderson wrote: > On 2022-04-18, Maksim Rodin wrote: > > Hello, > > I am trying to build mod_auth_kerb for apache2 on OpenBSD 6.9 > > I installed heimdal-libs-7.7.0p0 and downloaded the latest src for > > mod_auth_kerb from github > > After

Re: time drift in OpenBSD in proxmox (qemu-kvm) guest

2022-04-14 Thread Stefan Sperling
On Thu, Apr 14, 2022 at 09:26:41PM -, Stuart Henderson wrote: > I have some OpenBSD guests in Proxmox VE 7.1-7 (pve-qemu-kvm_6.1.0) and > seeing pretty bad clock drift (50 seconds in ~7h uptime). ntpd can't cope > with it. From boot: > > 2022-04-14T13:58:19.844Z ntpd[26996]: adjusting local

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-16 Thread Stefan Sperling
On Wed, Mar 16, 2022 at 03:58:59PM +0100, Stefan Sperling wrote: > APs not showing up in the 5GHz band has always been a problem on > Intel cards. It goes back to older drivers like iwn(4) or perhaps > even ipw(4). Oops, I meant wpi(4), not ipw(4) :) (ipw is 11b only)

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-16 Thread Stefan Sperling
On Wed, Mar 16, 2022 at 07:56:20AM -0500, rea...@catastrophe.net wrote: > On Wed, Mar 16, 2022 at 10:11:50AM +0100, Stefan Sperling wrote: > >Looks like a firwmare or driver issue to me. > > > >Sorry, without having a reproducible test case in front of me, there > &g

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-16 Thread Stefan Sperling
On Tue, Mar 15, 2022 at 02:50:29PM -0500, rea...@catastrophe.net wrote: > Ok, please see the following. The card is cleared of its monitor config then > put onto channel 132 in debug mode. > > # ifconfig iwm0 -chan > # ifconfig iwm0 -mediaopt monitor > # ifconfig iwm0 > iwm0: flags=8806 mtu 1500

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-15 Thread Stefan Sperling
On Tue, Mar 15, 2022 at 09:09:57AM -0500, rea...@catastrophe.net wrote: > Yes you did, and I greatly appreciate it. However, the interface won't > join to anything once out of monitor mode. > > # uname -a > OpenBSD server.example.org 7.0 GENERIC.MP#5 amd64 > > # ifconfig iwm0 mediaopt monitor

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-15 Thread Stefan Sperling
On Tue, Mar 15, 2022 at 08:02:07AM -0500, rea...@catastrophe.net wrote: > On Mon, Mar 14, 2022 at 11:37:15PM +0100, Stefan Sperling wrote: > >In the implementation, the mode determines which channels are available, > >not the other way around. > >And for some reason your inter

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-14 Thread Stefan Sperling
On Mon, Mar 14, 2022 at 05:16:32PM -0500, rea...@catastrophe.net wrote: > Trying to manually monitor channel 132, I get an error, SIOCS80211CHANNEL. > > # ifconfig iwm0 > iwm0: flags=8802 mtu 1500 > lladdr 80:19:34:ab:ab:ab > index 5 priority 4 llprio 3 > groups: wlan >

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-14 Thread Stefan Sperling
On Mon, Mar 14, 2022 at 04:07:33PM -0500, rea...@catastrophe.net wrote: > Just sitting around doing nothing I'm seeing 30% loss to my next hop. > > # ifconfig iwm0 > iwm0: flags=808843 mtu 1500 > lladdr 80:19:34:ab:ab:ab > index 5 priority 4 llprio 3 > groups: wlan egress >

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-14 Thread Stefan Sperling
On Mon, Mar 14, 2022 at 03:05:00PM -0500, rea...@catastrophe.net wrote: > On Mon, Mar 14, 2022 at 08:58:01PM +0100, Stefan Sperling wrote: > >On Mon, Mar 14, 2022 at 02:34:29PM -0500, rea...@catastrophe.net wrote: > >> Well, even after adding iwm0 I notice high latency and pa

Re: Latency and loss persist with iwm0 (Was Re: Latency with run0 interface)

2022-03-14 Thread Stefan Sperling
On Mon, Mar 14, 2022 at 02:34:29PM -0500, rea...@catastrophe.net wrote: > Well, even after adding iwm0 I notice high latency and packet loss anywhere > from 15-50%. This occurs randomly when the device is either 2m, 10m, or 30m > away from the access point. I did testing to verify I'm seeing

Re: Hardware for OpenBSD based access point

2022-03-14 Thread Stefan Sperling
On Mon, Mar 14, 2022 at 04:58:07AM +0100, Nicolas Goy wrote: > I actually have an OpenWRT box (LTE SMS gateway, the LTE modem wasn't > compatible with OpenBSD when I installed it), and yeah, it is very > decent. I guess that would be a viable alternative. It is possible to install OpenWRT on some

Re: Latency with run0 interface

2022-03-12 Thread Stefan Sperling
On Fri, Mar 11, 2022 at 02:41:05PM -0600, rea...@catastrophe.net wrote: > >If not, consider hunting down a mini PCIe iwm(4) 7260 card, or an > >M.2 AX200 iwx(4) card with an adapter from M.2 to mini PCIe. > >Both would need compatible pigtails and antennas as well. > > Thanks, I'll get a 7260. Do

Re: Latency with run0 interface

2022-03-11 Thread Stefan Sperling
On Fri, Mar 11, 2022 at 10:57:56AM -0600, rea...@catastrophe.net wrote: > I'm using a Panda Express USB WiFi dongle on a PC Engines apu4 machine. This is a strange choice on an APU. Such dongles are really a last resort, they tend to suffer from cooling issues and small antennas, and OpenBSD only

Re: student contributor inquiry

2022-01-29 Thread Stefan Sperling
On Sat, Jan 29, 2022 at 02:28:59AM +, jkinne...@yahoo.ca wrote: > Hello, > > I would like to know if the OpenBSD project has any supports for a student > that would like to spend a semester contributing to an open source project? > I am coming from an arts and long time Linux user

Re: AX210 wifi

2022-01-17 Thread Stefan Sperling
On Sun, Jan 16, 2022 at 02:34:54PM -0800, Chris Cappuccio wrote: > holy crap, rather than maintain the drivers and net80211 layer, they are just > building compat for the linux version? Yes. Any complex problem can be solved by adding another layer of indirection ;) I first heard of this idea at

Re: full disk encryption with keydisk

2021-12-30 Thread Stefan Sperling
On Wed, Dec 29, 2021 at 05:22:19PM -0500, openbsd-m...@pyr3x.com wrote: > Hello, > > I'm using full disk encryption via the softraid subsystem and bioctl with a > keydisk. I have a second drive that I'm backing up the root filesystem to > via ROOTBACKUP=1 and the proper fstab entry. > > I'd like

Re: "run0: missing endpoint" on OpenBSD 7.0

2021-12-17 Thread Stefan Sperling
On Fri, Dec 17, 2021 at 02:14:31PM -0700, Jeff Ross wrote: > Hi all, > > Trying to replace an rsu usb wifi adapter with one that is a little more > resilient because the rsu locks up about 4 or 5 times a day and it takes a > reboot to get it to come back. > > Full dmesg follows but on both this

Re: DNS lookup fails and iwm0 fatal firmware errors using OpenBSD 7.0

2021-12-14 Thread Stefan Sperling
On Tue, Dec 14, 2021 at 12:49:14PM +, Dave Turner wrote: > I have searched the web and tried various things but so far nothing > fixes it. This should help: https://marc.info/?l=openbsd-bugs=163459084214897=2

Re: RTL8852AE wifi driver

2021-11-20 Thread Stefan Sperling
On Sat, Nov 20, 2021 at 04:04:25PM +, Patrick Harper wrote: > You need to get the authors to change the license to an acceptable one > first, as GPL won't cut it. https://www.openbsd.org/policy.html The rtw89 driver is already dual-licensed as GPL/BSD via: SPDX-License-Identifier: GPL-2.0 OR

Re: U-blox MPCI-L210 LTE modem: cdce(4) unable to get the MAC address of the device

2021-11-15 Thread Stefan Sperling
On Sun, Nov 14, 2021 at 10:40:28PM +0100, na...@poczta.fm wrote: > Hi misc@, > > While testing the U-blox MPCI-L210 LTE modem on OpenBSD -current > (the modem is attached as a cdce(4) device, the router mode is enabled; > other modes are also available), I noticed that the automatic

Re: iwm stopped working on 7.0 after installing patches 001,002,003

2021-11-03 Thread Stefan Sperling
On Wed, Nov 03, 2021 at 08:34:19AM -0600, Theo de Raadt wrote: > I do not think it is the errata, because they are completely unrelated > to 802.11 drivers or stack. You can look at the errata closer and > realize it has nothing to do with wifi. > > I suspect your firmware was updated. Or you

Re: iwm stopped working on 7.0 after installing patches 001,002,003

2021-11-03 Thread Stefan Sperling
On Wed, Nov 03, 2021 at 03:36:38PM +0200, Doros Eracledes wrote: > Hi, > > my iwm0 on my Lenovo T490 stopped working right after installing 7.0 > patches 001,002 and 003 and rebooting. I "takes" an ip from the router but I > can't ping the router. > > I then tried with a USB urtwn and it worked

Re: OpenBSD as wireless access point

2021-10-31 Thread Stefan Sperling
On Sun, Oct 31, 2021 at 11:36:21PM +0530, rahul deshmukh wrote: > Hi Team, > I have configured OpenBSD as wireless access point but somehow i am unable > to connect to access point from mobile or other clients. below is my config. > > myhost$ cat /etc/hostname.ral0 > > > media autoselect mode

Re: Sony UWA-BR100 patch to recognize AR9280+AR7010 Atheros based USB card

2021-10-31 Thread Stefan Sperling
On Sun, Oct 24, 2021 at 03:01:29PM +, Martin wrote: > Patch has been updated to use correct files and tested on a live system. > Please add it to tree. > > Thanks. Committed now. Thank you! Sorry it took so long.

Re: Samsung SSD X5 with OpenBSD - possible ?

2021-10-25 Thread Stefan Sperling
On Mon, Oct 25, 2021 at 05:45:22PM +, Laura Smith wrote: > I'm struggling a bit as to what I need to do next here. > > Any time in the past I've connected a USB stick etc. to OpenBSD, everything > happened automagically in terms of recognition and assigning a /dev/sd. > > However this time,

Re: Thinkpad X1 Carbon Gen 7 WiFi connection issue

2021-10-25 Thread Stefan Sperling
On Mon, Oct 25, 2021 at 03:57:53PM +0900, Sardor Muminov wrote: > Hello developers, > > I own one of the Thinkpad X1 Carbon Gen 7 series laptops. > I have installed OpenBSD 7.0 and couldn't get the wireless connection to > work. > > Below is a link to the dmesg[1] and pcidump[2] output. > > 1.

Re: USB athn0 issue in AP mode (AR9280+AR7010) no DHCP leases to modern portable devices

2021-10-23 Thread Stefan Sperling
On Fri, Oct 22, 2021 at 06:53:17PM +, Martin wrote: > Hi there! > > I have an issue with athn USB stick with modern wifi devices like Android > phones etc. > > I've set up athn0 as previous athn miniPCI-e cards (/etc/hostname.athn0, > /etc/dhcpd.conf, /etc/pf.conf). No IP address given by

Re: Sony UWA-BR100 patch to recognize AR9280+AR7010 Atheros based USB card

2021-10-23 Thread Stefan Sperling
On Fri, Oct 22, 2021 at 07:02:20PM +, Martin wrote: > Hi Stefan, > > Dev. patches to implement into source tree to recognize automatically Sony > UWA-BR100 devices based on AR9280+AR7010. This patch is changing the wrong files. It should change the files 'usbdevs' and if_athn_usb.c only.

Re: lenovo B50-30 wifi

2021-10-17 Thread Stefan Sperling
On Sun, Oct 17, 2021 at 07:14:59PM +0200, Jan Stary wrote: > Right. I have had this problem with some Thinkpads. According to > https://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles_pdf/b40_b50_rn_eu.pdf > the whitelist for this Lenovo B50-30 is > > • 3160NGW > • BCM943142Y >

Re: lenovo B50-30 wifi

2021-10-17 Thread Stefan Sperling
On Sun, Oct 17, 2021 at 05:21:24PM +0200, Stefan Sperling wrote: > Most iwm(4) cards (7265 up to 9560), and iwx(4) AX200 (not the AX201, > which is cnvi instead of M.2 but looks the same). Correction; The iwm 9560 uses cvni as well and won't work. All this applies only if there isn't som

Re: lenovo B50-30 wifi

2021-10-17 Thread Stefan Sperling
On Sun, Oct 17, 2021 at 05:05:19PM +0200, Jan Stary wrote: > This is current/amd64 on a Lenovo B50-30 (full dmesg below). > Everything seems to run fine, except the wifi is unsupported. > > "Atheros AR9565" rev 0x01 at pci4 dev 0 function 0 not configured > ugen1 at uhub1 port 4 "Atheros

Re: athn AP

2021-10-16 Thread Stefan Sperling
On Sat, Oct 16, 2021 at 01:40:55PM +0200, Jan Stary wrote: > Would people now recommend running an AP "natively", > i.e. a wifi card (plus the anthenas) on and OpenBSD box > over running wifi over a dedicated device? Not if you want a modern 11ac/ax AP. There is no driver which supports hostap

Re: Keeping a personal ports branch

2021-10-15 Thread Stefan Sperling
On Fri, Oct 15, 2021 at 10:25:17AM -, Rubén Llorente wrote: > Hi there! > > I am wondering how does people around here keep local branches of the ports > tree for personal use. > > The reason I am asking is because I keep some patched ports which are suited > to solve my problems, but not

Re: Experience using httpd in production on busy machines?

2021-08-26 Thread Stefan Sperling
On Thu, Aug 26, 2021 at 06:20:08AM -0300, Crystal Kolipe wrote: > On Thu, Aug 26, 2021 at 02:47:40AM +, iio7 wrote: > > Any caveats to look out for? > > There is an issue with httpd and large file uploads, ( > ~ 600 Mb), which was > introduced sometime after OpenBSD 6.1. > > We had a system

Re: Unexpected pf behavior for DHCP traffic?

2021-08-19 Thread Stefan Sperling
On Thu, Aug 19, 2021 at 06:42:25PM +0100, Étienne wrote: > On 31/07/2021 19:27, Stefan Sperling wrote: > > On Sat, Jul 31, 2021 at 07:02:35PM +0100, Étienne wrote: > > > On 30/07/2021 04:37, Theo de Raadt wrote: > > > > dhcpleased (and a few other daemons)

Re: Unexpected pf behavior for DHCP traffic?

2021-07-31 Thread Stefan Sperling
On Sat, Jul 31, 2021 at 07:02:35PM +0100, Étienne wrote: > On 30/07/2021 04:37, Theo de Raadt wrote: > > dhcpleased (and a few other daemons) use bpf, thus see raw packets > > from the wire before pf can block them. Most daemons of this type > > also use bpf to send packets, and pf doesn't see

Re: Unexpected pf behavior for DHCP traffic?

2021-07-30 Thread Stefan Sperling
On Fri, Jul 30, 2021 at 04:59:03AM +, beebeet...@posteo.de wrote: > Thanks Theo for the answer! > > I'm still having difficulty wrapping my head around it. > > I have two packets: DHCPREQUEST and DHCPACK > {timestamp} {my_ip}.68 > {ip1}.67: xid:0xfe51c9a3 [|bootp] > {timestamp} {ip2}.67 >

Re: Why demotion counter for group carp is set to 33 on boot?

2021-07-14 Thread Stefan Sperling
On Wed, Jul 14, 2021 at 11:38:15AM +0200, Tom K wrote: > > > > but why? If I reboot the other node, the system become MASTER. > > > > That is because the other system stops sending carp announcements > > when you reboot it. This is unrelated to the demote counter. The demote > > counter only

Re: Why demotion counter for group carp is set to 33 on boot?

2021-07-14 Thread Stefan Sperling
On Wed, Jul 14, 2021 at 08:28:09AM +0200, Tom K wrote: > JP, > > but why? If I reboot the other node, the system become MASTER. That is because the other system stops sending carp announcements when you reboot it. This is unrelated to the demote counter. The demote counter only matters as long

Re: apu2 and Atheros WLE600VX not working

2021-06-30 Thread Stefan Sperling
On Wed, Jun 30, 2021 at 07:45:13AM -0400, George wrote: > Hi thanks for the reply! How is the performance on the 200nx are you using > it as an access point i.e. router? How many antennas? There is currently no way to run an AP on OpenBSD if you require performance levels comparable to

Re: Latest iwm firmware disconnects and requires a /bin/sh /etc/netstart iwm0 to reconnect

2021-06-19 Thread Stefan Sperling
On Sat, Jun 19, 2021 at 11:46:44AM +0200, Stefan Sperling wrote: > On Fri, Jun 18, 2021 at 03:54:33PM -0500, John Batteen wrote: > > Possibly initiated by moving to a new access point. Thinkpad T550, Intel > > AC 7265 > > > > /etc/hostname.iwm0: > >

Re: Latest iwm firmware disconnects and requires a /bin/sh /etc/netstart iwm0 to reconnect

2021-06-19 Thread Stefan Sperling
On Fri, Jun 18, 2021 at 03:54:33PM -0500, John Batteen wrote: > Possibly initiated by moving to a new access point. Thinkpad T550, Intel AC > 7265 > > /etc/hostname.iwm0: > nwid mynet wpakey mykey > dhcp > > iwm0: hw rev 0x210, fw ver 17.3216344376.0, address 18:5e:0f:ea:ff:c4 This isn't the

Re: iwm0: fatal firmware error

2021-05-24 Thread Stefan Sperling
On Mon, May 24, 2021 at 02:35:02PM +0200, Marco Scholz wrote: > Hello. > My laptop (Lenovo Thinkpad T495s AMD Ryzen) reports an iwm0 fatal > firmware error. I'm running 6.9 #29. > System gets quite hot, systat shows 40-50% interrupt while idling. > Networking works fine. > > Anybody else has this

Re: pf ipv6 source-routing 6.9

2021-05-10 Thread Stefan Sperling
On Mon, May 10, 2021 at 12:05:16PM +0200, Bastien Durel wrote: > Referencing fe80::520f:80ff:fe65:8800%pppoe0 in pf.conf results in a > rule referencing fe80::520f:80ff:fe65:8800 I'm not sure where the scope id gets stripped, but the above may simply be a misleading cosmetic issue. pfctl -sr

Re: OpenBSD 6.9 RAID 1C (encrypted raid1) softraid discipline can't boot

2021-04-28 Thread Stefan Sperling
On Wed, Apr 28, 2021 at 04:38:35PM +0800, Fung wrote: > OpenBSD 6.9 RAID 1C (encrypted raid1) softraid discipline can't boot > > OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021 > > one disk, shell create RAID CRYPTO, install system ok, boot ok > two disk, shell create RAID 1,

Re: pkg_add fails: 6.9 no such directory

2021-04-15 Thread Stefan Sperling
On Thu, Apr 15, 2021 at 09:25:31PM +0100, Björn Gohla wrote: > > hi all, > > i'm on 6.9 current. installing any package (example below) fails since there > is > apparently no 6.9 release directory. what am i doin wrong? > > thanks for any hints. Try again like this: pkg_add -Dsnap gbc This

Re: IKEv1 support with IKEv2 on the same router

2021-04-14 Thread Stefan Sperling
On Wed, Apr 14, 2021 at 03:28:31PM +0300, Dev Op wrote: > Hello all! > > I have several partners working with different IKE versions. Is it possible > to run iked and isakmpd on the same machine if I have two public > IP addresses on it? > > On iksampd (IKEv1) it's simple, for example: >

Re: Intel wifi ipw showing up but not working

2021-03-28 Thread Stefan Sperling
On Sun, Mar 28, 2021 at 05:58:31PM +0200, Riccardo Mottola wrote: > However, if you can read this message, it means that I am connected through > the internal ipw card to WEP WiFi at the first attempt. Wonderful. Great > work, Stefan, Great, thank you for confirming! I have committed the fix.

Re: Intel wifi ipw showing up but not working

2021-03-27 Thread Stefan Sperling
Hi Riccardo, Any feedback regarding the proposed patch below? Thanks, Stefan On Wed, Mar 17, 2021 at 04:09:32PM +0100, Stefan Sperling wrote: > On Mon, Mar 15, 2021 at 02:11:39PM +0100, Riccardo Mottola wrote: > > Stefan Sperling wrote: > > > > That means there is an

Re: Is there any way I can help with ath10k?

2021-03-23 Thread Stefan Sperling
On Tue, Mar 23, 2021 at 03:13:38PM -0400, Brennan Vincent wrote: > I do not know how to write wifi drivers, but I am willing to donate hardware > or other resources if that would be helpful to someone. Please contact me if > so. I have a WIP driver which loads firmware but it can neither scan

Re: AX201 Surface Pro 7

2021-03-17 Thread Stefan Sperling
On Fri, Mar 05, 2021 at 07:15:11PM +0100, Stefan Sperling wrote: > On Fri, Mar 05, 2021 at 04:25:53PM +0100, Fredrik Engberg wrote: > > Hey, > > > > I had no luck with the "Qu-b0-hr-b0-48" firmware. But I had to change to > > "Qu-c0-hr-b0-48" an

Re: Intel wifi ipw showing up but not working

2021-03-17 Thread Stefan Sperling
On Mon, Mar 15, 2021 at 02:11:39PM +0100, Riccardo Mottola wrote: > Stefan Sperling wrote: > > > That means there is another bug. I will try to find it. > > Could you show what 'netstat -W ipw0' looks like after an unsuccesful > > attempt of connecting to a WEP access poin

Re: Intel wifi ipw showing up but not working

2021-03-12 Thread Stefan Sperling
On Fri, Mar 12, 2021 at 07:01:10PM +0100, Stefan Sperling wrote: > On Fri, Mar 12, 2021 at 06:37:30PM +0100, Riccardo Mottola wrote: > > Happy and bold, I tried WEP too... but it does not connect. > > It says interface is up (key is correct) but "nothing", dhclie

Re: Intel wifi ipw showing up but not working

2021-03-12 Thread Stefan Sperling
On Fri, Mar 12, 2021 at 06:37:30PM +0100, Riccardo Mottola wrote: > > diff dfcb0a350e790649cafe6bd5f9f4cf2319ce75fd /usr/src > > blob - 20a9b617e6d7ae0e179370512376ce8142c96986 > > file + sys/dev/pci/if_ipw.c > > --- sys/dev/pci/if_ipw.c > > +++ sys/dev/pci/if_ipw.c > > @@ -1781,6 +1781,12 @@

Re: Intel wifi ipw showing up but not working

2021-03-11 Thread Stefan Sperling
On Thu, Mar 11, 2021 at 08:05:53PM +0100, Riccardo Mottola wrote: > Hi Stefan, > > sorry for the delayed response, but dayjob took over and for that I > unfortunately cannot use an old OpenBSD laptop with no wireless :) Also I > had to use another system to conveniently do the tests you asked me.

Re: AX201 Surface Pro 7

2021-03-05 Thread Stefan Sperling
On Fri, Mar 05, 2021 at 04:25:53PM +0100, Fredrik Engberg wrote: > Hey, > > I had no luck with the "Qu-b0-hr-b0-48" firmware. But I had to change to > "Qu-c0-hr-b0-48" and that seems to work. Here it is the changes I had to do > to get it working. I might have done something wrong here so

Re: OpenBSD 6.8 - softraid issue: "uvm_fault(0xffffffff821f5490, 0x40, 0, 1) -> e"

2021-03-02 Thread Stefan Sperling
On Tue, Mar 02, 2021 at 09:39:15AM +, Stuart Henderson wrote: > putting sr_validate_io+0x44 at the xs->datalen dereference, > > 4580 if (sd->sd_vol_status == BIOC_SVOFFLINE) { > 4581 DNPRINTF(SR_D_DIS, "%s: %s device offline\n", > 4582

Re: OpenBSD 6.8 - softraid issue: "uvm_fault(0xffffffff821f5490, 0x40, 0, 1) -> e"

2021-02-28 Thread Stefan Sperling
On Sun, Feb 28, 2021 at 03:05:49AM +0100, Mark Schneider wrote: > Hi again, > > I have repeated softraid tests using six pcs of 1TB Samsung HDD 3G SATA > drives as RAID5 and I do not face the crash issue of the OS when using SSDs > in the RAID5. > Details of the RAID5 setting are in the attached

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-24 Thread Stefan Sperling
On Tue, Feb 23, 2021 at 09:04:13PM -, Stuart Henderson wrote: > On 2021-02-23, Stuart Henderson wrote: > > On 2021-02-23, Steven Shockley wrote: > >> I have OpenBSD 6.8 running on a Dell R210-II acting as a > >> firewall/router. To combat bufferbloat I tried implementing FQ-CoDel > >>

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Stefan Sperling
On Mon, Feb 22, 2021 at 08:51:32PM -0500, Steven Shockley wrote: > I have OpenBSD 6.8 running on a Dell R210-II acting as a firewall/router. > To combat bufferbloat I tried implementing FQ-CoDel queueing. The WAN > bandwidth is advertised as 940 Mbit/sec down and 840 Mbit/sec up. > > I've tried

Re: PC Engines APU2 boot problem

2021-02-17 Thread Stefan Sperling
On Wed, Feb 17, 2021 at 12:08:52PM +0100, Raimo Niskanen wrote: > Hello misc! > > I have problem booting an APU2 from SD card and USB stick. > It boots fine from the mSATA disk where I have the OpenBSD installation > that I have upgraded several times using sysupgrade(8). > > I have tried to

Re: Intel wifi ipw showing up but not working

2021-02-17 Thread Stefan Sperling
On Tue, Feb 16, 2021 at 11:51:12PM +0100, Riccardo Mottola wrote: > Hi Stefan, > > > Stefan Sperling wrote: > > Sounds like a wrong key, or the wrong type of crypto. > > Are you the AP is using WEP? Perhaps you need 'wpakey' instead of 'nwkey'? > > If the key i

Re: Intel wifi ipw showing up but not working

2021-02-15 Thread Stefan Sperling
On Sun, Feb 14, 2021 at 02:23:08PM +0100, Riccardo Mottola wrote: > Hi Stuart and others,, > > > Stuart Henderson wrote: > > > > > I installed the firmware with fw_update. I try to bring the interface > > > up, I can set the nwid, but it never connects. > > What do you type to bring the

Re: Bootloader on USB stick fails with "root device not found"

2021-02-11 Thread Stefan Sperling
On Thu, Feb 11, 2021 at 06:56:40PM +, tetrahe...@danwin1210.me wrote: > On Sun, Jan 31, 2021 at 12:06:37PM +0100, Stefan Sperling wrote: > > On Sun, Jan 31, 2021 at 11:47:04AM +0100, Stefan Sperling wrote: > > > In general, crypto softraid volumes don't auto-assemble.

Re: Bootloader on USB stick fails with "root device not found"

2021-02-10 Thread Stefan Sperling
On Wed, Feb 10, 2021 at 01:00:33PM +, Frank Beuth wrote: > On Tue, Feb 02, 2021 at 10:50:39PM +0100, Stefan Sperling wrote: > > The idea of protecting key disks with a passphrase (two-factor auth) has > > been raised before. It has not been implemented yet, simply because nobo

Re: AX201 Surface Pro 7

2021-02-05 Thread Stefan Sperling
On Fri, Feb 05, 2021 at 11:38:24AM +0100, Fredrik Engberg wrote: > Hey > > I got myself a Surface Pro 7 and thought it had a supported AX201 wifi chip > in it but after some looking around in the source I couldn’t find the device > ID in there so I tried myself to add it to pcidevs and

Re: Bootloader on USB stick fails with "root device not found"

2021-02-02 Thread Stefan Sperling
On Tue, Feb 02, 2021 at 07:04:38AM +, tetrahe...@danwin1210.me wrote: > Looking thru the manpages, I don't see any provision for adding AND / OR > logic to keys (e.g require both passphrase AND keydisk to boot, require > passphrase OR keydisk, etc) the way Linux cryptsetup provides, at least,

Re: "No O/S" after drive replacement with / on raid1

2021-02-01 Thread Stefan Sperling
On Sun, Jan 31, 2021 at 09:47:22PM +0300, Serge wrote: > Hello. > > I use 2 disks in mirror with root partition on softraid. > Say they are sd0a and sd1a and SR is sd2. > For example sd0 fails. I shutdown system, replace failed drive, > boot from good one, copy layout, rebuild array, all disks

Re: Bootloader on USB stick fails with "root device not found"

2021-01-31 Thread Stefan Sperling
On Sun, Jan 31, 2021 at 11:47:04AM +0100, Stefan Sperling wrote: > In general, crypto softraid volumes don't auto-assemble. I forgot that softraid volumes that use a key disk instead of a passphrase will auto-assemble. Have you already tried that? A disklabel slice on the USB key could

Re: Bootloader on USB stick fails with "root device not found"

2021-01-31 Thread Stefan Sperling
On Sat, Jan 30, 2021 at 09:57:35PM +, tetrahe...@danwin1210.me wrote: > On Fri, Jan 29, 2021 at 12:46:50PM +, tetrahe...@danwin1210.me wrote: > > - when booting from the bootloader on the internal HD, and after > > decrypting the encrypted volume, the system is able to find the disk > >

Re: 4G mini PCI-e modem support?

2021-01-08 Thread Stefan Sperling
On Fri, Jan 08, 2021 at 05:13:52PM +0100, Patrick Wildt wrote: > Am Fri, Jan 08, 2021 at 02:29:02PM + schrieb Peter Kay: > > There appear to be no 4G modem support at the moment, specifically a > > mini PCI-e one so I can stick it in a PC engines apu4d4 and have a > > backup connection. > > >

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Stefan Sperling
On Tue, Jan 05, 2021 at 03:19:29PM -0500, ben wrote: > >The original version of this script installed by the port contains > >rc_reload=NO and also uses a very different pexp. > > I checked out the original rc script, and it works. Why didn't my pexp var > work > for the script? The term should

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Stefan Sperling
On Tue, Jan 05, 2021 at 02:41:51PM -0500, ben wrote: > Hello, Misc; > > I've been playing around with rc.d scripts and I've stumbled upon an issue in > my git daemon script: > > #!/bin/ksh > # > # $OpenBSD: gitdaemon.rc,v 1.4 2019/07/16 09:56:55 stsp Exp $ > >

Re: Getting wifi bitrate

2021-01-02 Thread Stefan Sperling
On Fri, Jan 01, 2021 at 02:13:43PM +, Björn Gohla wrote: > > [...] > >> I just want to show the network activity in my desktop status line. > > > > Understood, fair enough. > > The chosen Tx rate is not a very reliable indicator of actual throughput > > but it can serve as a wifi link quality

Re: Getting wifi bitrate

2020-12-31 Thread Stefan Sperling
On Thu, Dec 31, 2020 at 04:13:56PM +, Björn Gohla wrote: > > Stefan Sperling writes: > > > On Thu, Dec 31, 2020 at 02:28:35PM +, Björn Gohla wrote: > >> Hi all, > [...] > >> So how do I get the it? Am I looking in the wrong place, or does the > >

Re: Getting wifi bitrate

2020-12-31 Thread Stefan Sperling
On Thu, Dec 31, 2020 at 02:28:35PM +, Björn Gohla wrote: > Hi all, > > I have a small question: I want to get the current rate of actually > transmitted (and received) bits for my wifi adaptor. I thought this > fragment from ifconfig does what I want >

Re: development best practices

2020-11-28 Thread Stefan Sperling
On Sat, Nov 28, 2020 at 12:27:47PM +, björn gohla wrote: > hi all, > > i'm fairly new to openbsd. and i've run into the following problem, > where i want to hack a project (most recently trying to fix a possible > issue with i3status), but building the from the git source > tree fails. > >

Re: A new race condition in OpenVPN and Unbound services

2020-11-21 Thread Stefan Sperling
On Fri, Nov 20, 2020 at 11:21:00PM -0500, Predrag Punosevac wrote: > > Hi Misc, > > Has anybody else noticed a new race condition causing Unbound to fail > due to the fact that OpenVPN interface is not available. > > Since a few releases ago I have this in my rc.conf.local to start > openvpn

Re: Sun t5120 LDOMs

2020-11-09 Thread Stefan Sperling
On Mon, Nov 09, 2020 at 01:42:54PM +, John Gould wrote: > Hi everyone, I am trying to set up a ldom on a sun t5120 machine running > sparc64 6.8. This did work fine on 6.5. The problem I'm having is that once > the machine is reset to use the openbsd bootmode the machine hangs and > asks for

Re: Support of the AX1650 card

2020-11-04 Thread Stefan Sperling
On Wed, Nov 04, 2020 at 06:57:38PM -0500, Ashton Fagg wrote: > yul3n.f...@protonmail.com writes: > > > Sorry I think I had a problem with my previous message which appeared > > to be blank. I plan to buy a laptop with an AX1650 wifi card, which > > isn't marked as compatible with the iwx driver.

Re: ifconfig bwi0 - no such interface

2020-09-13 Thread Stefan Sperling
On Sun, Sep 13, 2020 at 05:45:25PM -, elk_aide wrote: > Hello list, how are you doing? > > > > I just installed a current OpenBSD snapshot and am having trouble using the > Wifi. > > I already downloaded and installed the bwi-firmware, as that was one of the > ones displayed on boot

Re: Problems with iwn wireless networking

2020-08-15 Thread Stefan Sperling
On Sat, Aug 15, 2020 at 09:14:48AM +0100, Julian Smith wrote: > I'm seeing fairly frequent (e.g. more than daily) failures from an iwn0 > wireless network device, on a Lenovo X230. > > dmesg|grep iwn shows: > > iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi, > MIMO

Re: Intel AX200 Stopped Working on Latest Snapshot

2020-08-02 Thread Stefan Sperling
On Sun, Aug 02, 2020 at 11:58:26AM +0200, Stefan Sperling wrote: > On Sat, Aug 01, 2020 at 09:16:55PM -0700, Bobby Reynolds wrote: > > Hi Misc! > > > > Just purchased an Intel AX200 so I could try out the new support in 6.7. > > First and foremost, many thanks to thos

Re: Intel AX200 Stopped Working on Latest Snapshot

2020-08-02 Thread Stefan Sperling
On Sat, Aug 01, 2020 at 09:16:55PM -0700, Bobby Reynolds wrote: > Hi Misc! > > Just purchased an Intel AX200 so I could try out the new support in 6.7. > First and foremost, many thanks to those working on the wifi stack :) > > I ran into some firmware issues with the 6.7 release, but I saw some

Re: OpenBSD and HP ProBook 445 G7

2020-07-20 Thread Stefan Sperling
On Mon, Jul 20, 2020 at 02:14:17PM +0800, Tito Mari Francis Escaño wrote: > Good day to everyone at misc. > Has anybody tried tried checking how OpenBSD worked with HP ProBook 445 G7 > with Ryzen 5 or 7 4000 and Intel AX200 WLAN card? AX200 wifi will work. I would recommend -current for best

Re: athn(4): hidenwid?

2020-07-16 Thread Stefan Sperling
On Thu, Jul 16, 2020 at 11:10:58AM +0200, Stefan Sperling wrote: > Line 1927 of > https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/net80211/ieee80211_input.c?annotate=1.218 > > This code runs before a response is generated for a probe request and it > should ensure that a probe

Re: athn(4): hidenwid?

2020-07-16 Thread Stefan Sperling
On Thu, Jul 16, 2020 at 06:19:40AM +, Mogens Jensen wrote: > I'm not trying to start a discussion on whether hiding the ESSID is > ridiculous or not, I'm just testing different things, so I know which > features work and which don't. Thanks for digging into this. Since there are no automated

Re: An Athn ar9280 client seems to require cold boots of late?

2020-07-06 Thread Stefan Sperling
On Mon, Jul 06, 2020 at 11:10:13AM +, Kevin Chadwick wrote: > With this patch I have been able to bring the device down and back up with a > subsequently successful dhclient and http download. > > Annoying how quirky and poorly documented, chips often are! > > Thank You > Thanks for

  1   2   3   4   5   6   7   8   9   >