Hi,

(sorry my bad english, i am speak spanish)

I'm trying to setup a HostAP on my Openbsd.
I 've a car DWL-G520. The card was detected by OpenBSD 3.7, dmesg
output:

# dmesg |grep ath
ath0 at pci0 dev 4 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: mac 112.9 phy 4.5 radio 5.6 5.6, 802.11a/b/g, FCC1A, address
00:11:95:c2:0c:48
gpio at ath0 not configured

I try,

#ifconfig ath0 inet 192.168.0.2 netmask 255.255.255.0 media autoselect
mediaopt hostap nwid wifi chan 11

#ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        lladdr 00:11:95:c2:0c:48
        ieee80211: nwid wifi chan 11 bssid 00:11:95:c2:0c:48
        media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
        status: active
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::211:95ff:fec2:c48%ath0 prefixlen 64 scopeid 0x2

My problem is a DWL-G520 in mode HostAP no working...

I try to setup a Client my card:

ifconfig ath0 inet 192.168.0.2 netmask 255.255.255.0 nwid redwifi

# ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        lladdr 00:11:95:c2:0c:48
        ieee80211: nwid redwifi
        media: IEEE802.11 autoselect (DS1)
        status: no network
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255

My Card in mode Client no working :(


any idea of what could i do to fix the problem ?

thanks :)


Luis Sandoval


full dmesg:
# dmesg
OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 346 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 200908800 (196200K)
avail mem = 176566272 (172428K)
using 2478 buffers containing 10149888 bytes (9912K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2a) BIOS, date 01/21/99, BIOS32 rev. 0 @
0xfa0c0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xfa040/0x1000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa040/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:20:0 ("VIA VT82C586 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x10000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C598 PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mach64 LB" rev 0xdc
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 3 function 0 "Realtek 8139" rev 0x10: irq 11 address
00:40:f4:6d:99:48
rlphy0 at rl0 phy 0: RTL internal phy
ath0 at pci0 dev 4 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: mac 112.9 phy 4.5 radio 5.6 5.6, 802.11a/b/g, FCC1A, address
00:11:95:c2:0c:48
gpio at ath0 not configured
dc0 at pci0 dev 5 function 0 "DEC 21142/3" rev 0x41: irq 10, address
00:08:c7:9e:4a:81
dcphy0 at dc0 phy 31: internal PHY
pcib0 at pci0 dev 20 function 0 "VIA VT82C586 ISA" rev 0x45
pciide0 at pci0 dev 20 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC26400B>
wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors
wd1 at pciide0 channel 0 drive 1: <Maxtor 34098H4>
wd1: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CRD-8322B, 1.06> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 20 function 2 "VIA VT83C572 USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"VIA VT82C586 Power Mgmt" rev 0x10 at pci0 dev 20 function 3 not
configured
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 (mux 1 ignored for console): console keyboard, using
wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
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
biomask e74d netmask ef4d ttymask ffcf
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
wd1: no disk label
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted

Reply via email to