Re: iwm performance

2016-07-24 Thread Stefan Sperling
On Sun, Jul 24, 2016 at 01:09:26PM +0200, Andreas Bartelt wrote: > However, the wireless link via iwm(4) is currently almost unusable. > Overall throughput for multiple tcp connections typically between 0 and > 1 Mbit/s but mostly on the lower end, i.e., 0. Looking at the wifi environment

iwm performance (was: Re: how would you troubleshoot your wifi?)

2016-07-22 Thread Stefan Sperling
On Thu, Jul 21, 2016 at 08:25:11PM +0200, Andreas Bartelt wrote: > sorry, my response was not precise - the "fatal" error is gone now but the > observed performance problems are still there. I've already been told about iwm performance regressions compared to 5.9, so I'd like to make a statement

Re: how would you troubleshoot your wifi?

2016-07-21 Thread Stefan Sperling
On Thu, Jul 14, 2016 at 01:13:21PM +0800, Miles Keaton wrote: > iwm0: hw rev 0x140, fw ver 25.228 (API ver 9), address 5b:51:4f:a1:16:d9 > iwm0: fatal firmware error You got some answers already but they were all misleading. I believe I've already fixed this bug. Please verify my assumption by

Re: help: wireless mouse detected but not working

2016-07-20 Thread Stefan Sperling
On Wed, Jul 20, 2016 at 03:14:10PM -0300, Michel Behr wrote: > Hi all! I'm trying to use a Logitech wireless mouse - it gets detected > (dmesg attached) but it doesn't work. The laptop has trackpad and it is > working OK. A regular USB mouse works simply plugging, but not a wireless > one. > >

Re: iwi0 firmware error

2016-07-10 Thread Stefan Sperling
On Sun, Jul 10, 2016 at 02:28:32AM +0200, Xianwen Chen wrote: > Hello, > > I have not been able to use iwi0 on OpenBSD 5.9 i386 on ThinkPad R52. > > The firmware was installed via > # fw_update > > When I try to connect to an open wifi network: > # ifconfig iwi0 nwid HUAZHU-Hanting up > > I

Re: httpd. chroot, security and user homepage

2016-06-29 Thread Stefan Sperling
On Wed, Jun 29, 2016 at 08:15:35PM +0200, Johan Tärnklint wrote: > Seeking advice / security tips. > > Is it safe to create /var/www/htdocs/user1 and symlink to their home folder? > > Then set permissions to user1:www on /var/www/htdocs/user1 ? > > Does it break the chroot? Is it safe? Better

Re: Booting encrypted drive from another device

2016-06-20 Thread Stefan Sperling
On Mon, Jun 20, 2016 at 02:00:20PM +0300, bootcr...@openmailbox.org wrote: > Hello! > > I have recently decided to use full disk encryption on my openbsd boxes. > > I've managed to do so and it's working, however for security reasons I want > to boot them from > another drive. > > Example: > I

Re: Long life on SSD in a firewall environment

2016-06-19 Thread Stefan Sperling
On Sun, Jun 19, 2016 at 11:56:57AM +0200, Sjöholm Per-Olov wrote: > Hi > > Does anyone know if there exist any list of recommendations about how to make > an SSD disk to live as long as possible when using it for firewall purpose on > OpenBSD? It seems that OpenBSD lack some features related to

Re: wifind(8) find your wifi

2016-06-03 Thread Stefan Sperling
On Sat, Jun 04, 2016 at 02:38:06AM +0800, Ray Lai wrote: > On Fri, 3 Jun 2016 15:52:34 +0200 > Stefan Sperling <s...@stsp.name> wrote: > > One thing we should probably fix first is roaming support in the kernel. > > Do you mean 802.11r support? No, that extension seems

Re: wifind(8) find your wifi

2016-06-03 Thread Stefan Sperling
On Fri, Jun 03, 2016 at 03:22:19PM +0200, Kamil Cholewiński wrote: > Perhaps it's time that the best tool be chosen and made a part of the > base install? I've already seen like a 100 different OBSD WiFi scripts > floating around the 'net, and naturally I also have a DIY one. No scripts for this,

Re: CRYPTO volume created, but appears as full

2016-05-28 Thread Stefan Sperling
On Sat, May 28, 2016 at 06:15:35PM +0200, Robert Campbell wrote: > I followed the steps in the FAQ for setting up full disk encryption. > Everything goes according to plan until I attempt to write zeros to the > first megabyte of the new pseudo-device; as you can see below, dd informs > me that

Re: CRYPTO volume created, but appears as full

2016-05-28 Thread Stefan Sperling
On Sat, May 28, 2016 at 06:03:48PM +, Ivan Markin wrote: > Sebastien Marie: > > Do you run these commands on the ramdisk (bsd.rd) ? If yes, all the > > /dev/sd* aren't created by default. > > Why it is so? Can this be found somewhere in documentation? If the ramdisk shipped with all possible

Re: bsd.rd got IP from DHCP, but no network, no sets

2016-05-26 Thread Stefan Sperling
On Sun, May 22, 2016 at 07:53:10AM +0200, butresin wrote: > # dhclient dc0 > DHCPREQUEST on dc0 to 255.255.255.255 > DHCPACK from 192.168.1.1 > bound to 192.168.1.34 -- renewal in 43200 seconds. > > # ifconfig dc0 > dc0: flags=8843 mtu 1500 > lladr

