Re: USB ethernet for OpenBSD
obsd...@postafiok.hu (obsd, cgi), 2013.10.02 (Wed) 21:50 (CEST): Can someone please mention a working USB to Ethernet adapter for OpenBSD 5.3? (anybody has a working one and can share the name of it?) It doesn't need to be Gbit big... just a 10/100 would be more then enough.. Digitus DN-10050-1 [1] axe0 at uhub0 port 5 configuration 1 interface 0 ASIX Electronics AX88772A rev 2.00/0.01 addr 2 axe0: AX88772, address 00:22:f7:XX:XX:XX ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI 0x000ec6, model 0x0006 Running 36 days 24/7 without problems. [1] http://www.digitus.info/en/products/network/fast-ethernet-network/network-interface-cards/10100m-network-usb-adapter-dn-10050-1/ !DSPAM:524c7925178091721711741!
just the new queueing subsystem [Was: Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support]
pkesh...@gmail.com (patrick keshishian), 2013.09.19 (Thu) 09:39 (CEST): On Thursday, September 19, 2013, Ted Unangst wrote: On Thu, Sep 19, 2013 at 09:14, Henning Brauer wrote: *ALTQ's replacement.. Does it have a name yet, or are you sticking with; new super duper simple prio queuer? I'm not into marketing. It's just the new queueing subsystem. Or more correctly: the new just queueing subsystem A byword would be handy nonetheless... JTNQ it is, then. searching the archives for JTNQ would yield better results than searching for just the new queueing subsystem, I suppose. pronounced jett'n que? And have all these wet people [1] here asking where to queue up? :-) Other obvious suggestions: HENQ, NEWQ, PQ [1] http://en.wikipedia.org/wiki/Jetski
OT: the term ``hackathon'' - even the U.N. does it
I learned about this via http://www.infosecnews.org/subscribe-to-infosec-news/ Thread 'term hackathon trademarked in Germany': http://marc.info/?l=openbsd-miscm=136766877107167 Bye, Marcus - Forwarded from InfoSec News alerts {at} infosecnews (dot) org Date: Wed, 24 Jul 2013 07:29:07 + (UTC) From: InfoSec News alerts [at] infosecnews (dot) org To: isn (at) lists [dot] infosecnews {dot} org Subject: [ISN] How Would the U.S. Respond to a Nightmare Cyber Attack? http://www.scientificamerican.com/article.cfm?id=how-would-us-respond-nightmare-cyber-attack By Josephine Wolff Scientific American July 23, 2013 It???s been a busy summer for computer security mavens. The U.S. and China locked horns on cyber espionage, Edward Snowden allegedly leaked classified intelligence about National Security Agency (NSA) monitoring programs that target communication networks, and the Cobalt malware took 13 U.S. oil refineries offline. If you missed that last one, that???s because it was fictional -- a scenario created for a student cyber attack challenge held on June 15 at American University in Washington, D.C. The event was a sort of a hybrid Model U.N. hackathon cyber war games exercise, involving 65 college and graduate students (including myself) who are training for careers as future cyber warriors and policy makers. In many ways the Cyber 9/12 Student Challenge mirrors the U.S. government???s own Cyber Storm exercises, with the important exception that the student exercise isn???t mandated by Congress to strengthen cyber preparedness in the public and private sectors. The Cobalt malware -- an invention of the Atlantic Council, which hosted the event - was fake, but its target was a real-life vulnerability: the U.S. energy infrastructure, specifically the oil refineries and pipelines that produce and transport gasoline and other refined fuel products all across the country. Almost any discussion or description of a doomsday cyber scenario involves an attack on U.S. critical infrastructure. You can see this play out in the Cyber Storm exercises hosted every few years by the Department of Homeland Security for government and industry organizations to practice cyber threat responses. In three simulations that took place in 2006, 2008 and 2010, catastrophic cyber attacks caused clear and serious physical damage. A computer virus that turns off the lights, shuts down the telephone system and halts military operations could cost lives. [...] - End forwarded message -
Re: 5.4-beta#20 xterm(1)/luit(1) in cwm, CM-Return random defunc
mhe...@gmail.com (Matthieu Herrb), 2013.07.11 (Thu) 23:41 (CEST): On Wed, Jul 10, 2013 at 01:30:23AM -0700, Philip Guenther wrote: On Wed, Jul 10, 2013 at 1:19 AM, Philip Guenther guent...@gmail.com wrote: Looks like a race in luit's startup, due to how it handles the ttys/ptys. To work around the problem, invoke it with the -p option...but I don't know how you can convince xterm to do that. Ha! I believe this bug is a result of posix_openpt() being implemented in 5.3 and the luit configure script picking that instead of openpty(), as the code for the former results in the client side being opened (by PTMGET), then closed, then reopened by name, which leaves a window where the master will read EOF. Naddy, can you coerce configure into ignoring posix_openpt()? Can you check the patch below ? (sorry it's huge since it regenerates autotools files) I hate being a spoilsport, but... it does not change the random defunc. What I did: 1) cd /usr/xenocara/app/luit 2) patch ~/luit.patch (no errors) 3) ./configure; make; make install (no errors) 4) ~/.Xresources: enable ``XTerm*locale:ISO8859-1'' 5) xrdb -merge ~/.Xresources 6) hit CM-Return 7) get a new xterm or not Bye, Marcus Index: Makefile.in === RCS file: /cvs/xenocara/app/luit/Makefile.in,v retrieving revision 1.6 diff -u -r1.6 Makefile.in --- Makefile.in 10 Feb 2013 15:38:36 - 1.6 +++ Makefile.in 11 Jul 2013 21:40:11 - @@ -252,6 +252,8 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ Index: aclocal.m4 === RCS file: /cvs/xenocara/app/luit/aclocal.m4,v retrieving revision 1.10 diff -u -r1.10 aclocal.m4 --- aclocal.m410 Feb 2013 15:38:36 - 1.10 +++ aclocal.m411 Jul 2013 21:40:13 - @@ -20,6 +20,7 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config.-*- Autoconf -*- +# serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant sc...@netsplit.com. # @@ -46,8 +47,12 @@ # -- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + if test x$ac_cv_env_PKG_CONFIG_set != xset; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi @@ -60,7 +65,6 @@ AC_MSG_RESULT([no]) PKG_CONFIG= fi - fi[]dnl ])# PKG_PROG_PKG_CONFIG @@ -69,34 +73,32 @@ # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an if, you +# have to call PKG_CHECK_EXISTS manually # -- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n $PKG_CONFIG \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors $1]); then - m4_ifval([$2], [$2], [:]) + m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) - # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # - m4_define([_PKG_CONFIG], -[if test -n $PKG_CONFIG; then -if test -n $$1; then -pkg_cv_[]$1=$$1 -else -PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 $3 2/dev/null`], - [pkg_failed=yes]) -fi -else - pkg_failed=untried +[if test -n $$1; then +pkg_cv_[]$1=$$1 + elif test -n $PKG_CONFIG; then +PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 $3 2/dev/null` + test x$? != x0 pkg_failed=yes ], + [pkg_failed=yes]) + else +pkg_failed=untried fi[]dnl ])# _PKG_CONFIG @@ -138,16 +140,17 @@ See the pkg-config man
Re: ACPI support on HP laptop
riccardo.mott...@libero.it (Riccardo Mottola), 2013.07.10 (Wed) 12:55 (CEST): Paul Irofti wrote: On Sun, Jul 07, 2013 at 10:42:57PM +0200, Riccardo Mottola wrote: $ sysctl hw.setperf hw.setperf=99 What's the setperf value when you boot on battery and you have the CPU set at 600MHz? If it less than 100 try and crank it up and see if the frequency changes. If it works try different apm adjustment modes. using the current snapshot kernel, chaning setperf gradually increases CPU: For example, 66 makes it run at 1200Mhz according to apm, setting it to 99 or 100 makes it run at 1600Mhz, which is maximum speed. apm -A doesn't work, because apmd isn't running. I think it means I have it disabled in rc.conf and can't start it manually, right? ./apmd start ./apmd: no start without -f, apmd_flags=NO $ echo 'apmd_flags=' /etc/rc.conf.local or, since you are talking about apm -A: $ echo 'apmd_flags=-A' /etc/rc.conf.local Bye, Marcus
5.4-beta#20 xterm(1)/luit(1) in cwm, CM-Return random defunc
hello folks, when 1) running cwm(1) with having 2) ``XTerm*locale:ISO8859-1'' in ~/.Xresources 3) hitting CM-Return starts xterm(1) after differing amounts of retries (between 1 and 9 up to now). If I disable ``XTerm*locale:ISO8859-1'' in ~/.Xresources the symptoms are gone. Bye, Marcus OpenBSD 5.4-beta (GENERIC.MP) #20: Sun Jul 7 17:36:04 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3194331136 (3046MB) avail mem = 3101630464 (2957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.36 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.01 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL KP4331 serial 278 type LION oem SMP acpibat1 at acpi0: BAT1 not present acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 intel_overlay_map_regs partial stub inteldrm0: 1440x900 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi azalia0: codecs: Sigmatel STAC9205X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: msi pci2 at ppb1 bus 12 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:1f:3c:cc:e5:3c ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: msi pci3 at ppb2 bus 9 bge0 at pci3 dev 0 function 0 Broadcom BCM5755M rev 0x02, BCM5755 A2 (0xa002): apic 2 int 17, address 00:21:70:d9:e5:ab brgphy0 at bge0 phy 1: BCM5755 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: apic 2 int 22 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: apic 2 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf2 pci4 at ppb3 bus 3 cbb0 at pci4 dev 1 function 0 O2 Micro OZ711EZ1 CardBus rev 0x21: apic 2 int 19 O2 Micro Firewire rev 0x02 at pci4 dev 1 function 4 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at
Re: hylafax, sendfax, txtfmt
Hello Peter, there are so many differences in paths that I wonder: did you install from packages? 1) I do not even have a hyla.conf 2) I never touched anything outside /var/spool/hylafax 3) this is on: OpenBSD 5.3-current (GENERIC) #146: Thu Apr 25 16:55:16 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC If you installed from ports/packages possibly take this to ports@. Bye, Marcus p...@thinkage.ca (Peter Fraser), 2013.06.10 (Mon) 19:52 (CEST): I am trying set up HylaFax and for a simple test I ran sendfax -d 5198951860 ~/.profile results in: /usr/local/sbin/textfmt: No font metric information found for Courier-Bold. Usage: /usr/local/sbin/textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-F fontdir(s)] [-m N] [-o #] [-p #] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files... out.ps Default options: -f Courier -1 -p 11bp -o 0 Error converting document; command was /usr/local/sbin/textfmt -B -f Courier-Bold-Ml=0.4in -p 11 -s default '/tmp//sndfaxYXDutu' '/home/pjf/.profile' The error is a result of textfmt failing A simple use of textfmt A simple use of textfmt /local/sbin/textfmt ~/.profile Gives the error Font metrics file not found: .afmFont Courier: /usr/local/share/ghostscript/fonts/fonts.dir/.afm: Can not open font metrics file; using fixed widths. I assume the error is caused by a misconfigured hyla.conf located at /usr/local/libdata/hylafax/etc/hyla.conf which I currently have as FontMap:/usr/local/share/ghostscript/fonts/fonts.alias:/usr/local/share/ghostscript/fonts/fonts.alias-gs FontPath:/usr/local/share/ghostscript/fonts/fonts.dir TextFont:Courier I have tried all sorts of variations in hyla.conf but so far none has worked. Can anyone give me some hints in what to try next. PS Other problems that I have had. These are not resolved but I haven't worked that hard on them yet I first tried with t38modem, compiling it with the 323 Plus Library. Every time I tried to run it, my system locked up and I had to use the reset button. Since the machine I was working on is a car trip away. I didn't try hard to debug the problem. I switched to IAXmodem which doesn't lockup the machine, and I am in the process of trying to Configuring HylaFax. To set up HylaFax you run faxsetup Which gives the following dialog, asking a log of questions I am not sure of the correct answer. Eventually I get stuck at the question This modem looks to have support for Class 1.0 and 1. How should it be configured [1.0]? There seems to be no correct answer. The whole dialog follows. faxsetup Setup program for HylaFAX (tm) 6.0.6. Created for i386-unknown-openbsd5.3 on Tue Feb 26 08:12:39 MST 2013. Reading cached parameters from /var/spool/hylafax/etc/setup.cache. Found base64 encoder: /usr/local/bin/mimencode Found Quoted-Printable encoder: /usr/local/bin/mimencode -q Found mimencode for compatibilty: /usr/local/bin/mimencode Checking system for proper client configuration. Checking system for proper server configuration. Warning: /bin/vgetty does not exist or is not an executable program! The file: /bin/vgetty does not exist or this file is not an executable program. The HylaFAX software optionally uses this program and the fact that it does not exist on the system is not a fatal error. If the program resides in a different location and you do not want to install a symbolic link for /bin/vgetty that points to your program then you must reconfigure and rebuild HylaFAX from source code. Warning: /bin/egetty does not exist or is not an executable program! The file: /bin/egetty does not exist or this file is not an executable program. The HylaFAX software optionally uses this program and the fact that it does not exist on the system is not a fatal error. If the program resides in a different location and you do not want to install a symbolic link for /bin/egetty that points to your program then you must reconfigure and rebuild HylaFAX from source code. Searching for a default font. Generating Fontmap /usr/local/libdata/hylafax/etc/Fontmap.HylaFAX. Searching for a default font. Searching for a default font. Searching for a default font. Found n022003l to use as default font. Setting font configuration in /usr/local/libdata/hylafax/etc/hyla.conf. Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs. Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs. Update /var/spool/hylafax/status/any.info. HylaFAX configuration parameters are: [1] Init script starts faxq:yes [2] Init script starts hfaxdyes [3] Start paging protocol: no Are these ok [yes]? Beware, I am guessing the tty naming conventions for your system. Modem support functions written to
Re: Performance limits with OpenBSD, ToE, offloading, Intel ET2 cards
Hello Andy, a...@brandwatch.com (andy), 2013.05.15 (Wed) 11:29 (CEST): This is my first post here so please forgive me/guide me if I have done anything wrong. I recommend providing dmesg and specific info for those that can comment on the subject. I run 12 OpenBSD firewalls, and I have an issue on my highest throughput boxes. I have HP DL160 G6 boxes with Intel ET2 4 port NIC's. I have a problem where I cannot run traffic any faster than ~700Mbit as I am hitting 100% utilisation on the first core due to the giant big lock trying to process the MSI interrupts. The traffic comprises of lots of small payload packets (currently running around 300,000 to 400,000 pps) and I cannot run any faster. I have tunned the boxes as much as possible using information from not repeating outdated info etc and overall we have been extremely happy with them, expect for the performance limits. mentioning that webpage (cal???.org) will not get you many friends at misc@ Bye, Marcus I understand the devs want to keep the network stack in-house as their are many network cards that simply screw things up, and it is this approach which has given OBSD the stability and security reputation it has. But this approach with the giant big lock limit imposes a hard performance limit for OBSD. But I do also understand that the devs realise this and as a short term solution until the kernel becomes true SMP, they have started to implement ToE and offloading for some NICs :D :) Can you please tell me when ToE support will be added for the Intel series of cards? We are going to have to abandon OBSD if it cannot perform at the throughputs we need but I really want to stay with OBSD? I am not a developer and so cannot contribute myself to any efforts (believe me I would if i could!).. Thanks for your time and a great community. Andy. !DSPAM:519355be279101996811627!
snapshots/amd64/SHA256 x*.tgz checksums missing
Hello, my snapshot upgrade procedure just puked at me because it could not find a checksum for xbase53.tgz. This is on amd64, dmesg at the end. Below is the result of me going through all the archs and looking for x*.tgz checksums in the SHA256 files. I do know that this does not make sense for some archs because some do not even have x*.tgz file sets. alpha yes amd64 no armish yes hp300 no hppa no i386 no landisk yes loongson no luna88k no macppc no mvme68k no mvme88k no octeon yes sgi no socppc no sparc yes sparc64 no vax yes zaurus yes Of course I would like to know whether this is by mistake or an intended change (current.html does not tell anything about it). Bye, Marcus OpenBSD 5.3-current (GENERIC.MP) #106: Thu Apr 25 16:37:24 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3194331136 (3046MB) avail mem = 3101650944 (2957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL KP4331 serial 278 type LION oem SMP acpibat1 at acpi0: BAT1 not present acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 intel_overlay_map_regs partial stub inteldrm0: 1440x900 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi azalia0: codecs: Sigmatel STAC9205X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: msi pci2 at ppb1 bus 12 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:1f:3c:cc:e5:3c ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: msi pci3 at ppb2 bus 9 bge0 at pci3 dev 0 function 0 Broadcom BCM5755M rev 0x02, BCM5755 A2 (0xa002): apic 2 int 17, address 00:21:70:d9:e5:ab brgphy0 at bge0 phy 1: BCM5755 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: apic 2 int 22 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: apic 2 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
Re: snapshots/amd64/SHA256 x*.tgz checksums missing
acam...@verlet.org (Abel Abraham Camarillo Ojeda), 2013.05.06 (Mon) 11:27 (CEST): search archives That's what I call minimalism ;-) I did what you told me to in advance and there's only one hit close enough to care: Alexander Polakov snapshots SHA256 mismatch 2013-05-04 22:00:35 http://marc.info/?l=openbsd-miscm=136770496915566 All other hit's for ``http://marc.info/?l=openbsd-miscw=2r=1s=snapshotq=b'' or ``http://marc.info/?l=openbsd-miscw=2r=1s=sha256q=b'' or ``http://marc.info/?l=openbsd-techw=2r=1s=snapshotq=b'' or ``http://marc.info/?l=openbsd-techw=2r=1s=sha256q=b'' are to old to care. Latest snapshot used by me with alle the checksums in SHA256 was downloaded 2013-04-28: OpenBSD 5.3-current (GENERIC.MP) #106: Thu Apr 25 16:37:24 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Alexander's report talks of wrong checksums, /me of missing checksums. Therefore: A) Maybe you can give me a 2 words pointer? B) Read my original message? Bye, Marcus On Mon, May 6, 2013 at 4:19 AM, MERIGHI Marcus mcmer-open...@tor.at wrote: my snapshot upgrade procedure just puked at me because it could not find a checksum for xbase53.tgz. This is on amd64, dmesg at the end. Below is the result of me going through all the archs and looking for x*.tgz checksums in the SHA256 files. I do know that this does not make sense for some archs because some do not even have x*.tgz file sets. alpha yes amd64 no armish yes hp300 no hppa no i386 no landisk yes loongson no luna88k no macppc no mvme68k no mvme88k no octeon yes sgi no socppc no sparc yes sparc64 no vax yes zaurus yes Of course I would like to know whether this is by mistake or an intended change (current.html does not tell anything about it). Bye, Marcus OpenBSD 5.3-current (GENERIC.MP) #106: Thu Apr 25 16:37:24 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3194331136 (3046MB) avail mem = 3101650944 (2957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL KP4331 serial 278 type LION oem SMP acpibat1 at acpi0: BAT1 not present acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 intel_overlay_map_regs partial stub inteldrm0: 1440x900 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci1
Re: snapshots/amd64/SHA256 x*.tgz checksums missing
richardtoo...@paradise.net.nz (Richard Toohey), 2013.05.06 (Mon) 12:09 (CEST): On 05/06/13 22:04, MERIGHI Marcus wrote: acam...@verlet.org (Abel Abraham Camarillo Ojeda), 2013.05.06 (Mon) 11:27 (CEST): search archives That's what I call minimalism ;-) I did what you told me to in advance and there's only one hit close enough to care: Alexander Polakov snapshots SHA256 mismatch 2013-05-04 22:00:35 http://marc.info/?l=openbsd-miscm=136770496915566 All other hit's for ``http://marc.info/?l=openbsd-miscw=2r=1s=snapshotq=b'' or ``http://marc.info/?l=openbsd-miscw=2r=1s=sha256q=b'' or ``http://marc.info/?l=openbsd-techw=2r=1s=snapshotq=b'' or ``http://marc.info/?l=openbsd-techw=2r=1s=sha256q=b'' are to old to care. Latest snapshot used by me with alle the checksums in SHA256 was downloaded 2013-04-28: OpenBSD 5.3-current (GENERIC.MP) #106: Thu Apr 25 16:37:24 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Alexander's report talks of wrong checksums, /me of missing checksums. Therefore: A) Maybe you can give me a 2 words pointer? B) Read my original message? Did you mean could not find a checksum or that it complained about a SHA256 mismatch? It's the ``there is no x*.tgz line in the SHA256 file'' case which I suppose is what you mean by could not find a checksum. If the mismatch, then Google found me this ... search term openbsd snapshot sha256 mismatch http://openbsd.7691.n7.nabble.com/i386-and-amd64-snapshots-kernel-SHA256-mismatch-td97960.html ... basically the SHA256 is for release, so during snapshot upgrades you will get warnings. It is explained in the link above. Thanks for these pointers but I'am afraid it's a different matter. I've tried ``openbsd snapshot sha256 missing'' and this brings up this thread as first hit already. Other results down to page 2 do not seem to be very promising. I'm starting to wonder whether I've really been that unclear in my initial message. Taking the subject line into account I do not think so! Bye, Marcus P.S.: got your message via list anyways, but thanks! On Mon, May 6, 2013 at 4:19 AM, MERIGHI Marcus mcmer-open...@tor.at wrote: my snapshot upgrade procedure just puked at me because it could not find a checksum for xbase53.tgz. This is on amd64, dmesg at the end. Below is the result of me going through all the archs and looking for x*.tgz checksums in the SHA256 files. I do know that this does not make sense for some archs because some do not even have x*.tgz file sets. alpha yes amd64 no armish yes hp300 no hppa no i386 no landisk yes loongson no luna88k no macppc no mvme68k no mvme88k no octeon yes sgi no socppc no sparc yes sparc64 no vax yes zaurus yes Of course I would like to know whether this is by mistake or an intended change (current.html does not tell anything about it). OpenBSD 5.3-current (GENERIC.MP) #106: Thu Apr 25 16:37:24 MDT 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3194331136 (3046MB) avail mem = 3101650944 (2957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature
Re: Happy Birthday Stu
Happy Birthday, Stuart. Rod: thanks for the hint Others: http://spacehopper.org/wishlist (Though for my amazon.de account it keeps saying ``We're sorry. This item can't be delivered to a Wish List or gift registry address.'' for each current wishlist item. Stuart, go fix it :-) Bye, Marcus chrisbenn...@bennettconstruction.us (Chris Bennett), 2013.04.10 (Wed) 00:13 (CEST): On Tue, Apr 09, 2013 at 02:42:33PM -0700, patrick keshishian wrote: On Tue, Apr 9, 2013 at 1:17 PM, Rod Whitworth glis...@witworx.com wrote: I don't know where I found out your birthday date Stuart, it's the only one of the devs and I never went hunting for any of them. dude. that's a bit creepy :P You have to creep or you'll scare the whole herd away. In any case it's a chance to thank you for being a very productive member of the great team that is OpenBSD and a very polite and helpful friend to many of us. So Happy Birthday from me and I think I speak for many. but happy birthday (in a few hours) Stuart! Yes, Happy Birthday! You've been very helpful to me, thanks Chris
Re: Xwindows Startup without user login
ji...@devio.us (Jiri B), 2013.04.10 (Wed) 14:12 (CEST): On Wed, Apr 10, 2013 at 12:29:37PM +0200, Manuel Giraud wrote: Renaud Allard ren...@allard.it writes: # echo 'su - auser -c /usr/X11R6/bin/startx' /etc/rc.local what about man tty? and reading the archives? http://marc.info/?l=openbsd-miscm=135161914118363 Bye, Marcus
Re: Changing Architecture from amd64 to i386
ch...@nmedia.net (Chris Cappuccio), 2013.02.27 (Wed) 20:57 (CET): Jes [jjje...@gmail.com] wrote: In my experience it's perfectly possible to move from one architecture to another one. I do the following: - backup /etc (only for security) - remove all installed packages (I save a list of installed packages to figure out what to install again after) - sysmerge for etc and xetc - update the system with the new architecture (update, not install) - adjust $PKG_PATH and reinstall packages deinstalled at the beginning, or new ones of your election. No major problems detected. one more step to add: delete old binaries (including previous versions of shared libs) + PostgreSQL dump/restore (that one bit me once when going from i386 to amd64, there are probably others...) Bye, Marcus !DSPAM:512e656f308021576019301!
Re: OpenBSD-Update Tool
Hello Crookedmaze, you are too verbose for me to reply inline; thus: - snapshots stability: I use the latest snapshot for a very short time on my notebook, then on my production machines (same arch of course). Doing this for years and bitten me only twice. Follow current.html, though! Bonus: If you run -current it seems to me you get more attention from the devs. - http://www.tedunangst.com/snapper.html Tried to use it when it was new, did not work for me, whatever that might mean. Bye, Marcus themazed...@gmail.com (Crookedmaze), 2013.02.10 (Sun) 14:33 (CET): On 02/10/2013 02:40 AM, James Griffin wrote: -- Jan Staryh...@stare.cz [2013-02-10 09:08:14 +0100]: On Feb 09 21:11:56, themazed...@gmail.com wrote: On 02/09/2013 08:42 PM, System Administrator wrote: OpenBSD is all about KISS (simplicity) -- have you tried running the bi- annual release update procedure? have you read (carefully) the FAQ section on upgrading? Many users report it takes less than 15 minutes to perform a *remote* upgrade. Also you need to mind that OpenBSD does not support version rollbacks or offer binary updates to stable. So will an additional tool which requires ongoing maintenance and a configuration file setup, really add value (simplicity) ? On 9 Feb 2013 at 20:23, Crookedmaze wrote: Dear OpenBSD Community, Hello I am wondering if there is a tool similar to FreeBSD-update on OpenBSD? If not are there any reasons for why a tool like this hasn't been developed? Also if there isn't a tool like this (I am pretty sure there isn't one as I have checked) if I were to develop one do you think it would be accepted into OpenBSD? Please let me know what you think! Sincerely, Crookedmaze Yes, System Administrator I have had a look at the FAQ the reason I am asking about such a tool is because it seems as if the only way to update OpenBSD (Errata update wise) is to download a patch from the errata page and to manually patch the source code then follow the instructions for applying the patch (Or you could follow stable using CVS). I just thought it would be easier (and Simpler) if you were able to patch the version of OpenBSD you are running by simply typing openbsd-update which would then apply the security update by download and installing a binary package. Just upgrade with a snapshot, like everyone else. It doesn't get much simpler than that. This is absolutely true. I'm fairly new to OpenBSD and have been upgrading using snapshots since November and it takes minutes to complete and couldn't be easier IMO, even for an idiot like me :-). I used FreeBSD for many years but will not go back to it now. This project is superior and whilst I can understand the reasons for your suggestion, it just isn't needed. Thanks for replying guys, I have looked into using snapshots but it looks like the snapshots are based off of current and I had a look at the FAQ and in section 5.1 of the FAQ it says. Between formal releases of OpenBSD, /snapshots/ are made available through the FTP sites http://www.openbsd.org/ftp.html. As the name implies, these are builds of whatever code is in the tree at the instant the builder grabbed a copy of the code for that particular platform. Remember, on some platforms, it may be DAYS before the snapshot build is completed and put out for distribution. There is no promise that the snapshots are completely functional, or even install. This makes me a little nervous and I think I would rather just follow release with errata patches or just follow stable. OK, System Administrator I see what you mean by overhead now, now that I think about it I am starting to see what you mean by undue burdon (why would you add something new if what is being used right now works just fine?) I will have to have a look at marc.info and see what I can find on the topic on binary updates there also. Nick your right I should stop trying to make OpenBSD like FreeBSD or Linux, in all honestly I don't really mind the current update process, really the only actual problem I have had with it is simply that if you had multiple servers running OpenBSD (eg if you had 200 servers why would you build the patch on all 200 of them) but the tool Brian suggested I look at looked promising in that it looks like you could just apply the patch on a single system build a package and have all the other servers install the package. Nick I also agree with you that there is a certain simple elegance about OpenBSD its actually one of my favorite things about OpenBSD in that it is secure by default and the installer for it is great because I can install OpenBSD in about 3 minutes (as opposed to 20-30+ minutes on others) not to mention all the time I would normally have to spend hardening the system post install. With OpenBSD its just a matter of checking the errata page. -Crookedmaze !DSPAM:5117a209295471622935288!
Re: dhcpd not starting
Chris, I guess you've got two problems: A) filtering your clients to get them the right options B) delivering vendor specific options. more inline... obsd_m...@chrissmith.org (Chris Smith), 2013.01.01 (Tue) 18:20 (CET): On Tue, Jan 1, 2013 at 7:59 AM, MERIGHI Marcus mcmer-open...@tor.at wrote: I could not figure out which dhcp option(s) you are referring to. Please specify option number and RFC number. For options with names see: dhcp-options(5) (beeing reworked currently) /usr/src/usr.sbin/dhcpd/tables.c For options without names use e.g. ``option-252'' thereby keeping the created *_ip_tables more Do you mean pf.conf(5) tables here? Or dhcp leases table (/var/db/dhcpd.leases)? up-to-date. Option space is also good for preventing some of the WPAD nonsense and assisting in NetBIOS configurations. Could you be more specific, please? Hopefully this commented section of dhcpd.conf I normally use will help: = #windoze option space windoze; option windoze.nbt code 1 = unsigned integer 32; option windoze.release code 2 = unsigned integer 32; option windoze.metric code 3 = unsigned integer 32; My guess is your are talking about RFC 2132 Section 8.4 ``Vendor Specific Information'' (OpenBSD: vendor-encapsulated-options). http://msdn.microsoft.com/en-us/library/cc227275.aspx an example of how to deliver vendor specific: http://www.bytefusion.com/products/ntm/ptnt/configuring_via_dhcp.htm Thus I think it can be done, never done it myself. # 1 = enable NetBIOS over TCP # 2 = disable NetBIOS over TCP option windoze.nbt 1; I do find some NetBIOS options in RFC 2132, but these have the following option number codes: 44 NetBIOS over TCP/IP Name Server Option (OpenBSD: netbios-name-servers) 45 NetBIOS over TCP/IP Datagram Distribution Server Option (OpenBSD: netbios-dd-server) 46 NetBIOS over TCP/IP Node Type Option (OpenBSD: netbios-node-type) 47 NetBIOS over TCP/IP Scope Option (OpenBSD: netbios-scope) Again I think you are talking about vendor specific... # 1 = send DHCPRELEASE on shutdown option windoze.release 1; RFC 2131, Section 3.1, paragraph 6.: 6. The client may choose to relinquish its lease on a network address by sending a DHCPRELEASE message to the server. The client identifies the lease to be released with its 'client identifier', or 'chaddr' and network address in the DHCPRELEASE message. If the client used a 'client identifier' when it obtained the lease, it MUST use the same 'client identifier' in the DHCPRELEASE message. So, you are asking your windoze machines to do what they are supposed to do anyways? Again I think you are talking about vendor specific... # default route cost metric option windoze.metric 1; Again I think you are talking about vendor specific... #/windoze option wpad-url code 252 = text; option wpad-url \n\000; #option wpad-url http://192.168.99.123/proxy.pac\n;; use ``option autoproxy-script'' for that (and see /usr/src/usr.sbin/dhcpd/tables.c). This one works, at least for me. if substring (option vendor-class-identifier, 0, 8) = MSFT 5.0 { vendor-option-space windoze; option netbios-node-type 8; } No such filtering in base dhcpd(8). = Is any of this available in base dhcpd? Maybe I'm just missing it. I do not think so, dhcpd.conf(5): ``For clients whose addresses will be dynamically assigned, there is currently no way to group parameter assignments other than by network topology.'' As far as I know there's only two ways of filtering clients: - dhcp-client-identifier (dhcp-options(5)) - hardware ethernet (dhcpd.conf(5)) By these you could assign your windoze hosts to a common group declaration and assign your windoze options. Bye, Marcus
Re: dhcpd not starting
obsd_m...@chrissmith.org (Chris Smith), 2013.12.31 (Mon) 16:19 (CET): Maybe it's a problem due to Unbound being a package and not part of the core system, but a normal configuration such as: host hostname.example.com { hardware ethernet 00:1a:80:f4:75:ad; fixed-address hostname.example.com; } has to be rewritten as: host hostname.example.com { hardware ethernet 00:1a:30:64:75:bc; fixed-address 172.38.202.17; } thereby duplicating efforts or dhcpd will not start on reboot since pkg scripts start after everything else and Unbound has not yet been started. Keep hosts(5) and unbound(8) in sync and ``lookup file bind'' in resolv.conf(5). That lets dhcpd(8) resolve your names before net/unbound(8) has come up. $ grep ^include: /var/unbound/etc/unbound.conf.local include: /var/unbound/etc/localzone.hosts.conf $ getent hosts | hoststounbound.sh hosts \ /var/unbound/etc/localzone.hosts.conf $ sudo unbound-control -c /var/unbound/etc/unbound.conf.local reload $ cat hoststounbound.sh # handle with care! #!/bin/sh -e local _zone=${1:-hosts} function _doit { local _zone=${1} local _ip= local _names= local _name= local _word_count= local _word= print server:\n print local-zone: \${_zone}\ transparent\n while read _line; do [[ X${_line} == X#* ]] continue _ip= _names= _word_count=0 for _word in $_line; do if [[ $_word_count -eq 0 ]]; then # first: ip _ip=${_word} elif [[ X${_word} == X#* ]]; then # skip after # in line break else # remains: names and aliases _names=${_names}${_word} fi _word_count=$((_word_count + 1)) done # skip localhost #[[ X${_ip} == X127.0.0.1 || X${_ip} == X::1 ]] continue a=A [[ X${_ip} == X*:* ]] a= for _name in $_names; do print local-data: \${_name} ${a} ${_ip}\ print local-data-ptr: \${_ip} ${_name}\\n done done } _doit ${_zone} Also as nice as it is to have the core dhcpd create pf tables it has otherwise very limited functionality, such as lack of support for option space, which can be used to request a system release it's lease on shutdown I could not figure out which dhcp option(s) you are referring to. Please specify option number and RFC number. For options with names see: dhcp-options(5) (beeing reworked currently) /usr/src/usr.sbin/dhcpd/tables.c For options without names use e.g. ``option-252'' thereby keeping the created *_ip_tables more Do you mean pf.conf(5) tables here? Or dhcp leases table (/var/db/dhcpd.leases)? up-to-date. Option space is also good for preventing some of the WPAD nonsense and assisting in NetBIOS configurations. Could you be more specific, please? Bye, Marcus Using the packaged dhcpd would most likely eliminate the startup issue and provide the missing dhcpd functionality but one would also lose the tight pf integration.
Re: hotplugd(8) and ucom as class 0 generic
just a reminder, in case someone with the necessary skills cares... Bye, Marcus mcmer-open...@tor.at (MERIGHI Marcus), 2012.06.13 (Wed) 14:17 (CEST): hello misc-ers, while reworking my /etc/hotplug/* scripts I noticed, that I get ucom* devices as class 0 = generic: dmesg snip: uftdi1 at uhub6 port 4 ELV AG ELV FHZ 1000 PC rev 1.10/2.00 addr 4 ucom1 at uftdi1 portno 1 syslog snip: hotplugd[10633]: ucom1 attached, class 0 hotplugd[10633]: uftdi1 attached, class 0 (yes, it's in reversed order in hotplugd syslog output) I think ucom1 is a class 5, serial line interface. (I can easily work around this, just thought I'd say a word about it.) bye, Marcus
snapshot: base52.tgz - clamav - Heuristics.Broken.Executable
Hello, just wanted to let you know: -current base52.tgz is recognised by clamav as Heuristics.Broken.Executable. This bit me on a squid-havp installation while downloading snapshots. Bye, Marcus OpenBSD 5.2-current (GENERIC) #5: Wed Dec 12 23:33:03 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) 64 Processor 3500+ (AuthenticAMD 686-class, 512KB L2 cache) 2.22 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,SVM,EAPICSP,AMCR8 real mem = 1055387648 (1006MB) avail mem = 1027170304 (979MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/06, BIOS32 rev. 0 @ 0xf1f40, SMBIOS rev. 2.3 @ 0xf (52 entries) bios0: vendor Phoenix Technologies, LTD version ASUS M2N8L ACPI BIOS Revision 0203 date 06/23/2006 bios0: ASUSTek Computer INC. M2N8L acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices HUB0(S5) USB0(S4) USB2(S4) AZAD(S5) MMAC(S5) MMCI(S5) UAR1(S5) PS2M(S4) PS2K(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xf000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (HUB0) acpicpu0 at acpi0 acpitz0 at acpi0: critical temperature is 75 degC acpibtn0 at acpi0: PWRB aibs0 at acpi0: RTMP RVLT RFAN aibs0: FSIF: misformed package: 3/5, assume 5 bios0: ROM list: 0xc/0xec00 0xd/0x4000! 0xd4000/0x1000 0xd5000/0x1800 pci0 at mainbus0 bus 0: configuration mode 1 (bios) NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6150 rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3 nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3 iic0 at nviic0 adt0 at iic0 addr 0x2e: sch5017 rev 0x8a spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 iic1 at nviic0 NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 2 int 20, version 1.0, legacy support ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: apic 2 int 20 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1 pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD5000AAKB-00H8A0 wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 14 function 0 NVIDIA MCP51 SATA rev 0xa1: DMA pciide1: using apic 2 int 20 for native-PCI interrupt wd1 at pciide1 channel 0 drive 0: SAMSUNG SP0812C wd1: 16-sector PIO, LBA48, 76351MB, 156368016 sectors wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 ppb0 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2 pci1 at ppb0 bus 1 VIA VT6306 FireWire rev 0xc0 at pci1 dev 3 function 0 not configured fxp0 at pci1 dev 9 function 0 Intel 8255x rev 0x0c, i82550: apic 2 int 16, address 00:02:b3:bc:1a:53 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 em0 at pci1 dev 14 function 0 Intel PRO/1000GT (82541GI) rev 0x05: apic 2 int 17, address 00:1b:21:2a:14:ba azalia0 at pci0 dev 16 function 1 NVIDIA MCP51 HD Audio rev 0xa2: apic 2 int 20 azalia0: codecs: Realtek ALC861 audio0 at azalia0 nfe0 at pci0 dev 20 function 0 NVIDIA MCP51 LAN rev 0xa3: apic 2 int 20, address 00:17:31:92:e0:1e nfe0: no PHY found! pchb0 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00 pchb1 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00 pchb2 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00 kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00: core rev DH-F2 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 pcppi0 at isa0 port
Re: floppy attached as sd with notebook bay, fdformat(1) [SOLVED]
Hello Bryan, clue bat applied, thanks! bry...@gmail.com (Brynet), 2012.12.06 (Thu) 16:24 (CET): On Thu, Dec 06, 2012 at 02:02:09PM +0100, MERIGHI Marcus wrote: umass0 at uhub7 port 1 configuration 1 interface 0 Sony USB Floppy Drive rev 1.10/6.01 addr 3 umass0: using UFI over CBI with CCI scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: SONY, USB-FDU, 6.01 ATAPI 0/direct removable USB floppy drives are pretty much the only option for newer systems, although ATAPI LS-120 drives are still out there. What's the problem? My problem is identified by the string 'I failed'. I am just puzzled that newfs-ing a floppy differs from newfs-ing anything else. Bear with me! Newfs-ing the ``c'' slice is something I haven't had to do before. I naturally thought I had to create the slice in advance. I had a second look at newfs_msdos(8) and found a hint in section EXAPMLES that uses fd0c. It's not too verbose but it's there. After being puzzled I just tried an existing floppy, disklabel shows a /dev/sd0i slice, mounting worked. It's DOS formatted disk, 'i' is part of the pseudo-disklabel. But trying to make use of an unformatted floppy I failed: Did the usual ``fdisk -i sd0'', ``disklabel -E sd0'', created ``i'' slice. After ``newfs_msdos /dev/rsd0i'' (which returned darn fast but without obvious error output) the ``i'' slice vanished from disklabel. Unsurprisingly mounting a non existing /dev/sd0i slice failed. You're attempting to put an MBR and disklabel on a floppy, don't do that if you're going to newfs_msdos. newfs_msdos -F 12 /dev/rsd0c This does the trick! Thanks! Verbose steps below: $ dd if=/dev/zero of=/dev/sd1c $ fdisk sd1 Disk: sd1 geometry: 1/1/2880 [2880 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused $ disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: USB-FDU duid: flags: bytes/sector: 512 sectors/track: 2880 tracks/cylinder: 1 sectors/cylinder: 2880 cylinders: 1 total sectors: 2880 boundstart: 0 boundend: 2880 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 28800 unused $ newfs_msdos -F 12 /dev/rsd1c /dev/rsd1c: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=63 hds=45 hid=0 $ fdisk sd1 Disk: sd1 geometry: 1/1/2880 [2880 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused $ disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: USB-FDU duid: flags: bytes/sector: 512 sectors/track: 2880 tracks/cylinder: 1 sectors/cylinder: 2880 cylinders: 1 total sectors: 2880 boundstart: 0 boundend: 2880 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 28800 unused i: 28800 MSDOS $ mount /dev/sd1i /mnt/ $ touch /mnt/fifi $ ls -la /mnt/ total 36 drwxr-xr-x 1 root wheel 16384 Jan 1 1980 . drwxr-xr-x 14 root wheel 1024 Nov 30 13:36 .. -rwxr-xr-x 1 root wheel 0 Dec 11 11:31 fifi Bye, Marcus fdformat(1) just says ``this is not a floppy''. fdformat(1) uses ioctl(4)'s specific to fdc(4), that will not work for floppy controllers behind USB. You can always just.. dd if=/dev/zero of=/dev/rfd0c bs=64k What options do I have? What am I getting wrong? Clue bat welcome! !DSPAM:50c0b8fe98881608215037!
Re: Terminal emulators can't read .profile
f...@zhou.es (Feng Zhou), 2012.12.10 (Mon) 12:02 (CET): I was trying out st and urxvt as a replacement for xterm, and it turned out that all the settings I put in ~/.profile are not recognised when I use either st or urxvt. Is this a bug or an expected behaviour that I need to do something about to use other terminals? The shell was not changed, it was the default ksh. At first I thought it was a problem of st, but it happened to urxvt too. So I thought it's best to ask here. Any help is much appreciated. I am guessing here, but from the times I used rxvt there's still: Rxvt*loginShell: TRUE in my .Xdefaults. Bye, Marcus !DSPAM:50c5c16d184522009013524!
floppy attached as sd with notebook bay, fdformat(1)
Hello people, I found a dell 'floppy drive module' (3.5) for my hw.vendor=Dell Inc. hw.product=Latitude D630 hw.serialno=6P8454J When inserted (before boot) it shows up as (full dmesg below): umass0 at uhub7 port 1 configuration 1 interface 0 Sony USB Floppy Drive rev 1.10/6.01 addr 3 umass0: using UFI over CBI with CCI scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: SONY, USB-FDU, 6.01 ATAPI 0/direct removable After being puzzled I just tried an existing floppy, disklabel shows a /dev/sd0i slice, mounting worked. But trying to make use of an unformatted floppy I failed: Did the usual ``fdisk -i sd0'', ``disklabel -E sd0'', created ``i'' slice. After ``newfs_msdos /dev/rsd0i'' (which returned darn fast but without obvious error output) the ``i'' slice vanished from disklabel. Unsurprisingly mounting a non existing /dev/sd0i slice failed. fdformat(1) just says ``this is not a floppy''. This is not one of my top priorities, and I am writing this report from memory (apart from dmesg :-). If needed I'll sure reboot with the module attached, re-do the tests and provide full output of commands. What options do I have? What am I getting wrong? Clue bat welcome! Bye, Marcus OpenBSD 5.2-current (GENERIC.MP) #121: Mon Nov 19 11:44:32 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3210059776 (3061MB) avail mem = 3102187520 (2958MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.35 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL KP4331 serial 278 type LION oem SMP acpibat1 at acpi0: BAT1 not present acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi azalia0: codecs: Sigmatel STAC9205X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: msi pci2 at ppb1 bus 12 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:1f:3c:cc:e5:3c ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: msi pci3 at ppb2 bus 9 bge0 at pci3 dev 0 function 0 Broadcom
Re: USB-to-Serial adapter on OpenBSD 4.9
mlnos...@yahoo.com (ML mail), 2012.11.06 (Tue) 13:22 (CET): On my OpenBSD 4.9 i386 PC there is no serial port so I bought a USB-to-Serial adapter in the hope to be able to use it but I can't figure out which device in /dev to use for that. When I connect the adapter I have the following dmesg entries: uplcom0 at uhub2 port 1 Prolific Technology Inc. USB-Serial Controller D rev 1.10/3.00 addr 2 ucom0 at uplcom0 So I guess the serial device I should use is ucom0 but there is no /dev/ucom0... ucom(4), sectioon FILES: /dev/ttyU?, in your case probably /dev/ttyU0.
Re: Upgrade to 5.2?
russ...@dotplan.dyndns.org (russell), 2012.11.01 (Thu) 21:59 (CET): On 11/01/2012 07:04 AM, Kurt Mosiejczuk wrote: Otto Moerbeek wrote: untarring the sets and copying the kernel by hand is not recommended. I used the perfect phrase for this in a presentation on PF a week ago: You wouldn't ever do this... unless maybe you hate yourself. --Kurt Err, I do this all the time. yeah, I hate myself, too. For years already... But my script stops and asks aloud: HAVE YOU READ CURRENT.HTML LATELY? Bye, Marcus
Re: ttyC5, keyboard doesn't work
Hello Wesley, note: ``autologin'' is a regular user in my case. I never saw the X.org errors you mention. To make sure I keep pasting my configs of the next steps: $ cat .xinitrc /usr/X11R6/bin/xset m 4/1 4 /usr/X11R6/bin/xset -dpms /usr/X11R6/bin/xset s off /usr/X11R6/bin/xsetroot -solid black /usr/X11R6/bin/fvwm || /usr/X11R6/bin/xterm $ cat .fvwmrc AddToFunc InitFunction + I Module FvwmButtons AutologinButtons + I AutologinRunRdp AddToFunc RestartFunction + I Module FvwmButtons AutologinButtons + I AutologinRunRdp # DeskTopSize 1x2 EdgeResistance 500 20 EdgeScroll 100 100 EdgeThickness 1 ClickTime 750 SnapAttraction 5 All SnapGrid 5 5 ColormapFocus FollowsFocus GlobalOpts SmartPlacementIsReallySmart, ClickToFocusDoesntPassClick, ClickToFocusRaises, MouseFocusClickRaises, CaptureHo norsStartsOnPage, RecaptureIgnoresStartsOnPage, ActivePlacementHonorsStartsOnPage # Style * BorderWidth 0 Style * HandleWidth 0 # Style AutologinButtonsIcon toolbox.xpm, ClickToFocus, NoTitle, Sticky, WindowListSkip *AutologinButtonsColumns 1 *AutologinButtonsRows * *AutologinButtonsBack rgb:20/20/20 *AutologinButtonsFore white *AutologinButtonsBoxSize smart *AutologinButtonsFrame 1 *AutologinButtonsPadding 1 2 *AutologinButtonsFont -*-*-*-*-*-*-20-*-*-*-*-*-*-* # Key a A SCM AutologinRunRdp *AutologinButtons(Title Verbindung herstellen (strg+alt+shift+a), Size 500 50, Action AutologinRunRdp) # Key s A SCM AutologinRunKillRdp *AutologinButtons(Title Alle Verbindungen Trennen (strg+alt+shift+s), Size 500 50, Action AutologinRunKillRdp) # Key q A SCM AutologinRunShutdown *AutologinButtons(Title Herunterfahren(strg+alt+shift+q), Size 500 50, Action AutologinRunShutdown) # Key w A SCM AutologinRunReboot *AutologinButtons(Title Neustart (strg+alt+shift+w), Size 500 50, Action AutologinRunReboot) # Key t A SCM AutologinRunTerm *AutologinButtons(Title Terminal (strg+alt+shift+t), Size 500 50, Action AutologinRunTerm) AddToFunc AutologinRunRdp + I Exec exec /usr/local/bin/rdesktop -g workarea -D -K -u -k de rdp #+ I Exec exec /usr/local/bin/rdesktop -g workarea -D -K -u -k de -z -x m rdp AddToFunc AutologinRunKillRdp + I Exec exec /usr/bin/pkill rdesktop AddToFunc AutologinRunShutdown + I Exec exec sudo /sbin/shutdown -hp now AddToFunc AutologinRunReboot + I Exec exec sudo /sbin/reboot AddToFunc AutologinRunTerm + I Exec exec xterm Bye, Marcus open...@e-solutions.re (Wesley), 2012.10.31 (Wed) 08:56 (CET): Le 2012-10-30 12:24, MERIGHI Marcus a écrit : $ grep ttyC1 /etc/ttys ttyC1 /usr/local/sbin/autologin.getty vt220 on secure $ cat /usr/local/sbin/autologin.getty #!/bin/sh -e TERM=vt220 /usr/local/sbin/autologin /dev/$1 /dev/$1 $ cat /usr/local/sbin/autologin #!/bin/sh -e echo running autologin... exec su -l autologin $ cat /home/autologin/.profile /usr/X11R6/bin/startx Hi, Thank you very much, now keyboard works, therefore, in each xterm i have the following errors : xauth: file /home/stac/.serverauth.457 does not exist xauth: (stdin):1: bad display name accueil:0 in add command Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Please consult the The X.Org Foundation support at http://wiki.x.org for help. XIO: fatal IO error 35 (Resource temporarily unavailable) on X server :0 after 7 requests (7 known processed) with 0 events remaining When start fwvm, it is possible to disable xterm at startup ? Again, thank you very much for your precious help! Cheers, Wesley !DSPAM:5090d9d1142819426116008!
Re: ttyC5, keyboard doesn't work
Hello Wesley, see below... open...@e-solutions.re (Wesley), 2012.10.31 (Wed) 14:06 (CET): I'm sorry, but i did all you write. Now when i turn on my OpenBSD Box, i have a pretty GUI, but when i run 'Terminal', i get these errors : ++ xauth: file /home/stac/.serverauth.22692 does not exist Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Please consult the The X.Org Foundation support at http://wiki.x.org for help. XIO: fatal IO error 35 (Resource temporarily unavailable) on X server :0 after 7 requests (7 known processed) with 0 events remaining. ++ I have a user : stac, member of wheel group my 'ttyC1' from the file /etc/ttys : ttyC1 /usr/local/sbin/autologin.getty vt220 on secure $ userinfo stac login stac passwd * uid 1001 groups users wheel change NEVER class gecos dir /home/stac shell /bin/ksh expire NEVER $ cat /usr/local/sbin/autologin #!/bin/sh -e echo running autologin... exec su -l stac $ cat /usr/local/sbin/autologin.getty #!/bin/sh -e TERM=vt220 /usr/local/sbin/autologin /dev/$1 /dev/$1 $ cat /etc/rc.conf.local ntpd_flags= # enabled during install #xdm_flags= $ ls -la total 12384 drwxr-xr-x 4 stac users 512 Oct 31 17:01 . drwxr-xr-x 3 root wheel 512 Oct 11 16:55 .. -rw--- 1 stac users 163 Oct 31 16:56 .Xauthority -rw-r--r-- 1 stac users 62 Oct 12 11:56 .Xdefaults -rw--- 1 stac users 16 Oct 31 11:58 .aucat_cookie -rw-r--r-- 1 stac users 773 Feb 12 2012 .cshrc -rw-r--r-- 1 stac users 2146 Oct 31 16:50 .fvwmrc -rw-r--r-- 1 stac users 398 Feb 12 2012 .login -rw-r--r-- 1 stac users 113 Feb 12 2012 .mailrc drwx-- 4 stac users 512 Oct 12 09:56 .mozilla -rw-r--r-- 1 stac users 240 Oct 31 12:28 .profile -rw--- 1 stac users 52 Oct 31 16:56 .serverauth.12948 drwx-- 2 stac users 512 Oct 12 12:00 .ssh -rw-r--r-- 1 stac users 167 Oct 31 16:48 .xinitrc -rw--- 1 stac users0 Oct 31 11:06 .xsession-errors -rw--- 1 stac users 6290352 Oct 15 08:55 firefox.core $ cat .Xdefaults XTerm*loginShell:true I suppose xterm is parsing the .profile and thus starting another instance of X.org server and giving you these fine errors. I would try in .Xdefaults XTerm*loginShell:false OR you could do the following in .profile: pgrep -f -x /usr/X11R6/bin/X .* || /usr/X11R6/bin/xinit Bye, Marcus Any idea ? Therefore, i like a lot what you did with fvwm! It is pretty cool ! ;-) Cheers, Wesley Le 2012-10-31 13:22, MERIGHI Marcus a écrit : Hello Wesley, note: ``autologin'' is a regular user in my case. I never saw the X.org errors you mention. !DSPAM:5091228654151846291855!
Re: ttyC5, keyboard doesn't work
works for me (tm): $ grep ttyC1 /etc/ttys ttyC1 /usr/local/sbin/autologin.getty vt220 on secure $ cat /usr/local/sbin/autologin.getty #!/bin/sh -e TERM=vt220 /usr/local/sbin/autologin /dev/$1 /dev/$1 $ cat /usr/local/sbin/autologin #!/bin/sh -e echo running autologin... exec su -l autologin $ cat /home/autologin/.profile /usr/X11R6/bin/startx used to run rdesktop in fvwm(1) Bye, Marcus open...@e-solutions.re (Wesley), 2012.10.30 (Tue) 07:30 (CET): Le 2012-10-29 19:57, David Coppa a écrit : I suspect a sleep is required. See: http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/x11/slim/pkg/slim.rc?rev=1.3;content-type=text%2Fplain I don't use 'xdm', and 'slim' is not installed. I just have this in my /etc/ttys : ttyC5 /usr/bin/su - thin -c /usr/X11R6/bin/xinit xterm on secure Any idea ? Thank you very much. Cheers, -- Wesley !DSPAM:508f744f41541879064755!
cwm(1) and java X gui apps (geo/josm) - keyboard shortcuts ignored
hello folks, I have a problem with geo/josm keyboard shortcuts under cwm(1). fvwm(1) does not show this problem. other apps (e.g. graphics/qiv) do not show the problem under cwm(1). Therefore it appears to me it's a combination of java X gui apps and cwm(1) that eats the keyboard shortcuts. symptoms: keyboard shortcuts (ctrl+q, ctrl+o, ...) have no effect. Some simple keystrokes behave equally bad: opening a menu with the mouse, navigating up/down with the up/down keys does not work. normal text input in dialogs works. wanted: clue sticks, help on debugging. note: before you say: hey, you are using a X gui app, so darn use your mouse please note that josm is close to unusable without keyboard shortcuts. jxplorer and projectlibre (as other java X gui apps) do not seem to use keyboard shortcuts at all or I could not find them. Thus I could not test whether they behave differently. Thanks for your time, Marcus
OT: windows modem logging [Was: Re: ZTE USB MF636]
Hello, only read on if you want some ms win hints. simplersolut...@gmail.com (Aaron Mason), 2012.10.15 (Mon) 21:22 (CEST): On Mon, Oct 15, 2012 at 5:55 PM, David Coppa dco...@gmail.com wrote: On Mon, Oct 15, 2012 at 7:26 AM, Aaron Mason simplersolut...@gmail.com wrote: On Mon, Oct 15, 2012 at 2:35 PM, Aaron Mason simplersolut...@gmail.com wrote: On Sun, Oct 14, 2012 at 4:12 AM, Mihai Popescu mih...@gmail.com wrote: Maybe you should post the entire conf file here and what you did, for the posterity ... I would, but I wasn't able to figure out how to disable the PIN using AT commands, so I plugged it into a Winders machine and did it that way. If I figure it out I'll post it here. Got it: # echo AT+CPIN= /dev/cuaU2 (then wait 10 seconds before connecting) Only thing is I can't get the thing to connect afterwards. If I try a SIM that doesn't need a PIN, it connects first go. Any cluesticks? I usually put the sim in a cellphone and disable the pin request entirely... Yeah that works fine, but I'd rather not have to do that if keeping the PIN is the preferred option. Might just install a USB snooper on a Winders machine and see what magic the Telstra utility does (no option for logging - grr). because the question of how to make windows log modem commands is coming up every once in a while: under ms win xp this works as administrator: get a 'shell': cmd.exe run control.exe telephon.cpl (or access via system settings) go to tab modems choose properties for your modem go to tab diagnose activate logging at bottom of tab sometimes this is tricky because the vendor software makes modems pop up and vanish as they please. http://marc.info/?l=openbsd-miscm=130138400017081 http://marc.info/?l=openbsd-miscm=129104388909427 Bye, Marcus
Re: pfsense and or OpenBSD Home router.
shakaplus.d...@gmail.com (Shaka Nkofo), 2012.09.11 (Tue) 11:38 (CEST): http://store.netgate.com/Desktop-Kits-C82.aspx I found this shop while looking for parts to build a home router. Has anyone been through this and can give me links to cheap parts within Europe? http://www.pcengines.ch/ (manufacturer, watch out, when it comes to taxation and customs .ch is not part of .eu) Any advise on the pitfalls of this process is welcome - some of the alixes do not have a RTC - none of the alixes have a power switch (unless you fiddle with gpio) Bye, Marcus
disklabel(5) survives re-partitioning and re-formating under windows
Hello, I did a complete deletion of all partitions of an external usb hd by means of diskmgmt.msc under windows, followed by partitioning and formating to msdos fat32 with kind help of acronis true image since windows xp does not do such things natively. Very unexpectedly (to me) under OpenBSD the fdisk output (see below) reflects the new layout, but disklabel output (see below) shows the old partition size. Apart from me wondering how the disklabel(5) could survive all the messing about under windows, my question is: is ``disklabel -d'' the way to go? -d Use the default label. This ignores any existing OpenBSD disk label on the disk. Of course I could just try it, but copying 500GB takes quite a while... Thanks in advance, Marcus Disk: sd1 geometry: 91201/255/63 [1465149168 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- *0: 0C 0 32 33 - 91201 52 51 [2048: 1465145344 ] Win95 FAT32L 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused # /dev/rsd1c: type: SCSI disk: SCSI disk label: holmer-medien-01 duid: 94f3e0ef639263f9 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 91201 total sectors: 1465149168 boundstart: 0 boundend: 1465149168 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 14651491680 unused i: 1048576000 2048 MSDOS #
Re: disklabel(5) survives re-partitioning and re-formating under windows
Hello Jan, thanks for your time and sorry for partly wasting it. h...@stare.cz (Jan Stary), 2012.09.11 (Tue) 14:27 (CEST): On Sep 11 12:48:40, MERIGHI Marcus wrote: Hello, I did a complete deletion of all partitions of an external usb hd by means of diskmgmt.msc under windows, followed by partitioning and formating to msdos fat32 with kind help of acronis true image since windows xp does not do such things natively. Very unexpectedly (to me) under OpenBSD the fdisk output (see below) reflects the new layout, but disklabel output (see below) shows the old partition size. What old size? sorry, I did not provide full history and context: 1) the disk was in use before, partitioned 500GB/200GB msdos/ffs. 2) to have a duid, a ran disklabel on it. (that's the disklabel I was suprised to find after the following steps, the duid was still the same) 3) found I needed 700GB msdos 4) backed up data on another disk 5) repartioning and reformating as described in my initial message 6) restore backed up data, 200GB remained free. You repartitioned the disk under windows. So now it has no real BSD label. What does The other way 'round, it does have one, to my surprise. disklabel do with such disks? The sensible thing: Note that when a disk has no real BSD disklabel, the kernel creates a default label so that the disk can be used. This default label will Do you really think I did not read that, though I was referring to disklabel(5) even in the subject line? And that's exactly what happened: Disk: sd1 geometry: 91201/255/63 [1465149168 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- *0: 0C 0 32 33 - 91201 52 51 [2048: 1465145344 ] Win95 FAT32L 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused disklabel recognized the fdisk DOS partition Correctly, the full 700GB of that disk. and created a default disklabel for that: Wrong. # /dev/rsd1c: type: SCSI disk: SCSI disk label: holmer-medien-01 duid: 94f3e0ef639263f9 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 91201 total sectors: 1465149168 boundstart: 0 boundend: 1465149168 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 14651491680 unused i: 1048576000 2048 MSDOS # If you were right, ``i'' would be the full size, as in the fdisk output, not just 500GB. Meanwhile I've tested ``D'' in disklabel editor; after that the correct size is reported. Did not dare to save the disklabel, though. Still hoping for a go ahead, that's the right thing to do. And an explanation of how the disklabel could survive, but that's optional :-) Thanks and good night, Marcus !DSPAM:504f2f5b153932021786788!
Re: Question about redirecting to a multiple log files from pflogd
carlopm...@gmail.com (C. L. Martinez), 2012.08.15 (Wed) 20:20 (CEST): On Tue, Aug 14, 2012 at 10:00 AM, C. L. Martinez carlopm...@gmail.com wrote: Hi all, I have some rules that I would like to redirect in syslog format to a log file. I don't need to touch /var/log/pflog. To accomplish this I have tried to start pflogd daemon with the following options: -s 256 -i pflog0 -f /var/log/pflog -i pflog1 -f /tmp/test.log ... but it doesn't works. After, I have tried to start another pflogd instance with -s 256 -i pflog1 -f /tmp/test.log: 25317 ?? S 0:49.58 pflogd: [running] -s 256 -i pflog1 -f /tmp/test.log (pflogd) 13851 ?? Ss 0:00.23 ntpd: ntp engine (ntpd) 16445 ?? Is 0:00.03 ntpd: dns engine (ntpd) 11227 ?? Ss 0:00.02 ntpd: [priv] (ntpd) 21752 ?? Is 0:00.05 /usr/sbin/sshd 14014 ?? Ss 0:00.30 sendmail: accepting connections (sendmail) 14724 ?? Is 0:00.01 /usr/sbin/ftp-proxy 14277 ?? Ss 0:00.04 /usr/sbin/cron 11070 ?? Ss 0:35.46 sshd: root@ttyp0 (sshd) 18112 ?? Is 0:00.01 pflogd: [priv] (pflogd) 14997 ?? S 0:01.08 pflogd: [running] -s 256 -i pflog0 -f /var/log/pflog (pflogd) .. but it doesn't works. /var/log/pflog doesn't register activitvy (pflog0 and pflog1 interfaces are up) At this stage, I only to need to try if this approach works using tcpdump file format in both log files ... Is it possible to use several pflogX interfaces an redirect all logs to several log files?? I am using OpenBSD 5.1 Thanks. Please, any tip?? I'm not completely sure I understand what you want: is your log file supposed to contain tcpdump(8) binary format or the format resulting from tcpdump -r file or tcpdump -i pflogX? anyway, I use the following to get tcpdump -i pflogX to syslog: #!/bin/sh -e ifconfig pflog0 /dev/null 21 || sudo ifconfig pflog0 create up logger -p local1.notice -t pflog | logger_pid=${!} exec 5p 6p exec 16 exec /usr/sbin/tcpdump -qtvneli pflog0 21 bye, Marcus !DSPAM:502be9f9135391644713982!
current.html and smtpd queue layout change
Hello folks, the commit message for usr.sbin/smtpd/queue_fsqueue.c 1.44 - 1.45 by gilles@ says: this diff introduces a change to the queue layout, you will want to empty your queue before updating. more cleanup to come. I think this is worth mentioning in current.html, patch below. Bye, Marcus Index: www/faq/current.html === RCS file: /cvs/www/faq/current.html,v retrieving revision 1.327 diff -u -r1.327 current.html --- www/faq/current.html9 Jul 2012 21:47:14 - 1.327 +++ www/faq/current.html14 Jul 2012 10:28:15 - @@ -40,6 +40,7 @@ lia href=#20120607b2012/06/07 - [ports] xxxterm renamed to xombrero/a lia href=#201206082012/06/08 - [ports] dovecot update/a lia href=#201206232012/06/23 - nginx.conf default SSL file locations changed/a +lia href=#201207092012/07/09 - smtpd queue layout changed/a !-- New additions go on the bottom, please -- /ul @@ -223,6 +224,12 @@ respectively to match the a href=http://www.openbsd.org/cgi-bin/man.cgi?query=sslsektion=8;ssl(8)/a man page. + +p +a name=20120709/a +h32012/07/09 - smtpd queue layout changed/h3 +A change to the queue layout was introduced, you will want to empty +your queue before updating. p
Re: gimp 2.8 on OpeBSD -current
Hello, I'm pretty sure the problem is on my end but I'm running out of ideas on how to get gimp to work with jpegs again. Any pointers welcome. Details below. pkesh...@gmail.com (patrick keshishian), 2012.07.05 (Thu) 23:36 (CEST): On Tue, Jul 3, 2012 at 2:35 PM, Fred Crowson fred.crow...@gmail.com wrote: I'm getting the following errors when running gimp-2.8.0p0 on OpenBSD -current (Jun 28 i386 snapshot): x41:fred ~ gimp reading.jpg /usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault This issue is only with opening jpeg files - I can create new files and export them to jpeg or png or save the as .xcf files fine. First quit gimp, then: $ rm -rf ~/.gimp-2.8/ s...@spacehopper.org (Stuart Henderson), 2012.07.04 (Wed) 01:54 (CEST): On 2012-07-03, Fred Crowson fred.crow...@gmail.com wrote: Make sure everything is up to date: userland, kernel, all packages both hints were not enough on my very dirty (as in: updating not reinstalling for years) notebook: snapshot as current as it gets: OpenBSD 5.2-beta (GENERIC) #252: Sun Jul 1 23:23:31 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC followed by a: $ env LC_ALL=C PKG_CACHE=/usr/packages pkg_add -v -v -u -i -D \ update -D updatedepends and a: $ rm -rf ~/.gimp-* did not solve the problem; thus I went for a: $ pkg_delete gimp and followed pkg_delete's hints: $ rm -rf /etc/gimp/2.0/ $ rm -rf /usr/local/share/gtk-doc/html/libgimp* $ rm -rf /usr/local/share/gimp/ $ rm -rf /usr/local/lib/gimp/ $ rm -rf /usr/local/include/gimp-* and installed gimp again: $ sudo env LC_ALL=C PKG_CACHE=/usr/packages pkg_add gimp and, just to make sure: $ rm -rf ~/.gimp-* But the problem's still there: $ gimp some.jpg /usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault (gimp:4657): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error I have found a way to open jpegs: remove all exif data with: $ exiftool -exif:all= some.jpg But updating libexif did not help. Though I have run ``pkg_add -v -v -u -i -D update -D updatedepends'', ports/infrastructure/bin/out-of-date gives quite a list (see end of message). I've updated ports in advance: env CVSROOT=anon...@mirror.osn.de:/cvs cvs -q \ -danon...@mirror.osn.de:/cvs update -Pd ports I'm at my wits end. Thanks in advance for any hints, Marcus audio/mpd # @glib2-2.32.3 - @glib2-2.32.3p0 audio/ncmpc# @glib2-2.32.3 - @glib2-2.32.3p0 audio/pms # @glib2-2.32.3 - @glib2-2.32.3p0 audio/sonata # 1.6.2.1p12 - 1.6.2.1p13 databases/sqlports,-compact# 2.3 - 2.3p0 databases/sqlports,-main # 2.3 - 2.3p0 devel/atk # @glib2-2.32.3 - @glib2-2.32.3p0 devel/dconf,-main # @dbus-1.4.20v0,@glib2-2.32.3,dbus-1.9.1 - @dbus-1.6.2p0v0,@glib2-2.32.3p0,dbus-1.10.2 devel/desktop-file-utils # @glib2-2.32.3 - @glib2-2.32.3p0 devel/gconf2,-main # @dbus-glib-0.98v0,dbus-1.9.1 - @dbus-glib-0.100v0,dbus-1.10.2 devel/glib2,-main # 2.32.3 - 2.32.3p0 devel/glib2mm # @glib2-2.32.3 - @glib2-2.32.3p0 devel/gsettings-desktop-schemas # 3.4.2 - 3.4.2p0 devel/libsoup,-gnome # @glib2-2.32.3,dbus-1.9.1 - @glib2-2.32.3p0,dbus-1.10.2 devel/libsoup,-main# @glib2-2.32.3 - @glib2-2.32.3p0 devel/libusb-compat# @libusb1-1.0.9p1 - @libusb1-1.0.9p3 devel/libusb1 # 1.0.9p1 - 1.0.9p3 devel/pango# @glib2-2.32.3 - @glib2-2.32.3p0 devel/py-gobject # @glib2-2.32.3 - @glib2-2.32.3p0 devel/quirks # always-update - quirks-1.73 editors/ldapvi # @glib2-2.32.3 - @glib2-2.32.3p0 editors/libreoffice,-main # @icu4c-49.1.2p0 - @icu4c-49.1.2p1 emulators/qemu # 1.1.0 - 1.1.0p0 geo/geoclue# @dbus-glib-0.98v0,dbus-1.9.1 - @dbus-glib-0.100v0,dbus-1.10.2 geo/openbsd-developers # 1.0p80 - 1.0p81 geo/tangogps # dbus-1.9.1 - dbus-1.10.2 graphics/ImageMagick # @djvulibre-3.5.24p4,djvulibre.24.0 - @djvulibre-3.5.25.3,djvulibre.25.0 graphics/cairo # @glib2-2.32.3 - @glib2-2.32.3p0 graphics/djvulibre # 3.5.24p4 - 3.5.25.3 graphics/gdk-pixbuf2 # @glib2-2.32.3 - @glib2-2.32.3p0 graphics/gimp/stable # @dbus-glib-0.98v0,dbus-1.9.1 - @dbus-glib-0.100v0,dbus-1.10.2 graphics/liblqr# @glib2-2.32.3 - @glib2-2.32.3p0 graphics/mapnik# @icu4c-49.1.2p0 - @icu4c-49.1.2p1 mail/clamsmtp # @clamav-0.97.5 - @clamav-0.97.5p0 misc/shared-mime-info # @glib2-2.32.3 - @glib2-2.32.3p0 multimedia/gstreamer-0.10/core # @glib2-2.32.3 - @glib2-2.32.3p0 multimedia/gstreamer-0.10/plugins-bad,-main # @glib2-2.32.3 - @glib2-2.32.3p0 multimedia/gstreamer-0.10/plugins-good,-main # dbus-1.9.1 - dbus-1.10.2
Re: Something other than getty/login on console?
Hello David, da...@elven.com.au (David Diggles), 2012.06.25 (Mon) 07:10 (CEST): Thanks Marcus! I have been sidetracked with a few things, but will give this technique a try soon. please do not think I invented that wheel! See misc archives instead... I take it dostuff.sh is where I could put something like yes. #!/bin/sh I recommend the use of ``#!/bin/sh -e'', see ksh(1). while [ ! ]; do I use ``while :; do'' in such cases; BUT: please read init(8), it will respawn your process anyways; read DIAGNOSTICS section carefully, especially the ``getty repeating too quickly'' part. Bye, Marcus /usr/local/bin/ttyplay kickassci.demo done On Fri, Jun 15, 2012 at 09:36:43AM +0200, MERIGHI Marcus wrote: da...@elven.com.au (David Diggles), 2012.06.15 (Fri) 00:20 (CEST): I want the default login console to run something like /usr/games/worms -n100 or rsh host /opt/local/bin/xaos -driver aa -autopilot the way I do it... $ grep ttyC0 /etc/ttys ttyC0 /usr/local/libexec/getty.sh vt220 on $ ls -al /usr/local/libexec/getty.sh -rwxr-xr-x 1 root wheel 210 Feb 15 19:01 /usr/local/libexec/getty.sh $ cat /usr/local/libexec/getty.sh #!/bin/ksh -e TERM=vt220 /usr/local/sbin/dostuff.sh /dev/$1 /dev/$1 $ ls -la /usr/local/sbin/dostuff.sh -rwxr-xr-x 1 root wheel - 2.2K Feb 18 11:28 /usr/local/sbin/dostuff.sh dostuff.sh has stdin/stdout connected to console, now. Bye, Marcus (nice project, btw!) !DSPAM:4fe7f2c2455333111015!
Re: Something other than getty/login on console?
da...@elven.com.au (David Diggles), 2012.06.15 (Fri) 00:20 (CEST): I want the default login console to run something like /usr/games/worms -n100 or rsh host /opt/local/bin/xaos -driver aa -autopilot the way I do it... $ grep ttyC0 /etc/ttys ttyC0 /usr/local/libexec/getty.sh vt220 on $ ls -al /usr/local/libexec/getty.sh -rwxr-xr-x 1 root wheel 210 Feb 15 19:01 /usr/local/libexec/getty.sh $ cat /usr/local/libexec/getty.sh #!/bin/ksh -e TERM=vt220 /usr/local/sbin/dostuff.sh /dev/$1 /dev/$1 $ ls -la /usr/local/sbin/dostuff.sh -rwxr-xr-x 1 root wheel - 2.2K Feb 18 11:28 /usr/local/sbin/dostuff.sh dostuff.sh has stdin/stdout connected to console, now. Bye, Marcus (nice project, btw!) !DSPAM:4fda64d4121516375431200!
hotplugd(8) and ucom as class 0 generic
hello misc-ers, while reworking my /etc/hotplug/* scripts I noticed, that I get ucom* devices as class 0 = generic: dmesg snip: uftdi1 at uhub6 port 4 ELV AG ELV FHZ 1000 PC rev 1.10/2.00 addr 4 ucom1 at uftdi1 portno 1 syslog snip: hotplugd[10633]: ucom1 attached, class 0 hotplugd[10633]: uftdi1 attached, class 0 (yes, it's in reversed order in hotplugd syslog output) I think ucom1 is a class 5, serial line interface. (I can easily work around this, just thought I'd say a word about it.) bye, Marcus
FR/DE only: geek documentary arte.tv with espie@
Hello french/german speaking OpenBSDers, espie@ has been on arte tv at 2012-04-28. Looking at arte 7+ I found and downloaded the documentary. If you want to view/download then do it soonish, it is only available for seven days, that is supposedly 2012-05-05. URL: DE: http://videos.arte.tv/de/videos/nerd_alarm_-6613194.html FR: http://videos.arte.tv/fr/videos/la_revanche_des_geeks-6613194.html Since my french doesn't even suffice to go to a grocery, I did the following on the german version. source leads to embed: http://videos.arte.tv/de/do_delegate/videos/nerd_alarm_-6613194,view,asPlayerXml.xml leads to --- French: http://videos.arte.tv/fr/do_delegate/videos/la_revanche_des_geeks-6613198,view,asPlayerXml.xml low quality: rtmp://artestras.fcod.llnwd.net/a3903/o35/mp4:geo/videothek/ALL/arteprod/A7_SGT_ENC_06_044590-000-A_PG_MQ_FR?h=b2555188f635f5538b6e455aaa0ae442 high quality: rtmp://artestras.fcod.llnwd.net/a3903/o35/mp4:geo/videothek/ALL/arteprod/A7_SGT_ENC_08_044590-000-A_PG_HQ_FR?h=29a296274aa3535a2e0610120c922caa --- German: http://videos.arte.tv/de/do_delegate/videos/nerd_alarm_-6613196,view,asPlayerXml.xml low quality: rtmp://artestras.fcod.llnwd.net/a3903/o35/mp4:geo/videothek/ALL/arteprod/A7_SGT_ENC_02_044590-000-A_PG_MQ_DE?h=78b240d789515df11750c6605470a0b9 high quality: rtmp://artestras.fcod.llnwd.net/a3903/o35/mp4:geo/videothek/ALL/arteprod/A7_SGT_ENC_04_044590-000-A_PG_HQ_DE?h=284674e7404557813fdcbeea77e418cb --- I used ``rtmpdump -o nerds.flv -r \ rtmp://artestras.fcod.llnwd.net/a3903/o35/mp4:geo/videothek/ALL/arteprod/A7_SGT_ENC_02_044590-000-A_PG_MQ_DE?h=78b240d789515df11750c6605470a0b9'' and got a 150MB mplayer playable .flv Bye, Marcus
Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
Hello Alexander, alexan...@beard.se (Alexander Hall), 2012.04.14 (Sat) 22:34 (CEST): MERIGHI Marcus mcmer-open...@tor.at wrote: gil...@poolp.org (Gilles Chehade), 2012.04.14 (Sat) 20:18 (CEST): On Sat, Apr 14, 2012 at 07:48:24PM +0200, MERIGHI Marcus wrote: I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some foolish luser messes up her/his .forward. How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose log shows this get's reordered to a_user, b_user. I'm not sure that is good.) I was wrong there; the alias expansion is printed in reordered fashion to the log; delivery is attempted in the specified order. forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. If I change a_user's forward(5) to |/usr/local/bin/procmail; exit 0 delivery to b_user is attempted. This is actually a known issue which is in my todo. that's good to know. Thanks (over and over again)! What we do currently is generate a list of valid recipients and a list of failed recipients. When we end the aliases expansion with a failed list that's not empty we reject the entire batch. further testing of my workaround ``|/usr/local/bin/procmail; exit 0'' showed that it works for two recipients (expanded from aliases) but not for three; a test of the shell thingy: sudo su -l someuser -c cat /somepath/testmail | /bin/sh -c \ '/usr/local/bin/procmail || print FAIL print SUCC' Such a construct would always print SUCC. Well, unless both procmail and print FAIL fails... damn, somewhat ``true'', thanks: $ [[ 0 -eq 1 ]] || print FALSE print TRUE FALSE TRUE better one: $ [[ 0 -eq 0 ]] print TRUE || print FALSE TRUE $ [[ 0 -eq 1 ]] print TRUE || print FALSE FALSE therefore: $ sudo su -l someuser -c cat /somepath/testmail | /bin/sh -c \ '/usr/local/bin/procmail print SUCC || print FAIL' SUCC with EXITCODE=1 in procmailrc: $ sudo su -l someuser -c cat /somepath/testmail | /bin/sh -c \ '/usr/local/bin/procmail print SUCC || print FAIL' FAIL Bye, Marcus prints SUCC. Therefore I see no real error condition there? The further testing was somewhat confusing: ordering of recipients in aliases(5) matters; also, which recipient got the ``|| exit 0'' or ``; exit 0'' in his/her forward(5). Up to two recipients, it seems, it needs to be the second rcpt; with more recipients I never saw a delivery to all of them, no matter who had the ``|| exit 0'' after the procmail call (or all of them). Tests with ``|/bin/cat /dev/null'' in forward(5) made no difference. Maybe it's just that I'm tired. In practice, we should simply iterate over the failed list and generate a bounce, however we are unhappy with the current bounce code. Don't worry, it will be fixed soon as I started playing with OpenSMTPD powered mailing lists ;-) Please elaborate on that! Do you mean just having smtpd deliver to lots of recipients via aliases or something beyond that?
smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
hello (opensmtpd-) folks, I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some foolish luser messes up her/his .forward. How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose log shows this get's reordered to a_user, b_user. I'm not sure that is good.) forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. If I change a_user's forward(5) to |/usr/local/bin/procmail; exit 0 delivery to b_user is attempted. Bye, Marcus
Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
hello Gilles, gil...@poolp.org (Gilles Chehade), 2012.04.14 (Sat) 20:18 (CEST): On Sat, Apr 14, 2012 at 07:48:24PM +0200, MERIGHI Marcus wrote: hello (opensmtpd-) folks, I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some foolish luser messes up her/his .forward. How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose log shows this get's reordered to a_user, b_user. I'm not sure that is good.) I was wrong there; the alias expansion is printed in reordered fashion to the log; delivery is attempted in the specified order. forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. If I change a_user's forward(5) to |/usr/local/bin/procmail; exit 0 delivery to b_user is attempted. This is actually a known issue which is in my todo. that's good to know. Thanks (over and over again)! What we do currently is generate a list of valid recipients and a list of failed recipients. When we end the aliases expansion with a failed list that's not empty we reject the entire batch. further testing of my workaround ``|/usr/local/bin/procmail; exit 0'' showed that it works for two recipients (expanded from aliases) but not for three; a test of the shell thingy: sudo su -l someuser -c cat /somepath/testmail | /bin/sh -c \ '/usr/local/bin/procmail || print FAIL print SUCC' prints SUCC. Therefore I see no real error condition there? The further testing was somewhat confusing: ordering of recipients in aliases(5) matters; also, which recipient got the ``|| exit 0'' or ``; exit 0'' in his/her forward(5). Up to two recipients, it seems, it needs to be the second rcpt; with more recipients I never saw a delivery to all of them, no matter who had the ``|| exit 0'' after the procmail call (or all of them). Tests with ``|/bin/cat /dev/null'' in forward(5) made no difference. Maybe it's just that I'm tired. In practice, we should simply iterate over the failed list and generate a bounce, however we are unhappy with the current bounce code. Don't worry, it will be fixed soon as I started playing with OpenSMTPD powered mailing lists ;-) Please elaborate on that! Do you mean just having smtpd deliver to lots of recipients via aliases or something beyond that? Thanks, Marcus
Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
forgot to mention: doing all of this on OpenBSD 5.1-current (GENERIC) #182: Fri Mar 30 13:51:26 MDT 2012 mcmer-open...@tor.at (MERIGHI Marcus), 2012.04.14 (Sat) 21:30 (CEST): hello Gilles, gil...@poolp.org (Gilles Chehade), 2012.04.14 (Sat) 20:18 (CEST): On Sat, Apr 14, 2012 at 07:48:24PM +0200, MERIGHI Marcus wrote: hello (opensmtpd-) folks, I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some foolish luser messes up her/his .forward. How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose log shows this get's reordered to a_user, b_user. I'm not sure that is good.) I was wrong there; the alias expansion is printed in reordered fashion to the log; delivery is attempted in the specified order. forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. If I change a_user's forward(5) to |/usr/local/bin/procmail; exit 0 delivery to b_user is attempted. This is actually a known issue which is in my todo. that's good to know. Thanks (over and over again)! What we do currently is generate a list of valid recipients and a list of failed recipients. When we end the aliases expansion with a failed list that's not empty we reject the entire batch. further testing of my workaround ``|/usr/local/bin/procmail; exit 0'' showed that it works for two recipients (expanded from aliases) but not for three; a test of the shell thingy: sudo su -l someuser -c cat /somepath/testmail | /bin/sh -c \ '/usr/local/bin/procmail || print FAIL print SUCC' prints SUCC. Therefore I see no real error condition there? The further testing was somewhat confusing: ordering of recipients in aliases(5) matters; also, which recipient got the ``|| exit 0'' or ``; exit 0'' in his/her forward(5). Up to two recipients, it seems, it needs to be the second rcpt; with more recipients I never saw a delivery to all of them, no matter who had the ``|| exit 0'' after the procmail call (or all of them). Tests with ``|/bin/cat /dev/null'' in forward(5) made no difference. Maybe it's just that I'm tired. In practice, we should simply iterate over the failed list and generate a bounce, however we are unhappy with the current bounce code. Don't worry, it will be fixed soon as I started playing with OpenSMTPD powered mailing lists ;-) Please elaborate on that! Do you mean just having smtpd deliver to lots of recipients via aliases or something beyond that? Thanks, Marcus
Re: smtpd: no user for command execution in aliases
hello tobias, I'm in a hurry thus top posting. Last time I tried direct aliasing to commands did not work, as you have noticed (same error messages). To make mlmmj work I created users for each list, aliased to these users, gave each user a .forward (forward(5)) with the appropriate mlmmj commands. Sidenote: this way you can have mlmmj-maintd run as the user of the mailing list. bye, marcus tob...@trustedco.de (Tobias Sarnowski), 2012.04.09 (Mon) 11:07 (CEST): Hello there, I am trying to set up a mailinglist with my OpenSMTP daemon and found an unexpected behaviour in OpenBSD-current. I think this is a bug and hopefully I didn't miss anything in the documentation. The problem is the user selection when receiving mails for a command. I tried to read the code and found out, that when using a command, the user string is empty. Entry in my /etc/mail/aliases: mlmmj-test: |/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/ Entry in my /var/log/maillog after sending a mail to the list: 11993303259ac8a2: to=mlmmj-t...@trustedco.de, delay=1645, stat=Error (getpwnam: no such user) Starting smtpd -dv reveals the empty user string: forkmda: to /usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/ as c9a2d37f69cfc58c: to=mlmmj-t...@trustedco.de, delay=0, stat=Error (getpwnam: no such user) I added some more log statements to the code and can confirm, that the deliver-user in smtpd.c:768 is an empty string which will be used to get the users informations which obviously fails. To resolve the problem, the daemon has to choose a correct user for executing the external command. I think there are three options: 1. Use root hardcoded for commands 2. Use the local user, corresponding to the alias name 3. Use the daemon's user 2. requires to have a local user with the same name which is realy ugly since I don't need that user on my system. 3. may be too restrited for the command so that you have to give the smtp daemon more rights what does not make sense for this user. 1. may be insecure but only if the sysadmin uses it wrong. There is no default alias rule in the base system with command execution, so the daemon remains secure by default. I don't know sendmail, but the most obvious solution is to use the same rules as sendmail did for backward compatibility. Thanks for reading, Tobias Sarnowski p.s. for testing, I created a local mlmmj-test user to verify that no other code branch will be triggered if the same user exists. !DSPAM:4f82a81496401090411289!
Re: OpenSMTPd and Virtual Domains
Hello Shawn, swallbri...@gmail.com (Shawn Wallbridge), 2012.03.19 (Mon) 09:20 (CET): I am setting up a new mail server using OpenBSD 5.0. Initially this was the smtpd.conf I went with, based on the guide on calomel.org (https://calomel.org/opensmtpd.html) and this post on daemon forums (http://www.daemonforums.org/showthread.php?t=6228). # cat /etc/mail/smtpd.conf snip map virtual { source db /etc/mail/virtual.db } snip accept from all for domain domain1.com alias virtual deliver to maildir accept from all for domain domain1.org alias virtual deliver to maildir accept from all for domain domain1.net alias virtual deliver to maildir snip # cat /etc/mail/virtual # Tried both with and with out : separators n...@domain1.com user1 n...@domain2.org user2 n...@domain3.net user3 n...@domain4.com user4 take a look at ``usr.sbin/smtpd/makemap.8'' and prepend ``domain1.com: true'' ``domain2.org: true'' etc., where ``true'' can be replaced by any string. bye, Marcus
Re: smartphones and managing openbsd servers
Nokia 5230 Software 51.0.002 SSH client: PuTTY for Symbian OS http://s2putty.sourceforge.net/ http://s2putty.sourceforge.net/download.html putty_s60v3_1.5.2.zip putty_s60v3_1.5.2.sisx no fun but works. Mode: Input a line, send. bye, Marcus h...@osvaldobarrera.com.ar (Hugo Osvaldo Barrera), 2012.02.20 (Mon) 06:00 (CET): On 2012-02-18 20:06, Marcos Ariel Laufer wrote: Hello list, This might not be OpenBSD specific, but maybe users can share their experiences with smartphones an managing OpenBSD servers. So far, my smartphone has been a very usefull tool to manage my OpenBSD servers. Currently i am using a Palm Treo 680 with some lousy ssh application to access my servers, it is usefull, but this is getting pretty ancient, doesn't have wifi for exaple, and i would like that feature on a smartphone. I also love the touch screen. What newer smartphones do you recommend for using also as a tool for managing OpenBSD servers (maybe windogs too) ? What experiences had you had with smartphones and OpenBSD managing? Best regards, Marcos I use a Nokia N900 for this. It's a real GNU/Linux, so you you get ssh out-of-the-box, and there's other stuff you might occasionally use (like rsync). It also has a pretty good hardware keyboard, which I feel is a must in order to use ssh comfortably, and makes the real difference. I log into OpenBSD servers on a daily basis (well, just two servers actually), and it's pretty good. -- Hugo Osvaldo Barrera
Re: Unbound in base
Hello, bjorn.ketela...@hydroxide.nl (Bjvrn Ketelaars), 2012.02.15 (Wed) 10:23 (CET): From unbound-anchor.8 I understand that unbound-anchor can be run from the command line, or run as part of startup scripts _before_ the actual (unbound) DNS server is started. So there is no need for DNS. Proposal therefor is to run unbound-anchor automatically before starting the unbound daemon (rc_pre in unbound rc-script). This (i.e. connecting out to https://data.iana.org from the system startup scripts) should *not* happen by default even if unbound is enabled. There would need to be a separate option controlling this. How about letting /var/unbound/etc/unbound.conf control this behavior? In the startup script (rc.d-script): rc_pre() { if ! egrep # *auto-trust-anchor-file: /var/unbound/etc/unbound.conf /dev/null; then sudo -u _unbound /usr/sbin/unbound-anchor would fail if ``!root_sudo'' is set in sudoers(5). But, quoting sudoers(5): Disabling root_sudo provides no real additional security; it exists purely for historical reasons. This flag is on by default. Bye, Marcus fi } The same behavior can be obtained by writing a wrapper. Although these 'solutions' work, they are not elegant. What say thou?
-current OpenSMTPD enqueuer, lynx, luxury-part-deux.html
Hello, following a link recently posted here, I noticed that the page http://catb.org/~esr/writings/luxury-part-deux.html opened with lynx(1) cannot be sent (``printed'') as e-mail. Opening web pages with lynx and sending them to myself is a standard procedure for me and - as far as I remember - never failed and does not fail on me for any other web page I have tried. While trying to avoid the problem I saved the page (lynx: ``print'', ``save to a local file'') and piped it to mail(1) with the same results. Appending the lynx(1) dump of the page to this message makes it fail as well (using mutt(1)). Error seen within lynx(1)/mail(1)/mutt(1): ``sendmail: ferror: 1'' Error seen in smtpd logs: ``smtpd[4122]: a53d8814: from=lusr@lhost, relay=1000@localhost [IPv6:::1], stat=LocalError (500 5.0.0 Pipelining not supported)'' Can anyone reproduce? Help on avoiding it? Thanks in advance, Marcus Some info below: $ grep -v -e ^# /etc/mailer.conf sendmail/usr/sbin/smtpctl send-mail /usr/sbin/smtpctl mailq /usr/sbin/smtpctl makemap /usr/libexec/smtpd/makemap newaliases /usr/libexec/smtpd/makemap hoststat/usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail dmesg: OpenBSD 5.1-beta (GENERIC) #144: Mon Jan 30 16:22:03 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS, ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072689152 (1022MB) avail mem = 1045049344 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0 apm0 at bios0: Power Management spec V1.2 pcibios0 at bios0: rev 2.1 @ 0xfd770/0x890 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 mem address conflict 0x5000/0x1000 mem address conflict 0x5100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 ath0 at pci2 dev 2 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:1b:b1:ab:74:c1 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11, address 00:09:6b:3f:67:a8 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02: 24-bit timer at 3579545Hz: SpeedStep pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0 wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVRKD08, 1.00 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801CA/CAM SMBus rev 0x02: irq 11 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02: irq 11, ICH3 AC97 ac97: codec id 0x41445348 (Analog Devices AD1881A) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 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
Re: specific X.org segmentation fault
tomas.bod...@gmail.com (Tomas Bodzar), 2012.02.03 (Fri) 20:34 (CET): On Wed, Feb 1, 2012 at 2:53 PM, Mihai Popescu mihp...@gmail.com wrote: I've run in some able to repeat issue using X.org doing some software try. The result is a complete X.org server shut down. I'm not good in reporting things, but this is very interesting because it repeats every time. See the details down there, I'm curious if someone can reproduce it. If more details needed, I can provide them. OpenBSD 5.1-beta from snapshots (dmesg attached) X.org running without /etc/xorg.conf scrotwm-0.10.0 xxxterm-1.10.0v0 Each time I go to neworder.box.sk there is a X.org stop and shutdown with the following error: That page works fine for me +1 $ pkg_info -S scrotwm Information for inst:scrotwm-0.10.0 Signature: scrotwm-0.10.0,X11.15.0,Xrandr.6.1,Xtst.10.0,c.62.0,dmenu-4.4.1,util.11.2 scrotwm-0.10.0,X11.15.0,Xrandr.6.1,Xtst.10.0,c.62.0,dmenu-4.4.1,util.11.2 $ pkg_info -S xxxterm Information for inst:xxxterm-1.10.0v0 Signature: xxxterm-1.10.0v0,GL.12.0,X11.15.0,Xcomposite.3.0,Xcursor.4.0,Xdamage.3.1,Xext .12.0,Xfixes.5.1,Xi.11.0,Xinerama.5.0,Xrandr.6.1,Xrender.5.0,atk-1.0.2801.0,c .62.0,cairo.11.1,desktop-file-utils-0.19,expat.9.0,fontconfig.7.0,freetype.18 .1,gcrypt.15.0,gdk-x11-2.0.2400.0,gdk_pixbuf-2.0.2200.1,gettext-0.18.1p1,gio- 2.0.2992.0,glib-2.0.2992.0,gmodule-2.0.2992.0,gnutls.18.1,gobject-2.0.2992.0, gthread-2.0.2992.0,gtk-x11-2.0.2400.0,iconv.6.0,intl.6.0,javascriptcoregtk-1. 0.0.0,libiconv-1.14,m.7.0,pango-1.0.2903.0,pangocairo-1.0.2903.0,pangoft2-1.0 .2903.0,pixman-1.22.2,png.13.0,pthread-stubs.1.0,pthread.13.3,soup-2.4.31,ut il.11.2,webkit-1.6.1p0v0,webkitgtk-1.0.2.0,xcb-render.0.0,xcb-shm.0.0,xcb.2.2 ,z.4.1 xxxterm-1.10.0v0,GL.12.0,X11.15.0,Xcomposite.3.0,Xcursor.4.0,Xdamage.3.1, Xext.12.0,Xfixes.5.1,Xi.11.0,Xinerama.5.0,Xrandr.6.1,Xrender.5.0, atk-1.0.2801.0,c.62.0,cairo.11.1,desktop-file-utils-0.19,expat.9.0, fontconfig.7.0,freetype.18.1,gcrypt.15.0,gdk-x11-2.0.2400.0, gdk_pixbuf-2.0.2200.1,gettext-0.18.1p0,gio-2.0.2992.0,glib-2.0.2992.0, gmodule-2.0.2992.0,gnutls.18.1,gobject-2.0.2992.0,gthread-2.0.2992.0, gtk-x11-2.0.2400.0,iconv.6.0,intl.5.0,javascriptcoregtk-1.0.0.0, libiconv-1.14,m.7.0,pango-1.0.2903.0,pangocairo-1.0.2903.0, pangoft2-1.0.2903.0,pixman-1.22.2,png.13.0,pthread-stubs.1.0, pthread.13.3,soup-2.4.3.1,util.11.2,webkit-1.6.1p0v0,webkitgtk-1.0.2.0, xcb-render.0.0,xcb-shm.0.0,xcb.2.2,z.4.1 $ sysctl kern.version kern.version=OpenBSD 5.1-beta (GENERIC.MP) #172: Mon Jan 30 16:30:40 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP kern.version=OpenBSD 5.1-beta (GENERIC) #144: Mon Jan 30 16:22:03 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC But HW is different $ dmesg | grep -i vga vga1 at pci0 dev 2 function 0 Intel GT2+ Video rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) intagp0 at vga1 inteldrm0 at vga1: apic 2 int 16 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 Server terminated with error (1). Closing log file. XIO: fatal IO error 35 (Resource temporarly unavailable) on X server :0 after 2650 requests (2650 known processed) with 0 events remaining. assertion #ret != invalid_id failed: file /usr/xenocara/lib/libX11/src/xcb_io.c, line 528, function _xAllocID xinit: connection to X server lost. Abort trap (core dumped). There is a xxxter.core file. I will send the dmesg and some snippet from X.org.log.old. If all X.org.log is needed, can I send it here ? [dmesg] OpenBSD 5.1-beta (GENERIC) #143: Thu Jan 26 16:02:00 MST 2012 B B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR real mem B = 1071751168 (1022MB) avail mem = 1044127744 (995MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/07/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (72 entries) bios0: vendor Dell Inc. version A08 date 07/07/2006 bios0: Dell Inc. Precision WorkStation 370 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI1(S5) PCI2(S5) PCI3(S5) PCI4(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0
Re: disk management
fpussa...@contactoffice.fr (Francois Pussault), 2012.01.13 (Fri) 13:28 (CET): J /home all of the free space may I just throw in: fsck duration upon boot after unclean unmount. A good philosophy: as little as possible (fsck duration), as much as necessary (user/service reqirement). Needed: have lots of free=unused space for moving the content of slices around and thus enable growing slices, when needed. On really large disks, the maximum of 14 slices (a, d-p) becomes a limitation. I am bypassing this limitation by means of softraid(4)/bioctl(8): see CRYPTO and CONCAT (-current only). Gives you lots of devices (sd0, sd1, sdN) to have slices on. Having lots of slices makes df(1) a precious system overview, apart from anything else :-) bye, Marcus
Re: Pointers on starting X, then run browser and when it quits, automatically shutdown the computer X
titomarifran...@gmail.com (Tito Mari Francis Escaqo), 2011.10.29 (Sat) 11:50 (CEST): My task is to design a kiosk that will only display a web browser, Firefox for now (I'd also appreciate guide on other graphical web browser) when OpenBSD boots up. When the browser quits, the whole system should shutdown as well. Can you please point me to guides how to do this? My idea is for the whole system to run off a Live CD, but I'm quite lost how to start the X windowing system, then the web browser and then automatically shutdown the whole system after quitting web browser. I hope you can help me. Thank you very much. see also: http://marc.info/?l=openbsd-miscm=108366855830141 http://marc.info/?l=openbsd-miscm=105658656000695 my task was to connect to a rdp server; tried all of the various approaches and this is how it finally worked: $ grep autologin /etc/ttys ttyC1 /usr/local/sbin/autologin.getty vt220 on secure $ cat autologin.getty #!/bin/sh -e TERM=vt220 /usr/local/sbin/autologin /dev/$1 /dev/$1 $ cat autologin #!/bin/sh -e exec su -l autologin $ grep autologin /etc/passwd autologin:bla:1001:1001::0:0:AUTOMATIC Login:/home/autologin:/bin/ksh $ cat autologin/.profile PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. export PATH HOME TERM rm ~/.serverauth.* print -n sleep 3 # more important than you think /usr/X11R6/bin/startx -- -nolisten tcp shutdown -hp now exit $ cat autologin/.xinitrc /usr/X11R6/bin/xset -dpms /usr/X11R6/bin/xset s off /usr/X11R6/bin/xsetroot -solid black /usr/X11R6/bin/fvwm || /usr/X11R6/bin/xterm $ cat autologin/.fvwmrc AddToFunc InitFunction + I Exec exec run-your-app-and-than-shutdown.sh $ grep autologin /etc/sudoers autologin ALL= NOPASSWD: /sbin/shutdown -hp now autologin ALL= NOPASSWD: /sbin/reboot Bye, Marcus
Re: Battery monitoring does not work properly
Hello jeanfrancois, jfsimon1...@gmail.com (jeanfrancois), 2011.06.01 (Wed) 19:00 (CEST): I have seen the battery monitoring working properly after starting apmd What does I have seen mean in terms of time that passed since then? however it just disappeared and I'm not able to make it work again, it What happened between it worked and just disappeared? results in Battery state: absent, 0% remaining, unknown life estimate Any idea how to make it properly work ? Just a wild guess: You might have moved from apm to acpi: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6569 (Do not get bored scrolling down that page, there is an important point at the bottom.) What exactly is your computer manufacturer and type? How old is it? You could try using apm instead of acpi - if your computer supports it. (Do not blame me in case it does not.) Marcus OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T1400 @ 1.73GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM real mem = 3184750592 (3037MB) avail mem = 3122503680 (2977MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/22/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xfce70 (31 entries) bios0: vendor American Megatrends Inc. version 1.03 date 05/22/2009 bios0: ASRock Golden Series acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) GLAN(S4) P0P2(S3) WLAN(S3) P0P3(S3) P0P4(S3) P0P5(S3) P0P8(S4) P0P9(S3) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T1400 @ 1.73GHz (GenuineIntel 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiec0 at acpi0 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus 2 (P0P2) acpiprt3 at acpi0: bus 3 (P0P3) acpiprt4 at acpi0: bus 5 (P0P4) acpiprt5 at acpi0: bus 6 (P0P5) acpicpu0 at acpi0: C2, C1 acpicpu1 at acpi0: C2, C1 acpitz0 at acpi0: critical temperature 112 degC acpiac0 at acpi0: AC unit in unknown state acpibat0 at acpi0: BAT0 not present acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: DVID acpivout1 at acpivideo0: CRTD acpivout2 at acpivideo0: LCDD acpivout3 at acpivideo0: HDMI bios0: ROM list: 0xc/0x1! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 7) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19 (irq 3) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 18 (irq 6) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 2 int 22 (irq 4) azalia0: codecs: Realtek ALC662, ATT/Lucent/0x1040, Intel/0x2802, using Realtek ALC662 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 10) pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 16 (irq 10), address 00:26:18:47:d2:f0 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 5) pci2 at ppb1 bus 2 athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int 17 (irq 5) athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 00:25:d3:0a:c8:a4 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2 int 18 (irq 6) pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2 int 19 (irq 3) pci4 at ppb3 bus 5 ppb4
Re: ZTE MF190 HSUPA USB Modem with OpenBSD 4.8
sounds similar to http://marc.info/?l=openbsd-miscm=129104388909427 http://marc.info/?l=openbsd-techm=129104820617203 see follow-ups, too. als...@gmail.com (Ahmad Zulkarnain), 2011.03.29 (Tue) 07:17 (CEST): Hi, I just bought a new ZTE MF190 HSUPA USB modem for my 4.8 machine. I saw a few supported ZTE USB modem and I tried using this modem without success. Using cu -l cuaU(0-2) just display connected and hangs there. I would be glad if there's a pointer on how to get the modem working in 4.8. Here's the dmesg: umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 umsm0 detached umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom0 at umsm0 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom1 at umsm1 umass1 at uhub0 port 3 configuration 1 interface 2 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 umass1: using SCSI over Bulk-Only scsibus1 at umass1: 2 targets, initiator 0 cd1 at scsibus1 targ 1 lun 0: ZTE, USB SCSI CD-ROM, 2.31 SCSI2 5/cdrom removable umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom2 at umsm2 And here's the usbdevs -v output: $ usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 addr 5: high speed, power 500 mA, config 1, ZTE WCDMA Technologies MSM(0x0031), ZTE,Incorporated(0x19d2), rev 0.00, iSerialNumber P671A1CELD01 port 4 powered port 5 addr 2: high speed, self powered, config 1, USB2 Hub(0x6560), Cypress Semiconductor(0x04b4), rev 0.0b port 1 addr 3: high speed, self powered, config 1, USB Multibay IDE 2.466(0x031d), Hewlett Packard(0x03f0), rev 2.46, iSerialNumber HH63MC0BLTC1 port 2 powered port 3 powered port 4 addr 4: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc03d), Logitech(0x046d), rev 20.00 port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 poweredController /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered In XP, the USB modem will have some sort of virtual CDRom which act as the provider's (Celcom) software installer. Here's a bit of info about the modem on ZTE's web: * UMTS/HSDPA/WCDMA 2100MHz * GSM/GPRS/EDGE 850/900/1800/1900MHz * Support HSDPA up to 7.2Mbps, HSUPA up to 2Mbps * Dimensions: 76mm * 26mm * 11mm(without cap) 90mm * 26mm * 11mm(with cap) * Weight :21g * Operating Temperature:-10 to 60B0 C * Storage Temperature:-40 to 80B0 C * Approvals Certification:CE,GCF,FC,ROHS,WHQL. * Storage Capacity: Up to 4G Micro-SD card * Solution:Chipset supplier:Qualcomm Chipset:MSM6290 * USB VersionUSB 2.0 HIGH SPEED * Maximum power consumption 2.5W * Power supply:5v Thanks in advance. -- Ahmad Zulkarnain
Re: ZTE MF190 HSUPA USB Modem with OpenBSD 4.8
lists.d...@electronicagracia.com (Daniel Gracia), 2011.03.29 (Tue) 09:42 (CEST): Yep, that sounds totally right. The same over here with a ZTE MF110UP; just updated the pertinent usb files and got it working. let us all have it, diff -u to tech@, prego. ZTE seems to have a very broad range of product (numbers) over there. which partly do not even exist on their website[1], just as yours. [1] http://www.zte.com.cn/ El 29/03/2011 9:27, MERIGHI Marcus escribis: sounds similar to http://marc.info/?l=openbsd-miscm=129104388909427 http://marc.info/?l=openbsd-techm=129104820617203 see follow-ups, too. als...@gmail.com (Ahmad Zulkarnain), 2011.03.29 (Tue) 07:17 (CEST): Hi, I just bought a new ZTE MF190 HSUPA USB modem for my 4.8 machine. I saw a few supported ZTE USB modem and I tried using this modem without success. Using cu -l cuaU(0-2) just display connected and hangs there. I would be glad if there's a pointer on how to get the modem working in 4.8. Here's the dmesg: umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 umsm0 detached umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom0 at umsm0 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom1 at umsm1 umass1 at uhub0 port 3 configuration 1 interface 2 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 umass1: using SCSI over Bulk-Only scsibus1 at umass1: 2 targets, initiator 0 cd1 at scsibus1 targ 1 lun 0:ZTE, USB SCSI CD-ROM, 2.31 SCSI2 5/cdrom removable umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE,Incorporated ZTE WCDMA Technologies MSM rev 2.00/0.00 addr 5 ucom2 at umsm2 And here's the usbdevs -v output: $ usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 addr 5: high speed, power 500 mA, config 1, ZTE WCDMA Technologies MSM(0x0031), ZTE,Incorporated(0x19d2), rev 0.00, iSerialNumber P671A1CELD01 port 4 powered port 5 addr 2: high speed, self powered, config 1, USB2 Hub(0x6560), Cypress Semiconductor(0x04b4), rev 0.0b port 1 addr 3: high speed, self powered, config 1, USB Multibay IDE 2.466(0x031d), Hewlett Packard(0x03f0), rev 2.46, iSerialNumber HH63MC0BLTC1 port 2 powered port 3 powered port 4 addr 4: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc03d), Logitech(0x046d), rev 20.00 port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 poweredController /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered In XP, the USB modem will have some sort of virtual CDRom which act as the provider's (Celcom) software installer. Here's a bit of info about the modem on ZTE's web: * UMTS/HSDPA/WCDMA 2100MHz * GSM/GPRS/EDGE 850/900/1800/1900MHz * Support HSDPA up to 7.2Mbps, HSUPA up to 2Mbps * Dimensions: 76mm * 26mm * 11mm(without cap) 90mm * 26mm * 11mm(with cap) * Weight :21g * Operating Temperature:-10 to 60B0 C * Storage Temperature:-40 to 80B0 C * ApprovalsCertification:CE,GCF,FC,ROHS,WHQL. * Storage Capacity: Up to 4G Micro-SD card * Solution:Chipset supplier:Qualcomm Chipset:MSM6290 * USB VersionUSB 2.0 HIGH SPEED * Maximum power consumption 2.5W * Power supply:5v Thanks in advance. -- Ahmad Zulkarnain -- https://www.Tor.AT/~McMer/.signature Ich untersage hiermit a) die Verwendung meiner personenbezogenen Daten zu anderen Zwecken als den in diesem Vorgang gegenstaendlichen sowie b) die Weitergabe meiner personenbezogenen Daten. Die Nichtbefolgung dieser Anweisung ist in Oesterreich gesetzeswidrig. Siehe hiezu das Datenschutzgesetz (DSG) 2000 idgF., zu finden u.a. unter: http://ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=BundesnormenGesetzesnummer=10001597
Re: sftp-server logging with chroot in OpenBSD?
Marcus, (nice name, by the way :-) f5b...@gmail.com (Marcus), 2011.03.27 (Sun) 15:38 (CEST): 4. http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-serversektion=8 For logging to work, sftp-server must be able to access /dev/log. Use of sftp-server in a chroot configuration therefore requires that syslogd(8) establish a logging socket inside the chroot directory. 5. /etc/rc.conf.local +syslogd_flags=-a /home/share/dev/log mkdir /home/share/dev touch /home/share/dev/log ``ls -la /home/share/dev/log'' versus ``ls -la /dev/log''? I bet these are not the same type ;-) from syslogd(8): -a Specify a location where syslogd should place an additional log socket. I've never created the socket myself. ``rm /home/share/dev/log'' and have it created by syslogd(8). Marcus
Re: Setting up a CA and installing generated certificates
Hello Timothy, timothyale...@gmail.com (Timothy Legge), 2011.02.28 (Mon) 20:18 (CET): Ive been strugeling with setting up a CA on my OpenBSD Box. Ive been trying to figur out where I've been going wrong over the past 3 or 4 days, and Im at a loss now. [snip] http://marc.info/?l=openbsd-miscm=125691677521019 - http://www.tor.at/~McMer/ca/ The link still works and I've added a README. after ``make cnf-ca'' and make init'' you have a ca-cert.pem which you can just append to /etc/ssl/cert.pem or import in thunderbird, firefox, ... ``make pem_all name=yourname'' generates yourname.csr, yourname.crt, yourname.key, yourname.pem which I use for services as follows: apache: /var/www/conf/httpd.conf: SSLCertificateFile/etc/ssl/http.pem SSLCertificateKeyFile /etc/ssl/http.pem opensmtpd: /etc/mail/smtpd.conf: listen on lo0 tls certificate smtp enable auth $ ls /etc/mail/certs/ smtp.crt smtp.key dovecot: /etc/dovecot.conf: ssl_cert_file = /etc/ssl/imap.pem ssl_key_file = /etc/ssl/imap.pem openldapd: /etc/ldapd.conf: listen on re0 ldaps certificate ldap $ ls /etc/ldap/certs/ ldap.crt ldap.key squid: /etc/squid/squid.conf: https_port 3129 cert=/etc/ssl/proxy.pem
Re: netword's wireless security settings - how to determine
ted.unan...@gmail.com (Ted Unangst), 2011.02.18 (Fri) 01:27 (CET): On Thu, Feb 17, 2011 at 4:52 PM, Dmitrij D. Czarkoff czark...@gmail.com wrote: On Thu, Feb 17, 2011 at 11:46:05AM +, Stuart Henderson wrote: Perhaps we think that the AP supports wpa2 but it is actually broken and only wpa1 works. We shouldn't as far as wpaprotos defaults to wpa1,wpa2, so wpa2 shouldn't be tested if wpa1 succeeds. The man page says the opposite. wpa2 is preferred if both are allowed. A couple of times when access points claimed to do both wpa1 and wpa2 I had no luck with them using wpa2 - but wpa1 worked like a charm.
default route interface not in group egress
I am puzzled by the fact that interface ppp0 is not automagically assigned to interface group ``egress'' though a default route points to it. This does not seem to match ifconfig(8): ``The interface(s) the default route(s) point to are members of the egress interface group.'' On the other hand bwi0 stays in the ``egress'' group even if the default route pointing to it is removed. According to my OpenBSD experience it is probably me getting something wrong, anyone got a clue stick to apply on me? $ netstat -n -r -f inet Routing tables Internet: DestinationGatewayFlags Refs Use Mtu Prio Iface default192.168.111.111UGS1 68 -12 bwi0 default10.1.67.76 UG 00 -56 ppp0 10.1.67.76 10.120.190.120 UH 10 - 4 ppp0 127/8 127.0.0.1 UGRS 00 33200 8 lo0 127.0.0.1 127.0.0.1 UH 5 82 33200 4 lo0 192.168.111/24 link#1 UC 10 - 4 bwi0 192.168.111.11100:0e:56:00:4f:90 UHLc 14 - 4 bwi0 192.168.111.205127.0.0.1 UGHS 00 33200 8 lo0 224/4 127.0.0.1 URS00 33200 8 lo0 $ ifconfig bwi0 bwi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:14:a4:81:85:48 priority: 4 groups: wlan egress media: IEEE802.11 autoselect (DS11 mode 11b) status: active ieee80211: [snip] inet6 fe80::214:a4ff:fe81:8548%bwi0 prefixlen 64 scopeid 0x1 inet 192.168.111.205 netmask 0xff00 broadcast 192.168.111.255 $ ifconfig ppp0 ppp0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 priority: 0 groups: ppp inet 10.120.190.120 -- 10.1.67.76 netmask 0xff00 $ sudo route -n delete default $ netstat -n -r -f inet Routing tables Internet: DestinationGatewayFlags Refs Use Mtu Prio Iface default10.1.67.76 UG 0 14 -56 ppp0 10.1.67.76 10.120.190.120 UH 10 - 4 ppp0 127/8 127.0.0.1 UGRS 00 33200 8 lo0 127.0.0.1 127.0.0.1 UH 3 280 33200 4 lo0 192.168.111/24 link#1 UC 10 - 4 bwi0 192.168.111.11100:0e:56:00:4f:90 UHLc 0 24 - 4 bwi0 192.168.111.205127.0.0.1 UGHS 00 33200 8 lo0 224/4 127.0.0.1 URS00 33200 8 lo0 $ ifconfig bwi0 bwi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:14:a4:81:85:48 priority: 4 groups: wlan egress media: IEEE802.11 autoselect (DS11 mode 11b) status: active ieee80211: [snip] inet6 fe80::214:a4ff:fe81:8548%bwi0 prefixlen 64 scopeid 0x1 inet 192.168.111.205 netmask 0xff00 broadcast 192.168.111.255 $ ifconfig ppp0 ppp0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 priority: 0 groups: ppp inet 10.120.190.120 -- 10.1.67.76 netmask 0xff00 $ dmesg OpenBSD 4.9-beta (GENERIC) #650: Sun Feb 6 17:26:25 MST 2011 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072721920 (1023MB) avail mem = 1045041152 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries) bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003 bios0: IBM 2366EG9 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 94 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type LION oem GW acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: DOCK not docked (0) bios0: ROM list: 0xc/0x1 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0
Re: openbsd : bluetooth : 2.1 : support?
mayur...@kathe.in (Mayuresh Kathe), 2011.01.30 (Sun) 09:57 (CET): i plan to purchase the following device; http://www.edimax.com/en/produce_detail.php?pd_id=289pl1_id=13pl2_id=78 i intend to use it to connect to the internet over a gprs based cell phone via bluetooth. is this kind of connectivity possible under openbsd at the moment? If your bluetooth dongle works, yes: http://marc.info/?l=openbsd-miscm=124085846000680 Please do your homework of searching yourself, next time. Bye, Marcus
Re: LDAPD with NFS Home mounts
mar...@bzero.se (Martin Hedenfalk), 2011.01.20 (Thu) 17:25 (CET): tor 2011-01-20 klockan 14:31 + skrev Timothy Legge: Ive been spending some time today trying to figure out how to get NFS working under OpenBSD with the shiny new LDAPD daemon. [snip martinh@ checked ldapd config] Im now stuck at the point of configuring NFS to use LDAPD for authentication and access to the network mount points. At this point, I only want to allow network access to the /home partition on the server. this is the OpenBSD nfs server, isn't it? You need to find some documentation about how mac os x integrates with ldap. Googling for 'nfs ldap mac' seems to give some relevant results. I would also like to know how to add user accounts to the LDAPD server, as Im unsure how to do this. Also, it will be Mac OS X 10.6 clients that will be using the NFS and LDAPD server. Either use a GUI frontend of your choice, or use the openldap-client (available as a package) command line tool. With the latter you need to write the ldif file yourself. thats the easy part, adding user info to ldap. As far as I know the hard part follows when teaching OpenBSD to use that user info, as we are talking about an OpenBSD nfs server (as far as I've understood the OP). 1) port/package sysutils/login_ldap, see login_ldap(8) after pkg_add and login.conf(5) as well. Each and every user will have to have an entry in passwd(5) with your_login_class specified. OR 2) yp(8) and ypldap(8). Have not tried that myself. OR 3) use ``BSDAUTH'' prefix for the attribute ``userPassword'' (see src/usr.sbin/ldapd/auth.c). This causes ldapd(8) to compare the specified password with the one in passwd(5). This requires users to have an entry in passwd(5), of course. It helps only if your service is talking to ldapd(8) directly for password checks but you want the passwords to be stored in passwd(5). Bye, Marcus
Re: pf commands to discuss
l...@animata.net (David Gwynne), 2011.01.20 (Thu) 10:20 (CET): either: pass in log (all) on $int_if inet proto udp from $admin_pc to !$int_if \ port 33433 33626 keep state tag mytracert pass out log on $ext_if inet proto udp from $ext_if to any \ port 33433 33626 keep state tagged mytracert or: pass in log (all) on $int_if inet proto udp from $admin_pc to !$int_if \ port 33433 33626 keep state pass out log on $ext_if inet proto udp from $ext_if to any \ port 33433 33626 keep state tagged mytracert received-on $int_if I guess there is a ``tagged mytracert'' copy-paste error, removed it: pass in log (all) on $int_if inet proto udp from $admin_pc to !$int_if \ port 33433 33626 keep state pass out log on $ext_if inet proto udp from $ext_if to any \ port 33433 33626 keep state received-on $int_if Bye, Marcus On 20/01/2011, at 6:17 PM, Indunil Jayasooriya wrote: Hi list, I have an question. I want my pc (i.e admin_pc) to be able to traceroute which is behind a OpenBSD 4.8 pf firewall ( Doing NAT). So , I have added below rules in pf.conf file. match out on $ext_if from $lan_net nat-to ($ext_if) pass in log (all) on $int_if inet proto udp from $admin_pc to !$int_if \ port 33433 33626 keep state pass out log on $ext_if inet proto udp from $ext_if to any \ port 33433 33626 keep state due to the above rules, my PC can traceroute. It works fine. *But*, in addition to that, Firewall also can traceroute because of the above *pass out* rule. I *do NOT* want firewall to be able to traceroute. my question is that How can I exclude my firewall from being able to doing it ?
x*49.tgz checksums missing in snapshots/i386/SHA
hello all, just noticed that the SHA file is missing the checksums for the x*49.tgz files. bye, marcus
security(8) setuid checks and space character in file name
security(8) reports ``/home/XXX/Daten/Edv/macs/macs-home/Library/Application'' as ``Setuid additions:'' where the real file name is ``/home/XXX/Daten/Edv/macs/macs-home/Library/Application Support/\ ProxyOnOff/proxyOnOffTool'' I have found the source of the wrong file name report to be in line 437 of /etc/security: ``egrep -av '^[bc]' $LIST | join -o $FIELDS2 -110 -210 -v2 \ /dev/null - $TMP1'', with join having space (and tab) characters as field separators and thus ignoring after first space characters found in field 10. No quick fix that comes to my mind, using -t to join(1) would help only if the output of ls(1) in line 430 would be changed to not contain space characters as output separators. Is this known and if yes, would a patch to the man page be accepted? And no, I do not use space characters voluntarily in file names. It is a back up of an osx system.
Re: smtpd alias entries: delivery trouble
Hello Gilles, all, gil...@openbsd.org (Gilles Chehade), 2010.01.31 (Sun) 22:29 (CET): Seems like a bug in aliases expansion, will look into it by the end of this week. I am after setting up mail/mlmmj to work with smtpd(8). $ grep mlmmj-test /etc/mail/aliases mlmmj-test: |/usr/local/bin/mlmmj-recieve -F -L \ /var/spool/mlmmj/mlmmj-test newaliases(8) was run. $ echo test | mail -s test mlmmj-test Dec 20 15:22:32 zzz smtpd[24942]: smtp_new: incoming client on listener: 0x3c009aa0 Dec 20 15:22:32 zzz smtpd[24942]: session_pickup: greeting client Dec 20 15:22:32 zzz smtpd[24942]: command: EHLO args: localhost Dec 20 15:22:32 zzz smtpd[24942]: command: MAIL FROM args: x...@yyy.at Dec 20 15:22:32 zzz smtpd[24942]: session_rfc5321_mail_handler: sending notification to mfa Dec 20 15:22:32 zzz smtpd[24942]: smtp: got imsg_mfa_mail/rcpt Dec 20 15:22:32 zzz smtpd[24942]: smtp: imsg_queue_create_message returned Dec 20 15:22:32 zzz smtpd[24942]: command: RCPT TO args: mlmmj-t...@yyy.at Dec 20 15:22:32 zzz smtpd[7265]: aliases_exist: 'mlmmj-test' exists with 1 expansion nodes Dec 20 15:22:32 zzz smtpd[7265]: aliases_get: returned 1 aliases Dec 20 15:22:32 zzz smtpd[7265]: lka_resolve_node: node is filter: |/usr/local/bin/mlmmj-recieve -F -L /var/spool/mlmmj/mlmmj-test Dec 20 15:22:32 zzz smtpd[24942]: smtp: got imsg_mfa_mail/rcpt Dec 20 15:22:32 zzz smtpd[24942]: 1292854952.DjTfI6XCJSuAU2ED: from=x...@yyy.at, relay=1...@localhost [IPv6:::1], stat=LocalError (530 5.0.0 Recipient rejected: mlmmj-t...@yyy.at) Dec 20 15:22:32 zzz smtpd[24942]: session_destroy: killing client: 0x82823000 To see whether I was messing things up myself I did tests on my local notebook and a server-to-be, each with pipe to mlmmj-recieve(1) and procmail(1), with local delivery, remote forward, via /etc/mail/aliases and ~/.forward. Everything apart from piping works. $ pwd /usr/local/bin $ ls -la procmail -r-xr-xr-x 1 root bin 76480 Oct 31 02:39 procmail $ ls -la mlmmj-recieve -r-xr-xr-x 1 root bin 15948 Dec 12 08:06 mlmmj-recieve Both boxes are: OpenBSD 4.8-current (GENERIC) #513: Tue Dec 14 04:47:12 MST 2010 Is this expected behaviour as of now? Bye, Marcus P.S.: Apart from the above, thanks for all the work on smtpd(8), running it on my notebook for outbound mail for quite some time and very glad about it! On Sat, Jan 30, 2010 at 10:04:46PM -0600, Jacob Yocom-Piatt wrote: i've got a machine that is running RT from packages and am having trouble getting smtpd to pass mail to RT. this is usually done with sendmail but i figured it should be no huge leap to use smtpd here. the config that works with sendmail has local aliases like so rt_queuename:|/usr/local/bin/rt-mailgate --queue 'Queue Name' --action correspond --url https://rt.domain.com/; where there is an alias like this for each queue. let me know if this sort of thing is not supported. what i do see from running smtpd -vd is ... command: RCPT TOargs: rt_queuen...@rt.domain.com lka_resolve_node: node is filter: |/usr/local/bin/rt-mailgate --queue 'Queue Name' --action correspond --url https://rt.domain.com/; smtp_dispatch_queue: queue acknowledged message submission command: DATA args: (null) smtp_dispatch_queue: queue handled message creation smtp_dispatch_queue: queue acknowledged message submission 1264909788.hB74N4PO6lKzS8MR: from=j...@domain.com, size=1080, nrcpts=1, proto=ESMTP, relay=unknown [10.137.0.10] command: QUIT args: (null) session_destroy: killing client: 0x204aa in batch dispatch 1264909788.hB74N4PO6lKzS8MR: getpwnam: : user does not exist 1264909788.hB74N4PO6lKzS8MR: to=@, delay=1, stat=MdaPermError in batch dispatch smtp_new: incoming client on listener: 0x83fec0 session_pickup: greeting client ... at which point i get a DSN message stating Hi ! This is the MAILER-DAEMON, please DO NOT REPLY to this e-mail. An error has occurred while attempting to deliver a message. Recipient: @ Reason: so afaict smtpd is not grokking the alias line. clues as to what is going on here are welcome. cheers, jake
Re: remove users from group
h...@stare.cz (Jan Stary), 2010.12.13 (Mon) 09:15 (CET): On Dec 13 12:01:58, OpenBSD Geek wrote: I have 100 users in groups : clients, and ftp_group How can i remove these 100 users from ftp_group ? I have already try usermod, but it only add users to group, not remove. Is there a way to achieve my task ? Sadly, no. These users will be members of these groups forever. There's nothing you can do about it. You can only reinstall. And do not forget to wipe your hard disk to make sure you have a clean re-install! Jan, you just brightened my monday morning, thanks! On the more serious side and for the OP: how about the unix way of combining simple tools to accomplish more complex tasks: 1) use id(1) to get the groups 2a) use sed(1) to get rid of the unwanted ones 2b) use tr(1) to get a newline seperated list and grep(1) to get rid of the unwanted groups. 3) use tr(1) again to transform the new list to a format suitable for usermod(8). 4) feed ``usermod -G'' the new list. OR just ``vi /etc/groups''.
hotplugd(8) ignoring devices attached before boot
hello all, for quite some time and until recently (1) hotplugd(8) used to pick up devices (2) that were attached before boot once it started. this behaviour has ceased with a snapshot just fetched (``OpenBSD 4.8-current (GENERIC) #512: Tue Dec 7 23:06:47 MST 2010''). has anyone else noticed the different behaviour? if this is confirmed, is it a bug or a feature? :-) bye and thanks in advance, marcus (1) recently is hard to define in that case since I was running a patched kernel until today. last but one snapshot I downloaded (and still have) at 2010-12-01 (``OpenBSD 4.8-current (GENERIC) #502: Tue Nov 30 15:05:27 MST 2010''). I dimly remember the change was already there but could test if need be. before that I still got ``OpenBSD 4.8-current (GENERIC) #495: Mon Nov 22 11:31:16 MST 2010'' and if my memory serves right hotplugd was picking up the devices at that time. (2) devices I tested with: ``ath0 at cardbus0'', ``ubt0 at uhub1''. OpenBSD 4.8-current (GENERIC) #512: Tue Dec 7 23:06:47 MST 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072721920 (1023MB) avail mem = 1045118976 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries) bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003 bios0: IBM 2366EG9 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 94 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type LION oem GW acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: DOCK not docked (0) bios0: ROM list: 0xc/0x1 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 mem address conflict 0x5000/0x1000 mem address conflict 0x5100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11, address 00:09:6b:3f:67:a8 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0 wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: WDC WD1600BEVE-00WZT0 wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 Intel 82801CA/CAM SMBus rev 0x02: irq 11 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02: irq 11, ICH3 AC97 ac97: codec id 0x41445348 (Analog Devices AD1881A) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0
Re: ``login(1) -f'' usage
Hello Otto, all, o...@drijf.net (Otto Moerbeek), 2010.12.05 (Sun) 22:56 (CET): On Sun, Dec 05, 2010 at 07:58:34PM +0100, MERIGHI Marcus wrote: When I use ``login -f $USER'' in default shell I am prompted for ``Password:''. What am I getting wrong about login(1) saying: -f The -f option is used when a user name is specified to indicate that proper authentication has already been done and that no password need be requested. This option may only be used by the superuser or when an already logged in user is logging in as themselves. (It works as expected when run as root or with sudo, though) You fall into the Note that if login is invoked by a non-root user, it will execute su(1) in login emulation mode instead. case. my reading capabilities again. Thanks for pointing that out. I believe this is a documentation error. Since su(1) does not provide the equivalent functionality (hoping my reading was better this time) I suggest the following diff: Index: login.1 === RCS file: /cvs/src/usr.bin/login/login.1,v retrieving revision 1.28 diff -u -r1.28 login.1 --- login.1 16 Oct 2009 12:29:37 - 1.28 +++ login.1 6 Dec 2010 09:12:42 - @@ -70,8 +70,7 @@ option is used when a user name is specified to indicate that proper authentication has already been done and that no password need be requested. -This option may only be used by the superuser or when an already -logged in user is logging in as themselves. +This option may only be used by the superuser. .It Fl h Ar hostname Specifies the host from which the connection was received. This option may only be used by the superuser.
Re: RSS/Atom feed reader
punoseva...@gmail.com (Predrag Punosevac), 2010.12.05 (Sun) 06:42 (CET): As the title says I am in the search for a good RSS/Atom feed reader preferably for console(ncurses). I tried two of them from the ports: snownews and rawdog. I really like snownews but it seems that it has some problems with RSS 2.0. Even worse I have been not being able to used with Atom feeds inspite the fact that I installed atom2rss extension. I use snownews rarely (though I like it) and dug in to my ~/.snownews/urls file to find lines like: http://www.heise.de/ct/rss/artikel-atom.xml|heise c't-Themen||\ xsltproc /usr/local/share/snownews/atom2rss.xsl - checked and it works. Are you using it this way? Bye, Marcus
``login(1) -f'' usage
When I use ``login -f $USER'' in default shell I am prompted for ``Password:''. What am I getting wrong about login(1) saying: -f The -f option is used when a user name is specified to indicate that proper authentication has already been done and that no password need be requested. This option may only be used by the superuser or when an already logged in user is logging in as themselves. (It works as expected when run as root or with sudo, though) Please hit me with the clue stick! Bye, Marcus
ZTE MF112 HSUPA - report and patch for usbdevs, umsm.c
hello, bought a ZTE MF112 today for my girlfriends ms win notebook. Took the chance to test it on OpenBSD. Without the patches below the thingy attaches as umsm for a second, detaches and re-attaches as umass. After patching it attaches as umsm0, umsm1, umsm2, umsm3 and ucom0, ucom1, ucom2. ucom2 is the one you would want to use with pppd. I inspected the modem log on ms win to find out what AT commands are used by the proprietary software, here we go: TIMEOUT 5 ECHO ON ABORT BUSY ABORT ERROR ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE '' AT OK ATV1 OK ATE1 OK ATFD2C1S0=0 OK ATS7=60S30=0 OK ATS0=0 '' AT OK ATV1 OK ATE1 OK ATFD2C1S0=0 OK ATS7=60S30=0 # that's what it realy does: OK ATDT*### # but does not work for me on OpenBSD, so use usual: OK ATDT*99# CONNECT Do not ask me what the unusual ones of these commands do; all I can say is that I got a working internet link and minimal testing showed: (I got excellent reception here.) - got max speeds around 250KB/s - speed changed often and dropped down to as little as 1,5KB/s - sometimes it stayed there, sometimes it increased again. I am going to stick with my Sierra Wireless, AC850, 3G Network Adapter. Gives me only about 80KB/s but that reliably. btw, what is the right list for such patches? bye, Marcus Index: umsm.c === RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.68 diff -u -r1.68 umsm.c --- umsm.c 12 Oct 2010 21:08:08 - 1.68 +++ umsm.c 29 Nov 2010 14:35:40 - @@ -159,6 +159,7 @@ {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z }, 0}, {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF633 }, 0}, {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF637 }, 0}, + {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF112 }, DEV_UMASS4}, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0}, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0}, Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.525 diff -u -r1.525 usbdevs --- usbdevs 16 Nov 2010 22:28:35 - 1.525 +++ usbdevs 29 Nov 2010 14:35:43 - @@ -3055,6 +3055,7 @@ product ZTE CDMA_MSM 0x0001 CDMA Technologies MSM modem product ZTE MF633 0x0016 ZTE MF633 USUPA USB modem product ZTE MF637 0x0031 ZTE MF637 HSUPA USB modem +product ZTE MF112 0x0117 ZTE MF112 HSUPA USB modem product ZTE K3565Z 0x0063 ZTE K3565-Z USB MSM modem productZTE UMASS_INSTALLER20x0103 ZTE USB MSM installer product ZTE UMASS_INSTALLER0x2000 ZTE USB MSM installer
Re: Lenovo T400 bluetooth working?
Hello Jiri, ji...@live.com (Jiri B.), 2010.11.27 (Sat) 22:15 (CET): I'm trying to transfer some data to my Nokia 2630 from Lenovo T400 laptop. ubt0 at uhub3 port 2 Lenovo Computer Corp ThinkPad Bluetooth with Enhanced Data Rate II rev 2.00/3.99 addr 2 bthub0 at ubt0 00:23:4d:f7:ad:11 Pairing successful, but obexftp doesn't work :( Does anybody have T400? # obexftp -b phone -vvv -x No custom transport Connecting...failed: connect Still trying to connect same problem here, I do not think it's T400 related; my usb bluetooth thingy works just fine, I get serial access to my phone (a nokia 5230) via rfcomm_sppd and can do all sort of AT commands, even get internet access via pppd working (see http://www.tp76.info/stuff/btnet.html) - but no obexftp. And we are not the first: http://marc.info/?l=openbsd-portsm=123153087610342 Bye, Marcus p.s.: see http://www.daybefore.net/bluetooth_ppp.html too
Re: Thanks for the ACPI suspend+resume work!
hello joshua, misc@, sorry for faking your message, I am on digest... joshua_rick...@eumx.net (Josh Rickmar), 2010.07.09 (Fri) 15:31 (CEST): A big thank you to everyone who has been working on the ACPI code! +1 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg Unfortunately not on my IBM ThinkPad T30 (dmesg below), but getting closer: Until today's snapshot zzz caused display to go partly (!) off and console reporting devices (the way they are reported when inserted, blue lines, white text). I would have to revert to an old snapshot to get the exact details. After that nothing would happen unless I hit the on/off button (yes, I've tried every fn+F[1-12] combination) which made the half moon led (suspend indicator) start blinking (what it did in the good old non-acpi days for some seconds) and the hdd led was constantly on. Only a four second push of on/off remedied that. Now with OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 zzz turns the notebook off darn fast (faster then in pre-acpi times) but the display still shows remains of the last image and the backlight does not go off if I close the lid. No console messages shown anymore. No suspend indicator blinking. Once I press on/off, things return, I can write for a couple of seconds, then the hdd led goes constantly on and everything's dead. Remedy as above. One of the five tries gave me the following: wd0(pciide0:0.0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:0.0: bus-master dma error: missing interrupt, status 0x1 I got a spare T30 if need be. Until now I never noticed the mem address conflict line. Bye, Marcus OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT, PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072721920 (1023MB) avail mem = 1045188608 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries) bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003 bios0: IBM 2366EG9 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits \\_SB_.PCI0 post-crs: 0 \\_SB_.PCI0 post-bbn: 0, 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 94 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type LION oem GW acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpidock0 at acpi0: DOCK not docked (0) bios0: ROM list: 0xc/0x1 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 mem address conflict 0x5000/0x1000 mem address conflict 0x5100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 5 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11, address 00:09:6b:3f:67:a8 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0 wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2
Re: openbsd ca tutorial
Hello Abdullah, (since I am on digest I had to fake your message, sorry!) coffeesm...@gmail.com (Abdullah Sendul): I am trying to create my own CA on openbsd. but unfortunately couldnt find any tutorial on this, there are some on freebsd, linux, but they are giving some errors. can you please point me correct place if there is one. certainly not the right place, but a place anyways: http://www.tor.at/~McMer/ca/ It's just a Makefile and two openssl (thanks for the rant, Mr. Peereboom!) .cnf files. I usually put these three into a directory dedicated to the customer I make the CA for, cd there, edit ca.cnf and openssl.cnf and make help, follow the instructions. Bye, Max
Re: tpb startup
I'm in digest mode so please forgive if an answer was already given... (and that I had to fake the original message.) jeremych...@gmail.com (Jeremy Chase), 2009.06.03 (Wed) 16:56 (CEST): tpb works just fine on my IBM t42p, but I am having difficulty getting it to start automatically. I am using xdm and xfce and have tried starting it from .xsession and rc.local. When putting it in rc.local, but tpb just exits if there is no X session it can attach to. If I try this with .xsession; tpb will run as a daemon, but the and as user root. buttons don't work. $ cat .xsession /usr/local/bin/tpb -d --thinkpad=/usr/sbin/zzz exec startxfce4 I put this in my ~/.fvwmrc: snip AddToFunc InitFunction + I Exec exec tpb --daemon | logger -t tpb 21 /snip snip AddToFunc RestartFunction + I Exec exec tpb --daemon | logger -t tpb 21 /snip snip AddToFunc ExitFunction + I Exec exec pkill tpb /dev/null 21 /snip works for quite a while already, very seldomly tpb ignores the buttons, but restarting it helps. I have no idea on how this is done in xfce4, sorry. Bye, Max