Re: openbsd 4.0 installation on soekris box: i am desperated.

2006-11-18 Thread Michael Hernandez

On Nov 18, 2006, at 4:45 AM, Uwe Dippel wrote:


On Sat, 18 Nov 2006 02:42:52 -0500, Michael Hernandez wrote:


Great reason to buy a cd set. The 4801 uses i386, which comes on the
cd's.


And you throw in the CD drive for Soekris, I guess ... !?
(Of course, I advocate and support buying CDs, but please, go for the
right arguments ... !)

Uwe




You copy the contents of the cd to a machine you already have. Any  
laptop with a network card is usually enough. How about the machine  
being used to pxeboot? You can use apache and install via http or use  
nfs or copy the packages to the cf card, or



Sorry I thought that might be obvious.

Mike



Re: openbsd 4.0 installation on soekris box: i am desperated.

2006-11-17 Thread Michael Hernandez

On Nov 17, 2006, at 6:22 PM, Gustavo Rios wrote:


I am trying to get openbsd installed in my net4801 box. I can pxeboot
it, and get bsd.rd readed from my tftp server.

But, the problem is that when i choose installtion by means of ftp. It
is too slow to download them, in the order of 4 to 5 KB/s. In order
order, to simply download bsd file from the ftp server it takes about
1200 seconds.

Have anybody already faced such scenario ?

thanks in advance.



Great reason to buy a cd set. The 4801 uses i386, which comes on the  
cd's.


Or you could download the sets over time and keep them handy and  
install from a local machine.


Buying cd's is probably the best way to go ;)

Mike



Re: video hardware determination

2006-11-08 Thread Michael Hernandez

On Nov 8, 2006, at 9:38 PM, Nick Holland wrote:


That being said, many newer monitors will feed that info back to X.org
via DPMS, and X.org will then use it to configure itself...usually
incorrectly. :)  (that's not entirely fair...sometimes, X gets it  
right.
 In my experience, however, it is wrong more often than right, but  
I use

weird stuff).


I actually just installed 4.0 on a compaq evo in my office, which has  
some nvidia card in it.
I knew I had an nvidia card at home, so I ssh'ed into the box to take  
peek a the xorg.conf,
since I knew I was running X at home and I figured the conf would be  
similar. Funny thing is...

I couldn't find an xorg.conf file anywhere on the system!

When I got home... I looked... and low and behold... X was running  
just fine, and there was
no xorg.conf to be found. I looked at the X log and found that X had  
actually configured
itself! What really happened is that I formatted my drive instead of  
upgrading and when I
copied my config files in I completely forgot about X. It just worked  
somehow... and actually
chose what the dell flat panel feels is the optimal resolution (it  
tells me so when I click the

menu button on the monitor).

Is that expected behavior? Of course not... and for the record, no it  
doesn't work with the
same automagic goodness on the evo at work (I think it's the card in  
the evo, the monitor
is exactly the same as the one I have at home) but if you haven't  
tried to just run X without

any config file... give it a go! You might get a pleasant surprise!

Mike H



thank you openbsd

2006-11-02 Thread Michael Hernandez
For many things, but specifically for not signing scary deals with  
microsoft, ever.




OpenBSD Audio!

2006-10-30 Thread Michael Hernandez
I just had to mention that the OpenBSD audio cd is great for playing  
at the office.


Thanks OpenBSD! Not only is the operating system a pleasure to use,  
but the music has us all in great spirits here.


Mike H



Re: OpenBSD 4.0 - Where is it?

2006-10-26 Thread Michael Hernandez

On Oct 26, 2006, at 9:16 AM, ICMan wrote:

I admit that I am not the most up to date on the release process,  
but why is 4.0 not out on the FTP server yet if people are  
receiving it in their homes on CD?  And how do I get on that list  
of people who get the pre-release?


ICMan




Pre-orders have been accepted for weeks. People who pre-order get  
cd's early if the cd's are done being made and are sitting around.  
It's all in the archives...



Mike

PS pre-orders do not guarantee early delivery... I'm still waiting  
for mine here in ny but it's ok because my 3.9 systems are running  
just fine and they can wait  :)




Re: UPS just delivered the 4.0 release CD-set

2006-10-13 Thread Michael Hernandez

On Oct 13, 2006, at 9:16 AM, Nico Meijer wrote:


Hi Joris,


It's true this is hardly relevant for a discussion forum, but I hope
you will all forgive me ... I just felt the need to voice my joy.


Congrats! Please notify undeadly.org while you are at it.

AFAIK it is good tradition to have the first My cd set arrived! on
[EMAIL PROTECTED]

Now the rest of us can go ballistic. You lucky bastard!, Wim,
where's my package!, My cd case is all busted! and
insert-packaging-suggestion-#1, insert-packaging-suggestion-#2,  
etc.


Be well... Nico :-)



I just want my stickers. Especially the one that comes with the audio  
cd! :)




Re: pfctl

2006-10-13 Thread Michael Hernandez

