two questions 3.8 on Mac Mini

2006-04-24 Thread jabbott
Hey there,

I have a Mac Mini that I just installed openbsd on.  I have been using openbsd 
since 2.6 but this is my first Mac PPC install.

Two questions,
I am done with with the install.  How da' heck do I get the CD out?

I am a little confused on the whole Open Firmware thing.  I setup the hard 
drive to be openbsd only and formatted it MBR.  Do I still need to set the open 
firmware to boot to the hd or once I get the bloody CD out, will it just work?

--ja

-- 



Re: two questions 3.8 on Mac Mini

2006-04-24 Thread Antoine Jacoutot
Selon [EMAIL PROTECTED]:
> Two questions,
> I am done with with the install.  How da' heck do I get the CD out?

Do you mean that you want to eject(1) the CD ?

> I am a little confused on the whole Open Firmware thing.  I setup the hard
> drive to be openbsd only and formatted it MBR.  Do I still need to set the
> open firmware to boot to the hd or once I get the bloody CD out, will it just
> work?

You have to tell Open Firmware to boot of "hd:,ofwboot /bsd" (from memory) as
indicated in the INSTALL.macppc document.

Cheers...

-- 
Antoine



Re: two questions 3.8 on Mac Mini

2006-04-24 Thread Jonathan Gray
On Sun, Apr 23, 2006 at 11:29:06PM -0500, [EMAIL PROTECTED] wrote:
> Hey there,
> 
> I have a Mac Mini that I just installed openbsd on.  I have been using 
> openbsd since 2.6 but this is my first Mac PPC install.
> 
> Two questions,
> I am done with with the install.  How da' heck do I get the CD out?

# eject cd0

> 
> I am a little confused on the whole Open Firmware thing.  I setup the hard 
> drive to be openbsd only and formatted it MBR.  Do I still need to set the 
> open firmware to boot to the hd or once I get the bloody CD out, will it just 
> work?

I suspect it will just work.



Re: two questions 3.8 on Mac Mini

2006-04-24 Thread Otto Moerbeek
On Sun, 23 Apr 2006, [EMAIL PROTECTED] wrote:

> Hey there,
> 
> I have a Mac Mini that I just installed openbsd on.  I have been using 
> openbsd since 2.6 but this is my first Mac PPC install.
> 
> Two questions,
> I am done with with the install.  How da' heck do I get the CD out?

eject cd0 

> 
> I am a little confused on the whole Open Firmware thing.  I setup the hard 
> drive to be openbsd only and formatted it MBR.  Do I still need to set the 
> open firmware to boot to the hd or once I get the bloody CD out, will it just 
> work?

You still have to tell open firmware to load ofwboot, as described in
the install docs. Otherwise it will try to boot the absent macos.

-Otto



Hardware Reliability, was: Re: Dual Core

2006-04-24 Thread Toni Mueller
Hello Otto,

On Tue, 18.04.2006 at 17:49:28 +0200, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
> On Tue, 18 Apr 2006, Matt Jibson wrote:
> > Some of us have had problems with dual core:
> > http://marc.theaimsgroup.com/?l=openbsd-misc&m=113860396723795&w=2
> 
> That should be solved now, try a recent snap. I've been running the
> mentioned A8N5X mb fine with a dual core amd64. That is to say, until
> it went up in smoke. 

what caused this kind of smoking?

I too thought that getting a dual-core machine (looking at a 270HE)
would be a good idea, but if hardware reliability suffers, then it
isn't (of course).

Any insights are most welcome!


Best,
--Toni++



Re: Hardware Reliability, was: Re: Dual Core

2006-04-24 Thread Otto Moerbeek
On Mon, 24 Apr 2006, Toni Mueller wrote:

> Hello Otto,
> 
> On Tue, 18.04.2006 at 17:49:28 +0200, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
> > On Tue, 18 Apr 2006, Matt Jibson wrote:
> > > Some of us have had problems with dual core:
> > > http://marc.theaimsgroup.com/?l=openbsd-misc&m=113860396723795&w=2
> > 
> > That should be solved now, try a recent snap. I've been running the
> > mentioned A8N5X mb fine with a dual core amd64. That is to say, until
> > it went up in smoke. 
> 
> what caused this kind of smoking?

Well, I was speaking figuratively. Actually, it was eaten by snakes...


Well, actually, the motherboard just died after a few weeks without
any special effects. Asus quality does not seem to be really high. The
board is cheap and has 3 years warranty, though. I should be receiving
a new board any moment. Now I hope the board didn't take the processor
down with it. 

Note that the mpbios of this board has some quirks, which we (that is,
kettenis@) had to work around. So while -current runs fine, 3.9 does
not. 

> I too thought that getting a dual-core machine (looking at a 270HE)
> would be a good idea, but if hardware reliability suffers, then it
> isn't (of course).
> 
> Any insights are most welcome!

-Otto



Re: advantages/disadvantages of kernel pppoe(4) vs userland pppoe(8)?

2006-04-24 Thread holger glaess
-Urspr|ngliche Nachricht-
Von: "Melameth, Daniel D." <[EMAIL PROTECTED]>
Gesendet: 21.04.06 15:02:34
An: 
Betreff: Re: advantages/disadvantages of kernel pppoe(4) vs userland pppoe(8)?


Jonathan Thornburg wrote:
> The firewall/router/nat box is (will be when I get this setup)
> an old 486 laptop with 2 pcmcia ethernet cards, running 3.9-stable.
> (Yes, I've ordered a CD; until it arrives I'm using 3.8-stable.)
> 
> I already have the (external) DSL modem, and from talking to other
> Unix-savvy customers of my ISP (arcor.de), their setup is that the
> DSL modem talks pppoe to me (in this case to my firewall/router/nat
> box).  From looking at the FAQ section 6, it seems I have two basic
> options available doing this in OpenBSD: pppoe(4) in the kernal, and
> pppoe(8) in userland.  My question is, what are the relative
> advantages/disadvantages of these?
> 
> The obvious tradeoff is performance: I expect pppoe(8) to be slower
> due to the extra kernel/user-space crossings for each packet.  My
> ADSL is 6M bits/sec downstream, 0.5M upstream.
> 
> But are there other significant differences in
> * support for pppoe features?
> * ease of configuration?
> * reliability?

As someone who also use an old laptop for this purpose, a 486, PCMCIA
cards and user mode pppoe will likely not allow you to achieve your full
6Mbps speeds.  Since I've never used user mode pppoe, I can't comment on
the differences, but as a kernel mode user I can say the configuration
is very simple and well documented and the "reliability issues" that
plagued 3.7 are gone in 3.8.


hi
i also customer of arcor and an wrap embedded router ( take a look at 
www.pcengines.ch )
your laptop should be powerful enough for router / dhcp server / caching dns 
server and
dyndns client too .
  
i use the kernel pppoe right now and at the past the userland pppoe.

from my feeling are the kernel pppoe faster an more lightweight as the userland 
pppoe.
just you have to care about mtu/mss size at the firewall-code  and by sysctl 
for the fullspeed.
( i think this is the biggest diffrence to the userland pppoe ) 

i work with this setup since months with any kind of trouble.

holger



Re: rdesktop segmentation fault

2006-04-24 Thread Marian Hettwer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hej Chris, List,

just a follow-up to my last mail for the archives:
I'm now running rdesktop with -a 16 for 16bit, not with -a 24 anymore.
Since using just 16bit rdesktop never crashed.
So, this may be the solution ;)

thanks so far,
Marian (waiting for his 3.9 CD Set... hej Wim! ;) )

