Re: [obsd] Re: Assigning an IP address to a bridge

2013-02-13 Thread Jeremie Le Hen
Hi,

On Tue, Feb 12, 2013 at 04:54:33PM +0100, Jeremie Le Hen wrote:
 
 This is a remnant of the first version.
 
 Thanks again for your review.
 
 http://people.chchile.org/~jlh/tmp/faq6.html
 http://people.chchile.org/~jlh/tmp/faq6.diff

What will happen next?

Do I need to do some lobbying with a doc committer to see this patch hit
the www tree, so it doesn't get lost?

Thanks,
-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.



Re: My first macppc install going poorly as well

2013-02-13 Thread Kirill Bychkov
On Sat, December 8, 2012 22:29, Kirill Bychkov wrote:
 On Sat, December 8, 2012 15:54, Martin Pieuchot wrote:
 I've just committed a fix for this, wait for the next snapshot or build a
release yourself and you'll be able to install OpenBSD on your machine. Thanks
for the report.
 Thank you! Tomorrow I'll try to build from sources on my iBook and then
install it on G5. And test my AGP video found in iBook G3.

Sorry for timeout - have no time to play with my Mac.
I've finally installed 5.3-beta snapshot on my G5 and it boots.
I have two SATA disks, so the first is occupied with OSX and second one now
contains OpenBSD.
I have some questions and suggestions about macppc support in OpenBSD.
Suggestions first. According to my dmesg [1] and to hardware I have in this
G5, next patch syncs macppc.html with reality:

Index: macppc.html
=== RCS file:
/cvs/www/macppc.html,v
retrieving revision 1.224
diff -u -r1.224 macppc.html
--- macppc.html 4 Dec 2012 11:20:47 -   1.224
+++ macppc.html 13 Feb 2013 06:02:37 -
@@ -225,6 +225,7 @@
 liApple Uni-North Eth
 liApple Uni-North 2 AGP
 liApple Uni-North 2 Eth
+liApple Uni-North 3 AGP
 liMotorola MPC106 Host-PCI
 /ul
@@ -239,6 +240,7 @@
 liATI Radeon Mobility M7
 liATI Radeon Mobility 9200 (M9+)
 liNVIDIA GeForce4 440 Go 64M
+liNVIDIA GeForce FX 5200 Ultra
 /ul
 listrongEthernet Adapters/strong
@@ -481,7 +483,7 @@
 liFirewire is not supported.
 liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
supported yet.
 liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
-liSATA does not work on PowerMac G5 and Xserve G5 systems.
+liSATA does not work on some PowerMac G5 and Xserve G5 systems.
 /ul
 hr

I don't know about other G5, but mine is booting from SATA wd1 fine: pciide0
at pci8 dev 12 function 0 ServerWorks K2 SATA rev 0x00: DMA pciide0: using
irq 0 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: ST380013AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: ST3250823AS
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6

Problems.
Internal NIC.
gem0 at pci7 dev 15 function 0 Apple K2 GMAC rev 0x00: irq 41, address
00:0a:95:8f:3d:84
ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI
0x00, model 0x
It works in OSX, but doesn't in OpenBSD:
gem0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
lladdr 00:0a:95:8f:3d:84
priority: 0
media: Ethernet autoselect (none)
status: no carrier
It always show no carrier on my 100MB/s D-Link router. Looking deeper I
found that in OpenBSD only media 1000baseSX is supported. On openbsd-misc@
I've found message from Dale Rahn (drahn@) [2] which states that some Macs
have two PHYs and the second one is ignored. So I suppose it's my case. Only
the first is recognised with OpenBSD and it have no chance to work with
100MB/s hardware and I have no 1GB/s capable hw to test with.

So I installed PCI card:
xl0 at pci2 dev 3 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 53,
address 00:00:00:00:00:00
xl0: WARNING: no media options bits set in the media options register!! xl0:
this could be a manufacturing defect in your adapter or system xl0: attempting
to guess media type; you should probably consult your vendor xl0: unknown
device ID: 0 -- defaulting to 10baseT
No phy attached.

And another card:
vr0 at pci3 dev 4 function 0 VIA VT6105 RhineIII rev 0x86: irq 54, address
00:00:00:00:00:00
It also has no phy attached.

Both xl0 and vr0 are working fine on amd64 machine:
xl0 at pci4 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x74: apic 2 int 20,
address 00:04:76:a0:89:8a
bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 6
vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19,
address 00:40:f4:7f:dc:a4
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI
0x004063, model 0x0034

The only thing which is ok on my G5:
rsu0 at uhub2 port 3 Manufacturer Realtek ASUS EZ N Network Adapter rev
2.00/2.00 addr 2
rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb

Is it an individual problem with my Mac only or not? Any other information
about this G5 needed? I'm willing to test patches or give an access to this
Mac.

Questions.
Why some amount of memory disappears?
real mem = 536870912 (512MB)
avail mem = 1029836800 (982MB)
If I add two more 512MB banks, I have about 1,5GB of real mem, so about 500MB
disappears again.

Some devices on iic behave strange. Any clues?
lmtemp0 at iic0 addr 0x4a: ds1775, fails to respond
adc0 at iic0 addr 0x2c: ad7417, config reset failed

Thanks for any help!

[1] http://i386.linklevel.net/dmesg.g5
[2] http://marc.info/?l=openbsd-miscm=128449069908208w=2



Re: My first macppc install going poorly as well

2013-02-13 Thread Martin Pieuchot
On 13/02/13(Wed) 11:47, Kirill Bychkov wrote:
 [..]
 I have some questions and suggestions about macppc support in OpenBSD.
 Suggestions first. According to my dmesg [1] and to hardware I have in this
 G5, next patch syncs macppc.html with reality:

