Hi experts!

I am working with a "Linksys WMP54G Wireless-G PCI Adapter" under OpenBSD 4.1. When I launch "dhclient ral0" it works perfectly (or assign directly and ip address using ifconfig). However the problem arrive some seconds later, that are changed the flags from "ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>" to "ral0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST>" and the wireless card does not continue working. I need then to launch "ifconfig ral0 down && dhclient ral0" (or assign the IP using ifconfig).

Is this a known issue? is a possible bug? or should I force some specific parameters in my wireless card?

Below included ifconfig when the wireless card is working correctly and some seconds/minutes later when it does not work:

Log ifconfig when wireless card is working fine:
----------------------------------------------------------------
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
       groups: lo
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
       lladdr 00:1a:4d:4c:18:b1
       media: Ethernet autoselect (10baseT half-duplex)
       status: no carrier
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       lladdr 00:1a:70:ac:9d:85
       groups: wlan egress
       media: IEEE802.11 autoselect (OFDM54 mode 11g)
       status: active
ieee80211: nwid blackhats.es chan 11 bssid 00:1a:70:97:aa:c0 49dB 100dBm
       inet6 fe80::21a:70ff:feac:9d85%ral0 prefixlen 64 scopeid 0x2
       inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
pflog0: flags=0<> mtu 33224
enc0: flags=0<> mtu 1536

Log ifconfig when wireless card is NOT working fine:
------------------------------------------------------------------------
# ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
       groups: lo
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
       lladdr 00:1a:4d:4c:18:b1
       media: Ethernet autoselect (10baseT half-duplex)
       status: no carrier
ral0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
       lladdr 00:1a:70:ac:9d:85
       groups: wlan egress
       media: IEEE802.11 autoselect (OFDM54 mode 11g)
       status: active
ieee80211: nwid blackhats.es chan 11 bssid 00:1a:70:97:aa:c0 50dB 100dBm
       inet6 fe80::21a:70ff:feac:9d85%ral0 prefixlen 64 scopeid 0x2
       inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
pflog0: flags=0<> mtu 33224
enc0: flags=0<> mtu 1536
#

dmesg command output included to have more possible clues:
--------------------------------------------------------------------------------
OpenBSD 4.1 (overdrivemp) #5: Mon Nov  5 02:38:33 GMT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/overdrivemp
cpu0: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 2145873920 (2095580K)
avail mem = 1952587776 (1906824K)
using 4278 buffers containing 107417600 bytes (104900K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 05/11/07, BIOS32 rev. 0 @ 0xfb710, SMBIOS rev. 2.4 @ 0xf0100 (40 entries)
bios0: Gigabyte Technology Co., Ltd. P35-DS3P
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xded4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd90/288 (16 entries)
pcibios0: PCI Exclusive IRQs: 3 5 6 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GH LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf600
acpi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266 MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
cpu2 at mainbus0: apid 3 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
cpu3 at mainbus0: apid 1 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type PCI mainbus0: bus 5 is type PCI mainbus0: bus 6 is type ISA ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x29c0 rev 0x02 ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x29c1 rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x7280 rev 0x9a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "ATI", unknown product 0x72a0 (class display subclass miscellaneous, rev 0x9a) at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x2937 rev 0x02: apic 4 int 16 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1 vendor "Intel", unknown product 0x2938 rev 0x02: apic 4 int 21 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 26 function 2 vendor "Intel", unknown product 0x2939 rev 0x02: apic 4 int 18 (irq 9)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 26 function 7 vendor "Intel", unknown product 0x293c rev 0x02: apic 4 int 18 (irq 9)
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
azalia0 at pci0 dev 27 function 0 vendor "Intel", unknown product 0x293e rev 0x02: apic 4 int 22 (irq 3)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x10ec (rev. 1.1), HDA version 1.0
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 vendor "Intel", unknown product 0x2940 rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 4 vendor "Intel", unknown product 0x2948 rev 0x02
pci3 at ppb2 bus 3
pciide0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x02: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 4 int 16 (irq 10) for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PIONEER, DVD-RW DVR-112D, 1.21> SCSI0 5/cdrom removable
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ppb3 at pci0 dev 28 function 5 vendor "Intel", unknown product 0x294a rev 0x02
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 4 int 17 (irq 5), address 00:1a:4d:4c:18:b1
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x2934 rev 0x02: apic 4 int 23 (irq 6)
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 1 vendor "Intel", unknown product 0x2935 rev 0x02: apic 4 int 19 (irq 11)
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
uhci5 at pci0 dev 29 function 2 vendor "Intel", unknown product 0x2936 rev 0x02: apic 4 int 18 (irq 9)
usb6 at uhci5: USB revision 1.0
uhub6 at usb6
uhub6: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7 vendor "Intel", unknown product 0x293a rev 0x02: apic 4 int 23 (irq 6)
usb7 at ehci1: USB revision 2.0
uhub7 at usb7
uhub7: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub7: 6 ports with 6 removable, self powered
ppb4 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x92
pci5 at ppb4 bus 5
ral0 at pci5 dev 1 function 0 "Ralink RT2561S" rev 0x00: apic 4 int 19 (irq 11), address 00:1a:70:ac:9d:85
ral0: MAC/BBP RT2561C, RF RT2527
"TI TSB43AB23 FireWire" rev 0x00 at pci5 dev 6 function 0 not configured
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x2916 rev 0x02 pciide1 at pci0 dev 31 function 2 vendor "Intel", unknown product 0x2920 rev 0x02: DMA (unsupported), channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: <ST3250410AS>
wd0: 16-sector PIO, LBA48, 238474MB, 488395055 sectors
wd1 at pciide1 channel 1 drive 0: <ST3250410AS>
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
vendor "Intel", unknown product 0x2930 (class serial bus subclass SMBus, rev 0x02) at pci0 dev 31 function 3 not configured pciide2 at pci0 dev 31 function 5 vendor "Intel", unknown product 0x2926 rev 0x02: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide2: using apic 4 int 19 (irq 11) for native-PCI interrupt
pciide2: channel 0 ignored (not responding; disabled or no drives?)
pciide2: channel 1 ignored (not responding; disabled or no drives?)
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
apm0: disconnected
uhidev0 at uhub6 port 2 configuration 1 interface 0
uhidev0: Chicony Saitek Eclipse Keyboard, rev 2.00/1.30, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub6 port 2 configuration 1 interface 1
uhidev1: Chicony Saitek Eclipse Keyboard, rev 2.00/1.30, addr 2, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 1: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=0, output=0, feature=4
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
wsdisplay0: screen 8 added (80x25, vt100 emulation)
wsdisplay0: screen 9 added (80x25, vt100 emulation)
wsdisplay0: screen 10 added (80x25, vt100 emulation)
wsdisplay0: screen 11 added (80x25, vt100 emulation)



Thanks,

Overdrive.

Reply via email to