Chris Kuethe wrote:
> i usually run in 16bit, with "-x m" ... i don't need the eyecandy, i
> just need to get to a 'doze box every now and then.
> 
> with regard to the port, i think
> CC="gcc -g" make SUDO=sudo package
> should do it...
> 
> On 4/10/06, Marian Hettwer <[EMAIL PROTECTED]> wrote:
> 
> Hej Chris,
> 
> Chris Kuethe wrote:
> 
>>Hnf. That's wierd. I'm the maintainer for the port, and I've never
>>seen this happen.
> 
> 
> I used to start rdesktop with -a 24 to get 24bit colour depth.
> rdesktop is now running stable for some hours with -a 16bit
> Well, that's strange, eh?
> 
> I'll observe that and if rdesktop is crashing again, I'll drop you a line.
> 
> 
>>Can I get you rebuild the port with debug symbols, and send me a gdb
>>backtrace from GDB?
> 
> 
> if it crashes again, I'll do so.
> Well... does the port itself (net/rdesktop) has a flag for a debug
> build? Or do I have to build it manually (as in, not from ports)
> 
> Thanks so far,
> Marian

> --
> GDB has a 'break' feature; why doesn't it have 'fix' too?
iD8DBQFETMHggAq87Uq5FMsRAoSeAJ4nlwePhaeZZwi1Uepbd5UU1Cb00QCfUEUe
gCvCN2Vhgn4QnqKXkWkanik=
=9xqO
-END PGP SIGNATURE-



lenovo thinkpad x60s, no hd found

2006-04-24 Thread Didier Wiroth
Hello,

I tried to install 3.9 stable and current on a lenovo thinkpad x60s, without 
success. 
BSD.rd does not find a hd.

Is someone already running a x60 or x60s with openbsd?

Thanks a lot
Didier


Dmesg:
OpenBSD 3.9-current (RAMDISK_CD) #1088: Sun Apr 23 00:40:48 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Genuine Intel(R) CPU L2400 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,VMX,EST,TM2
real mem  = 2137337856 (2087244K)
avail mem = 1945284608 (1899692K)
using 4278 buffers containing 106971136 bytes (104464K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2b) BIOS, date 03/13/06, BIOS32 rev. 0 @ 0xfd690
pcibios0 at bios0: rev 2.1 @ 0xfd620/0x9e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0xe400! 0xce800/0x1000 0xcf800/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
"Intel 82801GB HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 11, 
address 00:16:d3:21:4b:b6
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
"Intel PRO/Wireless 3945ABG" rev 0x02 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
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 82801GB USB" rev 0x02: 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 82801GB USB" rev 0x02: 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
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 5
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: irq 11
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
"Ricoh 5C822 SD/MMC" rev 0x18 at pci5 dev 0 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 
configured to compatibility, channel 1 co
nfigured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
vendor "Intel", unknown product 0x27c5 (class mass storage subclass SATA, rev 
0x02) at pci0 dev 31 function 2 not config
ured
"Intel 82801GB SMBus" rev 0x02 at pci0 dev 31 function 3 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: using exception 16
biomask fffd netmask fffd ttymask 
rd0: fixed, 3800 blocks
uhub5 at uhub4 port 6
uhub5: vendor 0x17ef product 0x1000, rev 2.00/0.01, addr 2
uhub5: 4 ports with 4 removable, self powered, multiple transaction translators
STMicroelectronics Biometric Coprocessor, class 0/0, rev 1.00/0.01, addr 2, 
uhub3 port 2 not configured
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02



Re: lenovo thinkpad x60s, no hd found

2006-04-24 Thread Jonathan Gray
On Mon, Apr 24, 2006 at 02:36:42PM +0200, Didier Wiroth wrote:
> Hello,
> 
> I tried to install 3.9 stable and current on a lenovo thinkpad x60s, without 
> success. 
> BSD.rd does not find a hd.
> 
> Is someone already running a x60 or x60s with openbsd?
> 
> Thanks a lot
> Didier

That is the pci id for the AHCI mode.
See if you can change the SATA mode in the bios.

If that doesn't help I'll look into things further.



Re: Problem with USB "axe" network card

2006-04-24 Thread Michael Lechtermann
Hello again,

I tried a few more things like switching the USB devices in the USB
ports to see if it is hardware related, changed the cable but the
problem stays.

The first device ALWAYS get like 1-2MByte/s, the second ~5MByte/s, I
wonder what would happen if I had a third to plug in...

I even installed Linux (Ubuntu 5.10 Server), to check if it is driver
related and now I get around ~11MByte/s which is the max. supposed
throughput.

So in my opinion, it is either an USB or AXE driver problem within
OpenBSD 3.8 and snapshot.

So again, anyone got an idea on how to solve this problem?

Any help would really be appreciated.

Michael Lechtermann



Idiots guide to pfsync over IPSec

2006-04-24 Thread Ashley Moran
I've googled like my life depends on it and looked through the 6 months of 
misc messages in my inbox and can't find any simple guides to setting up 
pfsync over IPSec.  Does anyone use this setup?  I just want to get it up and 
running to test without reading all the IPSec documentation.

Thanks for any tips/links

Ashley



Re: lenovo thinkpad x60s, no hd found

2006-04-24 Thread Didier Wiroth
thanks!
I've set the sata mode to "compatibility" mode.
It did find a hd but I got timeouts like the following:
wd0(pciide0:0:0): timeout
type:ata
c_bcount: 512
c_skip:0

It appears to hang afterwards ...

I booted with "boot -c" to enter ukc.
I disabled pciide, and now I'm able to start the install ... I hope I'll 
succeed ;-)

Didier 

-Original Message-
From: Jonathan Gray [mailto:[EMAIL PROTECTED] 
Sent: 24 April 2006 15:13
To: Didier Wiroth
Cc: misc@openbsd.org
Subject: Re: lenovo thinkpad x60s, no hd found

On Mon, Apr 24, 2006 at 02:36:42PM +0200, Didier Wiroth wrote:
> Hello,
> 
> I tried to install 3.9 stable and current on a lenovo thinkpad x60s, without 
> success. 
> BSD.rd does not find a hd.
> 
> Is someone already running a x60 or x60s with openbsd?
> 
> Thanks a lot
> Didier

That is the pci id for the AHCI mode.
See if you can change the SATA mode in the bios.

If that doesn't help I'll look into things further.



Re: lenovo thinkpad x60s, no hd found

2006-04-24 Thread Jonathan Gray
On Mon, Apr 24, 2006 at 03:45:15PM +0200, Didier Wiroth wrote:
> thanks!
> I've set the sata mode to "compatibility" mode.
> It did find a hd but I got timeouts like the following:
> wd0(pciide0:0:0): timeout
> type:ata
> c_bcount: 512
> c_skip:0

This was fixed very recently, you will likely have to to
wait for another snapshot.  Is that message from a snapshot?

> 
> It appears to hang afterwards ...
> 
> I booted with "boot -c" to enter ukc.
> I disabled pciide, and now I'm able to start the install ... I hope I'll 
> succeed ;-)

This is really the wrong approach, things will be crazy slow.

I have an additional change to the code that should make
things work with the AHCI PCI id as well, it will
be easier for you to test that after you have an install
though.



Re: lenovo thinkpad x60s, no hd found

2006-04-24 Thread Didier Wiroth
Yes, from the latest (fetched from ftp.belnet.be)
Snapshot is from 23.04

>This was fixed very recently, you will likely have to to wait for another 
>snapshot.  Is that message from a snapshot?
Oh, ok I will do a current build then ...

>This is really the wrong approach, things will be crazy slow.
Yes, but I had no choice ;-)

>I have an additional change to the code that should make things work with the 
>AHCI PCI id as well, it will be easier for you to
test that after you have an install though.
Is it already commited, can I already get it via cvs?

