Re: Linus at NewsForge...

2005-06-15 Thread eric
On Wed, 2005-06-15 at 08:14:38 +0200, Dimitri proclaimed...

 OpenBSD: http://www.screensavershot.com/automation/hummer.jpg

A Hummer? No way! Those aren't flexible and capable like OpenBSD :)

Instead, I submit the following:

http://www.midwestjeepthing.com/mymwjt/jeepimages/2061/newliftfrontside.JPG



Re: Linus at NewsForge...

2005-06-15 Thread Jeffrey Lim
On 6/15/05, Dimitri [EMAIL PROTECTED] wrote:
 It's like cars I guess.
 
 Linux: http://www.metricmind.com/images/fiat_mult.jpg
 OpenBSD: http://www.screensavershot.com/automation/hummer.jpg
 Windows XP:
 http://www.foxtoys.cz/nrb04/1-43%20Lada%201200%20%20Ixo%20Models.jpg
 

lol, this is hilarious... I especially like the windows xp dig!! ;P

-jf



Re: PHP or Mysql problem?

2005-06-15 Thread Daniel Ouellet

Kiraly Zoltan wrote:
  mysql error: Can't create/write to file '/tmp/#sql_4c99_0.MYD' 
(Errcode: 9)




snip

  mysql error: Can't find file: './bsdforums/administrator.frm' 
(errno: 9)




May be a simple search will help you.

http://www.google.com/search?hl=enq=mysql+openfiles+openbsdbtnG=Google+Search

http://marc.theaimsgroup.com/?l=openbsd-miscw=2r=1s=mysql+%2Berrcode+9q=b

Daniel



Re: OpenBSD in commercial firewalls?

