Re: Ethernet Card

2006-05-17 Thread Karel Galuška
Hi J.C.,
Thank you for your answer. 
I have written that I want to use the computer as a router in a future. I'm
testing it in my lab as a simple non-router computer now. The first
interface has ip 192.168.0.48 and the second 192.168.0.49. From the console
of the computer I'm not able to ping the second interface (host is down).
(No error in messages, VIA EPIA PD-1, OpenBSD 3.9) Ifconfig follows:

/var/log$ ifconfig -A
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
groups: lo 
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:40:63:de:d9:8f
groups: egress 
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.48 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::240:63ff:fede:d98f%vr0 prefixlen 64 scopeid 0x1
vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:40:63:de:d9:da
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.49 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::240:63ff:fede:d9da%vr1 prefixlen 64 scopeid 0x2
pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
pfsync0: flags=0 mtu 1460
enc0: flags=0 mtu 1536 

Karel


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
J.C. Roberts
Sent: Wednesday, May 17, 2006 2:47 AM
To: Karel Galu9ka
Cc: misc@openbsd.org
Subject: Re: Ethernet Card

On Tue, 16 May 2006 18:47:18 +0200, Karel Galuka [EMAIL PROTECTED]
wrote:

Problem is following: Only vr0 works. Vr1 is unreachable. Ping from console
said Host is down. But when I disabled the first NIC in bios, the second
NIC
obtained vr0 and worked fine. So, I guess, HW is OK. I want the machine use
as a router, so a need 2 working cards. 

Hi Karel,

The answer is that you do not understand routing, so building a router
will require you to learn what you are doing.

Think about your configuration...

-You have two interfaces on the same subnet.
-You have only one default route for that subnet.
-Your default route to that subnet is tied to a single interface.

Do you see the conflict?

Start reading here:
http://www.openbsd.org/faq/faq6.html

Make sure you download and read the PDF file linked as Understanding IP
Addressing on the above page.

Kind Regards,
JCR


--
Free, Open Source CAD, CAM and EDA Tools
http://www.DesignTools.org



Re: Ethernet Card

2006-05-17 Thread Jacob Meuser
On Wed, May 17, 2006 at 10:08:39AM +0200, Karel Galu?ka wrote:
 Hi J.C.,
 Thank you for your answer. 
 I have written that I want to use the computer as a router in a future. I'm
 testing it in my lab as a simple non-router computer now. The first
 interface has ip 192.168.0.48 and the second 192.168.0.49. From the console
 of the computer I'm not able to ping the second interface (host is down).

 vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
...
   inet 192.168.0.48 netmask 0xff00 broadcast 192.168.0.255

 vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
...
   inet 192.168.0.49 netmask 0xff00 broadcast 192.168.0.255

you have two interfaces on the same IPv4 subnet.

what does your routing table look like?  (netstat -rn -finet)
you probably only have one route to this subnet, through vr0.

do you understand the problem now?

-- 
[EMAIL PROTECTED]



Re: Ethernet Card

2006-05-17 Thread Karel Galuška
I see. Thanks a lot and sorry for the stupid question.
By the way, is there any way, how to use the two NICs for load balancing?

Karel
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Jacob Meuser
Sent: Wednesday, May 17, 2006 10:24 AM
To: misc@openbsd.org
Subject: Re: Ethernet Card

On Wed, May 17, 2006 at 10:08:39AM +0200, Karel Galu?ka wrote:
 Hi J.C.,
 Thank you for your answer. 
 I have written that I want to use the computer as a router in a future.
I'm
 testing it in my lab as a simple non-router computer now. The first
 interface has ip 192.168.0.48 and the second 192.168.0.49. From the
console
 of the computer I'm not able to ping the second interface (host is down).

 vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
...
   inet 192.168.0.48 netmask 0xff00 broadcast 192.168.0.255

 vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
...
   inet 192.168.0.49 netmask 0xff00 broadcast 192.168.0.255

you have two interfaces on the same IPv4 subnet.

what does your routing table look like?  (netstat -rn -finet)
you probably only have one route to this subnet, through vr0.

do you understand the problem now?

-- 
[EMAIL PROTECTED]



Re: Ethernet Card

2006-05-17 Thread Johan M:son Lindman
On Wednesday 17 May 2006 10:44, you wrote:
 I see. Thanks a lot and sorry for the stupid question.
 By the way, is there any way, how to use the two NICs for load balancing?

 Karel

Yes there is.
trunk(4) will tell you how.


Regards
Johan M:son



Soekris + atheros 802.11abg panic

2006-05-17 Thread Mitja
Hello,

I am testing soekris 4801 based access point with an atheros miniPCI card 
(802.11abg miniPCI NL-5354MP). I
successfully established a connection between two soekris 4801 one configured 
in hostap mode the other in bss mode
(802.11b mode). The problem comes when I try to configure those miniPCI in 
802.11a/g or when I try to change modes.
Sometimes when I'm changing the mode of operation from 802.11b to 802.11a I get 
some ath0 device timeout errors or a
panic and an reboot.