thx
Didier



3.7: weird IP address problem

2006-04-24 Thread Toni Mueller
Hello,

I have a box that once had two IP addresses on one interface. I
deconfigured one of them using ifconfig -alias.

Now, when I want to use any (?) program on that box to go over this
interface, it wants to use the addresses which is no longer present. I
double-checked to ensure that there is no NAT in the way, and also used
all netstat and ifconfig otions I know to convince myself that the old
address is gone. I also tried to 'ifconfig ifname inet
the-one-and-only-address' just in case there would be a different
handling of addresses assigned with and without using -alias, but to no
avail.

What could that be, and why can't I see this address anywhere?

I'd rather not reboot only to make a change in IP numbers effective...


Best,
--Toni++



Re: Idiots guide to pfsync over IPSec

2006-04-24 Thread Rogier Krieger
Given your combined mention of IPSec and pfsync, I trust you want to
setup pfsync between peers that are located on different networks.

Check out ifconfig(8) bits on syncpeer to setup pfsync(4). You'll want
to setup a flow between these two peers so that the traffic between
them is protected.


On 4/24/06, Ashley Moran <[EMAIL PROTECTED]> wrote:
> I just want to get it up and running to test without reading all the
> IPSec documentation.

Since ipsecctl(8) and ipsec.conf(5), I've seen at least one mention
here on misc@ of a guide to get you started with IPSec in under 4
minutes [1]. For anything beyond testing purposes, you had better read
up on the documentation.

Pages such as ifconfig(8), pfsync(4), vpn(8), ipsecctl(8) and
ipsec.conf(5) come to mind.

Cheers,

Rogier


References:
1. SecurityFocus - Zero to IPSec in 4 minutes
http://www.securityfocus.com/infocus/1859

--
If you don't know where you're going, any road will get you there.



Re: advantages/disadvantages of kernel pppoe(4) vs userland pppoe(8)?

2006-04-24 Thread Bihlmaier Andreas
On Mon, Apr 24, 2006 at 11:44:25AM +0200, holger glaess wrote:
> Jonathan Thornburg wrote:



> hi
> i also customer of arcor and an wrap embedded router ( take a look at 
> www.pcengines.ch )
> your laptop should be powerful enough for router / dhcp server / caching dns 
> server and
> dyndns client too .
>   
> i use the kernel pppoe right now and at the past the userland pppoe.
> 
> from my feeling are the kernel pppoe faster an more lightweight as the 
> userland pppoe.
> just you have to care about mtu/mss size at the firewall-code  and by sysctl 
> for the fullspeed.

What exactly do you mean by "and by sysctl for the fullspeed"?
I'm running kernel pppoe myself on an old pIII box. Of course I had to
take care of the mtu "issue", but never touched any sysctl variable.

Please enlighten me.


> ( i think this is the biggest diffrence to the userland pppoe ) 
> 
> i work with this setup since months with any kind of trouble.
> 
> holger

Regards,
ahb



Mac Mini, next question

2006-04-24 Thread jabbott
Hello everyone,

I was finally able to eject the CD, the regular eject commands would not work 
because it reported "device busy" but I found on google that if you hold down 
the mouse button during the boot, it will eject all removable media.  I guess 
buttons spoil the whole effect or something...

Anyway, I now have it booted up but I discovered that something I felt during 
install turned out to be fact.  I didn't get the whole hard drive.  The drive 
is a 40 gig.  It reports as:
wd0 16 sector PIO LBA48  38154MB  78140160 sectors
When I do the re-install fdisk shows the sector correctly but then shows the 
free sectors as 16511040 with only the i: MSDOS sector in place.  How do I get 
the rest of the drive?  I tried going into pdisk and deleting the partitions 
but that didn't work.

--ja


-- 



Re: Mac Mini, next question

2006-04-24 Thread Antoine Jacoutot
Selon [EMAIL PROTECTED]:
> Anyway, I now have it booted up but I discovered that something I felt during
> install turned out to be fact.  I didn't get the whole hard drive.  The drive
> is a 40 gig.  It reports as:
> wd0 16 sector PIO LBA48  38154MB  78140160 sectors
> When I do the re-install fdisk shows the sector correctly but then shows the
> free sectors as 16511040 with only the i: MSDOS sector in place.  How do I
> get the rest of the drive?  I tried going into pdisk and deleting the
> partitions but that didn't work.

Maybe this from the INSTALL.macppc document might help you :

"If the disk is partitioned using MBR, the bootloader is
automatically installed. However because fdisk is not LBA
knowledgeable it may be necessary to run the 'b' command in
disklabel to allow OpenBSD to use the entire disk."

Cheers...

-- 
Antoine



Reciba nuestro Catalogo gratuito

2006-04-24 Thread C&H Productos Industriales
La mas extensa variedad en productos de almacenaje
y manejo de materiales.

SOLICITE NUESTRO CATALOGO GRATUITO

[IMAGE]

  * 

Flete gratis

  * 

No hay mmnimo de compra

  * 

Entregas rapidas y con garantmas

[IMAGE]

www.chpromo.info

Telifono gratuito 001 877 448 0703

Excelentes condiciones de compra

[IMAGE]

!nuestra calidad no tiene competencia!

CLIENTES y AMIGOS:

C&H Productos Industriales es una empresa mexicana que pertenece a C&H
Distributors con sede en Milwaukee, Estados Unidos.

C&H Distributors lleva mas de 60 aqos siendo lmder en Estados Unidos en
la distribucisn de productos y equipo para el almacenamiento y manejo de
materiales.

C&H Productos Industriales inicis sus operaciones en el aqo 2002. Desde
el principio, son muchas las empresas que se han beneficiado de nuestro
servicio profesional, nuestra gran variedad de productos y nuestras
excelentes condiciones de compra.

Junto a estas garantmas de calidad y prestigio, C&H Productos
Industriales apuesta tambiin por la maxima satisfaccisn de sus clientes,
que son nuestro verdadero compromiso.

Nuestro ejecutivos le pueden ayudar a elegir el producto que mejor se
adapte a sus necesidades.

Saludos cordiales,

Lic. Alfonso del Campo
Director General
C&H Productos Industriales S. de R. L. de C.V.
55 5488 5278
[EMAIL PROTECTED]

--
Para Darse de baja, por favor haga clic aqum.
[IMAGE]



Re: Mac Mini, next question

2006-04-24 Thread Aaron Poffenberger
I tried that and didn't find it helpful.  The steps I just sent were 
suggested on somebody's website (I've lost the URL).  The problem is 
that by the time you get to disklabel (I think) the OpenBSD partition 
is set to it's maximum size and the b option only maximizes its use of 
that space.


Perhaps I'm wrong and didn't do it correctly.  Any comments from other 
macppc users?


On Apr 24, 2006, at 10:07, Antoine Jacoutot wrote:


Selon [EMAIL PROTECTED]:
Anyway, I now have it booted up but I discovered that something I 
felt during
install turned out to be fact.  I didn't get the whole hard drive.  
The drive

is a 40 gig.  It reports as:
wd0 16 sector PIO LBA48  38154MB  78140160 sectors
When I do the re-install fdisk shows the sector correctly but then 
shows the
free sectors as 16511040 with only the i: MSDOS sector in place.  How 
do I

get the rest of the drive?  I tried going into pdisk and deleting the
partitions but that didn't work.


Maybe this from the INSTALL.macppc document might help you :

"If the disk is partitioned using MBR, the bootloader is
automatically installed. However because fdisk is not LBA
knowledgeable it may be necessary to run the 'b' command in
disklabel to allow OpenBSD to use the entire disk."

Cheers...

--
Antoine




Re: Mac Mini, next question

