Re: Cannot load perl GD

2007-05-23 Thread Samurai Chef

On 5/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I recently upgraded my web server from OpenBSD 3.7 to 4.1.

Everything is up  running except for the perl library GD.
I'm getting these errors when running a perl script to create thumb
nail images from larger images. The error are:

Can't load '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/GD/GD.so'
for module GD: Cannot load specified object at
/usr/libdata/perl5/i386-openbsd/5.8.8/DynaLoader.pm line 230.
 at /usr/local/lib/perl5/site_perl/ThumbNail.pm line 6
Compilation failed in require at /usr/local/lib/perl5/site_perl/ThumbNail.pm 
line 6.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/ThumbNail.pm line 6.
Compilation failed in require at ./test.pl line 4.
BEGIN failed--compilation aborted at ./test.pl line 4.

My installation of GD (p5-GD-2.30p1.tgz) went as follows:
# setenv PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/
# pkg_add p5-GD-2.30p1.tgz
p5-GD-2.30p1:gd-2.0.34: complete
p5-GD-2.30p1: complete

I've installed patches 1 thru 5 and 7 to the 4.1 release.
ThumbNail.pm is a perl module I wrote to create thumb nail images
that worked with OpenBSD 3.7.

Suggestions for where I look for a solution to this problem?

Thanks,

Joe
.





IIRC, you need to have (at a minimum) xbase41.tgz installed also.

~samuraichef



Re: use OpenBSD to blacklist phone calls?

2007-03-20 Thread Samurai Chef

make some money at it.

http://killthecalls.com/


On 3/20/07, Paul Pruett [EMAIL PROTECTED] wrote:

OpenBSD spamd works great for blacklisting IPs,
and maybe it could be use for our blacklisting
telephone calls using callerID?

Even though we are on the 'do not call' registry
we still get 4-10 calls a day at home, and
at work its just phone spam spam spam

Thinking about adding a modem that recognizes callerID
to my home openbsd firewall/server to have it also
monitor the phones and intercept telemarketing
calls between ring 1 and 2 and if a match then
give a false fax signal,
message or just hangup signal.

Has anyone else setup an openbsd server to hangup
phone calls by callerid?

I looked through /usr/ports/comms
and /usr/ports/telephony I think this could be
done with the port package asterisk, but it does
look complex and I wondered if another package
was more appropriate than a VOIP package?

I did google some notes for [EMAIL PROTECTED]
but I did not read that it is
the same as the port ASTERISK.

-TIA.




Re: BSD thin client

2007-01-27 Thread Samurai Chef

On 1/27/07, Ramdas [EMAIL PROTECTED] wrote:

Hi Group,

Is it possible to convert a old intel ( BSD based ) machine with less
ram  hdd into a thin client.

I want to install minimum BSD on the machine and convert it to a thin client.

The idea is to have a secure  robust terminals which can have a
minimum BSD and a GUI interface for users. This thin client should
talk to a central server over ethernet or a dial up modem connection .

Sorry in case this is discussed earlier.

Regards
Ram



Yes,

I've done it successfully to enable end-users to connect to a virtual
desktop using OpenBSD 4.0, fluxbox and idesk (for desktop icons).  I
keep the systems updated with rdist.

The whole system fits onto a 512MB flash card.  it boots right up to a
desktop with icons for each user, they just have to select their icon
to get their virtual desktop.

It runs fine in under 128MB of RAM.

running top reports:
load averages:  0.15,  0.10,  0.09 10:11:00
21 processes:  1 running, 19 idle, 1 on processor
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.8% interrupt, 99.2% idle
Memory: Real: 26M/83M act/tot  Free: 161M  Swap: 0K/512M used/tot

I'm thinking of adding snort onto these for a distributed NIDS, or
adding wireless cards to extend my wireless network, but those are
both low priorities.

~samuraichef



Re: BSD thin client

2007-01-27 Thread Samurai Chef

On 1/27/07, Samurai Chef [EMAIL PROTECTED] wrote:

On 1/27/07, Ramdas [EMAIL PROTECTED] wrote:
 Hi Group,

 Is it possible to convert a old intel ( BSD based ) machine with less
 ram  hdd into a thin client.

 I want to install minimum BSD on the machine and convert it to a thin client.

 The idea is to have a secure  robust terminals which can have a
 minimum BSD and a GUI interface for users. This thin client should
 talk to a central server over ethernet or a dial up modem connection .

 Sorry in case this is discussed earlier.

 Regards
 Ram


Yes,

I've done it successfully to enable end-users to connect to a virtual
desktop using OpenBSD 4.0, fluxbox and idesk (for desktop icons).  I
keep the systems updated with rdist.

