Re: PTY allocation error

2010-07-22 Thread Duncan Patton a Campbell
On Sun, 11 Jul 2010 16:31:20 -0700 "Peter Bako" wrote: > > BTW, in case it matters. I'm using OpenBSD 4.6 as both the host on which I > setup the image and OS on the CF card. The card in question is a 64M > SanDisk CF and is being plugged into a Soekris Net4801 box. None of these > should mak

Re: PTY allocation error

2010-07-16 Thread Chris Cappuccio
I started out getting IO errors and certain files went missing, the system was useless. When I rebooted the box, the SSD disappeared completely off the SATA bus. This was after 24/7 constant IO for a month. The device was a SuperTalent "commercial industrial temp" 32GB SSD. I sent it back and

Re: PTY allocation error

2010-07-16 Thread Kevin Chadwick
On Thu, 15 Jul 2010 19:59:00 -0700 Chris Cappuccio wrote: > I continue to kill R/W flash (last year, I killed a brand new SuperTalent > server-class SLC SSD after 1 month of use, testing some huge and scary Java > NMS app, jffnms or something like that. This app is an extreme example, while >

Re: PTY allocation error

2010-07-15 Thread Chris Cappuccio
Peter Bako [pe...@bakonet.org] wrote: > (http://www.kernel-panic.it/openbsd/embedded/) Doing this by hand is strange. It's only worth doing if you already understand what you're doing (and you have a specific need) or if you want to spend a bit of time learning. This guide and various others l

Re: PTY allocation error

2010-07-13 Thread Chris Bennett
On 07/12/10 21:13, bofh wrote: On Mon, Jul 12, 2010 at 4:41 PM, Leonardo Carneiro - Veltrac wrote: Well, them and anyone who knows how to half-assed run nmap or any other numerous service fingerprinting utilities. Even with sshd moved, when I finally decided to block port 22, my bandwidth u

Re: PTY allocation error

2010-07-12 Thread bofh
On Mon, Jul 12, 2010 at 4:41 PM, Leonardo Carneiro - Veltrac wrote: Well, them and anyone who knows how to half-assed run nmap or any other >>> numerous service fingerprinting utilities. >> >> Even with sshd moved, when I finally decided to block port 22, my >> bandwidth use dropped noticeabl

Re: PTY allocation error

2010-07-12 Thread Fred Crowson
On 12 July 2010 20:46, Leonardo Carneiro - Veltrac wrote: > I ONLY run the sshd that are allowed to connect from the Internet in > non-standard ports. Anyone that matters to know knows on witch port the sshd > is running. > And any one who doesn't just runs nmap to find port 222 :~) Fred

Re: PTY allocation error

2010-07-12 Thread Ted Unangst
On Mon, Jul 12, 2010 at 2:06 AM, Peter Bako wrote: > 2) Setting up a RO system gives a level of redundancy in the case of power > outages (or more likely in my neck of the world) or brownouts. I've had a > case in the past where a normal OpenBSD install, on a micro-drive, was in a > situation wh

Re: PTY allocation error

2010-07-12 Thread Leonardo Carneiro - Veltrac
On 07/12/2010 04:33 PM, Chris Bennett wrote: On 07/12/10 15:01, J Sisson wrote: On Mon, Jul 12, 2010 at 2:46 PM, Leonardo Carneiro - Veltrac< lscarne...@veltrac.com.br> wrote: I ONLY run the sshd that are allowed to connect from the Internet in non-standard ports. Anyone that matters to know

Re: PTY allocation error

2010-07-12 Thread Chris Bennett
On 07/12/10 15:01, J Sisson wrote: On Mon, Jul 12, 2010 at 2:46 PM, Leonardo Carneiro - Veltrac< lscarne...@veltrac.com.br> wrote: I ONLY run the sshd that are allowed to connect from the Internet in non-standard ports. Anyone that matters to know knows on witch port the sshd is running. Well

Re: PTY allocation error

2010-07-12 Thread Leonardo Carneiro - Veltrac
On 07/12/2010 05:01 PM, J Sisson wrote: On Mon, Jul 12, 2010 at 2:46 PM, Leonardo Carneiro - Veltrac mailto:lscarne...@veltrac.com.br>> wrote: I ONLY run the sshd that are allowed to connect from the Internet in non-standard ports. Anyone that matters to know knows on witch port the

Re: PTY allocation error

2010-07-12 Thread J Sisson
On Mon, Jul 12, 2010 at 2:46 PM, Leonardo Carneiro - Veltrac < lscarne...@veltrac.com.br> wrote: > I ONLY run the sshd that are allowed to connect from the Internet in > non-standard ports. Anyone that matters to know knows on witch port the sshd > is running. > > Well, them and anyone who knows h

Re: PTY allocation error

2010-07-12 Thread Leonardo Carneiro - Veltrac
On 07/12/2010 03:38 PM, Chris Bennett wrote: On 07/12/10 14:10, bofh wrote: And what is your opinion of people who run sshd on non-standard poorts? I recently had to smack one of my guys for that momentary brilliance. OK, this is the second time I've seen someone say this. What is the differe

Re: PTY allocation error

2010-07-12 Thread Chris Bennett
On 07/12/10 14:10, bofh wrote: And what is your opinion of people who run sshd on non-standard poorts? I recently had to smack one of my guys for that momentary brilliance. OK, this is the second time I've seen someone say this. What is the difference? Is there some magical property with port

Re: PTY allocation error

2010-07-12 Thread bofh
And what is your opinion of people who run sshd on non-standard poorts? I recently had to smack one of my guys for that momentary brilliance. On 7/12/10, Corey wrote: > On 07/11/2010 06:31 PM, Peter Bako wrote: >> I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system >> to >

Re: PTY allocation error

2010-07-12 Thread Corey
On 07/11/2010 06:31 PM, Peter Bako wrote: I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to run off a small CF card. Never having done this before, I found an excellent article written by Daniele Mazzocchio (http://www.kernel-panic.it/openbsd/embedded/) to use as my gu

Re: PTY allocation error

2010-07-12 Thread Philip Guenther
On Mon, Jul 12, 2010 at 11:18 AM, Dmitrij D. Czarkoff wrote: > Nick Holland wrote: >> > If you don't want or don't know how to help him, why just not ignore the >> > message? >> >> Why do you think saying "don't do this" is not helping him? It is >> certainly more productive than helping him con

Re: PTY allocation error

2010-07-12 Thread Theo de Raadt
> Nick Holland wrote: > > > If you don't want or don't know how to help him, why just not ignore the > > > message? > > > > Why do you think saying "don't do this" is not helping him? It is > > certainly more productive than helping him continue down his wrong path. > > I think "don't do this"

Re: PTY allocation error

2010-07-12 Thread Dmitrij D. Czarkoff
Nick Holland wrote: > > If you don't want or don't know how to help him, why just not ignore the > > message? > > Why do you think saying "don't do this" is not helping him? It is > certainly more productive than helping him continue down his wrong path. I think "don't do this" is helping him i

Re: PTY allocation error

2010-07-12 Thread Theo de Raadt
> > So now you have a system which can survive a power outage, but you can't > > even fix the pty problems of your own creation. Sounds like pure genius. > > This is not about Theo personally, it's about everyone in this thread. > > Peter did't pretend to get a custommer support, neither he said

Re: PTY allocation error

2010-07-12 Thread Nick Holland
On 07/12/10 02:05, Peter Bako wrote: ... 2) Setting up a RO system gives a level of redundancy in the case of power outages (or more likely in my neck of the world) or brownouts. I've had a case in the past where a normal OpenBSD install, on a micro-drive, was in a situation where due to an elec

Re: PTY allocation error

2010-07-12 Thread Tony Abernethy
Nick Holland wrote: > > On 07/12/10 03:11, czark...@gmail.com wrote: > ... > > This is not about Theo personally, it's about everyone in this > thread. > > > > Peter did't pretend to get a custommer support, neither he said > someone is > > obliged to answer his question. He simply wanted someone f

Re: PTY allocation error

2010-07-12 Thread Nick Holland
On 07/12/10 03:11, czark...@gmail.com wrote: ... This is not about Theo personally, it's about everyone in this thread. Peter did't pretend to get a custommer support, neither he said someone is obliged to answer his question. He simply wanted someone familiar with pty allocation to give him an

Re: PTY allocation error

2010-07-12 Thread David Walker
Hiya. I wish I'd caught this before I started drinking. Nevermind. As others have said: * CF cards are cheap. Do yourself a favour and buy a card at least big enough to take the required sets with some leg room. http://www.openbsd.org/faq/faq4.html#FilesNeeded * Don't use a frankenstein installer

Re: PTY allocation error

2010-07-12 Thread Floor Terra
On Mon, Jul 12, 2010 at 1:31 AM, Peter Bako wrote: > Basically once I boot of my new image, I am able to log into it on the > serial console and things look ok. B I can also ping the IP address of the > unit, but when I try to SSH into it I get the following message: > > B "Server refused to alloc

Re: PTY allocation error

2010-07-12 Thread czarkoff
Theo de Raadt wrote: > > I have been following the discussion on this list regarding the wear-ability > > of CF cards, and in the past have done non-Read Only installs, using both CF > > and microdrives. There are two primary reasons why I am interested in doing > > this: > > > > 1) To learn mo

