Re: cvs or cvsup

2007-03-21 Thread Christian Weisgerber
Kernel Monkey [EMAIL PROTECTED] wrote:

 I've been using the cvsup client to update my sources. What is the
 difference between cvs and cvsup when updating sources?

CVS is a version control system.  You can (ab)use it for source
distribution purposes, but it is very inefficient in this role.

CVSup is a generic mirroring tool that has special support for CVS
repositories.  Apart from efficiently mirroring a repository, it
also supports checkout mode to retrieve a particular set of
revisions--which is probably what you have been using when compare
it to CVS.  The problem with CVSup is that it is written in Modula-3
and its availability is limited to that of a Modula-3 compiler.

There are further related tools:

CVSync is a repository mirroring tool.  There is no checkout mode.

CSup is a CVSup client that only implements checkout mode.

Also, a generic mirroring tool such as sup or rsync can be used to
replicate CVS repositories.  However, both CVSup and CVSync are
more efficient at this task.

If you just want to get the source tree, the CVSup protocol with
the cvsup client or csup are most efficient.

If you want to add your own changes to the source, or if you have
a bunch of machines, in particular if they are on different branches
(x.y-stable, -current), I would recommend that you get a copy of
the repository through either CVSup or CVSync and then use cvs to
check out the source trees from that local repository.  In a LAN
environment, simply mounting the repository over NFS and running a
local checkout is worth considering.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: USB Printer Recommendation

2007-03-21 Thread Greg Thomas

On 3/21/07, Bob Beck [EMAIL PROTECTED] wrote:

* James Turner [EMAIL PROTECTED] [2007-03-21 00:11]:
 I'm looking to finally cut the last strand that keeps windows on my hard 
drive.  I currently have a brother mfc-210c printer.  I'm looking to replace it 
with a cheap openbsd/lpr friendly solution.  Although the mfc is a multifunction 
printer, that is not a requirement for the new printer.  It has finally sunk in 
how sad it is to have to keep windows just to print, it's also a pain in the ass 
to have to reboot every time I want to print.  Any suggestions would be awesome, 
thanks.


LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
just works.

I've had nothing but pain and aggravation with bullshit inkjets.



That sounds like a nice one.  Unfortunately I don't think the OP is
going to find anything with ps for under his target price of $50.  Oh
well.

Greg



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Greg Thomas

On 3/21/07, Liam J. Foy [EMAIL PROTECTED] wrote:

On 21 Mar 2007, at 12:40, Nick ! wrote:

 On 3/21/07, Sunnz [EMAIL PROTECTED] wrote:
 Their project page: http://www.busybox.net

 The interesting thing is that today I found out that my wireless
 router is actually running BusyBox, an OS based on the Linux kernel,
 and its firewall was actually the usual iptable found on many Linux
 desktops/servers.

 I doubt if OpenBSD can be replace it on the router... but if you has
 done so it be cool to know how you made it work.

 OpenBSD is used for embedded systems all the time. The most common
 platform is called the Soekris. You can get them from Wim:
 http://www.kd85.com/


I admit I haven't look at Soekris for a while but last time I looked
it was
more 'buy all the pieces separately'. Do they offer a complete
package? So
I can just purchase everything I need to build myself a good router?



I bought a complete PCEngines WRAP at
http://siliconkit.dnsalias.com/cart/

There are other companies providing the same thing along with Soekris kits.

Greg



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Peter, Oliver
On Thu, Mar 22, 2007 at 12:43:38AM +1100, Sunnz wrote:
 ...
 But yea, thanks for suggesting Soekris, it seems like a good
 replacement for the blobed router I have now... so do kd85.com like...
 sells boxes that already has OpenBSD installed? Some of the boards
 have 3.3V PCI connector, so I can like plug a PCI Wifi card into it? I
 want to set-up a wireless router since that's the thing I am trying to
 replace.


Maybe this would be interesting for you, as well:
http://www.pcengines.ch/wrap.htm
http://www.wardriving.ch/hpneu/wdbox/index.htm

Nearly the same functionality as a Soekris for the half price.


--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.

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



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
On Wed, Mar 21, 2007 at 10:27:40AM -0600, Bob Beck wrote:
 * James Turner [EMAIL PROTECTED] [2007-03-21 00:11]:
  I'm looking to finally cut the last strand that keeps windows on my hard 
  drive.  I currently have a brother mfc-210c printer.  I'm looking to 
  replace it with a cheap openbsd/lpr friendly solution.  Although the mfc is 
  a multifunction printer, that is not a requirement for the new printer.  It 
  has finally sunk in how sad it is to have to keep windows just to print, 
  it's also a pain in the ass to have to reboot every time I want to print.  
  Any suggestions would be awesome, thanks.
  
 
   LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
 just works.
 
   I've had nothing but pain and aggravation with bullshit inkjets.
 
   -B
 

Although this seems like a great printer, my biggest limitation is price.  We
have a university property disposition near me, which I'm going to go check out
later today.  My friend has gotten a couple sun sparc stations from them for
under $20 bucks.  I'm hoping they will have some cheap laser printers.  Thanks
for your recommendation.



Re: USB Printer Recommendation

2007-03-21 Thread Darrin Chandler
On Wed, Mar 21, 2007 at 10:27:40AM -0600, Bob Beck wrote:
   LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
 just works.
 
   I've had nothing but pain and aggravation with bullshit inkjets.

Was that new or used? And if you don't mind sharing where you bought it
then please do. I'm finding them, but for a lot more money.

-- 
Darrin Chandler   |  Phoenix BSD Users Group
[EMAIL PROTECTED]  |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |



Re: An introduction of sorts

2007-03-21 Thread Nick !

On 3/21/07, Bray Mailloux [EMAIL PROTECTED] wrote:

The name's Bray. So far, I've been a windows technician for a little
under a year. My first computer was a Mac SE which resided in my mothers
room, it had a Shareware version of Carbon Copy and proved somewhat
entertaining.
The name OpenBSD has floated around my vernacular for some time, but
only in reference to types of operating systems or whenever someone
mentioned open-source. To be Frank, (you can be Jim), I'm a new kid on
the block and would like to be introduced to the community in a formal
sense; which is why I'm writing this letter in hopes of become embedded
in the community as opposed to another face in the crowd.
Anyhow, its nice to meet you all and I would shake your hand but that
appears impossible as I cannot yet fax or email my hand.


Welcome to OpenBSD. There's no need for formalism here. The open
source crowd is pretty gung ho, in general.

Tip: this culture only cares about your skills in the field and
nothing else. If you want to not be just another face, learn the
system, help out lots of people on this mailing list, support the
project, write patches (and don't get scared off if your first few are
rejected in flames). Eventually you'll just be known.

Have you got an OpenBSD system installed yet? You should do that. Go
check out the install guide: http://www.openbsd.org/faq/faq4.html

-Nick



Re: An introduction of sorts

2007-03-21 Thread Dan Farrell
Being prepared to be in the community is the best way to make the
entrance smoother...


The OpenBSD Community Preparedness Kit-

-Read the faq.
-Read undeadly.org
-Rtfm and Google prior to posting questions... show that you've done
your homework.
-Have thick skin


Any additions are welcome, provided they work, they're secure, and
they're truly free.


danno




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bray Mailloux
Sent: Wednesday, March 21, 2007 12:15 PM
To: misc@openbsd.org
Subject: An introduction of sorts

The name's Bray. So far, I've been a windows technician for a little
under a year. My first computer was a Mac SE which resided in my mothers

room, it had a Shareware version of Carbon Copy and proved somewhat
entertaining.
The name OpenBSD has floated around my vernacular for some time, but
only in reference to types of operating systems or whenever someone
mentioned open-source. To be Frank, (you can be Jim), I'm a new kid on

the block and would like to be introduced to the community in a formal
sense; which is why I'm writing this letter in hopes of become embedded
in the community as opposed to another face in the crowd.
Anyhow, its nice to meet you all and I would shake your hand but that
appears impossible as I cannot yet fax or email my hand.

Bray (\/).
[EMAIL PROTECTED]



Re: USB Printer Recommendation

2007-03-21 Thread Greg Thomas

On 3/21/07, James Turner [EMAIL PROTECTED] wrote:



Although this seems like a great printer, my biggest limitation is price.  We
have a university property disposition near me, which I'm going to go check out
later today.  My friend has gotten a couple sun sparc stations from them for
under $20 bucks.  I'm hoping they will have some cheap laser printers.  Thanks
for your recommendation.



Several years ago I got an old, used Xerox laser printer for really
cheap, with postscript and network interface, in a similar place.  For
printing term papers I'd highly recommend trying to find a used laser.

Greg



Re: USB Printer Recommendation

2007-03-21 Thread Bob Beck
 Although this seems like a great printer, my biggest limitation is price.  We
 have a university property disposition near me, which I'm going to go check 
 out
 later today.  My friend has gotten a couple sun sparc stations from them for
 under $20 bucks.  I'm hoping they will have some cheap laser printers.  Thanks
 for your recommendation.
 

If you're going to a surplus auction from a university, any of the
older school hp lasrjet printers (4m+ 5m, etc. etc.) that do postscript
would be a good pick. heavy as all hell, and not good on power
(so you need to turn them off when you're not using it if you're
paying the power bill) but you can still get cartridge refills easy
for them.  You may need to be a bit clever and take some oil of wintergreen
to the rubber pickup rollers if they're old and slick. 

A postscript ethernet capable laserjet would work well. 
your biggest risk there is you get one with a crappy cartridge or 
drum, meaning you'd need to shell out another hundred bucks or so
to make it work, which can turn your $20 printer into $170 printer
pretty quick. 

Do your homework and find somethign that speaks postscript.

-Bob



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Chris Kuethe

On 3/21/07, Dan Farrell [EMAIL PROTECTED] wrote:

Yep... but variety is good... Soekris gets good marks but they're not the only 
one that can run this--

http://www.axiomtek.com/products/ListProductType.asp?ptype1=5ptype2=1

If there are other tested products that work well, it would be nice to see them 
listed in this thread...


I've run (or am currently running) OpenBSD on these:

Jmatec JBX-564E5G-P
http://www.bwi.com/prod/9714

Nexcom EBS1563 series
http://www.nexcom.com/product/productshow.jsp?iid=9pid=385