2006-04-24 Thread Aaron Poffenberger
I just had that problem with a Powerbook.  Basically you have to edit 
the disk size manually.  I don't know how with pdisk (I used an MBR 
rather than HFS partition scheme) but in fdisk do the following:


1> print
[note the number of sectors ]
1> edit 3
Partition id ('0' to disable)  [0 - FF]: [83]  -- accept the 
suggested

Do you wish to edit in CHS mode? [n] -- accept the suggested
offset: [some-number-appropriate-to-your-disk] -- accept the 
suggested
size: [some-wrong-value] -- enter here  - 
  (e.g., 490223475 - 4032315 = 486191160)

1> write
1> quit (actually, quit causes a write)

I had to reboot the first time before I did this because for some 
reason it didn't recreate the i partition for the disklabel.  Other 
than that it worked fine.


--Aaron

On Apr 24, 2006, at 8:50, <[EMAIL PROTECTED]> wrote:


Hello everyone,

I was finally able to eject the CD, the regular eject commands would 
not work because it reported "device busy" but I found on google that 
if you hold down the mouse button during the boot, it will eject all 
removable media.  I guess buttons spoil the whole effect or 
something...


Anyway, I now have it booted up but I discovered that something I felt 
during install turned out to be fact.  I didn't get the whole hard 
drive.  The drive is a 40 gig.  It reports as:

wd0 16 sector PIO LBA48  38154MB  78140160 sectors
When I do the re-install fdisk shows the sector correctly but then 
shows the free sectors as 16511040 with only the i: MSDOS sector in 
place.  How do I get the rest of the drive?  I tried going into pdisk 
and deleting the partitions but that didn't work.


--ja


--




Re: OpenBGPD HEAD revision questions

2006-04-24 Thread Thomas Bader
Henning Brauer schrieb:
> * Thomas Bader <[EMAIL PROTECTED]> [2006-04-17 21:01]:
>> Probably I need a filter list to get the behaviour I expect. This works
>> well with IPv4, but not with IPv6:
>>
>> /etc/bgpd.conf:77: king bula sez: AF_INET only
>>
>> Whereas line 77 is:
>>
>> allow to $peer1 prefix fd:202c::80::/64
>>
>> Is it planned to implement IPv6 prefixes in the filters?
> 
> hmm, I need to check again what is missing, I thought we had the basics 
> all done... either I misremmeber or I missed sth.

OK, so I wait until a fix appears in CVS HEAD.

>> How well is IPv6 tested yet? I have seen some older postings which state
>> that it's not well tested. I plan to use v4 and v6, but I need the later
>> one for the time being only for testing and development purposes and not
>> for critical applications. Shall I worry about not fully tested v6 support?
> 
> if nobody tests it, it won;t get tested...
> my test feed worked well whenever I tested. I do not have any v6 
> production systems.
> I would not worry too much. I doubt you'll see any dramatic failures. 
> You might run into things like the above, where parts of the code are 
> v4 only and complain. but that really doesn't affect v4 operation, 
> right :)

Fine. As soon as filter lists are implemented you'll get one more tester
(me :-)

Regards, Thomas.



Re: 3.7: weird IP address problem

2006-04-24 Thread Brian A. Seklecki

On Mon, 24 Apr 2006, Toni Mueller wrote:


Hello,

I have a box that once had two IP addresses on one interface. I
deconfigured one of them using ifconfig -alias.





I'd rather not reboot only to make a change in IP numbers effective...



Check "netstat -rn" and "arp -an" for hangers-on lingering about.

~BAS



Best,
--Toni++




l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8



Re: isakmpd - DPD stops working

2006-04-24 Thread Brian A. Seklecki

On Fri, 21 Apr 2006, Mitja Mu?eni? wrote:


I'm debbuging something weird here. Before I put together a full and
sanitized error report, just a quick question: is anybody else seeing DPD to
just stop working after a couple of hours, or is it just me & my setup?

I have some pre-3.9 -current (mid March or so) machines running some IPsec
tunnels, and from the IKE dump it appears that after two hours both ends
suddenly stop sending DPD R_U_THERE requests, even if the tunnel is totally
idle (for example, if I down the interface connecting the hosts). The


The lack of reponses suggest you'll need to post verbose tcpdump(8) output 
and up the bebugging greatly on isakmpd(8).


Have you tested basic IP connectivity for problems?

~BAS



Tape drive DLT VS160

2006-04-24 Thread Planck
Hello.
I have tape drive Quantum DLT VS160 (part of dmesg bellow) connected to
Adaptec AHA-2940. Everything work fine, but i dont know how to enable
hardware compresion on that drive. There aren't any jumpers on
enclosure, and mt(1) or st(4) dont say anytging about that.


ahc1 at pci3 dev 2 function 0 "Adaptec AHA-2940U" rev 0x00: irq 11
scsibus2 at ahc1: 16 targets
ahc1: target 5 using 8bit transfers
ahc1: target 5 using asynchronous transfers
st0 at scsibus2 targ 5 lun 0:  SCSI2
1/sequential removable
st0: density code 0x50, variable blocks, write-enabled

machine# mt stat
SCSI tape drive, residual=0
ds=3
er=0
blocksize: 0 (0, 0, 0, 0)
density: 80 (0, 0, 0, 0)



Regards,
Darek



Re: Tape drive DLT VS160

2006-04-24 Thread Brian A. Seklecki

On Mon, 24 Apr 2006, Planck wrote:


Hello.
I have tape drive Quantum DLT VS160 (part of dmesg bellow) connected to
Adaptec AHA-2940. Everything work fine, but i dont know how to enable
hardware compresion on that drive. There aren't any jumpers on
enclosure, and mt(1) or st(4) dont say anytging about that.



Yea it would normally be "mt comp on" or "mt compress on"

~BAS



Re: Mac Mini, next question

2006-04-24 Thread Keith Richardson
Install worked fine for me by following the INSTALL doc.  I faced the 
same issue you mentioned and the section that Antoine quoted is what 
made my whole disk available to me.


Please post to ppc@ in the future.

-Keith


Perhaps I'm wrong and didn't do it correctly.  Any comments from other 
macppc users?


On Apr 24, 2006, at 10:07, Antoine Jacoutot wrote:


Maybe this from the INSTALL.macppc document might help you :

"If the disk is partitioned using MBR, the bootloader is
automatically installed. However because fdisk is not LBA
knowledgeable it may be necessary to run the 'b' command in
disklabel to allow OpenBSD to use the entire disk."

Cheers...

--
Antoine




Re: pppoe

2006-04-24 Thread Francisco Valladolid
I used

$ sudo kill -HUP 

Regards

On 4/17/06, Brendan Grossman <[EMAIL PROTECTED]> wrote:
>
> Hi everyone
>
> To bring up a pppoe connection, I use ppp -ddial provider
>
> But how do I take it down?
>
> Also how do I remove old tunx devices?
>
> # ifconfig
> tun0: flags=8051 mtu 1492
> inet 219.90.xxx.xxx --> 203.2.124.224 netmask 0x
> Opened by PID 71830
> tun1: flags=8010 mtu 1500
> tun2: flags=8010 mtu 1500
> inet 219.90.xxx.xxx --> 219.90.174.215 netmask 0x
>
> What the? How do I get rid of the others? tun0 seems to be only in use
> there.
>
> If a connection drops out, I just connect again, but it leaves old tun
> devices and makes a new one, and sometimes I have to manually delete/add
> correct routes.
>
> Cheers
> Brendan
>
>


--
---
BSD - Unix simplicity.
Francisco Valladolid Hdez.
[EMAIL PROTECTED]



Re: 3.7: weird IP address problem