Re: tp-link tl-wn722n athn0: could not load firmware

2016-05-23 Thread Stefan Sperling
On Mon, May 23, 2016 at 02:46:16PM +0300, Mihai Popescu wrote: > > I believe this is a power management issue with ehci(4). > > Your device doesn't get enough juice to power up. > > Hmmm, it is the second Lenovo machine i have with usb issues. > > As far as you can tell, is it because of pure

Re: tp-link tl-wn722n athn0: could not load firmware

2016-05-23 Thread Stefan Sperling
On Mon, May 23, 2016 at 12:49:56PM +0300, Mihai Popescu wrote: > Hello, > > I have this usb2.0 dongle, TP-LINK TL-WN722N wireless device. I've got > it after I installed OpenBSD so I have run fw_update -a for firmware. > Still I get this error athn0: could not load firmware after plugin. > The

Re: Two athn devices acting weird

2016-05-16 Thread Stefan Sperling
On Sun, May 15, 2016 at 09:36:19PM +0200, LÉVAI Dániel wrote: > hostname.athn0: > ==8<== > media autoselect > mode 11g > chan 10 > nwid daniell > wpakey _ > wpaprotos wpa2 > mediaopt hostap > #nwflag hidenwid > inet6 eui64 > up > ##!/sbin/ifconfig athn0 media autoselect mode auto

Re: Support for Realtek wifi card?

2016-05-08 Thread Stefan Sperling
On Sun, May 08, 2016 at 01:36:48PM -0400, Paul Suh wrote: > There is a somewhat old message indicating that there isn't a maintainer for > Realtek WiFi cards on FreeBSD: > > >

Re: non-wintel hardware choices

2016-05-05 Thread Stefan Sperling
On Thu, May 05, 2016 at 05:30:21PM +0300, Gregory Edigarov wrote: > Hi everybody, > > if I want to build a non-wintel system with commodity running OpenBSD > without problems, what are my options? > preferably something non-apple also, which i will be able to connect > display, mouse, and

Re: iwi and rsu driver not working in 5.9

2016-05-05 Thread Stefan Sperling
On Thu, May 05, 2016 at 11:09:27AM +0200, Stefan Sperling wrote: > You need this commit to fix iwi on 5.9. > Not sure about rsu(4) but perhaps this will fix it, too. You can now also build a kernel from the 5.9-stable branch to get this patch. > /usr/src/sys/net80211/ieee802

Re: iwi and rsu driver not working in 5.9

2016-05-05 Thread Stefan Sperling
On Thu, May 05, 2016 at 08:46:26AM +0200, Boris Rieken wrote: > I have two laptops that use the iwi driver for their Intel wireless > interfaces and I have an usb wifi dongle that uses the rsu driver. Under 5.7 > and 5.8 these work perfectly. But under 5.9 I cannot connect to a wireless > network.

Re: Belkin PCMCIA wifi

2016-04-14 Thread Stefan Sperling
On Wed, Apr 13, 2016 at 11:56:46PM +0200, hans wrote: > I have this Belkin card (model F5D8010) > which reports on current/amd64 as > > unknown vendor 0x17cb product 0x0001 (class network subclass ethernet, rev > 0x01) at cardbus1 dev 0 function 0 not configured > > but does not show up as an

Re: Ad-hoc wifi on athn(4)?

2016-04-02 Thread Stefan Sperling
On Sat, Apr 02, 2016 at 10:37:07PM -0500, Ax0n wrote: > I'm working on a project with a local group that involves running a bunch > of systems in Ad-Hoc mode to form a mesh network. I was hoping to join my > daily driver to the mesh, but I'm not seeing any way to get Ad-Hoc/IBSS > mode enabled on

Re: Ad-hoc wifi on athn(4)?

2016-04-02 Thread Stefan Sperling
On Sun, Apr 03, 2016 at 07:29:09AM +0200, Stefan Sperling wrote: > The following drivers advertise IBSS support in their man pages: > > acx(4), an(4), ath(4), atu(4), atw(4), ipw(4), iwi(4), pgt(4), > ral(4), rtw(4), rum(4), ural(4) Just in case you are considering ath(4) from th

Re: ThinkPad X260 or other Skylake Laptop

2016-03-29 Thread Stefan Sperling
On Mon, Mar 28, 2016 at 05:04:02PM -0700, Bryan Vyhmeister wrote: > Is there a way screen brightness can still be adjusted in > some form even with wsfb(4)? wsconsctl display.brightness should work.

Re: WoL on em interface

2016-03-23 Thread Stefan Sperling
On Tue, Mar 22, 2016 at 07:44:05PM -0400, Jiri B wrote: > I wanted to go 'green' and thus I've thought de facto standard > 'em' interface supports wake on lan (WoL). > > $ grep -n -i wol ~/cvs/openbsd-src/sys/dev/pci/if_em* > /home/jirib/cvs/openbsd-src/sys/dev/pci/if_em_hw.c:1150:

Re: how to Bridging with a wireless NIC