--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: USB Printer Recommendation

2007-03-21 Thread Bob Beck
* Darrin Chandler [EMAIL PROTECTED] [2007-03-21 11:30]:
 On Wed, Mar 21, 2007 at 10:27:40AM -0600, Bob Beck wrote:
  LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
  just works.
  
  I've had nothing but pain and aggravation with bullshit inkjets.
 
 Was that new or used? And if you don't mind sharing where you bought it
 then please do. I'm finding them, but for a lot more money.

New, used, it doesn't matter

Most of them have bullshit printer suport that you have to
install crazy ghostscript filters to print to them, or cups nonsense.
Bleah.

Get something that groks postscript :)

-Bob



Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Joachim Schipper
On Wed, Mar 21, 2007 at 01:56:24AM -0700, Kevin wrote:
 I ran into this issue setting up zencart on OpenBSD.  My guess is you need
 to copy /etc/resolv.conf to /var/www/etc/resolv.conf.
 
 You can verify that by chroot'ing yourself manually into /var/www and
 trying to curl something.
 That's what I thought so, too at first, but I verified that ours is
 there. (Copying resolv.conf into the chroot is part of our standard
 server setup.) Here's what in that directory now:
 
 $ ls -l /var/www/etc/
 total 4
 -rw-r--r--  1 root  daemon  85 Nov 21 14:51 resolv.conf

You could try running a single Apache instance (httpd -x), and use
ktrace to find out what it's doing. ktrace is very good for those cases
where you can't figure out what's going wrong.

Joachim



Re: USB Printer Recommendation

2007-03-21 Thread Darrin Chandler
On Wed, Mar 21, 2007 at 11:35:53AM -0600, Bob Beck wrote:
 * Darrin Chandler [EMAIL PROTECTED] [2007-03-21 11:30]:
  On Wed, Mar 21, 2007 at 10:27:40AM -0600, Bob Beck wrote:
 LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
   just works.
   
 I've had nothing but pain and aggravation with bullshit inkjets.
  
  Was that new or used? And if you don't mind sharing where you bought it
  then please do. I'm finding them, but for a lot more money.
 
   New, used, it doesn't matter
 
   Most of them have bullshit printer suport that you have to
 install crazy ghostscript filters to print to them, or cups nonsense.
 Bleah.
 
   Get something that groks postscript :)

Ok, I should have trimmed more. I was asking about the LexMark C510,
which I have only found for way more than the $325 you mentioned
($500-600). If you know of a cheap source then please share!

-- 
Darrin Chandler   |  Phoenix BSD Users Group
[EMAIL PROTECTED]  |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |



Re: USB Printer Recommendation

2007-03-21 Thread Travers Buda
 On Wed, 21 Mar 2007, James Turner wrote:
 
 Although this seems like a great printer, my biggest limitation is price.  
 We
 have a university property disposition near me, which I'm going to go 
 check out
 later today.  My friend has gotten a couple sun sparc stations from them 
 for
 under $20 bucks.  I'm hoping they will have some cheap laser printers.  
 Thanks
 for your recommendation.

Printers are the bane of my existance.  However, I have had wonderful
experiences with the HP LJ 4m.  Ancient, power-hungr, loud.  Yet
it works beautifly with postscript via serial, parallel, or over
the network (you can just do cat blah.ps | nc printer some-port-i-forget.
Nmap it to find out.) The guys down at the surplus probably consider
it worthless junk, so that should help with your price.

-- 
Travers Buda



Re: ODBC on OpenBSD *solved*

2007-03-21 Thread Lawrence Teo

Joaquin Herrero wrote:

The problem I had when tried to compile php4 (or php5) from ports is this:

mach:/usr/ports/www/php4# /usr/bin/make
=== www/php4/core
===  Checking files for php4-core-4.4.0p0

php-4.4.0.tar.gz doesn't seem to exist on this system.
Attempting to fetch /usr/ports/distfiles/php-4.4.0.tar.gz from

http://us2.php.net/distributions/
.
100% |**|  6133
00:00

Size does not match for /usr/ports/distfiles/php-4.4.0.tar.gz

/bin/sh: test: 3: unexpected operator/operand
*** Error code 2

Same happens with php5.

Anyone knows what is the problem here? I tried from a 4.0 machine and I got
the same problem.


The problem is that the PHP team either changed the URL of the
PHP 4.4.0 tarball, or the PHP 4.4.0 tarball is no longer available.
If you try using a web browser to access
http://us2.php.net/distributions/php-4.4.0.tar.gz directly (which
is essentially what the ports mechanism is trying to do), you'll see
an error page.

To get around it, try the following steps:

1. cd /usr/ports/distfiles
2. ftp ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/php-4.4.0.tar.gz
3. cd /usr/ports/www/php4
4. make

You might have to repeat the above steps for other PHP tarballs.

Re step #2, I would not recommend using that step very often.. it's
much more preferable to grab the tarballs from their original locations
(or mirrors).. the OpenBSD distfiles FTP location is meant as a last
resort.