2006-04-24 Thread Joachim Schipper
On Mon, Apr 24, 2006 at 04:25:14PM +0200, Toni Mueller wrote:
> Hello,
> 
> I have a box that once had two IP addresses on one interface. I
> deconfigured one of them using ifconfig -alias.
> 
> Now, when I want to use any (?) program on that box to go over this
> interface, it wants to use the addresses which is no longer present. I
> double-checked to ensure that there is no NAT in the way, and also used
> all netstat and ifconfig otions I know to convince myself that the old
> address is gone. I also tried to 'ifconfig ifname inet
> the-one-and-only-address' just in case there would be a different
> handling of addresses assigned with and without using -alias, but to no
> avail.
> 
> What could that be, and why can't I see this address anywhere?
> 
> I'd rather not reboot only to make a change in IP numbers effective...

What does 'route show' tell you? Does changing stuff there help?

Joachim



Re: 3.7: weird IP address problem

2006-04-24 Thread Matthew Closson

On Mon, 24 Apr 2006, Toni Mueller wrote:


Hello,

I have a box that once had two IP addresses on one interface. I
deconfigured one of them using ifconfig -alias.

Now, when I want to use any (?) program on that box to go over this
interface, it wants to use the addresses which is no longer present. I
double-checked to ensure that there is no NAT in the way, and also used
all netstat and ifconfig otions I know to convince myself that the old
address is gone. I also tried to 'ifconfig ifname inet
the-one-and-only-address' just in case there would be a different
handling of addresses assigned with and without using -alias, but to no
avail.

What could that be, and why can't I see this address anywhere?

I'd rather not reboot only to make a change in IP numbers effective...


Best,
--Toni++




Can you send us the output of "ifconfig ifname0" for example if you had an 
fxp card then:


ifconfig fxp0

Also did you do this?

ifconfig ifname delete inet alias aaa.bbb.ccc.ddd
?

Sounds like the alias is not deleted.

Or try setting your default gateway

route add default gw aaa.bbb.ccc.ddd

-Matt-



Re: 3.7: weird IP address problem

2006-04-24 Thread Brian A. Seklecki

On Mon, 24 Apr 2006, Toni Mueller wrote:


Hello,

I have a box that once had two IP addresses on one interface. I
deconfigured one of them using ifconfig -alias.

Now, when I want to use any (?) program on that box to go over this
interface, it wants to use the addresses which is no longer present. I
double-checked to ensure that there is no NAT in the way, and also used


Also, is it still ARP'ing for the old address (tcpdump(8) will show).

~BAS



Re: Intel SRCU42L

2006-04-24 Thread Manon Goo



Says taht this is a rebranded gdt (www.icp-vortex.de) Card
I am quite shure that this will work with the gdt driver

Manon


--On 20. Februar 2006 22:34:03 +0200 Edgars <[EMAIL PROTECTED]> wrote:


So, nobody knows? :(


Hello!
I want to know about this RAID controller, is it supported or no?
On hw page i didn't find him, but in google and monkey.org i found that
somebody tried it with OpenBSD 3.4
http://www.intel.com/design/servers/raid/srcu42l/index.htm






Manon Goo

Email: [EMAIL PROTECTED]



Re: Mail option

2006-04-24 Thread D. E. Evans
   Maybe I'm the only one around who still uses it, but there's one
   option in mailx from SysV that I miss with OpenBSD: ~a.  It would
   be simpler to have either ~a to add the "-- " with newline, and
   read in my .signature, or a .mailrc option that automates the 
   additions, (preferably both).  As it is now, I must manually add
   the "-- " and newline, then ~r my .signature.

   Any takers?

Was there a more appropriate forum, or more appropriate format, for
this suggestion, or is the deafening silence a suggestion for me
to try and do it myself?

Does my suggestion lack technical merit?



Re: Mail option

2006-04-24 Thread Darrin Chandler
On Mon, Apr 24, 2006 at 01:57:12PM -0600, D. E. Evans wrote:
>Maybe I'm the only one around who still uses it, but there's one
>option in mailx from SysV that I miss with OpenBSD: ~a.  It would
>be simpler to have either ~a to add the "-- " with newline, and
>read in my .signature, or a .mailrc option that automates the 
>additions, (preferably both).  As it is now, I must manually add
>the "-- " and newline, then ~r my .signature.
> 
>Any takers?
> 
> Was there a more appropriate forum, or more appropriate format, for
> this suggestion, or is the deafening silence a suggestion for me
> to try and do it myself?
> 
> Does my suggestion lack technical merit?

I know this isn't the answer you were looking for, but in the past I've
added the "-- " to my .signature. Technically that's not a correct thing
to do, but in practice it worked fine for me.

As for the deafening silence / technical merit question: I think it's
just a matter of priorities. It's not a problem that is stopping anyone
from getting work done.

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



Re: Mail option

2006-04-24 Thread D. E. Evans
   I know this isn't the answer you were looking for, but in the
   past I've added the "-- " to my .signature. Technically that's
   not a correct thing to do, but in practice it worked fine for
   me.

Since I use tin for news, and Mail for mail, this would cause a
conflict, since tin automatically adds the "-- " and then
appended .signature.

   As for the deafening silence / technical merit question: I think it's
   just a matter of priorities. It's not a problem that is stopping anyone
   from getting work done.

Just an inconvenience that seems easily resolved.  If I get some
time, I'll look into how to add it myself.



Alter root FS device after boot?

2006-04-24 Thread Brian A. Seklecki

All:

Would it be hypothetical possible to change the device mounted as (/) 
after the system has booted (possibly during the bootstrapping phase)?


This of course overriding the checks in src/sys/kern/sys_vfs*

~BAS



NOVEDADES DVD 07-04-2006

2006-04-24 Thread Plan B
BAJATE LAS NOVEDADES Y LA LISTA ACTUALIZADA

VISITA NUESTRA PAGINA www.listados.es.vg

MP3 EN DVD / PLAY 2 / X BOX / 2X1 Y MAS !!!

- LA ERA DEL HIELO 2 - PRE 9 PTOS HABLADA
- STUART LITTLE 3 - DVD FULL HABLADA
- DREAMER - DVD FULL
- BLOODRAYNE - PRE 10 PTOS SUB
- DOOM - DVD FULL HABLADA
- MP3 EN DVD !!!
- PLAY 2 !!!
- X BOX !!!
- JUEGOS PC / DVD !!!

Y MUCHAS MAS 

VISITA NUESTRA PAGINA www.listados.es.vg
NEVER SEND SPAM. IT IS BAD.

-- 
Este mensaje ha sido analizado por el Antivirus
de InternetCero.com S.A. en busca de virus y otros
contenidos peligrosos y se considera que esta limpio.



Re: startx

2006-04-24 Thread Matthieu Herrb

D. E. Evans wrote:

Perhaps this should be sent to x.org, but since OpenBSD maintains its
own X, I must ask: why is startx using .serverauth.$$ for its xauth,
instead of $XAUTHORITY?  This seems redundant, and a pain in the
ass for those of us who find xdm boring, finding xdm redundant.


The rationale for this change is explained in X.Org's bugzilla #3078:


But unless you've some strange scripts that fiddle with .Xauthority in 
strange ways, I wonder why you call this a pita.

--
Matthieu Herrb



Re: Alter root FS device after boot?

2006-04-24 Thread Hannah Schroeter
Hi!

On Mon, Apr 24, 2006 at 05:06:04PM -0400, Brian A. Seklecki wrote:
>All:

>Would it be hypothetical possible to change the device mounted as (/) 
>after the system has booted (possibly during the bootstrapping phase)?

>This of course overriding the checks in src/sys/kern/sys_vfs*

After root has been mounted, if I see things correctly, you can't
unmount/change it. You can make the kernel ask for a root device though,
using the -a boot option.

Linux does tricks with a special syscall, called pivot_root IIRC.

You have the initial root device mounted, mount something else on a
subdirectory, e.g. /mnt, and then call pivot_root to swap them, and
perhaps you can unmount /mnt (the original root device) later.

On Linux you can in addition free the memory of a ramdisk you don't need
any longer.

Some Linux distributions ship with a relatively small kernel, and an
initial ramdisk used as root device, together with stuff that probes for
device using kernel modules contained in the root device, until it can
access the hard disk and the filesystem types for the hard disk, and
then does the pivot_root game and gets rid of the initial ramdisk
altogether.

I think pivot_root is somewhat of a hack and of less use for general
OpenBSD machines, as OpenBSD doesn't really use kernel modules anyway.

You can however shadow the original / with something else by mounting
that on /.

>~BAS

Kind regards,

Hannah.



Re: 3.7: weird IP address problem

2006-04-24 Thread Ste Jones
On 4/24/06, Toni Mueller <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a box that once had two IP addresses on one interface. I
> deconfigured one of them using ifconfig -alias.
>
> Now, when I want to use any (?) program on that box to go over this
> interface, it wants to use the addresses which is no longer present. I
> double-checked to ensure that there is no NAT in the way, and also used
> all netstat and ifconfig otions I know to convince myself that the old
> address is gone. I also tried to 'ifconfig ifname inet
> the-one-and-only-address' just in case there would be a different
> handling of addresses assigned with and without using -alias, but to no
> avail.
>
> What could that be, and why can't I see this address anywhere?
>
> I'd rather not reboot only to make a change in IP numbers effective...
>
>
> Best,
> --Toni++
>
>

I've noticed the same thing before with aliases. Down and upping the
interface combined with a route flush && sh /etc/netstart should fix
the problem probably wouldn't do this over ssh though.

cheers
ste



Re: Problem Compiling Stevens' Socket Source Code

2006-04-24 Thread Tobias Ulmer
On Sun, Apr 23, 2006 at 09:28:19PM +0200, Otto Moerbeek wrote:
> On Sun, 23 Apr 2006, Nick Guenther wrote:
> 
> > On 4/23/06, Dave Feustel <[EMAIL PROTECTED]> wrote:
> > > I have downloaded the source code accompanying
> > > Stevens' book _Advanced Network Programming
> > > - The Socket Programming API, vol 1, 3rd ed.
> > > After uncompressing the tar ball, cd'ing to the source code
> > > directory , running ./configure and attempting to gmake the source
> > > in lib, I get a number of errors which seem to stem from failure
> > > of the ./configure command to find many of the OpenBSD include files
> > > related to sockets. This failure shows up in the file config.h, where
> > > defines created during the configure process specify that OpenBSD
> > > is missing many include files and socket-related structures. This results
> > > in compile errors when socket structures are redefined during compilation.
> > > I started to fix individual errors until I figured out that there was a 
> > > more
> > > general problem in ./configure. I have looked at the shell script in 
> > > ./configure
> > > but so far I have not figured out where the configure goes wrong. Is 
> > > there a
> > > simple way to run or fix ./configure so that the config.h generated by
> > > configure reflects the actual content of openbsd include files and 
> > > subsequent
> > > compiles of Stevens' source work?
> > 
> > Well, socket(2) shows that OpenBSD certainly has the full socket API
> > (afterall, they were invented on BSD). My guess is that the book was
> > designed for linux and no thought was given to users of other OSes.
> 
> This shows that you don't know Stevens' books. Stevens books are among
> the books to read if you want to learn how to write good POSIX
> programs.  Most of them were written before Linux became popular. 
> 
> For fun I tried to compile some of the programs mentioned, and the
> programs I tested compiled fine, be it with some warnings about
> usage of non-safe string functions.
> 
>   -Otto
> 
> > So, to fix it, you should just have to redirect the socket includes to
> > the proper place (i.e:
> >  #include 
> >  #include 
> > )
> > 
> > Also: Hi Dave!
> > 
> > -Nick
> 
>


Here's a patch that removes all(?) warnings/errors from the
intro chapter if you followed the instructions in the readme...

 
diff -ru unpv13e.orig/intro/byteorder.c unpv13e/intro/byteorder.c
--- unpv13e.orig/intro/byteorder.c  Thu Nov 14 04:33:33 2002
+++ unpv13e/intro/byteorder.c   Tue Apr 18 04:39:40 2006
@@ -18,7 +18,7 @@
else
printf("unknown\n");
} else
-   printf("sizeof(short) = %d\n", sizeof(short));
+   printf("sizeof(short) = %zd\n", sizeof(short));
 