BOX1:
ifconfig ath0 inet 172.31.0.5 netmask 255.255.255.252 media autoselect mediaopt 
hostap nwid testlink1 mode 11b chan 1

BOX2:
ifconfig ath0 inet 172.31.0.6 netmask 255.255.255.252 media autoselect nwid 
testlink1 mode 11b chan 1

BOX1# ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:6f:39:61:8b
media: IEEE802.11 autoselect mode 11b hostap
status: active
ieee80211: nwid testlink1 chan 1 bssid 00:02:6f:39:61:8b
inet 172.31.0.5 netmask 0xfffc broadcast 172.31.0.7
inet6 fe80::202:6fff:fe39:618b%ath0 prefixlen 64 scopeid 0x4

BOX2# ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:6f:39:61:86
media: IEEE802.11 autoselect mode 11b (DS11 mode 11b)
status: active
ieee80211: nwid testlink1 chan 1 bssid 00:02:6f:39:61:8b
inet 172.31.0.6 netmask 0xfffc broadcast 172.31.0.7
inet6 fe80::202:6fff:fe39:6186%ath0 prefixlen 64 scopeid 0x4

BOX2# ping -c3 172.31.0.5
PING 172.31.0.5 (172.31.0.5): 56 data bytes
64 bytes from 172.31.0.5: icmp_seq=0 ttl=255 time=47.770 ms
64 bytes from 172.31.0.5: icmp_seq=1 ttl=255 time=0.714 ms
64 bytes from 172.31.0.5: icmp_seq=2 ttl=255 time=0.999 ms
--- 172.31.0.5 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.714/16.494/47.770/22.115 ms

Until here everything is working as supposed. Let's change that to 802.11a.

BOX2# ifconfig ath0 inet 172.31.0.6 netmask 255.255.255.252 media autoselect 
nwid testlink1 mode 11a chan 36
ifconfig: SIOCS80211CHANNEL: Invalid argument

BOX1: # ifconfig ath0 inet 172.31.0.5 netmask 255.255.255.252 media autoselect 
mediaopt hostap nwid testlink1 mode 11a
chan 52
ifconfig: SIOCS80211CHANNEL: Invalid argument

In manual of ath(4) this error should not happen. If I repeat that, the errors 
are gone, but I have no connection
between two boxes.

BOX2# ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:6f:39:61:86
media: IEEE802.11 autoselect mode 11a (OFDM6 mode 11a)
status: no network
ieee80211: nwid testlink1 chan 52
inet6 fe80::202:6fff:fe39:6186%ath0 prefixlen 64 scopeid 0x4
inet 172.31.0.6 netmask 0xfffc broadcast 172.31.0.7

BOX1# ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:6f:39:61:8b
media: IEEE802.11 autoselect mode 11a hostap
status: active
ieee80211: nwid testlink1 chan 52 bssid 00:02:6f:39:61:8b
inet6 fe80::202:6fff:fe39:618b%ath0 prefixlen 64 scopeid 0x4
inet 172.31.0.5 netmask 0xfffc broadcast 172.31.0.7

I'll try to change the mode of operation to 802.11g:

BOX1# ifconfig ath0 inet 172.31.0.5 netmask 255.255.255.252 media autoselect 
mediaopt hostap nwid testlink1 mode 11g chan 1
ifconfig: SIOCS80211CHANNEL: Invalid argument

That happens for everything I try to select for the channel number. If I omit 
the channel number, the card changes its
mode to 802.11g but the channel number stays from previous configuration:

BOX1# ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:02:6f:39:61:8b
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid testlink1 chan 52 bssid 00:02:6f:39:61:8b
inet6 fe80::202:6fff:fe39:618b%ath0 prefixlen 64 scopeid 0x4
inet 172.31.0.5 netmask 0xfffc broadcast 172.31.0.7

It is still not possible to select another channel number so I will unset that 
channel.
BOX1# ifconfig ath0 inet 172.31.0.5 netmask 255.255.255.252 media autoselect 
mediaopt hostap nwid testlink1 mode 11g
-chan 52

Now the box panics and reboots.