2005-06-15 Thread Marius Van Deventer - Umzimkulu
Well, the microsoft XP firewall log file is pf.log.

 -Original Message-
 From: Bob DeBolt [mailto:[EMAIL PROTECTED] 
 Sent: 14 June 2005 08:12 PM
 To: misc@openbsd.org
 Subject: Re: OpenBSD in commercial firewalls?
 
 
 Funny you should bring this up today
 
 I just received a phone call from a headhunter from 3000 
 miles away who is 
 looking for  couple of people who are opensource security 
 savvy (closer to 
 the engineering level and C proficient) and the conversation 
 related to his 
 client who is putting together firewall / VPN appliances  
 based on OpenBSD 
 and / or Linux. I would not have received the call had I not 
 been involved in 
 OpenBSD, likely numerous others have received similar calls.
 
 It is likely that there are scores of companies using OpenBSD 
 code / ideas or 
 portions thereof, that won't reveal what they are doing.
 
 Microsoft comes to mind.
 
  Any comments on the devices?  Links would
  be appreciated.
 
 
 Bob



Re: more file descriptors for user www

2005-06-15 Thread Alexander Hall

eric wrote:

On Tue, 2005-06-14 at 13:05:54 +0200, Alexander Hall proclaimed...


Create a new class (e.g. www or httpd) and use sudo (as root) to run 
httpd using that new class.



What the hell are you talking about? Just change the www users' class and
modify /etc/login.conf. It will then propagate.


I'm talking about similar issues with mysql, where the change of user 
(and group?) id made by the daemon itself did not automatically make use 
of the appropriate login class (which I suppose is proper behaviour), 
but instead kept running as the login class of the user that started the 
daemon.


I seem to recall that using something like `sudo -c _mysql mysqld_safe' 
solved the issue, and I thought that the same thing could apply to this 
case.


Since, as the original poster implies, www never logs in, login.conf is 
not read (at least not by login(1)). If this is done automagically by 
httpd, then of course this is not the problem here.


Please enlighten me if I am talking out of my ass, and in that case, 
please specify what parts I've got the wrong idea about.


/Alexander



Re: OpenBSD in commercial firewalls?

2005-06-15 Thread Tor Houghton
IP Freedom by Ridgeway Systems also use OpenBSD. Although not a firewall, it
is usually used in conjuction _with_ a firewall, for enabling conferencing
products to work, even if the firewall does not support the protocols.

http://www.ridgewaysystems.com/products_ipf_faqs.aspx

Ok, slightly off topic, but an addition to the users.html I suppose.

Tor



Re: PHP or Mysql problem?

2005-06-15 Thread Nico Meijer
Hi Kiraly,

 mysql error: Can't create/write to file '/tmp/
 #sql_4c99_0.MYD' (Errcode: 9)

MySQL problem.

Simple suggestions, not idiot-proof:

/etc/my.cnf:
[mysqld_safe]
open-files = 1024

Up kern.maxfiles, if needed. `sysctl -w kern.maxfiles=17720`, for
instance. Modify /etc/sysctl.conf to make changes permanent.

/etc/login.conf changes:
daemon:\
:ignorenologin:\
:datasize=infinity:\
:maxproc=infinity:\
:openfiles-cur=1024:\ --- check this one
:stacksize-cur=8M:\
:localcipher=blowfish,8:\
:tc=default:

and/or:
default:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/
bin:\ :umask=022:\
:datasize-max=512M:\ --- check this one
:datasize-cur=256M:\ --- check this one
:maxproc-max=128:\
:maxproc-cur=64:\
:openfiles-cur=1024:\ --- check this one
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:

Whatever suits your need. A reboot will make mysql run in class daemon,
if you start mysql with `sudo mysqld_safe `, you'll most probably be
in class default. That's why I upped both.

If I am wrong, somebody will kick me in the nuts, so do check back
here. ;-)

I've had problems with both open files and memory limits. Those
problems are gone now.

HTH... Nico



mount_union hangs the system.

2005-06-15 Thread Varun Dubey
Hello,
I am using the generic kernel on 3.7 and it seems that
unionfs isnt built into it. I tried to compile sys/miscfs/union/* into
a VFS lkm as suggested in /usr/share/lkm/vfs/ (for kernfs). loaded
the module successfully after compilation.

Here is the make file i used
//
SRCS=unionfsmod.c
OBJS=$(SRCS:.c=.o)

KSRCS=/sys/miscfs/union/union_vfsops.c /sys/miscfs/union/union_vnops.c
KSRCS+=/sys/miscfs/union/union_subr.c
KOBJS=union_vfsops.o union_vnops.o union_subr.o

MODOBJ=combined.o

KMOD=unionfsmod
CFLAGS+= -D_KERNEL -I/sys -I.

all:
$(MODOBJ)

clean:
rm -f $(OBJS) $(KOBJS) $(MODOBJ) $(KMOD)

load:
modload -o $(KMOD) -e$(KMOD) $(MODOBJ)

unload:
modunload -n $(KMOD)

union_vfsops.o: /sys/miscfs/union/union_vfsops.c
$(CC) $(CFLAGS) -c -o $@ $

union_vnops.o: /sys/miscfs/union/union_vnops.c
$(CC) $(CFLAGS) -c -o $@ $

union_subr.o: /sys/miscfs/union/union_subr.c
$(CC) $(CFLAGS) -c -o $@ $

$(MODOBJ): $(OBJS) $(KOBJS)
$(LD) -r -o $(MODOBJ) $(OBJS) $(KOBJS)

.include bsd.own.mk

However when i tried 
# mount -t union /sys $HOME/sys

The system died. Has anyone else faced similar problems. Please
point out what i might be doing wrong.

TIA
varun.



Re: mount_union hangs the system.

2005-06-15 Thread Stuart Henderson

--On 15 June 2005 15:49 +0530, Varun Dubey wrote:


Hello,
I am using the generic kernel on 3.7 and it seems that
unionfs isnt built into it. I tried to compile sys/miscfs/union/* into
a VFS lkm as suggested in /usr/share/lkm/vfs/ (for kernfs). loaded
the module successfully after compilation.


unionfs has gone,
http://undeadly.org/cgi?action=articlesid=20050527155028



Re: PHP or Mysql problem?

2005-06-15 Thread Luca Losio
Nico Meijer wrote:
 Hi Kiraly,
 
 
mysql error: Can't create/write to file '/tmp/
#sql_4c99_0.MYD' (Errcode: 9)
 
 
 MySQL problem.
 
 Simple suggestions, not idiot-proof:
 
 /etc/my.cnf:


Mmm..installing mysqlserver usually doesn't create /etc/my.cfn...isn't
it? I can't find that file but I'm running mysqld...



Re: ADSL connection (PPPoE)

2005-06-15 Thread Melameth, Daniel D.
Clint Pachl wrote:
 (I know I should start a new thread with this, but here we go) Can't
 an OpenBSD box handle a PPPoE/PPPoA connection directly? I recently
 setup a VPN between two networks with DSL connections where the modems
 make a PPPoA connection. An OpenBSD box resides behind each modem.
 Basically, the modem gets an IP address dynamically, does the
 authentication, and gets the block of static IPs, one of which the
 OBSD box gets. So I was thinking, couldn't the OBSD box theoretically
 make the connection and eliminate the modem all together?

As far as I know, and I'm certain someone will correct me if I'm wrong,
OpenBSD cannot make a PPPoA connection, but can make a PPPoE connection.
So, no, you need something else (for example, a modem) to make the ATM
connection.



Re: Installing OpenBSD on Zaurus without Compact Flash

2005-06-15 Thread Ray
Thanks to all who replied.

I eventually got OpenBSD installed by ``insmod zbsdmod.o; cp bsd.rd
/proc/zboot'', partitioning the hard drive to the example in
INSTALL.zaurus, booting into Linux again, copying the installation
files to the DOS partition (minus X), booting into OpenBSD again,
and installing.

OpenBSD was installed, but it was still booting into Linux, despite
``fdisk -u wd0''.  I discovered the terminal program on CD1 and
installed that.  Then ``su root -c 'ipkg install openbsd37_arm.ipk'',
and it was booting into OpenBSD.  Is there a way to have the Zaurus
boot directly into OpenBSD without using the openbsd37_arm.ipk file?

I then installed X.

It should be noted that, although the USB ethernet cards I bought
for the occasion are recognized by OpenBSD, it doesn't seem to work
if I booted into OpenBSD from the ``insmod cp'' method.

Thanks again!

-Ray-

On Wed, Jun 15, 2005 at 03:26:11AM +0200, Uwe Stuehler wrote:
 On Tue, Jun 14, 2005 at 09:36:38AM -0400, Ray wrote:
  Hi,
  
  I'm trying to install OpenBSD on my Zaurus but no stores around me
  carry Compact Flash wired/unwired ethernet cards.  I've got an SD
  card with an OpenBSD snapshot on it and a USB ethernet card (which
  Linux doesn't have a driver for but hopefully OpenBSD will).  The
  text is all Japanese so I'm sort of feeling in the dark.  I tried
  to install the OpenBSD package from the SD card by inserting it and
  clicking on it.  I get prompted twice in Japanese (the latter of
  which looks like an error message, with the giant exclamation point
  and all), I click what I presume to be OK, reboot, but I don't
  get an OpenBSD boot prompt and booting into Linux doesn't give me
  an OpenBSD application.
  
  So now I try the hard way, booting into single-user mode.  Unfortunately
  the ipkg binary is nowhere to be found, so I can't install the
  package there either.  Other than single-user mode I can't find any
  other terminal program on the system.  I was tempted to just skip
  that step and just ``insmod zbsdmod.o; cp bsd.rd /proc/zboot'' but
  I didn't want to be left with a dead Zaurus by doing stuff out of
  order.
  
  Any suggestions?
  
  -Ray-
 
 Rename openbsd37_arm.ipk to openbsd_arm.ipk and try again.
 
 While Qtopia's GUI installer refuses to install packages with the
 former name from the filesystem, it will happily install packages
 with any name via network.  Clever...
 
 The insmod and cp method is also safe to try it if you just want
 to see whether your USB card works, as long as you don't modify
 the disk.



Re: kernel: page trap fault

2005-06-15 Thread Uwe Dippel
On Tue, 14 Jun 2005 09:46:04 +0800, Uwe Dippel wrote:

 I hope someone with much more insight looks into this,

Seems nobody follows up, yet. I did:

swapped out the NIC which would generate the fault 
1. into another slot *plus*
2. replaced it with another NIC (also RTL8139, other vendor)
3. removed the third NIC from PCI slots (now only two NICs left)
4. changed the hostnames to relieve the 'crasher' from 
100BASE duplex to 10BASE simplex

And still, the first few TCP packets kill 3.7.

FYI, that's all I could do,

Uwe



Re: tftp:bsd.rd RLX

2005-06-15 Thread Rob Foster
Thanks for the confirmation.

I'll invest in a device that will link all the serial consoles
together with network access.

On 6/14/05, Diana Eichert [EMAIL PROTECTED] wrote:
 I re-read what you posted, you will only be able to see console output
 from RLX blades on the serial port.  RLX did some linux mumbo-jumbo magic
 to redirect to the rlxconsole, which they never open sourced, though I
 tried real hard to get them to do so.  Now that they are out of the blade
 server market I bet they could care less whether you can get it to work.
 I lost all faith in them after I visited their booth at SC2004 last
 Novemeber, then they announced they were shutting down their blade server
 line the following week.

I agree. These RLXs are a PIS.

 
 I use serial console servers to talk to the serial ports on my RLX blade
 servers.
 
 Also, I managed to locate the HD boot code that supports set tty  set
 ktty, but I believe the pxeboot loader is on the Linux system blade that I
 pulled from the chassis after I brought up all the blades on OpenBSD.

That's ok. OpenBSD's pxeboot works. It was just the kernel not writing
to the rlxconsole that was confusing me, especially thinking that
linux did without a rlx mod.

Btw, I posted before without much advice, but what do you do for a
raid solution on your rlxs?



Re: OpenBSD in commercial firewalls?

2005-06-15 Thread Teemu Schaabl
Ray Percival([EMAIL PROTECTED])@2005.06.14 09:49:25 -0700:
 On Tue, Jun 14, 2005 at 08:52:53AM -0500, James Harless wrote:
  I know that several firewall vendors use various flavors of Linux as
  the basis for their devices.  Are there any that use OpenBSD
  similarly?  If so, which?  Any comments on the devices?  Links would
  be appreciated.

 If it is the latter there is strong evidence that IPSO (The OS on Nokia
 and Checkpoint based firewalls) is derived from OpenBSD. I can't think
 of any commercial vendors that use pf and advertise the fact.

IPSO derived from FreeBSD as a engineer employed at nokia told me;

regards
teemu
--
Every man takes the limits of his own field of vision
 for the limits of the world. - Schopenhauer

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: OpenBSD in commercial firewalls?

2005-06-15 Thread Brett Lymn
On Wed, Jun 15, 2005 at 04:11:45PM +0200, Teemu Schaabl wrote:
 
 IPSO derived from FreeBSD as a engineer employed at nokia told me;
 

In the version of IPSO I once used you didn't need to guess, the names
of the FreeBSD developers were still in some of the files on the
system.  IPSO is a heavily modified version of FreeBSD, that is well
known within the IPSO user community.

-- 
Brett Lymn



Why Warren Buffett Chose FX Over Real Estate - Live Meeting June 21st on Alternative Investments

2005-06-15 Thread Forex Managed Accounts
Event Date: June 21st at 10:00 AM EST, 2:30 PM EST, and 7:45 PM EST
With Top-Ranked Alternative Investment Manager, Michael Mansfield

Top-ranked alternative investment manager Michael Mansfield, co-manager
of the #1-ranked Global Diversified FX Portfolio (GDFX), is having his
next live online meeting on June 21st at three different times (see below
for instructions on how to register for this event). GDFX was up
31.87% in 2004 and was ranked #1 by EurekaHedge. The objective of GDFX is
to produce between 20 to 45% a year after fees.

To register for this complimentary event, go to
http://www.forex-day-trading.com/forex-online-registration.htm.

What will be covered?

Mansfield will discuss what's in store for the global markets in 2005,
including the forex, stock, oil, gold, interest rate, and real estate
markets. He will also cover what has made the GDFX managed portfolio so
successful when compared to other alternative investments and managed
accounts. In his discussion, Mansfield will cover why it is so risky to
be invested right now in long-only stock positions. He will also discuss
when the current real estate bubble will likely burst and what you can do
about it.

Even Warren Buffett is Negative on Real Estate

Warren Buffett, the second richest man in the world, recently sold his
house in Laguna for $3.5 million. He joked,

It was on about 2,000 square feet of land, maybe a twentieth of an acre,
and the house might cost about $500,000 if you wanted to replace it. So
the land sold for something like $60 million an acre. [If you want to
read more about this, you can go to CNN's website at
http://money.cnn.com/2005/05/01/news/fortune500/buffett_talks/]

So why is Buffett saying that US real estate is a bubble ready to burst?

And why is Buffett betting against the US dollar? [note: Buffett made
$1.63 billion in foreign currency (FX) gains from the dollars decline in
the last quarter of 2004]

For the same reasons that Mansfield has been discussing in his live
online meetings.

Who is this event for (investors, advisors, hedge funds, religious
institutions, etc.)?

If you are considering professionally managed forex accounts (alternative
investments) or you are currently invested in real estate, stocks, bonds,
or mutual funds, you should attend this live event. If you or
your organization allocates capital (or your clients' capital) into
alternative investments with above average returns and below average
drawdowns, you might be a perfect candidate for our Introduci ng Broker
program; so we strongly suggest that you also attend this event. (Due to
the demand that we have experienced for Mansfields discussions in the
past, we have scheduled his next discussion at three different times on
Tuesday June 21st. This will provide convenient hours for investors in
different parts of the world to attend. Please use the link below to
register for any of the times provided:

Registration for this Event

http://www.forex-day-trading.com/forex-online-registration.htm

Tuesday June 21st at 10:00 AM EST (Miami, FL, USA) (please convert this
to your local time)
Tuesday June 21st at 02:30 PM EST (Miami, FL, USA) (please convert this
to your local time)
Tuesday June 21st at 07:45 PM EST (Miami, FL, USA) (please convert this
to your local time)

Some of Mansfields Notable Accomplishments

- #1 ranked manager by Eureka Hedge for April 04
- Top-ranked manager in Futures Magazine for March 00
- Called a large additional sell off in the NYSE on Aug 01
- Called the US stock market crash of 1987
- Master Market Technician with uncanny forecasting ability
- Co-manager of the Global Diversified FX Portfolio (GDFX)

Space for this event is limited and will be filled on a first-come-first
serve basis.

If you have any questions about this complimentary event or about managed
accounts, please give us a call.

Sincerely,

Joe Lora
Forex Managed Account Department
http://www.forexdaytrading.com
2150 Coral Way, Suite 5D
Miami, Florida 33145
United States
800-366-4157 (Toll Free in the U.S. and Canada)
786-866-8733 (International)

To unsubscribe, please go to the link below:

http://www.forex-day-trading.com/unsubscribe.htm

 



Writing to console...

2005-06-15 Thread kevin
Hello all,  
 
I was downloading GNU gcc on a machine and when I looked over 
after the download, the screen was writing:   
All work and no play makes Jack a dull boy   
 
If this is normal I didn't take it as such, I immediately 
took the machine off the test network. 
 
So, praytell, what gives?  
 
 
thanks in advance, 
 
kevin 



Recommendations for pop3s daemon?

2005-06-15 Thread Jeff Simmons
Finding myself in need of a POP3S daemon, I headed over to the ports tree
to get the old standar UW, and noticed that there are several of the
little devils hiding out in there.

Anyone have any recommendations? Favorites? Pros and cons? Reasons to use
something other than UW? Any information would be greatly appreciated.

--
[EMAIL PROTECTED]



Re: OpenBSD in commercial firewalls?

2005-06-15 Thread Simon Slaytor

Ray Percival wrote:


If it is the latter there is strong evidence that IPSO (The OS on Nokia
and Checkpoint based firewalls) is derived from OpenBSD. 


Nokia say that IPSO is based on FreeBSD



Re: Problem booting from wd0

2005-06-15 Thread Uwe Dippel
On Tue, 14 Jun 2005 12:06:14 -0500, arf wrote:

 Use dd form /dev/zero to wipe MBR and start of disk.
 Check Bios settings - AMI Bios set to Auto shows 
 LBA mode and DMA, etc.

I'm not so sure here; what this would be good for.

 Downloaded June 10 snapshot and checked md5 sums.
 
 Installed without problems. The installboot output
 was:
 boot: /mnt/boot
 proto: /usr/mdec/biosboot
 device: /dev/rwd0c
 /usr/mdec/biosboot: entry point 0 proto bootblock
 size 512
 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2;
 part offset 63; inode block 24, offset 1704
 using MBR partition 0: type 166 (0xa6) offset 63 (0x3f)

what does installboot do here ? Maybe I'm simply lost or stupid.?

You're doing a fresh install, or what ?
How's your disk layout ?
(And, as Nick pointed out, does it boot from diskette / CD ?)
http://www.openbsd.org/faq/faq8.html#Bootloader

http://www.openbsd.org/faq/faq14.html#Boot386
scroll down to 
What can go wrong
and understand how to recreate the MBR.

HTH,

Uwe,

who runs a 160GB hard disk without any hassle on a 1995 P100 MB with a
limit of 8GB hard disk; and a root partition of 150 MB at 'a'. With the
completely wrong geometry. I guess, as long as the '/' is found somehow,
the rest is taken over from the BIOS.



Re: tftp:bsd.rd RLX

2005-06-15 Thread Diana Eichert
On Wed, 15 Jun 2005, Rob Foster wrote:

 Thanks for the confirmation.
 
 I'll invest in a device that will link all the serial consoles
 together with network access.

FWIW, we use Think Logical secure console servers at the office.  We used
to use LANtronix, but switched to Think Logical,
http://www.thinklogical.com/ .

 Btw, I posted before without much advice, but what do you do for a
 raid solution on your rlxs?

don't do RAID on the RLX blades we have, even though all of them have dual
hard drives on them.

diana



Re: Writing to console...

2005-06-15 Thread Dimitry Andric
On 2005-06-15 at 17:17:30 kevin wrote:

 I was downloading GNU gcc on a machine and when I looked over
 after the download, the screen was writing:
 All work and no play makes Jack a dull boy

It's probably just your screensaver, don't panic. :P  See
http://www.jwz.org/xscreensaver/screenshots.html and search for
XJack.

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: moving to a bigger disk

2005-06-15 Thread Tony Lambiris
its quite simple... boot into single user mode, foreach partition you 
have, mount the src under /src/X and /dst/X (where src is the old disk 
and dst is the new disk) and do a:

cd /src/X; tar cf -  . | (cd /dst/X; tar xpf - )

ive used this before, works great.
after that just make sure you install your boot blocks.

Mihai IACOB wrote:

Hello!
I need to move my OpenBSD 3.6 installation to a bigger disk, because
the /usr partition is 92% full. And no, I cannot keep both disks. I
searched google and found nothing similar to my situation.
I think I can partition and label the new disk, dd the / partition,
then copy /var and /usr with tar/pax/cpio, switch the disks and pray
it works.
Do you think the above steps might work or did anyone do this before?
Thank you for your time.
Mihai IACOB



--
Tony Lambiris [ [EMAIL PROTECTED] ]
so if it is really hard for you then perhaps you are just
retarded and need treatment w/ electricity and if that does
not help then perhaps should not use computers...



Re: Recommendations for pop3s daemon?

2005-06-15 Thread Jason Dixon

On Jun 15, 2005, at 11:21 AM, Jeff Simmons wrote:

Finding myself in need of a POP3S daemon, I headed over to the ports 
tree

to get the old standar UW, and noticed that there are several of the
little devils hiding out in there.

Anyone have any recommendations? Favorites? Pros and cons? Reasons to 
use

something other than UW? Any information would be greatly appreciated.


This has been beaten to death on the list.  To summarize, most folks 
use Courier (maildir) or dovecot (mbox or maildir).


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Re: Recommendations for pop3s daemon?

2005-06-15 Thread Myk Taylor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've been using mail/solid-pop3d FLAVOR=apop on my LAN.  The pop_auth
utility is handy for setting up ssh-public-key-like logins.

Jeff Simmons wrote:
 Finding myself in need of a POP3S daemon, I headed over to the ports tree
 to get the old standar UW, and noticed that there are several of the
 little devils hiding out in there.
 
 Anyone have any recommendations? Favorites? Pros and cons? Reasons to use
 something other than UW? Any information would be greatly appreciated.
 
 --
 [EMAIL PROTECTED]
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCsFdaBOPsJyAQkeARAv2kAJwIZTqqR+kDkx5+JucnXQbI7ngB/wCfbvdF
Gj7eURAUkZB8AVnr6uZas3U=
=P/5W
-END PGP SIGNATURE-



Re: Linus at NewsForge...

2005-06-15 Thread sbr
im not a hummer fan myself, but who cares.  and im not going to even 
bother with your comments.


can misc@ be alterd so only subscribed addresses can send to it, and to 
become subscribed you need to take an iq test or something, well i know iq 
tests are not perfect.  perhaps a im not a lame linux/windows lover that 
wants to try and defend 'my ego' by spamming misc@ test.  im even willing 
to work on the questions.


#1 do you gnu?

#2 do you think bill is sexy?

#3 there is no #3 (if you anwser yes, you loose)

...

could be some  more,

sbr.



On Wed, 15 Jun 2005, Bruno Delbono wrote:


Dimitri wrote:

It's like cars I guess.
OpenBSD: http://www.screensavershot.com/automation/hummer.jpg


Perfect example.They suck a lot of fuel, run slow, have expensive 
maintenance, give shitty millage and when found on the urban roads driven by 
a red neck dude are nothing but show off toys.


WOW! What beautiful comparison to OpenBSD. You've captured it all, misc@ 
zealotry, OpenBSD speed/performance (lol), misc@ ego checks and everything in 
between.


-Bruno




Re: Writing to console...

2005-06-15 Thread Paul Branston
On Wed, Jun 15, 2005 at 10:17:30AM -0500, kevin wrote:
 Hello all,  
  
 I was downloading GNU gcc on a machine and when I looked over 
 after the download, the screen was writing:   
 All work and no play makes Jack a dull boy   
  
 If this is normal I didn't take it as such, I immediately 
 took the machine off the test network. 
  
 So, praytell, what gives?  
  
  
 thanks in advance, 
  
 kevin 
 

Sounds like xscreensaver xjack was running

Paul



Re: 'I am beginning to think'

2005-06-15 Thread JR Dalrymple
 On Wed, Jun 15, 2005 at 12:31:16AM -0500, Dave Feustel wrote:
 On Tuesday 14 June 2005 10:00 pm, Christer Solstrand Johannessen
 wrote:
  On Mon, 13 Jun 2005, Dave Feustel wrote:
 
  [mac mini+ms office:mac]
 
   I have been thinking about getting a Mac.
   I hadn't considered a mini, but that is an
   intriguing idea. What does the above hardware
   and software cost in the US?
 
  1.25GHz/40GB/256MB ram Mac mini from $499.
  1.42GHz/80GB/256MB ram Mac mini from $599.
  MS Office:mac 2004 $399.95.
 
  All prices from Apple's website and current as of right now.
 
  Cheers,
  -Christer

 I can't afford this software, but thanks for the info.

 Okay, Appleworks comes bundled with the mini, and via translator
 software, opens excel spreadsheets, or at least most of them. (None of
 the OpenBSD packages would likely open ALL Excel sheets either, even if
 they *could* print.)

 --
 83. If I'm eating dinner with the hero, put poison in his goblet, then
 have to
 leave the table for any reason, I will order new drinks for both of
 us  instead of trying to decide whether or not to switch with him.
 --Peter Anspach's list of things to do as an Evil
 Overlord

You can get a machine that runs WinXP proficiently for 200 bucks, Office
Basic is 180, Windows XP home is 80... 460 bucks. Put it behind your OBSD
firewall and you'll be fine and have the most modular productivity suite
on Earth at your fingertips.

By the way, in what manner does this have any Fing thign to do with OBSD?



Rebooting... and hang

2005-06-15 Thread Diego Augusto Dalmolin
I4ve installed OpenBSD3.7 on a i386box (asus mainboard + celeron processor)
When I put the commands: reboot or shutdown -r the machine flush the
disk (the normal operation) and then stand on the message
Rebooting... and... *surprise* it wont reboots... :-(


here is my dmesg (fresh install OpenBSD3.7 -release GENERIC default kernel)
-- cut ---
OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 2.40GHz (GenuineIntel 686-class) 2.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,PNI,
MWAIT,CNXT-ID
real mem  = 258777088 (252712K)
avail mem = 229367808 (223992K)
using 3184 buffers containing 13041664 bytes (12736K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/10/05, BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5f60/144 (7 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1106 product 0x3177
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8751 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8633 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 S3 ProSavage DDR rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 9 function 0 Realtek 8139 rev 0x10: irq 5 address
00:08:54:17:5d:13
rlphy0 at rl0 phy 0: RTL internal phy
rl1 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 10 address
00:08:54:17:5d:a0
rlphy1 at rl1 phy 0: RTL internal phy
rl2 at pci0 dev 11 function 0 Realtek 8139 rev 0x10: irq 3 address
00:08:54:17:5d:a2
rlphy2 at rl2 phy 0: RTL internal phy
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 config
ured to compatibility
wd0 at pciide0 channel 0 drive 0: SAMSUNG SP0411N
wd0: 16-sector PIO, LBA48, 38204MB, 78242976 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
biomask eff5 netmask effd ttymask 
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
-- cut -
-- 
Diego Augusto Dalmolin
(41) 9648-0882



Re: mount_union hangs the system.

2005-06-15 Thread Ted Unangst
On Wed, 15 Jun 2005, Varun Dubey wrote:

 Thanks for the reply. I went through the thread but i believe the problem
 i am facing is not exactly due to no support for unionfs.

you misunderstand.  the reason union was removed is because it didn't 
work.  removing it didn't break it, it was removed because it was broken.

mount_union doesn't work?  yes, we know.

-- 
And that's why I'm late getting here.



Re: Openbox and x.org

2005-06-15 Thread Mathieu Sauve-Frankel
On Tue, Jun 14, 2005 at 10:36:00AM -0700, Ray Percival wrote:
 It would seem that openbox as installed from the package in 3.7 doesn't
 have rc.xml or menu.xml files. Is this on purpose or is it a bug or,
 very likely, am I missing something obvious? I'm going to try importing
 the ones I have on my Debian box to see if that solves it. 

missing something obvious

/usr/local/share/openbox/rc.xml
/usr/local/share/openbox/menu.xml

 Also coming from Debian I've not yet played with x.org a lot. I've not
 had a lot of luck with their website and was kind of hoping that
 somebody might point be at a OpenBSD specific fm. 

I don't understand the question. 

-- 
Mathieu Sauve-Frankel



FYI: Zaurus startup guide

2005-06-15 Thread Matthias Kilian
Hi,

the german reseller TRIsoft has a little startup guide for the sharp
zaurus for download that may help avoid Zaurus newbies panic too
often (like I did).

http://www.trisoft.de/c3000howto.htm

The guide is available in german and english, and they've also a
anglified version of the preinstalled Linux for download
(C3000-2005-03-18-12-30.zip).

Oh, and please, when they write don't do this at home, then you
really shouldn't do it or your Zaurus may be  transformed into a
noble paperweight, without any function, as they note in the startup
guide.

Ciao,
Kili


-- 
It compiles -- let's ship it!



Re: Writing to console...

2005-06-15 Thread jared r r spiegel
On Wed, Jun 15, 2005 at 10:17:30AM -0500, kevin wrote:
  
 I was downloading GNU gcc on a machine and when I looked over 
 after the download, the screen was writing:   
 All work and no play makes Jack a dull boy   

  i know there's an xscreensaver for that.

  since you said specifically console, maybe
  that has nothing to do with it.

  outside of that, i'm no big help.

  jared

- 

[ openbsd 3.7 GENERIC ( jun 3 ) // i386 ]



Re: Openbox and x.org

2005-06-15 Thread Ray Percival
On Wed, Jun 15, 2005 at 04:20:50PM -0400, Mathieu Sauve-Frankel wrote:
 On Tue, Jun 14, 2005 at 10:36:00AM -0700, Ray Percival wrote:
  It would seem that openbox as installed from the package in 3.7 doesn't
  have rc.xml or menu.xml files. Is this on purpose or is it a bug or,
  very likely, am I missing something obvious? I'm going to try importing
  the ones I have on my Debian box to see if that solves it.

 missing something obvious

 /usr/local/share/openbox/rc.xml
 /usr/local/share/openbox/menu.xml
Fair enough. Thit is what I'm seeing. Openbox will start and now that I
have my xorg.conf right, thanks to Brian, the resolution is right. But
I'm seeing a grey background, the default I assume, but I can't get any
menus to come up with the right, left, or middle mouse buttons. I do
have a cursor and it does move with the mouse so I'm pretty sure the
mouse is configured right.

To be honest at that point I rebooted into Debian and started doing
some searching around I came across a old webpage and, much to my
everlasting shame, made the assumption that the lack of config files it
talked about was the problem.

So this all brings me to the better version of my question. I'm seeing
the above and know that by default openbox doesn't look in
/usr/local/share but that that is where OpenBSD design says they should
go. So should the OpenBSD build be looking there or do I just need to
move the files over to the right spot in my home dir. I'm a bit
confused because twm just works.

Thanks much.

Ray
--
BOFH excuse #190:

Proprietary Information.

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



S-Video TV Hookup

2005-06-15 Thread Dan Smythe
I recently purchased the item from 
http://store.yahoo.com/videoware/prosvideo6.html. I'd like to use it to hook my 
laptop up to my TV. I can get the audio to play, but I need help getting the 
video to work. The cable claims to work with the 7 or 4 pin monitor connector. 
I have the 7 pin. The audio source plugs into the headphone jack. What program 
should I use or how should I configure it so I can use the TV as a video/audio 
monitor?
 Take Yahoo! Mail with you! Check email on your mobile phone.



Re: PHP or Mysql problem?

2005-06-15 Thread James Strandboge
On Wed, 2005-06-15 at 11:30 +0200, Nico Meijer wrote:
 Hi Kiraly,
 
  mysql error: Can't create/write to file '/tmp/
  #sql_4c99_0.MYD' (Errcode: 9)
 
 MySQL problem.
 
 Simple suggestions, not idiot-proof:

I prefer this on OpenBSD 3.6 (should be same on 3.7):

Add to /etc/login.conf:
#
# for mysql to work right
#
mysql:\
   :datasize=infinity:\
   :maxproc=infinity:\
   :openfiles-cur=2048:\
   :openfiles-max=8192:\
   :stacksize-cur=8M:\
   :localcipher=blowfish,8:\
   :tc=default:

sudo vipw and change the login class for _mysql to 'mysql'.

To use this class, you MUST use 'sudo -c mysql -u _mysql', like this 
(can be put in /etc/rc.local):
sudo -c mysql -u _mysql /usr/local/sbin/mysql.server start

This may be useful as well (can also put in /etc/sysctl.conf):
sudo sysctl -w kern.maxfiles=16384

And finally, add to /etc/my.cnf on (OpenBSD 3.6 with mysql 4.0.20):

 [mysqld]
 ...
 open-files=1000
 ...

Jamie Strandboge



Re: Problem booting from wd0

2005-06-15 Thread Uwe Dippel
On Wed, 15 Jun 2005 13:07:06 -0600, Tobias Weingartner wrote:

  Use dd form /dev/zero to wipe MBR and start of disk.

 what does installboot do here ? Maybe I'm simply lost or stupid.?
 
 It installs your PBR boot block, IE: your partition boot block.

Thanks for the info ! - But still, I don't see how this comes into view:
the kernel was looking 'broken' at loading in the OP;
then he wiped the MBR.

Should he not better
fdisk -u wd0
to get the MBR back ?

Trying to understand ...

Uwe



Re: CCD on /

2005-06-15 Thread Nick Holland
mdff wrote:
 are there any plans to support the kernel being loaded
 directly from a RAID partition in order to avoid that
 annoying mini-boot-partition which cannot be raided?

WHY do you want to mirror root?

keep in mind, OpenBSD has an altroot system in place, which will
update your backup root partition every night with any changes that took
place over the day on your root partition.  What are you storing on root
that is changing more often than once a day?

Software mirroring is cheap..but it causes problems, too.  It takes time
to rebuild, it complicates upgrades, performance either sucks or is
non-existant when rebuilding.  In general, you probably only want to
mirror the data you have that is actively changing continually.

I spent a bit of time trying out ccd(4) mirroring recently.  I worked
hard to build a system where as much of a disk was mirrored as I could
-- I had a root partition of 130M, and had the rest of the drive be a
big mirrored ccd(4) partition which I then sub-divided.  It worked...

But after I set up the altroot backup system, I realized...do I really
CARE if my /usr partition is mirrored up?  How about my /etc files?
Isn't a nightly sync more than sufficient?  Not only that, if I hose
something, I have a whole drive that HASN'T been messed up yet (hate to
use the word backup with a non-rotated, non-removable media.  Let's
call it Second chance).  If I'm running a mail server, I want a mirror
of my mail spools, of course.  If I'm running a webserver, I might want
a mirror of my data and my logs.  Firewall?  Maybe my logs, but really,
why do I need a mirror there at all?

Oh, sure, you might want your system to stay running after it wuffs a
drive, but if you are running an IDE system, it almost certainly won't.
 If you are running SCSI, it *might*, but don't count on it.  Consider
cheap (i.e., software) RAID systems a way to rapidly repair a broken
computer, not a way to keep the system running without interruption.

BTW: one other reason RAIDframe isn't in GENERIC is you have to
customize your kernel in other ways, not just turning it on.  From raid(4):
It is important that drives be hard-coded at their respective addresses
(i.e., not left free-floating, where a drive with SCSI ID of 4 can end
up as /dev/sd0c) for well-behaved functioning of the RAID device.  This
is true for all types of drives, including IDE, HP-IB, etc.

(ccd(4), due to its simplicity, doesn't seem to care).

Nick.



Re: S-Video TV Hookup

2005-06-15 Thread Dan Smythe
I have included my dmesg. Thanks in advance for
anybody who can help me configure this for my TV hookup.
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.boot]



OS fingerprinting and netcraft

2005-06-15 Thread Steffen Kluge
Hi all,
I recently moved a web server in my domain to OpenBSD 3.7. Out of
curiosity I looked it up at netcraft. While they correctly identified
the web server software, the OS was listed as unkown.

Not that I really care about this, but I'm curious as to what prevented
them from fingerprinting the OS. I notice that some sites are being
recognised as running OpenBSD, hence it can't be altogether impossible.

I wonder whether my firewall, which was also changed to OpenBSD/pf
recently, is interfering. I'm using scrub in all as well as synproxy
state on the inbound pass rules. Could that be defeating netcraft's
fingerprinting attempts?

Cheers
Steffen.



4port Realtek nic

2005-06-15 Thread Steven Bowers
Compgeeks is offering a 4port RTL8139D nic for an attractive price. I
know the 8139 chipset is supported, not quite so sure of the 8138D.
Can anyone speak for these cards? The price is nice and a 4port nic
would be very handy.



Re: Problem booting from wd0

2005-06-15 Thread Tobias Weingartner
On Thursday, June 16, Uwe Dippel wrote:
  
  It installs your PBR boot block, IE: your partition boot block.
 
 Thanks for the info ! - But still, I don't see how this comes into view:
 the kernel was looking 'broken' at loading in the OP;

OP?  What is OP?


 then he wiped the MBR.
 
 Should he not better
 fdisk -u wd0
 to get the MBR back ?

That's one way.

--Toby.