Also don't forget to send your dmesg to dmesg@ ;)

 Index: macppc.html
 === RCS file:
 /cvs/www/macppc.html,v
 retrieving revision 1.224
 diff -u -r1.224 macppc.html
 --- macppc.html   4 Dec 2012 11:20:47 -   1.224
 +++ macppc.html   13 Feb 2013 06:02:37 -
 @@ -225,6 +225,7 @@
  liApple Uni-North Eth
  liApple Uni-North 2 AGP
  liApple Uni-North 2 Eth
 +liApple Uni-North 3 AGP

I think that here you want to add Apple U3 AGP as it shows up in your
dmesg, right? With this change it's ok mpi@.

  liMotorola MPC106 Host-PCI
  /ul
 @@ -239,6 +240,7 @@
  liATI Radeon Mobility M7
  liATI Radeon Mobility 9200 (M9+)
  liNVIDIA GeForce4 440 Go 64M
 +liNVIDIA GeForce FX 5200 Ultra
  /ul
  listrongEthernet Adapters/strong
 @@ -481,7 +483,7 @@
  liFirewire is not supported.
  liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
 supported yet.
  liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
 -liSATA does not work on PowerMac G5 and Xserve G5 systems.
 +liSATA does not work on some PowerMac G5 and Xserve G5 systems.
  /ul
  hr
 
 Problems.
 Internal NIC.
 gem0 at pci7 dev 15 function 0 Apple K2 GMAC rev 0x00: irq 41, address
 00:0a:95:8f:3d:84
 ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI
 0x00, model 0x
 It works in OSX, but doesn't in OpenBSD:
 gem0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0a:95:8f:3d:84
 priority: 0
 media: Ethernet autoselect (none)
 status: no carrier
 It always show no carrier on my 100MB/s D-Link router. Looking deeper I
 found that in OpenBSD only media 1000baseSX is supported. On openbsd-misc@
 I've found message from Dale Rahn (drahn@) [2] which states that some Macs
 have two PHYs and the second one is ignored. So I suppose it's my case. Only
 the first is recognised with OpenBSD and it have no chance to work with
 100MB/s hardware and I have no 1GB/s capable hw to test with.

I am aware of this problem as I have a similar PowerMac G5 that presents
the same symptoms. I didn't investigate further yet but I managed to get
this interface working when I first installed OpenBSD using a tftp
server. So I guess it has something to do with the firmware.

 
 So I installed PCI card:
 xl0 at pci2 dev 3 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 53,
 address 00:00:00:00:00:00
 xl0: WARNING: no media options bits set in the media options register!! xl0:
 this could be a manufacturing defect in your adapter or system xl0: attempting
 to guess media type; you should probably consult your vendor xl0: unknown
 device ID: 0 -- defaulting to 10baseT
 No phy attached.
 
 And another card:
 vr0 at pci3 dev 4 function 0 VIA VT6105 RhineIII rev 0x86: irq 54, address
 00:00:00:00:00:00
 It also has no phy attached.
 
 Both xl0 and vr0 are working fine on amd64 machine:
 xl0 at pci4 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x74: apic 2 int 20,
 address 00:04:76:a0:89:8a
 bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 6
 vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19,
 address 00:40:f4:7f:dc:a4
 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI
 0x004063, model 0x0034
 
 The only thing which is ok on my G5:
 rsu0 at uhub2 port 3 Manufacturer Realtek ASUS EZ N Network Adapter rev
 2.00/2.00 addr 2
 rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb
 
 Is it an individual problem with my Mac only or not? Any other information
 about this G5 needed? I'm willing to test patches or give an access to this
 Mac.

I've no idea about why your other cards are not working, do they work
under an other OS on the same machine?

Can you also provide the output of 'eeprom -p' alongside with your
dmesg?

M.



Re: My first macppc install going poorly as well

2013-02-13 Thread Kirill Bychkov
On Wed, February 13, 2013 13:53, Martin Pieuchot wrote:
 On 13/02/13(Wed) 11:47, Kirill Bychkov wrote:
 [..]
 I have some questions and suggestions about macppc support in OpenBSD.
 Suggestions first. According to my dmesg [1] and to hardware I have in this
 G5, next patch syncs macppc.html with reality:

 Also don't forget to send your dmesg to dmesg@ ;)

 Index: macppc.html
 === RCS
 file:
 /cvs/www/macppc.html,v
 retrieving revision 1.224
 diff -u -r1.224 macppc.html
 --- macppc.html  4 Dec 2012 11:20:47 -   1.224
 +++ macppc.html  13 Feb 2013 06:02:37 -
 @@ -225,6 +225,7 @@
  liApple Uni-North Eth
  liApple Uni-North 2 AGP
  liApple Uni-North 2 Eth
 +liApple Uni-North 3 AGP

 I think that here you want to add Apple U3 AGP as it shows up in your
 dmesg, right? With this change it's ok mpi@.

I thought that U3 stands for Uni-North 3 and added a line like previous. If
I'm mistaken, I'll commit it with Apple U3 AGP line.


  liMotorola MPC106 Host-PCI
  /ul
 @@ -239,6 +240,7 @@
  liATI Radeon Mobility M7
  liATI Radeon Mobility 9200 (M9+)
  liNVIDIA GeForce4 440 Go 64M
 +liNVIDIA GeForce FX 5200 Ultra
  /ul
  listrongEthernet Adapters/strong
 @@ -481,7 +483,7 @@
  liFirewire is not supported.
  liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
 supported yet.
  liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
 -liSATA does not work on PowerMac G5 and Xserve G5 systems.
 +liSATA does not work on some PowerMac G5 and Xserve G5 systems.
  /ul
  hr

