Re: 4096-byte sector size again

2011-12-21 Thread j
Regarding > The sectors are definitely 4k bytes. How can I re-partition it given that > fdisk won't adjust the MBR? > # fdisk -e sd1 > Unable to read MBR It turns out this is fixed in 5.0 (and I tested in -current). Thanks to Theo and Kenneth for some offline help. --John

Re: root/boot on softraid in 5.0

2011-12-21 Thread Josh Grosse
Josh Grosse jggimi.homeip.net> writes: > > Paul B. Henson acm.org> writes: > > > > > I've been running openbsd 4.6 for a couple years now with root on > > softraid, booting off a CF card with a kernel compiled to hardcode > > root/swap on sd0. > > > > I read about official support for root o

Re: root/boot on softraid in 5.0

2011-12-21 Thread Josh Grosse
Paul B. Henson acm.org> writes: > > I've been running openbsd 4.6 for a couple years now with root on > softraid, booting off a CF card with a kernel compiled to hardcode > root/swap on sd0. > > I read about official support for root on softraid > Anyway, just to clarify my understanding,

Re: OpenVPN issues on 5.0

2011-12-21 Thread Erling Westenvik
On Wed, Dec 14, 2011 at 06:28:55PM -0800, Johan Beisser wrote: > On Wed, Dec 14, 2011 at 5:54 PM, Erling Westenvik > wrote: > > After upgrading (re-installing from scratch) my firewall from 4.6 (or > > 4.7) to 5.0, I have not been able to get OpenVPN back working. Please > > forgive me for asking

root/boot on softraid in 5.0

2011-12-21 Thread Paul B. Henson
I've been running openbsd 4.6 for a couple years now with root on softraid, booting off a CF card with a kernel compiled to hardcode root/swap on sd0. I read about official support for root on softraid: http://www.undeadly.org/cgi?action=article&sid=20111002154251 and got the impression it would

Re: Proper way to update system + ports?

2011-12-21 Thread Stuart Henderson
On 2011-12-21, Corey wrote: > On 12/20/2011 11:16 AM, Stuart Henderson wrote: >> >>> Then afterwards, can I check out the -current branch from CVS as >>> I do with -stable? i.e. # cvs -d$CVSROOT checkout -P src >>> Or am I not supposed to fetch& build -current at all? Would it >> You can checkout

Re: can not use the up key to last command at root?