The whole system fits onto a 512MB flash card.  it boots right up to a
desktop with icons for each user, they just have to select their icon
to get their virtual desktop.

It runs fine in under 128MB of RAM.

running top reports:
load averages:  0.15,  0.10,  0.09 10:11:00
21 processes:  1 running, 19 idle, 1 on processor
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.8% interrupt, 99.2% idle
Memory: Real: 26M/83M act/tot  Free: 161M  Swap: 0K/512M used/tot

I'm thinking of adding snort onto these for a distributed NIDS, or
adding wireless cards to extend my wireless network, but those are
both low priorities.

~samuraichef




Oops.  forgot to add, I'm using rdesktop for the desktop connections.



Re: Merchandise idea: OpenBSD mug

2007-01-15 Thread Samurai Chef

On 1/14/07, Constantine A. Murenin [EMAIL PROTECTED] wrote:


Read the archives. Theo explained here the copyright law many times,
specifically to your situation about the use of artwork -- unless you
are explicitly given the right to sell you don't have such a right
[1]. Period, this is misc@ and not legal@, so this is not even worth
any further discussion here. Therefore, unless he specifically gives
you an OK to sell, you can expect to have legal problems. :)

[1] http://archives.neohapsis.com/archives/openbsd/2005-03/2490.html



Thanks for the information.  I failed to search the archives for this.

I will wait on anything until after I have an opportunity to discuss
this with Theo.

To everyone else interesting in this project - it's going to be at
least 6 weeks, and then maybe never after reading the thread
referenced above.



Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Samurai Chef

Because I have a risk involved.  I am placing my own money up and
spending my time to fill a market request.  Therefore I will keep some
of the money to cover my costs and have a little profit to provide
more products in the future.  Some of the money will go back to the
project.  I could be a real bastard and not donate any money back, but
I feel that would be wrong.  IMHO, profiting from the excellent work
that has been done on the project and not returning anything is
selfish.   I am not a programmer and really don't have the inclination
to become one.  This is my way of providing something back to the
OpenBSD community.  I hope that explains my position.

On 1/14/07, Deanna Phillips [EMAIL PROTECTED] wrote:

Samurai Chef writes:

 portions of the sales will be donated back to the project.

Huh.  What portions?  Why not all proceeds?  Just curious.




Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Samurai Chef

You are correct on the money aspect, see my other post.

I have asked for permission from Theo out of courtesy.  I have not
received a reply yet.  Once I have that permission and higher quality
artwork I will place the orders.  After that, it will take about 10
days to get the products.  Then I will announce them and make them
available.

On 1/14/07, bofh [EMAIL PROTECTED] wrote:

On 1/14/07, Deanna Phillips [EMAIL PROTECTED] wrote:
 Samurai Chef writes:

  portions of the sales will be donated back to the project.

 Huh.  What portions?  Why not all proceeds?  Just curious.

Probably some upfront costs, and you need some capital for the next
batch, etc.  Also need some $$ to cover for broken ones, people who
didn't follow through on their orders, etc.

It is a pain to deal with brokenware, which, I think is one of the
reasons Theo doesn't want to do it.  Before anything gets done, if I
were doing it, I'll probably want 2 things, permission from the artist
of the wireframe puffy, and if the word OpenBSD appears anywhere,
permission from Theo, just to be nice, if nothing else.




Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Samurai Chef

You are free to do the same thing and donate all profits to whomever
you wish.  If you don't agree, then don't buy.  I've stated my
position and if you don't agree, then you don't agree.  I have no
intentions on engaging you on a long discussion of the merits of this
project.

On 1/14/07, Deanna Phillips [EMAIL PROTECTED] wrote:

Samurai Chef writes:

 Because I have a risk involved.  I am placing my own money up
 and spending my time to fill a market request.  Therefore I
  ^

Aha, that's where I thought this was going.  So your time spent
marketing a brand created by unpaid volunteers is worth
money.

 will keep some of the money to cover my costs and have a
 little profit




Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Samurai Chef

On 1/14/07, Marc Balmer [EMAIL PROTECTED] wrote:

Did he get the permissions? Does he have an OK from the copyright owner
to market these mugs using a copyrighted artwork?



Not yet.  I'm working on it however.  My understanding is that Theo is
the copyright holder.  I have an sent an email to Theo for this use.

From what I have been told, Theo is hiking for the next 5 weeks.




Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Samurai Chef

On 1/14/07, Marc Balmer [EMAIL PROTECTED] wrote:

How about thinking if he is allowed to use the (copyrighted) artwork for
commercial use?