2016-02-25 Thread Stefan Sperling
On Fri, Feb 26, 2016 at 05:15:19AM +0900, Tuyosi Takesima wrote: > TV get 192.168.0.10 >gateway adress 192.168.0.1 >dns8.8.8.8 > > how to rerite pf.conf inorder to access TV from 192.168.10.0/24 ? You could try using rdr-to. Something like this might work: pass in

Re: how to Bridging with a wireless NIC

2016-02-25 Thread Stefan Sperling
On Tue, Feb 23, 2016 at 08:07:31PM +0900, Tuyosi Takesima wrote: > auto wlan0 > iface wlan0 inet dhcp > wpa-ssid URoad-9BF > wpa-ap-scan 1 > wpa-key-mgmt WPA-PSK > wpa-psk 4955 > # iw wlan0 info > command failed: No such device (-19) I don't understand how iw can fail like this if you have wlan0

Re: Trouble applying patch 003 to OpenBSD 5.8-stable

2016-02-21 Thread Stefan Sperling
On Sun, Feb 21, 2016 at 12:15:04PM -0800, Andrew Lester wrote: > Hi all, > > I'm setting up OpenBSD 5.8-stable and installing the patches for the known > errata. I'm buying the CD set but installed with the install58.iso from a > mirror. As such I don't think the bad src.tar.gz on the CD will

Re: how to Bridging with a wireless NIC

2016-02-21 Thread Stefan Sperling
On Sun, Feb 21, 2016 at 11:50:05PM +0900, Tuyosi Takesima wrote: > then debiandog get address 192.168.100.104 (not 192.168.0.X) > > this is very simple method. > so , there is posiibility of ethenet converter on OpenBSD > > my bed room has no lan cable . > and the video recorder has no wifi ,

Re: startx vs xdm

2016-02-18 Thread Stefan Sperling
On Thu, Feb 18, 2016 at 09:44:08PM +0100, Jan Stary wrote: > Probably not, because if I remove all my .x* files > and keep just the .Xdefaults -> .Xresources which > specifies the UTF8 locale for xterm, the same thing > happens in (the default) fvwm. Namely, > the xterm started by default has

Re: how to Bridging with a wireless NIC

2016-02-17 Thread Stefan Sperling
On Wed, Feb 17, 2016 at 10:54:54AM +0900, Tuyosi Takesima wrote: > wifi router > 192.168.100.254 > | > |wireless > | > rum0:dhcpcd This kind of bridge between two wireless devices requires support for the WDS ("wireless distribution system") extension for both the wifi router and rum0.

Re: startx vs xdm

2016-02-16 Thread Stefan Sperling
On Tue, Feb 16, 2016 at 09:15:58AM +0100, Jan Stary wrote: > There seems to be a difference between an X session > initialized by startx(1) and one launched by xdm(1). > > When I start an X session via startx, the settings > specified in ~/.Xresources seem to be honoured. > A session started via

Re: Kernel panic during installation

2016-02-12 Thread Stefan Sperling
On Thu, Feb 11, 2016 at 08:42:21PM -0500, Donald Allen wrote: > When attempting to install the 2/8 snapshot on my Thinkpad x-250, I chose > to configure the wireless network interface (iwm). This resulted in the > following: > > iwm0: could not read firmware iwm-7265-9 (error 2) > panic: attempt

Re: Kernel panic during installation

2016-02-12 Thread Stefan Sperling
On Fri, Feb 12, 2016 at 10:47:16AM -0500, Donald Allen wrote: > On Fri, Feb 12, 2016 at 10:45 AM, Chris Cappuccio <ch...@nmedia.net> wrote: > > > Donald Allen [donaldcal...@gmail.com] wrote: > > > On Feb 12, 2016 05:08, "Stefan Sperling" <s...@stsp.nam

Re: Kernel panic during installation

2016-02-12 Thread Stefan Sperling
On Fri, Feb 12, 2016 at 03:03:46PM -0500, Donald Allen wrote: > I just used this exchange as an example to a friend who buys everything > Apple and then complains when their software is buggy. This is a perfect > example of how a direct negative feedback path makes software converge > quickly to

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 02:44:00PM -0500, Johan Huldtgren wrote: > >This should show chunk states. To map from number this prints to a state, > >see the #defines listed at struct bioc_disk.bd_status in sys/dev/biovar.h > >starting line 92. > > scsibus5 at softraid0: 256 targets > softraid0:

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 02:00:25PM -0500, Johan Huldtgren wrote: > >I would compile a kernel with 'option SR_DEBUG', and with > >'uint32_t sr_debug = SR_D_STATE' in sys/dev/softraid.c line 63. > > > >This might shed light on which chunks have a problem. > > at boot I now see this: > > softraid0

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 11:01:21AM -0500, Johan Huldtgren wrote: > >Looking at the raid5 code, it looks like you get into this state if > >more than 2 chunks in the RAID5 volume fail. > >Are you sure all the disks are OK? > > As far as I can tell yes, I don't see anything in dmesg, S.M.A.R.T >

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 03:48:30PM +0100, Stefan Sperling wrote: > On Sat, Feb 06, 2016 at 03:47:29PM +0100, Stefan Sperling wrote: > > On Sat, Feb 06, 2016 at 08:59:42AM -0500, Johan Huldtgren wrote: > > > dmesg is below. > > > > There should be an sd9 device

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 03:47:29PM +0100, Stefan Sperling wrote: > On Sat, Feb 06, 2016 at 08:59:42AM -0500, Johan Huldtgren wrote: > > dmesg is below. > > There should be an sd9 device in your dmesg but I cannot see it. > Seems the drive has died and needs to be replaced?