I would also highly recommend using OpenBSD 4.0 and/or a more up-to-date
version of PHP. There has been numerous security fixes since PHP 4.4.0
(see http://www.php.net/ChangeLog-4.php).

Hope it helps,
Lawrence

--
Lawrence Teo
Calyptix Security
http://www.calyptix.com/



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
Alright, well the disposition didn't have any cheap laser printers but I did
find a HP DeskJet 810C for $15.  I know you guys said stay away from inkjet
printers, but the price was right and the hpijs driver says it supports it.
It's connected via usb.  I installed hpijs along with all it's dependencies.  I
then edited /etc/printcap with:
lp|DeskJet:\
  :lp=/dev/ulpt0:\
  :af=/usr/local/share/ppd/HP/HP-DeskJEt_810C-hpijs.ppd.gz:\
  :if=/usr/local/bin/foomatic-rip:\
  :sd=/var/spool/output:\
  :sh

After starting lpd, I then tried to print with lpr, lpr /etc/printcap.  The
printer starts up and begins to print, but then the paper light comes on and
after pressing it, a blank sheet comes out.  Anybody have any thoughts?  Is my
printcap wrong?  Thanks.

On Wed, Mar 21, 2007 at 11:15:33AM -0600, Bob Beck wrote:
  
  Although this seems like a great printer, my biggest limitation is price.  
  We
  have a university property disposition near me, which I'm going to go check 
  out
  later today.  My friend has gotten a couple sun sparc stations from them for
  under $20 bucks.  I'm hoping they will have some cheap laser printers.  
  Thanks
  for your recommendation.
  
 
   If you're going to a surplus auction from a university, any of the
 older school hp lasrjet printers (4m+ 5m, etc. etc.) that do postscript
 would be a good pick. heavy as all hell, and not good on power
 (so you need to turn them off when you're not using it if you're
 paying the power bill) but you can still get cartridge refills easy
 for them.  You may need to be a bit clever and take some oil of wintergreen
 to the rubber pickup rollers if they're old and slick. 
 
   A postscript ethernet capable laserjet would work well. 
 your biggest risk there is you get one with a crappy cartridge or 
 drum, meaning you'd need to shell out another hundred bucks or so
 to make it work, which can turn your $20 printer into $170 printer
 pretty quick. 
 
   Do your homework and find somethign that speaks postscript.
 
   -Bob



Re: An introduction of sorts

2007-03-21 Thread jjhartley
From: Dan Farrell [EMAIL PROTECTED]

 Being prepared to be in the community is the best way to make the
 entrance smoother...
 
 -Read the faq.
 -Read undeadly.org
 -Rtfm and Google prior to posting questions... show that you've done
 your homework.
 -Have thick skin
 
 I'm a new kid on the block and would like to be introduced to the 
 community in a formal sense; which is why I'm writing this letter 
 in hopes of become embedded in the community as opposed to another 
 face in the crowd.

It sounds like participating on BSDForums would be better suited for you.
It is a series of forums focusing on FreeBSD/OpenBSD/NetBSD  targets 
newbies, students,  professionals.  

http://www.bsdforums.org/forums



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
Alright, I was able to get the printer to print using the apsfilter.  Works
awesome!  Now to buy some ink and remove all traces of windows from my hard
drive.  Thanks again everyone!

On Wed, Mar 21, 2007 at 03:46:19PM -0400, James Turner wrote:
 Alright, well the disposition didn't have any cheap laser printers but I did
 find a HP DeskJet 810C for $15.  I know you guys said stay away from inkjet
 printers, but the price was right and the hpijs driver says it supports it.
 It's connected via usb.  I installed hpijs along with all it's dependencies.  
 I
 then edited /etc/printcap with:
 lp|DeskJet:\
   :lp=/dev/ulpt0:\
   :af=/usr/local/share/ppd/HP/HP-DeskJEt_810C-hpijs.ppd.gz:\
   :if=/usr/local/bin/foomatic-rip:\
   :sd=/var/spool/output:\
   :sh
 
 After starting lpd, I then tried to print with lpr, lpr /etc/printcap.  The
 printer starts up and begins to print, but then the paper light comes on and
 after pressing it, a blank sheet comes out.  Anybody have any thoughts?  Is my
 printcap wrong?  Thanks.
 
 On Wed, Mar 21, 2007 at 11:15:33AM -0600, Bob Beck wrote:
   
   Although this seems like a great printer, my biggest limitation is price. 
We
   have a university property disposition near me, which I'm going to go 
   check out
   later today.  My friend has gotten a couple sun sparc stations from them 
   for
   under $20 bucks.  I'm hoping they will have some cheap laser printers.  
   Thanks
   for your recommendation.
   
  
  If you're going to a surplus auction from a university, any of the
  older school hp lasrjet printers (4m+ 5m, etc. etc.) that do postscript
  would be a good pick. heavy as all hell, and not good on power
  (so you need to turn them off when you're not using it if you're
  paying the power bill) but you can still get cartridge refills easy
  for them.  You may need to be a bit clever and take some oil of wintergreen
  to the rubber pickup rollers if they're old and slick. 
  
  A postscript ethernet capable laserjet would work well. 
  your biggest risk there is you get one with a crappy cartridge or 
  drum, meaning you'd need to shell out another hundred bucks or so
  to make it work, which can turn your $20 printer into $170 printer
  pretty quick. 
  
  Do your homework and find somethign that speaks postscript.
  
  -Bob



Re: An introduction of sorts

2007-03-21 Thread Jacob Yocom-Piatt

[EMAIL PROTECTED] wrote:
I'm a new kid on the block and would like to be introduced to the 
community in a formal sense; which is why I'm writing this letter 
in hopes of become embedded in the community as opposed to another 
face in the crowd.
  


It sounds like participating on BSDForums would be better suited for you.
It is a series of forums focusing on FreeBSD/OpenBSD/NetBSD  targets 
newbies, students,  professionals.  


http://www.bsdforums.org/forums

  


it's a nice place if you want to play gloves on and is moderated.

the first rule of misc@openbsd.org is you don't talk about 
[EMAIL PROTECTED]




pcmcia / system hangs up / -current

2007-03-21 Thread Peter, Oliver
Humppa,

I would like to install -current on my Acer Travelmate 290 to use it
with my D-Link DWL-650 or Netgear MA521 WLAN PCMCIA Card.
The boot process (cd41.iso and selfmade floppyC41.fs ISO) always stops
at the following point:

cbb0 at pci2 dev 3 function 0 ENE CB-1410 CardBus rev 0x01: irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0

This happen with both cards -
If I dettach them everything wents fine. (dmesg below)

I asked google to help me but all I found were some old threads
without a reply...
http://archives.neohapsis.com/archives/openbsd/2004-07/0544.html
http://archive.openbsd.nu/?ml=openbsd-bugsa=2005-02t=671672
http://www.monkey.org/openbsd/archive/misc/0406/msg01670.html

Don't hesitate to contact me if you need more information.


OpenBSD 4.1 (RAMDISK_CD) #248: Sat Mar 10 19:32:46 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) M processor 1400MHz (GenuineIntel
686-class) 1.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST
,TM2
real mem  = 536375296 (523804K)
avail mem = 483274752 (471948K)
using 4278 buffers containing 26943488 bytes (26312K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 05/21/01, BIOS32 rev. 0 @
0xe9790, SMBIOS rev. 2.3 @ 0xeb160 (33 ent
ries)
bios0: Acer TravelMate 290
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xe7000/0x681
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfe890/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC rev
0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0x1 0xe/0x1800 0xe6000/0x1000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x21
ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x21
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 NP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci2 at ppb1 bus 2
VIA VT6306 FireWire rev 0x80 at pci2 dev 0 function 0 not configured
rl0 at pci2 dev 1 function 0 Realtek 8139 rev 0x10: irq 11, address
00:02:3f:14:d5:e9
rlphy0 at rl0 phy 0: RTL internal PHY
cbb0 at pci2 dev 3 function 0 ENE CB-1410 CardBus rev 0x01: irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA,
channel 0 configured to compatibilit
y, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC25N060ATMR04-0
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-RW GWA-4040N, 1.02 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Intel 82801DB SMBus rev 0x03 at pci0 dev 31 function 3 not
configured
Intel 82801DB AC97 rev 0x03 at pci0 dev 31 function 5 not configured
Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not
configured
isa0 at ichpcib0
isadma0 at isa0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fffd netmask fffd ttymask 
rd0: fixed, 3800 blocks
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02


-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.



Re: Compiling your own system as a way of upgrading it is not supported

2007-03-21 Thread Maurice Janssen
On Sunday, March 18, 2007 at 01:55:42 -0700, Darren Spruell wrote:
If your requirement is to maintain multiple systems concurrently, you
may be better served (and probably should consider) keeping everything
even and exact by using release(8) to build binary updates and apply
them everywhere. This process becomes much simpler, and you achieve
consistency across all your boxes.

Well, I gave it a try and it worked perfectly.  Again, I'm impressed by
the quality of the software and documentation of OpenBSD.

Is it OK to untar the .tgz files on a running system (after rebooting
with the new kernel of course) or is it recommended to boot in single
user mode?

Maurice



Re: USB Printer Recommendation

2007-03-21 Thread Steve Shockley

James Turner wrote:

Although this seems like a great printer, my biggest limitation is price.  We
have a university property disposition near me, which I'm going to go check out
later today.  My friend has gotten a couple sun sparc stations from them for
under $20 bucks.  I'm hoping they will have some cheap laser printers.  Thanks
for your recommendation.


A used small-office laser is probably a better bet, but if you want 
cheap there's always the Dell 1110 
(http://openprinting.org/show_printer.cgi?recnum=Dell-1100_Laser_Printer) 
and from what I see it looks like it should work with some configuration.


Of course, Bob's right, getting a Postscript printer (or even PCL) is 
the way to go.  I got a Dell 3100CN for ~$US260 shipped a while back, so 
keep your eyes peeled.  It'll be a long time before I need another printer.




Re: Compiling your own system as a way of upgrading it is not supported

2007-03-21 Thread Stuart Henderson
On 2007/03/22 00:07, Maurice Janssen wrote:
 Is it OK to untar the .tgz files on a running system (after rebooting
 with the new kernel of course) or is it recommended to boot in single
 user mode?

See 'upgrading without install media' in the closest Upgrade Guide
(http://www.openbsd.org/faq/upgrade40.html, etc).

Especially note the flags to tar.



Re: compile faster?

2007-03-21 Thread Jeff Quast

On 3/21/07, chuckr [EMAIL PROTECTED] wrote:

I am going into doing a bit of compiling on my Zaurus.  I have both a
Linux and a FreeBSD server, both pretty fast Intel boxes, sitting right
besides them, and in fact, all of my source directories (sources for
/usr/src and /usr/ports) are remotely mounted from my FreeBSD box (sept
is my Zaurus, april my FreeBSD, and june my Linux box).

What am I getting on about?  Well, compilation, as I now do it, ssh'd
into sept from april (the FreeBSD box).  Is there anything that anyone
else is doing, that they're actually gotten to work?

I'm wondering about doing maybe a cross-compiler.  I'm not sure about
the spec of the floating point work, you need to get that precisely
right.  If anyone is doing this successfukky, I sure would like to hear
a report about it.  It takes me about 2 days to do a /usr/src build.


Shouldn't take two days. NFS mount your /usr/src and /usr/obj and it
will go much faster.

The CF card is something like 5MB/s on mine.

Don't cross compile, you'll spend more time finding bugs that were
snuck in than you will have saved. Buy a more powerful arm computer,
like a Thecus :)



make build crashing

2007-03-21 Thread Bray Mailloux
I am updating my 4.0 system to the latest ~stable build and each time my 
make build is crashing. What information should I post in order to 
insure maximum clarity with the problem?




supply unacceptable

2007-03-21 Thread Campos F. Marian
differently
Q Will the President have anything to say in his remarks, or could you
speak to the automakers' recent woes, their financial losses and the jobs
that they're having to shed and the restructuring?
If the gang crime is a serious violent felony, the criminal can receive
up to 30 years in prison. It is not combat search and rescue, but it is a
hostile place that they operate those airplanes. In response to her
questioning, Secretary Wynne indicated that the Air Force would indeed
take a broader approach to the evaluation of the proposals.
I do believe that there were some mistakes made and we will provide
additional oversight for that.
) today announced that she would support a multi-year proposal to restore
funding for the Secure Rural Schools and Community Self Determination
Act, commonly known as the county payments law.
call this morning to the Attorney General to reaffirm his support for the
Attorney General. And the Department of Justice has been very
forthcoming.
The United States Attorney Independence Act of 2007 (S.
If Americans don't know what I'm talking about, these are vehicles that
you run on gasoline or electricity. And the best way to become less
reliant on foreign sources of oil is to manufacture automobiles that will
use either less gasoline, or different kinds of fuels.
We have been doing field expeditions to Mars-like environments for
years, said McKay.
 Now there's an opportunity for people to take a look at 3,000 pages of
emails.
And for other violent gang crimes, the maximum penalty is 20 years in
prison. By now we are all aware of the tragedy unfolding in the Darfur
region of Sudan, Subcommittee Chairman Russ Feingold said in prepared
opening remarks.
 Karl Rove Involved In Scandal; President Bush Also Possibly Involved.
Secondly, as you may or may not know, the Vice President has gone to
George Washington Hospital this morning.
They have provided airspace, they've provided space at their ports,
they've provided assets to the United States of America. Bush delivers
remarks Tuesday, March 20, 2007, on energy initiatives during a tour of
the Ford Motor Company - Kansas City Assembly Plant in Claycomo,
Missouri.
This bill would allow prosecutors to make that request of a judge but
would also allow a criminal defendant the right to argue why he or she
should not be held. It's the beginning of a new market. I do not see that
we were unfair. Increasing Access to Services Following Diagnosis.
(See related article. White House photo by Eric DraperAnd so what do we
do about it? The Department of Justice is at all hands on deck for the
last five or six days, going through to look as carefully as they can to
produce all the emails that are responsive to the requests.
Some people don't know what we're talking about.
And the Vice President's office will have a readout when he returns.

[demime 1.01d removed an attachment of type image/gif which had a name of 
correct.gif]



Re: make build crashing

2007-03-21 Thread Greg Thomas

On 3/21/07, Open Phugu [EMAIL PROTECTED] wrote:

On 3/21/07, Bray Mailloux [EMAIL PROTECTED] wrote:
 I am updating my 4.0 system to the latest ~stable build and each time my
 make build is crashing. What information should I post in order to
 insure maximum clarity with the problem?


Post the exact command, the output of the ``make build'', the output
of ``uname -a''.


And at least summarize the steps you took before the above info.

I'll take a WAG and say you have bad RAM.

Greg



Re: cvs or cvsup

2007-03-21 Thread Clint M. Sand
On Wed, Mar 21, 2007 at 10:59:22AM +0100, Stefan Sperling wrote:
 On Wed, Mar 21, 2007 at 01:39:51AM -0700, Kernel Monkey wrote:
  I've been using the cvsup client to update my sources. What is the
  difference between cvs and cvsup when updating sources?
  
  Is one better than the other?
 
 There is no easy answer.
 It depends on what you want.
 
 + cvsup is much faster. It's optimized for getting as much
   out of your bandwidth as it can.
   See http://www.cvsup.org/howsofast.html
 + cvsup can copy the whole OpenBSD CVS repository, not just
   check out working copies. You can even add local branches to
   the repo and commit on them! See the development(7) man page
   from FreeBSD for a nice guide written by Matthew Dillon himself
   on how to do this.
 - cvsup does not provide encryption
 - cvsup only works on i386
 + cvsup is written in modula3 (yes, this is a +, but just
   because I am familiar with the cm3 compiler from work,
   ie. the existence of modula3 and killer apps that use it
   have been paying some of my rent. Keep them coming! :-P)
 
 - cvs is slower
 + cvs can do diffs and view logs, and using the nifty cvsdo utility
   from the cvsutils port you can even diff new files you've added
 + cvs provides encryption over ssh
 - but many anoncvs mirrors probably sync using sup/cvsup, so the
   encrypted distribution channel provided by anoncvs does not go all
   the way up to the master server anyway... :-( This may or may not
   cancel out the benefit of encryption for you.
 + cvs works on all arches

Great points but one to add:

*cvs is part of base, cvsup is yet another port/package I have to install
and maintain. 
 
 -- 
 stefan
 http://stsp.in-berlin.de PGP Key: 0xF59D25F0



Re: make build crashing

2007-03-21 Thread Olivier Meyer

On 3/21/07, Greg Thomas [EMAIL PROTECTED] wrote:

On 3/21/07, Open Phugu [EMAIL PROTECTED] wrote:
 On 3/21/07, Bray Mailloux [EMAIL PROTECTED] wrote:
  I am updating my 4.0 system to the latest ~stable build and each time my
  make build is crashing. What information should I post in order to
  insure maximum clarity with the problem?
 
 
 Post the exact command, the output of the ``make build'', the output
 of ``uname -a''.

And at least summarize the steps you took before the above info.

I'll take a WAG and say you have bad RAM.

If you get something of the sort:
``gcc: Internal compiler error: program cc1 got fatal signal 11'',
you either have discovered an Internal Compiler error in gcc,
or you have bad RAM.
see http://www.bitwizard.nl/sig11/ for the bad-ram scenario



Is OpenBSD good/best for my 486?

2007-03-21 Thread Douglas Allan Tutty
Hello,

I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.

Box has two uses:  

under normal cirumstance, as a thin client to my
athlon box elsewhere in the house.

As a toolbox incase anything goes wrong with my new athlon, I
still can dial out to the net for help and downloads.

Debian Etch will need more than 32 MB ram so am starting the planning.

I've compared Open-, Net-, and Free-BSD (via google search and reading
the three web-sites) and like the security-by-default nature of Open-
and its reputation for solid documentation.  I'm used to the command
line (hate GUI) and vi.

Is there any reason that OpenBSD wouldn't be my best choice for this
box?

Thanks,

Doug.



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread Nick !

On 3/21/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote:

Hello,

I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.

Is there any reason that OpenBSD wouldn't be my best choice for this
box?


I've heard rumours on the internets that sometimes it creeps out from
under beds and eats children. I don't know if you can trust it...

-Nick



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread Travers Buda
* Douglas Allan Tutty [EMAIL PROTECTED] [2007-03-21 22:37:01]:

 Hello,
 
 I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
 and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.
 
*snip*
 
 Is there any reason that OpenBSD wouldn't be my best choice for this
 box?

I've run OpenBSD on a 486DX2 with 20 megs of ram.  When you're
talking about the 486es, you're going to want a FPU with openbsd.
It does not look like there is any emulation (however, I remember
seeing something in the GENERIC config a year or so back...) or
else it won't work.  The system was fine, and quite responsive for
just ssh, tip, etc.  OpenBSD is a fine choice, the biggest bottleneck
you're probably going to see is virtual memory-related stuff like
the encrypted swap, which you can turn off via the vm.swapencrypt.enable
sysctl.  You're probably not going to be swapping too darn much
unless you decide to use X, then it's going to be a bit over the
line, however, this does not mean it's not going to work. =)

-- 
Travers Buda



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread Nick Holland
Douglas Allan Tutty wrote:
 Hello,
 
 I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
 and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.
 
 Box has two uses:  
 
   under normal cirumstance, as a thin client to my
   athlon box elsewhere in the house.
 
   As a toolbox incase anything goes wrong with my new athlon, I
   still can dial out to the net for help and downloads.
 
 Debian Etch will need more than 32 MB ram so am starting the planning.
 
 I've compared Open-, Net-, and Free-BSD (via google search and reading
 the three web-sites) and like the security-by-default nature of Open-
 and its reputation for solid documentation.  I'm used to the command
 line (hate GUI) and vi.
 
 Is there any reason that OpenBSD wouldn't be my best choice for this
 box?
 
 Thanks,
 
 Doug.

Don't know about best, but it should work as well as anything, and
probably better than most.

Install will take a while, ssh logins will be painful (ssh1 and/or
reducing your key size will help a lot), Oh, and read up on SSH
connection sharing (-M).  It Rocks for slow machines!

Make sure you get your ISA NIC set right, and you should be in fine
shape...

Both of those HDs are old and may not be long for the world, so pick
one, and install on it, leave the other one alone, or as a backup, not
as part of a production system.  That will somewhat reduce the
likelihood of a disk failure taking you down.

Since you don't have the disk space, if you don't have a faster machine
to build on, you might want to stick to running -current, so if a
security problem shows up, just install the latest snapshot, you will
be done before the -stable users get done asking if they really have to
build everything, or if they can build just the parts that are
impacted.  Yes, there's a lot more adventure involved in that, but
that's an unpleasantly small amount of machine to build on...

Hm.  time to test build on a 486 again...haven't done that in a while.
Took about a week, if I recall properly (I cheat, I got 64M and a 20G
disk in mine!)

Nick.



Re: adding routing obsd 3.9 running ospfd

2007-03-21 Thread Lars Hansson

[EMAIL PROTECTED] wrote:

Hai All,

I have two OpenBSD 3.9 box, both running OSPFD default on OBSD 3.9.
I add static route on OBSD1 and found that the whole ospf rib disappear.
Any clue?


I had a somewhat similar problem with 3.9-RELEASE but for me it only 
happened with /32 routes. There was a patch for stable so you should try 
3.9-stable or better yet, 4.0.


---
Lars Hansson



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread Darrin Chandler
On Wed, Mar 21, 2007 at 10:37:01PM -0400, Douglas Allan Tutty wrote:
 Hello,
 
 I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
 and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.
 
 Box has two uses:  
 
   under normal cirumstance, as a thin client to my
   athlon box elsewhere in the house.
 
   As a toolbox incase anything goes wrong with my new athlon, I
   still can dial out to the net for help and downloads.
 
 Debian Etch will need more than 32 MB ram so am starting the planning.
 
 I've compared Open-, Net-, and Free-BSD (via google search and reading
 the three web-sites) and like the security-by-default nature of Open-
 and its reputation for solid documentation.  I'm used to the command
 line (hate GUI) and vi.
 
 Is there any reason that OpenBSD wouldn't be my best choice for this
 box?

Best? Well, it's what I would use. I've personally run with as little as
48MB on i386 arch and it was fine at console or ssh.

Given the uses you want, you're probably going to say yes to sshd
during install. When you reboot after install it'll generate keys. Plan
to go have supper around then. ;) Any further rebooting won't have that
penalty.

