5.2 boot hang on amd64 (only once)

2012-11-15 Thread Robert Connolly
I installed 5.2 on my amd64 laptop. I'm using the altroot softraid method of encrypting /, posted by Nick on geekyschmidt.com. Anyway, the first boot hung on "cpu3: AMD erratum 721 detected and fixed". I powered off and rebooted, and haven't had a problem since. I'm not able to reproduce it, so I d

Re: athn(4) Atheros AR9300 testing request

2012-11-16 Thread Robert Connolly
I have an AR9285. Is that useful? Also, please while you're in there... I get device timeout's constantly, and it disconnects and reconnects to my router. Maybe you can find the cause. On Fri, Nov 16, 2012 at 4:20 AM, Stefan Sperling wrote: > Is anyone able to test athn(4) in -current with the

Isolating Firefox in a nested X server, and running as a different user

2012-12-01 Thread Robert Connolly
Hello. In an effort to isolate Firefox (or any graphical browser) from my user account, I have added a 'firefox' user and group, added 'firefox' user to sshd_config to allow x11 forwarding, and ran the following commands: $ Xephyr :1 $ ssh -Yf firefox@localhost firefox --display :1 This can b

Re: Isolating Firefox in a nested X server, and running as a different user

2012-12-16 Thread Robert Connolly
Ok. I took the suggestions, and now have: Xephyr -screen 1358x693 :1 & ssh -Xf firefox@localhost 'twm -display :1 & firefox -no-remote --display :1' I found the xsel(1) scripts to do copying and pasting from different displays, and it works with some getting used to. I intend to make some tit

OpenBSD desktop

2012-12-16 Thread Robert Connolly
Hello. I have heard on IRC that I am running a vulnerable version of Firefox, despite running 'pkg_add -a -u', on my OpenBSD 5.2 system. The advice I got was to run snapshots, because OpenBSD does not have the human resources to maintain packages. I understand this is a problem, but I want to

Plausible deniable encryption

2012-12-18 Thread Robert Connolly
Assuming you have read what is out there, I have a technigur

Re: Plausible deniable encryption

2012-12-20 Thread Robert Connolly
On 12/19/12 23:23, Ted Unangst wrote: On Tue, Dec 18, 2012 at 21:50, Robert Connolly wrote: Assuming you have read what is out there, I have a technigur When you are locked in a room with men determined to beat you until they get what they want, you will reconsider the wisdom of being unable

Re: Plausible deniable encryption

2012-12-21 Thread Robert Connolly
On 12/21/12 04:06, Dustin Fechner wrote: On 12/21/2012 06:17 AM, Robert Connolly wrote: I want to hide a system in the primary swap partition. Could you please explain why anybody (including you) would want to do this!? Essentially, for fun. For hobby, I am trying to implement every privacy

Re: Plausible deniable encryption

2012-12-21 Thread Robert Connolly
On 12/21/12 19:36, Robert Connolly wrote: > On 12/21/12 04:06, Dustin Fechner wrote: >> On 12/21/2012 06:17 AM, Robert Connolly wrote: >>> I want to hide a system in the primary swap partition. >> Could you please explain why anybody (including you) would want to do &g

Re: 5.2 vs 5.1

2012-12-31 Thread Robert Connolly
On 12/30/12 05:51, Kenneth R Westerback wrote: On Sun, Dec 30, 2012 at 09:01:41AM +, J Boehm wrote: I have recently tried out 5.2 on a slightly dated hardware (nvidia based, Athlon, 500MB Ram). Working with Seamonkey or Xombrero seems to be slow, pages load reluctantly in 5.2. Videos on Yout

Re: Current isolation best practices?

2013-01-08 Thread Robert Connolly
On 01/08/13 10:54, Jean-Philippe Ouellet wrote: Hello misc@, I'm researching locking things down, and I'm wondering what the current best practice is for isolating risky programs. It seems this community has traditionally shunned virtualization as a solution, and also called exclusively chrootin

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-21 Thread Robert Connolly
On 01/21/13 15:45, OpenBSD wrote: Hi Misc, I've just upgraded to -current (OpenBSD 5.2-current (GENERIC) #17: Fri Jan 18 19:42:57 MST 2013) dmesg at [2] from the Jan 11 snapshot and done a pkg_add -vui. But when I start firefox[1] now it opens the window but shortly afterwards core dumps. I'm

USB self powered external hub does not do plug and play