exit(0);
 }
diff -ru unpv13e.orig/lib/error.c unpv13e/lib/error.c
--- unpv13e.orig/lib/error.cSat Sep 20 04:51:29 2003
+++ unpv13e/lib/error.c Tue Apr 18 04:25:36 2006
@@ -96,7 +96,7 @@
n = strlen(buf);
if (errnoflag)
snprintf(buf + n, MAXLINE - n, ": %s", strerror(errno_save));
-   strcat(buf, "\n");
+   strlcat(buf, "\n", MAXLINE + 1);
 
if (daemon_proc) {
syslog(level, buf);
diff -ru unpv13e.orig/lib/sock_ntop.c unpv13e/lib/sock_ntop.c
--- unpv13e.orig/lib/sock_ntop.cMon Jul 28 06:26:32 2003
+++ unpv13e/lib/sock_ntop.c Tue Apr 18 04:36:21 2006
@@ -19,7 +19,7 @@
return(NULL);
if (ntohs(sin->sin_port) != 0) {
snprintf(portstr, sizeof(portstr), ":%d", 
ntohs(sin->sin_port));
-   strcat(str, portstr);
+   strlcat(str, portstr, 128);
}
return(str);
}
@@ -34,7 +34,7 @@
return(NULL);
if (ntohs(sin6->sin6_port) != 0) {
snprintf(portstr, sizeof(portstr), "]:%d", 
ntohs(sin6->sin6_port));
-   strcat(str, portstr);
+   strlcat(str, portstr, 128);
return(str);
}
return (str + 1);
@@ -48,7 +48,7 @@
/* OK to have no pathname bound to the socket: happens 
on
   every connect() unless client calls bind() first. */
if (unp->sun_path[0] == 0)
-   strcpy(str, "(no pathname bound)");
+   strlcpy(str, "(no pathname bound)", 128);
else
snprintf(str, sizeof(str), "%s", unp->sun_path);
return(str);
diff -ru unpv13e.orig/lib/sock_ntop_host.c unpv13e/lib/sock_ntop_host.c
--- unpv13e.orig/lib/sock_ntop_host.c   Tue May 13 20:47:49 2003
+++ unpv13e/lib/sock_ntop_host.cTue Apr 18 11:58:31 2006
@@ -35,7 +35,7 @@
/* OK to have no pathname bound to the socket: happens 
on
   every connect() unless client calls bind() first. */
 

Re: Tape drive DLT VS160

2006-04-24 Thread Nick Guenther
On 4/24/06, Brian A. Seklecki <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Apr 2006, Planck wrote:
>
> > Hello.
> > I have tape drive Quantum DLT VS160 (part of dmesg bellow) connected to
> > Adaptec AHA-2940. Everything work fine, but i dont know how to enable
> > hardware compresion on that drive. There aren't any jumpers on
> > enclosure, and mt(1) or st(4) dont say anytging about that.
>
>
> Yea it would normally be "mt comp on" or "mt compress on"

If it's not too much trouble, where is this documented?

-Nick