-- 
Darrin Chandler   |  Phoenix BSD Users Group
[EMAIL PROTECTED]  |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread Travers Buda
* Darrin Chandler [EMAIL PROTECTED] [2007-03-21 20:31:57]:

 
 Given the uses you want, you're probably going to say yes to sshd
 during install. When you reboot after install it'll generate keys. Plan
 to go have supper around then. ;) Any further rebooting won't have that
 penalty.
 

Or, if you're really impatient and impractical, generate them on a
fast machine and copy them over...

-- 
Travers Buda



Re: Is OpenBSD good/best for my 486?

2007-03-21 Thread David Terrell
On Wed, Mar 21, 2007 at 10:37:01PM -0400, Douglas Allan Tutty wrote:
 Hello,
 
 I've got a 486DX4-100 with 32 MB ram, ISA bus, with two drives: 840 MB
 and 1280 MB IDE.  Currently running Debian GNU/Linux Sarge.

I've installed and run on 16M of RAM in the last 3 years.  If perchance
the install freezes, you can try getting to a shell (type ! at any of
the install prompts) and run swapctl -a to enable swap.

Obviously OpenBSD is the best choice, would you expect any less from
people on this list?

-- 
David Terrell
[EMAIL PROTECTED]
((meatspace)) http://meat.net/



Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Allen

On 3/21/07, Joachim Schipper [EMAIL PROTECTED] wrote:

On Wed, Mar 21, 2007 at 01:56:24AM -0700, Kevin wrote:
 I ran into this issue setting up zencart on OpenBSD.  My guess is you need
 to copy /etc/resolv.conf to /var/www/etc/resolv.conf.
 
 You can verify that by chroot'ing yourself manually into /var/www and
 trying to curl something.
 That's what I thought so, too at first, but I verified that ours is
 there. (Copying resolv.conf into the chroot is part of our standard
 server setup.) Here's what in that directory now:

 $ ls -l /var/www/etc/
 total 4
 -rw-r--r--  1 root  daemon  85 Nov 21 14:51 resolv.conf

You could try running a single Apache instance (httpd -x), and use
ktrace to find out what it's doing. ktrace is very good for those cases
where you can't figure out what's going wrong.


Ah...ha. Thanks much. This (and another related/similar) suggestion
were sent to me off-list; we're going to get to it tomorrow morning.

I'll report back the results to the archives -- assuming we're
actually smart enough to deduce what the ktrace tells us. ;-)

If not, I'll be back here for Round II.

Kevin



IPsec gone assymetric

2007-03-21 Thread RW
I have a simple setup.
Sydney to Melbourne and the ipsec.conf is one of the nice easy ones
whilst I learn to do more complex setups. It has been working for
months.

Today doing ipsecctl -s all at either end generates the expected
output. Each is a mirror of the other.

netstat -rnf encap shows expected output at both ends. Again mirrors of
the other.

However sshing into each and doing a traceroute to t'other end gives
madly assymetric results.