Did he get the permissions? Does he have an OK from the copyright owner
to market these mugs using a copyrighted artwork?



To quote from http://www.openbsd.org/art4.html:
Most images provided here are copyright by OpenBSD, by Theo de Raadt,
or by other members or developers of the OpenBSD group. However, it is
our intent that anyone be able to use these images to represent
OpenBSD in a positive light. So enjoy them and let the world see them,
if that is your wish. 

I believe that means I am free to make and sell the cups and glasses.
anyone disagree with my interpertation of that statement?



Re: Merchandise idea: OpenBSD mug

2007-01-12 Thread Samurai Chef

I'll do it.  I'll order some and announce here.  I'll set up a ebay
store for the merchandise.  contact me with requests.



Re: [laptop died] best notebook suitable for OpenBSD

2006-12-04 Thread Samurai Chef

This was covered recently, search the archives.  But for the record, I
think the end result was ThinkPads.

On 12/4/06, Anton Karpov [EMAIL PROTECTED] wrote:

My lovely Sony VAIO died few days ago. So I'm searching for a replacement.
Honestly, VAIO never works good with BSDs, the only one BSD which works
quite good is FreeBSD (although it has no proper suspend/resume support for
VAIO). OpenBSD has several problems like unability to ajust brightness (no
hardware brightness control in VAIOs), although setbrightness from linux
works well under emulation, and problems with sound driver.
But anyway, I loved my VAIO.
Now I'm looking for replacement. I prefer small sub-laptops, with 11' screen
(or even smaller). New VAIO TX series has perfect dimensions, but I decide
not to mess with VAIOs anymore ;)
AFAIR the best laptops for BSDs, proven/recommended by many users, are
IBM/Lenovo ThinkPads. I especially prefer X series with 12' screen. So I
just want to be sure it's the best choice for using OpenBSD onto it.
Hey, happy mobile OpenBSD users, I want to hear your voice. Does everything
in your laptop works smoothly in OpenBSD?
Thanks in advance for your replays.

P.S.: Okay, I know we have laptop page. But it's a little bit outdated.




Re: Which tools the OpenBSD developers are using?

2006-11-29 Thread Samurai Chef

wouldn't the primary tool they all use be the greymatter in their skulls?



Re: Slogan for OpenBSD goodies

2006-10-06 Thread Samurai Chef

On 10/6/06, Jason Mao [EMAIL PROTECTED] wrote:

Hi, Bruno

I think that depends on your definiton for the word free.


Best rgds,

Jason

On 10/6/06, Bruno Carnazzi [EMAIL PROTECTED] wrote:
 Hi misc,

 I was thinking to a slogan that could be printed on some openbsd goodies :

 Free software can't exist without Free hardware.

 I think this is really the core of the current free software problem.

 Best regards,

 Bruno.




s/Free/Open/g



Re: Why ksh?

2006-07-21 Thread Samurai Chef

like the clear command?

On 7/21/06, Pedro Timsteo [EMAIL PROTECTED] wrote:

Speaking of ksh, is there any way to configure it to clear the screen
with CTRL+L, as bash does?

Thanks.




Re: one drive in a raid 0 failed, can I save any data?

2006-06-01 Thread Samurai Chef

There are ways.

You could drop about $80 on R-STUDIO and try to recover the data.  It
can regenerate raid sets. and it will read OpenBSD FFS.

see http://www.data-recovery-software.net/

I've used it.  It works.


On 6/1/06, John Brahy [EMAIL PROTECTED] wrote:

For a couple weeks I was running without backups and one of the drives died.
Is there a way to recover any of the data from the drives?




Re: Laptop recommendations

2006-05-12 Thread Samurai Chef

On 5/11/06, Roger Neth Jr [EMAIL PROTECTED] wrote:

On 5/11/06, Bryan Irvine [EMAIL PROTECTED] wrote:
 snip
  I had checked the archives for misc@, and what I had read indicated
  that the Macbook Pro could boot OpenBSD using Parallels virtualization
  software, but not natively due to hang while probing USB.  Also, I'm
  under the opinion that the wireless doesn't work as they use broadcom
  adapters under the Airport Express name.  I could be wrong though.  I
  was just wondering if that had improved any.
 snip

 The Broadcom thing still applies.  No drivers for airport.

 --Bryan


Hello List,

I was looking on Ebay for OpenBSD type of stuff and came across this.

Doesn't this hurt the project? : (

Or are they just generous?

http://cgi.ebay.com/OpenBSD-3-9-3-CD-Full-Set_W0QQitemZ7235743360QQcategoryZ4619QQssPageNameZWD1VQQrdZ1QQcmdZViewItem