Re: Problem Compiling Stevens' Socket Source Code

2006-04-24 Thread Dave Feustel
On Monday 24 April 2006 17:10, Tobias Ulmer wrote:
> Here's a patch that removes all(?) warnings/errors from the
> intro chapter if you followed the instructions in the readme...

Tobias,

Thanks for the intro chapter patches. I had started directly
with chapter 7 since I had purchased a hardware digital I/O 
module that communicates over ethernet via UDP datagrams 

(Ether 24 IO - http://elexol.com/Downloads/EtherIO24DS1.pdf 
available in the US from saelig.com for $99 + shipping )

and I need to learn how to use sendto and recvfrom to control
and monitor the I/O bits. It looks to me like the configure script
doesn't generate a proper config.h for OpenBSD. I don't know whether
config doesn't know about OpenBSD file layout or something is
broken in configure. I'm suddenly learning a lot about autoconf, 
but I still don't see the problem. 

I currently am tweaking config.h by hand trying to get rid of the 
compile errors caused by the bad data put in that file by configure.

Dave Feustel
-- 
Lose, v., experience a loss, get rid of, "lose the weight"
Loose, adj., not tight, let go, free, "loose clothing"



Re: problem with LSI Fibre Channel MPT AMD64 OpenBSD 3.9-current

2006-04-24 Thread Bryan Irvine
On 4/22/06, Bryan Irvine <[EMAIL PROTECTED]> wrote:
> On 4/21/06, Marco Peereboom <[EMAIL PROTECTED]> wrote:
> > So I really meant SC->LC.
> >
>
> ohhh ok, I'm really familiar with those.  I'm almost positive about
> those.  I'll check on Monday.

I couldn't find any that weren't in use.  All I could find were SC->SC.  :-/



Re: Problem Compiling Stevens' Socket Source Code

2006-04-24 Thread Ted Unangst
On 4/24/06, Dave Feustel <[EMAIL PROTECTED]> wrote:
> and I need to learn how to use sendto and recvfrom to control
> and monitor the I/O bits. It looks to me like the configure script
> doesn't generate a proper config.h for OpenBSD. I don't know whether
> config doesn't know about OpenBSD file layout or something is
> broken in configure. I'm suddenly learning a lot about autoconf,
> but I still don't see the problem.

i'd really recommend you just stop dicking around with configure and
write the code.  #include  and go from there.



Re: Problem Compiling Stevens' Socket Source Code

2006-04-24 Thread Ray Lai
On Tue, Apr 25, 2006 at 12:10:14AM +0200, Tobias Ulmer wrote:
> Here's a patch that removes all(?) warnings/errors from the
> intro chapter if you followed the instructions in the readme...
> 
>  
> diff -ru unpv13e.orig/intro/byteorder.c unpv13e/intro/byteorder.c
> --- unpv13e.orig/intro/byteorder.cThu Nov 14 04:33:33 2002
> +++ unpv13e/intro/byteorder.c Tue Apr 18 04:39:40 2006
> @@ -18,7 +18,7 @@
>   else
>   printf("unknown\n");
>   } else
> - printf("sizeof(short) = %d\n", sizeof(short));
> + printf("sizeof(short) = %zd\n", sizeof(short));

Use %zu for sizeof(), since it returns size_t, an unsigned type.

-Ray-



Re: Verizon PC5740 card (Curitel Communications) wireless WAN card

2006-04-24 Thread Chris Paul
Thanks to Jolan's recommendation to fiddle with umodem.c has helped. I 
now have


#define UMODEMIBUFSIZE 2048
#define UMODEMOBUFSIZE 2048

It works quite well now except that almost everytime I pull out the card, 
OpenBSD freezes. I guiltily admit that this may be due to me using an instable 
window manager (fvwm 2.5). I supposed I could try killing the window 
manager next time.

I need to share the card between two laptops a couple times a day. It is really 
a bummer to have to reboot/fsck/etc.

I also have trouble recovering from suspend/hibernate at times... might this 
also be the window manager?

CP



firewall pf rules multiple dhcp servers

2006-04-24 Thread s.zulu
hi
i have a firewall hook up to my cable modem
my external interface has a dynamic address from the dhcp server at my isp
i have a dhcp server on the firewall for two subnets 
subnet a local network
subnet b wireless network
i need the external interface to request and recieve offers from the dhcp 
server at the isp
and the local and wireless network to request and recieve offers from the dhcp 
server on the firewall
when a request is made from the local network both the internal and the 
external dhcp server responds

my pf rules

===

pass quick on $internal_interface
block in on $external_interface proto udp
pass out on $external_interface proto udp from any port bootpc to any port 
bootps
pass in on $external_interface proto udp from any port bootps to any port bootpc
pass out on $wireless_interface proto udp from any port bootps to any port 
bootpc
pass in on $wireless_interface proto udp from any port bootpc to any port bootps

=

how do i fix 

s.zulu


-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information



PAE and Non-PAE current snapshots

2006-04-24 Thread Adriaan Misc
For those who havent' noticed ;)

>From ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/

man39.tgz   7360 KB 04/24/0616:16:00
misc39.tgz  2228 KB 04/24/0616:16:00
non-pae 04/24/0617:54:00
pxeboot 50 KB   04/24/0616:16:00
xbase39.tgz 10318 KB04/24/0612:29:00

==Adriaan==



Re: Secure programming over openbsd

2006-04-24 Thread Giancarlo Razzolini
Ted Unangst wrote:
> On 4/21/06, Joco Salvatti <[EMAIL PROTECTED]> wrote:
>> Does anyone know a book, tutorial or documents of any kind that treat
>> about secure programming over OpenBSD? Since OpenBSD implements many
>> secure system calls and lots of other methods that are much more
>> secure that respective implementations in other platforms: mkstem,
>> strlcpy, strlcat...
>
> i'd start by looking at events.html and the presentations various
> people have been giving.  the only worthwhile book in the genre i've
> seen is "secure coding in c and c++" by robert seacord.  it covers a
> few openbsd only features (malloc.conf, ...).
>
> in general though, programming is like juggling or riding a bike.
> reading a book will not make you good at it.
>
>
Before programming securely you must program correctly. One thing will
give you to the other.

man style (9)

Can give a good start point. Also search for kernel normal form in the
google and in the wikipedia and some interesting links may appear. And,
of course, read the manual pages of the functions you will use,
preferably, in many systems, to compare their implementations. At least
i did this way. Also, a good trick, is to read the source of some
programs that are known to be secure. OpenSSH is a good start. Even if
you can't understand what each function is doing, at least you'll see
the implementations of some functions that will you want to use.

My 2 cents,

--
Giancarlo Razzolini
Linux User 172199
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

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



Re: PAE and Non-PAE current snapshots

2006-04-24 Thread Theo de Raadt
> For those who havent' noticed ;)
> 
> >From ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/
> 
> man39.tgz 7360 KB 04/24/0616:16:00
> misc39.tgz2228 KB 04/24/0616:16:00
> non-pae   04/24/0617:54:00
> pxeboot   50 KB   04/24/0616:16:00
> xbase39.tgz   10318 KB04/24/0612:29:00

OK, so they made it to the ftp sites.  Here's the deal.

The pae diffs contain a giant diff from mickey that will moves the
kernel to a way that we can later on do PAE.  The kernels supplied
here will not switch into PAE mode.  With a very small little change,
they could, though.

As far as changes, vaddr_t changes to long long.

Please test.  If you have problems, tell mickey and cc me please.



Re: Verizon PC5740 card (Curitel Communications) wireless WAN card