With the distant gateway as the target Syd gets to Mel in one hop, as
expected.
Mel gets to Syd going out the $ext_if rather than the encap. As the
LANs are RFC1918s Mel cannot get to Syd but Syd can get to Mel.

Killing (desperation set in) isakmpd and restarting both ends did
nothing to change the situation.

What kind of diagnostics can I use to debug this? Extra points for a
correct guess as to the cause all this time after installation.

Thanks,
Rod.

From the land down under: Australia.
Do we look umop apisdn from up over?



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
On Tue, Mar 20, 2007 at 11:19:39PM -0700, Greg Thomas wrote:
 On 3/20/07, James Turner [EMAIL PROTECTED] wrote:
 I'm looking to finally cut the last strand that keeps windows on my hard 
 drive.
 
 You didn't mention ink or laser but my Brother HL-5250DN works GREAT
 for the price.
 
 Greg


Ink is fine, I'm just looking for something to print my term papers.  I prefer 
a price tag under $50. 



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Mark Shroyer
On Tue, Mar 20, 2007 at 09:23:32PM -0700, vinceNET wrote:
 am I missing something? why not just use a firefox extension like  
 downthemall?

I use wget because, probably due to the unhealthy number of
extensions that I keep loaded into Firefox, browser crashes are
pretty common on my machine. Thanks to wget, Firefox going down
doesn't mean that I have to restart large downloads.

Also, wget is excellent at continuing interrupted downloads;
Firefox, not so much.

-- 
Mark Shroyer [EMAIL PROTECTED]
http://markshroyer.com/



Re: groff update?

2007-03-21 Thread Marc Espie
On Wed, Mar 21, 2007 at 08:11:17AM +0200, Gareth wrote:
 Is there any chance of a newer version of groff (1.18 or 1.19) being
 imported into the tree?  
Yes



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Lars D . Noodén
Others have recommended wget.  I strongly recommend it as well, there are
loads of ways to use it:
http://www.die.net/doc/linux/man/man1/wget.1.html

curl also is quite useful.  I also highly recommend ncftp.

-Lars

Lars NoodC)n ([EMAIL PROTECTED])
 Ensure access to your data now and in the future
 http://opendocumentfellowship.org/about_us/contribute



Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Matthew Closson

Kevin,

I ran into this issue setting up zencart on OpenBSD.  My guess is you need 
to copy /etc/resolv.conf to /var/www/etc/resolv.conf.


You can verify that by chroot'ing yourself manually into /var/www and 
trying to curl something.


Good luck!

-Matt-

On Tue, 20 Mar 2007, Kevin wrote:


Hello all,

We're having issues with php 5.1.6 and cURL within OpenBSD's (v4.0)
jail. Hopefully, someone knows how to solve this.

We're using PHP's built-in cURL function, curl_exec(), to connect to
remote servers (both HTTP and HTTPS). We then send an HTTP POST
request (or GET--it doesn't matter) expecting to get data back from
the other end. Unfortunately, the response is empty where we should
get the HTML output of the remote server.

Outside of the OBSD chroot it works fine; in the chroot there's no
output, yet it doesn't report an error--either to the browser or to
the apache logs. In the less-than-believable but completely true words
of the poor guy testing this part of our software, It just didn't
work. Nothing.

As for the kernel itself, we're running OpenBSD 4.0-stable.

Lastly, at the suggestion of one person, we tried (to no avail)
altering our php.ini to have: allow_url_fopen = On

Anyone got any ideas on this? (Clue sticks welcome.)

As always, thanks much, folks.
Kevin



--
http://www.ebiinc.com :
Background Screening for Employers from EBI
Professional background checks... anywhere.




Re: pf.conf propagation

2007-03-21 Thread Didier Wiroth
Hello,
You may want to have a look at
/usr/ports/sysutils/tentakel


--
Didier Wiroth  

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Alexander Lind
 Sent: 20 March 2007 23:29
 To: misc
 Subject: pf.conf propagation
 
 Hello misc.
 
 Can anyone recommend a pf propagation script, intended to be 
 used to spread changes from one carp:ed openbsd firewall to another?
 
 I found one bash script which seems to do a decent job here:
 http://archives.neohapsis.com/archives/openbsd/2006-11/1134.html
 
 But it requires bash and supports only two firewalls.
 
 Also does anyone know if there are any plans to make this 
 pf.conf propagation a feature in openbsd itself?
 
 Alec



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Thomas Leveille

look for gwget, kwget or kwebget which are wget frontends.

I don't think any of them is in the port tree though, feel free to contribute :)

On 3/21/07, Leonardo Rodrigues [EMAIL PROTECTED] wrote:

Ahh, sorry, I did write FILE manager instead of DOWNLOAD manager :D I
need more coffee...

Yeah, wget is great, I use it a lot, but I'm looking for something
more... graphical. Being able to have lots of downloads in a nice
queue list is a must for me... I mean, I don't want to have tons of
mp3's being downloaded each one with its own wget process. I usually
end up having tons of files on a queue list, some firefox extensions,
like flashgot, make things REALLY easy =)

I guess I'll give downloader 4 X a go... I just hope it will compile
nicely on OpenBSD =)
If all else fails, I'll try flashget/getright emulation with WINE...

--
An OpenBSD user... and that's all you need to know =)





--
--
Thomas Leveille



cvs or cvsup

2007-03-21 Thread Kernel Monkey

I've been using the cvsup client to update my sources. What is the
difference between cvs and cvsup when updating sources?

Is one better than the other?

Any advice or experiences given would be appreciated.

Thanks.
Matt Kingston



Welcome to YouTube

2007-03-21 Thread YouTube Service
++

Click here - 
http://www.youtube.com/confirm_email?cid=04DE0DD4749DDFBFnid=YFYLXJ1V7vidQKOBQ149LlPZhENhba8dIUd65SvXVoo=next=signup_invite
or copy it into your browser to confirm
your email address and start uploading and 
commenting on videos immediately!

++


Thanks for Signing Up!

You've taken the next step in becoming part of the YouTube community. Now that 
you're a member, you can rate videos, but to leave comments or upload your own 
videos to the site, you'll need to confirm your email using this link - 
http://www.youtube.com/confirm_email?cid=04DE0DD4749DDFBFnid=YFYLXJ1V7vidQKOBQ149LlPZhENhba8dIUd65SvXVoo=next=signup_invite.
 Please take a look at the Terms of Use and Copyright Tips before uploading so 
that you understand what's allowed on the site.

To get you started, here are some of the fun things you can do with YouTube:

* Upload and share your videos worldwide
* Browse millions of original videos uploaded by community members
* Find, join, and create video groups to connect with people who have 
similar interests
* Customize your experience with playlists and subscriptions
* Integrate YouTube with your website using video embeds or APIs

There's a lot more to explore, and more features are always in the works. 
Thanks for signing up, and we hope you enjoy the site!

 - The YouTube Team

++ Links ++
Terms of Use:http://www.youtube.com/t/terms
Copyright Tips:  http://www.youtube.com/t/howto_copyright
Browse Videos:   http://www.youtube.com/browse
Video Upload:http://www.youtube.com/my_videos_upload 
APIs:http://www.youtube.com/dev



Welcome to YouTube

2007-03-21 Thread YouTube Service
++

Click here - 
http://www.youtube.com/confirm_email?cid=F2439AF01735A03Dnid=YFYLXJ1V7vidQKOBQ149LsWsl5pzv7FLdElqbUxD6MU=next=signup_invite
or copy it into your browser to confirm
your email address and start uploading and 
commenting on videos immediately!

++


Thanks for Signing Up!

You've taken the next step in becoming part of the YouTube community. Now that 
you're a member, you can rate videos, but to leave comments or upload your own 
videos to the site, you'll need to confirm your email using this link - 
http://www.youtube.com/confirm_email?cid=F2439AF01735A03Dnid=YFYLXJ1V7vidQKOBQ149LsWsl5pzv7FLdElqbUxD6MU=next=signup_invite.
 Please take a look at the Terms of Use and Copyright Tips before uploading so 
that you understand what's allowed on the site.

To get you started, here are some of the fun things you can do with YouTube:

* Upload and share your videos worldwide
* Browse millions of original videos uploaded by community members
* Find, join, and create video groups to connect with people who have 
similar interests
* Customize your experience with playlists and subscriptions
* Integrate YouTube with your website using video embeds or APIs

There's a lot more to explore, and more features are always in the works. 
Thanks for signing up, and we hope you enjoy the site!

 - The YouTube Team

++ Links ++
Terms of Use:http://www.youtube.com/t/terms
Copyright Tips:  http://www.youtube.com/t/howto_copyright
Browse Videos:   http://www.youtube.com/browse
Video Upload:http://www.youtube.com/my_videos_upload 
APIs:http://www.youtube.com/dev



Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Kevin

I ran into this issue setting up zencart on OpenBSD.  My guess is you need
to copy /etc/resolv.conf to /var/www/etc/resolv.conf.

You can verify that by chroot'ing yourself manually into /var/www and
trying to curl something.

That's what I thought so, too at first, but I verified that ours is
there. (Copying resolv.conf into the chroot is part of our standard
server setup.) Here's what in that directory now:

$ ls -l /var/www/etc/
total 4
-rw-r--r--  1 root  daemon  85 Nov 21 14:51 resolv.conf


Thanks though. :-)



PHP4 bug in 'is_dir()', both 4.4.1/ports and 4.4.6

2007-03-21 Thread Toni Mueller
Hello,

I'm experiencing a grave problem with a hand-compiled version of PHP
4.4.6 on OpenBSD 4.0. The problem is very similar to

  http://bugs.php.net/35748

only the results are almost completely random for things that are
actually directories. I've tried with the version in ports first, but,
after seeing this problem, tried to fix the problem with a
hand-compiled 4.4.6, and failed.