Re: PTY allocation error

2010-07-11 Thread Damien Miller
On Sun, 11 Jul 2010, Peter Bako wrote: > I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to > run off a small CF card. Never having done this before, I found an > excellent article written by Daniele Mazzocchio > (http://www.kernel-panic.it/openbsd/embedded/) to use as my

Re: PTY allocation error

2010-07-11 Thread Theo de Raadt
> I have been following the discussion on this list regarding the wear-ability > of CF cards, and in the past have done non-Read Only installs, using both CF > and microdrives. There are two primary reasons why I am interested in doing > this: > > 1) To learn more about OpenBSD itself. Solving a

Re: PTY allocation error

2010-07-11 Thread Peter Bako
stems away from my personal control, where having a system be able to came back up in a similar situation would be useful. Peter -Original Message- From: Philip Guenther [mailto:guent...@gmail.com] Sent: Sunday, July 11, 2010 6:22 PM To: Peter Bako Cc: misc@openbsd.org Subject: Re: PTY alloca

Re: PTY allocation error

2010-07-11 Thread Theo de Raadt
> I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to > run off a small CF card. Never having done this before, I found an > excellent article written by Daniele Mazzocchio > (http://www.kernel-panic.it/openbsd/embedded/) to use as my guide. I had a > few minor issues crop

Re: PTY allocation error

2010-07-11 Thread Nick Holland
On 07/11/10 19:30, Peter Bako wrote: > I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to > run off a small CF card. "trying to shoot myself in the foot" > Never having done this before, I found an > excellent for funny definition of "excellent" > article written by D

Re: PTY allocation error

2010-07-11 Thread Bret S. Lambert
The reasons that a read-only CF card is irrelevant for any reasonably modern CF card have been discussed to death on this list; save yourself the headache and just do a normal install. On Sun, Jul 11, 2010 at 04:31:20PM -0700, Peter Bako wrote: > I'm setting up (well, trying to I guess :-) ) a rea

Re: PTY allocation error

2010-07-11 Thread Philip Guenther
On Sun, Jul 11, 2010 at 4:31 PM, Peter Bako wrote: > I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to > run off a small CF card. Never having done this before, I found an > excellent article written by Daniele Mazzocchio > (http://www.kernel-panic.it/openbsd/embedded/)