Change Time zones cause ddb in 6.2 snapshot

2017-09-29 Thread Fung
snapshots/amd64/ Build date: 1506531075 - Wed Sep 27 16:51:15 UTC 2017 how to repeat the problem # config -ef /bsd [...] Enter 'help' for information ukc> timezone -480 timezone = -480, dst = 0 ukc> quit Saving modified kernel. reboot wait boot ... ... ddb>

hijack client DNS query to localhost cache in the router 

2018-09-23 Thread Fung
simple router build with OpenBSD Wan a.b.c.d Lan 192.168.0.1/24 Unbound run for DNS cache in 127.0.0.1 we want: no mater a client pc set dns to any address ( 8.8.8.8 or 9.9.9.9 ) all clients' dns query are redirect to the localhost cache in the router Can we achieve using pf.conf? how? test n

OpenBSD 6.6 boot fail:init: can't open /dev/console: Device not configured

2019-11-04 Thread Fung
1. After install OpenBSD 6.6 release or latest snapshot(Build date: 1572723128 - Sat Nov 2 19:32:08 UTC 2019), reboot fail,monitor display ... drm:pid94232:csr Load_ _work_ fn *NOTICE* Failed to Load DMC firmware i915/kbl_ dmc_ ver1 04 ,bin. Disabli ng runt ime power management drm:pid94232:csr

Re: syscall 5 "cpath" continues with octeon

2016-01-04 Thread Fung
--- (OpenBSD 5.8-current (GENERIC) #1: Thu Nov 26 15:01:01 CET 2015) Octeon ubnt_e100# version U-Boot 1.1.1 (UBNT Build ID: 4670715-gbd7e2d7) (Build time: May 27 2014 - 11:16:22) 1. same installation problem repeated message syscall 5 "cpath" but we can pass with a trick. dd if=min

man 1 dd EXAMPLES improve

2018-03-06 Thread Fung
line EXAMPLES Write an OpenBSD floppy image to a floppy disk: # dd if=floppy34.fs of=/dev/rfd0c bs=32k add or change to below? - Write an OpenBSD install image to a USB storage device: # dd if=install62.fs of=/dev/rsdNc bs=1m where N is the device number. You can find the correct device

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

2021-04-28 Thread Fung
OpenBSD 6.9 RAID 1C (encrypted raid1) softraid discipline can't boot OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021 one disk, shell create RAID CRYPTO, install system ok, boot ok two disk, shell create RAID 1, install system ok, boot ok two disk, shell create RAID 1C ok, install sy

use sndiod remote microphone

2013-08-25 Thread Fung
have read http://www.openbsd.org/faq/faq13.html#audioserver now two OpenBSD pc A & B A add sndiod_flags="-L-" to /etc/rc.conf.local, plug in a microphone. so B how to set and use the remote mic? what i want: 1. B can hear the sound from A's mic (live broadcast). 2. What program in B should I

user can not shutdown PC in xfce

2013-08-27 Thread Fung
1. root login xfce can shutdown the pc smoothly using mouse. 2. other user in xfce can not shutdown the pc, why? # visudo ... %wheel ALL=(ALL) SETENV: ALL share ALL=NOPASSWD: /usr/local/lib/xfce4/session/xfsm-shutdown-helper ... # id share uid=1000(share) gid=1000(share) groups=1000(share), 0(wh

Re: user can not shutdown PC in xfce

2013-08-30 Thread Fung
-- Original -- From: "Tomas Bodzar"; On Tue, Aug 27, 2013 at 2:34 PM, Fung wrote: > 1. root login xfce can shutdown the pc smoothly using mouse. > 2. other user in xfce can not shutdown the pc, why? > > # visudo > ... > %wheel ALL=(

current snapshot can not install drupal7 with sqlite3 any more.

2013-09-13 Thread Fung
because php's version is php 5.4 , installing error sample; Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of in previous php 5.3, drupal 7 with sqlite3 works.

pure-uploadscript for ffmpeg to auto convert files

2013-09-23 Thread Fung
just install pure-ftpd and ffmpeg when convert *.avi to *.mp4 without reencoding in normal shell, the command is # ffmpeg -i inputname.avi -strict -2 -vcodec copy inputname.mp4 now with pure-uploadscript , need Automatically run ffmpeg after a successful *.avi upload , converting to *.mp4 the

pure_ftpd other option(style) not work

2013-09-23 Thread Fung
in current snapshots install pure_ftpd default /etc/rc.d/pure_ftpd is --- #!/bin/sh # # $OpenBSD: pure_ftpd.rc,v 1.1 2011/04/25 09:26:47 sthen Exp $ daemon="/usr/local/sbin/pure-ftpd" daemon_flags="-A -B -H -u1000" . /etc/rc.d/rc.subr pexp="pure-ftpd: -pure-ftpd \(SERVER\)" rc_reload=NO rc_cm

Re: pure_ftpd other option(style) not work

2013-09-24 Thread Fung
today test pure-ftpd again in a fress install pf.conf is default, not touch anything in system pure_ftpd other option(style) not work! login as: root root@10.0.0.163's password: Last login: Tue Sep 24 17:42:39 2013 from 10.0.0.88 OpenBSD 5.4-current (GENERIC.MP) #61: Mon Sep 23 15:44:45 MDT

How to restrict ip to access a directory in OpenBSD's httpd

2019-04-02 Thread Fung
apache support somthing like Order Allow,Deny Allow from all Deny from 1.2.3.4 How to achieve in OpenBSD's httpd? We are using OpenBSD 6.4.

fdisk fuction in bsd.rd

2014-07-26 Thread Fung
http://www.openbsd.org/faq/faq4.html#Morefdisk uh-oh! What's our offset? Simple -- the offset of the previous partition plus the size of the partition, in this case, 63+10490382 = 10490445. offset: [0] 10490445 size: [0] * fdisk:*1> in this situation, default offset = 0 ?? may this fuction cha

hotplug-diskmount does not support ntfs auto mount?

2013-11-14 Thread Fung
hotplug-diskmount does not support ntfs auto mount? but mount_ntfs can do it btw , 1. when hotplug-diskmount does not support any file system, the flash disk led light is blinking for ever except unplug it. 2. readme.OpenBSD not sync with man Example man 8 hotplug-diskmount says - EX

usb modem support fax in OpenBSD?

2013-11-26 Thread Fung
want to setup hylafax in OpenBSD please suggest some usb modem support fax in OpenBSD, thanks.

www problem in undeadly.org

2013-12-08 Thread Fung
http://undeadly.org/ in section OpenBSD Errata month is incorrect! they said 2013-13-07 001 RELIABILITY A crash can happen on pflow(4) interface destruction. 2013-13-07 002 SECURITY A memory corruption vulnerability exists in the post-authentication sshd process when an AES-GCM ciph

Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread Fung
Sorry, 163.com mail server always eat some lines , so resend email from qq.com and add # disklabel wd0 Few people using loongson notebook? Recently one Chinese organization sale this notebook about 45 $, they dump about 1,000 notebooks in 2 months. http://www.loongsonclub.cn/tg/ Origin

Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500Gdisk

2013-12-09 Thread Fung
PMON> vers PMON: PMON2000 2.1 (Bonito) #14: Tue May 18 10:33:47 CST 2010 RE: Does the system boot if you press `enter' when the system is apparently hung with the splash screen still displayed? NO! Press Enter ,nothing happened > 1)when power up the notebook, system will hung in the splash screen