If you have any ideas about where to look (PHP5 is not an option, and
that's not my fault, either), I'd be very grateful to hear from you.

Thank you!


Best,
--Toni++



Re: Upgrade direction from older to newer

2007-03-21 Thread Henning Brauer
* Nick [EMAIL PROTECTED] [2007-03-21 04:09]:
 Alexander Hall wrote:
  Henning Braue wrote:
  
   Is it possible to upgrade from 4.0-current to 4.1-stable?
  
  No... Thats what the above quote is trying to tell you.  A -current
  src tree is always the newest code; -stable is the original release
  with patches.
  
  yayaya, but his 4.1-stable once upon a time was 4.0-current, so all is 
  fluffy and he can upgrade (well, once 4.1-stable exists, i.e. roughly 
  may 1)
  
  If I'm not wrong, the stable branch (e.g 4.1-stable) is not simply 
  branched from 4.1-current at a specific date or time, but rather a 
  selection of well-working parts thereof. 
 
 Wrong

actually, he's not so wrong.
4.1(-release!) is branched of HEAD at some point in time.
there might be things going into 4.1-release after that point, and after 
HEAD sees activity again tho.
so the truth is somewhere in between :)

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Manuel Ravasio
--- Leonardo Rodrigues [EMAIL PROTECTED] wrote:

 Hello everyone =)
 
 So, the title says it all. Anyone know a nice download manager utility
 for OpenBSD? 

wget ?


 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php



Re: cvs or cvsup

2007-03-21 Thread Stefan Sperling
On Wed, Mar 21, 2007 at 01:39:51AM -0700, Kernel Monkey wrote:
 I've been using the cvsup client to update my sources. What is the
 difference between cvs and cvsup when updating sources?
 
 Is one better than the other?

There is no easy answer.
It depends on what you want.

+ cvsup is much faster. It's optimized for getting as much
  out of your bandwidth as it can.
  See http://www.cvsup.org/howsofast.html
+ cvsup can copy the whole OpenBSD CVS repository, not just
  check out working copies. You can even add local branches to
  the repo and commit on them! See the development(7) man page
  from FreeBSD for a nice guide written by Matthew Dillon himself
  on how to do this.
- cvsup does not provide encryption
- cvsup only works on i386
+ cvsup is written in modula3 (yes, this is a +, but just
  because I am familiar with the cm3 compiler from work,
  ie. the existence of modula3 and killer apps that use it
  have been paying some of my rent. Keep them coming! :-P)

- cvs is slower
+ cvs can do diffs and view logs, and using the nifty cvsdo utility
  from the cvsutils port you can even diff new files you've added
+ cvs provides encryption over ssh
- but many anoncvs mirrors probably sync using sup/cvsup, so the
  encrypted distribution channel provided by anoncvs does not go all
  the way up to the master server anyway... :-( This may or may not
  cancel out the benefit of encryption for you.
+ cvs works on all arches

-- 
stefan
http://stsp.in-berlin.de PGP Key: 0xF59D25F0



Re: cvs or cvsup

2007-03-21 Thread Wild Karl-Heinz
In message cvs or cvsup
   on 21.03.2007, Stefan Sperling [EMAIL PROTECTED] writes:

SS On Wed, Mar 21, 2007 at 01:39:51AM -0700, Kernel Monkey wrote:
 I've been using the cvsup client to update my sources. What is the
 difference between cvs and cvsup when updating sources?
 
 Is one better than the other?

SS There is no easy answer.
SS It depends on what you want.

I think a reference to csup in the openbsd base as a clone written in
c should be mentioned.

Therefor some dependencies to modula3 are obsolete.

regards.
Karl-Heinz



Re: cvs or cvsup

2007-03-21 Thread Toni Mueller
Hi,

On Wed, 21.03.2007 at 10:59:22 +0100, Stefan Sperling [EMAIL PROTECTED] wrote:
 + cvs can do diffs and view logs, and using the nifty cvsdo utility
   from the cvsutils port you can even diff new files you've added

I usually fetch the tree with cvsup these days, and then check out a
local copy of a specific version from that (eg. saying cvs -d /cvs
...).

That way, I have all the diff  other stuff available, a quick
turnaround, less overall bandwidth usage, and no problems with
potential network failures. The downside is that I use much more disk
space and also a bit more I/O because I need to replicate the tree.


Best,
--Toni++



YouTube Email Confirmation

2007-03-21 Thread YouTube Service
Hi amnotaloser999,

Please click on the following link to confirm your email: 
http://www.youtube.com/confirm_email?cid=04DE0DD4749DDFBFnid=YFYLXJ1V7vidQKOBQ149LlPZhENhba8dIUd65SvXVoo=.
 
Once you confirm that this is your email address, you'll be able to upload 
videos to YouTube.

See you back on YouTube!
- The YouTube Team



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Marco Peereboom
Anyone saying this has not used openbsd's ftp.

On Wed, Mar 21, 2007 at 09:11:38AM +0100, Thomas Leveille wrote:
 look for gwget, kwget or kwebget which are wget frontends.
 
 I don't think any of them is in the port tree though, feel free to 
 contribute :)
 
 On 3/21/07, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
 Ahh, sorry, I did write FILE manager instead of DOWNLOAD manager :D I
 need more coffee...
 
 Yeah, wget is great, I use it a lot, but I'm looking for something
 more... graphical. Being able to have lots of downloads in a nice
 queue list is a must for me... I mean, I don't want to have tons of
 mp3's being downloaded each one with its own wget process. I usually
 end up having tons of files on a queue list, some firefox extensions,
 like flashgot, make things REALLY easy =)
 
 I guess I'll give downloader 4 X a go... I just hope it will compile
 nicely on OpenBSD =)
 If all else fails, I'll try flashget/getright emulation with WINE...
 
 --
 An OpenBSD user... and that's all you need to know =)
 
 
 
 
 -- 
 --
 Thomas Leveille



adding routing obsd 3.9 running ospfd

2007-03-21 Thread [EMAIL PROTECTED]

Hai All,

I have two OpenBSD 3.9 box, both running OSPFD default on OBSD 3.9.
I add static route on OBSD1 and found that the whole ospf rib disappear.
Any clue?

OBSD1

ospfd.conf
# $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $

# macros
password=secret

router-id 192.168.1.100

redistribute connected
redistribute static

# areas
area 0.0.0.0 {
interface ste0 {
auth-type simple
auth-key $password
}


}

OBSD2
ospfd.conf
# $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $

# macros
password=secret

router-id 192.168.3.111

redistribute connected
redistribute default

# areas
area 0.0.0.0 {
interface fxp0 {
auth-type simple
auth-key $password
}


}

OBSD1
# ospfctl show n
ID  Pri StateDeadTime Address Iface Uptime
192.168.3.111   1   FULL/DR  00:00:39 192.168.7.1 ste0  00:02:31

# ospfctl show f
flags: * = valid, O = OSPF, C = Connected, S = Static
Flags  Destination  Nexthop
*O 0.0.0.0/0192.168.7.1
*O 10.10.10.0/24192.168.7.1
*S 127.0.0.0/8  127.0.0.1
*C 127.0.0.1/8  link#0
*  127.0.0.1/32 127.0.0.1
*C 192.168.1.0/24   link#1
*O 192.168.3.0/24   192.168.7.1
*C 192.168.7.0/30   link#2
 C 192.168.7.4/30   link#3
*S 224.0.0.0/4  127.0.0.1

# ospfctl show r
Destination  Nexthop   Path TypeType  CostUptime
192.168.3.111192.168.7.1   Intra-Area   Router10  00:03:14
192.168.7.0/30   192.168.7.2   Intra-Area   Network   10  00:03:14
0.0.0.0/0192.168.7.1   Type 1 ext   Network   110 00:03:14
10.10.10.0/24192.168.7.1   Type 1 ext   Network   110 00:03:14
192.168.3.0/24   192.168.7.1   Type 1 ext   Network   110 00:03:14

# ospfctl show d

Router Link States (Area 0.0.0.0)

Link ID Adv Router  Age  Seq#   Checksum
192.168.1.100   192.168.1.100   203  0x8010 0xbdf9
192.168.3.111   192.168.3.111   204  0x800f 0xdcc2

Net Link States (Area 0.0.0.0)

Link ID Adv Router  Age  Seq#   Checksum
192.168.7.1 192.168.3.111   538  0x8001 0x97cd

Type-5 AS External Link States

Link ID Adv Router  Age  Seq#   Checksum
0.0.0.0 192.168.3.111   578  0x8001 0x8d85
10.10.10.0  192.168.3.111   414  0x8001 0x24d0
192.168.1.0 192.168.1.100   208  0x8001 0x2194
192.168.3.0 192.168.3.111   578  0x8001 0xbaeb

OBSD2
# ospfctl show n
ID  Pri StateDeadTime Address Iface Uptime
192.168.1.100   1   FULL/BCKUP   00:00:30 192.168.7.2 fxp0  00:05:30

# ospfctl show f
flags: * = valid, O = OSPF, C = Connected, S = Static
Flags  Destination  Nexthop
*S 0.0.0.0/0192.168.3.1
*C 10.10.10.0/24link#3
*S 127.0.0.0/8  127.0.0.1
*C 127.0.0.1/8  link#0
*  127.0.0.1/32 127.0.0.1
*O 192.168.1.0/24   192.168.7.2
*C 192.168.3.0/24   link#2
*C 192.168.7.0/30   link#1
*S 224.0.0.0/4  127.0.0.1

# ospfctl show r
Destination  Nexthop   Path TypeType  CostUptime
192.168.1.100192.168.7.2   Intra-Area   Router10  00:05:55
192.168.7.0/30   192.168.7.1   Intra-Area   Network   10  00:08:53
192.168.1.0/24   192.168.7.2   Type 1 ext   Network   110 00:05:55

# ospfctl show d

Router Link States (Area 0.0.0.0)

Link ID Adv Router  Age  Seq#   Checksum
192.168.1.100   192.168.1.100   682  0x8010 0xbdf9
192.168.3.111   192.168.3.111   681  0x800f 0xdcc2

Net Link States (Area 0.0.0.0)

Link ID Adv Router  Age  Seq#   Checksum
192.168.7.1 192.168.3.111   1015 0x8001 0x97cd

Type-5 AS External Link States

Link ID Adv Router  Age  Seq#   Checksum
0.0.0.0 192.168.3.111   1055 0x8001 0x8d85
10.10.10.0  192.168.3.111   891  0x8001 0x24d0
192.168.1.0 192.168.1.100   1060 0x8001 0x2194
192.168.3.0 192.168.3.111   1055 0x8001 0xbaeb

Adding static route on OBSD1
route add 172.16.10.0/24 192.168.1.99