rogern

John 3:16





I contacted the seller and asked Is this the full CD set with
stickers, or copies of the CD's?

This is the response I got: These cds are copies of the official 3 cd
set. All cds are verified by test installations of the product. The
official 3 CD set is available from www.openbsd.org for $45+$4
shipping and handling.

To answer the question, Does this hurt the project?  I respond, it
doesn't help.

eBay has strict policies about the illegal selling of copywrite
protected items, and this qualifies.  just go to the auction, and at
the bottom is a link that reads Report this Item.  It infringes on
the copyright of Theo de Raadt.  IIRC, three strikes and you're out on
ebay.

Jim



Re: bsd.mp in VMWare ESX

2006-05-04 Thread Samurai Chef

Use the LSI Logic SCSI controller.  That should help with getting it installed.


On 5/4/06, Murali Raju [EMAIL PROTECTED] wrote:

Still no Virtual SMP support for *BSD on ESX. Are running 2.5.3? I
can't seem to even get a normal OpenBSD install on ESX.

Cheers..

_Raju

On 5/4/06, Craig Barraclough [EMAIL PROTECTED] wrote:
 Just thought I'd check it out again, to see if it MP under VMware now works, 
unfortunately no.
 dmesg below is from bsd, not bsd.mp unfortunately.

 (Following is hand copied, 'cause I still haven't worked out how to serial 
console a vmware machine).

 cpu1 failed to become ready
 Stopped at  Debugger+0x4:  leave
 ddb{0} ps
PID   PPID   PGRP   UID SFLAGS   WAIT 
COMMAND
  9  0  0 0 2 0x100204
crypto
  8  0  0 0 2 0x100204
aiodoned
  7  0  0 0 2 0x100204
update
  6  0  0 0 2 0x100204
cleaner
  5  0  0 0 2 0x100204
reaper
  4  0  0 0 2 0x100204
pagedaemon
  3  0  0 0 20x2100604
pfpurge
  2  0  0 0 30x2100204  kmalloc   
kmthread
  1  0  0 0 30x204  initexec  
swapper
 *0 -1  0 0 70x2080204
swapper
 ddb{0} trace
 Debugger(d069b999, d0a98c14, 2c0, 0) at Debugger+0x4
 cpu_boot_secondary(d0a98c00, 11, d05fcc12, d0828f70) at 
cpu_boot_secondary+0x99
 cpu_boot_secondary_processors(4458a4a7, 0, 0, d05fcc12, 0) at 
cpu_boot_secondary_processors+0x41
 main(0, 0, 0, 0, 0) at main+0x70c
 ddb{0} show registers
 ds  0x10
 es  0x10
 fs  0x58
 gs 0
 edi 0x831000
 esi   0xd0a98c00end+0x2f18b0
 ebp   0xd0828f18end+0x81bc8
 ebx0
 edx0
 ecx   0xd06bbb84kprintf_mutex
 eax 0x1c
 eip   0xd0448de0Debugger+0x4
 cs   0x8
 eflags 0x246
 esp   0xd0828f18end+0x81bc8
 ss0xd0820010end+0x78cc0
 Debugger+0x4:   leave
 ddb{0} boot dump

 ---
 OpenBSD 3.9-current (GENERIC) #1: Wed May  3 13:58:50 EST 2006
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium II Xeon (GenuineIntel 686-class, 1024KB L2 cache) 450 
MHz
 cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 real mem  = 66613248 (65052K)
 avail mem = 53035008 (51792K)
 using 838 buffers containing 3432448 bytes (3352K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(2c) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xfd880
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x8000 0xc8000/0x1a00! 0xca000/0x1000 
0xdc000/0x4000! 0xe4000/0x4000!
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
 pci1 at ppb0 bus 1
 pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR00, 1.00 SCSI0 
5/cdrom removable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus 
disabled
 vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 mpt0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: irq 9
 scsibus1 at mpt0: 16 targets
 sd0 at scsibus1 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
 sd0: 4096MB, 4096 cyl, 64 head, 32 sec, 512 bytes/sec, 8388608 sec total
 sd1 at scsibus1 targ 1 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
 sd1: 8192MB, 8192 cyl, 64 head, 32 sec, 512 bytes/sec, 16777216 sec total
 mpt0: target 0 Synchronous at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
 mpt0: target 1 Synchronous at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
 pcn0 at pci0 dev 17 function 0 AMD 79c970 PCnet-PCI rev 0x10, Am79c970A, 
rev 0: 

Re: bsd.mp in VMWare ESX

2006-05-04 Thread Samurai Chef

I haven't tried to get bsd.mp working under ESX yet.  Don't need to
load my servers like that I guess.  I'll try to look into it a little.

On 5/4/06, Murali Raju [EMAIL PROTECTED] wrote:

On 5/4/06, Samurai Chef [EMAIL PROTECTED] wrote:
 Use the LSI Logic SCSI controller.  That should help with getting it 
installed.



That worked! Thank you :-)

 On 5/4/06, Murali Raju [EMAIL PROTECTED] wrote:
  Still no Virtual SMP support for *BSD on ESX. Are running 2.5.3? I
  can't seem to even get a normal OpenBSD install on ESX.
 
  Cheers..
 
  _Raju
 
  On 5/4/06, Craig Barraclough [EMAIL PROTECTED] wrote:
   Just thought I'd check it out again, to see if it MP under VMware now 