BOX1 dmesg with panic report:
OpenBSD 3.9-current (GENERIC-RD) #0: Tue May 16 13:38:36 CEST 2006
[EMAIL PROTECTED]:/data/soekris/flashboot/obj/GENERIC-RD
cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC 
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133787648 (130652K)
avail mem = 97685504 (95396K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ 

Re: AMD Duron crash in OpenBSD 3.9

2006-05-17 Thread Fernando Braga

On 5/16/06, Theo de Raadt [EMAIL PROTECTED] wrote:

and also, please try newer code.


Yes, it is running with -current:

OpenBSD 3.9-current (GENERIC) #741: Sun May 14 23:14:16 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache) 851 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 519598080 (507420K)
avail mem = 466477056 (455544K)
using 4256 buffers containing 26083328 bytes (25472K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/30/03, BIOS32 rev. 0 @
0xfdae0, SMBIOS rev. 2.3 @ 0xf0650 (25 entries)
bios0: ECS M810DLU
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf78e0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 SiS 740 PCI rev 0x01
ppb0 at pci0 dev 1 function 0 SiS 86C201 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 SiS 650 VGA rev 0x00: aperture at
0xc000, size 0x40
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25
pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 740: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: ST340015A
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: irq 5,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SiS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: irq 11,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SiS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 3 function 3 SiS 7002 USB rev 0x00: irq 10
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: SiS EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x90: irq 12,
address 00:0a:e6:fd:0a:b9
ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI
0x004063, model 0x0032
xl0 at pci0 dev 9 function 0 3Com 3c905 100Base-TX rev 0x00: irq 5,
address 00:60:08:0a:d5:1c
nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1
xl1 at pci0 dev 11 function 0 3Com 3c905B 100Base-TX rev 0x30: irq
11, address 00:50:da:7c:08:e5
exphy0 at xl1 phy 24: 3Com internal media interface
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Thanks,

--
Fernando M. Braga
Telemacro Informagues e Servigos
+55 82 2121-2100



Re: Soekris + atheros 802.11abg panic

2006-05-17 Thread Reyk Floeter
hi mitja,

On Wed, May 17, 2006 at 12:13:38PM +0200, Mitja wrote:
 It is still not possible to select another channel number so I will unset 
 that channel.
 BOX1# ifconfig ath0 inet 172.31.0.5 netmask 255.255.255.252 media autoselect 
 mediaopt hostap nwid testlink1 mode 11g
 -chan 52
 
 Now the box panics and reboots.
 

uh, that should not happen. thanks.

unfortunately, 802.11a/g may not work with most of the current ar5212
chipsets at the moment.

btw.: could you submit a bugreport with sendbug(1). misc@ is not the
preferred way to report bugs.

reyk

 fatal integer divide fault (8) in supervisor mode
 trap type 8 code 0 eip d02ea0ae cs 50 eflags 10a06 cr2 85f62408 cpl 50
 panic: trap type 8, code=0, pc=d02ea0ae
 Starting stack trace...
 panic(d191d820,0,d191d884,d0572eea,d083e6db) at panic+0xa4
 panic(d083e6db,8,0,d02ea0ae,8) at panic+0xa4
 trap() at trap+0x2b6
 --- trap (number 8) ---
 ar5k_ar5212_reset(d1ce8000,6,d191db30,1,d191db34,d1ce6682,14,dbc09010) at 
 ar5k_ar5212_reset+0x93a
 ath_chan_set(d1ce6000,d1ce6682,0,d191dbb0) at ath_chan_set+0xa8
 ath_newstate(d1ce6030,4,,d038f0c5) at ath_newstate+0xe6
 ieee80211_create_ibss(d1ce6030,d1ce6682,d191dd64,d04423c7) at 
 ieee80211_create_ibss+0x1e7
 ieee80211_end_scan(d1ce6030,d1ce629e,d191dd94,d03b4af3) at 
 ieee80211_end_scan+0x3f1
 ieee80211_next_scan(d1ce6030,14,d191ddc4,d03d28db) at ieee80211_next_scan+0xbd
 ath_next_scan(d1ce6000,d189e4e0,2710,0) at ath_next_scan+0x42
 softclock(d1910058,10,d17f0010,10,d191c000) at softclock+0x3cc
 Bad frame pointer: 0xd191de04
 End of stack trace.
 syncing disks... done
 
 
 If I repeate the process of changing modes and channel I can get the same 
 result on BOX2.
 
 BOX2 dmesg and panic report:
 OpenBSD 3.9-current (GENERIC-RD) #0: Tue May 16 13:38:36 CEST 2006
 [EMAIL PROTECTED]:/data/soekris/flashboot/obj/GENERIC-RD
 cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC 
 586-class) 267 MHz
 cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
 cpu0: TSC disabled
 real mem  = 133787648 (130652K)
 avail mem = 97685504 (95396K)
 using 1658 buffers containing 6791168 bytes (6632K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
 pcibios0 at bios0: rev 2.0 @ 0xf/0x1
 pcibios0: pcibios_get_intr_routing - function not supported
 pcibios0: PCI IRQ Routing information unavailable.
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xc8000/0x9000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Cyrix GXm PCI rev 0x00
 sis0 at pci0 dev 6 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 10, 
 address 00:00:24:c5:02:08
 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
 sis1 at pci0 dev 7 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 10, 
 address 00:00:24:c5:02:09
 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
 sis2 at pci0 dev 8 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 10, 
 address 00:00:24:c5:02:0a
 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
 ath0 at pci0 dev 14 function 0 Atheros AR5212 rev 0x01: irq 11
 ath0: AR5213 5.6 phy 4.1 rf5112 3.6, FCC2A*, address 00:02:6f:39:61:8b
 gscpcib0 at pci0 dev 18 function 0 NS SC1100 ISA rev 0x00
 gpio0 at gscpcib0: 64 pins
 NS SC1100 SMI rev 0x00 at pci0 dev 18 function 1 not configured
 pciide0 at pci0 dev 18 function 2 NS SCx200 IDE rev 0x01: DMA, channel 0 
 wired to compatibility, channel 1 wired to
 compatibility
 wd0 at pciide0 channel 0 drive 0: TOSHIBA THNCF128MMG
 wd0: 1-sector PIO, LBA, 122MB, 250368 sectors
 wd0(pciide0:0:0): using PIO mode 2
 geodesc0 at pci0 dev 18 function 5 NS SC1100 X-Bus rev 0x00: iid 6 revision 
 3 wdstatus 0
 ohci0 at pci0 dev 19 function 0 Compaq USB OpenHost rev 0x08: irq 5, 
 version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 isa0 at gscpcib0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
 gpio1 at nsclpcsio0: 29 pins
 gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
 npx0 at isa0 port 0xf0/16: using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom0: console
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 biomask f3e5 netmask ffe5 ttymask ffe7
 rd0: fixed, 30720 blocks
 pctr: no performance counters in CPU
 dkcsum: wd0 matches BIOS drive 0x80
 root on rd0a
 rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 ath0: device timeout
 panic: 

Re: can mixed case username receive email

2006-05-17 Thread Paul Pruett

good answer


On Tue, 16 May 2006, Claus Assmann wrote:


Date: Tue, 16 May 2006 13:08:43 -0700
From: Claus Assmann [EMAIL PROTECTED]
Reply-To: misc@openbsd.org
To: Paul Pruett [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: can mixed case username receive email

On Tue, May 16, 2006, Paul Pruett wrote:

Is there a way to deliver
email to usernames with mixed case?


See the FAQ for sendmail  http://www.sendmail.org/faq/

 + 4.17 How do I handle user names with upper-case characters?




Edimax EN-9230TX-32

2006-05-17 Thread Andy Hayward

Has anyone had any experiences with the Edimax EN-9230TX-32 gigabit
network adapter?
According to the technical documents at:

 http://www.edimax.com.tw/download/datasheet/EN-9230TX-32.pdf

It uses a Realtek 8169S chipset which is supported by the re(4) driver, however
this card isn't mentioned on either the manual page or the OpenBSD i386 hardware
page.

If there are no negative comments I'll probably buy one (they're only
10 GBP or so)
and report back.

-- ach



Re: [patch] Intel 945G/GM AGP support (including 945GM for X.org)

2006-05-17 Thread vladas

Dimitry Andric wrote:

Hi,

Here's a patch to add AGP support for Intel 945G and 945GM chipsets to
the kernel.  From the Linux driver it looks like these chips can be
handled similarly to the 915G and 915GM, so it should hopefully work
correctly by only adding the right PCI ID's everywhere.

However, at least one person I've asked to test this patch found out
that X.org does not support the 945GM (the mobile version) yet.  That
is what the second patch is for, so if you want to test this, and have
a laptop with 945GM, you need to rebuild both your kernel and X.org.

If you want to try out these patches, please report results with dmesg
and X.org log from before and after applying.

Cheers,
Dimitry



Hi all.

I do understand that I might be late with this test.
However, I do have the 945G (Dimitry, thank you for
your personal reply!) so I want to test it as well.

After rebuilding src/sys to the very -current I do/get this
(this is still before the Dimitry's patch).

# cd /usr
# export [EMAIL PROTECTED]:/cvs
# cvs -d$CVSROOT checkout XF4

# rm -rf /usr/Xbld
# mkdir -p /usr/Xbld
# cd /usr/Xbld
# lndir ../XF4
# make build

making all in programs/Xserver/Xext/extmod...
make: don't know how to make /usr/include/stdarg.h. Stop in 
/usr/Xbld/xc/program

s/Xserver/Xext/extmod.
*** Error code 2

Stop in /usr/Xbld/xc/programs/Xserver/Xext (line 1284 of Makefile).
*** Error code 1

Stop in /usr/Xbld/xc/programs/Xserver (line 1487 of Makefile).
*** Error code 1

Stop in /usr/Xbld/xc/programs (line 1119 of Makefile).
*** Error code 1

Stop in /usr/Xbld/xc (line 1060 of xmakefile).
*** Error code 1

Stop in /usr/Xbld/xc (line 1137 of xmakefile).
*** Error code 1

Stop in /usr/Xbld/xc (line 46 of Makefile).
*** Error code 1

Stop in /usr/Xbld (line 63 of Makefile).
*** Error code 1

Stop in /usr/Xbld (line 82 of Makefile).
#


Of course its me making the mistake. Only do not understand where.
Would be grateful if someone could enlighten me, the newbie. Yes,
I have read the faq5.htm.



Vladas



HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
hi [EMAIL PROTECTED]:

I have several computers, and i plan to install OpenBSD 3.9 on them. I
know how to setup a PXE boot install server, but i need one more future:
automatic fdisk hard disk and install package sets. Like kickstart and
autoyast.

What should i do? and how to do?

Any LINK? or article?

thanks.



Re: HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Stuart Henderson
On 2006/05/17 23:33, Michael Bibby wrote:
 I have several computers, and i plan to install OpenBSD 3.9 on them. I
 know how to setup a PXE boot install server, but i need one more future:
 automatic fdisk hard disk and install package sets. Like kickstart and
 autoyast.
 
 What should i do? and how to do?

build your own bsd.rd with custom install scripts,
look at release(8), src/distrib/miniroot



Re: HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
:)

thanks Stuart.

I will try it tomorrow.

2006/5/17, Stuart Henderson [EMAIL PROTECTED]:

 On 2006/05/17 23:33, Michael Bibby wrote:
  I have several computers, and i plan to install OpenBSD 3.9 on them. I
  know how to setup a PXE boot install server, but i need one more future:
  automatic fdisk hard disk and install package sets. Like kickstart and
  autoyast.
 
  What should i do? and how to do?

 build your own bsd.rd with custom install scripts,
 look at release(8), src/distrib/miniroot



Group editing

2006-05-17 Thread stupidmail4me
I've created a website. Let's say it's in /website.

What's the best way to give all 10 developers access
to those files? I can create a group called
webdevelopers and have that group own /website. I can
also change permissions to 775 on that directory so
that they can create files and directories. But then
that's as much as they can do, the developers can't
edit each others files. Is there any way to change the
umask for a directory and subdirectories?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: Group editing

2006-05-17 Thread Olivier Mehani
On Wed, May 17, 2006 at 08:28:28AM -0700, stupidmail4me wrote:
 What's the best way to give all 10 developers access
 to those files? I can create a group called
 webdevelopers and have that group own /website. I can
 also change permissions to 775 on that directory so
 that they can create files and directories. But then
 that's as much as they can do, the developers can't
 edit each others files. Is there any way to change the
 umask for a directory and subdirectories?

Have you considered giving the webdevelopers a CVS (or other versionning system)
access and having them modify their own local copy of the website, with some
mechanism to checkout the latest version of the website in /website ? This has
the other advantage to give you cheap backups in case something has gone wrong
and you want to revert to an older version of the site.

-- 
Olivier Mehani [EMAIL PROTECTED]



Re: Group editing

2006-05-17 Thread Matthew Weigel

stupidmail4me wrote:

I've created a website. Let's say it's in /website.

What's the best way to give all 10 developers access
to those files?


CVS.  Maybe Subversion, or some other SCM system.

10 developers is enough to get complicated, they'll probably need a 
little help not stepping on each others' toes.


Write a small script to check out the latest version of the repository 
into /website (and probably drop all the CVS directories?).  Make it 
something all the developers can invoke, if you want them to be able to 
update the site at any time; possibly through sudo (as a web-writing 
user, not root).



I can create a group called
webdevelopers and have that group own /website.


Restrict the above sudo command to that group.
--
 Matthew Weigel
 hacker
 [EMAIL PROTECTED]



Product accessibility

2006-05-17 Thread Robert Soricone
Does OpenBSD provide a completed Voluntary Product Accessibility Template 
(
http://www.itic.org/archives/articles/20040506/voluntary_product_accessibility_template.php)
 
showing section 508 compliance?  Section 508 requires that electronic and 
information technology developed, procured, maintained, or used by the 
Federal Government be accessible to people with disabilities in a 
comparable manner that it is to those who do not have disabilities. If 
not, would it be possible to get a statement from OpenBSD outlining how 
the operating system provides comparable access to information for people 
with disabilities?  We are currently using OpenBSD for all of our servers 
providing network services.

Thanks,
Robert Soricone
[EMAIL PROTECTED]



Re: Product accessibility

2006-05-17 Thread Ted Unangst

On 5/17/06, Robert Soricone [EMAIL PROTECTED] wrote:

Does OpenBSD provide a completed Voluntary Product Accessibility Template
(
http://www.itic.org/archives/articles/20040506/voluntary_product_accessibility_template.php)
showing section 508 compliance?  Section 508 requires that electronic and
information technology developed, procured, maintained, or used by the
Federal Government be accessible to people with disabilities in a
comparable manner that it is to those who do not have disabilities. If
not, would it be possible to get a statement from OpenBSD outlining how
the operating system provides comparable access to information for people
with disabilities?  We are currently using OpenBSD for all of our servers
providing network services.


i would say it mostly doesn't apply.  nearly everything refers to
applications providing some sort of consistent graphical interface.
openbsd itself is essentially text only.

for example: A well-defined on-screen indication of the current focus
shall be provided that moves among interactive interface elements as
the input focus changes.  this depends totally on what window manager
you pick.  there are hundreds of choices.



Re: Product accessibility

2006-05-17 Thread Darrin Chandler
On Wed, May 17, 2006 at 10:55:21AM -0700, Ted Unangst wrote:
 for example: A well-defined on-screen indication of the current focus
 shall be provided that moves among interactive interface elements as
 the input focus changes.  this depends totally on what window manager
 you pick.  there are hundreds of choices.

And some of them are concerned with section 508 compliance, and have
info about it on their web sites, forums, and mailing lists. A quick
google for section.508 kde or section.508 gnome turns up some useful
links.

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



Re: Product accessibility

2006-05-17 Thread Daniel Ouellet

Robert Soricone wrote:
Does OpenBSD provide a completed Voluntary Product Accessibility Template 
(
http://www.itic.org/archives/articles/20040506/voluntary_product_accessibility_template.php) 
showing section 508 compliance?  Section 508 requires that electronic and 
information technology developed, procured, maintained, or used by the 
Federal Government be accessible to people with disabilities in a 
comparable manner that it is to those who do not have disabilities. If 
not, would it be possible to get a statement from OpenBSD outlining how 
the operating system provides comparable access to information for people 
with disabilities?  We are currently using OpenBSD for all of our servers 
providing network services.


Thanks,
Robert Soricone
[EMAIL PROTECTED]


Hi Robert,

That doesn't answer your question, but however I am glad to see that 
some part of the Government does use some secure way to protect their data.


As a tax payers I can appreciate that very much and I sure command you 
for doing so!


However, I sadly do not see the name of the USGS Government agency on 
the donation page of OpenBSD here: http://openbsd.org/donations.html.


I am sure that was an over site from your agency that can easily be 
corrected by supporting it's own needs for secure data protections and 
funds the ongoing development of OpenBSD for it's use as well as many 
tax payers too in the process.


So, as one of many tax payers I sure would appreciate very much to see 
my dollars spend on worth while and secure product like OpenBSD instead 
of way overprice and unsecured Microsoft products for the benefit of 
your agency as well as all the one that contribute to your operation via 
their tax dollars.


Like many tax payers, we fell many times that our money is miss use or 
plainly waisted. However, if you would come to realize the importance 
and see the benefit to fund the development of the OpenBSD project and 
OpenSSH, as you clearly and wisely realize the benefit of using it for 
it's security and efficiency like many of us do as well, I am sure we 
would all see it as tax payers as a well thought and manage process to 
direct some of our tax dollars to the continuous development of the most 
secure OS available for the benefit of all.


Having a secure OS and well maintain in this day and age is a must have 
and as a tax payers, see my tax dollars spend wisely on a secure OS, 
second to none like OpenBSD for your benefit and all of us, would be 
seen as a better and improve management of the public funds for the 
benefit of all!


I am sure many tax payers would finally see it as a wise choice in 
spending and I sure would not be the one saying the Government would 
spend to much in that area for once!


I sure hope you can do something in that area for your benefit, our 
benefit and the OpenBSD project benefit as well and I wish you success 
in your venture as I am sure you already started in the right direction 
by using OpenBSD.


Regards,

Daniel Ouellet
Small Business Owner
And Tax Payers.



Re: Group editing

2006-05-17 Thread stupidmail4me
I've thought about this yes, but the developers aren't
that tech savvy to understand cvs. They'll most likely
be using FTP. I know I know, use cvs.

--- Olivier Mehani [EMAIL PROTECTED] wrote:

 On Wed, May 17, 2006 at 08:28:28AM -0700,
 stupidmail4me wrote:
  What's the best way to give all 10 developers
 access
  to those files? I can create a group called
  webdevelopers and have that group own /website. I
 can
  also change permissions to 775 on that directory
 so
  that they can create files and directories. But
 then
  that's as much as they can do, the developers
 can't
  edit each others files. Is there any way to change
 the
  umask for a directory and subdirectories?
 
 Have you considered giving the webdevelopers a CVS
 (or other versionning system)
 access and having them modify their own local copy
 of the website, with some
 mechanism to checkout the latest version of the
 website in /website ? This has
 the other advantage to give you cheap backups in
 case something has gone wrong
 and you want to revert to an older version of the
 site.
 
 -- 
 Olivier Mehani [EMAIL PROTECTED]
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: Group editing

2006-05-17 Thread Eric Pancer
On Wed, 2006-05-17 at 08:28:28 -0700, stupidmail4me proclaimed...

 I've created a website. Let's say it's in /website.
 
 What's the best way to give all 10 developers access
 to those files? I can create a group called
 webdevelopers and have that group own /website. I can
 also change permissions to 775 on that directory so
 that they can create files and directories. But then
 that's as much as they can do, the developers can't
 edit each others files. Is there any way to change the
 umask for a directory and subdirectories?
 
I always use a sgid bit on a directory..

drwxrws--x   4 bob  exampleorg  512 Nov 15  2003 example.org

This just means that bob owns the directory, but anyone in the
exampleorg group can manipulate files, etc.



Re: Group editing

2006-05-17 Thread L. V. Lammert

At 10:59 AM 5/17/2006 -0700, stupidmail4me wrote:

I've thought about this yes, but the developers aren't
that tech savvy to understand cvs. They'll most likely
be using FTP. I know I know, use cvs.


How about one of the GUI CVS clients? They can be setup just like most ftp 
programs, .. and nobody can say they're too complicated.


Also, if the developers are using Dreamweaver, there are a number of CVS 
plugins that work just fine (Google is your friend).


Bottom line - it might be worth the effort to push a little for a 
multi-developer-usable system.


Lee



Re: Group editing

2006-05-17 Thread Eric Pancer
On Wed, 2006-05-17 at 12:10:27 -0700, stupidmail4me proclaimed...

 That's exactly what I was trying to do, but I can't
 get chmod to work as I want it to. Any help?

Um, it's really not difficult if you read the manpage for chmod.

$ chmod g+s /var/www/html/this/is/a/dir/



Re: make install is not the same as pkg_add' ?

2006-05-17 Thread Andreas Maus

Thanks for all your help.
Now it is cristal clear ;)

Although using ports for years, I should read the fine manual pages
before posting ;)

... next step, kill the penguin OS on my desktop (this was just my laptop)
and install a reliable OS ;)

Andreas.



Re: Group editing

2006-05-17 Thread stupidmail4me
i agree, but it's not working.

# mkdir /webpage
# chown user1:webdev /webpage
# chmod 2775 /webpage
# ls -ld /webpage
- drwxrwsr-x  2 user1webdev 512 May 17 15:49
webpage
# cd /webpage
# touch file
# ls -l file
- -rw-r--r--  1 user1  webdev  0 May 17 15:50 file

not what i want or expect?

--- Eric Pancer
[EMAIL PROTECTED] wrote:

 On Wed, 2006-05-17 at 12:10:27 -0700, stupidmail4me
 proclaimed...
 
  That's exactly what I was trying to do, but I
 can't
  get chmod to work as I want it to. Any help?
 
 Um, it's really not difficult if you read the
 manpage for chmod.
 
 $ chmod g+s /var/www/html/this/is/a/dir/
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Using cursor keys with VIM...

2006-05-17 Thread Ken Morley
I am new to OpenBSD 3.8, but have a lot of experience with SuSE  RedHat
Linuxes.



The problem is that I've always been able to use the cursor keys when
editing with VIM under

SuSE and RedHat and I can't seem to break the habit.  So, I keep
trashing the file I'm working on

by using the control keys.



I currently use VanDyke's Secure-CRT 5.0 terminal emulation software.
No matter how I configure

OpenBSD or the terminal emulation software, I can't find a combination
that will correct the problem.



If you have a suggestion other than removing those keys from the
keyboard, I would love to hear it.



Thanks very much!



Ken Morley



Re: Using cursor keys with VIM...

2006-05-17 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
 The problem is that I've always been able to use the cursor keys when
 editing with VIM under
 SuSE and RedHat and I can't seem to break the habit.  So, I keep
 trashing the file I'm working on
 by using the control keys.
 
 I currently use VanDyke's Secure-CRT 5.0 terminal emulation software.
 No matter how I configure
 OpenBSD or the terminal emulation software, I can't find a combination
 that will correct the problem.
 
 If you have a suggestion other than removing those keys from the
 keyboard, I would love to hear it.

You could learn vi(m) navigation the *right* way and move your cursor with
h,j,k,l.

The vimtutor app is quite helpful.

:wq

DS



Re: Using cursor keys with VIM...

2006-05-17 Thread Ted Unangst

On 5/17/06, Ken Morley [EMAIL PROTECTED] wrote:

The problem is that I've always been able to use the cursor keys when
editing with VIM under

SuSE and RedHat and I can't seem to break the habit.  So, I keep
trashing the file I'm working on
by using the control keys.
I currently use VanDyke's Secure-CRT 5.0 terminal emulation software.
No matter how I configure

OpenBSD or the terminal emulation software, I can't find a combination
that will correct the problem.


use a decent .vimrc.  most people's complaints about vim (whether it
does too much or it does too little) all come from not having or
not knowing what's in .vimrc.  you're probably in need of set
nocompatible at a minimum.



Re: Is Marvell 88E8053 supported?

2006-05-17 Thread Dmitrij D. Czarkoff
On Tuesday 16 May 2006 22:51, you wrote:
 I had that chipset working under 3.8.  My current board has the
 Marvell 88E8001 and it works just fine having been upgraded from 3.8.
  If you can't post the full dmesg you should at least transcribe the
 error otherwise you're unlikely to get any help.

Thank You for reply. I'll install OpenBSD once more and post the full
dmesg here.

--
.0.
..0
000

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



Re: Is Marvell 88E8053 supported?

2006-05-17 Thread Jonathan Gray
On Wed, May 17, 2006 at 06:52:29PM +0400, Dmitrij D. Czarkoff wrote:
 On Tuesday 16 May 2006 22:51, you wrote:
  I had that chipset working under 3.8.  My current board has the
  Marvell 88E8001 and it works just fine having been upgraded from 3.8.
   If you can't post the full dmesg you should at least transcribe the
  error otherwise you're unlikely to get any help.
 
 Thank You for reply. I'll install OpenBSD once more and post the full
 dmesg here.

The 88E8053 is not currently supported.



This board K8N Neo4-F work on OpenBSD

2006-05-17 Thread uv negativa

hi
i need buy one board for amd 64 and i look K8N Neo4-F
http://www.msimiami.com/spanish/products/detail_spec/K8N_Neo4-F_spa.htm

this board work fine ?
somebody probe this board?

tanks



Fast RAID configurations

2006-05-17 Thread Chris Cappuccio
What RAID configurations (controller model and disk) are fastest for people?

I assume that ami or gdt controllers are preferred?  Which LSI or other
controller is fastest?  What disks do you match up with it?

How many transactions/sec (as you can see from 'iostat 1') or io/sec (as
seen from bonnie++ or similar programs) do you max out at in your
configuration?



Re: Using cursor keys with VIM...

2006-05-17 Thread Sam Chill

On 5/17/06, Ken Morley [EMAIL PROTECTED] wrote:

I am new to OpenBSD 3.8, but have a lot of experience with SuSE  RedHat
Linuxes.

Welcome!


The problem is that I've always been able to use the cursor keys when
editing with VIM under

SuSE and RedHat and I can't seem to break the habit.  So, I keep
trashing the file I'm working on by using the control keys.

The first thing I do on my OpenBSD boxes after installing vim is to cd
/usr/local/share/vim/vim?? (where ?? correspondes to the version of
vim you are running for me it is 70 but for you it will probably be 6
something) and I copy the file vimrc_example.vim to ../vimrc
(/usr/local/share/vim/vimrc) and edit it as I see fit. It provides
some sane defaults and makes vim very usable for me. The other option
would be to copy it to ~/.vimrc.


Thanks very much!

You're welcome!


Ken Morley

Sam Chill



user and password proxy

2006-05-17 Thread Julian Bolivar

Hello every body,

I'm trying to download packages and ports from openBSD's mirrors but I 
need to pass by a proxy, I defined the http_proxy and ftp_proxy in ksh


export http_proxy=http://proxy:port
export ftp_proxy=ftp://proxy:port

and it work fine, but when I try to use a user-password proxy I defined 
the variables:


export http_proxy=http://user:[EMAIL PROTECTED]:port
export ftp_proxy=ftp://user:[EMAIL PROTECTED]:port

but it din't work,  any one know how I can define the proxy's user and 
password?


Thanks and Regards,

Julian Bolivar



Re: b/g wifi card on wi list?

2006-05-17 Thread Theo de Raadt
 I was looking through the list of wireless PCMCIA cards known to be
 supported from the man page for wi(4), but it appears that all of those are
 just 802.11b cards.  I'd prefer to get one that also supports g mode
 Any recommendations?

Different drivers for different devices:

an (4) - Aironet Communications 4500/4800 IEEE 802.11FH/b wireless network 
driver
ath (4) - Atheros IEEE 802.11a/b/g wireless network driver
atu (4) - Atmel AT76C50x USB IEEE 802.11b wireless network driver
atw (4) - ADMtek ADM8211 IEEE 802.11b wireless network driver
awi (4) - BayStack 650 IEEE 802.11FH PCMCIA wireless network driver
ipw (4) - Intel PRO/Wireless 2100 IEEE 802.11b wireless network driver
iwi (4) - Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11a/b/g wireless 
network driver
ral, ural (4) - Ralink Technology IEEE 802.11a/b/g wireless network driver
ray (4) - Raytheon Raylink/WebGear Aviator IEEE 802.11FH wireless network driver
rln (4) - Proxim RangeLAN2 IEEE 802.11b wireless network driver
rtw (4) - Realtek RTL8180L IEEE 802.11b wireless network driver
wi (4) - WaveLAN/IEEE, PRISM 2-3, and Spectrum24 IEEE 802.11b wireless network 
driver
wpi (4) - Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless network driver



Re: Is Marvell 88E8053 supported?

2006-05-17 Thread Michael Bibby
On Wed, May 17, 2006 at 06:52:29PM +0400, Dmitrij D. Czarkoff wrote:

 On Tuesday 16 May 2006 22:51, you wrote:

  I had that chipset working under 3.8.  My current board has the
  Marvell 88E8001 and it works just fine having been upgraded from 3.8.
   If you can't post the full dmesg you should at least transcribe the
  error otherwise you're unlikely to get any help.


 Thank You for reply. I'll install OpenBSD once more and post the full
 dmesg here.


The 88E8053 is not currently supported.

YES.

Two weeks ago, I install OpenBSD 3.8 on my laptop, the NIC is Marvell
88E8053.
Although it can found the NIC(skc2), but can't drive it correctly.

I sent mail to the vendor, but they said they have no plan to develop driver
for
OBSD.

You can visit 'www.marvell.com', they provide drivers for
FREEBSD(Binary package) and LINUX(Open Source). Maybe
someone can port it to OpenBSD.

Best regards.

BIBBY.