# route add 172.16.10.0/24 192.168.1.99
add net 172.16.10.0/24: gateway 192.168.1.99
# ospfctl show r
Destination  Nexthop   Path TypeType  CostUptime

Thanks and looking forward to hear from you.
Riwan



Can OpenBSD do what BusyBox does?

2007-03-21 Thread Sunnz

Their project page: http://www.busybox.net

The interesting thing is that today I found out that my wireless
router is actually running BusyBox, an OS based on the Linux kernel,
and its firewall was actually the usual iptable found on many Linux
desktops/servers.

I doubt if OpenBSD can be replace it on the router... but if you has
done so it be cool to know how you made it work.

--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



Re: cvs or cvsup

2007-03-21 Thread Antoine Jacoutot

On Wed, 21 Mar 2007, Wild Karl-Heinz wrote:

I think a reference to csup in the openbsd base as a clone written in
c should be mentioned.

Therefor some dependencies to modula3 are obsolete.


You must be talking about FreeBSD, not OpenBSD.

--
Antoine



Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Paul Irofti
On Wed, Mar 21, 2007 at 05:50:56AM -0500, Marco Peereboom wrote:
 Anyone saying this has not used openbsd's ftp.
 
I've seen many people mentioning ftp as a good download manager. I'm a
bit confused on this issue:
  - a download manager is supposed to be generic no matter what protocol
is used (of course amongst the popular ones: ftp, http, smb etc.)
  - also, a download manager should interactively handle multiple 
  connections and downloads
  - the fact that ftp can handle http makes me ponder what happened to 
  the KISS principle?



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Reyk Floeter
On Wed, Mar 21, 2007 at 11:04:32PM +1100, Sunnz wrote:
 Their project page: http://www.busybox.net
 
 The interesting thing is that today I found out that my wireless
 router is actually running BusyBox, an OS based on the Linux kernel,
 and its firewall was actually the usual iptable found on many Linux
 desktops/servers.
 
 I doubt if OpenBSD can be replace it on the router... but if you has
 done so it be cool to know how you made it work.
 

what a surprise, you can find busybox everywhere. it probably is the
GPL violation #1 (see http://www.gpl-violations.org/).

busybox is a big pile of poo and openbsd does not do what busybox
does. but you can probably compare the busybox concept with our
crunched install images (see crunchgen(1)), many programs are linked
into one single binary to get a very small system.

you should not do this, get an embedded system with a CompactFlash
slot and use a 256MB+ disk to install the normal OpenBSD base system.

reyk



Re: adding routing obsd 3.9 running ospfd

2007-03-21 Thread Stuart Henderson
On 2007/03/21 19:02, [EMAIL PROTECTED] wrote:
 I have two OpenBSD 3.9 box, both running OSPFD default on OBSD 3.9.
 I add static route on OBSD1 and found that the whole ospf rib disappear.
 Any clue?

try 4.0 first.



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Will Maier
On Wed, Mar 21, 2007 at 11:04:32PM +1100, Sunnz wrote:
 I doubt if OpenBSD can be replace it on the router... but if you
 has done so it be cool to know how you made it work.

It would help if you mentioned what hardware you're running on...

OpenBSD is an operating system; Busybox is a single executable that
rolls many common *nix utilities into one. They're totally
different things. Busybox doesn't have a kernel or a packet filter
(or a web server, or a...), so I don't know what the point of
comparing them is.

If you want to run OpenBSD on your router, you'd need to tell us
what hardware you're using, though I haven't heard of anyone
installing OpenBSD on something like the Linksys WRT54G. If you want
to run an OpenBSD router, grab a Soekris or an old i386 and install
OpenBSD on it. Many, many people do this; it works well.

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Nick !

On 3/21/07, Sunnz [EMAIL PROTECTED] wrote:

Their project page: http://www.busybox.net

The interesting thing is that today I found out that my wireless
router is actually running BusyBox, an OS based on the Linux kernel,
and its firewall was actually the usual iptable found on many Linux
desktops/servers.

I doubt if OpenBSD can be replace it on the router... but if you has
done so it be cool to know how you made it work.


OpenBSD is used for embedded systems all the time. The most common
platform is called the Soekris. You can get them from Wim:
http://www.kd85.com/

Many consumer routers these days run linux, but they have special
proprietary firmware-handling. Some have been figured out (e.g. that
Netgear WGRT-something) and people regularly hack on them. What do you
know about your router? If it has a firmware upgrade page you might be
able to create an OpenBSD image and load it. On the other hand, it
might not work like that at all and doing so could equally (actually,
more) likely brick the box.

-Nick



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Liam J. Foy

On 21 Mar 2007, at 12:40, Nick ! wrote:


On 3/21/07, Sunnz [EMAIL PROTECTED] wrote:

Their project page: http://www.busybox.net

The interesting thing is that today I found out that my wireless
router is actually running BusyBox, an OS based on the Linux kernel,
and its firewall was actually the usual iptable found on many Linux
desktops/servers.

I doubt if OpenBSD can be replace it on the router... but if you has
done so it be cool to know how you made it work.


OpenBSD is used for embedded systems all the time. The most common
platform is called the Soekris. You can get them from Wim:
http://www.kd85.com/



I admit I haven't look at Soekris for a while but last time I looked  
it was
more 'buy all the pieces separately'. Do they offer a complete  
package? So

I can just purchase everything I need to build myself a good router?

I can't view kd85.com right now - our student accommodation network is
terrible.

---
Liam J. Foy
[EMAIL PROTECTED]



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Dan Farrell
I think that's the question... is OBSD compiled for the various common
linksys/netgear/etc. hardware architectures?


I believe the answer is no.

If I'm misunderstanding this completely please correct...


But it would be great if it did... wish I had the skills to do it.


danno

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Nick !
Sent: Wednesday, March 21, 2007 8:40 AM
To: Sunnz; OpenBSD-Misc
Subject: Re: Can OpenBSD do what BusyBox does?

On 3/21/07, Sunnz [EMAIL PROTECTED] wrote:
 Their project page: http://www.busybox.net

 The interesting thing is that today I found out that my wireless
 router is actually running BusyBox, an OS based on the Linux kernel,
 and its firewall was actually the usual iptable found on many Linux
 desktops/servers.

 I doubt if OpenBSD can be replace it on the router... but if you has
 done so it be cool to know how you made it work.

OpenBSD is used for embedded systems all the time. The most common
platform is called the Soekris. You can get them from Wim:
http://www.kd85.com/

Many consumer routers these days run linux, but they have special
proprietary firmware-handling. Some have been figured out (e.g. that
Netgear WGRT-something) and people regularly hack on them. What do you
know about your router? If it has a firmware upgrade page you might be
able to create an OpenBSD image and load it. On the other hand, it
might not work like that at all and doing so could equally (actually,
more) likely brick the box.

-Nick



Your YouTube Password

2007-03-21 Thread YouTube Service
Hi amnotaloser999,

Your YouTube password is monkeyluv. We hope this helps. 

See you back on YouTube!

- The YouTube Team



Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Sunnz

Thanks for the replies.

I guess I was a bit too excited when logging into my router (Open
Networks 624W) and checking out what it is running on and stuff.
(uname, arch, etc...) And find out it is BusyBox and is mips arch.

So BusyBox doesn't actually have a kernel, but a binary to be run on
the firmware on the router. I just thought if it is GPL then it means
they (Open Networks) must release the source for accessing the network
interface or whatever... ~_~

But yea, thanks for suggesting Soekris, it seems like a good
replacement for the blobed router I have now... so do kd85.com like...
sells boxes that already has OpenBSD installed? Some of the boards
have 3.3V PCI connector, so I can like plug a PCI Wifi card into it? I
want to set-up a wireless router since that's the thing I am trying to
replace.



Re: Daylight savings fix with OpenNTPD

2007-03-21 Thread Dan Farrell
I'm using the EST timezone (as reported in 'date') and yet I'm still an
hour behind... much like you...

NTPD is running and syncing up with pool.ntp.org.

And in looking further Bob's right (as usual)... I'm not using the
correct timezone setting.

I had to change that to the 'correct' EST setting...

zic -I EST5EDT


Perhaps you need to do something similar? I got this from-

http://archives.neohapsis.com/archives/openbsd/2005-08/0756.html


danno

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bob Beck
Sent: Tuesday, March 20, 2007 3:44 PM
To: Bray Mailloux
Cc: misc@openbsd.org
Subject: Re: Daylight savings fix with OpenNTPD

* Bray Mailloux [EMAIL PROTECTED] [2007-03-20 13:33]:
 Have a patch been issued?

Yes. see the errata page

 It might just be the time servers, but date is
 reporting 11:04:31 when it is 12:05.

It aint the time servers they report in UCT.

Your timezone is wrong

-Bob



Re: Daylight savings fix with OpenNTPD

2007-03-21 Thread Jason Crawford

If you set /etc/localtime to /usr/share/zoneinfo/US/Eastern, it'll
automatically switch between EST and EDT.

On 3/21/07, Dan Farrell [EMAIL PROTECTED] wrote:

I'm using the EST timezone (as reported in 'date') and yet I'm still an
hour behind... much like you...

NTPD is running and syncing up with pool.ntp.org.

And in looking further Bob's right (as usual)... I'm not using the
correct timezone setting.

I had to change that to the 'correct' EST setting...

zic -I EST5EDT


Perhaps you need to do something similar? I got this from-

http://archives.neohapsis.com/archives/openbsd/2005-08/0756.html


danno

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bob Beck
Sent: Tuesday, March 20, 2007 3:44 PM
To: Bray Mailloux
Cc: misc@openbsd.org
Subject: Re: Daylight savings fix with OpenNTPD

* Bray Mailloux [EMAIL PROTECTED] [2007-03-20 13:33]:
 Have a patch been issued?

Yes. see the errata page

 It might just be the time servers, but date is
 reporting 11:04:31 when it is 12:05.

It aint the time servers they report in UCT.

Your timezone is wrong

-Bob




Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Reyk Floeter
On Thu, Mar 22, 2007 at 12:43:38AM +1100, Sunnz wrote:
 Thanks for the replies.
 
 I guess I was a bit too excited when logging into my router (Open
 Networks 624W) and checking out what it is running on and stuff.
 (uname, arch, etc...) And find out it is BusyBox and is mips arch.
 
 So BusyBox doesn't actually have a kernel, but a binary to be run on
 the firmware on the router. I just thought if it is GPL then it means
 they (Open Networks) must release the source for accessing the network
 interface or whatever... ~_~
 