Martin, any comments about SATA support on PowerMac G5 and Xserver G5?

 Problems.
 Internal NIC.
 gem0 at pci7 dev 15 function 0 Apple K2 GMAC rev 0x00: irq 41, address
 00:0a:95:8f:3d:84
 ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI
 0x00, model 0x
 It works in OSX, but doesn't in OpenBSD:
 gem0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0a:95:8f:3d:84
 priority: 0
 media: Ethernet autoselect (none)
 status: no carrier
 It always show no carrier on my 100MB/s D-Link router. Looking deeper I
 found that in OpenBSD only media 1000baseSX is supported. On openbsd-misc@
 I've found message from Dale Rahn (drahn@) [2] which states that some Macs
 have two PHYs and the second one is ignored. So I suppose it's my case. Only
 the first is recognised with OpenBSD and it have no chance to work with
 100MB/s hardware and I have no 1GB/s capable hw to test with.

 I am aware of this problem as I have a similar PowerMac G5 that presents
 the same symptoms. I didn't investigate further yet but I managed to get
 this interface working when I first installed OpenBSD using a tftp
 server. So I guess it has something to do with the firmware.


 So I installed PCI card:
 xl0 at pci2 dev 3 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 53,
 address 00:00:00:00:00:00
 xl0: WARNING: no media options bits set in the media options register!! xl0:
 this could be a manufacturing defect in your adapter or system xl0:
 attempting
 to guess media type; you should probably consult your vendor xl0: unknown
 device ID: 0 -- defaulting to 10baseT
 No phy attached.

 And another card:
 vr0 at pci3 dev 4 function 0 VIA VT6105 RhineIII rev 0x86: irq 54, address
 00:00:00:00:00:00
 It also has no phy attached.

 Both xl0 and vr0 are working fine on amd64 machine:
 xl0 at pci4 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x74: apic 2 int
 20,
 address 00:04:76:a0:89:8a
 bmtphy0 at xl0 phy 24: 3C905C internal PHY, rev. 6
 vr0 at pci4 dev 1 function 0 VIA VT6105 RhineIII rev 0x86: apic 2 int 19,
 address 00:40:f4:7f:dc:a4
 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI
 0x004063, model 0x0034

 The only thing which is ok on my G5:
 rsu0 at uhub2 port 3 Manufacturer Realtek ASUS EZ N Network Adapter rev
 2.00/2.00 addr 2
 rsu0: MAC/BB RTL8712 cut 3, address c8:60:00:5e:11:bb

 Is it an individual problem with my Mac only or not? Any other information
 about this G5 needed? I'm willing to test patches or give an access to this
 Mac.

 I've no idea about why your other cards are not working, do they work
 under an other OS on the same machine?

Same 3com card in OSX, which doesn't work in OpenBSD:
en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::210:22ff:fefd:7ab2%en1 prefixlen 64 scopeid 0x5
inet 192.168.1.38 netmask 0xff00 broadcast 192.168.1.255
ether 00:10:22:fd:7a:b2
media: autoselect (100baseTX full-duplex) status: active
supported media: 10baseT/UTP half-duplex 10baseT/UTP full-duplex
autoselect 100baseTX half-duplex 100baseTX full-duplex

My noname VIA card isn't recognised by OSX.

 Can you also provide the output of 'eeprom -p' alongside with your
 dmesg?

http://i386.linklevel.net/eeprom.g5
http://i386.linklevel.net/dmesg.g5

 M.



Re: My first macppc install going poorly as well

2013-02-13 Thread Martin Pieuchot
On 13/02/13(Wed) 15:42, Kirill Bychkov wrote:
   liMotorola MPC106 Host-PCI
   /ul
  @@ -239,6 +240,7 @@
   liATI Radeon Mobility M7
   liATI Radeon Mobility 9200 (M9+)
   liNVIDIA GeForce4 440 Go 64M
  +liNVIDIA GeForce FX 5200 Ultra
   /ul
   listrongEthernet Adapters/strong
  @@ -481,7 +483,7 @@
   liFirewire is not supported.
   liPower Macintosh G5 (October 2005, dual core (PowerMac 11,2)) is not
  supported yet.
   liiMac G5 (iSight (PowerMac12,1)) is not supported yet.
  -liSATA does not work on PowerMac G5 and Xserve G5 systems.
  +liSATA does not work on some PowerMac G5 and Xserve G5 systems.
   /ul
   hr
 
 Martin, any comments about SATA support on PowerMac G5 and Xserver G5?

It doesn't work.



Re: current snapshot pipex kernel panic

2013-02-13 Thread YASUOKA Masahiko
On Wed, 26 Sep 2012 14:44:58 +0900 (JST)
YASUOKA Masahiko yasu...@yasuoka.net wrote:
 On Tue, 25 Sep 2012 16:16:12 +0200
 csszep css...@gmail.com wrote:
 I wanted to try a simple npppd setup and i got a panic.
 
 I'm looking into this problem and fixing it.  But it will take more
 days.

oops, I forgot about this bug

 To workaround the problem, please add
 
   mppe no
 
 to the tunnel configuration.

Can you try below diff instead of the above workaround?

Index: sys/net/pipex.c
===
RCS file: /cvs/src/sys/net/pipex.c,v
retrieving revision 1.37
diff -u -p -r1.37 pipex.c
--- sys/net/pipex.c 14 Dec 2012 01:19:26 -  1.37
+++ sys/net/pipex.c 13 Feb 2013 14:55:16 -
@@ -396,14 +396,24 @@ pipex_add_session(struct pipex_session_r
}
 #endif
 #ifdef PIPEX_MPPE