works, unfortunately no.
   dmesg below is from bsd, not bsd.mp unfortunately.
  
   (Following is hand copied, 'cause I still haven't worked out how to 
serial console a vmware machine).
  
   cpu1 failed to become ready
   Stopped at  Debugger+0x4:  leave
   ddb{0} ps
  PID   PPID   PGRP   UID SFLAGS   WAIT 
COMMAND
9  0  0 0 2 0x100204
crypto
8  0  0 0 2 0x100204
aiodoned
7  0  0 0 2 0x100204
update
6  0  0 0 2 0x100204
cleaner
5  0  0 0 2 0x100204
reaper
4  0  0 0 2 0x100204
pagedaemon
3  0  0 0 20x2100604
pfpurge
2  0  0 0 30x2100204  kmalloc   
kmthread
1  0  0 0 30x204  initexec  
swapper
   *0 -1  0 0 70x2080204
swapper
   ddb{0} trace
   Debugger(d069b999, d0a98c14, 2c0, 0) at Debugger+0x4
   cpu_boot_secondary(d0a98c00, 11, d05fcc12, d0828f70) at 
cpu_boot_secondary+0x99
   cpu_boot_secondary_processors(4458a4a7, 0, 0, d05fcc12, 0) at 
cpu_boot_secondary_processors+0x41
   main(0, 0, 0, 0, 0) at main+0x70c
   ddb{0} show registers
   ds  0x10
   es  0x10
   fs  0x58
   gs 0
   edi 0x831000
   esi   0xd0a98c00end+0x2f18b0
   ebp   0xd0828f18end+0x81bc8
   ebx0
   edx0
   ecx   0xd06bbb84kprintf_mutex
   eax 0x1c
   eip   0xd0448de0Debugger+0x4
   cs   0x8
   eflags 0x246
   esp   0xd0828f18end+0x81bc8
   ss0xd0820010end+0x78cc0
   Debugger+0x4:   leave
   ddb{0} boot dump
  
   ---
   OpenBSD 3.9-current (GENERIC) #1: Wed May  3 13:58:50 EST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
   cpu0: Intel Pentium II Xeon (GenuineIntel 686-class, 1024KB L2 cache) 
450 MHz
   cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
   real mem  = 66613248 (65052K)
   avail mem = 53035008 (51792K)
   using 838 buffers containing 3432448 bytes (3352K) of memory
   mainbus0 (root)
   bios0 at mainbus0: AT/286+(2c) BIOS, date 04/21/04, BIOS32 rev. 0 @ 
0xfd880
   apm0 at bios0: Power Management spec V1.2
   apm0: AC on, battery charge unknown
   apm0: flags 30102 dobusy 0 doidle 1
   pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
   pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
   pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
   pcibios0: PCI bus #1 is the last bus
   bios0: ROM list: 0xc/0x8000 0xc8000/0x1a00! 0xca000/0x1000 
0xdc000/0x4000! 0xe4000/0x4000!
   cpu0 at mainbus0
   pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
   pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
   ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
   pci1 at ppb0 bus 1
   pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
   pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
   atapiscsi0 at pciide0 channel 0 drive 0
   scsibus0 at atapiscsi0: 2 targets
   cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR00, 1.00 SCSI0 
5/cdrom removable
   cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
   pciide0: channel 1 ignored (disabled)
   piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus 
disabled
   vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
   wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
   wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
   mpt0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: irq 9
   scsibus1 at mpt0: 16 targets
   sd0 at scsibus1 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct 
fixed
   sd0: 4096MB

Re: using torrents for packages?

2006-05-01 Thread Samurai Chef

On 5/1/06, Greg Thomas [EMAIL PROTECTED] wrote:

On 5/1/06, Darrin Chandler [EMAIL PROTECTED] wrote:
 On Mon, May 01, 2006 at 10:42:32PM +, Christian Weisgerber wrote:
  Darrin Chandler [EMAIL PROTECTED] wrote:
 
   If people are so hot for torrents, then why hasn't someone made one?
 
  But Andrew Fresh has.
  http://openbsd.somedomain.net/

 Oh, yeah. Right you are. Then why are we having this discussion? You
 only need one tracker. Everyone remember to be good netizens and leave
 your client active to keep it seeded!


We're here because Sebastian appears to want the OpenBSD team to
provide an official tracker for official package distribution.  Or
maybe he didn't see that Andrew Fresh is working on packages for 3.9.
Or maybe he just likes to whine about slow FTP and slow compression
utilities.

Greg




Or maybe he can't scrape up $50 for the CDs.



Re: Small office with BSD blueprint

2006-03-20 Thread Samurai Chef
I would be interested in the details on that also.

Thanks in advance.

On 3/20/06, John R. Shannon [EMAIL PROTECTED] wrote:
 Will H. Backman wrote:
  Looking for feedback on a basic blueprint for a small office using BSD.
  Situation:  Small office with maybe five workstations.
  Question: What would an all BSD setup look like?
  Solution that comes to mind:
  * Single server for DNS, DHCP, LPD, SMTP, IMAP, and home directories.
  * Full install with whatever desktop environment is chosen.
  * automount home directories.
  * Instead of NIS, maybe cron job to rsyc files like /etc/passwd,
  /etc/hosts, /etc/printcap from central server.
 
  Does anyone out there have a similar setup?
 
  --
  Will Backman - Network Administrator
  Coastal Enterprises, Inc.
  http://www.ceimaine.org
 

 I have that. I suppose I can send details on what I've setup if you
 want. Let me make some comments relative to your solution:

 1. You want more that one server for availability. If your single server
 goes down, all 5 employees will be non-productive.

 2. I don't see a firewall.

 3. I don't see a backup solution. This is critical.

 4. You might consider a network printer rather than sharing one through
 your server.

 --
 John R. Shannon, CISSP
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]



Re: Pre-orders?

2006-03-06 Thread Samurai Chef
Funny.  I was just about to post the same question.  I need to replace
my 3.8 cd (sold the original with a firewall config I build) and was
hoping to order both at the same time.


On 3/6/06, Roland Dominguez [EMAIL PROTECTED] wrote:
 Just wondering when we can start pre-ordering 3.9.
 thanks
 roland



Re: pix firewall question

2006-02-18 Thread Samurai Chef
At the risk of sounding like I'm a regular on this list, RTFM.  OR
look at other examples in the PIX config.

On 2/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi there.  I am a long time user of openbsd and ipf/pf.  I just got stuck 
 with the task of managing some pix firewalls for the next eight weeks until 
 they can get someone else.  Could somebody reply to me off list?  I just need 
 to do some simple redirects.  Simple in openbsd, that is, but I can't figure 
 out how to do it on the pix.

 --ja

 --



Re: Bug bounty for pciide/atapiscsi

2005-11-09 Thread Samurai Chef
On 11/9/05, Mark Rottler [EMAIL PROTECTED] wrote:

 On 11/8/05, Stephen Nelson [EMAIL PROTECTED] wrote:
  My company is doing some work for a client that requires a CD Bootable
  OpenBSD firewall. We have a couple of IBM xSeries 336 servers for this
  purpose. We currently cannot complete this because OpenBSD cannot mount
  the CDROMs on these machines (We have tried 3.7, 3.8, and current of the
  amd64 and i386 varieties - both GENERIC and GENERIC.MPhttp://GENERIC.MP
 ).

 [Snip]

  root on sd0a
  rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
  arp: attempt to overwrite entry for 0.0.0.0 http://0.0.0.0 on lo0 by
 00:14:5e:30:56:04 on bge0
  cd0(pciide0:0:0): timeout
  type: atapi
  c_bcount: 0
  c_skip: 0
  cd0(pciide0:0:0): timeout
  type: atapi
  c_bcount: 32
  c_skip: 0
  pciide0:0:0: device timeout, c_bcount=32, c_skip=0,
 status=0x58DRDY,DSC,DRQ, ireason=0x2


 I've had this problem pop up on a Shuttle box before I solved it by
 booting into
 kernel configuration mode (boot -c) and then disabling pciide (disable
 pciide*)
 before continuing the boot process.

 I don't know if this will help in your case, but it might be worth a quick
 try.

 Mark.