Re: bringing degraded softraid online

2016-02-06 Thread Stefan Sperling
On Sat, Feb 06, 2016 at 08:59:42AM -0500, Johan Huldtgren wrote: > dmesg is below. There should be an sd9 device in your dmesg but I cannot see it. Seems the drive has died and needs to be replaced?

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Stefan Sperling
On Thu, Feb 04, 2016 at 11:40:30AM +0100, Henrik Friedrichsen wrote: > Hey, > > manually setting the mode helps with the speed problems, thanks! That's good. At least there's a workaround. > On Wed, Feb 03, 2016 at 08:54:51PM +0100, Stefan Sperling wrote: > > Does this diff he

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Stefan Sperling
On Thu, Feb 04, 2016 at 02:55:06PM +0100, Henrik Friedrichsen wrote: > Hey, > > On Thu, Feb 04, 2016 at 11:56:30AM +0100, Stefan Sperling wrote: > > For starters, beacons from this AP. > > > > While associated: tcpdump -n -i iwn0 -y IEEE802_11_RADIO -vvv subtype

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Stefan Sperling
On Thu, Feb 04, 2016 at 03:59:09PM +0100, Henrik Friedrichsen wrote: > RxMCS 0xfc00> This AP does not comply with the 11n standard I'm reading (802.11 2012) because it does not support all of MCS 0-7. We currently require RxMCS starting with 0xff (MCS 0 to 7 supported). Looks

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Stefan Sperling
On Thu, Feb 04, 2016 at 08:27:32PM +0100, Henrik Friedrichsen wrote: > Hey, > > On Thu, Feb 04, 2016 at 06:24:42PM +0100, Stefan Sperling wrote: > > This AP does not comply with the 11n standard I'm reading (802.11 2012) > > because it does not support all of MCS 0-7.

Re: iwn WiFi slow in CURRENT

2016-02-03 Thread Stefan Sperling
On Wed, Feb 03, 2016 at 04:10:22PM +0100, Henrik Friedrichsen wrote: > Hey, > > I recently upgraded 5.8 to CURRENT to test the new 802.11n WiFi > additions which I am very excited about. > > I noticed that in CURRENT the WiFi throughput is much slower. The > environment I am testing it in is at

Re: iwn WiFi slow in CURRENT

2016-02-03 Thread Stefan Sperling
On Wed, Feb 03, 2016 at 04:46:45PM +0100, Stefan Sperling wrote: > On Wed, Feb 03, 2016 at 04:10:22PM +0100, Henrik Friedrichsen wrote: > > Hey, > > > > I recently upgraded 5.8 to CURRENT to test the new 802.11n WiFi > > additions which I am very excited about. > &g

Re: iwm0: could not initiate 2 GHz scan

2016-01-21 Thread Stefan Sperling
On Thu, Jan 14, 2016 at 07:41:59PM -0700, Chris Wojo wrote: > Here is a one liner from the beacons at home: It seems this AP does not support 802.11n and is using WEP. Is this correct? > Here are a few beacons from work: There's nothing unusual in these beacons as far as I can tell. > This

Re: igmp option 148 (RA)

2016-01-21 Thread Stefan Sperling
On Thu, Jan 21, 2016 at 12:27:06PM +0200, Kapetanakis Giannis wrote: > Hi, > > I'm constantly seeing this on my pf router. > rule 61/(ip-option) pass in on $ext_if: $ext_gw > 224.0.0.1: igmp query [tos > 0xc0] [ttl 1] > > Rule 61 is: > @61 pass quick inet proto igmp from $ext_if:network to

Re: 5.8/sparc64 - boot from softraid(4) fails?

2016-01-20 Thread Stefan Sperling
On Sat, Dec 19, 2015 at 02:17:53PM +0100, Alexander Bochmann wrote: > Hi, > > > ...on Sun, Dec 06, 2015 at 06:02:35PM +0100, Stefan Sperling wrote: > > > Can you show the output of 'devalias' at the ok> prompt? > > > If your disks are more than 4 l

Re: codepage and iocharset in fat32 aka msdos filesystem

2016-01-20 Thread Stefan Sperling
On Sun, Jan 17, 2016 at 05:39:26PM +0100, Ingo Schwarze wrote: > OpenBSD file systems do not have any noting of characters in file names. > The file systems treat file names as byte string. Interpretation is > left to userland tools. > > Userland tools are being worked on to treat strings as

Re: Questions to the snapshot from January 9 2016 ?

2016-01-14 Thread Stefan Sperling
On Thu, Jan 14, 2016 at 04:07:42PM +0100, Christoph R. Murauer wrote: > I tried the patch with the snapshot from yesterday but the result was > the same - no link ... sleeping in a, b and g mode. > > Can you please capture a beacon from this AP for me? That is, one line from the output of:

Re: athn causes crash when bringing interface up

2016-01-14 Thread Stefan Sperling
On Wed, Jan 13, 2016 at 03:31:57PM -0500, Brendan Van Hook wrote: > Hello, > > After upgrading to the most recent snapshot, a simple 'ifconfig athn0 up' > sends > me to ddb: > > kernel: integer divide fault trap, code=0 > Stopped at: ar5008_set_delta_slope+0x40:idiv1 %ecx,%eax > >

Re: iwm0: could not initiate 2 GHz scan

2016-01-13 Thread Stefan Sperling
On Tue, Jan 12, 2016 at 07:11:55PM -0700, Chris Wojo wrote: > So it appears that iwm0 does work on snapshot #1800 on my home wireless AP. > The errors previously reported still occur on the office network where > several AP's are using the same NWID. > I would be more than happy to troubleshoot

Re: Questions to the snapshot from January 9 2016 ?

2016-01-13 Thread Stefan Sperling
On Wed, Jan 13, 2016 at 01:20:08PM +0100, Christoph R. Murauer wrote: > OT and only for the archive : iwm0 works not (dhcp ends always with no > link ... sleeping) with a TP-Link M7350 (4G / LTE modem) Not very off-topic since development for 11n support is on-going. Can you please check if it

Re: Questions to the snapshot from January 9 2016 ?

2016-01-13 Thread Stefan Sperling
On Wed, Jan 13, 2016 at 02:18:47PM +0100, Christoph R. Murauer wrote: > > On Wed, Jan 13, 2016 at 01:20:08PM +0100, Christoph R. Murauer wrote: > >> OT and only for the archive : iwm0 works not (dhcp ends always with > >> no > >> link ... sleeping) with a TP-Link M7350 (4G / LTE modem) > > > > Not

Re: iwm0: could not initiate 2 GHz scan

2016-01-11 Thread Stefan Sperling
On Mon, Jan 11, 2016 at 11:13:03AM -0700, Chris Wojo wrote: > I'm trying to connect to a wireless access point but receive "iwm0: could not > initiate 2 GHz scan" from dmesg. I'm seeing these message sometimes but they are transient and scanning usually works fine after another attempt. So I

Re: Wifi on Acer Aspire One ZG5 doesn't work

2016-01-09 Thread Stefan Sperling
On Sat, Jan 09, 2016 at 03:48:41PM +0100, Nick Erdmann wrote: > Hi, > I'm running OpenBSD 5.8 i386 on an Acer Aspire One ZG5. Wifi doesn't work. > I've attached the dmesg output. The device has a wifi switch, which doesn't > seem to have any effect on this problem. On FreeBSD and Linux everything

Re: mbuf leak in carp with ipv6

2016-01-05 Thread Stefan Sperling
On Tue, Jan 05, 2016 at 12:29:43PM +0100, Håkon Lerring wrote: > Hello misc. > > I was investigating a problem with a firewall that goes AWOL every week. It > happens only if i activate an ipv6 address on a carp interface. The carp log > has this message: > > Jan 5 12:10:06 /bsd: carp: packet

Re: No USB 3.0 on 5.8 -current Broadwell

2015-12-16 Thread Stefan Sperling
On Wed, Dec 16, 2015 at 03:10:57PM +, Mark Carroll wrote: > On 20 Nov 2015, edward wandasiewicz wrote: > > > If I try to plug in various USB 3.0 umass(4) devices into a USB 3.0 or > > USB 3.1 Type C port, nothing gets registered via dmesg, even if I add > > > > option USB_DEBUG > > option

Re: restrictions for kernel interrupt context

2015-12-16 Thread Stefan Sperling
On Tue, Dec 15, 2015 at 11:04:51PM -0700, Devin Reade wrote: > The usbd_open_pipe_intr(9) man page discusses the usbd_callback type and > the usbd_transfer(9) man page mentions the associated interrupt context in > which (presumably) that callback executes. > > Are there any particular

Re: letsencrypt && https && openbsd.org = https://www.openbsd.org/

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 11:58:17AM +0100, Thijs van Dijk wrote: > On 11 December 2015 at 05:51, Andy Bradford > wrote: > > > If one wants privacy on a website then more is required than just HTTPS. > > > > Right. *I* just want a reasonable (256-bit) guarantee that the

Re: NOT POSSIBLE: Fully encrypted system with keydisk

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 09:53:48AM +0100, Alexander Hall wrote: > On December 11, 2015 1:27:52 AM GMT+01:00, Stuart Henderson > wrote: > >On 2015-12-10, Stefan Wollny wrote: > > >> YES: I did 'bioctl -C force -c C -l /dev/sd0d -k /dev/sd1d

Re: NOT POSSIBLE: Fully encrypted system with keydisk

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 01:18:55PM +0100, Stefan Wollny wrote: > OK - follow up problem: After the installation on /dev/sd3 (plus setting up > /dev/sd4 for /home) I did not reboot but run installboot(8) like so: > # /usr/sbin/installboot sd3 > > This last produced an error message about

