Ok, so... I have asus wl108g a marvell chipset.
I'm running: FreeBSD silentbox 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue
May 23 14:58:27 UTC 2006
root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
The card can't accosiate with APs, only with Ad-Hoc modes cards!?????
I've found a drivers for 'client' mode card at asus site and
compiled
it with ndisgen.
the driver loads ok after kldload:
---------------
no match for ObfReferenceObject
no match for _except_handler3
no match for MmProbeAndLockPages
no match for MmUnlockPages
ndis0: <ASUS 802.11b/g Network Adapter> mem
0xd3110000-0xd311ffff,0xd3100000-0xd310ffff irq 5 at device 8.0 on pci1
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:11:d8:85:ca:0f
ndis0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 1Mbps 2Mbps 5.5Mbps 11Mbps
---------------
the card is in ifconfig ndis0:
#>ifconfig ndis0
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ether 00:11:d8:85:ca:0f
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid ""
channel -1 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode OFF weptxkey 1
ok, so here we go...
on one computer (a linux box) I set:
#>iwconfig wlan0 essid test channel 1 enc 12345678901234567890123456
mode Ad-Hoc
on the fbsd box I do:
#>ifconfig ndis0 ssid test channel 1 weptxkey 1 wepkey
1:0x12345678901234567890123456 wepmode on mediaopt adhoc up
and I get the ndis0 card associated with test ssid to the other linux
box card! Even running encryption.
but when I do:
#>ifconfig ndis0 ssid myap channel 9 weptxkey 1 wepkey
1:0x3974d8d297cc86284ca4e4251f wepmode on up
well... nothing happens, the card blinks a few times for transmission
and nothing, stays in status no carrier and an empty ssid!
I can't get the point? I've tested setting other mediaopt than Adhoc
but the driver returns error....
Please HELP!
Thank you very much!
Any ideas are welcome!
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.