I have a similar problem on a new AOpen XCCube with an AMD Sempron (see
dmesg). I tried the disabling the pciide as described above. That didn't
work, it actually caused the system to panic. I have included the steps i
took (it was in the dmesg output). The trace and ps are here also. I don't
really need the cd-rom on this system, but hopefully this helps to fix the
problem.

SamuraiChef


UKC disable pciide*
59 pciide* disabled
UKC quit
Continuing...
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Sempron(tm) Processor 2600+, 1600.25 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 128KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 vendor SIS, unknown product 0x0761 rev 0x01
ppb0 at pci0 dev 1 function 0 SIS 86C202 VGA rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 SIS 6330 VGA rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
SIS 965 PCI rev 0x48 at pci0 dev 2 function 0 not configured
SIS 5513 EIDE rev 0x01 at pci0 dev 2 function 5 not configured
auich0 at pci0 dev 2 function 7 SIS 7012 AC97 rev 0xa0: irq 3, SiS7012
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655)
audio0 at auich0
ohci0 at pci0 dev 3 function 0 SIS 5597/5598 USB rev 0x0f: irq 5, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 SIS 5597/5598 USB rev 0x0f: irq 10, version
1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2 at pci0 dev 3 function 2 SIS 5597/5598 USB rev 0x0f: irq 11, version
1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 3 SIS 7002 USB rev 0x00: irq 9
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: SIS EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
SIS 182 SATA rev 0x01 at pci0 dev 5 function 0 not configured
ppb1 at pci0 dev 6 function 0 vendor SIS, unknown product 0x000a rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci0 dev 7 function 0 vendor SIS, unknown product 0x000a rev 0x00
pci3 at ppb2 bus 3
VIA VT6306 FireWire rev 0x46 at pci0 dev 8 function 0 not configured
re0 at pci0 dev 11 function 0 Realtek 8169 rev 0x10: irq 10, address
00:01:80:60:ea:ed
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
fxp0 at pci0 dev 13 function 0 Intel 82557 rev 0x0c, i82550: irq 5,
address 00:02:b3:a7:e9:70
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
ppb3 at pci0 dev 31 function 0 vendor SIS, unknown product 0x0004 rev 0x00
pci4 at ppb3 bus 4
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
panic: cannot open 

Re: know any neat tricks for 2 * dhclient?

2005-10-26 Thread Samurai Chef
On 10/26/05, Graham Toal [EMAIL PROTECTED] wrote:

 I wanted to set up a system which has two ether cards (it's part of
 a transparent bridge so it'll be inline with someone's connection)
 such that it'll pick up a DHCP address on *both* cards ... the trick
 comes from not knowing in advance whether the DHCP server will be
 on the inside connection or the net-facing one. (i.e. if the
 bridge is deployed near the network edge, the DHCP server is inside;
 but if it is deployed immediately in front of a single server, then
 it will see DHCP facing outwards).

 It *ought* to be possible to configure both hostname.xl0 and hostname.fxp1
 as dhcp, and whichever one comes up first, will then bridge through the
 DHCP server for the other. Unfortunately it just happens by luck of
 alphabetical order, that the one which comes up first is *not* looking
 at a DHCP server. So after a relatively short period of retries it
 goes to sleep. Then the other interface asks for its dhcp address and
 gets it quickly. What I expected was that the first would sleep for a
 short time then ask again, and get it OK. I haven't seen that happen -
 about 30 minutes later and the interface still has no IP.

 What's the best way to ensure that they both get IPs as quickly as
 possible? I can think of some dirty hacks, but I don't like the
 solutions I've come up with. (For example, if I kick off the dhcp
 client requests in the background, that interferes with the rest of
 the boot sequence).

 Has anyone had this configuration before and come up with an elegant
 solution?

 thanks

 Graham


Maybe I'm not understanding the problem, but for a tranparent bridge, you
wouldn't want it to be assigned an IP address on either network card. hence
the transparent part.



Re: OpenBSD's 10th birthday

2005-10-18 Thread Samurai Chef
On 10/18/05, Theo de Raadt [EMAIL PROTECTED] wrote:

 Now it is really OpenBSD's 10th birthday ;)


I just want to say a hearty Thank you and Happy Birthday to OpenBSD and
to all the developers, porters, advocates, and supporters. OpenBSD is by far
the most stable, most secure, and quite frankly, easiest OS to use.

Again, Happy Birthday.

I raise my glass to another 10 years.



Re: OpenBSD's 10th birthday -- how about a present?

2005-10-18 Thread Samurai Chef
oops.. forgot to post to list. sorry.

On 10/18/05, Samurai Chef [EMAIL PROTECTED] wrote:

 I pre-ordered 3.8 the day pre-orders were available on