Re: Wifi Configuration | Realtek RTL8191SE

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 01:38:24PM -0200, Luiz Moraes wrote: > Hi Everyone, > Im a Linux user (Slackware) and now i decided to try OpenBSD as my main > OS on my laptop, the only thing that i couldn't solve is to make my Wifi > card works on OpenBSD. > It's a Realtek RTL8191SE PCI. I tried

Re: NOT POSSIBLE: Fully encrypted system with keydisk

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 03:30:04PM +0100, Stefan Wollny wrote: > I run the command like you adviced and no error message showed up. > > So far, so good - unfortunatelly the system still does not boot after the > 'reboot'. Still stops at the manufacturers splash screen not recognizing any >

Re: NOT POSSIBLE: Fully encrypted system with keydisk

2015-12-11 Thread Stefan Sperling
On Sat, Dec 12, 2015 at 12:27:46AM +0100, Stefan Wollny wrote: > Am 12/11/15 um 18:34 schrieb Stefan Sperling: > >On Fri, Dec 11, 2015 at 05:44:36PM +0100, Stefan Wollny wrote: > >>fdisk(25692): syscall 54 "ioctl" > >>Abort trap > >>> dis

Re: Wifi Configuration | Realtek RTL8191SE

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 02:37:54PM -0200, Luiz Moraes wrote: > Hi Stefan, > I already downloaded from http://firmware.openbsd.org/firmware/5.8/ the > firmwares *rtwn*, *rsu and* u*rtwn *and installed them all with *fw_update*, > later i restarted the laptop but the status on *dmesg *is the

Re: NOT POSSIBLE: Fully encrypted system with keydisk

2015-12-11 Thread Stefan Sperling
On Fri, Dec 11, 2015 at 05:44:36PM +0100, Stefan Wollny wrote: > fdisk(25692): syscall 54 "ioctl" > Abort trap > > disklabel sd3 > disklabel(3120): syscall 54 "ioctl" > Abort trap This is obviously not quite right. It looks like you're using a snapshot with a pledge(2) bug. What snapshot are

Re: letsencrypt && https && openbsd.org = https://www.openbsd.org/

2015-12-08 Thread Stefan Sperling
On Tue, Dec 08, 2015 at 12:06:52PM -0500, szs wrote: > Fb jvgu yrgfrapelcg urer, ubj nobhg znxvat gur znva fvgr > qrsnhyg gb uggcf? Vf guvf n tbbq vqrn be vf guvf n terng vqrn? I'm sorry, I couldn't read your message because it was encrypted. How about you sign your messages instead? That way,

Re: 5.8/sparc64 - boot from softraid(4) fails?

2015-12-06 Thread Stefan Sperling
On Sat, Dec 05, 2015 at 09:34:35PM +0100, Alexander Bochmann wrote: > I recently tried to install OpenBSD 5.8 on a Sun Fire, > using a RAID-1 softraid as boot device. System doesn't > boot though, and ends up with this: > > > Sun Fire V245, No Keyboard > > Copyright 2007 Sun Microsystems,

Re: WLAN Card frustration