2011-12-21 Thread Frédéric Perrin
On 21.12.2011 23:36, Stuart Henderson wrote: On 2011-12-21, Alexander Polakov wrote: Isn't "set -o emacs" at the end of ~/.kshrc enough? It's not passed through if you do e.g. sudo -s Which is why you should use `sudo -i'. -- Fred -- http://tar-jx.bz

Re: IPSEC gateway serving rogue laptops

2011-12-21 Thread Stuart Henderson
On 2011-12-21, Henrik Engmark wrote: > I have been trying to set up a vpn concentrator using isakmpd and ipsec, > where clients are laptops on the run, and my vpn concentrator is on a > static IP. To start with, I want to use a setup as simple as possible, > and use only psk for authentication. No

Re: can not use the up key to last command at root?

2011-12-21 Thread Stuart Henderson
On 2011-12-21, Alexander Polakov wrote: > * David Coppa [111221 14:09]: >> On Wed, Dec 21, 2011 at 10:41 AM, Stuart Henderson >> wrote: >> > On 2011-12-20, johnw wrote: >> >>> The aliases are not neccesary. I suspect root's shell is in vi mode. >> >>> Check with set -o >> >>> >> >>> -Otto

Re: Proper way to update system + ports?

2011-12-21 Thread Corey
On 12/20/2011 11:16 AM, Stuart Henderson wrote: Then afterwards, can I check out the -current branch from CVS as I do with -stable? i.e. # cvs -d$CVSROOT checkout -P src Or am I not supposed to fetch& build -current at all? Would it You can checkout src if you want, but you don't have to, you

Re: IPSEC gateway serving rogue laptops

2011-12-21 Thread Tomas Bodzar
On Wed, Dec 21, 2011 at 3:25 PM, Henrik Engmark wrote: > > I have been trying to set up a vpn concentrator using isakmpd and ipsec, > where clients are laptops on the run, and my vpn concentrator is on a > static IP. To start with, I want to use a setup as simple as possible, > and use only psk fo

Re: can not use the up key to last command at root?

2011-12-21 Thread Alexander Polakov
* David Coppa [111221 14:09]: > On Wed, Dec 21, 2011 at 10:41 AM, Stuart Henderson > wrote: > > On 2011-12-20, johnw wrote: > >>> The aliases are not neccesary. I suspect root's shell is in vi mode. > >>> Check with set -o > >>> > >>> -Otto > >> > >> > >> Yes, i have this one in ~/.kshrc, >

A recommendation from a friend !!!

2011-12-21 Thread Linda Idiris
I am Miss Linda I came across your profile today and became much interested in you I will like to have you as my companion, from here lets see if our dream towards each other will became a reality I will also like to received your mail direct to my box. I will be glad to receive your mail (Remembe

Re: trendnet ethernet usb

2011-12-21 Thread Jonathan Gray
The man page is not an exhaustive list, include the full dmesg with the device plugged in for a start and the output of "ifconfig axe0 media" On Wed, Dec 21, 2011 at 04:24:58PM +0400, Wesley M. wrote: > i read man page axe(4) there's no my model trendnet TU2-ETG :( > So i suppose that it is not co

IPSEC gateway serving rogue laptops

2011-12-21 Thread Henrik Engmark
I have been trying to set up a vpn concentrator using isakmpd and ipsec, where clients are laptops on the run, and my vpn concentrator is on a static IP. To start with, I want to use a setup as simple as possible, and use only psk for authentication. No certificates or anything like that. I am havi

Re: ISAKMPD question: certificates shipped?

2011-12-21 Thread Toni Mueller
Hi Stu, On Sun, Dec 04, 2011 at 11:24:24AM +, Stuart Henderson wrote: > I don't see any code changes that would result in a different presentation > order of certificates between 4.8 and 5.0.. > > tcpdump traces of the negotiation from 4.8 and 5.0 might be useful, as might > logs from the 3rd

Re: start daemon with rc.d

2011-12-21 Thread Antti Harri
On Wednesday 21 December 2011 12:26:32 pavel pocheptsov wrote: > Hello misc. > In old release of OBSD to start daemons with system was used rc.local. > For example: > if [ -x /usr/local/bin/mysqld_safe ] ; then >su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' >echo -n '

Re: start daemon with rc.d

2011-12-21 Thread Vitali
On Wed, Dec 21, 2011 at 12:27 PM, Antoine Jacoutot wrote: > On Wed, Dec 21, 2011 at 03:17:24PM +0400, pavel pocheptsov wrote: >> 21 P4P5P:P0P1QQ B 2011, 14:41 P>Q B Antoine Jacoutot : >> > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: >> > > Hello misc. >> > > In old release of

Re: trendnet ethernet usb

2011-12-21 Thread Wesley M.
i read man page axe(4) there's no my model trendnet TU2-ETG :( So i suppose that it is not compatible :( Wesley. On Wed, 21 Dec 2011 16:10:35 +0400, "Wesley M." wrote: > tried on OpenBSD 5.0 : same problem > ifconfig show : > media : Ethernet none (none) > > On Wed, 21 Dec 2011 16:04:36 +0400,

Re: trendnet ethernet usb

2011-12-21 Thread Wesley M.
tried on OpenBSD 5.0 : same problem ifconfig show : media : Ethernet none (none) On Wed, 21 Dec 2011 16:04:36 +0400, "Wesley M." wrote: > I plug on my OpenBSD 4.9 (fresh install) :Ethernet USB Device, trendnet > TU2-ETG > It detects axe0, i configured it using dhcp, it doesn't > work. > Manually

trendnet ethernet usb

2011-12-21 Thread Wesley M.
I plug on my OpenBSD 4.9 (fresh install) :Ethernet USB Device, trendnet TU2-ETG It detects axe0, i configured it using dhcp, it doesn't work. Manually also doesn't work. Pf disabled, no traffic out any issue ? Here dmesg | grep axe0 : axe0 at uhub5 port 2 configuration 1 interface 0 "ASIX Ele

Re: start daemon with rc.d

2011-12-21 Thread Antoine Jacoutot
On Wed, Dec 21, 2011 at 03:17:24PM +0400, pavel pocheptsov wrote: > 21 P4P5P:P0P1QQ 2011, 14:41 P>Q Antoine Jacoutot : > > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > > > Hello misc. > > > In old release of OBSD to start daemons with system was used rc.local. > > > For exa

Re[2]: start daemon with rc.d

2011-12-21 Thread pavel pocheptsov
21 P4P5P:P0P1QQ 2011, 14:41 P>Q Antoine Jacoutot : > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > > Hello misc. > > In old release of OBSD to start daemons with system was used rc.local. > > For example: > > if [ -x /usr/local/bin/mysqld_safe ] ; then > >su -c _mysql ro

Re: start daemon with rc.d

2011-12-21 Thread Antoine Jacoutot
On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > Hello misc. > In old release of OBSD to start daemons with system was used rc.local. > For example: > if [ -x /usr/local/bin/mysqld_safe ] ; then >su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' >echo -

start daemon with rc.d

2011-12-21 Thread pavel pocheptsov
Hello misc. In old release of OBSD to start daemons with system was used rc.local. For example: if [ -x /usr/local/bin/mysqld_safe ] ; then su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' echo -n ' mysql' fi In 5.0 have changes described here: http://www.openbsd.org/faq

Re: newfs, fsck slow

2011-12-21 Thread Otto Moerbeek
On Wed, Dec 21, 2011 at 12:21:11PM +0400, Wesley M. wrote: > Hi, > > When i do a newfs on HD 500Go , it takes much more times using > OpenBSD 4.9 instead of 5.0 RELEASE. > Same problem using fsck -y dev. Why ? > > > Machine : mac mini > model : A1347 > > Thank you very much for your replies.

Re: can not use the up key to last command at root?

2011-12-21 Thread David Coppa
On Wed, Dec 21, 2011 at 10:41 AM, Stuart Henderson wrote: > On 2011-12-20, johnw wrote: >>> The aliases are not neccesary. I suspect root's shell is in vi mode. >>> Check with set -o >>> >>> -Otto >> >> >> Yes, i have this one in ~/.kshrc, >> export EDITOR=vim. >> delete this can solve the p

Re: can not use the up key to last command at root?

2011-12-21 Thread Stuart Henderson
On 2011-12-20, johnw wrote: >> The aliases are not neccesary. I suspect root's shell is in vi mode. >> Check with set -o >> >> -Otto > > > Yes, i have this one in ~/.kshrc, > export EDITOR=vim. > delete this can solve the problem. > > thank all. > If you still want to use vim (or any editor

Re: newfs, fsck slow

2011-12-21 Thread Henning Brauer
* Wesley M. [2011-12-21 09:22]: > When i do a newfs on HD 500Go , it takes much more times using > OpenBSD 4.9 instead of 5.0 RELEASE. > Same problem using fsck -y dev. Why ? because we made it faster after 4.9 was released?!? -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services

Re: strange tcp rst with rdomain

2011-12-21 Thread Henning Brauer
well that is how rdomains work, they are isolated from each other, pf can break that isolation up. an sshd in rdomain 0 is not reachable from another rdomain, except pf is used to allow that - or something external routes between them. * Russell Garrison [2011-12-20 21:50]: > I was inspired and r

newfs, fsck slow

2011-12-21 Thread Wesley M.
Hi, When i do a newfs on HD 500Go , it takes much more times using OpenBSD 4.9 instead of 5.0 RELEASE. Same problem using fsck -y dev. Why ? Machine : mac mini model : A1347 Thank you very much for your replies. Cheers, Wesley.