openbsd.orghttp://openbsd.org
 .



Re: OpenBSD Metastore: New kit, thanks

2005-10-13 Thread Samurai Chef
As you want everyone to look at this can help, you *should* probably remove
the blocking you have in place.

Just my $0.02 worth.

On 10/13/05, Han Boetes [EMAIL PROTECTED] wrote:

 And of course this message ended up in my spam-filter, and I'm not
 even going to tell it it was a mistake. =)

 Szechuan Death wrote:
  Lars Hansson wrote:
 
   Our ip addresses are assigned from TWNIC, even though we're not
 actually in
   Taiwan, so that's probably why. The CIDR blocks in question is
   203.65.244.0/22 http://203.65.244.0/22
   and 203.65.248.0/22 http://203.65.248.0/22.
 
  # cb findip 203.65.244.1 http://203.65.244.1
203.65.248.1http://203.65.248.1
  Netblock 203.64.0.0/14 http://203.64.0.0/14 is in country TW (TAIWAN)
  Netblock 203.64.0.0/14 http://203.64.0.0/14 is in country TW (TAIWAN)
 
  Yup, looks like. Sorry, Charlie. Take a flight to Taipei and snuff
  a spammer or scriptkiddie, if everybody does that TW can be put back on
  the Civilized Net Nation list. Arguments that US contains the most
  spam lords will be directed to /dev/null, I invite anybody who wants to
  to fly to Miami and snuff the top 20 archspammers too. Sorry, I don't
  feel like unblocking Taiwan and watching my logs fill with SSH scans,
  there's nothing I care about in Taiwan enough to do so. Alternately,
  find an ISP that is not so braindamaged that they get netblocks from
  another country. For a third choice, use tor or find a proxy that
  is in a netblock that is not allocated to one of the following
  countries:
 
  # cb showcc
  Blocked countries:
  AO (ANGOLA)
  BJ (BENIN)
  BF (BURKINA FASO)
  BI (BURUNDI)
  KH (CAMBODIA)
  CM (CAMEROON)
  CF (CENTRAL AFRICAN REPUBLIC)
  TD (CHAD)
  CN (CHINA)
  CD (CONGO, Democratic Republic of (was Zaire))
  CG (CONGO, People's Republic of)
  CI (COTE D'IVOIRE)
  DJ (DJIBOUTI)
  GQ (EQUATORIAL GUINEA)
  ER (ERITREA)
  ET (ETHIOPIA)
  GA (GABON)
  GM (GAMBIA)
  GH (GHANA)
  GW (GUINEA-BISSAU)
  HT (HAITI)
  HK (HONG KONG)
  IR (IRAN (ISLAMIC REPUBLIC OF))
  KE (KENYA)
  KP (KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF)
  KR (KOREA, REPUBLIC OF)
  LA (LAO PEOPLE'S DEMOCRATIC REPUBLIC)
  LB (LEBANON)
  LS (LESOTHO)
  LR (LIBERIA)
  LY (LIBYAN ARAB JAMAHIRIYA)
  MW (MALAWI)
  ML (MALI)
  MR (MAURITANIA)
  MZ (MOZAMBIQUE)
  MM (MYANMAR)
  NA (NAMIBIA)
  NE (NIGER)
  NG (NIGERIA)
  PK (PAKISTAN)
  PS (PALESTINIAN TERRITORY, Occupied)
  RW (RWANDA)
  SN (SENEGAL)
  SL (SIERRA LEONE)
  SG (SINGAPORE)
  SO (SOMALIA)
  SD (SUDAN)
  SZ (SWAZILAND)
  TW (TAIWAN)
  TZ (TANZANIA, UNITED REPUBLIC OF)
  UG (UGANDA)
  VN (VIET NAM)
  YE (YEMEN)
  ZM (ZAMBIA)
  ZW (ZIMBABWE)
 
  Note: anybody from any one of these countries, the same goes for
  you. Again, sorry. Don't complain about it, just go kill your
  spammers and scriptkiddiez and all is forgiven. I recommend cudgels,
  impalement on the stake, or forced immolation.
 
   It's not that great to have an obenbsd store that is inaccesible from
 a
   large
   part of the world though?
 
  I don't intend to host this for one second longer than I have to. I'm
  already uneasy, it's already showing up on Google and I imagine that
  it's going to get slashdotted at some point if it goes much further.
  This is not going to be live on my home DSL connection, it's going
  to be hosted somewhere else with a real Net connection (preferably
  openbsd.org http://openbsd.org), or it's going to go quietly away
 after I'm done beta-
  testing it, the end. You'll probably be able to access it then.
 
 



 # Han