On Oct 13, 2006, at 8:31 AM, Gilles Chehade wrote:


Alexander Belikov a icrit :

Dear Community,

I want to fix a problem on one of my servers. The problem is 2 admins
1 server :( Both of us have a root access to it. It was a will of our
Top Managment..

Sometimes my 'partner' disables a part of pf rules to get a better
download rate for himself. I want to add some code to pfctl which
would add all important rules to pf. In such way, if that rules
wouldn't be in pf.conf they would BE in pf.

I'm asking for an example of code to add my RDR rule.
Maybe, it looks like a silly game, but it isn't. Alternative ways are
discharge myself, kill second admin and so on... I want to fix this
_problem_ in my way.

Thanks in advance,
I'm sure i'll recieve a solution


sysjail him and make it look like he is on the host system :-)



If you really love the server you'll let it go. There's a story in a  
famous book about 2 possible mothers fighting over a baby. Maybe  
you've heard this story before? In the end the one that cared the  
most let it go, rather than have the baby cut in half ;)


What does the server do for you? If it does a lot then maybe find  
another box, install openbsd 4.0 on it, and take some of the  
responsibilities off of the server you and your alleged partner are  
struggling over. Then you each get your own server, and even better,  
you get to use your shiny new openbsd 4 cd's!


If it's a firewall, then find another box and carp them. This way if  
this other admin screws up one firewall, yours will be ready to step  
in and take over (and work better, if you do things right). I'm sure  
management would love a redundant firewall solution, right? Who  
wouldn't?


Good luck in any case,

Mike H



Re: best hardware plataform for openbsd

2006-10-12 Thread Michael Hernandez

On Oct 12, 2006, at 9:42 AM, Cabillot Julien wrote:

It's no very expensive, the electric consumption (I don't know if  
this

expression is ok), the size, ...

On 10/12/06, Mark Bucciarelli [EMAIL PROTECTED] wrote:


On Sun, Oct 08, 2006 at 07:31:39AM -0600, Diana Eichert wrote:

On Sun, 8 Oct 2006, Gustavo Rios wrote:


I meant more CPU processing cycles per a given constant
amount of money!  That's it.


Hmmm, before I answer that question I'd like to know what are
the intended uses?  For example, for a DNS server I would
seriously consider some of the platforms recently added, armish
for one.


What advantages do you see from building a DNS server using
armish?

m






And most of the time DNS doesn't require much in the way of  
resources, at least from my experience. I imagine it could use more  
resources if you are doing IPV6 and DNSSEC (as it says in the bind  
manual).


Mike



Re: CDROM mounts always on 2nd attempt

2006-10-03 Thread Michael Hernandez

On Oct 3, 2006, at 4:04 PM, Joachim Schipper wrote:


On Tue, Oct 03, 2006 at 08:31:55PM +0200, Karel Kulhavy wrote:

When I mount /dev/cd0c I always get this in dmesg:
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
 ASC/ASCQ: Logical Unit Is in Process Of Becoming Ready

And this in application:
[EMAIL PROTECTED]:~$ mount /mnt/cd
mount_cd9660: /dev/cd0c on /mnt/cd: Input/output error

When I retry, it mounts. Do you know what the error messages mean and
why it is error? To me it looks like the OS should wait if the  
unit is not

yet ready. What I can hear is that it is spinning up the disk slowly.
I don't know why slowly when it's a 50x or 48x speed drive or  
something like

this, but it does.

Can I somehow determine the type of the drive? My dmesg is full of  
these

messages:
uid 1000 on /: file system full
uid 1000 on /: file system full
uid 1000 on /: file system full


While I'm not sure about how to deal with the first problem (the  
obvious

workaround is to run dd if=/dev/rcd0a of=/dev/null count=1 first, or
somesuch, but that's a workaround), the second is indicative of /  
being

filled. Don't do that; not doing that is easier if /home is on a
different partition.

Joachim



Could the first problem occur if the cd is being mounted while it is  
still spinning up, i.e. if you attempt to mount immediately upon  
inserting the cd? I could be reading too much into the error message  
but that's what it looks like it might(tm) mean.


Mike



Re: soekris boot console

2006-09-19 Thread Michael Hernandez

On Sep 19, 2006, at 1:58 PM, Gustavo Rios wrote:


My soekris is a net4801-60. I am trying to access it before i can see
the speed !




You need a null modem cable.  Check this link out, I found it the  
other day


http://www.ultradesic.com/?section=34

Mike



Re: Multi-tabbed Terminal

2006-08-04 Thread Michael Hernandez

On Aug 4, 2006, at 1:37 PM, Maxim Bourmistrov wrote:


It compiles and works here.
Just comment out The ugly hack for OpenBSD:
/*
# ifdef OS_OPENBSD
typedef unsigned int_our_wint_t;
typedef struct {
int __count;
union {
_our_wint_t __wch;
char__wchb[4]
} __value;
} mbstate_t;
# endif
*/