-   if ((req-pr_ppp_flags  PIPEX_PPP_MPPE_ACCEPTED) != 0)
+   if ((req-pr_ppp_flags  PIPEX_PPP_MPPE_ACCEPTED) != 0) {
+   if (req-pr_mppe_recv.keylenbits = 0) {
+   free(session, M_TEMP);
+   return (EINVAL);
+   }
pipex_session_init_mppe_recv(session,
req-pr_mppe_recv.stateless, req-pr_mppe_recv.keylenbits,
req-pr_mppe_recv.master_key);
-   if ((req-pr_ppp_flags  PIPEX_PPP_MPPE_ENABLED) != 0)
+   }
+   if ((req-pr_ppp_flags  PIPEX_PPP_MPPE_ENABLED) != 0) {
+   if (req-pr_mppe_send.keylenbits = 0) {
+   free(session, M_TEMP);
+   return (EINVAL);
+   }
pipex_session_init_mppe_send(session,
req-pr_mppe_send.stateless, req-pr_mppe_send.keylenbits,
req-pr_mppe_send.master_key);
+   }
 
if (pipex_session_is_mppe_required(session)) {
if (!pipex_session_is_mppe_enabled(session) ||
Index: usr.sbin/npppd/npppd/mppe.c
===
RCS file: /cvs/src/usr.sbin/npppd/npppd/mppe.c,v
retrieving revision 1.9
diff -u -p -r1.9 mppe.c
--- usr.sbin/npppd/npppd/mppe.c 19 Dec 2012 09:23:54 -  1.9
+++ usr.sbin/npppd/npppd/mppe.c 13 Feb 2013 14:55:16 -
@@ -119,9 +119,6 @@ mppe_init(mppe *_this, npppd_ppp *ppp)
 
_this-required = conf-mppe_required;
 
-   if (_this-required == 0)
-   goto mppe_config_done;
-
if (conf-mppe_keystate == (NPPPD_MPPE_STATEFUL|NPPPD_MPPE_STATELESS)) {
/* no need to change from default. */
} else if (conf-mppe_keystate == NPPPD_MPPE_STATELESS) {
@@ -230,21 +227,21 @@ mppe_start(mppe *_this)
_this-recv.keybits = 128;
}
 
-   mppe_rc4_init(_this, _this-send, 0);
-   mppe_rc4_init(_this, _this-recv, _this-recv.stateless);
-
-   GetNewKeyFromSHA(_this-recv.master_key, _this-recv.master_key,
-   _this-recv.keylen, _this-recv.session_key);
-   GetNewKeyFromSHA(_this-send.master_key, _this-send.master_key,
-   _this-send.keylen, _this-send.session_key);
-
-   mppe_reduce_key(_this-recv);
-   mppe_reduce_key(_this-send);
-
-   mppe_rc4_setkey(_this, _this-recv);
-   mppe_rc4_setkey(_this, _this-send);
+   if (_this-send.keybits  0) {
+   mppe_rc4_init(_this, _this-send, 0);
+   GetNewKeyFromSHA(_this-send.master_key, _this-send.master_key,
+   _this-send.keylen, _this-send.session_key);
+   mppe_reduce_key(_this-send);
+   mppe_rc4_setkey(_this, _this-send);
+   }
+   if (_this-recv.keybits  0) {
+   mppe_rc4_init(_this, _this-recv, _this-recv.stateless);
+   GetNewKeyFromSHA(_this-recv.master_key, _this-recv.master_key,
+   _this-recv.keylen, _this-recv.session_key);
+   mppe_reduce_key(_this-recv);
+   mppe_rc4_setkey(_this, _this-recv);
+   }
 }
-
 
 /**
  * creating the mppe bits. In case of first proposal, it specifies the
Index: usr.sbin/npppd/npppd/npppd.c
===
RCS file: /cvs/src/usr.sbin/npppd/npppd/npppd.c,v
retrieving revision 1.26
diff -u -p -r1.26 npppd.c
--- usr.sbin/npppd/npppd/npppd.c5 Dec 2012 23:20:26 -   1.26
+++ usr.sbin/npppd/npppd/npppd.c13 Feb 2013 14:55:17 -
@@ -899,19 +899,21 @@ pipex_setup_common(npppd_ppp *ppp, struc
 
 #ifdef USE_NPPPD_MPPE
req-pr_ccp_id = ppp-ccp.fsm.id;
-   memcpy(req-pr_mppe_send.master_key,
-   ppp-mppe.send.master_key, sizeof(req-pr_mppe_send.master_key));
-   req-pr_mppe_send.stateless = ppp-mppe.send.stateless;
-   req-pr_mppe_send.keylenbits = ppp-mppe.send.keybits;
-
-   memcpy(req-pr_mppe_recv.master_key,
-   ppp-mppe.recv.master_key, sizeof(req-pr_mppe_recv.master_key));
-   req-pr_mppe_recv.stateless = ppp-mppe.recv.stateless;
-   req-pr_mppe_recv.keylenbits = 

Pf with multi gateways

2013-02-13 Thread What you get is Not what you see
Hi
I have a pf box with 4 links (a multihomed box ) and some services like
dns,dhcp on it.
I have set /etc/mygate to one of the gateways.
Sometimes the line drops and when it drops, obviously some services like
dns stop.
But the other lines are up then.
What is the proper way of handling mygate?
Do you suggest mpath?



Re: bootable OpenBSD USB stick from windows?

2013-02-13 Thread sven falempin
On Tue, Feb 12, 2013 at 5:57 PM, Michał Markowski
markows...@gmail.comwrote:

 As Otto suggested: try PXE, it's relatively simple.
 http://openbsd.org/faq/faq6.html#PXE

 You can also write this i386 image to your flash disk using dd:
 http://devio.us/~doc/openbsd52_usb/
 (done as in http://article.gmane.org/gmane.os.openbsd.tech/30048)


 With two USB and the floppy install you can do it :-)
cygwin has dd, use /dev/sdX as a target not \\.\Physi
would be awesome to have ffs driver for windows though ^_^
and disklable

My last laptop is only UEFI boot :(

IMHO installXX.iso is deprecated and should be installXX.dd for USB key

 --
 Michał Markowski




--
() ascii ribbon campaign - against html e-mail
/\



Re: Pf with multi gateways

2013-02-13 Thread Janne Johansson
You can have ifstated test gw reachability, I think relayd has similar
functionality to manage routes, one could somewhat easily script if
gwA up send packets via ifA, if gwB up ...
mpath would be yet one option.

2013/2/13 What you get is Not what you see wygin...@gmail.com:
 Hi
 I have a pf box with 4 links (a multihomed box ) and some services like
 dns,dhcp on it.
 I have set /etc/mygate to one of the gateways.
 Sometimes the line drops and when it drops, obviously some services like
 dns stop.
 But the other lines are up then.
 What is the proper way of handling mygate?
 Do you suggest mpath?




-- 
May the most significant bit of your life be positive.



Re: Pf with multi gateways

2013-02-13 Thread Jorge Enrique Valbuena Vargas
HI,

take a look at :

http://openbsd.org/faq/faq6.html#Multipath

On Wed, Feb 13, 2013 at 10:15 AM, What you get is Not what you see 
wygin...@gmail.com wrote:

 Hi
 I have a pf box with 4 links (a multihomed box ) and some services like
 dns,dhcp on it.
 I have set /etc/mygate to one of the gateways.
 Sometimes the line drops and when it drops, obviously some services like
 dns stop.
 But the other lines are up then.
 What is the proper way of handling mygate?
 Do you suggest mpath?




-- 
Cordialmente,

00110111  00111011



Re: Pf with multi gateways

2013-02-13 Thread MJ
Best solution is ECMP combined with ifstated - you get double bandwidth until
one link goes down, in which case it is automatically removed from the routing
table until it comes up again. This is a pretty common setup in e.g. Top Of
Rack (ToR) switching setups.

I just wrote a blog post mentioning this a few days ago, didn't go into
technical configurations yet but when I do the next post I will be sure to
mention ifstated.

http://terminalprompt.com/2013/02/12/openbsd-a-real-powerhouse/


On Feb 13, 2013, at 6:09 PM, Janne Johansson icepic...@gmail.com wrote:

 You can have ifstated test gw reachability, I think relayd has similar
 functionality to manage routes, one could somewhat easily script if
 gwA up send packets via ifA, if gwB up ...
 mpath would be yet one option.

 2013/2/13 What you get is Not what you see wygin...@gmail.com:
 Hi
 I have a pf box with 4 links (a multihomed box ) and some services like
 dns,dhcp on it.
 I have set /etc/mygate to one of the gateways.
 Sometimes the line drops and when it drops, obviously some services like
 dns stop.
 But the other lines are up then.
 What is the proper way of handling mygate?
 Do you suggest mpath?




 --
 May the most significant bit of your life be positive.



Re: bootable OpenBSD USB stick from windows?

2013-02-13 Thread Hugo Osvaldo Barrera
On 2013-02-12 10:17, Scott McEachern wrote:
 On 02/12/13 08:10, Heptas Torres wrote:
 On 2/12/13, Jan Stary h...@stare.cz wrote:
 On Feb 11 23:48:09, hepta...@gmail.com wrote:
 On 2/11/13, christopher sasarak chris.sasa...@gmail.com wrote:
 I had a similar situation with my laptop and found a solution in the
 FAQ:
 http://www.openbsd.org/faq/faq14.html#flashmemLive

 Essentially what I had to do was boot from CD on the desktop system
 (using
 an ISO for the desktop system's architecture)
 That assumes that my windows machine can boot from a CD which is not
 the case (I have no CD-ROM neither on my windows machine nor on the
 machine where I want to install OpenBSD).
 I only have access to a windows machine to burn an iso image, do you
 How do you do it then, exactly?

 In case of Linux images with one of the tools I mentioned in one of my
 previous messages.
 -h

 
 Oh for pete's sake, it's 2013.  Go to your local computer store and
 spend (at most) $20 dollars on an optical drive.  Install the damn thing
 on your Winbox, follow the many directions already posted here, and be
 done with it.
 
 It's not rocket surgery and optical drives really do come in handy. And
 they're dirt cheap.
 
 Or, save the $20 and install VirtualBox like people have suggested.
 
 Just end this stupid thread because you're talking in circles.
 

$20 may sound cheap to you, but that's not cheap in every part of the
world, especially for a device you'll use only ONCE to install the OS.
It's 2013, and buying floppies/optical drives isn't the best of advices.

What's wrong PXE?

-- 
Hugo Osvaldo Barrera



Re: [obsd] Re: Assigning an IP address to a bridge

2013-02-13 Thread Stuart Henderson
On 2013/02/12 16:54, Jeremie Le Hen wrote:
 Thanks again for your review.
 
 http://people.chchile.org/~jlh/tmp/faq6.html
 http://people.chchile.org/~jlh/tmp/faq6.diff

This looks fine to me, thank you. Unless there are any objections
or other comments I will commit it soon.


 
 Index: faq6.html
 ===
 RCS file: /cvs/www/faq/faq6.html,v
 retrieving revision 1.304
 diff -u -p -r1.304 faq6.html
 --- faq6.html 2 Nov 2012 11:25:12 -   1.304
 +++ faq6.html 12 Feb 2013 15:52:19 -
 @@ -1295,7 +1295,7 @@ address, the bridge will pass network da
  maintainable (which can be a feature).
  
  p
 -h3An example of a bridge application/h3
 +h3A simple example of a bridge application/h3
  
  p
  One of my computer racks has a number of older systems, none of which
 @@ -1367,6 +1367,87 @@ directions.
  
  p
  That's it!  Reboot, and you now have a functioning bridge.
 +
 +p
 +h3A bridge acting as a DHCP server/h3
 +
 +p
 +Let's say we have a Soekris net5501, which has four
 +a 
 href=http://www.openbsd.org/cgi-bin/man.cgi?query=vramp;sektion=4;vr(4)/a
 +interfaces, vr0 through vr3.  We want to bridge vr1, vr2 and vr3
 +together, leaving out vr0 for an uplink (a cable modem for instance).
 +We also want to serve IP addresses through DHCP over the bridged
 +interfaces.  Being a DHCP server and an uplink router, the box needs to
 +have an IP address on the bridged network (contrary to the previous
 +example in which the bridging box was not visible on the network).
 +
 +p
 +It is not possible to assign an IP address directly to a
 +a 
 href=http://www.openbsd.org/cgi-bin/man.cgi?query=bridgesektion=4;bridge(4)/a
 +interface.  The IP address should be added to one of the member
 +interfaces, but we cannot use a physical interface as the link might be
 +down, in which case the address would not be reachable.  Fortunately,
 +starting with OpenBSD 4.7, there is a virtual Ethernet interface driver
 +a 
 href=http://www.openbsd.org/cgi-bin/man.cgi?query=vethersektion=4;vether(4)/a
 +that can be used for that purpose.  We will add it to the bridge, assign
 +the IP address to it and make dhcpd(8) listen there.
 +
 +p
 +Notes:
 +
 +ul
 +liThe a href=#DHCPserverDHCP server configuration/a is not
 +described yet again in this section but the addressing scheme used here is
 +the same.
 +liThis will also be the uplink router for your bridged network, so we
 +will use IP address 192.168.1.1 to match the DHCP server configuration.
 +liWe will not cover the uplink, routing or firewalling configuration
 +here./li
 +/ul
 +
 +pFirst mark vr1, vr2 and vr3 as up:
 +
 +blockquotepre
 +$ bcat /etc/hostname.vr1/b
 +up
 +$ bcat /etc/hostname.vr2/b
 +up
 +$ bcat /etc/hostname.vr3/b
 +up
 +/pre/blockquote
 +
 +p
 +Then create the vether0 configuration:
 +
 +blockquotepre
 +$ bcat /etc/hostname.vether0/b
 +inet 192.168.1.1 255.255.255.0 192.168.1.255
 +up
 +/pre/blockquote
 +
 +p
 +We configure the bridge interface to contain all the above
 +interfaces:
 +
 +blockquotepre
 +$ bcat /etc/hostname.bridge0/b
 +add vether0
 +add vr1
 +add vr2
 +add vr3
 +up
 +/pre/blockquote
 +
 +p
 +And finally we make dhcpd(8) listen on the vether0 interface:
 +
 +blockquotepre
 +$ bgrep ^dhcpd_flags= /etc/rc.conf.local/b
 +dhcpd_flags=vether0
 +/pre/blockquote
 +
 +p
 +Reboot and voilagrave;!
  
  p
  h3Filtering on a bridge/h3
 
 -- 
 Jeremie Le Hen
 
 Scientists say the world is made up of Protons, Neutrons and Electrons.
 They forgot to mention Morons.



Re: Pf with multi gateways

2013-02-13 Thread Stuart Henderson
On 2013-02-13, What you get is Not what you see wygin...@gmail.com wrote:
 Hi
 I have a pf box with 4 links (a multihomed box ) and some services like
 dns,dhcp on it.
 I have set /etc/mygate to one of the gateways.
 Sometimes the line drops and when it drops, obviously some services like
 dns stop.
 But the other lines are up then.
 What is the proper way of handling mygate?
 Do you suggest mpath?



You can list multiple gateways in priority order (I would usually
add these in hostname.if files e.g. !route add)

route add default -priority 10 10.1.1.1
route add default -priority 12 10.2.2.2

*If* the interfaces lose link when the connection is down, it will
fall back to the next in priority order. (lowest number = highest
priority; default for a statically configured route is 8). This
works nicely with pppoe(4) but in many configurations where you
pass to another local router, you may need a bit more than this.
In some cases you can handle checking and adding/removing routes
via relayd, see the ROUTERS section in relayd.conf(5).

You do not need mpath for this.

mpath will do load balancing between multiple routes with the same
priority. This is useful in some cases. But note this is done in the
style of RFC2992 and balancing depends on source/destination address
pairs, it does not increase bandwidth to a single host (or a VPN
connection to a single other endpoint).

Also note that in order to do this you will need your upstream ISP/s
to accept packets from the source addresses associated with other
lines (and in the case of multiple upstreams going via different
ISPs they would need to accept packets with source addresses in
*some other ISP's address space*). Some permit this anyway (but are
not following best practices and you can't rely on them to keep on
doing it); others may permit it on reqeuest (maybe with limits)
and others just plain won't allow it.



Re: bootable OpenBSD USB stick from windows?

2013-02-13 Thread Michał Markowski
2013/2/13 Christer Solskogen christer.solsko...@gmail.com:
 But they are not official.

Of course, but it works for now.

 I know that some linux distributions (like Ubuntu, Fedora and Arch
 Linux) have some kind of a special iso that is both dd-able to a USB
 stick and writable to a CD/DVD.

Most of them now have, as far as I know. How it generally works:
http://wiki.geteasypeasy.com/Hybrid_ISO/IMG_format

USB ports in machines are very common nowadays, CD drives not so much
anymore, so such official disk image with just bootloader + bsd.rd
inside could come in handy.

-- 
Michał Markowski



Re: [obsd] Re: Assigning an IP address to a bridge

2013-02-13 Thread Marios Makassikis
On 13 February 2013 20:28, Stuart Henderson s...@spacehopper.org wrote:

 On 2013/02/12 16:54, Jeremie Le Hen wrote:
  Thanks again for your review.
 
  http://people.chchile.org/~jlh/tmp/faq6.html
  http://people.chchile.org/~jlh/tmp/faq6.diff

 This looks fine to me, thank you. Unless there are any objections
 or other comments I will commit it soon.



One minor comment: you don't *need* to reboot. Although it's a good
practice to reboot after
you're done setting things up to make sure you don't have any ephemeral
configurations (that
you will obviously have forgotten about when you reboot for some other
reason and find you
something is not working as expected).
Provided this is explained in 6.2.5, perhaps the 'Reboot and voilà' line
should be removed ?

On the other hand, the section right before the one Jeremie wrote also
recommends a reboot, so
it is consistent in that way.



  Index: faq6.html
  ===
  RCS file: /cvs/www/faq/faq6.html,v
  retrieving revision 1.304
  diff -u -p -r1.304 faq6.html
  --- faq6.html 2 Nov 2012 11:25:12 -   1.304
  +++ faq6.html 12 Feb 2013 15:52:19 -
  @@ -1295,7 +1295,7 @@ address, the bridge will pass network da
   maintainable (which can be a feature).
 
   p
  -h3An example of a bridge application/h3
  +h3A simple example of a bridge application/h3
 
   p
   One of my computer racks has a number of older systems, none of which
  @@ -1367,6 +1367,87 @@ directions.
 
   p
   That's it!  Reboot, and you now have a functioning bridge.
  +
  +p
  +h3A bridge acting as a DHCP server/h3
  +
  +p
  +Let's say we have a Soekris net5501, which has four
  +a href=http://www.openbsd.org/cgi-bin/man.cgi?query=vramp;sektion=4
 vr(4)/a
  +interfaces, vr0 through vr3.  We want to bridge vr1, vr2 and vr3
  +together, leaving out vr0 for an uplink (a cable modem for instance).
  +We also want to serve IP addresses through DHCP over the bridged
  +interfaces.  Being a DHCP server and an uplink router, the box needs to
  +have an IP address on the bridged network (contrary to the previous
  +example in which the bridging box was not visible on the network).
  +
  +p
  +It is not possible to assign an IP address directly to a
  +a href=http://www.openbsd.org/cgi-bin/man.cgi?query=bridgesektion=4
 bridge(4)/a
  +interface.  The IP address should be added to one of the member
  +interfaces, but we cannot use a physical interface as the link might be
  +down, in which case the address would not be reachable.  Fortunately,
  +starting with OpenBSD 4.7, there is a virtual Ethernet interface driver
  +a href=http://www.openbsd.org/cgi-bin/man.cgi?query=vethersektion=4
 vether(4)/a
  +that can be used for that purpose.  We will add it to the bridge, assign
  +the IP address to it and make dhcpd(8) listen there.
  +
  +p
  +Notes:
  +
  +ul
  +liThe a href=#DHCPserverDHCP server configuration/a is not
  +described yet again in this section but the addressing scheme used here
 is
  +the same.
  +liThis will also be the uplink router for your bridged network, so we
  +will use IP address 192.168.1.1 to match the DHCP server configuration.
  +liWe will not cover the uplink, routing or firewalling configuration
  +here./li
  +/ul
  +
  +pFirst mark vr1, vr2 and vr3 as up:
  +
  +blockquotepre
  +$ bcat /etc/hostname.vr1/b
  +up
  +$ bcat /etc/hostname.vr2/b
  +up
  +$ bcat /etc/hostname.vr3/b
  +up
  +/pre/blockquote
  +
  +p
  +Then create the vether0 configuration:
  +
  +blockquotepre
  +$ bcat /etc/hostname.vether0/b
  +inet 192.168.1.1 255.255.255.0 192.168.1.255
  +up
  +/pre/blockquote
  +
  +p
  +We configure the bridge interface to contain all the above
  +interfaces:
  +
  +blockquotepre
  +$ bcat /etc/hostname.bridge0/b
  +add vether0
  +add vr1
  +add vr2
  +add vr3
  +up
  +/pre/blockquote
  +
  +p
  +And finally we make dhcpd(8) listen on the vether0 interface:
  +
  +blockquotepre
  +$ bgrep ^dhcpd_flags= /etc/rc.conf.local/b
  +dhcpd_flags=vether0
  +/pre/blockquote
  +
  +p
  +Reboot and voilagrave;!
 
   p
   h3Filtering on a bridge/h3
 
  --
  Jeremie Le Hen
 
  Scientists say the world is made up of Protons, Neutrons and Electrons.
  They forgot to mention Morons.



Re: bootable OpenBSD USB stick from windows?

2013-02-13 Thread Christer Solskogen
On Wed, Feb 13, 2013 at 9:56 PM, Michał Markowski markows...@gmail.com wrote:
 Most of them now have, as far as I know. How it generally works:
 http://wiki.geteasypeasy.com/Hybrid_ISO/IMG_format

 USB ports in machines are very common nowadays, CD drives not so much
 anymore, so such official disk image with just bootloader + bsd.rd
 inside could come in handy.


I'll be willing to donate some cash to get someone to do that for
OpenBSD if there are anyone up for the task.

-- 
chs,



Re: bootable OpenBSD USB stick from windows?

2013-02-13 Thread Scott McEachern

On 02/13/13 13:14, Hugo Osvaldo Barrera wrote:

On 2013-02-12 10:17, Scott McEachern wrote:
Oh for pete's sake, it's 2013. Go to your local computer store and 
spend (at most) $20 dollars on an optical drive. Install the damn 
thing on your Winbox, follow the many directions already posted here, 
and be done with it. It's not rocket surgery and optical drives 
really do come in handy. And they're dirt cheap. Or, save the $20 and 
install VirtualBox like people have suggested. Just end this stupid 
thread because you're talking in circles. 

$20 may sound cheap to you, but that's not cheap in every part of the
world, especially for a device you'll use only ONCE to install the OS.
It's 2013, and buying floppies/optical drives isn't the best of advices.


Right.  And an optical drive on a Windows box will *never* be used 
again.  And it could never be repurposed on another machine.  What a 
complete waste of money.  Silly me; bad advice.


Fine, $20 is the difference between him paying the rent or eating. I get 
it.  But like I reminded him, there are free options already suggested 
by the list and he's done what with that advice?




What's wrong PXE?



Nothing.  I had to use it earlier today myself on a machine with no 
CDROM that couldn't boot from USB.  (Sound familiar?)  But that's also 
assuming that his machine is capable of PXE, and the OP hasn't said 
anything about it.  (My bad, maybe he did and it's one of the messages 
in this thread I skipped.)


My point still stands:  He's been given advice six ways through Sunday 
on how to accomplish this task, both free and non-free, he's also been 
pointed to the archives and yet this thread lives on. Like I said, 
talking in circles now.


--
Scott McEachern

https://www.blackstaff.ca



ZTE mf626 USB modem support

2013-02-13 Thread Maximo Pech
Hi list, I see this was asked before but never got solved, so I ask again.

Has someone got this device working on openbsd? Is it supported?

Thanks and regards.



Re: Pf with multi gateways

2013-02-13 Thread Indunil Jayasooriya
 You can list multiple gateways in priority order (I would usually
 add these in hostname.if files e.g. !route add)

 route add default -priority 10 10.1.1.1
 route add default -priority 12 10.2.2.2


  should the file /etc/mygate be deleted?  I think yes




-- 
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


Hi. I plugged this modem on my Win7 notebook, installed software and drivers
from it's internal cd and then connected with putty to it's second serial
port (ZTE NMEA Device), whick answers on AT comand with OK.
After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
from my computer.
Now I have in dmesg:
umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm0: missing endpoint
umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm1: missing endpoint
umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus5 at umass0: 2 targets, initiator 0
sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
serial.19d20031567890ABCDEF
umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
ucom0 at umsm2

At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
I have no usable SIM for this provider-locked modem, so I can't fully test it.

To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
modem with cu.
I hope this will help.



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 07:49, Kirill Bychkov wrote:
 On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


 Hi. I plugged this modem on my Win7 notebook, installed software and drivers
 from it's internal cd and then connected with putty to it's second serial
 port (ZTE NMEA Device), whick answers on AT comand with OK.
 After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
 autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
 from my computer.
 Now I have in dmesg:
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm0: missing endpoint
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm1: missing endpoint
 umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus5 at umass0: 2 targets, initiator 0
 sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
 serial.19d20031567890ABCDEF
 umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm2

 At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
 I have no usable SIM for this provider-locked modem, so I can't fully test it.

 To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
 modem with cu.
 I hope this will help.


My modem isn't provider-locked as I thought. Inserting another SIM helped to
connect to ISP.
I just copied /etc/ppp/ppp.conf.sample to /etc/ppp/ppp.conf, changed set
device and allow user to reflect reality and just run 'ppp -ddial mobile'
to connect.

Patch adds mentioning MF626 support and gives clues how to handle such modems.
OK? Comments?

Index: umsm.4
===
RCS file: /cvs/src/share/man/man4/umsm.4,v
retrieving revision 1.87
diff -u -r1.87 umsm.4
--- umsm.4  4 Jan 2013 02:53:54 -   1.87
+++ umsm.4  14 Feb 2013 06:00:08 -
@@ -111,6 +111,7 @@
 .It Li ZTE AC2746 Ta USB
 .It Li ZTE MF112 Ta USB
 .It Li ZTE MF190 Ta USB
+.It Li ZTE MF626 Ta USB
 .It Li ZTE MF633 Ta USB
 .It Li ZTE MF637 Ta USB
 .El
@@ -167,6 +168,10 @@
 on the third port, and after that the actual PPP connection comes
 up on the first port.
 The function of the second and fourth ports is unknown.
+.Pp
+Some modems require enabling modem mode with AT commands.
+This can be configured on other OS after installation of
+software shipped with modem.
 .Sh EXAMPLES
 An example
 .Pa /etc/ppp/ppp.conf



Installing Openbsd 5.2 as KVM guest

2013-02-13 Thread Xavier Naveira
Hi everyone,

I'm trying to install OpenBSD 5.2 as KVM guest but I can't get passed the
installation process because the disk and the network are not being
detected correctly.

When configuring the network I'm only presented one network interface
called 'vlan0', if I select it then I get asked which tag the vlan
interface will be on, the default is ':1', whatever I choose (default or
not) I get the message Invalid interface choice: ' '

If I write 'done' leaving the network config for later and answer the
coming questions when I get to the point where I should configure the disks
partitions, there is no disk available.

The xml file for virsh look like this:

   disk type='block' device='disk'
  driver name='qemu' type='raw'/
  source dev='/dev/vgntap02_more/identifiers'/
  target dev='vda' bus='virtio'/
  alias name='virtio0'/
  address type='pci' domain='0x' bus='0x00' slot='0x04'
function='0x0'/
/disk
interface type='bridge'
  mac address='00:50:5x:x5:xx:xx'/
  source bridge='brxxx'/
  target dev='vnet60'/
  model type='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x03'
function='0x0'/
/interface

This is a managed system so I have no control over the devices used for the
machine, what I do know is that the harddrive is a SAN volume thus the
/dev/vgntap02... device.

The hypervisors run on Redhat 5.5

Is it possible at all to install OpenBSD in such a machine?

Thank you!

Xavier