Re: Keyboard won't work during OpenBSD 7.1 or 7.2 installation.
if you plug in a USB keyboard at that point it will probably be recognised so that you can use it for the install. hth Fred On Tue, 22 Nov 2022 at 06:19, Clint wrote: > > Dear Sirs, > > > > My name is Clint Wu, I had been told the DMP’s EBOX-336x mini PC (product > page <https://www.compactpc.com.tw/products/children/15> ) can run OpenBSD > 7.1. > > I had downloaded install71.img & install72.img ad use rufus 3.20 to crate > USB installer. > > When I boot up my mini PC till installation program show up as below > picture. > > My keyboard stop working at this stage. Did any one report this problem > before? > > Can you tell me how to solve this? what should I do next? Please advise, > thank you. > > > > > > Regards, > Clint > > >
Re: video shows green box on -current
sysctl kern.video.record=1 There is now more security, same as audio. Cheers Fred On Tue, 16 Mar 2021 at 23:07, Pau wrote: > > Hi, > > this is > > -current 6.9 GENERIC.MP#410 amd64 > > on a thinkpad x270 (dmesg bottom) > > Up to a few weeks ago I was using video with firefox and iridium > perfectly well, even for video calls with jit.si and element.io > > Now it shows a green box instead. It is not capturing the image. > Permissions are fine. > > This can be reproduced by simply calling > > $ video > > which "will read YUY2 encoded, 640 pixel wide and 480 pixel high video > frames from /dev/video and display them using the default Xv(3) > adaptor" > > It shows a green box. The light of the camera turns on, though. > > When capturing the video read to a file and reproducing it with e.g. > mplayer, the result is a grey display. > > Using read(2) to grab frames yields the same result. > > I updated -current a few minutes ago. > > Any idea? > > thanks, > > Pau > > -- > OpenBSD 6.9-beta (GENERIC.MP) #380: Sat Mar 6 11:37:06 MST 2021 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8080216064 (7705MB) > avail mem = 7819960320 (7457MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xbf0dd000 (62 entries) > bios0: vendor LENOVO version "R0IET43W (1.21 )" date 09/02/2017 > bios0: LENOVO 20HNA004CD > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT SSDT > BOOT BATB SSDT SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT > UEFI > acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) > RP02(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) > RP10(S4) RP11(S4) RP12(S4) RP13(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 2399 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1597.05 MHz, 06-8e-09 > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1502.87 MHz, 06-8e-09 > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1426.38 MHz, 06-8e-09 > cpu2: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1401.27 MHz, 06-8e-09 > cpu3: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,
Re: What determines source IP of traffic from OpenBSD box ?
Hi, pkg_add uses the $PKG_PATH environment variable to determine which source to use for packages, eg: wolf:fred ~: env |grep -i pkg PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ The interface used will be determined by the boxes routing table, so to specify an interface you would need to create a route that used the specified interface. Hth Fred > On 26 Feb 2021, at 10:53, Rachel Roch wrote: > > Hi > > Let's say I'm running "pkg_add -u" on a OpenBSD-based router with multiple > interfaces. > > What determines the source IP ? > > Building on that, there is no "source interface" flag for pkg_add like there > is for ping and certain others. Is there a way for me to configure a default > interface for utilities such as pkg_add to use ? > > Thanks ! > > Rachel >
Re: Black screen when starting Xorg with Dell XPS 13 9350
do you have an .xsession file in your /home/ directory? machdep.allowaperture=1 should not be needed for xenodm to work... I once had a similar issue where the X server would start with a black screen until I toggled either the keyboard brightness setting or the keyboard shortcut for internal / external monitor. hth Fred On Sat, 2 Mar 2019 at 23:13, Bryan Avery wrote: > > I have been unable to start X with a new install of OpenBSD on my > laptop. I am a beginner with OpenBSD. This is a Skylake laptop with > Intel 520 QHD graphics. During boot, the console shows with underscan, > then the resolution increases (but is still less than native), then > goes black upon starting Xorg. If I disable xenodm, the console is > visible and I am able to login on the laptop. The first time I enabled > and started xenodm, the screen went black. I was able to connect > through SSH and retrieve the Xorg.0.log which told me to add > machdep.allowaperture=1 to /etc/sysctl.conf which I did, but the > screen went black again after I rebooted. I am not able to understand > what went wrong from looking at the dmesg and Xorg.0.log. I have > tested this with and without a config in /etc/X11/xorg.conf.d and get > the same result. I am currently using /etc/X11/xorg.conf.d/intel.conf > with contents: > > Section "Device" > Identifier "drm" > Driver "intel" > Option "TearFree" "true" > EndSection > > dmesg: > > OpenBSD 6.4 (GENERIC.MP) #7: Thu Feb 28 18:56:25 CET 2019 > > r...@syspatch-64-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8433565696 (8042MB) > avail mem = 8168701952 (7790MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe (94 entries) > bios0: vendor Dell Inc. version "1.9.0" date 08/31/2018 > bios0: Dell Inc. XPS 13 9350 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT LPIT SSDT SSDT > SSDT DBGP DBG2 SSDT BOOT SSDT UEFI SSDT MSDM SSDT SLIC TCPA DMAR BGRT > ASF! > acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) > PEG2(S4) PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) > PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2295.40 MHz, 06-4e-03 > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 23MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.66 MHz, 06-4e-03 > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.65 MHz, 06-4e-03 > cpu2: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.65 MHz, 06-4e-03 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT
Re: french amd64 snapshot packages mirrors not synced
Antoine Jacoutot @ 17-02-2019 10:11 CET: Thanks, syncing should resume soon. This was due to a stuck job that filled the disk. Thank you very much. Cheers. -fredg
french amd64 snapshot packages mirrors not synced
Hi, In case nobody noticed, french mirrors are stucked on January, the 31. http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ http://ftp2.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ While many have synced a couple of times since. Last one is on February, the 15 : https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ https://ftp.spline.de/pub/OpenBSD/snapshots/packages/amd64/ … Best regards. -fredg
Re: Need an advice: Raspberry Pi3 B+ or Pine64 ROCK64
Hi hola, The raspi is fiddly for installing openbsd. One needs a special usb cable to install obsd because there is no driver for the sdcard booting device! Regards Alfredo On 26 Aug 2018, 10:30 +0100, Carlos López , wrote: > Hi all, > > I am considering to buy an ARM based device to use it with OpenBSD as > a personal/portable firewall, IDS and Tor gateway. > > My only requirements are: > > a/ OpenBSD well hardware's supported > b/ Best network throughput > > It seems Raspberry 3 B+ maybe the best option, but I am not pretty sure. > > Any advice? > > -- > Greetings, > C. L. Martinez >
Re: FAQ: dmesg archive
It's archive is only available to the developers. But their is a publicly list at: http://dmesgd.nycbug.org/index.cgi On Tue, 26 Jun 2018, 13:59 Rupert Gallagher, wrote: > There seems to be a dm...@openbsd.org address where to post such stuff, > but I could not find its archive, nor I could find a searchable database. > Do I have to search harder? >
Re: virtual colocation? Amazon/cloud?
On 06/14/18 21:50, Steve Fairhead wrote: Yes, I have consulted the interwebs. But, forsooth, the interwebs have forsaken me... I've been running various colocated OpenBSD boxen for a long time (19 years?). The hardware is mine; the phat pipe I pay for, in some aircon'ed warehouse somewhere in southern England... never been... (I'm in West Sussex/Surrey, but I doubt that matters these days.) Two of my machines are getting a little elderly, and need replacing... and my son-in-law (I quite like him) said "have you considered virtual hosting?". Hmmm. I would love to be able to do this - make the hardware someone else's problem - and maybe into the bargain pay less per month. I gather Amazon are not quite there yet re OpenBSD virtual machines. Can anyone here provide a cluebat as to prospects or alternatives? I don't want to move away from OpenBSD - it's my security blanket... and I love it *so* much... Steve I like mythic beasts[1] - they have data centres in Cambridge and London - they are technically literate and both my OpenBSD VM are with them. Cheers Fred [1]https://www.mythic-beasts.com/
Re: OpenBSD logo on my private hompage. It is allowed?
On 06/07/18 23:36, Johannes Krottmayer wrote: Hallo, Can I use the OpenBSD logo on my homepage? It is allowed? I can't find any information about this plan. My homepage with logo (currently under construction): https://krottmayer.com Best regards, Johannes Krottmayer http://www.openbsd.org/art1.html has the following statement: Most images provided here are copyright by OpenBSD, by Theo de Raadt, or by other members or developers of the OpenBSD group. However, it is our intent that anyone be able to use these images to represent OpenBSD in a positive light -- but do not make profit from them. Our primary distributors make T-shirts. So enjoy them and let the world see them, if that is your wish. So yes you can, but they are still copyrighted works. Cheers Fred
Initial Coin Offerings Laws and Regulations
Subject: Initial Coin Offerings Laws and regulations We help businesses with Initial Coin Offerings. We furthermore take firms public. The president of our company is a very specialized securities lawyer. The SEC has basically stated that all Initial Coin Offerings are financial instruments and governed by United States of America securities rules and regulations. We enjoy paying for referral fees when appropriate. If you please, send out this email to a friend, relative or business associate that may consider going public in the future. When executing an ICO it is useful to be guided by a knowledgeable securities law professional. We can also support you with the technical aspects of blockchain technology. You do not have to become a publicly traded enterprise in order to attract funding for your coin offering. Nonetheless, you must perform some sophisticated filings with the Securities and Exchange Commission as well as provide documentation in great detail to the SEC and investors before raising capital. Failure to do so may result in the SEC penalizing you and forcing the disgorgement of funding. This means for example if you raise $20 million and spend it on legitimate business expenses but have not followed securities law then you will owe the SEC $20 million. The SEC is like the IRS they will hound you the rest of your life until they collect. Now, you do not have to worry if you follow all the securities laws. Here is more about our other service which is taking companies public: In addition to taking companies public we can form a new public shell company for attorneys, CPA's and investment bankers. A public company can be a very valuable tool in many ways. As a public company, you can do a private placement at a discount to the open market price. Under certain circumstances, if you register the offering and follow other guidelines, you can advertise to the general public that you are a public company. You also may be able to trade stock for advertising, employee compensation, to acquire companies and other tangibles. Our services also include introductions to our network of broker dealers, investment banks, brokerage firms and other financial institutions. We also provide investor relations consulting which assists with investor awareness as well as consulting on how to create more interest in your company in the Wall Street and investment communities. There are no asset, revenue or time in business requirements to go public in the United States. This means even a development stage company can go public. If you are involved with a US or foreign companies, an attorney, a CPA or other advisor that may be aware of a company that one day may consider going public, please contact us or pass this information on to them. We believe in developing long term relationships. We thank you and look forward to hearing from you regarding how we can best help and work with you. We look forward to your reply. Sincerely, Fred Jansen All Financial Network 9454 Wilshire Blvd Beverly Hills, CA 90212 Phone: (646) 205-3835 If you do not wish to receive further correspondence, please click here to send us your request. Otherwise you may reply to this email with the words "No Longer" in the subject line.
Re: acme-client new cert error
l 6 Series PCIE" rev 0xb5: msi pci2 at ppb1 bus 2 rtwn0 at pci2 dev 0 function 0 "Realtek RTL8192CE" rev 0x01: msi rtwn0: MAC/BB RTL8192CE, RF 6052 2T2R, address 14:da:e9:f0:d9:de ppb2 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi pci4 at ppb3 bus 4 re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 14:da:e9:b7:15:30 rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5 ppb4 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb5: msi pci5 at ppb4 bus 5 ppb5 at pci0 dev 28 function 4 "Intel 82801BA Hub-to-PCI" rev 0xb5: msi pci6 at ppb5 bus 6 ppb6 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: msi pci7 at ppb6 bus 7 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel H61 LPC" rev 0x05 pciide0 at pci0 dev 31 function 2 "Intel 6 Series SATA" rev 0x05: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 0 int 20 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 0 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 pciide1 at pci0 dev 31 function 5 "Intel 6 Series SATA" rev 0x05: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 0 int 20 for native-PCI interrupt isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33 lm1 at wbsio0 port 0x290/8: NCT6776F uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on wd0a (766cf76462667bec.a) swap on wd0b dump on wd0b Hi, What does your httpd.conf say for acme-challenge? Cheers Fred
Re: NFS server down, again, and again, and again...
On 04/19/18 16:39, Steve Williams wrote: On 19/04/2018 7:55 AM, Rupert Gallagher wrote: On Thu, Apr 19, 2018 at 15:38, Zé Loff <zel...@zeloff.org> wrote: # mountd -d > /var/log/mountd.log 2&>1 & It is the first thing I did this morning. Unfortunately it does not survive when ssh breaks out. Also, mountd -d is returning the shell prompt again, so I have no logs at all. Hi, A couple of things... you need to read about "nohup" if you are trying to run programs in the background and they are getting killed when the ssh session ends. Additionally, there are two programs that are very useful.. script and screen "script" is on every Unix type system that I've ever been on in my last 35+ years of working on Unix type systems. I believe that there is an "in-tree" replacement for the functionality that "screen" brings, but I cannot remember what it's called. Otherwise, use the screen package. "screen" allows you to run an interactive session (mountd -d) and "detach" (^AD) the session, log out, and at some point in the future, "resume" the screen session.. (screen -r). Combined with "script", which will log all information that is appearing on the screen to a file, you should be able to run "mountd -d" and capture all information to a file, as well as resuming the session to see what is going on interactively. Cheers, Steve W. tmux(1) is included in the base install of OpenBSD - it is a modern and better replacement for screen :~) Cheers Fred
Re: thank you for 6.3
Hi, I am running 6.3 on my diy PC as a desktop and it just works! Thanks from me to all openBSD developers... On 18 April 2018 19:15:02 Scott Bondswrote: Under 6.2 my laptop would hang a few hours after waking from sleep, and it was my own damn fault for running an unsupported config (Lenovo x200 + coreboot + SeaBIOS). But after upgrading to 6.3 I haven't been able to get it to hang and I find myself back in 'it just works' land which is so, so nice. So nice. I don't know who to thank, and maybe the dev that fixed my issue wouldn't know *they* fixed it, but...thank you.
Re: webcam in browser not seen
On 04/07/18 12:16, Максим wrote: Hello, I have a laptop with OpenBSD 6.3 64bit installed. There is a webcam on the laptop which is detected in dmesg as uvideo0 device. The problem is that the webcam is not seen in browser. I tried to setup a Google Meet session. Audio and mic seem to have been detected (after I installed gstreamer1-plugins-good and gstreamer1-plugins-libav). The webcam section shows that there is no webcam in the system. -- Best regards Maxim Rodin Hope fully this post to b...@openbsd.org will fix your issue: https://marc.info/?l=openbsd-bugs=152231686416039=2 hth Fred
video (1) Unable to use webcam
Hi misc@ Can anyone give me a clue bat why video(1) is no longer working in 6.3-beta (dmesg below) it does work in 6.2 - its complaining about not finding the right encoding or that Xv adaptor cannot display yuy2. The webcam works fine when I use ffmpeg or fswebcam. ktrace(1) has some "errno 35 Resource temporarily unavailable" error messages but nothing obvious is jumping out at me. port:fred ~> video -q -f /dev/video0 video device /dev/video0: encodings: yuy2 frame sizes (width x height, in pixels) and rates (in frames per second): 160x120: 30, 25, 20, 15 176x144: 30, 25, 20, 15 320x240: 30, 25, 20, 15 352x288: 30, 25, 20, 15 640x480: 30, 25, 20, 15 1280x720: 9 controls: brightness, contrast, saturation, hue, gain, gamma, sharpness port:fred ~> video -f /dev/video0 video: could not find a usable encoding port:fred ~> video -e yuy2 -f /dev/video0 video: Xv adaptor 0 can't display yuy2 Thanks Fred dmesg: OpenBSD 6.3 (GENERIC.MP) #68: Fri Mar 16 01:24:47 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17037066240 (16247MB) avail mem = 16513662976 (15748MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries) bios0: vendor TOSHIBA version "Version 3.60" date 01/24/2012 bios0: TOSHIBA TOSHIBA acpi0 at bios0: rev 0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT SSDT acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(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) i5-2520M CPU @ 2.50GHz, 2492.27 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache acpihpet0: recalibrated TSC frequency 2491912131 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz cpu2: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz cpu3: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEGP) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus 4 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus 5 (RP05) acpiprt7 at acpi0: bus 6 (RP06) acpiprt8 at acpi0: bus 7 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PCIB) acpicpu0 at acpi0: C2(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PDOC, resource for DOCK acpitz0 at acpi0: critical temperature is 102 degC tpm0 at acpi0: GTPM addr 0xfed4/0x5000: Infineon SLB9635 1.2 rev 0x10 "TOS0220" at acpi0 not configured acpitoshiba0 at acpi0 "TOS6205" at acpi0 not configured "PNP0C32" at acpi0 not conf
Re: xlock Does Not Unlock (Snapshot)
28.231] (**) ws: /dev/wsmouse0: associated screen: 0 [28.659] (II) ws: /dev/wsmouse0: minimum x position: 0 [28.659] (II) ws: /dev/wsmouse0: maximum x position: 3839 [28.659] (II) ws: /dev/wsmouse0: minimum y position: 0 [28.659] (II) ws: /dev/wsmouse0: maximum y position: 1079 [28.659] (==) ws: /dev/wsmouse0: Buttons: 7 [28.663] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5 [28.663] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: MOUSE, id 7) [29.091] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1 [29.091] (**) /dev/wsmouse0: (accel) acceleration profile 0 [29.091] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000 [29.091] (**) /dev/wsmouse0: (accel) acceleration threshold: 4 [29.092] (II) config/wscons: checking input device /dev/wsmouse [29.092] (II) Using input driver 'ws' for '/dev/wsmouse' [29.092] (**) /dev/wsmouse: always reports core events [29.092] (II) ws: /dev/wsmouse: debuglevel 0 [29.092] (**) Option "Device" "/dev/wsmouse" [29.092] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [29.092] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [29.092] (**) ws: /dev/wsmouse: associated screen: 0 [29.093] (II) ws: /dev/wsmouse: minimum x position: 0 [29.093] (II) ws: /dev/wsmouse: maximum x position: 3839 [29.093] (II) ws: /dev/wsmouse: minimum y position: 0 [29.093] (II) ws: /dev/wsmouse: maximum y position: 1079 [29.093] (==) ws: /dev/wsmouse: Buttons: 7 [29.093] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [29.093] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8) [29.093] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [29.093] (**) /dev/wsmouse: (accel) acceleration profile 0 [29.093] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [29.093] (**) /dev/wsmouse: (accel) acceleration threshold: 4 [29.557] (II) modeset(0): EDID vendor "LGD", prod id 1133 [29.557] (II) modeset(0): Printing DDC gathered Modelines: [29.557] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [29.596] (II) modeset(0): EDID vendor "LGD", prod id 1133 [29.596] (II) modeset(0): Printing DDC gathered Modelines: [29.596] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [29.629] (II) modeset(0): EDID vendor "LGD", prod id 1133 [29.629] (II) modeset(0): Printing DDC gathered Modelines: [29.629] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [29.886] (II) modeset(0): EDID vendor "LGD", prod id 1133 [29.886] (II) modeset(0): Printing DDC gathered Modelines: [29.886] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [29.916] (II) modeset(0): EDID vendor "LGD", prod id 1133 [29.916] (II) modeset(0): Printing DDC gathered Modelines: [29.916] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [30.165] (II) modeset(0): EDID vendor "LGD", prod id 1133 [30.165] (II) modeset(0): Printing DDC gathered Modelines: [30.165] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [73.351] (II) AIGLX: Suspending AIGLX clients for VT switch [88.935] (II) AIGLX: Resuming AIGLX clients after VT switch [88.956] (II) modeset(0): EDID vendor "LGD", prod id 1133 [88.956] (II) modeset(0): Printing DDC gathered Modelines: [88.956] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) [ 202.172] (II) AIGLX: Suspending AIGLX clients for VT switch [ 226.943] (II) AIGLX: Resuming AIGLX clients after VT switch [ 226.973] (II) modeset(0): EDID vendor "LGD", prod id 1133 [ 226.973] (II) modeset(0): Printing DDC gathered Modelines: [ 226.973] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 +hsync -vsync (66.7 kHz eP) does ktrace -di xlock give any other clues - as nothing jumps out from Xorg.log. Cheers Fred
Re: httpd and wordpress
On 06/03/17 20:52, Markus Rosjat wrote: Hi there, well if it would be up to me I would skip wordpress for good but well it's not my decition. So I was wondering if there is some recommendations on what to block in the httpd.conf and what file permissions to use. For now I have: - like wordpress suggest 0755 on dirs and 0644 on files - wp-config.php setting to 0400 is not going to work at all I need at least a 0644 or nothing shows up - in http.conf I blocked /wp_content , /wp-content /uploads/*.php, /wp-includes, /wp-includes/*.php and /wp-admin so if there is something I can do further to harden things just let me know :) advice is most apreciated Regards Running WPScan[1] against your WordPress installation can be useful to check that your WordPress install isn't too full of holes. Cheers Fred [1]https://github.com/wpscanteam/wpscan
Re: Etnernal & infernal browser woes
On 04/28/17 14:00, David Coppa wrote: On Fri, Apr 28, 2017 at 2:18 PM, Jyri Hovila [iki.fi] <jyri.hov...@iki.fi> wrote: Dear everyone, With the above disclaimer said, and still knowing the potential for a war, I must say this: There is not much hope for OpenBSD to ever become a desktop (or laptop) OS if the nightmarish sluggishness of ALL modern web browsers can not be solved. Have you properly configured your user? What I usually do is: 1) be sure my user has the "staff" class: # grep dcoppa /etc/master.passwd dcoppa:***:1000:1000:staff:0:0:David Coppa:/home/dcoppa:/bin/ksh 2) I have this at the top of my ~/.profile: ---8<--- # bump limits ulimit -S -d $(ulimit -H -d) ulimit -S -n $(ulimit -H -n) ulimit -S -p $(ulimit -H -p) ulimit -S -s $(ulimit -H -s) ---8<--- With chromium or iridium it's not as bad as you have described. Personally I use iridium on a daily basis. Ciao! David I have to agree with David - here I used chrome on a daily basis with a minimum of two chrome windows with at least 4 tabs in each - and I do not see the issues you describe, my laptop is coming up for 4 years old, with some info from dmesg shown at [1]. Cheers Fred PS I have been a happy OpenBSD desktop user since July 2001 :~) [1] port:fred ~> dmesg|head -4; dmesg|grep i5-2520 OpenBSD 6.1-current (GENERIC.MP) #67: Mon Apr 17 15:22:46 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17037066240 (16247MB) avail mem = 16516042752 (15750MB) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.23 MHz cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.90 MHz cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.90 MHz cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.90 MHz
Re: Strange PF behaviour after 6.0 -> 6.1 pgrade
On 04/19/17 23:30, Sjöholm Per-Olov wrote: Anyone with a clue would be _very_ much appreciated…. I upgraded from 6.0 to 6.1 two days ago and **did not change anything to the network** stuff at all. After that clients have random problems reaching my dmz web server (centos + nginx). I have checked the release notes, but could not see any clue there. Se logs below # Relevant rules from PF LAN_INT="vlan2" DMZ1_INT="vlan3" DMZ2_INT="vlan4" GUEST_INT="vlan1003" INTERNET_INT="em3 ALL_INTERFACES="{" $LAN_INT $GUEST_INT $DMZ1_INT $DMZ2_INT $INTERNET_INT "}" pass out on $ALL_INTERFACES inet proto {tcp gre esp udp icmp ipv6} all keep state pass out on $ALL_INTERFACES inet6 proto {tcp gre esp udp icmp6} all keep state pass out on $IPV6_TUNNEL_INT inet6 all keep state pass in log quick on $INTERNET_INT inet proto tcp from any to $DMZ1_DAEDALUS port { 80 443 } label "webstats:$dstport" flags S/SAFR keep state (max-src-nodes 90, max-src-states 150, max-src-conn 150, max-src-conn-rate 250/30, overload flush global) # Log that after upgrade shows problems in the logs related to this directly after the upgrade root@xanadu:/var/log#tcpdump -e -n -ttt -r /var/log/pflog.6|grep block|grep 155.4|grep out |grep ': R' tcpdump: WARNING: snaplen raised from 116 to 160 root@xanadu:/var/log#tcpdump -e -n -ttt -r /var/log/pflog.5|grep block|grep 155.4|grep out |grep ': R' tcpdump: WARNING: snaplen raised from 116 to 160 root@xanadu:/var/log#tcpdump -e -n -ttt -r /var/log/pflog.4|grep block|grep 155.4|grep out |grep ': R' tcpdump: WARNING: snaplen raised from 116 to 160 root@xanadu:/var/log#tcpdump -e -n -ttt -r /var/log/pflog.3|grep block|grep 155.4|grep out |grep ': R' tcpdump: WARNING: snaplen raised from 116 to 160 root@xanadu:/var/log#tcpdump -e -n -ttt -r /var/log/pflog.2|grep block|grep 155.4|grep out |grep ': R' tcpdump: WARNING: snaplen raised from 116 to 160 Apr 17 05:43:36.359067 rule 63/(match) block out on em3: 155.4.8.28.80 > 164.132.161.92.46942: R 0:0(0) ack 2697518940 win 0 (DF) Apr 17 05:43:37.358688 rule 63/(match) block out on em3: 155.4.8.28.80 > 164.132.161.92.46942: R 0:0(0) ack 1 win 0 (DF) Apr 17 05:43:39.362671 rule 63/(match) block out on em3: 155.4.8.28.80 > 164.132.161.92.46942: R 0:0(0) ack 1 win 0 (DF) Apr 17 06:10:24.490412 rule 63/(match) block out on em3: 155.4.8.28.80 > 139.162.111.147.33930: R 0:0(0) ack 1409896759 win 0 (DF) Apr 17 06:32:45.198754 rule 63/(match) block out on em3: 155.4.8.28.80 > 180.76.15.26.42835: R 0:0(0) ack 3718886589 win 0 (DF) Apr 17 06:32:46.198338 rule 63/(match) block out on em3: 155.4.8.28.80 > 180.76.15.26.42835: R 0:0(0) ack 1 win 0 (DF) Apr 17 06:41:29.366359 rule 63/(match) block out on em3: 155.4.8.28.80 > 51.255.65.91.42819: R 0:0(0) ack 4294673273 win 0 (DF) Apr 17 06:41:30.365396 rule 63/(match) block out on em3: 155.4.8.28.80 > 51.255.65.91.42819: R 0:0(0) ack 1 win 0 (DF) Apr 17 06:41:32.369399 rule 63/(match) block out on em3: 155.4.8.28.80 > 51.255.65.91.42819: R 0:0(0) ack 1 win 0 (DF) — cut the rest — What have I missed? Tnx in advance Peo Thanks Peo You might get some clues from: pfctl -sr -R 63 Cheers Fred
Re: strict separation base system and third party software
On 10/27/16 21:17, kuniyo...@free.fr wrote: Hello. I am a (happy) operating system user OpenBSD -current (architecture amd64) on my laptop Lenovo ThinkPad X200s. :) I would like to learn more about this system. I'm curious. I recently realized that the third-party software configuration files were in "/etc" instead of "/usr/local/etc" that does not exist (like FreeBSD). Why? Regards, kuniyoshi Different design, different philosophy, and different goals [1] but the same BSD heritage. The following are a good starting place http://man.openbsd.org/man.1 http://man.openbsd.org/hier.7 http://man.openbsd.org/packages.7 and they can all be found on your system if you installed the manXX.tgz sets hth Fred [1] http://www.openbsd.org/goals.html
Re: OpenBSD Only BSD Install Image Booting on MS Surface Pro 3
On 10/23/16 01:23, David Clark wrote: Just thought you might like to know that OpenBSD is currently the only BSD whose Live CD or USB Image I have been able to boot on my Microsoft Surface Pro 3. Not NetBSD, FreeBSD, or DragonFlyBSD. Not ready to install yet, but if I do, I'll send you stats post installation. David I've been running OpenBSD on a Surface Pro 3 for a while, see dmesg below. The Marvel wireless currently does not work so using a usb ethernet adapter for networking. Cheers Fred dmesg: OpenBSD 6.0-current (GENERIC.MP) #2559: Tue Oct 11 18:42:09 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 3f<config_unit,memory_size,fixed_disk,invalid_time> real mem = 4179070976 (3985MB) avail mem = 4047880192 (3860MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xabc09000 (19 entries) bios0: vendor American Megatrends Inc. version "3.11.0760" date 03/16/2015 bios0: Microsoft Corporation Surface Pro 3 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC FPDT SSDT HPET MSDM WDSA LPIT DBGP HPET MCFG SSDT SSDT SSDT SSDT UEFI DMAR BGRT acpi0: wakeup devices WIFI(S4) LID0(S3) EC0_(S3) XHC_(S4) HDEF(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 1796.17 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 1795.85 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 1795.85 MHz cpu2: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 1795.85 MHz cpu3: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 40 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (BR03) acpiprt2 at acpi0: bus -1 (BR04) acpiprt3 at acpi0: bus -1 (BR05) acpiprt4 at acpi0: bus -1 (BR0B) acpiprt5 at acpi0: bus 1 (RP01) acpiprt6 at acpi0: bus -1 (PEG0) acpiprt7 at acpi0: bus -1 (PEG1) acpiprt8 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: CAMP, resource for HS07, HS08 acpipwrres1 at acpi0: TPWR, resource for TCH1 acpipwrres2 at acpi0: PAUD, resource for HDEF acpipwrres3 at acpi0: PRWF, resource for WIFI acpitz0 at acpi0acpitz0: TZ0_: failed to read _CRT acpitz0: TZ0_: failed to read _HOT acpitz0: TZ0_: failed to read _TMP acpitz0: TZ0_: failed to read _TMP acpibtn0 at acpi0: LID0 "MSHW0029" at acpi
Fwd: Booting BSD on a Libreboot system - documentation needed
Hi misc@ The following message was sent to bugs@ but probably belongs here... Libreboot is no longer a GNU project and they are keen to better support OpenBSD and the *BSD's in general. Cheers Fred Forwarded Message Subject: Booting BSD on a Libreboot system - documentation needed Date: Fri, 30 Sep 2016 15:58:18 +0100 From: Leah Rowe <i...@gluglug.org.uk> To: b...@openbsd.org CC: mail...@lists.dragonflybsd.org, freebsd-b...@freebsd.org, netbsd-b...@netbsd.org -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear BSD community, Libreboot is a free/opensource BIOS/UEFI implementation/replacement. GNU/Linux is supported well, but people have recently started figuring out how to boot BSD. More info about libreboot at https://libreboot.org/ We wish to have more involvement from the BSD communities, and are willing to accommodate them. See: https://libreboot.org/faq/#bsd We wish for official documentation. See: https://libreboot.org/docs/gnulinux/ We want something like that for BSD, so it would become: https:///libreboot.org/docs/bsd/ That FAQ page shows guides already. We just need proper docs in libreboot.org/docs The libreboot documentation is in the main libreboot repository. You can find the instructions for cloning git and sending patches at: https://libreboot.org/git/ Thanks! - -- Leah Rowe Libreboot developer Use free software. Free as in freedom. https://en.wikipedia.org/wiki/Free_software Use a free operating system, GNU/Linux. Use a free BIOS. https://libreboot.org/ Support computer user freedom. https://peers.community/ Minifree Ltd, trading as Ministry of Freedom | Registered in England, No. 9361826 | VAT No. GB202190462 Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK | Web: http://minifree.org/ iQEcBAEBCAAGBQJX7n1/AAoJEP9Ft0z50c+UXQkH/1JWeWA3lXrRDXFtGwwvkyWN yrb7V/3Pb0und5vvLU1LYTcBK3uSUNq1UJnPS0hDtnaqvIj86qncxE5xkGPRQk8X LQRmfpDRUweFZJtiQVLychV+R6h0npO7NsSJs8diUnmlKLxCtspXh1SiBue7KDvs 1Jfwy2DAdGPNT2Z5Vzxs+aaN5B3PElgvHDxN1QHt8VTk7cYPy1m7es+R0TZ0wNV/ c3nd3Xd3qKmoPp6M1jTdTewz/muFwaCjoJNpz1Rl1Yxn21hPikkNLshkIG2J4NZq q39tuMGxSJubKHzwyxx5I+lN5uYdPLFz1rXE6UoUB/fH8nGRlrqKasYHH2+WiNo= =4Y9u -END PGP SIGNATURE-
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On 09/23/16 13:28, yra ten wrote: I've been looking for a solution, and then stumbled on this: https://marc.info/?l=openbsd-misc=138477729520448=2 So it looks like OpenBSD's bootloader needs too be in first 128 GB of the disk. As for dualbooting I want to use OpenBSD but I'll sonn start college, and we have digital logic class in firs semester, and I will be required to use Xilinx ISE on their machines so I want to have it on my PC too. As far as I know Xilinx ISE supports only Windows and Linux, and OpenBSD 6.0 no longer supports linux_compat, so that's why I went with dual booting. Or run it all on OpenBSD and run Windows and Linux in qemu from ports. Works for me ;~) Fred
Re: cuaU0 problems
On 09/19/16 21:00, Edgar Pettijohn wrote: On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: Hello Edgar, I have no Soekris, but Apu2 is also connected with a serial cable. When cable is plugged in the controlling pc before booting, it is to be found as /dev/cuaU???0. When I plug it in after the boot completed, it is to be found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) Hope this helps debugging. Feedback would be fine. Thanks for the reply. It has always worked with: # cu -l cuaU0 when it stopped working I tried cuaU{1,2} with same result. I suppose I may as well provide some dmesg porn. Freundliche Gre / Regards -stefan kapfhammer Originalnachricht Von: Edgar Pettijohn Gesendet: Montag, 19. September 2016 20:52 An: misc@openbsd.org Betreff: cuaU0 problems I use a usb serial cable to talk to my soekris router. That works with 6.0 release but not current. I was hoping to find commits related to it and roll back to find what broke it, but I'm not sure where to look. Any help is appreciated. Thanks, -- Edgar Pettijohn According to the dmesg you have: puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes did you try cuaU3? hth Fred
Re: ksh, PS1 and PWD
On 08/04/16 00:25, Fred wrote: On 08/03/16 23:19, Uwe Werler wrote: Hello list, maybe this can be done better (~/.kshrc): _pwd(){ local _len="25" local _sym="/<.." [[ ${PWD} == ${HOME}* ]] && { PWD="~${PWD#${HOME}}"; _sym="~${_sym#/}"; } [[ ${#PWD} -gt $_len ]] && { typeset -R"$_len" local _pwd=$PWD; PWD="${_sym}/${_pwd#*/}"; } print $PWD } PS1='\h:$(_pwd)\\$ ' Any hints? Thanks in advance. are you looking for \w? as in: PS1="\h:\u \w> " hth Fred \w won't help shorten the $PWD Sorry for the noise...
Re: ksh, PS1 and PWD
On 08/03/16 23:19, Uwe Werler wrote: Hello list, maybe this can be done better (~/.kshrc): _pwd(){ local _len="25" local _sym="/<.." [[ ${PWD} == ${HOME}* ]] && { PWD="~${PWD#${HOME}}"; _sym="~${_sym#/}"; } [[ ${#PWD} -gt $_len ]] && { typeset -R"$_len" local _pwd=$PWD; PWD="${_sym}/${_pwd#*/}"; } print $PWD } PS1='\h:$(_pwd)\\$ ' Any hints? Thanks in advance. are you looking for \w? as in: PS1="\h:\u \w> " hth Fred
NSA addition to ifconfig
Following this tweet: https://twitter.com/_mcbride/status/733766997343883264 I thought I would add the nsa option to ifconfig: port:fred ~/code/c/stuff/ifconfig> doas ./ifconfig iwn0 lladdr nsa which results in: port:fred ~/code/c/stuff/ifconfig> ifconfig iwn0 iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:20:91:9d:48:06 index 2 priority 4 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "" The following patch updates ifconfig.c and ifconfig.8 to add the nsa option :~) Enjoy Fred --- /usr/src/sbin/ifconfig/ifconfig.c Mon May 9 23:03:20 2016 +++ ./ifconfig.cSun May 22 11:04:30 2016 @@ -5189,7 +5189,14 @@ setiflladdr(const char *addr, int param) { struct ether_addr *eap, eabuf; - if (!strcmp(addr, "random")) { + if (!strcmp(addr, "nsa")) { + arc4random_buf(, sizeof eabuf); + /* NSA hardware address */ + eabuf.ether_addr_octet[0] = 0x00; + eabuf.ether_addr_octet[1] = 0x20; + eabuf.ether_addr_octet[2] = 0x91; + eap = + } else if (!strcmp(addr, "random")) { arc4random_buf(, sizeof eabuf); /* Non-multicast and claim it is a hardware address */ eabuf.ether_addr_octet[0] &= 0xfc; --- /usr/src/sbin/ifconfig/ifconfig.8 Mon May 9 23:03:20 2016 +++ ./ifconfig.8Sun May 22 11:01:14 2016 @@ -323,10 +323,11 @@ of this is to select the connector type for some Ether Refer to the man page for the specific driver for more information. .It Fl link[0-2] Disable special processing at the link level with the specified interface. -.It Cm lladdr Ar etheraddr Ns | Ns Cm random +.It Cm lladdr Ar etheraddr Ns | Ns Cm random | Ns Cm nsa Change the link layer address (MAC address) of the interface. -This should be specified as six colon-separated hex values, or can -be chosen randomly. +This should be specified as six colon-separated hex values, can +be chosen randomly, or first three octets of 00:20:91 and random +last three octets. .It Cm media Op Ar type Set the media type of the interface to .Ar type .
Re: Suggestion: new webpage for openbsd.org
On 05/17/16 08:11, Joakim Frostegård wrote: Hi, I’ve made a responsive new webpage replacement for the in my opinion somewhat aged openbsd.org <http://openbsd.org/>. It’s available at http://greatest-ape.github.io/openbsd-site/public_html/ <http://greatest-ape.github.io/openbsd-site/public_html/> with the repo at https://github.com/greatest-ape/openbsd-site <https://github.com/greatest-ape/openbsd-site> . The idea is to replace index.html but for all other pages just replace the stylesheets. In so far, I’ve included a few other pages, including plat.html, goals.html and alpha.html. I’ve tried to keep the page without bells and whistles, that is: * Just static HTML and CSS * No frameworks * No javascript * Minimalist design though I have included the Apache 2-licensed Open Sans from Google Fonts. If you like the page, I guess we could build our own font instead of using the google repository. Is this the right place to post this? Are you (the openbsd devs) interested in this at all? If yes, we would also need to make sure that the creator of the nice openbsd logo included is happy with us using it for the webpage. Apart from that, I would be happy to license my work under BSD, MIT or whatever you want. Cheers Joakim This gets raised on the mailing list at regular intervals - if you search the archives. I do not see how this is improving the life of the developers who are doing a fantastic job building a great operating system. The OpenBSD website has always been function over fashion - and accuracy over bling. The OpenBSD's prefered licence wording can be found at: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/misc/license.template?rev=HEAD Contributions are prefered as diff's against OpenBSD's cvs. hth Fred PS Your site is currently not an improvement on the current site according to: https://developers.google.com/speed/pagespeed/insights/?url=greatest-ape.github.io%2Fopenbsd-site%2Fpublic_html%2F=desktop and http://wave.webaim.org/report#/http://greatest-ape.github.io/openbsd-site/public_html/
Re: apache-httpd-openbsd?
On 05/09/16 22:58, Jeff Ross wrote: On 5/9/16 3:21 PM, arrowscr...@mail.com wrote: try pkg_add http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/apache-httpd-2.4.20p1.tgz That's apache 2.4, I want the 1.3.9 version that is, as my subject line says, apache-httpd-openbsd. Jeff It was removed 11 days ago: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/apache-httpd-openbsd/Attic/Makefile You'll need a cvs version before 28 Apr 16 if you want to build it yourself. Cheers Fred
Re: Need help to install OpenBSD 5.9 macppc via pxe
On 04/07/16 13:09, Solène Rapenne wrote: Hello, I am trying to install OpenBSD 5.9 on an old mac mini (which actually runs FreeBSD and was using OpenBSD before). So, I choosed the network way for installation and followed the installation instructions. I get an error when loading /bsd.rd (picture at the end) I have my dhcp/tftp/nfs server with address 192.168.1.5 (running freebsd), files for 5.9 are under /usr/local/www/thttpd/ -rw-r--r-- 1 root wheel 1552 Feb 26 14:59 SHA256 -rw-r--r-- 1 root wheel 1715 Feb 26 14:59 SHA256.sig -rw-r--r-- 1 root wheel 53657599 Feb 26 11:52 base59.tgz -rw-r--r-- 1 root wheel184634 Feb 26 11:17 boot.mac -rw-r--r-- 1 root wheel 7787638 Apr 7 12:48 bsd -rw-r--r-- 1 root wheel 7807488 Apr 7 12:49 bsd.mp -rw-r--r-- 1 root wheel 8549933 Apr 7 11:28 bsd.rd -rw-r--r-- 1 root wheel 6917 Feb 26 11:17 bsd.tbxi -rw-r--r-- 1 root wheel 54197476 Feb 26 11:53 comp59.tgz -rw-r--r-- 1 root wheel 2812954 Feb 26 11:53 game59.tgz -rw-r--r-- 1 root wheel 8991150 Feb 26 11:53 man59.tgz -rw-r--r-- 1 root wheel 64800 Feb 26 11:17 ofwboot -rw-r--r-- 1 root wheel 23869487 Feb 26 14:53 xbase59.tgz -rw-r--r-- 1 root wheel 40014023 Feb 26 14:53 xfont59.tgz -rw-r--r-- 1 root wheel 17159113 Feb 26 14:54 xserv59.tgz -rw-r--r-- 1 root wheel 4528018 Feb 26 14:54 xshare59.tgz my /etc/exports : /usr/local/www/thttpd/ -alldirs -ro -mapall=nobody -network 192.168.1.0/24 my dhcpd.conf (isc-dhcpd) : allow booting; allow bootp; authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.20 192.168.1.50; option broadcast-address 192.168.1.255; } host macmini { next-server 192.168.1.5; option subnet-mask 255.255.255.0; option routers 192.168.1.5; option root-path "192.168.1.5:/usr/local/www/thttpd"; fixed-address 192.168.1.22; hardware ethernet 00:14:51:1f:52:70; } I can mount the nfs from the freebsd of the mac mini and get files, so the NFS is fine. The PXE is fine as it load ofwboot. The DHCP is fine too as it get an IP. But it can't find /bsd.rd which is at the root of the nfs export. What is wrong with my setup ? Picture of the boot in the open firmware http://i.zcraft.fr/960991460029255.jpg Kind regards Try tcpdumping the connection and see why it thinks the file doesn't exist. It might be the / try does: boot enet:, ofwboot bsd.rd change the behaviour? hth Fred
Re: Ruby 1.9.3 package on OpenBSD 5.9 (snapshots) missing
On 03/18/16 22:08, ML mail wrote: You mean I should just take the ports.tar.gz file of OpenBSD 5.8 and compile ruby 1.9 from there? I don't really know where is this CVS attic that you mention. Deleted files go to the attic in CVS: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/ruby/1.9/Attic/ hth Fred
umodem Xadow GSM+BLE
Hi misc@ Can anyone point me at a USB device that attaches in two different ways, so I can use it as a template for attaching the Xadow GSM: 1. Off - mass storage 2. On - 2 com's 1 for Debug (com4 on Windows) and 1 for modem (com5 on Windows) The dmesg output for 1. is shown in [1] below, and for 2. in [2] below. Any hints greatly appreciated. Cheers Fred [1] When plugged in as mass storage mode it shows up as: Jan 23 11:05:22 port /bsd: umodem0 at uhub6 port 4 configuration 1 interface 1 "MediaTek Inc. product 0x0003" rev 1.10/1.00 addr 12 Jan 23 11:05:22 port /bsd: umodem0: data interface 0, has CM over data, has break Jan 23 11:05:27 port /bsd: umodem0: could not set data multiplex mode Jan 23 11:05:54 port /bsd: umodem0 detached Jan 23 11:05:55 port /bsd: umodem0 at uhub6 port 4 configuration 1 interface 1 "MediaTek Inc. product 0x0003" rev 1.10/1.00 addr 12 Jan 23 11:05:55 port /bsd: umodem0: data interface 0, has CM over data, has break Jan 23 11:06:00 port /bsd: umodem0: could not set data multiplex mode [2] When plugged in as flash/debug mode it shows up as: Jan 23 11:07:46 port /bsd: umodem0 at uhub6 Jan 23 11:07:46 port /bsd: port 4 configuration 1 interface 0 "MediaTek Inc Product" rev 2.00/1.00 addr 12 Jan 23 11:07:46 port /bsd: umodem0: data interface 1, has CM over data, has break Jan 23 11:07:50 port /bsd: umodem0: could not set data multiplex mode Jan 23 11:07:50 port /bsd: umodem1 at uhub6 port 4 configuration 1 interface 2 "MediaTek Inc. product 0x0023" rev 2.00/1.00 addr 12 Jan 23 11:07:50 port /bsd: umodem1: data interface 3, has CM over data, has break Jan 23 11:07:50 port /bsd: umodem1: could not set data multiplex mode Jan 23 11:07:50 port /bsd: umodem0 detached Jan 23 11:07:50 port /bsd: umodem1 detached Jan 23 11:07:52 port /bsd: umodem0 at uhub6 port 4 configuration 1 interface 1 "MediaTek Inc. product 0x0003" rev 1.10/1.00 addr 12 Jan 23 11:07:52 port /bsd: umodem0: data interface 0, has CM over data, has break Jan 23 11:07:57 port /bsd: umodem0: could not set data multiplex mode
Re: partitioning problem!!! exist 4.2BSD with NTFS/MSDOS partition on same volume.
On 01/26/16 17:20, freeu...@ruggedinbox.com wrote: exist 4.2BSD with NTFS/MSDOS partition on same volume. it will be destroy the which partition's file data. Any time I get the scary and creepy this situation. *example 4.2BSD with NTFS 1.formatting SATA HDD on OpenBSD: newfs sd1c 2.formatting same HDD on Windows: 3.check the partition: disklabel sd1c #size offset fstype [fsize bsize cpg] c:0 4.2BSD 2048 1 fdisk sd1c #: id C H S - C H S [ start:size ] --- 0: 07 0 - [2048:] NTFS 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 4.change the disklabel: disklabel -E sd1c D p #size offset fstype [fsize bsize cpg] c:0 unused i: 2048NTFS w q 5.It can mounting sd1c and sd1i on OpenBSD mount /dev/sd1c /mnt/4.2BSD/OpenBSD mount /dev/sd1i /mnt/ntfs/OpenBSD ntfs-3g -o ro /dev/sd1i /mnt/ntfs/fuse 6.It can mounting on Windows 7.How to delete(dis mounting) the which partition. from disklabel(8): disklabel supports 15 configurable partitions, `a' through `p', excluding `c'. The `c' partition describes the entire physical disk, is automatically created by the kernel, and cannot be modified or deleted by disklabel. By convention, the `a' partition of the boot disk is the root partition, and the `b' partition of the boot disk is the swap partition, but all other letters can be used in any order for any other partitions as desired. I'm surprised you managed format the c partition - but that is your issue. hth Fred
Re: Hosting a virtual Windows instance
On 12/25/15 21:45, Ed Ahlsen-Girard wrote: Does anybody do that (e.g., deal with a stupid mandatory web site)? If so, what host do you use? pkg_add qemu and the following script to start my xp instance: #! /bin/sh # # Add the following line for cdrom to be found # -cdrom /dev/cd0a \ ulimit -d 1572864; /usr/local/bin/qemu-system-i386 -m 768 \ -net nic,model=rtl8139 -net user,hostname=xp \ -no-fd-bootchk \ -monitor stdio \ -hda xp.img Typical windows took hours to install in qemu using: /usr/local/bin/qemu-system-i386 -m 768 \ -monitor stdio -vnc :0 \ -no-fd-bootchk \ -hda xp.img \ -cdrom /dev/cd0a -boot d Although often just changing the user agent in my browser is sometimes sufficient for stupid sites. hth Fred
option DEBUG in sparc64 kernel
Hi Misc@ I'm trying to build a debug kernel for sparc64 but keep getting the following errors in iommu.c: cc -Werror -Wall -Wimplicit-function-declaration -Wno-main -Wno-uninitialized -Wframe-larger-than=2047 -Wa,-Av9b, -mno-fpu -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -fno-pie -O2 -pipe -nostdinc -I../../../.. -I. -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DTMPFS -DFUSE -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DSUN4US -DSUN4V -DPCIVERBOSE -DUSER_PCICONF -DAPERTURE -DUSBVERBOSE -DWSEMUL_SUN -DWSEMUL_NO_VT100 -DWSEMUL_DUMB -DWSDISPLAY_COMPAT_RAWKBD -DDEBUG -DONEWIREVERBOSE -DMAXUSERS=64 -D_KERNEL -MD -MP -c ../../../../arch/sparc64/dev/iommu.c cc1: warnings being treated as errors ../../../../arch/sparc64/dev/iommu.c: In function 'iommu_strbuf_flush_done': ../../../../arch/sparc64/dev/iommu.c:569: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'time_t' ../../../../arch/sparc64/dev/iommu.c:569: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'time_t' ../../../../arch/sparc64/dev/iommu.c: In function 'iommu_dvmamap_load_raw': ../../../../arch/sparc64/dev/iommu.c:1020: warning: format '%ld' expects type 'long int', but argument 5 has type 'int' ../../../../arch/sparc64/dev/iommu.c:1020: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'int' ../../../../arch/sparc64/dev/iommu.c:1020: warning: format '%ld' expects type 'long int', but argument 7 has type 'int' ../../../../arch/sparc64/dev/iommu.c: In function 'iommu_dvmamap_validate_map': ../../../../arch/sparc64/dev/iommu.c:1347: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1352: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'bus_size_t' ../../../../arch/sparc64/dev/iommu.c:1360: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1360: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'bus_size_t' ../../../../arch/sparc64/dev/iommu.c:1371: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1371: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'bus_size_t' ../../../../arch/sparc64/dev/iommu.c:1371: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1371: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'bus_size_t' ../../../../arch/sparc64/dev/iommu.c:1382: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1382: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'bus_size_t' ../../../../arch/sparc64/dev/iommu.c:1382: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'bus_addr_t' ../../../../arch/sparc64/dev/iommu.c:1382: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'bus_size_t' *** Error 1 in /usr/src/sys/arch/sparc64/compile/psycho (Makefile:837 'iommu.o' What's the best approach for dealing with these warnings, in order to build a debug kernel? thanks Fred
Re: em(4) watchdog timeouts
On 11/02/15 21:23, Sonic wrote: On Mon, Nov 2, 2015 at 3:29 PM, Gregor Best <g...@unobtanium.de> wrote: On Mon, Nov 02, 2015 at 08:11:30PM +0100, Mark Kettenis wrote: Can those that are experiencing watchdog timeouts check if the diff below gets rid of them? [...] Hello, For whatever reason I see this reply but not the original post containing the actual patch. Thank you, Chris It's in the mailing list archives as well: http://marc.info/?l=openbsd-misc=144649704221735=2 hth Fred
Re: amd64-current (evening of Oct. 24th) make build failed
On 10/24/15 21:47, Stefan Wollny wrote: Hi there, as no updated kernel for amd64-current exists I compiled one based on the latest sources (9 p.m. Berlin-time): Afterwards I followed the faq and did: doas rm -rf /usr/obj/* cd /usr/src doas make obj cd etc/ doas env DESTDIR=/ make distrib-dirs cd .. doas make build The build process comes to an end with the following: ===> usr.sbin/ndp cc -O2 -pipe-DINET6 -I/usr/src/usr.sbin/ndp -c /usr/src/usr.sbin/ndp/ndp.c /usr/src/usr.sbin/ndp/ndp.c: In function 'ifinfo': /usr/src/usr.sbin/ndp/ndp.c:970: error: 'struct nd_ifinfo' has no member named 'chlim' *** Error 1 in usr.sbin/ndp (:87 'ndp.o') *** Error 1 in usr.sbin (:48 'all') *** Error 1 in . (:48 'all') *** Error 1 in /usr/src (Makefile:82 'build') Anything I can do beside wait for updated sources? Any additional info necessary to investigate further? Best, STEFAN Do you have revision 1.64 of ndp.c? hth Fred
Re: It was twenty years ago you see...
On 10/18/15 07:36, Theo de Raadt wrote: OpenBSD's source tree just turned 20 years old. I recall the import taking about 3 hours on an EISA-bus 486 with two ESDI drives. There was an import attempt a few days earlier, but it failed due to insufficient space. It took some time to repartition the machine. It wasn't terribly long before David Miller, Chuck Cranor and Niklas Hallqvist were commiting... then more people showed up. The first developments were improvements to 32-bit sparc. Chuck and I also worked on setting up the first 'anoncvs' to make sure noone was ever cut out from 'the language of diffs' again. I guess that was the precursor for the github concept these days :-). People forget, but even FSF was a walled garden at the time -- throwing tar files with vague logs over the wall every couple months. I was lucky to have one of the few 64Kbit ISDN links in town, otherwise this would not have happened. My desktop was a Sparcstation 10; the third machine I had was a very slow 386. The project is now at: ~322,000 commits ~44 commits/day average ~356 hackers through the years Looking forward to the next 20 years! Thanks to all the deveopers for such a great OS! Cheers Fred
Re: Private cloud hosting recommendations
Hi, I'm happily running OpenBSD on: https://www.mythic-beasts.com/ they have excellent technical support. Cheers Fred
Re: ugen0 instead of urtwn0
On 09/22/15 06:52, Thuban wrote: Grab relevant src/sys/dev/usb/if_urtwn.c sys/dev/usb/usbdevs from CVS, than cd sys/dev/usb && make, than rebuild/install kernel as described in FAQ. I rebuild and installed the kernel without any error, but still, the usb stick isn't detected as urtwn. What did I do wrong : # cd /usr # export CVSROOT=anon...@anoncvs.fr.openbsd.org:/cvs # cvs -d$CVSROOT checkout -rOPENBSD_5_7 -P src # cd //usr/src/sys/dev # cvs -d$CVSROOT -bOPENBSD_5_8 get src/sys/dev/usbdevs # cvs -d$CVSROOT -bOPENBSD_5_8 get src/sys/dev/if_urtwn.c # # rebuild/install kernel -- Thuban Hi dmesg(8) and usbdevs(8) -v output would be useful. Cheers Fred
Re: ugen0 instead of urtwn0
On 09/21/15 11:01, Thuban wrote: * Thuban <thu...@yeuxdelibad.net> le [21-09-2015 11:14:22 +0200]: usbdevs returns WNA 1000Mv2 Netgear listed here [0] But the device is detected as ugen. My bad, it seemd to be fixed in 5.8 [0]. Except waiting for 5.8 or unsing -current, I guess there is no other solution to usr this usb stick? [0] : http://www.openbsd.org/plus.html You could back port the relevant changes to 5.7 and build a new kernel following the information in http://www.openbsd.org/faq/faq5.html -current is currently ahead of 5.8 which will be released on the 18 October. hth Fred
Re: rc.shutdown powerdown
On 09/20/15 20:58, Quartz wrote: Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down should be added to this file. If you have apm, you can also set "powerdown=YES", which will give you the equivalent of "shutdown -p". " rc.shutdown is still needed if you need to run tasks before the reboot(8), halt(8), or when init(8) is signalled to shut the system down. man 8 rc.shutdown
Re: rc.shutdown powerdown
On 09/20/15 21:44, Quartz wrote: On Sep 20 4:36 PM, Fred wrote: On 09/20/15 20:58, Quartz wrote: Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down should be added to this file. If you have apm, you can also set "powerdown=YES", which will give you the equivalent of "shutdown -p". " Sorry misread your post. The following diff removes the misleading entry from faq10: --- faq10.html Sun Sep 20 21:50:41 2015 +++ faq10nopower.html Sun Sep 20 21:52:51 2015 @@ -298,8 +298,6 @@ and adding the daemon name to the pkg_scripts /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down should be added to this file. -If you have apm, you can also set powerdown=YES, which will -give you the equivalent of shutdown -p. 10.8 - I edited /etc/passwd, but the changes didn't seem to take place. Why?
Re: azalia audio works, then stutters until reboot
On 09/12/15 17:56, luke...@onemodel.org wrote: Thanks, good to know. I think I'm better suited for "-stable" than for "-current", currently. So I might wait for 5.8's release then upgrade, or I'd have to figure out if it's a supported configuration to be on -current now then switch back to -stable just when 5.8 is released. -current is probably heading towards 5.9 at the moment. Switching back from current to stable isn't a supported option, so you are probably better off waiting for 5.8 release on the 18 Oct 2015 - but if you pre-order from https://www.openbsdstore.com you might get it before the 18 Oct! Cheers Fred
Re: open bsd 5.7 and 5.8 cd ordering questions
On 08/22/15 21:32, Danny Nguyen wrote: Hi, I want to order these two compact discs (see subject line) and have few questions: 1. Is there tamperproof tape on the OpenBSD compact discs mailed from the openbsd store? 2. Royal Mail takes how long to arrive to California? Is it being sent as a letter? Thank you. oh and in answer to question 2. the Royal Mail claim to deliver in 5-7 working days to the rest of the world, which includes the US. hth Fred
Re: open bsd 5.7 and 5.8 cd ordering questions
On 08/22/15 21:32, Danny Nguyen wrote: Hi, I want to order these two compact discs (see subject line) and have few questions: 1. Is there tamperproof tape on the OpenBSD compact discs mailed from the openbsd store? 2. Royal Mail takes how long to arrive to California? Is it being sent as a letter? Thank you. Hi Danny, The CD's come in a DVD case which has a plastic film cover which has to be removed to access the CD's from the case. They also come in padded envelopes that are obvious if they have been tampered with. However, if you have an adversary who has lots of money these protection methods can be subverted - but the signify key will then allow you to see if they have tampered with the product. Although the truly paranoid can check the signify key printed on their disks with the one on the OpenBSD website. hth Fred
Re: X error: Maximum number of clients reached
On 07/06/15 22:43, luke...@onemodel.org wrote: I'm on OpenBSD 5.7 amd64, w/ all the latest stable patches. When I simply launch xfce (from ports), an xterm, and ~34 xedit windows, I get: Maximum number of clients reachedError: Can't open display: :0.0. I think I also had the same problem earlier when running fvwm instead of xfce. I've searched thru code (not yet exhaustively), searched the mailing lists, the web with DuckDuckGo(DDG), and tried various things. Most DDG search results talk about buggy apps, or closing windows, but I don't think that's my problem as I don't have that many windows open. Three of the search results say this (though the info could be old, by several years or more): By default, the X server has a limit of just 128. In order to increase this limit, you need to run at least Solaris 8 or an earlier release with the Xserver patch applies that fixes bug: 4185418 the X server should support more connections .Then change the Xservers configuration file and add the -clients 1024 option to the X commandline. However, I've passed -clients 1024 to the startx command with no effect, and I don't see that as a parameter in 'man X' or 'man Xservers'. Maybe that parameter needs to go in a config file somewhere, but I'm floundering at this point in the X config stuff. When I searched through the xenocara code, I found that the error comes from xserver/os/connection.c, where a constant NOROOM contains the error message, and interesting functions being called include AllocNewConnection, ErrorConnMax, and InitConnectionLimits which is where the variable MaxClients is being set. When I opened enough xedit windows to reproduce the error, just now, then closed one of them and ran xwininfo -root -children|wc I got a result of 213. Then I killed those 17 xedit windows (I have other things open now also) and xwininfo -root -children|wc said 94. That's about as far as I've got, since I'm new enough with this to be unsure whether I'm going in a good direction, diagnostically; my ignorance might be causing this to take longer than needed, and I'm hoping not to have to run X in gdb I don't see anything interesting in /var/log/messages or in Xorg.0.log: I think it's all just repeated output telling me it un- and re-found my external USB mouse and keyboard. Should I use sendbug for this? Any ideas appreciated. Thanks!! Luke This might be login.conf / ulimit (man ksh) issue... Fred
Re: Random PID implementation and security
On 05/27/15 10:18, Simon wrote: Le 2015-05-26 16:25, Theo de Raadt a écrit : Le 2015-05-26 00:10, Miod Vallat a =C3=A9crit=C2=A0: It is not the responsibility of the operating system to protect its users against software which assumes using the pid as a random source= =20 is a bright and wise idea. =20 Isn't this the whole goal of random PIDs, to put a defense at OS level=20 protecting software against themselves when they make wrong assumption=20 regarding the PID and use it for wrong purposes? A 16 bit PID is suppsed to provide true safety? Please. The problem is people who believe that shoving a 16 bit value into a deterministic function gets them somewhere. So do you confirm that random PID is actually not a security measure? It is often presented as is, but it would not be the first time that some wrong rumors get widespread enough to become accepted as a truth by most people. I could also easily imagine that PID have been randomized just because it was allowed to do so and that it was interesting from the coding perspective as showing up software bugs that sequential PID would hardly uncover (I'm mainly referring here to Ted Unangst's talk: http://www.openbsd.org/papers/dev-sw-hostile-env.html, see randomization section, backed by the philosophy section: The sooner we can break it, the sooner we can fix it). Having PID's that are not easily predicable helps to reduce the attack surface. IMO that is a security measure, but YMMV. Fred
Re: what happened to the encap address_family
On 05/15/15 21:13, Michał Koc wrote: Hello misc, anyone capable to answer ? Best regards MichaÅ‚ Koc -- Wiadomość oryginalna -- *Temat: *what happened to the encap address_family *Nadawca: *Boris Goldberg bo...@twopoint.com *Adresat: *misc@openbsd.org *Data: *2015-05-14 18:14 Hello misc, The encap address_family isn't in the netstat man page anymore (BTW, there is no 5.7 section at www.openbsd.org/cgi-bin/man.cgi, just current). The netstat -nrf encap gives an error, the netstat -nr doesn't have the Encap section. Don't see anything about netstat nor about encap at http://www.openbsd.org/57.html, the google also didn't help. How do I check VPN related routing besides ipsecctl -s flow (which isn't exactly the strait way) ? do you mean: man 4 enc as in: port:fred ~ ifconfig enc enc0: flags=0 priority: 0 groups: enc status: active
Re: C.H.I.P
On 05/07/15 21:49, Gene wrote: A new armv7 based computer was announced today via a kickstarter project. https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-compu ter Some specs: • 1GHz Allwinner A13 • Maili400 GPU • 512MB RAM • 4 GB flash storage • Composite video (VGA and HDMI available with adapter) • USB port • Realtek 2-in-1 Bluetooth 4.0 + WIFI B/G/N • I2C + SPI + UART + 8 x GPIO • Built in battery circuit for 3.7V batteries. I see the OpenBSD/armv7 information page lists support for Allwinner A1X chips. If this project becomes a reality is there a possibility OpenBSD might be made to run on this board? -Gene Buy some for the developers and it might become a reality. Cheers Fred
Re: [patch] designate main website pages as the canonical source
On 05/05/15 21:51, Carlin Bingham wrote: I have noticed for some searches, pages from the main openbsd website (such as the faq) are ranked lower than the mirrors. Setting the rel=canonical tag to point to the main website will make the mirrors designate the main website pages as the canonical source which should boost the ranking, also this should prevent the website being penalised for duplicate content, which overall should improve the relevancy of results for openbsd-related searches. Isn't the whole point of mirrors to share the load? It the mirror is uptodate then it's ranking shouldn't matter. Fred
Re: cdce0 in ifconfig
On 04/29/15 16:34, Cristián Edwards wrote: Hello, How to configure cdce0 device in OpenBSD? Dmesg: cdce0 at uhub1 port 1 configuration 2 interface 0 Huawei Technologies HUAWEI Mobile rev 2.00/0.00 addr 2 cdce0: address 00:a0:c6:60:85:70 ugen0 at uhub1 port 1 configuration 2 Huawei Technologies HUAWEI Mobile rev 2.00/0.00 addr 2 cdce0: flags=28843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 1500lladdr 00:a0:c6:60:85:70priority: 0 ifconfig: cdce0: flags=28843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 1500 lladdr 00:a0:c6:60:85:70 priority: 0 Hardware: http://consumer.huawei.com/en/solutions/m2m-solutions/products/tech-specs/mu609-en.htm Regards, Cristian something like: ifconfig cdce0 inet 192.168.0.1 255.255.255.0 should do the trick. hth Fred
Re: cdce0 in ifconfig
On 04/29/15 17:13, Cristián Edwards wrote: Tried dhcp in hostname.cdce0 and it didn't work, your idea doesn't work either. cdce and cdcef allow ethernet communication over USB - ie you plug two computers together using a usb cable and basically provides a brige between two machines so doing dhcp does make much sense... What is on the other end of the link? Fred
Re: Cannot connect to CUPS web interface in -current
provided. D [07/Mar/2015:18:24:37 +0100] [Client 1] Processing GET / I [07/Mar/2015:18:24:37 +0100] [Client 1] Files/directories such as /usr/local/share/doc/cups/ must be world-readable. D [07/Mar/2015:18:24:37 +0100] [Client 1] cupsdSendHeader: code=404, type=text/html, auth_type=0 D [07/Mar/2015:18:24:37 +0100] [Client 1] Closing because Keep-Alive is disabled. D [07/Mar/2015:18:24:37 +0100] [Client 1] Closing connection. D [07/Mar/2015:18:24:37 +0100] cupsdSetBusyState: newbusy=Not busy, busy=Active clients D [07/Mar/2015:18:24:37 +0100] [Client 1] Waiting for socket close. D [07/Mar/2015:18:24:37 +0100] [Client 1] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) D [07/Mar/2015:18:24:37 +0100] [Client 1] Closing connection. So it seems that the errors are not always reported (even if the connection always fails); is it just red herring? I'm completely lost... Any hints? Of course, I'm available for further debug, just let me know. Thanks in advance for your time Both Firefox and Chrome let me do https://localhost:631/ but then both complain and I have to add exceptions, once added it works for me. In chrome the connection is then encrypted with TLS 1.2 port:fred ~ uname -a; dmesg|head -4; pkg_info| grep cups OpenBSD port.crowsons.com 5.7 GENERIC.MP#860 amd64 OpenBSD 5.7-beta (GENERIC.MP) #860: Sun Feb 22 03:14:54 MST 2015 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8447131648 (8055MB) avail mem = 8218349568 (7837MB) cups-2.0.2 Common Unix Printing System cups-filters-1.0.65 OpenPrinting CUPS filters cups-libs-2.0.2 CUPS libraries and headers cups-pk-helper-0.2.5 fine-grained privileges PolicyKit helper for CUPS gtk+3-cups-3.14.8 gtk+3 CUPS print backend Maybe ktrace cups to seem that can give any clues. hth Fred
Re: FW: ppp not found
On 02/24/15 17:42, A Y wrote: # cat /etc/ppp/peers/mobinil /dev/cuaU0debugcrtscts921600defaultroutenoauth:10.64.64.64connect '/usr/sbin/chat -v -f /etc/ppp/peers/mobinil.chat' # cat /etc/ppp/peers/mobinil.chat ABORT NO CARRIERABORT NO DIALTONEABORT ERRORABORT NO ANSWERABORT BUSYABORT Username/Password IncorrectTIMEOUT 15 ATZOK ATE1OK ATQ0V1E1S0=0C1D2+FCLASS=0OK 'AT+CGDCONT=1,IP,mobinilweb'OK ATDT*99***1#TIMEOUT 30CONNECT \d\c # grep chat /var/log/* # grep pppd /var/log/*/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]: pppd 2.3.5 started by ce, uid 0/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]: Failed to open /dev/cuaU0: Device not configured. # cat /etc/resolv.conf lookup file bindnameserver 213.131.64.119nameserver 41.196.200.23nameserver 137.117.214.6nameserver ns10.link.netnameserver ns11.link.netnameserver ns12.link.net I got the above nameservers from the mobinil website You are getting closer - but there is information missing to help solve the problem which is /dev/cuaU0 failing to be opened. What is the output of: ls -l /dev/cuaU* and: grep com /var/log/messages hth Fred
Re: ppp not found
On 02/23/15 21:00, A Y wrote: The following is what I got from making a modem query under windows: ATQ0V1E0 - OKAT+GMM - E173AT+FCLASS=? - COMMAND NOT SUPPORTAT#CLS=? - COMMAND NOT SUPPORTEDAT+GCI? - COMMAND NOT SUPPORTAT+GCI=? - COMMAND NOT SUPPORTATI1 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI2 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI3 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI4 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI5 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI6 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ESATI7 - Manufacturer: huawei Model: E173 Revision: 21.157.71.00.272 IMEI: 868402003229969 +GCAP: +CGSM,+DS,+ES What can I make out of this? How can this be translated to a chat script? Hi AY, This old post from mailing list might be of some use: http://marc.info/?l=openbsd-miscm=123638536119595 Cheers Fred
Re: Mapping pf syslog rule numbers to lines in pf.conf
On 01/26/15 20:42, Alan McKay wrote: Hey folks, This one seems to be difficult to google - not coming up with much. I have some firewall blocks I want to investigate and of course they are reported as matching a specific rule number - but I am not sure how to map that back to a line in my pf.conf Could someone enlighten me? thanks, -Alan Also look at: -g Include output helpful for debugging. as in: pfctl -g -sr @1 are the rule numbers. hth Fred
Re: nginx question...
On 01/19/15 22:25, worik wrote: Summary: The files under /var/www/htdocs are by default it seems all owned by root:wheel. What are the issues with changing that to be a normal user? The long version My work flow involves building a directory structure on another machine and using 'rsync' when I am ready to transfer it to the OpenBSD machine to be served by the public facing webserver. Having the files owned by a user other than the one I log in as for a rsync session is causing all sorts of headaches and warnings from rsync. So I have changed the ownership of all the files and directories to be foo:foo where 'foo' is the user/group name I login as. This makes my life much simpler. But I have a nagging doubt that I am doing some thing I will regret. Perhaps I need to use rsync differently or modify my workflow Worik rsync [OPTION...] SRC... rsync://user@[WEBSERVER]/var/www/htdocs should allow you to set the user on the webserver - what errors are you getting? nginx runs chrooted by default, which should limit exploits. I also chmod 644 or 640 if I'm feeling more paranoid all the files below /var/www/htdocs - although the files are in group www. hth Fred
OpenBSD talk at ScotLUG, Glasgow
Hi misc@ If anyone is in Glasgow on Thursday evening - I'm giving a talk at the Scottish Linux User Group (http://scotlug.github.io/) on Building redundant and transparent firewalls with OpenBSD. See you there! Cheers Fred
Re: usb ehci errors in 5.6-stable
On 01/14/15 13:13, Evgeny Zhavoronkov wrote: On 01/14/15 12:37, Evgeny Zhavoronkov wrote: Hi, All! I get these errors when actively use usb wifi adapter Jan 14 16:08:57 t4 /bsd: 0x4f4e5155 Jan 14 16:08:57 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:08:57 t4 last message repeated 1006 times Jan 14 16:08:57 t4 /bsd: athn0: could not wakeup chip Jan 14 16:09:22 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:10:40 t4 /bsd: 0x4f4e5155 Jan 14 16:10:40 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:10:40 t4 last message repeated 1006 times Jan 14 16:10:40 t4 /bsd: athn0: could not wakeup chip Jan 14 16:11:04 t4 /bsd: 0x4f4e5155 Jan 14 16:11:04 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:11:04 t4 last message repeated 1006 times Jan 14 16:11:04 t4 /bsd: athn0: could not wakeup chip Jan 14 16:12:20 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:12:28 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:15:12 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:24:21 t4 last message repeated 7 times Jan 14 16:32:25 t4 last message repeated 4 times it errased my dmesg, so I can't provide it. [demime 1.01d removed an attachment of type application/pgp-signature] look in: /var/run/dmesg.boot Fred Thanks, here it is: OpenBSD 5.6-stable (GENERIC.MP) #0: Sun Jan 11 20:07:24 MSK 2015 root@t4.local.:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8262713344 (7879MB) avail mem = 8033972224 (7661MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdcd21000 (62 entries) bios0: vendor LENOVO version GJET61WW (2.11 ) date 10/02/2013 bios0: LENOVO 20AQ004TRT acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC DBGP ECDT HPET APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA UEFI MSDM ASF! BATB FPDT UEFI SSDT DMAR acpi0: wakeup devices LID_(S4) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 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) i7-4600U CPU @ 2.10GHz, 1995.65 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz cpu2: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz cpu3: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus
Re: usb ehci errors in 5.6-stable
On 01/14/15 12:37, Evgeny Zhavoronkov wrote: Hi, All! I get these errors when actively use usb wifi adapter Jan 14 16:08:57 t4 /bsd: 0x4f4e5155 Jan 14 16:08:57 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:08:57 t4 last message repeated 1006 times Jan 14 16:08:57 t4 /bsd: athn0: could not wakeup chip Jan 14 16:09:22 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:10:40 t4 /bsd: 0x4f4e5155 Jan 14 16:10:40 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:10:40 t4 last message repeated 1006 times Jan 14 16:10:40 t4 /bsd: athn0: could not wakeup chip Jan 14 16:11:04 t4 /bsd: 0x4f4e5155 Jan 14 16:11:04 t4 /bsd: usb_insert_transfer: xfer=0xfe821cb7c348 not busy 0x4f4e5155 Jan 14 16:11:04 t4 last message repeated 1006 times Jan 14 16:11:04 t4 /bsd: athn0: could not wakeup chip Jan 14 16:12:20 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:12:28 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:15:12 t4 /bsd: ehci_idone: ex=0xfe821cb7c348 is done! Jan 14 16:24:21 t4 last message repeated 7 times Jan 14 16:32:25 t4 last message repeated 4 times it errased my dmesg, so I can't provide it. [demime 1.01d removed an attachment of type application/pgp-signature] look in: /var/run/dmesg.boot hth Fred
Re: FAQ: My mission is to make it up into /src/lib/libssl/...
On 01/11/15 21:39, David Christensen wrote: misc: On the OpenBSD FAQ: http://www.openbsd.org/faq/index.html Near the top, I see: h3 iMy mission is to make it up into /src/lib/libssl/. There's a library up there that's gone insane. I'm supposed to fix it./i /h3 Is this a statement by the OpenBSD project, or has the page been defaced? David Each release has a theme... That's why you order your CD sets: http://www.openbsd.org/orders.html Fred PS The stickers are awesome
Re: Failed cron jobs are silent
On 01/03/15 15:50, Craig Skinner wrote: Back in the memory of somewhere??? I worked, failed cronjobs would mail their return code if not zero. Something like: Cron Job false exited with return code 1 I cannae mind if it was Solaris or Linux, or whatever they were using... Can OpenBSD's cron do that too? Here's some silent noisey sample shite jobs: - Forwarded message from Cron Daemon r...@britvault.co.uk - Date: Sat, 3 Jan 2015 15:30:02 + (GMT) From: Cron Daemon r...@britvault.co.uk To: skin...@britvault.co.uk Subject: Cron luser@sir-puffy crontab -l # Silent: * * * * * true * * * * * false * * * * * exit * * * * * exit 111 # http://en.wikipedia.org/wiki/111_(emergency_telephone_number) # Mail: * * * * * false || print -u2 exited with return code $? * * * * * false || print -u2 'http://en.wikipedia.org/wiki/One_Tree_Hill_(song)' * * * * * crontab -l * * * * * logname; umask; pwd; printenv | sort - End forwarded message - set the MAILTO variable in crontab. hth Fred man 5 crontab not man 1 crontab :~)
Re: leaving linux - questions about capabilities
On 12/30/14 03:45, Jonathan Gray wrote: On Mon, Dec 29, 2014 at 08:57:15PM +, Fred wrote: I currently have three monitors connected to my laptop but if I try to enable X on the third one I'm getting the following error: port:fred ~ xrandr --output VGA1 --auto xrandr: cannot find crtc for output VGA1 ... vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09 Sandy bridge only has two output pipes, it isn't possible to use three outputs. Radeon hardware tends to support more outputs http://xorg.freedesktop.org/wiki/RadeonFeature/#index7h2 Ivy bridge supports three outputs with two of them sharing a clock assuming the sytem has two displayport outputs (and none do?). Haswell is a bit less restrictive still. Quoting https://01.org/linuxgraphics/documentation/3-pipes 3-pipes is a feature that allows users to have 3 Monitors plugged in. It is present at 3rd Generation Intel Core processors with Intel HD Graphics (codenamed IvyBridge) and 4th Generation Intel Core processors with Intel HD Graphics (codenamed Haswell). For other platforms only Dual outputs are supported. IvyBridge limitations In order to get 3 screen outputs at Ivybridge you shall use 2 Display Ports + any display with some limitations on modes supported. Haswell limitations Haswell 3-pipes is less restrictive than Ivybridge. You can have 3 screns with * 2 Display Ports + any display * 1 Display Port and 2 HDMI or DVI * 1 VGA and 2 HDMI or DVI and no restrictions on mode combination. Thanks for the info - I had thought it might be a limitation of X - as all three worked when used in pairs. Cheers Fred
Re: leaving linux - questions about capabilities
On 12/30/14 21:08, Christopher Barry wrote: /snipped I currently have three monitors connected to my laptop but if I try to enable X on the third one I'm getting the following error: port:fred ~ xrandr --output VGA1 --auto xrandr: cannot find crtc for output VGA1 Thanks Fred. what happens when you disconnect HDMI1? Does VGA1 light up? I'm thinking the mobile gpu has 2 active outputs, the LCD built-in, plus one additional monitor of VGA or HDMI type. All three and useable, but only two at a time - due to the limitation that Johnathan mentioned. I can use any two of the three monitors - if I disconnect any I have to re-run xrandr or arandr (gui xrandr in ports). But blender 2.72 is running fine (I wish I new how to use it properly). It's huge, and the learning curve is steep. I've been using it daily for a year and still don't know squat... :~) OpenBSD can be a bit like that but the documentation is excellent - and I have been using it as my main desktop since 2.9 cheers Fred
Re: leaving linux - questions about capabilities
On 12/29/14 17:45, Christopher Barry wrote: On Mon, 29 Dec 2014 09:29:15 -0800 Ryan Freeman r...@slipgate.org wrote: On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan Hey Ryan, Thanks for the thoughtful response. The move looks promising then. I'll definitely read the FAQ - thanks for the reminder. RE: OpenGL: It's great that it works, but is it taking advantage of the hw, or do you know if it is sw only? Some posts I've read seem less positive about that. Anyone else have any experiences to share? Thanks again, -- -C I currently have three monitors connected to my laptop but if I try to enable X on the third one I'm getting the following error: port:fred ~ xrandr --output VGA1 --auto xrandr: cannot find crtc for output VGA1 But blender 2.72 is running fine (I wish I new how to use it properly). Output of xrandr and dmesg below if interested. hth Fred PS twitter pic of two monitors: https://twitter.com/fcbsd/status/549669313268170752 port:fred ~ xrandr Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767 LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm 1366x768 60.17*+ 1024x768 60.00 800x600 60.3256.25 640x480 59.94 VGA1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 1680x1050 59.95 1600x900 59.98 1280x1024 75.0260.02 1440x900 59.89 1280x800 59.81 1152x864 75.00 1280x720 59.97 1024x768 75.0870.0760.00 832x624 74.55 800x600 72.1975.0060.3256.25 640x480 72.8166.6760.00 720x400 70.08 HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm 1920x1080 60.00*+ 50.00 1920x1080i60.00 1680x1050 59.88 1400x1050 59.95 1600x900 59.98 1280x1024 60.02 1440x900 59.90 1280x800 59.91 1152x864 59.97 1280x720 50.00 1024x768 60.00 800x600 60.32 720x576 50.00 720x480 59.94 640x480 60.0059.94 DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) dmesg: OpenBSD 5.6-current (GENERIC.MP) #731: Tue Dec 23 12:12:38 MST 2014 dera...@amd64.openbsd.org:/usr/src
Re: Getting the right image, to install via USB
On 12/23/14 18:50, Henrique Lengler wrote: Hi, I want to install openbsd on my computer via a USB, since I don't have a unused CD. I'm in doubt about what image should I download and how can I record it to a USB using windows. Could someone please help me? http://www.openbsd.org/faq/faq4.html Is a good place to start reading. The OpenBSD philosophy is about helping yourself - the official FAQ and the documentation that comes with OpenBSD is excellent. OpenBSD developers consider mistakes in the documentation as bugs - and fix them proactively - like all bugs. If you are ready for OpenBSD then you need to help yourself. hth Fred
Re: What happened when 5.5 met my old reliable box
On 12/16/14 06:09, Rod Whitworth wrote: On Tue, 16 Dec 2014 00:16:52 -0500, Ted Unangst wrote: On Tue, Dec 16, 2014 at 16:05, Rod Whitworth wrote: I tried 5.5 - crashes there too. 5.4 and earlier work well. Clues? I love these low power skinny boxes in my rack and I'm betting that the problem exists in all the ones I have, but I cannot take the others down until I have one to swap in. 1. connect a serial cable or something to record output. I like the idea of getting chars ready to print but how do I get the data going to the rs232 port that is on all of these boxes (luckily!) ? I missed the class that taught that trick. 8-) at the boot prompt: boot stty com0 9600 boot set tty com0 Then use cu(1) to do the rest hth Fred
Re: OpenBSD 5.6 - amd64 on Lenovo G480
On 12/12/14 01:50, Leonardo Santagostini wrote: Hello @misc, This mail is regarding about issues that im facing after doing a fresh install of 5.6 RELEASE and snapshot on my latptop The point is that after installing sucessfully i am trying to start X but screen goes black. The only way i have to go to console is pressing CTRL+ALT+F1 after lid close, suspend and resume. Just wanting to know what is the best way i can help you regarding this. i know sending: 1) dmesg 2) x.org.log Is ok, but i have no idea what else could help. So, please, just let me know what else is needed, so i can do my homework. (Also i tried snapshot from 12/08 but an libc version problem appears when x starts) Regards, Leonardo Santagostini http://ar.linkedin.com/in/santagostini When does the screen go black? On startx? I have seen a similar issue on a Toshiba portege - and toggling the internal / external monitor button (Fn+F5 on this machine) brings up X. hth Fred PS dmesg is always useful
Re: macppc install56.iso - CD issues
On 12/09/14 08:10, patrick keshishian wrote: Hi, I must be doing something wrong here and need some hints to figure out what. My attempts to burn macppc install56.iso to a CD seems to produce un-bootable discs. I'm using cdrecord(1) to perform the burns. At the Open Firmware prompt I issue: 0 boot cd:,ofwboot /5.6/macppc/bsd.rd and that results in: DISK-LABEL: read of block0 failed ATAPI-DISK: open of DISK-LABEL failed can't OPEN: cd:,ofwboot Can't open device or file ok 0 I went through four different burn attempts; one with Dec 7th snapshot. And three right now with Dec 8th one. I tested with official 5.6 CD and that CD boots just fine. This is how the image was burned to disc: # cdrecord -v dev=/dev/rcd0c install56.iso cdrecord: No write mode specified. cdrecord: Assuming -sao mode. cdrecord: If your drive does not accept -sao, try -tao. cdrecord: Future versions of cdrecord may have different drive dependent default s. Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-openbsd5.6) Copyright (C) 1995-2 [...] BURN-Free is ON. Turning BURN-Free off Performing OPC... Sending CUE sheet... cdrecord: WARNING: Drive returns wrong startsec (0) using -150 Writing pregap for track 1 at -150 Starting new track at sector: 0 Track 01: 218 of 218 MB written (fifo 100%) [buf 99%] 33.1x. Track 01: Total bytes read/written: 228696064/228696064 (111668 sectors). Writing time: 75.670s Average write speed 22.3x. Min drive buffer fill was 97% Fixating... Fixating time:3.591s cdrecord: fifo had 3723 puts and 3723 gets. cdrecord: fifo was 0 times empty and 1843 times full, min fill was 95%. # echo $? 0 Note the WARNING. Also note that burning an amd64 image works just fine (with same WARNING during cdrecord phase). On a related note, how can base tools (cdio(1)?) be used instead of cdrecord(1) (from ports) to burn these images to disc? Thanks in advance, --patrick Hi, What happens when you hold the 'c' key during reboot? If you mount the disks under a working system is ofwboot in the / ? hth Fred
Re: macppc install56.iso - CD issues
On 12/09/14 19:07, patrick keshishian wrote: Hi Fred, On 12/9/14, Fred open...@crowsons.com wrote: On 12/09/14 08:10, patrick keshishian wrote: Hi, I must be doing something wrong here and need some hints to figure out what. My attempts to burn macppc install56.iso to a CD seems to produce un-bootable discs. I'm using cdrecord(1) to perform the burns. At the Open Firmware prompt I issue: 0 boot cd:,ofwboot /5.6/macppc/bsd.rd and that results in: DISK-LABEL: read of block0 failed ATAPI-DISK: open of DISK-LABEL failed can't OPEN: cd:,ofwboot Can't open device or file ok 0 I went through four different burn attempts; one with Dec 7th snapshot. And three right now with Dec 8th one. I tested with official 5.6 CD and that CD boots just fine. This is how the image was burned to disc: # cdrecord -v dev=/dev/rcd0c install56.iso cdrecord: No write mode specified. cdrecord: Assuming -sao mode. cdrecord: If your drive does not accept -sao, try -tao. cdrecord: Future versions of cdrecord may have different drive dependent default s. Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-openbsd5.6) Copyright (C) 1995-2 [...] BURN-Free is ON. Turning BURN-Free off Performing OPC... Sending CUE sheet... cdrecord: WARNING: Drive returns wrong startsec (0) using -150 Writing pregap for track 1 at -150 Starting new track at sector: 0 Track 01: 218 of 218 MB written (fifo 100%) [buf 99%] 33.1x. Track 01: Total bytes read/written: 228696064/228696064 (111668 sectors). Writing time: 75.670s Average write speed 22.3x. Min drive buffer fill was 97% Fixating... Fixating time:3.591s cdrecord: fifo had 3723 puts and 3723 gets. cdrecord: fifo was 0 times empty and 1843 times full, min fill was 95%. # echo $? 0 Note the WARNING. Also note that burning an amd64 image works just fine (with same WARNING during cdrecord phase). On a related note, how can base tools (cdio(1)?) be used instead of cdrecord(1) (from ports) to burn these images to disc? Thanks in advance, --patrick Hi, What happens when you hold the 'c' key during reboot? I get gray screen with folder and flashing ?. I have had that when I messed up an install (I dual boot my iBook) and ended up to use my Mac OS X disks to reformat the drive - with a bigger OpenBSD partition. There used to be apple support article on their NVRAM instructions - but my apple / google foo is not finding it which you can use to boot from other devices. I did find this article in my search - but I'm not sure it links to anything useful... http://support.apple.com/en-us/ts2570 hth Fred
Re: macppc install56.iso - CD issues
On 12/09/14 20:51, patrick keshishian wrote: On 12/9/14, Fred open...@crowsons.com wrote: On 12/09/14 19:07, patrick keshishian wrote: On 12/9/14, Fred open...@crowsons.com wrote: What happens when you hold the 'c' key during reboot? I get gray screen with folder and flashing ?. I have had that when I messed up an install (I dual boot my iBook) and ended up to use my Mac OS X disks to reformat the drive - with a bigger OpenBSD partition. Not quite the situation with my macppc, as it is not dual booting and it is dealing with CD media not HDD. I believe the issue has to do with the newly burned CD or the source install56.iso image. As I pointed out the official 5.6 CD boots just fine. Later I also don't think it is the CD-R media, as I verified I can burn an amd64 image (install56.iso file) and it boots fine (on an amd64 hw of course). Best, --patrick Using: -rw-r--r--1 ftp ftp 228696064 Dec 09 01:32 install56.iso from mirror.ox.ac.uk - I have successfully upgraded by burning a cdrom: ibook:fred ~ uname -a; dmesg|head OpenBSD ibook.crowsons.com 5.6 GENERIC#344 macppc [ using 551184 bytes of bsd ELF symbol table ] console out [ATY,Via_A]console in [keyboard] , using ADB using parent ATY,ViaParent:: memaddr 9800 size 800, : consaddr 9c008000, : ioaddr 9002, size 2: width 1024 linebytes 1024 height 768 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.6-current (GENERIC) #344: Mon Dec 8 17:57:34 MST 2014 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 536870912 (512MB) Cheers Fred
Re: using cua0 the easy way
On 11/20/14 21:47, sven falempin wrote: How an openBSD dev is reading the /dev/cua when the cua is a ksh shall on the other side ? stty is obscure to me, I may install minicom or screen but how do you do that ? cu(1)?
Re: Basic question about following current
On 11/09/14 19:09, Theodore Wynnychenko wrote: Hello I am thinking of taking the plunge and following current. It all seems straightforward. I have looked at the FAQ's and other sources. I understand that it goes like this (simplistically): Get a new snapshot from mirror Sysmerge etc/xetc This first sysmerge is not necessary. Cp bsd.rd to / Boot into bsd.rd Follow upgrade Reboot Sysmerge again to be sure Update packages (pkg_add -ui) So far, got it. But, I am confused about ports. If I have something build from ports, I would want to update that as well, right? I see that there is a ports.tar.gz in the snapshot directory. But, in the FAQ it says: You must make sure your kernel, 'userland' (the supporting utilities and files) and ports tree are all in sync. cvs up -Pd in your /usr/ports directory should bring your ports up to current. There is no src, sys, or xenocara in the snapshot directory (I saw the explanation in the FAQ or somewhere, and it makes total sense). Therefore, my question is: if I am trying to update a port (using make update from a local ports tree), should I use the ports.tar.gz that is in the snapshot directory by uncompressing it over the top of the ports tree I already have? Or, should I download the current source and ports trees using anoncvs, and do the make update from the most current ports tree in anoncvs? Or, is either choice ok? You can you the ports.tar.gz as the starting point. I guess this comes down to a fundamental not understanding of exactly whether or not the local ports tree needs access to the current source tree or not, when trying to build or update a port. If you are using current then you need the latest ports tree - cvs up should do the trick. hth Fred
OT: integrating git branch output into ksh PS1 shell prompt?
Git fans like to know what branch is current, and bash's implementation of PS1 allows for update each time it is displayed. All of my attempts of adding a call to a ksh function into PS1 appear to be evaluated at the time that PS1 is set, but not upon each new display of the shell prompt. Does anyone have suggestions on how to have ksh execute a function upon each display of PS1? Thanks!
OpenBSD 5.6 Disks
Hi misc@ Just received my 5.6 disks in the post! Thanks to all the developers for your continued work in making another great OpenBSD release. Cheers Fred -- 5.6 in the wild: https://twitter.com/fcbsd/status/525618236667482112
Re: HEADS-UP: issues with chromium in -current
On Thu, Oct 23, 2014 at 12:14:03PM +0200, Marc Espie wrote: This has been discussed internally, but chromium is partly broken these days. Most specifically, windows refresh does strange things under some circumstances. The circumstances are well-known (thanks to matthieu@): modern systems use some composition manager for eye-candy on their display. So if you're using a shiny window manager, you won't see an issue. Old-style window managers, such as fvwm, fvwm2 (from ports) and cwm don't. Hence the breakage. Work-around: start a composition manager, such as xcompmgr from base xenocara. Cry since you lost your background image or moire pattern (fvwm-root, from ports, does know about composition managers). We're currently in the process of reporting the problem upstream. Outside of OpenBSD, most people don't use primitive window managers, so they don't see the issue. It probably started around when chromium switched to Aura for its gfx system... Does this issue include highlighted links becoming invisible? I ask as using xcompmgr does not solve this problem for me in Chromium. My set up: port:fred ~ dmesg|head -2; chrome --version; awesome --version OpenBSD 5.6-current (GENERIC.MP) #462: Tue Oct 21 16:17:54 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Chromium 38.0.2125.101 awesome v3.5.5 (Kansas City Shuffle) ?? Build: Oct 19 2014 10:55:35 for amd64 by gcc version 4.2.1 (@amd64.ports.openbsd.org) ?? Compiled against Lua 5.2.3 (running with Lua 5.2) ?? D-Bus support: ? cheers Fred
Libretto 70CT
Hi Sebastian, I've just installed -current on my Libretto 70CT - as you can see from the output below it stoped with: kernel: integer divide fault trap, code=0 Rebooted it and disable it, schsio and softraid and it has now made it to the end of boot - but it has not yet made it to a login prompt. Last time I tried this I left it running for about a week - and still did not make it to a login prompt. hth Fred PS I've CC misc@ for the archives rather than clog up ports@ Script started on Thu Oct 23 21:10:34 2014 port:fred ~ cu -l /dev/cuaU0 Connected to /dev/cuaU0 (speed 9600) OpenBSD/i386 BOOT 3.26 boot \|/-\|/booting hd0a:/bsd: -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500 [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0 entry point at 0x200120 [ using 801416 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX real mem = 16412672 (15MB) avail mem = 3915776 (3MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/11/97 apm0 at bios0: Power Management spec V1.2 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xe4000/0xc000 cpu0 at mainbus0: (uniprocessor) cpu0: F00F bug workaround installed isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 vga0 at isa0 port 0x3b0/48 iomem 0xa/131072 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620 wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors wd0(wdc0:0:0): using BIOS timings sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01 midi0 at sb0: SB MIDI UART audio0 at sb0 opl at sb0 not configured wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) audio1 at wss0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536 pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B pcmcia0 at pcic0 controller 0 socket 0 xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10 port 0x340/16, irq 9: address 00:80:c7:42:37:d9 pcmcia1 at pcic0 controller 0 socket 1 pcic0: irq 11, polling enabled vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x64: popl%ebx ddb ps PID PPID PGRPUID S FLAGS WAIT COMMAND 13605 0 0 0 2 0x14200crypto 21232 0 0 0 2 0x14200pfpurge 18646 0 0 0 2 0x14200pcic0,0,1 14390 0 0 0 2 0x14200pcic0,0,0 28330 0 0 0 2 0x14200apm0 1636 0 0 0 2 0x14200systqmp 12593 0 0 0 2 0x14200systq 9503 0 0 0 2 0x14200syswq 25602 0 0 0 1 0x14200idle0 2351 0 0 0 2 0x14200kmthread *1 0 0 0 7 0swapper 0 -1 0 0 3 0x10200 wdccmdswapper ddb trace cpu_switchto(d0e91014,d0e91000,d0d0af18,d03bc36c,0) at cpu_switchto+0x64 (null)(102,0,0,0,0) at 0xcdb22063 ddb machine sysregs acpi ddb machine sysregs idtr: 0xf0621fc8/07ff gdtr: 0xd037f060c000/ ldtr: 0x0018 tr: 0x0070 cr0:0x8001003b cr2:0x cr3:0x00faa000 cr4:0x ddb machie e ne acpi disasm showval
Re: Libretto 70CT
On 10/23/14 23:30, Mike Larkin wrote: On Thu, Oct 23, 2014 at 09:59:04PM +0100, Fred wrote: Hi Sebastian, I've just installed -current on my Libretto 70CT - as you can see from the output below it stoped with: kernel: integer divide fault trap, code=0 Rebooted it and disable it, schsio and softraid and it has now made it to the end of boot - but it has not yet made it to a login prompt. Last time I tried this I left it running for about a week - and still did not make it to a login prompt. hth Fred PS I've CC misc@ for the archives rather than clog up ports@ Script started on Thu Oct 23 21:10:34 2014 port:fred ~ cu -l /dev/cuaU0 Connected to /dev/cuaU0 (speed 9600) OpenBSD/i386 BOOT 3.26 boot \|/-\|/booting hd0a:/bsd: -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500 [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0 entry point at 0x200120 [ using 801416 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX real mem = 16412672 (15MB) avail mem = 3915776 (3MB) For what it's worth, 16MB doesn't appear to be enough anymore. qemu with 16MB hangs at the same place as you're reporting, but configuring it for 20MB RAM seems to boot ok. It's pretty slow but it does work. -ml Memory is definately an issue on my Libretto 70CT - but I think there might be more to it especially when you go back to 4.4 when if first displayed this issue... I might consign it to OpenBSD 4.3 :~) Cheers Fred
Re: OpenBSD 5.6 pre-orders in Germany possible
On Tue, Sep 30, 2014 at 09:02:56PM +0200, Stefan Wollny wrote: Am 09/30/14 um 14:42 schrieb Martijn van Duren: On Sat, 2014-09-27 at 07:30 +0100, OpenBSD Europe wrote: Hi folks, I just noticed that in Germany Lehmanns (see OpenBSD's order-site) already accepts pre-orders for OpenBSD 5.6-release. Guess what I just did :-) My little contribution to the project along with a big THANK YOU to the devs! Cheers, STEFAN Please don't do this and cancel your order. Things will become obvious on Monday :) I might have missed something, but could you provide me with an update on this issue? The openbsdstore.com has opend. Guess what I just did? ;-) Cheers, STEFAN Beat me to it - I've just pre-order my 5.6 release :~)
Re: Can OpenBSD access BBC Iplayer?
On Tue, Sep 02, 2014 at 08:57:34AM +0100, Anthony Campbell wrote: Greetings, list! I'm a long-standing user of Linux (currently ArchLinux) who is just trying out OpenBSD and so far is much impressed. I'm using a Thinkpad T42. The main outstanding problem at the moment is accessing BBC Iplayer, which insists on my having Flashplayer installed. After reading the FAQ and various lists I put libflashplayer.so in ~/.mozilla/plugins and installed the fedora_base package as suggested in the FAQ. I still can't use Iplayer. I saw somewhere that Chrome has inbuilt flashplayer but that doesn't seem to be the case. As a workaround I can use get_iplayer to download BBC programmes but is it possible to get a browser to access Iplayer? Anthony Hi Anthony, In the past I have managed to get flash to work on OpenBSD - but flash has not worked reliablybut not having flash is a positive feature for me ;~) I have not managed to get iplayer to work in a browser. If you succeed could you let misc@ know it would be useful for the archives. Cheers Fred
Re: Ethernet port on Lenovo G480
On 06/17/14 21:49, Leonardo Santagostini wrote: Hello list, that's me again. I have a Lenovo G480 but neither ethernet nor internal wifi are working as expected. could you please give me a hand to solve this issue? OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar 5 09:37:46 MST 2014 dera...@amd64.openbsd.org:/ snipped ppb0 at pci0 dev 28 function 0 Intel 7 Series PCIE rev 0xc4: msi pci1 at ppb0 bus 1 Attansic Technology AR8162 rev 0x10 at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 1 Intel 7 Series PCIE rev 0xc4: msi pci2 at ppb1 bus 2 Atheros AR9485 rev 0x01 at pci2 dev 0 function 0 not configured snipped run0 at uhub3 port 4 Linksys Linksys WUSB600N Wireless-N USB Network Adapter with Dual-Band ver. 2 rev 2.00/1.01 addr 3 run0: MAC/BBP RT3572 (rev 0x0223), RF RT3052 (MIMO 2T2R), address 98:fc:11:e0:59:0a snipped neither your ethernet (Attansic Technology AR8162) nor wifi (Atheros AR9485) are currently supported - some attempts have been made to get the AR9485 working [1] [1]http://marc.info/?t=13995899051 Atheros - are not a good vendor - they do not provide documentation for the developers to work from. Looks like you'll be stuck with run0 USB wireless adapter for the moment. Fred
Re: Vision 2020: Making OpenBSD the world's fastest OS
On 06/12/14 15:16, Stuart Henderson wrote: On 2014-06-11, Fred open...@crowsons.com wrote: On 06/11/14 15:16, Carsten Kunze wrote: - Original Nachricht Von: Rodrigo Mosconi open...@mosconi.mat.br An: Carsten Kunze carsten.ku...@arcor.de Datum: 11.06.2014 16:05 Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS What is the output from echo $?, after you run the getent ... command? $ getent hosts `hostname` $ echo $? 0 `hostname` should be replaced with a host...eg: Actually I meant exactly what I typed - the relevant thing here is whether there is a delay looking up the local hostname. I was being a muppet - I didn't notice the `back ticks` (~:
Re: Vision 2020: Making OpenBSD the world's fastest OS
On 06/11/14 15:16, Carsten Kunze wrote: - Original Nachricht Von: Rodrigo Mosconi open...@mosconi.mat.br An: Carsten Kunze carsten.ku...@arcor.de Datum: 11.06.2014 16:05 Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS What is the output from echo $?, after you run the getent ... command? $ getent hosts `hostname` $ echo $? 0 `hostname` should be replaced with a host...eg: port:fred ~ getent hosts 'google.com' 173.194.41.160 google.com 173.194.41.163 google.com 173.194.41.168 google.com 173.194.41.167 google.com 173.194.41.161 google.com 173.194.41.165 google.com 173.194.41.164 google.com 173.194.41.169 google.com 173.194.41.174 google.com 173.194.41.162 google.com 173.194.41.166 google.com 2a00:1450:4009:809::1003google.com
Re: Vision 2020: Making OpenBSD the world's fastest OS
On 06/11/14 15:25, Fred wrote: On 06/11/14 15:16, Carsten Kunze wrote: - Original Nachricht Von: Rodrigo Mosconi open...@mosconi.mat.br An: Carsten Kunze carsten.ku...@arcor.de Datum: 11.06.2014 16:05 Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS What is the output from echo $?, after you run the getent ... command? $ getent hosts `hostname` $ echo $? 0 `hostname` should be replaced with a host...eg: port:fred ~ getent hosts 'google.com' 173.194.41.160 google.com 173.194.41.163 google.com 173.194.41.168 google.com 173.194.41.167 google.com 173.194.41.161 google.com 173.194.41.165 google.com 173.194.41.164 google.com 173.194.41.169 google.com 173.194.41.174 google.com 173.194.41.162 google.com 173.194.41.166 google.com 2a00:1450:4009:809::1003google.com Sent to quickly :~( if `hostname` is not returning anything then the current system does not have an /etc/myname file. hth Fred
Re: how to forward port 2222 of pf box to port 22 of internel webserver
On 05/02/14 05:34, Indunil Jayasooriya wrote: Dear ALL, I want to do ssh to a internel webserver from the outside world. ssh port 22 is running in that web server. SSH port 22 is also ruuning my Openbsd 5.4 ( 32 bit ) firewall to which I do ssh from the outside world. So I want to add a rule to access internel webserver So I decided to forward port of pf box to port 22 of internel webserver So, I added a rules like these. I Still can't access. pass in log on $wan_if inet proto tcp from any to $wan_if port \ rdr-to $webserver port 22 pass out log on $int_if inet proto tcp from any to $webserver port 22 modulate state But, I can't access Why? Not sure but what does: sysctl net.inet.ip.forwarding show? and if you are using ipv6: sysctl net.inet6.ip6.forwarding What does pfctl -sr show? Using: match in on $wan_if proto tcp to ($wan_if) port rdr-to \ $webserver port ssh and pass in on $wan_if proto tcp to ($wan_if) port flags S/SA synproxy state work for me on: OpenBSD atom.crowsons.com 5.4 GENERIC.MP#44 i386 If the above does not help run tcpdump on both interfaces and see what is / is not being passed... hth Fred
Re: Netgear WG311T Atheros Chipset Wireless Problem
On 03/26/14 07:03, Wong Peter wrote: Dear all, I had bought a Netgear WG311T Atheros Chipset. The Openbsd kernel(dmesg) shows this card as ath0. Therefore, I try to configure it using /etc/hostname.ath0 with content below: inet 192.168..5.1 255.255.255.0 none media autoselect mediaopt hostap mode 11b chan 6 nwid wsm nwkey This configuration gives me an access point which its LED keeps on blinking and scan from window cannot find the particular nwid as well. I believe there is some problems with it. Please help. Thanks. What's the output of: /sbin/ifconfig ath0 scan
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 03/27/14 06:12, jignesh desai wrote: I am attempting to run foswiki on OpenBSD. Things are installed and i am able to open /bin/Configure page of foswiki configuration screen. but the page reports few errors, complaining that following files are either not found or outdated and new versions are required. The Files are : grep, rcs, ci, co,rlog, rcsdiff I tried commands like pkg_add -Uu to upgrade packages installed, but it reports all packages are uptodate. I also tried pkg_add rcs pkg_add grep etcbut non works. So my basic question is how to I update above files to their latest version required by foswiki. Regards What version of OpenBSD? The default httpd server in OpenBSD is chrooted by default so the webserver does not have access to the rest of the file system.
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 03/27/14 10:41, jignesh desai wrote: Hi Fred, No I have modifided config and Unchrooted it. After which i am successfully able to run http://localhost/foswiki/bin/configure page. and its this page that reports error about wrong file versions. therefore i wish to update those files to latest versions. The Files are : grep, rcs, ci, co ,rlog, rcsdiff. Infact I copied grep file from another folder into foswiki folder, after which it reported that grep is not a GNU grep, from the message i believe its looking for specific version of grep. Any further advice ? Regards As Dmitrij has stated use the chroot and work out how to get Foswiki working in the chroot - it will be a valuable learning experience and then you will be able to maintain it safely. man pkg_add explains the use of the tool really well, as does all the documentation on OpenBSD - it is one of the reason's that OpenBSD is so good to use. Fred
Re: Netgear WG311T Atheros Chipset Wireless Problem
On 03/27/14 12:23, Wong Peter wrote: Hi Fred, There is no output display to the console. It cannot become hostap. Please help. dmesg and output of /sbin/ifconfig ath0 would help debug this. cheers Fred
Re: BTW: 5.5-pre-orders
On 03/27/14 07:29, Stefan Wollny wrote: Hi, just noticed on cvs@ that Theo has activated pre-orders for 5.5. I did so right away. @Theo and the other devs: THANK YOU for your continued efforts to make this fine OS even better! Cheers, STEFAN http://shop.openbsdeurope.com/ is also taking pre-orders for 5.5 :~) Thanks to all the devs for their great work on getting another release ready! Cheers Fred
Re: Where is this device attached?
On 03/20/14 16:33, John Long wrote: On Fri, Mar 21, 2014 at 03:08:31AM +1100, Jonathan Gray wrote: Thanks. How do I build this? /jl http://www.openbsd.org/faq/faq5.html should answer most of your questions. hth Fred
Re: link in faq leads to inexisting page
On 03/18/14 19:13, Marko Cupać wrote: Hi, I just noticed that link FTP Reviewed: http://www.pintday.org/whitepapers/ftp-review.shtml ...in More information on FTP section of PF: Issues with FTP: http://www.openbsd.org/faq/pf/ftp.html#info ...leads to inexisting page. Perhaps this could be fixed. The file was removed in some time after 2 July 2010 - but versions can be found on the Internet Achive: http://web.archive.org/web/20020507140135/http://www.pintday.org/whitepapers/ftp-review.shtml Fred
Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?
On 02/24/14 22:32, Richard Pöttler wrote: On Mon, Feb 24, 2014 at 10:59 PM, Fabian Raetz fabian.ra...@gmail.com wrote: while calculating my phys. memory (mb) with the folllowing shellsript i get as a result -424. sysctl -n hw.physmem returns 3849830400 #!/bin/sh phys_mem_bytes=`sysctl -n hw.physmem` phys_mem_mb=`expr $phys_mem_bytes / 1024 / 1024` echo $phys_mem_mb -- You declared #!/bin/sh so you are using the broune shell, not ksh - fyi. On OpenBSD sh is the same binary as ksh, the notes section of the sh(1) gives some more detail as does the faq[1]. Fred [1]http://www.openbsd.org/faq/faq10.html#ksh
Re: mounting CVS tree read-only?
On Friday, February 21, 2014 11:14 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: After studying FAQ 5.3, I am contemplating mounting /usr/src and /usr/xenocara read-only through NFS so I can maintain a centralized tree for multiple platforms. Is this possible? Are all writes made to /usr/obj and /usr/xobj? That is the intent. From time to time, mistakes sneak in. If you find them, work with us to get them resolved. I think not enough people use this mechanism. Thank you for your prompt reply! In FAQ 5.3.4, config(8) is being used to populate the /usr/src/sys/arch/platform/compile/GENERIC directory. Am I correct in thinking this directory should be mounted read/write? Thanks, again!
Re: Xorg: Segmentation fault at address 0x28 w/ Intel HD Graphics 4600
On 02/12/14 12:32, RD Thrush wrote: On 02/12/14 02:53, Philip Guenther wrote: On Tue, Feb 11, 2014 at 11:37 PM, RD Thrush openbsd-m...@thrush.com wrote: ... I didn't expect those perms to matter w/ Xorg -configure -keepPriv. With the perms on /dev/drm[0-3] set so that you own them, what happens when you don't use the -configure and -keepPriv options? Thanks. I see the root screen. Cursor tracks mouse. ctl-alt-backspace transitions cleanly to text mode. I've appended the typescript, associated Xorg.0.log and dmesg. (You don't say why you use -configure, so I'll just quote Matthieu I was expecting better than 1024x768 resolution and the X11 section of the faq http://www.openbsd.org/faq/faq11.html#amd64i386example suggested Xorg -configure. Herb from July 2012(!): Also forget about X -configure. It's known to be more or less broken and nowadays you don't need an xorg.conf file to run X in most cases. ) I'll stop using X -configure. Other recommendations for getting better resolution? xrandr(1) and mode lines from cvt(1) or gtf(1) might give you better resolution. cvt has solved resolution issues for me where gtf failed. hth Fred PS in theory you can just put the mode lines in xorg.conf - but I didn't have much luck trying that approach...
Re: PHP SIGSEGV with Mediawiki
On 02/10/14 14:47, Cyrus wrote: I never got a reply to this. I am still having issues with PHP crashing, in fact it seems to be happening for every new user. Old sites are working fine. I don't know why this is happening, as before there is very little information in /var/log/php-fpm.log about the crash. I need information on how to get more details from the system. kdump(1) might help you solve this issue. hth Fred
Re: PHP SIGSEGV with Mediawiki
On 02/10/14 16:36, Fred wrote: On 02/10/14 14:47, Cyrus wrote: I never got a reply to this. I am still having issues with PHP crashing, in fact it seems to be happening for every new user. Old sites are working fine. I don't know why this is happening, as before there is very little information in /var/log/php-fpm.log about the crash. I need information on how to get more details from the system. kdump(1) might help you solve this issue. hth Fred /kdump/ktrace/ using kdump to inspect the file created by ktrace...
Re: Does OpenBSD's wpa_supplicant support PSK?
On 02/10/14 21:20, Zbigniew wrote: 2014-02-10 22:00 GMT+01:00, Jeff Goettsch j...@primal.ucdavis.edu: I don't know anything about wpa_supplicant, but does # ifconfig rum0 nwid nwid wpakey wpakey work? No, it says it wants passphrase length in range from 8 to 63 characters, while the PSK-passphrase has 64 characters, unfortunately. do you have 0x at the start of wpakey? from ifconfig(8): wpakey passphrase | hexkey Set the WPA key and enable WPA. The key can be given using either a passphrase or a full length hex key, starting with 0x. If a passphrase is used the nwid option must be set prior to specifying the wpakey option, since ifconfig will hash the nwid along with the passphrase to create the key. Fred