2015-12-04 Thread Stefan Sperling
On Fri, Dec 04, 2015 at 01:59:39AM -0700, bluesun08 wrote: > Thank you Stefan and Matthew. > Do you use one or two antennas? Only one in my case. Until OpenBSD supports 11n with MIMO, multiple antennas will only be used for diversity which selects one antenna for transmit at a time (generally

Re: WLAN Card frustration

2015-12-03 Thread Stefan Sperling
On Thu, Dec 03, 2015 at 11:25:49AM -0700, bluesun08 wrote: > Hi, > > in the meantime i had tested many miniPCIe-WLAN-Cards (ar9271, ar9280, > ar9285, ar9287, ...) with OpenBSD in HostAP-mode. > But no one of them works reliable, stable and fast. > > No i'm frustrated. I'm fed up with ordering,

Re: HP LaserJet Problem

2015-12-01 Thread Stefan Sperling
On Tue, Dec 01, 2015 at 07:37:05AM -0700, bluesun08 wrote: > Hi, > > i connected my HP LaserJet 1320 to a USB-Port. The message is: > > ulpt0 at uhub1 > openbsd /bsd: port 4 configuration 1 interface 0 "Hewlett-Packard hp > LaserJet 1320 series" rev 1.10/1.00 addr 4 > openbsd /bsd: ulpt0: using

Re: HP LaserJet Problem

2015-12-01 Thread Stefan Sperling
On Tue, Dec 01, 2015 at 05:12:26PM +0100, Stefan Sperling wrote: > On Tue, Dec 01, 2015 at 07:37:05AM -0700, bluesun08 wrote: > > cannot create /dev/ulpt0: Device busy > > > > The printer don't print. What goes wrong here? > > > > Regards Alex > > Some

Re: athn0: device timeout

2015-11-30 Thread Stefan Sperling
On Sun, Nov 29, 2015 at 02:52:15PM +0100, Adam Wolk wrote: > Now to be precise. I can use this dongle quite fine. It sometimes goes > up to 1 hour of usage without any timeouts. When it does timeout it's > usually in rapid succession (like 2-3 times in next 10 minutes). Each > time after a timeout

Re: athn0: device timeout

2015-11-28 Thread Stefan Sperling
On Sat, Nov 28, 2015 at 03:59:08AM -0700, bluesun08 wrote: > Hi again, > > here are more error-messages: > > Nov 28 20:34:23 openbsd /bsd: athn0 detached > Nov 28 20:34:25 openbsd /bsd: athn0 at uhub0 > Nov 28 20:34:25 openbsd /bsd: port 1 configuration 1 interface 0 "ATHEROS > USB2.0 WLAN" rev

Re: athn0: device timeout

2015-11-28 Thread Stefan Sperling
On Sat, Nov 28, 2015 at 07:35:00AM -0700, bluesun08 wrote: > xhci0 at pci0 dev 20 function 0 "Intel Bay Trail xHCI" rev 0x0c: msi > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 > uhub2 at uhub0 port 2 "Genesys Logic USB2.0 Hub" rev 2.00/85.37 addr 3 >

Re: Install snapshot failes

2015-11-27 Thread Stefan Sperling
On Fri, Nov 27, 2015 at 09:22:53PM +0100, Carsten Kunze wrote: > Only install58.fs itself did boot so there is only the dmesg if the standard > installer image. That doesn't use softraid. > > As suggested I wait for the next snapshot. If the issue with installboot is > still there I'll send a

Re: Install snapshot failes

2015-11-27 Thread Stefan Sperling
On Fri, Nov 27, 2015 at 03:05:07PM +0100, Carsten Kunze wrote: > Hello, > > installing a todays amd64 snapshot with image install58.fs ends with > "installboot: No blocks to load". What can be the problem? > > Carsten > Carsten, a dmesg please, *every time* you report an issue. We need to

Re: tmux's utf vs my latin2

2015-11-18 Thread Stefan Sperling
On Wed, Nov 18, 2015 at 04:44:39PM +0100, Jan Stary wrote: > This is current/amd64. > With the recent addition of UTF to tmux, > I apparently need to change something to be able > to read my latin2 email etc as I did before. IMO, since you're running -current, switch your locale to UTF-8 and

Re: irq sharing leads to system freeze

2015-11-16 Thread Stefan Sperling
On Mon, Nov 16, 2015 at 03:18:37PM +0100, Chris Mailer wrote: > Hello, > > Im using an old Evo N600c laptop with rtw0 pcmcia cardbus lancard. > Utilizing the lancard (e.g. through netstart) while playing sound as > well as playing sound while beeing online leads to an immediate system > freeze. >

Re: Paris..

2015-11-14 Thread Stefan Sperling
Please take your discussion off this mailing list.

Re: Softraid-Crypto: Installation not possible

2015-11-14 Thread Stefan Sperling
On Sun, Nov 15, 2015 at 12:22:09AM +0100, Stefan Wollny wrote: > What is the problem? I have downloaded the 'install58.iso'-file > (amd64-current) and burned the disk to start from. dmesg recognizes the > three media and reports them as 'sd0' (=m.2-SSD), 'sd1' (SATA-SSD) and 'sd2' > (USB-stick). I

Re: 5.8 Stable kernel panic

2015-11-12 Thread Stefan Sperling
On Thu, Nov 12, 2015 at 12:53:06PM -0500, Donald Allen wrote: > fdisk and disklabel output below. > > I should note that the panic is reproducible. I rebooted the problem > system and tried plugging and unplugging the USB drive and it panicked > again. The HP laptop, running the 5.8 install cd

Re: athn0/AR9287. Having to switch PCI-E slot after every reboot. Weird wireless issues!

2015-11-11 Thread Stefan Sperling
On Wed, Nov 11, 2015 at 08:58:37AM -0500, szs wrote: > $dmesg | grep Atheros > athn0 at pci1 dev 0 function 0 "Atheros AR9287" rev 0x01: apic 6 int 4 > vendor "Atheros", unknown product 0xff1c (class network subclass ethernet, > rev 0 > x01) at pci1 dev 0 function 0 not configured > >

Re: USB mouse often not detected

2015-11-10 Thread Stefan Sperling
On Tue, Nov 10, 2015 at 08:28:24AM +0100, Maurice Janssen wrote: > Paco Willers schreef op 2015-11-10 07:53: > >Hi, > > > > > >When using a PS/2 mouse everything worked fine. I swapped it for a USB > >mouse, but this mouse isn't always detected while booting my (386-based) > >OpenBSD 5.8-stable

Re: installboot with amd64 root on softraid crypto, NOT 'a' partition

2015-11-08 Thread Stefan Sperling
On Sat, Nov 07, 2015 at 07:57:05PM -0500, Jonathan Thornburg wrote: > At this point the machine can boot and run sd1[aeg] fine. *But* if I > enter "boot sr1d:/bsd" at the "boot>" prompt, the machine boots sd1[aeg], > not the desired sd1[dfh]. In other words, at this point my "backup" > sd1[dfh]

Re: LC_COLLATE

2015-11-08 Thread Stefan Sperling
On Sun, Nov 08, 2015 at 06:29:22AM -0700, bluesun08 wrote: > "OpenBSD doesn't provide LC_COLLATE locales. " ? > > We are in 2015 and i thought OpenBSD is a up-to-date server operating > system. > So OpenBSD is not recommended for practical use or a postgresql database > server. > No wonder

Re: LC_COLLATE

2015-11-08 Thread Stefan Sperling
On Sun, Nov 08, 2015 at 04:03:05AM -0700, bluesun08 wrote: > But when i type "locale -a" i get: > ... > de_AT.ISO8859-1 > de_AT.ISO8859-15 > de_AT.UTF-8 > de_CH.ISO8859-1 > de_CH.ISO8859-15 > de_CH.UTF-8 > de_DE.ISO8859-1 > de_DE.ISO8859-15 > de_DE.UTF-8 > el_GR.ISO8859-7 > el_GR.UTF-8 > ... > >

Re: LC_COLLATE

2015-11-07 Thread Stefan Sperling
On Sat, Nov 07, 2015 at 04:48:28PM -0700, bluesun08 wrote: > ok. sorry. > > the real problem: > i have a windows application which needs a postgresql-database with > "de_DE.UTF-8" collation. > > When i try to create such a database in openbsd i get the error: > initdb: invalid locale name

Re: 5.8-release building mutt from ports fails

2015-11-05 Thread Stefan Sperling
On Thu, Nov 05, 2015 at 10:13:48AM -0800, Philip Guenther wrote: > I'll throw a quick thumbs-up for adding FETCH_PACKAGES=yes to your > mk.conf to have the ports infrastructure automatically install > dependencies instead of building them. AFAIK FETCH_PACKAGES=yes is a bit broken because quirks

Re: Ethernet not working

2015-11-04 Thread Stefan Sperling
On Wed, Nov 04, 2015 at 01:53:33PM +0530, Jay Patel wrote: > "Attansic Technology AR8172" rev 0x10 at pci1 dev 0 function 0 not configured That's your ethernet device. The 'not configured' message means there is no driver support in OpenBSD for this device yet. It looks like Linux has a driver

Re: (U)EFI install and boot not finding hd0a:/bsd

2015-11-03 Thread Stefan Sperling
On Tue, Nov 03, 2015 at 10:14:08AM -0800, Bryan Vyhmeister wrote: > Should a softraid(4) crypto root also work fine with EFI boot? Yes. It should work just the same way as with MBR boot.

Re: Install on compact flash

2015-10-15 Thread Stefan Sperling
On Thu, Oct 15, 2015 at 06:19:12PM +0200, Paolo Aglialoro wrote: > 2. What is the correct filesystem type to put in fstab for all the entries > of point 1. in order to store them in ramdisk? I'm using a line such as: swap /var/log mfs rw,nodev,nosuid,-s40M,-P/var/log.tmpl 0 0 to put /var/log

Re: dd if=/dev/zero of=/dev/mykeydisk; bioctl -k /dev/mykeydisk ... = will use 0x00 as key, or will generate a secure key?

2015-10-06 Thread Stefan Sperling
On Tue, Oct 06, 2015 at 07:17:19PM +0800, Mikael wrote: > You > > 1) Fill your keydisk with zeroes and > > 2) Apply "bioctl -k" on it. > > Does this mean your key is now zeroes, meaning completely unsafe, or did > bioctl make a key for you? > > > The keydisk gets some "OPENBSDSR KEYDISK005"