2006-04-24 Thread Ray Lai
On Mon, Apr 24, 2006 at 08:52:09PM -0500, Chris Paul wrote:
> Thanks to Jolan's recommendation to fiddle with umodem.c has helped. I 
> now have
> 
> #define UMODEMIBUFSIZE 2048
> #define UMODEMOBUFSIZE 2048
> 
> It works quite well now except that almost everytime I pull out the card, 
> OpenBSD freezes. I guiltily admit that this may be due to me using an 
> instable window manager (fvwm 2.5). I supposed I could try killing the 
> window manager next time.

Try doing that in console mode instead of X, you'll probably get a
kernel panic.  Follow the instructions.

-Ray-



3.9 sightings :: ot

2006-04-24 Thread Karsten McMinn
the partys starting over here in the west (usa). props if
you can recognize my first server getting the honors.
my thanks and my raised glass to Theo and the team.

-K

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
3-9-1.jpg]



Re: pf/bridge/routing: packet sent out on wrong interface

2006-04-24 Thread patrick ~
Since I didn't get any reply, I decided to do more digging
on my own.  Although, I didn't even get my pre-dawn misc
digest either, so maybe something is wrong with the mailing
list(s).

Some more google-ing using different combination of phrases
I go to two threads on obsd-misc and -sparc from a Jim Fron
 (email
address no longer valid according to comcast).

The issue he was asking help for (and received more responses
than I did) seems pretty similar to that of mine.  In his own
words:

"Issue: bridging causes pf to mis-apply frames to
 the wrong interface."

This is back in February '05:

http://article.gmane.org/gmane.os.openbsd.sparc/1751
http://thread.gmane.org/gmane.os.openbsd.sparc/1745/focus=1745


It was a relief to find out I'm not the only one with this
issue.

He mentions having use a patch that helped his issue.  I
assume he means this patch (but not certain):

http://monkey.org/openbsd/archive/misc/0411/msg01560.html

I attempted to email him, but comcast claims to have broken
off with with Jim.  Poor Jim ='(


I don't mind digging in source code at all.  I would, however,
appreciate some pointers as to where to start looking.


Also, my idea of using route-to didn't work quite as expected.
It worked for a while, but when I checked in the morning, I
found that none of the packets would get to the right interface.

I put log statements on all pass rules for packets entering
$dsl_if and destined for $dmz_if.

Then I monitored pflog0 using tcpdump -ne -ttt -i pflog0.  I
would see a DNS lookup come in on $dsl_if and be sent out on
$dmz_if. Great right?  BUT, although, tcpdump on $dsl_if would
show the packet enter, it would show NO activity on $dmz_if!!

I believe there is something seriously wrong with the way the
combination of pf, bridging and routing interact with one
another.

Anyone interested in helping here? I'm obviously volunteering
to be the guinea pig here.

Again system is a freshly installed -rOPENBSD_3_9.


My latest attempt for a solution is to set up static entries
for my servers on $dmz_if using brconfig.  Though I think this
is very hokey as far as solutions go.  I'm monitoring to see
if I see any instances of the issue or any other side-effects
thereof.


--patrick
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



pppoe(4) chap/md5 vs. chap/microsoft

2006-04-24 Thread Yuri Spirin
Hello, misc.

I  have  a connection to ISP that requires PPPoE. No hardware like DSL
modem/router,  just  Ethernet cable from ISP. I setting up PPPoE on my
3.8-release router using pppoe(4).

# ifconfig pppoe0 create
# cat /etc/hostname.pppoe0
pppoedev fxp2
!/sbin/ifconfig fxp2 up
!/usr/sbin/spppcontrol \$if \
 myauthproto=chap \
 myauthname=mylogin \
 myauthkey=mypassword
!/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0x
!/sbin/route add default 0.0.0.1
up

All the way like in man 4 pppoe.

# sh /etc/netstart
# spppcontrol pppoe0
pppoe0:  phase=establish
myauthproto=chap myauthname="mylogin"
hisauthproto=chap hisauthname=""

And connection is never up, just hangs on 'establish' phase.

# tcpdump -neti fxp2//0:a0:c9:8c:75:67 is my MAC,
//0:13:7f:8d:e5:1a is ISP server MAC

0:a0:c9:8c:75:67 ff:ff:ff:ff:ff:ff 8863 32: PPPoE-Discovery
code Initiation, version 1, type 1, id 0x, length 12
tag Service-Name, length 0
tag Host-Uniq, length 4 \000~\227o
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8863 60: PPPoE-Discovery
code Offer, version 1, type 1, id 0x, length 40
tag Service-Name, length 0
tag Host-Uniq, length 4 \000~\227o
tag AC-Name, length 4 k7-1
tag AC-Cookie, length 16 I'p[:eC E\221z\025\221+pk
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8863 52: PPPoE-Discovery
code Request, version 1, type 1, id 0x, length 32
tag Service-Name, length 0
tag AC-Cookie, length 16 I'p[:eC E\221z\025\221+pk
tag Host-Uniq, length 4 \000~\227o
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8863 60: PPPoE-Discovery
code Confirm, version 1, type 1, id 0xf6aa, length 32
tag Service-Name, length 0
tag AC-Cookie, length 16 I'p[:eC E\221z\025\221+pk
tag Host-Uniq, length 4 \000~\227o
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 32: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 12
LCP: Configure-Request, Magic-Number=204725418, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 12
LCP: Configure-Ack, Magic-Number=204725418, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 11
LCP: Configure-Reject, Auth-Prot CHAP/MD5, Vendor-Ext
0:13:7f:8d:e5:1a 0:a0:c9:8c:75:67 8864 60: PPPoE-Session
code Session, version 1, type 1, id 0xf6aa, length 21
LCP: Configure-Request, Max-Rx-Unit=1492, Auth-Prot CHAP/Microsoft,
Magic-Number=-421802100, Vendor-Ext
0:a0:c9:8c:75:67 0:13:7f:8d:e5:1a 8864 31: 

Re: pf/bridge/routing: packet sent out on wrong interface

2006-04-24 Thread NetNeanderthal
On 4/24/06, patrick ~ <[EMAIL PROTECTED]> wrote:
> Since I didn't get any reply, I decided to do more digging
> on my own.  Although, I didn't even get my pre-dawn misc
> digest either, so maybe something is wrong with the mailing
> list(s).
Not likely; however, you failed to post your entire dmesg and your
entire pf.conf.  Sanitize the subnets you're uncomfortable posting
publicly and try again.



FBI are stealing from thier suspects

2006-04-24 Thread james dandey
In the San Francisco/Bay area where the cost of living is high. Some FBI are 
propping up thier lifestyles by stealing from suspects.
 

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.



Re: FBI are stealing from thier suspects

2006-04-24 Thread Aaron Poffenberger

james dandey wrote:


In the San Francisco/Bay area where the cost of living is high. Some FBI are 
propping up thier lifestyles by stealing from suspects.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


 


Reference?



Re: FBI are stealing from thier suspects

2006-04-24 Thread Aaron Poffenberger

Aaron Poffenberger wrote:


james dandey wrote:

In the San Francisco/Bay area where the cost of living is high. Some 
FBI are propping up thier lifestyles by stealing from suspects.



-
New Yahoo! Messenger with Voice. Call regular phones from your PC and 
save big.






Reference?



Disregard. I shouldn't be reading email this late. ;-) Damn spam!



Re: 3.9 sightings :: ot

2006-04-24 Thread Greg Thomas
On 4/24/06, Karsten McMinn <[EMAIL PROTECTED]> wrote:
> the partys starting over here in the west (usa). props if
> you can recognize my first server getting the honors.
> my thanks and my raised glass to Theo and the team.
>

Mine arrived on Friday safely wrapped in my favorite t-shirt, the 2.9
"Secret Service" shirt.

Greg