2013-02-17 Thread Robert Connolly
Hello. On boot, or if I disconnect and reconnect the hub from my system, devices connected to the hub are visible and work. If I remove something, the kernel gives and error, as seen below in dmesg when I removed a USB storage I got "umass0: BBB reset failed, IOERROR". If I add a new device,

Boot hangs on cpu1, every first boot after upgrading.

2013-02-17 Thread Robert Connolly
Hello. When I first installed OpenBSD by CD, and each time I upgrade from bsd.rd, the reboot hangs on cpu1. The following reboots don't hang. This happens reliably on every first boot. What could be causing this? Thanks

How to set aliases in ksh

2013-03-17 Thread Robert Connolly
Hi. I have tried using both ~/.kshrc and ~/.profile to set an alias such as: alias ls='ls -F' and it doesn't work automatically on login. The files are being sourced, because my definition of PATH and PKG_PATH work. If I source the files manually, with: . ~/.profile then the aliases work. So w

Xephyr bug with Firefox

2013-04-21 Thread Robert Connolly
Hello. I use Xephyr with Firefox. I also run Firefox as a dedicated user. At seemingly random times, but on a regular basis, Firefox will behave oddly. Firefox will open links in a new window, scrolling up or down with my touchpad will cause the tab to go forward or backward through browser h

OpenBSD i7 tablets

2013-04-25 Thread Robert Connolly
Hi. While browsing around the electronics stores I noticed that Intel i7 tablets were available. From what I understand these tablets are AMD64, and the one I looked at had an Intel HD 4000 GPU. I realize that the wifi, audio, camera, etc, drivers may not be supported, but I would like to know

How does OpenBSD do backups?

2013-04-27 Thread Robert Connolly
I am a minimalist. I strongly prefer to use what is in base to do what I need to do. I know "Duplicity" exists, but how would I reproduce what it does with the OpenBSD base? Set up a local CVS server, and send differences off site? Thanks

long file names with tar

2014-05-07 Thread Robert Connolly
Why does BSD tar complain about long file names, and GNU does not? I'm running amd64. Thanks

Notebook

2012-05-26 Thread Robert Connolly
Hello. I recently bought an Acer 5552-7858 notebook. While shopping I checked that OpenBSD had drivers for all the devices, and my dmesg has no "not configured" messages. The video, webcam, and audio are working well. This is a low price AMD quad core, well loaded with 6GB of memory and 640GB of s

Re: Acer 5552-7858 notebook dmesg

2012-05-29 Thread Robert Connolly
I haven't tried suspend yet. I read the apm man page, and the zzz pdf, but I don't yet understand how it works in OpenBSD. Is system memory moved to swap while the system is suspended? or am I thinking of hibernation? I did try 'apm -C', and CPU stepping is sortof working. apm steps the CPU clock

Re: Acer 5552-7858 notebook dmesg

2012-05-30 Thread Robert Connolly
Yes, 'zzz' works smoothly, while running X, and closing the lid also suspends the system. It seems to suspend to RAM since it only takes a second or two. The system reports that the webcam/video, usb, and scsibus "detached" during suspend, and then return after resume. On Wed, May 30, 2012 at 2:0

Laptop lid closing script

2012-05-30 Thread Robert Connolly
Hello. Is there any way to configure an ACPI event, such as closing the lid of a laptop, to run a script, like 'apm -C' and screensaver? apm(8) and sensorsd(8) don't seem to do anything like this. Thanks Robert

xidle(1) not working well

2012-05-31 Thread Robert Connolly
Hello. I am having problems with xidle(1)... This command does nothing.. xlock doesn't run after 5 seconds, or minutes: xidle -program "/usr/X11R6/bin/xlock" -timeout 5 unless I put my mouse cursor in the NW corner. xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock" -timeout 10 This command also

Re: Laptop lid closing script

2012-05-31 Thread Robert Connolly
I am favoring this approach, to use idle events to do apm -C and turn off the monitor, and run a locking screensaver when the system suspends. Thanks On Thu, May 31, 2012 at 12:03 AM, David Coppa wrote: > On Thu, May 31, 2012 at 7:37 AM, Jan Stary wrote: > > On May 30 20:15:4

Re: xidle(1) not working well

2012-06-02 Thread Robert Connolly
I have made progress, but I still have weirdness: $ cat /home/ashes/bin/xlock.sh #!/bin/sh exec /usr/X11R6/bin/xlock -mode blank -lockdelay 60 -dpmsoff 90 -startCmd 'apm -C' -endCmd 'apm -H' +description $ cat /home/ashes/.kde/Autostart/startup #!/bin/sh xset m 10,1 1 xidle -area 1 -timeout 900

