Re: Automatic OS updates
Well, in a few weeks you will see why you need it.
Sierra Wireless MC8805 and umb(4)
us 1 em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address 00:0d:b9:49:c5:c8 ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi pci2 at ppb1 bus 2 em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address 00:0d:b9:49:c5:c9 ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address 00:0d:b9:49:c5:ca ccp0 at pci0 dev 8 function 0 "AMD Cryptographic Co-processor v3" rev 0x00 xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x39: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.50015178f36d414a sd0: 22902MB, 512 bytes/sector, 46905264 sectors, thin ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus disabled pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16 sdhc0: SDHC 2.0, 50 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00 pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00 pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00 pchb5 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00 pchb6 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x53 vmm0 at mainbus0: SVM/RVI scsibus2 at sdmmc0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: SCSI2 0/direct removable sd1: 240MB, 512 bytes/sector, 493056 sectors uhub2 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2 umb0 at uhub2 port 3 configuration 2 interface 12 "Sierra Wireless, Incorporated Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card" rev 2.00/0.06 addr 3 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (c0608ac87cdfc131.a) swap on sd0b dump on sd0b usbdevs -vv: Controller /dev/usb0: addr 01: 1022: AMD, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub0 port 01: .02a0 power Rx.detect port 02: .02a0 power Rx.detect port 03: .02a0 power Rx.detect port 04: .02a0 power Rx.detect Controller /dev/usb1: addr 01: 1022: AMD, EHCI root hub high speed, self powered, config 1, rev 1.00 driver: uhub1 port 01: .0503 connect enabled power port 02: .0500 power addr 02: 0438:7900 Advanced Micro Devices, product 0x7900 high speed, self powered, config 1, rev 0.18 driver: uhub2 port 01: .0100 power port 02: .0100 power port 03: .0103 connect enabled power port 04: .0100 power addr 03: 413c:81a3 Sierra Wireless, Incorporated, Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card full speed, power 500 mA, config 2, rev 0.06 driver: umb0 -- Michał Markowski
Re: OpenBSD on Mikrotik/RouterBoard hardware ?
2016-05-22 15:18 GMT+02:00 Stuart Henderson <s...@spacehopper.org>: > I don't think MikroTik have any ARM boxes. http://routerboard.com/RB3011UiAS-RM -- Michał Markowski
Re: Blob-free OpenBSD kernel needed
2015-06-14 12:17 GMT+02:00 Артур Истомин art.is...@yandex.ru: By the way, I've never seen mention of the CPU's microcode updates in BIOS updates' changelogs (if they, changelogs, exist at all). Here you are (example from https://downloadcenter.intel.com/download/24877/Intel-Server-Board-S2600CP-Family-Firmware-update-package-for-IDA-OFU-EFI-and-WinPE- Release.txt): Microcode update versions: Intel(R) Xeon processor E5-4600/2600/2400 series C0 stepping: 0x0513 CPUID = 0x206D5 Intel(R) Xeon processor E5-4600/2600/2400 series C1 stepping: 0x0619 CPUID = 0x206D6 Intel(R) Xeon processor E5-4600/2600/2400 series C2 stepping: 0x0710 CPUID = 0x206D7 Intel(R) Xeon processor E5-4600/2600/2400 v2 series C0/C1 stepping: 0x0416 CPUID = 0x306e4 -- Michał Markowski
Re: About pppoe PADI retries
2015-01-07 16:13 GMT+01:00 Theron ZORBAS theronzor...@yahoo.com: pppoe0 has no problems but pppoe1 somehow redialing all the time. (Works for some minutes after that redials...) Sounds familiar. I think one of your adsl modems may be dying. -- Michał Markowski
FAQ 6.5: pppoe(8) deceased
--- faq6.html 2014-05-01 17:10:21.0 +0200 +++ - 2014-07-17 22:09:35.474827648 +0200 @@ -965,14 +965,8 @@ packets to a machine running PPPoE software (see below). p -The main software interface to PPPoE/PPPoA on OpenBSD is -a href=http://www.openbsd.org/cgi-bin/man.cgi?query=pppoeamp;sektion=8;pppoe(8)/a, -which is a userland implementation (in much the same way that we described -a href=http://www.openbsd.org/cgi-bin/man.cgi?query=pppamp;sektion=8;ppp(8)/a, -above). -A kernel PPPoE implementation, -a href=http://www.openbsd.org/cgi-bin/man.cgi?query=pppoeamp;sektion=4;pppoe(4)/a, -has been incorporated into OpenBSD. +The software interface to PPPoE/PPPoA on OpenBSD is +a href=http://www.openbsd.org/cgi-bin/man.cgi?query=pppoeamp;sektion=4;pppoe(4)/a. p h3PPTP/h3 -- Michał Markowski
Ars Technica: Linux^W LibreSSL declared unsafe
http://arstechnica.com/security/2014/07/only-a-few-days-old-openssl-fork-libressl-is-declared-unsafe-for-linux/ Original blog post: https://www.agwa.name/blog/post/libressls_prng_is_unsafe_on_linux -- Michał Markowski
Re: tmux print screen?
2014-02-18 14:48 GMT+01:00 frantisek holop min...@obiit.org: is there a way to tell tmux to dump the -current screen to a file (like screen's hardcopy) -the whole scrollback buffer to a file. with or without escape sequences, as long as it is a choice (but i need without, basically just saving a lot of mouse movement and copy/paste) Check capture-pane command in tmux(8). Example from my config: bind-key P command-prompt -p 'save history to filename:' -I '/tmp/tmux-%F_%H_%M_%S.log' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer' -- Michał Markowski
Re: Don't read this - OpenBSD: Not Free Not Fuctional and Definetly Not Secure | BSD, the truth - as author rewrites your comments and can't spell
OpenBSD’s PF: A stripped down copy of IPTABLES made my day. :) -- Michał Markowski
Re: days of the month
2013/7/12 Max Power open...@cpnetserver.net: You must have done something wrong: I have not done anything. The system is the default installation. Try to reproduce this: $ for i in `jot -w %02d 31 1`; do date -j +%d 201307${i}; done 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Re: panic: kernel diagnostic assertion on June 27th amd64 snap
2013/6/29 Johan Huldtgren johan+openbsd-po...@huldtgren.com: hello, while updating my server today it panics on boot. I can work around the issue and get it up by doing bsd -c and then a 'disable viomb' I was just about to report similar symptoms. Likewise, system works ok with viomb disabled. Drop me a line if ddb output is essential, I will need to write it down manually. Dmesg from last working kernel: OpenBSD 5.3-current (GENERIC) #4: Sun Jun 23 18:37:55 CEST 2013 d...@frigg.0x29a.it:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 520085504 (495MB) avail mem = 498597888 (475MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfd9b0 (10 entries) bios0: vendor HAL 9000 version Bochs date 01/01/2011 bios0: e24cloud Bochs acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC HPET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpihpet0 at acpi0: 1 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) cpu0: QEMU Virtual CPU version 1.4.2, 1700.30 MHz cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,POPCNT,NXE,LONG,LAHF,CMPLEG,ABM,SSE4A cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped cpu0: apic clock running at 1000MHz mpbios0: bus 0 is type PCI mpbios0: bus 1 is type ISA ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02 pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00 pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 1.4. ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 0 int 11 piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 0 int 9 iic0 at piixpm0 iic0: addr 0x4c 48=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x4e 48=00 words 00= 01= 02= 03= 04= 05= 06= 07= vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) virtio0 at pci0 dev 3 function 0 Qumranet Virtio Network rev 0x00: Virtio Network Device vio0 at virtio0: address 52:54:00:76:bb:38 virtio0: apic 0 int 11 virtio1 at pci0 dev 4 function 0 Qumranet Virtio Console rev 0x00: Virtio Console Device virtio1: no matching child driver; not configured virtio2 at pci0 dev 5 function 0 Qumranet Virtio Storage rev 0x00: Virtio Block Device vioblk0 at virtio2 scsibus1 at vioblk0: 2 targets sd0 at scsibus1 targ 0 lun 0: VirtIO, Block Device, SCSI3 0/direct fixed sd0: 40960MB, 512 bytes/sector, 83886080 sectors virtio2: apic 0 int 10 virtio3 at pci0 dev 6 function 0 Qumranet Virtio Memory rev 0x00: Virtio Memory Balloon Device viomb0 at virtio3 virtio3: apic 0 int 10 Intel 6300ESB WDT rev 0x00 at pci0 dev 7 function 0 not configured isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 1: density unknown usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 nvram: invalid checksum mtrr: Pentium Pro MTRR support uhidev0 at uhub0 port 1 configuration 1 interface 0 QEMU QEMU USB Tablet rev 1.00/0.00 addr 2 uhidev0: iclass 3/0 uhid0 at uhidev0: input=6, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (d165180d79cfec23.a) swap on sd0b dump on sd0b clock: unknown CMOS layout
Re: Why is there no pkg_find(1)?
Here you go: $ alias pkg_find='pkg_info -Q' $ pkg_find nginx nginx-1.4.1 nginx-1.4.1-lua nginx-1.4.1-passenger nginx-1.5.0 nginx-1.5.0-lua nginx-1.5.0-passenger -- Michał Markowski
Re: Important: following -current update!
$ cd /usr/src/sys/arch/`uname -m`/config cd: no such file or directory: /usr/src/sys/arch/i386/config $ cd /usr/src/sys/arch/`uname -m`/conf $ --- /cvs/www/faq/current.html Tue Apr 16 11:54:22 2013 +++ /tmp/current.html Tue Apr 16 12:10:27 2013 @@ -597,7 +597,7 @@ ul liUpdate entire source tree using cvs liconfigure and build a new kernel: -blockquotepreb cd /usr/src/sys/arch/`uname -m`/config +blockquotepreb cd /usr/src/sys/arch/`uname -m`/conf config GENERIC # or GENERIC.MP or whatever config you use cd ../compile/GENERIC # or GENERIC.MP or ... make clean -- Michał Markowski
Re: Disk layout: OpenBSD OT
2013/3/2 Friedrich Locke friedrich.lo...@gmail.com: just wonder in a typical hard drive nowadays (SATA/SAS), the sector 0 is in the inner or outter track ? Which tracks are faster: the inner ones or the outter ? First track is outer-most, hence faster linear transfer rates at beginning of disk, e.g. http://mralpha.s3.amazonaws.com/SAMSUNG-HD501LJ-690G-MrAlpha.png But it's generalization in terms of modern firmware. -- Michał Markowski
Re: Changing Architecture from amd64 to i386
2013/2/25 James Griffin jmz.grif...@kode5.net: I think if I delete/remove all packages then boot into the i386 bsd.rd and install all the i386 binaries, etc. and then reinstall all my packages this will be ok and will mean I don't have to reinstall from scratch using a cd iso image? Is this ok to do? Will it cause problems? As usually, FAQ to the rescue! Note that the OpenBSD/amd64 and OpenBSD/i386 boot loaders will load each other's kernels, making it easier to reinstall a system with the other platform. However, it has to be a complete wipe and reinstall operation -- left-over binaries from the previous installation will most likely make your life unpleasant. (http://openbsd.org/faq/faq12.html#amd64i386bin) -- Michał Markowski
Re: bootable OpenBSD USB stick from windows?
2013/2/13 Christer Solskogen christer.solsko...@gmail.com: But they are not official. Of course, but it works for now. I know that some linux distributions (like Ubuntu, Fedora and Arch Linux) have some kind of a special iso that is both dd-able to a USB stick and writable to a CD/DVD. Most of them now have, as far as I know. How it generally works: http://wiki.geteasypeasy.com/Hybrid_ISO/IMG_format USB ports in machines are very common nowadays, CD drives not so much anymore, so such official disk image with just bootloader + bsd.rd inside could come in handy. -- Michał Markowski
Re: bootable OpenBSD USB stick from windows?
As Otto suggested: try PXE, it's relatively simple. http://openbsd.org/faq/faq6.html#PXE You can also write this i386 image to your flash disk using dd: http://devio.us/~doc/openbsd52_usb/ (done as in http://article.gmane.org/gmane.os.openbsd.tech/30048) -- Michał Markowski
Re: Safe bruteforce rule for mobile-friendly website
2013/2/6 Mikkel Bang facebookman...@gmail.com: Works fine when connecting from regular PCs though. Why is that? Do mobile devices connect differently somehow? Start in /var/log, I suppose. -- Michał Markowski
Re: How to configure pppoe client on OpenBSD?
2013/1/13 Random, Eyes randome...@postafiok.hu: I have an OpenBSD 5.1 installed + a cable from my ISP. I have the username/password for the PPPoE connection, but how can I configure the connection to be permanent? (I have 1 interface on the machine.) http://lmgtfy.com/?q=openbsd+pppoe -- Michał Markowski
Re: How to configure pppoe client on OpenBSD?
2013/1/13 Franco Fichtner slash...@gmail.com: There should be a let-me-find-that-man-page-for-you for that sort of thing Well, there is apropos(1). :) -- Michał Markowski
Re: Nginx log rotation
2012/12/27 Paolo Aglialoro paol...@gmail.com: #/var/www/logs/access.log 644 7 *24ZB kill -s USR1 `cat /var/run/nginx.pid` #/var/www/logs/error.log 644 7 *24ZB kill -s USR1 `cat /var/run/nginx.pid` Why B flag and global read permissions? -- Michał Markowski
Re: Nginx log rotation
2012/12/27 Paolo Aglialoro paol...@gmail.com: B flag to avoid newsyslog manipulating contents of log files, like it happens for pflog Yep, but /var/log/pflog is binary, contrary to nginx logs. 644 was just for being comfortable (it comes from a 1 user system), it may of course be changed to be stricter So you are probably in wheel group already and 640 should be comfortable enough. :) -- Michał Markowski
Re: vfs.nfs.iothreads
2012/12/21 Jason McIntyre j...@kerhand.co.uk: i get -1 here too. but you;re saying that the value changes to 4 when transferring, right? I found this in /sys/nfs/nfs_vfsops.c: if (nfs_niothreads 0) { nfs_niothreads = 4; nfs_getset_niothreads(1); } http://www.openbsd.org/cgi-bin/cvsweb/src/sys/nfs/nfs_vfsops.c.diff?r1=1.30;r2=1.31 -- Michał Markowski
Re: PRIMERGY RX200 S2 installation problems
2012/12/3 Tony Berth tonybe...@googlemail.com: it is the current one (2012-12-02) Well, this is actual snapshot: OpenBSD 5.2-current (RAMDISK_CD) #86 Sun Dec 2 13:59:04 MST 2012 -- Michał Markowski
Re: PRIMERGY RX200 S2 installation problems
2012/11/29 Tony Berth tonybe...@googlemail.com: s a fresh install! I couldn't find a CD image for current or did I miss something? Try latest snapshot, e.g. http://ftp.icm.edu.pl/pub/OpenBSD/snapshots/i386/ (or amd64, you didn't specify) -- Michał Markowski
Re: PRIMERGY RX200 S2 installation problems
2012/11/28 Tony Berth tonybe...@googlemail.com: I aslo saw that the bsd.rd kernel was used during the boot process. Meaning that the smp mode is not used? No. http://openbsd.org/faq/faq4.html#bsd.rd -- Michał Markowski
Re: WPA2 AES on OpenBSD
2012/9/18 obsd, wifi obsdw...@postafiok.hu: I have an OpenBSD 5.1 i386 installed. I have no GUI/X. I googled for the answer but I can't find authentic one. How can I connect to a WPA2 PSK/AES wifi network using only the terminal? (so I don't have a network manager to simply select the given SSID, then enter passphare) RTFM: http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfigsektion=8 -- Michał Markowski
Diff: www/faq/faq12.html link fix
Index: www/faq/faq12.html === RCS file: /cvs/www/faq/faq12.html,v retrieving revision 1.105 diff -c -u -r1.105 faq12.html --- www/faq/faq12.html 1 May 2012 14:35:15 - 1.105 +++ www/faq/faq12.html 1 Aug 2012 23:06:42 - @@ -555,7 +555,7 @@ a href=http://www.openbsd.org/cgi-bin/man.cgi?query=wdamp;sektion=4;wd(4)/a driver to avoid this problem. This can be done using a href=faq5.html#BootConfigukc/a to install, then -a href=faq5.htmlconfig(8)/a to change it permanently: +a href=faq5.html#configconfig(8)/a to change it permanently: blockquotepre ukcgt; bchange wd/b -- Michał Markowski
Re: partitioning with more mount points on obsd51
2012/6/26 Darrel levi...@iglou.com: does anyone have some neat ideas about partitions under /var? Are you familiar with FAQ? http://openbsd.org/faq/faq4.html#Partitioning -- Michał Markowski
Re: Hardware/System Question
2012/6/23 Stuart Henderson s...@spacehopper.org: They don't appear to be cheap enough to counteract the fact that performance/spec is probably best described as optimized for running as a terminal service client, looks like something a bit newer like an eee box is only a little more expensive (and comes with a hard drive..) Well, my t5135 cost me about 70 pln (ca. 20 usd), so I don't see Eee box only a little more exspensive. :) It depends on what performance you need, but for home file server it's enough - with external hdd it can easily saturate 100 Mbps link during nfs transfers. -- Michał Markowski
Re: Hardware/System Question
I can recommend this one: http://www.parkytowers.me.uk/thin/hp/t5135/index.shtml Other HP thin clients should be ok as well. -- Michał Markowski