Re: dd if=/dev/zero of=/dev/mykeydisk; bioctl -k /dev/mykeydisk ... = will use 0x00 as key, or will generate a secure key?

2015-10-06 Thread Stefan Sperling
On Tue, Oct 06, 2015 at 07:32:45PM +0800, Mikael wrote: > 2015-10-06 19:27 GMT+08:00 Stefan Sperling <s...@stsp.name>: > > Perhaps this will answer your questions: > > http://www.openbsd.org/papers/eurobsdcon2015-softraid-boot.pdf > > > > That one mentions nothin

Re: dd if=/dev/zero of=/dev/mykeydisk; bioctl -k /dev/mykeydisk ... = will use 0x00 as key, or will generate a secure key?

2015-10-06 Thread Stefan Sperling
On Tue, Oct 06, 2015 at 08:04:01PM +0800, Mikael wrote: > Aha. So at "-k" time, if there's no key on the keydisk structure already, > it'll make one. So this is how you can use one and the same keydisk for > multiple volumes. Yes. Per volume you need one disklabel partition of type RAID which you

Re: Openbsd 5.7 and usb hubs daisy chained inquiry

2015-10-04 Thread Stefan Sperling
On Sun, Oct 04, 2015 at 08:41:23PM +0200, ludovic coues wrote: > 2015-10-04 4:49 GMT+02:00 Danny Nguyen : > > Hi, > > > > I'm running Openbsd 5.7 on several servers and would like to create an > > array of usb sticks by daisy chaining sabrent usb hubs together (model: > >

Re: signify: signature verification failed

2015-10-02 Thread Stefan Sperling
On Fri, Oct 02, 2015 at 08:27:55AM +0200, Peter J. Philipp wrote: > I downloaded the jumbo patches from > ftp://ftp.eu.openbsd.org/pub/OpenBSD/patches/5.7.tar.gz which includes > the latest opensmtpd patch, only it doesn't check out against signify. > > # signify -Vep

<    1   2   3   4   5   6   7   8   9   10   >