Re: Acer 5552-7858 notebook dmesg

2012-06-02 Thread Robert Connolly
Update: There is a BIOS upgrade for this notebook. I downloaded a 31MB FreeDOS USB image, and wrote it to a 32GB USB stick. The FreeDOS image is almost completely free space, so after unzipping the Acer BIOS upgrade and copying the DOS directory files to the mounted FreeDOS image, it booted, ran t

apmd closes/crashes on lid close

2012-06-02 Thread Robert Connolly
Hello. I am running apmd without arguments from rc.conf. I am also running lid close suspend from sysctl.conf. When I close the lid, and open it again, apmd is gone from 'ps auxw'. In /etc/apm/suspend I am hitting xidle with a signal 30. xidle is sparking xlock with a -startCmd apm -C, and an -en

Re: apmd closes/crashes on lid close

2012-06-03 Thread Robert Connolly
Sometimes apmd crashes from a system suspend, and sometimes it does not. Sometimes xidle runs xlock, and sometimes it does not. Sometimes xlock asks for a password, and sometimes it does not. Can anyone tell me whether they have all of these working consistently and reliably? They were not work

Re: apmd closes/crashes on lid close

2012-06-04 Thread Robert Connolly
"xset dpms 5 10 15" isn't doing anything either, nor "xset s 4". On Sun, Jun 3, 2012 at 11:40 PM, Robert Connolly < robertconnolly1...@gmail.com> wrote: > Sometimes apmd crashes from a system suspend, and sometimes it does not. > > Sometimes xid

Re: xidle(1) not working well

2012-06-06 Thread Robert Connolly
Thanks for replying. My problems with xidle turned out to be mostly caused by a paused Mplayer, which disabled the screensaver. I also ended up doing xset dpms 0 0 0 to allow xlock control over it. On Tue, Jun 5, 2012 at 7:27 PM, Predrag Punosevac wrote: > Robert Connolly wrote: > >

sensorsd config tokens