well, busybox is everything except the kernel and the bootloader.

 But yea, thanks for suggesting Soekris, it seems like a good
 replacement for the blobed router I have now... so do kd85.com like...
 sells boxes that already has OpenBSD installed? Some of the boards
 have 3.3V PCI connector, so I can like plug a PCI Wifi card into it? I
 want to set-up a wireless router since that's the thing I am trying to
 replace.



Re: raid dmesg output and raidctl -sv output shows differrent status for raidframe mirror on OpenBSD 4.0 amd64

2007-03-21 Thread Siju George

On 3/8/07, Greg Oster [EMAIL PROTECTED] wrote:

Siju George writes:
 On 3/8/07, Greg Oster [EMAIL PROTECTED] wrote:
 
  So this is still not the output I'd expect what does 'disklabel wd0'
  and 'disklabel wd1' say?  Are wd0d and wd1d of type FS_RAID ??
 

 nope :-(
 So that is the reason right?

Yes.

 is there any hope of fixing it now?

It should just work to change 4.2BSD to RAID...  as long as you're
never actually mounting /dev/wd0d or /dev/wd1d anywhere it'll be
fine...



Yes done that!
==

# disklabel wd0
# Inside MBR partition 3: type A6 start 63 size 234436482
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST3120827AS
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 234441648
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 a:   314590563  4.2BSD   2048 16384  328 # Cyl 0*-  3120
 b:204624   3145968swap   # Cyl  3121 -  3323
 c: 234441648 0  unused  0 0  # Cyl 0 -232580
 d: 231085953   3350592RAID   # Cyl  3324 -232575*
# disklabel wd1
# Inside MBR partition 3: type A6 start 63 size 234436482
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST3120827AS
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 234441648
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 a:   314590563  4.2BSD   2048 16384  328 # Cyl 0*-  3120
 b:204624   3145968swap   # Cyl  3121 -  3323
 c: 234441648 0  unused  0 0  # Cyl 0 -232580
 d: 231085953   3350592RAID   # Cyl  3324 -232575*
#
===


 Will the raid be functioning right actually?
 Do you want me to recreate it with FS_RAID?

You should only need to tweak the disklabel.  If you boot single-user
you should see root on /dev/raid0a .. at that point you can mount /
read-write and fix /etc/fstab if necessary.  You shouldn't need to
rebuild the RAID set...


yup

Followed these steps.

copied everything from /dwv/wd0a to /dev/raid0a ( except the raid.conf file )

entered into single user mode and used disklabel ( m option ) to
change the disklabel.

rebooted things are fine  :-)


 Do you think this setup is bad actually?

Nope... just needs a disklabel change and it should work...



Yes!1

it is working Greg :-)
Thanks a million!

=
Kernelized RAIDframe activated
raid0 (root): (RAID Level 1) total number of sectors is 231085824
(112834 MB) as root
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
swapmount: no device
=
# raidctl -sv raid0
raid0 Components:
  /dev/wd0d: optimal
  /dev/wd1d: optimal
No spares.
Component label for /dev/wd0d:
  Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
  Version: 2, Serial Number: 200612010, Mod Counter: 964
  Clean: No, Status: 0
  sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
  Queue size: 100, blocksize: 512, numBlocks: 231085824
  RAID Level: 1
  Autoconfig: Yes
  Root partition: Yes
  Last configured as: raid0
Component label for /dev/wd1d:
  Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
  Version: 2, Serial Number: 200612010, Mod Counter: 964
  Clean: No, Status: 0
  sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
  Queue size: 100, blocksize: 512, numBlocks: 231085824
  RAID Level: 1
  Autoconfig: Yes
  Root partition: Yes
  Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
#
===

it did suffer a few uncerimonious reboots due to power failure too :-)
recovered all the time by re writing parity!

Thankyou so much once again :-)

This was great help!

Kind Regards

siju

==++Full dmesg
OpenBSD 4.0 (GENERIC.RAID2) #0: Fri Nov 24 20:28:14 IST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.RAID2
real mem = 1039593472 (1015228K)
avail mem = 878211072 (857628K)
using 22937 buffers containing 104165376 bytes (101724K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfc650 (54 entries)
bios0: Acer Aspire Series
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD 

Re: Can OpenBSD do what BusyBox does?

2007-03-21 Thread Dan Farrell
Yep... but variety is good... Soekris gets good marks but they're not the only 
one that can run this--



http://www.axiomtek.com/products/ListProductType.asp?ptype1=5ptype2=1





If there are other tested products that work well, it would be nice to see them 
listed in this thread...



danno



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sunnz

Sent: Wednesday, March 21, 2007 9:44 AM

To: Misc OpenBSD

Subject: Re: Can OpenBSD do what BusyBox does?



Thanks for the replies.



I guess I was a bit too excited when logging into my router (Open

Networks 624W) and checking out what it is running on and stuff.

(uname, arch, etc...) And find out it is BusyBox and is mips arch.



So BusyBox doesn't actually have a kernel, but a binary to be run on

the firmware on the router. I just thought if it is GPL then it means

they (Open Networks) must release the source for accessing the network

interface or whatever... ~_~



But yea, thanks for suggesting Soekris, it seems like a good

replacement for the blobed router I have now... so do kd85.com like...

sells boxes that already has OpenBSD installed? Some of the boards

have 3.3V PCI connector, so I can like plug a PCI Wifi card into it? I

want to set-up a wireless router since that's the thing I am trying to

replace.




Re: ODBC on OpenBSD *solved*

2007-03-21 Thread Joaquin Herrero
2007/3/20, Allen [EMAIL PROTECTED]:

 I regularly connect PHP to MSSQL server with a different technique:
 FreeTDS in the ports tree. It's quite simple.



Thanks! It worked!
I built the freetds package from ports, and using sqsh (from packages) I
was able to connect to the customer's SQLServer database.

Instead of building php from the ports (I had problems doing that, I tell
you at the end of this message), I installed the package php4-sybase_ct
and that enables the mssql_* functions. I tested the connection from a php
program and it worked.

The only problem was that PHP issued the following warning: PHP Warning:
Unknown(): Unable to load dynamic library '/var/www/lib/php/modules/odbc.so'
- Can't open file in Unknown on line 0
I then installed the php4-odbc package and the warning did not appear
anymore.

So the final solution for me in my OpenBSD 3.8 was:
1. Install FreeTDS from ports
2. Install sqsh to test connectivity
3. Install package php4-sybase_ct
3. Install package php4-odbc

And that's all! With this configuration I can access a SQLServer from
OpenBSD.


The problem I had when tried to compile php4 (or php5) from ports is this:

mach:/usr/ports/www/php4# /usr/bin/make
=== www/php4/core
===  Checking files for php4-core-4.4.0p0
 php-4.4.0.tar.gz doesn't seem to exist on this system.
 Attempting to fetch /usr/ports/distfiles/php-4.4.0.tar.gz from
http://us2.php.net/distributions/
.
100% |**|  6133
00:00
 Size does not match for /usr/ports/distfiles/php-4.4.0.tar.gz
/bin/sh: test: 3: unexpected operator/operand
*** Error code 2

Same happens with php5.

Anyone knows what is the problem here? I tried from a 4.0 machine and I got
the same problem.

Regards
-- 
Joaquin Herrero



Re: use OpenBSD to blacklist phone calls?

2007-03-21 Thread Paul Pruett

mgetty might have something useful - see
http://home.leo.org/~doering/mgetty/mgetty_15.html



thanks.

Hmm, maybe it can be as simple as setting up
fax support for just the black list.

From what I read on your link, it suggests the configuration

can be set to only accept for specified numbers.

That way the listed phone numbers for telemarkers
could get a fax response which can be really
annoying.  The next step may be to send any
fax responses to /dev/null

I just ordered a Wildcard X100P card for $5.95
through googlebase and started the build for
/usr/ports/comms/mgetty+sendfax

Maybe late next week I can try this
approach and report back.



An introduction of sorts

2007-03-21 Thread Bray Mailloux
The name's Bray. So far, I've been a windows technician for a little 
under a year. My first computer was a Mac SE which resided in my mothers 
room, it had a Shareware version of Carbon Copy and proved somewhat 
entertaining.
The name OpenBSD has floated around my vernacular for some time, but 
only in reference to types of operating systems or whenever someone 
mentioned open-source. To be Frank, (you can be Jim), I'm a new kid on 
the block and would like to be introduced to the community in a formal 
sense; which is why I'm writing this letter in hopes of become embedded 
in the community as opposed to another face in the crowd.
Anyhow, its nice to meet you all and I would shake your hand but that 
appears impossible as I cannot yet fax or email my hand.


Bray (\/).
[EMAIL PROTECTED]



Re: cvs or cvsup

2007-03-21 Thread Christian Weisgerber
Stefan Sperling [EMAIL PROTECTED] wrote:

 - cvsup only works on i386

Strictly speaking, cvsup is available on all platforms where the
Modula-3 compiler is available.  Admittedly on OpenBSD that is only
i386.

 + cvsup is written in modula3 (yes, this is a +, but just
   because I am familiar with the cm3 compiler from work,
   ie. the existence of modula3 and killer apps that use it
   have been paying some of my rent. Keep them coming! :-P)

In which case I suggest you port the Modula-3 compiler to some of
our other archs.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: USB Printer Recommendation

2007-03-21 Thread Bob Beck
* James Turner [EMAIL PROTECTED] [2007-03-21 00:11]:
 I'm looking to finally cut the last strand that keeps windows on my hard 
 drive.  I currently have a brother mfc-210c printer.  I'm looking to replace 
 it with a cheap openbsd/lpr friendly solution.  Although the mfc is a 
 multifunction printer, that is not a requirement for the new printer.  It has 
 finally sunk in how sad it is to have to keep windows just to print, it's 
 also a pain in the ass to have to reboot every time I want to print.  Any 
 suggestions would be awesome, thanks.
 

LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
just works.

I've had nothing but pain and aggravation with bullshit inkjets.

-B