On Friday 04 August 2006 19:02, you wrote:
Can anyone recommend a light-weight multi-tabbed terminal for OBSD  
3.9?
I looked through the i386 packages, but didn't notice any. I'm  
using FVWM2.


I have used mrxvt, materm.sourceforge.net, on FreeBSD in the past and
really liked it; minimal dependencies and small memory foot print. I
just tried to compile mrxvt-0.4.2 on OBSD, but it failed.

-pachl




You might also want to try the latest version - I think 0.5.1 is just  
about ready based on recent mailing list traffic.


Mike H



Re: Easy for a newbie to manage an OpenBSD server?

2006-08-01 Thread Michael Hernandez

On Aug 1, 2006, at 11:26 AM, Titan wrote:


I have quite a predicament.  I have been tasked with setting up an FTP
server for the research group I'm involved with.  The problem is once
I'm gone someone with no *NIX experience will be maintaining the
server.  I've been considering using OpenBSD because it looks like it
can go far longer without updates than Windows and Linux servers and
looks to be very secure.

In your experience, would it be possible for someone with no *NIX
experience to maintain a simple FTP server?


How long would you trust an unpatched OpenBSD server to go unhacked?

Thanks for your help.



If the person maintaining the server has no *nix experience then  
maybe you
should consider using technology that they are familiar with. Of  
course using
openbsd has advantages but there's no point using it if you know the  
server

won't get proper care and feeding.

If using something the future maintainer can  handle is out of the  
question

(maybe they only know windows Me? I'm not sure ;)) then maybe you can
get paid a little or do some pro bono remote maintenance?

If the server will never get taken care of then you really should  
consider
paying for some remote ftp hosting. At least then the management of  
the server
is off your hands. It may not be an option if you have sensitive data  
but it might

be more secure than leaving a server to get old.

Personally, I don't think it will be *too* bad if you leave it  
running... as long as
it doesn't get popular and/or people don't start poking at it to see  
if it will break.


Mike



Re: Code to execute a command on another tty

2006-07-25 Thread Michael Hernandez

On Jul 25, 2006, at 9:55 AM, Lawrence Horvath wrote:


oh, actaully executing it in the other shell, not just outputting it
to another terminal, yea thats trickier, havent been able to get that
done, though i was working on it a while, did get to far, i guess you
could direct input to the other shell? possible? almost to simulate
having input the command at the other shell, idk how exactly though


If you use screen you can just start a session on the terminal that  
you want to execute on and connect to it from any other machine that  
has access to that machine. It works on terminals on the same machine  
as well. Multiple users can attach to one session, it can make for  
some interesting vim sessions ;)


Mike



Re: Totally bizarre problem - cannot connect to openbsd mahcine

2006-06-26 Thread Michael Hernandez

On Jun 26, 2006, at 3:07 PM, Matt Singerman wrote:

.

I am obviously in over my head here.


This may be too obvious, but have you gone through the pf faq? It has  
an example ruleset.



http://www.openbsd.org/faq/pf/


Mike



Re: php on openbsd (library issue?)

2006-05-22 Thread Michael Hernandez

On May 22, 2006, at 1:01 PM, Stuart Henderson wrote:


On 2006/05/22 10:45, [EMAIL PROTECTED] wrote:

I am confused on which way to go here.


How about using httpd from base, and php from ports?
Porters have put a lot of time into making it all Just Work.

Watch out you keep that phpBB up-to-date, whichever
way you go.



And if you use httpd from base make sure you are careful - it runs in  
chroot by default and may take some work on your part to ensure mysql  
and php can see the things they need to see.


Mike



Re: time is always 10 minutes fast!

2006-04-18 Thread Michael Hernandez

On Apr 18, 2006, at 11:07 AM, Jerome Santos wrote:


Any hints or pointers much appreciated!!



have you tried running ntpd -s once to set the time immediately? If  
you don't it will only be corrected gradually.


Mike



Re: 3.9 song released

2006-03-28 Thread Michael Hernandez

On Mar 27, 2006, at 11:43 PM, Roland Dominguez wrote:


Love that retro sound!



My favorite so far! :)



Re: openbsd and the money

2006-03-23 Thread Michael Hernandez

On Mar 23, 2006, at 1:23 PM, Theo de Raadt wrote:


it would be interesting to know about how MUCH money donated
to the openbsd project you all are REALLY talking here...


In the last month about 1/5th of what we need to run in a year
has been donated.

Sad, eh.  350 donation transactions in one month.  I had no idea
that the OpenSSH deployment on the planet was that small.  I
suspected it to be much higher:

http://openssh.com/usage/graphs.html



I noticed that donations to OpenBSD are not US tax deductible as  
charitable contribution.


American companies would give you more money if it were. Of course  
you know that already,
so this is not to suggest that you have not thought of it.  Hopefully  
it won't generate too much
anger if I ask why not? What keeps the OpenBSD project from  
filing as a non-profit? Is it
the location (i.e. Canada)?  I have a feeling this has been asked  
before but I'm sure there
are new readers on this list (such as myself) that could benefit from  
a repeated answer.


Mike