2012-06-08 Thread Robert Connolly
Hello. I have some problems with the tokens used in sensorsd.conf. >From /etc/sensorsd.conf (it's set to 51C for testing purposes): hw.sensors.km0.temp0:high=51C:command=/etc/sensorsd/cpu-temp.sh %l %x %t %2 %3 %4 hw.sensors.acpitz0.temp0:high=75C:command=/etc/sensorsd/cpu-temp.sh %l %x %t %2 %3

acpiac(4) manual page and sensorsd(8)

2012-06-16 Thread Robert Connolly
Hello. The acpiac(4) man page mentions that the AC power source status can be monitored by sensorsd(8), but sensorsd(8) does not monitor this sensor as far as I know. apmd(8) does however. Could the acpiac(4) man page be reworded to reflect this? Thanks

acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
Hello. During boot I see: acpitz0 at acpi0: critical temperature is 200 degC The acpitz(4) man page mentions that the system will power down if this critical temperature is reached. I assume this temperature is retrieved from BIOS, but I do not have an option in BIOS setup for it. Can I hard cod

Re: acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
figure the OpenBSD kernel to ignore the BIOS setting, and use my hard coded temperature instead. Or, use sensorsd(8) and a script. On Mon, Jun 18, 2012 at 9:35 AM, Mike Larkin wrote: > On Mon, Jun 18, 2012 at 06:35:58AM -0700, Robert Connolly wrote: > > Hello. > > > > Dur

Re: acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
sensorsd(8)'s "low" goes in the other direction. If I set "low" to 60C, it will go off if the CPU is running at 50C. Sensorsd(8) isn't made for such fine control as some of us would like. If the battery is low, we want the sensor to alert us. If the temperature is low, we do not want to be alerted

Re: acpitz critical temperature is too high

2012-06-18 Thread Robert Connolly
Another idea I forgot to mention is to use syslog, and pipe to scripts. This would pretty much solve any issues with temperature and battery monitoring... run every syslog of sensorsd and apmd through a script, and forget using sensorsd for event commands.

Re: acpitz critical temperature is too high

2012-06-19 Thread Robert Connolly
It didn't occur to me to set up sensorsd(8) this way, although it makes perfect sense now. This would also work well for battery monitoring. Thank you On Tue, Jun 19, 2012 at 7:11 AM, Artturi Alm wrote: > 2012/6/19 Robert Connolly > >> sensorsd(8)'s "low" goes

Temperature script for sensorsd(8)

2012-06-19 Thread Robert Connolly
Hello. I'm not a proficient shell script writer, so I would like advice and criticism for my sensorsd(8) temperature script. In particular, I would like the "above" email to root to include helpful information that would help explain why the temperature went to critical. Anything else that I may

Re: Full Disc Encryption - i want your opinions

2012-07-20 Thread Robert Connolly
I have been using softraid full disk encryption, with the exception of the /altroot partition, on my laptop. I have no real threat. I just want it so that if someone wants to go through my laptop, they can't without my permission. With OpenBSD's full disk encryption, and a locking screen saver, the

Re: Full Disc Encryption - i want your opinions

2012-07-20 Thread Robert Connolly
ypted system, during boot, which is simple enough to set up, but I have no reason to. On Fri, Jul 20, 2012 at 9:12 PM, Robert Connolly < robertconnolly1...@gmail.com> wrote: > I have been using softraid full disk encryption, with the exception of the > /altroot partition, on my lapto

Re: output from video(1) utility

2012-08-02 Thread Robert Connolly
ffmpeg -s vga -f video4linux2 -i /dev/video -ac 2 -f sndio -i aucat:0 ff.mpg You can also use a fifo instead of a file. On Wed, Aug 1, 2012 at 8:44 PM, Austin Hook wrote: > Anyone have an example command ffmpeg or otherwise, to convert the output > from the video(1) utility to something I can w

Re: openbsd in android

2012-08-02 Thread Robert Connolly
I recently bought an HTC Android phone. My only other computer is OpenBSD. I have not yet had a need to use the adb application, or Linux-compat, using ssh/scp instead. I compile Android kernels on the phone itself, in a Debian chroot. I am working up to being able to compile the C language base sy

Re: Android tethering via urndis(4)

2012-09-02 Thread Robert Connolly
Run dmesg from a shell on the Android. See what its side of the story is. I think it uses eth0 and/or usb0 for tethering. Check ifconfig usb0/eth0 too. My guess is that the phone doesn't do usb1. Can you mount the phone as a storage device with the i386? If you can, you can pipe dmesg to a file in

audio volume

2012-09-03 Thread Robert Connolly
Hello. Is there any way I can increase the volume output of my headphones and speakers. Doubling the volume would be nice. Maybe a kernel modification? Thanks

serial to usb converter supported

2012-09-04 Thread Robert Connolly
This ebay item: http://www.ebay.ca/itm/230816653390?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649#ht_3164wt_1267 is supported: uplcom0 at uhub2 port 2 "Prolific Technology Inc. USB 2.0 To COM Device" rev 1.10/3.00 addr 2 ucom0 at uplcom0 I am reporting this because it is a generic item, and

no output from /etc/daily

2012-09-22 Thread Robert Connolly
Hello. For several days I have not been getting mail from /etc/daily, including when I run it manually. /var/log/security.out* are empty. What could cause this?

Re: no output from /etc/daily

2012-09-22 Thread Robert Connolly
My local mail is not working, and I don't know how to diagnose it. I'm using OpenSMTP. On Sat, Sep 22, 2012 at 11:50 AM, Alexander Hall wrote: > On 09/22/12 20:45, Robert Connolly wrote: > >> Hello. >> >> For several days I have not been getting mail from /etc

Re: no output from /etc/daily

2012-09-24 Thread Robert Connolly
Thanks. That log file got me in the right direction to fixing it. It was because I forward local mail to gmail, and I changed my password. On Mon, Sep 24, 2012 at 2:04 AM, Norman Golisz wrote: > Hello Robert, > > On Sat Sep 22 2012 15:16, Robert Connolly wrote: > > My local mail

Backing up an Android phone to an OpenBSD laptop

2012-09-25 Thread Robert Connolly
Hello. I'm just looking for advice, not a howto. I realize this is not an OpenBSD specific topic, but since I'm trying to get Linux and OpenBSD to cooperate, anyone I ask for advice will refer me elsewhere. I want to do backups of my Android phone whenever it is at home. The best software package

Security for an ethernet switch lan

2012-10-14 Thread Robert Connolly
Hello. I have three computers. Each computer gets internet from its own wireless device, and they communicate with each other over a 1000mb ethernet switch. None of the computers therefore do ip forwarding. I use the lan for X11 forwarding, file sharing, and ssh. I would like to use SSL for authen