NDIS/Project Evil AirLink101 AWLC3025 802.11g
Allan Fields
bsd at afields.ca
Fri Jun 3 16:14:31 GMT 2005
Tried to get this generic brand CardBus 11g card working under 5.4
on my laptop..
No luck with either native or NDIS drivers. (Texas Instruments
chipset I beleive.. ) Some luck getting NDIS to respond, but no
luck getting it to work. Details attached..
Keep getting lines like: "wir00: unknown speed: 540000" when the
interface is brought up, but still no carrier. The link light
is steady and I can see activity.
Reading the code it seems that the speed is exported from the
code in the NDIS driver (binary only), is this correct?
In short, I'll likely bring it back, but in future someone might
have some luck if they can get past these speed errors.
Any way to make it work?
---[script -a /tmp/wir00.log:]-----
Script started on Fri Jun 3 11:44:50 2005
You have mail.
inspiron# cd /sys/modules/if_ndis
inspiron# cp /cdrom/Driver/win2k/TNET1130.INF .
inspiron# cp /cdrom/Driver/win2k/tnet1130.sys .
inspiron# ndiscvt -i TNET1130.INF -s tnet1130.sys -n wir0 -o ndis_driver_data.h
[ .. ]
inspiron# make install
[ .. ]
inspiron# mkdir /compat/ndis
inpsiron# cp /cdrom/Driver/win2k/FwRad16.bin /compat/ndis
inspiron# kldload ndis
inspiron# kldload if_ndis
cardbus1: Expecting link target, got 0xbb
cardbus1: Resource not specified in CIS: id=10, size=2000
cardbus1: Resource not specified in CIS: id=14, size=20000
wir00: <802.11g Wireless CardBus PC Card> mem 0xf2040000-0xf205ffff,0xf2060000-0
xf2061fff irq 10 at device 0.0 on cardbus1
wir00: NDIS API version: 5.0
wir00: Ethernet address: 00:e0:98:d8:5a:6d
inspiron# kldstat
Id Refs Address Size Name
1 15 0xc0400000 5e2a48 kernel
2 2 0xc09e3000 1b3ec linux.ko
3 1 0xc09ff000 3f0b68 nvidia.ko
4 14 0xc0df0000 56270 acpi.ko
5 2 0xc2ed1000 11000 ndis.ko
6 1 0xc2ee2000 78000 if_ndis.ko
inspiron# sysctl dev.wir0.0.dot11NetworkType=1
dev.wir0.0.dot11NetworkType: 3 -> 1
inspiron# sysctl dev.wir0.0.dot11DesiredChannel=11
dev.wir0.0.dot11DesiredChannel: 1 -> 11
inspiron# sysctl dev.wir0.0.dot11PowerMode=1
dev.wir0.0.dot11PowerMode: 0 -> 1
inspiron# sysctl dev.wir0.0.dot11DesiredSSID=<ssid>
dev.wir0.0.dot11DesiredSSID: UNSET -> <ssid>
inspiron# sysctl dev.wir0.0.dot11AuthenticationMode=1
dev.wir0.0.dot11AuthenticationMode: UNSET -> 1
inspiron# sysctl dev.wir0.0.dot11WEPStatus=1
dev.wir0.0.dot11WEPStatus: UNSET -> 1
inspiron# sysctl dev.wir0.0.dot11WEPDefaultKeyID=1
dev.wir0.0.dot11WEPDefaultKeyID: 0 -> 1
inspiron# sysctl dev.wir0.0.dot11WEPDefaultKey1=<wepkey>
dev.wir0.0.dot11WEPDefaultKey1: UNSET -> <wepkey>
inspiron# sysctl dev.wir0.0.dot11StationID=INSPIRON
dev.wir0.0.dot11StationID: UNSET -> INSPIRON
inspiron# sysctl dev.wir0.0.dot11DesiredTxRate=15
dev.wir0.0.dot11DesiredTxRate: UNSET -> 15
inspiron# killall -9 dhclient
No matching processes were found
inspiron# ifconfig wir00
wir00: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ether 00:e0:98:d8:5a:6d
media: Ethernet autoselect
status: no carrier
inspiron# ifconfig wir00 up
inspiron# ifconfig
wir00: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::2e0:98ff:fed8:5a6d%wir00 prefixlen 64 scopeid 0x5
ether 00:e0:98:d8:5a:6d
wir00: unknown speed: 540000
wir00: unknown speed: 540000
media: Ethernet autoselect
status: no carrier
inspiron#
Script done on Fri Jun 3 11:55:24 2005
---[/tmp/wir00.sysctl:]-----
sysctl dev.wir0.0.DisableSsidPending=1
sysctl dev.wir0.0.dot11WEPDefaultKeyID=1
sysctl dev.wir0.0.dot11PowerMode=1
sysctl dev.wir0.0.dot11RoamingEnable=0
sysctl dev.wir0.0.dot11NetworkType=1
sysctl dev.wir0.0.dot11DesiredChannel=11
sysctl dev.wir0.0.PrivacyMode=1
sysctl dev.wir0.0.dot11DesiredSSID=<ssid>
sysctl dev.wir0.0.dot11DesiredTxRate=15
sysctl dev.wir0.0.dot11AuthenticationMode=1
sysctl dev.wir0.0.dot11WEPStatus=1
#sysctl dev.wir0.0.MixedMode=0
sysctl dev.wir0.0.dot11WEPDefaultKey1=<wepkey>
#sysctl dev.wir0.0.dot11WEPDefaultKey2=UNSET
#sysctl dev.wir0.0.dot11WEPDefaultKey3=UNSET
#sysctl dev.wir0.0.dot11WEPDefaultKey4=UNSET
sysctl dev.wir0.0.dot11BackgroundScanEnable=1
sysctl dev.wir0.0.dot11StationID=INSPIRON
---[syctl -a|grep wir0:]-----
inspiron# sysctl -a|grep wir0
dev.wir0.0.%desc: 802.11g Wireless CardBus PC Card
dev.wir0.0.%driver: wir0
dev.wir0.0.%location: slot=0 function=0
dev.wir0.0.%pnpinfo: vendor=0x104c device=0x9066 subvendor=0x13d1 subdevice=0xab80 class=0x028000
dev.wir0.0.%parent: cardbus1
dev.wir0.0.dot11DesiredBSSType: 1
dev.wir0.0.WiFiAdhoc: 0
dev.wir0.0.DisableSsidPending: 1
dev.wir0.0.dot11WEPDefaultKeyID: 0
dev.wir0.0.dot11PowerMode: 0
dev.wir0.0.dot11FragmentationThreshold: 4096
dev.wir0.0.dot11RTSThreshold: 4096
dev.wir0.0.Mode4x: 0
dev.wir0.0.dot11SupportedRateMask: 8
dev.wir0.0.dot11BasicRateMask: 1
dev.wir0.0.dot11RadioDisableSupport: 1
dev.wir0.0.dot11RoamingEnable: 0
dev.wir0.0.dot11NetworkType: 3
dev.wir0.0.dot11DesiredChannel: 1
dev.wir0.0.PrivacyMode: 0
dev.wir0.0.utlPrivacyMode: 0
dev.wir0.0.utlAuthenticationMode: 0
dev.wir0.0.Environment: 1
dev.wir0.0.NdisVersion: 0x00050001
dev.wir0.0.BusType: 5
dev.wir0.0.InterruptNumber: 10
dev.wir0.0.RateAdaptationTable0: UNSET
dev.wir0.0.RateAdaptationFBThd0: UNSET
dev.wir0.0.RateAdaptationSUThd0: UNSET
dev.wir0.0.RateAdaptationTable1: UNSET
dev.wir0.0.RateAdaptationFBThd1: UNSET
dev.wir0.0.RateAdaptationSUThd1: UNSET
dev.wir0.0.RateAdaptationTable2: UNSET
dev.wir0.0.RateAdaptationFBThd2: UNSET
dev.wir0.0.RateAdaptationSUThd2: UNSET
dev.wir0.0.RateAdaptationTable3: UNSET
dev.wir0.0.RateAdaptationFBThd3: UNSET
dev.wir0.0.RateAdaptationSUThd3: UNSET
dev.wir0.0.TriggerRxMem: UNSET
dev.wir0.0.TriggerFcs: UNSET
dev.wir0.0.TriggerMacRxReset: UNSET
dev.wir0.0.TriggerTx: UNSET
dev.wir0.0.TriggerRx: UNSET
dev.wir0.0.EnergyDetection: UNSET
dev.wir0.0.CalibrationInterval: UNSET
dev.wir0.0.ClockRate: UNSET
dev.wir0.0.g80211DraftNumber: UNSET
dev.wir0.0.HwACXAccessMethod: UNSET
dev.wir0.0.MaxSitesFragCollect: UNSET
dev.wir0.0.NumACXRxDescriptors: UNSET
dev.wir0.0.NumACXTxDescriptors: UNSET
dev.wir0.0.dot11ShortRetries: UNSET
dev.wir0.0.dot11LongRetries: UNSET
dev.wir0.0.dot11MaxTransmitMSDULifetime: UNSET
dev.wir0.0.dot11RateFallBackRetryLimit: UNSET
dev.wir0.0.dot11ListenInterval: UNSET
dev.wir0.0.dot11TxAntenna: UNSET
dev.wir0.0.dot11RxAntenna: UNSET
dev.wir0.0.ELPSupport: UNSET
dev.wir0.0.TxOpLimit: UNSET
dev.wir0.0.TxOpContinuation: UNSET
dev.wir0.0.dot11DesiredSSID: UNSET
dev.wir0.0.ShortSlotTime: UNSET
dev.wir0.0.dot11RtsCtsProtection: UNSET
dev.wir0.0.IbssProtectionType: UNSET
dev.wir0.0.dot11DesiredTxRate: UNSET
dev.wir0.0.dot11MgmtFrameRate: UNSET
dev.wir0.0.dot11BeaconPeriod: UNSET
dev.wir0.0.dot11ShortPreambleInvoked: UNSET
dev.wir0.0.dot11MaxSiteLifetime: UNSET
dev.wir0.0.Radio11_RxLevel: UNSET
dev.wir0.0.Radio11_LNA: UNSET
dev.wir0.0.Radio11_RSSI: UNSET
dev.wir0.0.Radio0D_RxLevel: UNSET
dev.wir0.0.Radio0D_LNA: UNSET
dev.wir0.0.Radio0D_RSSI: UNSET
dev.wir0.0.DriverExternalMode: UNSET
dev.wir0.0.ConnSelfTimeout: UNSET
dev.wir0.0.dot11AuthenticationResponseTimeout: UNSET
dev.wir0.0.dot11MaxAuthRetry: UNSET
dev.wir0.0.dot11AssociationResponseTimeout: UNSET
dev.wir0.0.dot11MaxAssocRetry: UNSET
dev.wir0.0.NumTxDataQueues: UNSET
dev.wir0.0.RateFallBackThreshold: UNSET
dev.wir0.0.RateStepUpThreshold: UNSET
dev.wir0.0.FBShortInterval: UNSET
dev.wir0.0.FBLongInterval: UNSET
dev.wir0.0.RateAdaptationTimeout: UNSET
dev.wir0.0.RateControlEnable: UNSET
dev.wir0.0.dot11ConnectingTimeOut: UNSET
dev.wir0.0.PowerModeEnhanceAlgorithm: UNSET
dev.wir0.0.dot11AuthenticationMode: UNSET
dev.wir0.0.supp1xAuthPeriod: UNSET
dev.wir0.0.supp1xHeldPeriod: UNSET
dev.wir0.0.supp1xStartPeriod: UNSET
dev.wir0.0.supp1xMaxCount: UNSET
dev.wir0.0.LeapUserName: UNSET
dev.wir0.0.PSTimer: UNSET
dev.wir0.0.TxThreshold: UNSET
dev.wir0.0.RxThreshold: UNSET
dev.wir0.0.MultiRegulatoryDomain: UNSET
dev.wir0.0.SpectrumManagement: UNSET
dev.wir0.0.ScanControlTable24: UNSET
dev.wir0.0.ScanControlTable5: UNSET
dev.wir0.0.TxPower: UNSET
dev.wir0.0.LeapUserPassword: UNSET
dev.wir0.0.dot11WEPStatus: UNSET
dev.wir0.0.LeapEnabled: UNSET
dev.wir0.0.CCXSecurityType: UNSET
dev.wir0.0.MixedMode: UNSET
dev.wir0.0.dot11WEPDefaultKey1: UNSET
dev.wir0.0.dot11WEPDefaultKey2: UNSET
dev.wir0.0.dot11WEPDefaultKey3: UNSET
dev.wir0.0.dot11WEPDefaultKey4: UNSET
dev.wir0.0.dot11BackgroundScanEnable: UNSET
dev.wir0.0.dot11RoamingTimeout: UNSET
dev.wir0.0.dot11RoamingLowTraficThreshold: UNSET
dev.wir0.0.dot11RoamingTxRatePrctThreshold: UNSET
dev.wir0.0.dot11RoamingRssiGapThreshold: UNSET
dev.wir0.0.dot11RoamingRssiThreshold: UNSET
dev.wir0.0.PostDiscTimeout: UNSET
dev.wir0.0.EEPROMlessModeSupported: UNSET
dev.wir0.0.dot11StationID: UNSET
dev.wir0.0.LnaFftBadCorrCountThresh: UNSET
dev.wir0.0.LnaAgcHighThresh: UNSET
dev.wir0.0.LnaAgcLowThresh: UNSET
dev.wir0.0.LnaCheckTime: UNSET
dev.wir0.0.LnaRestoreTime: UNSET
dev.wir0.0.TxPowerCheckTime: UNSET
dev.wir0.0.TxPowerControlOn: UNSET
dev.wir0.0.TxPowerRssiThresh: UNSET
dev.wir0.0.TxPowerRssiRestoreThresh: UNSET
dev.wir0.0.TxPowerRecoverLevel: UNSET
dev.wir0.0.SlotNumber: UNSET
dev.wir0.0.InstanceNumber: 0
---[dmesg:]-----
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Fri May 20 19:17:29 EDT 2005
root at inspiron:/usr/obj/mnt/work/freebsd/5/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III Mobile CPU 1000MHz (996.68-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
real memory = 268345344 (255 MB)
avail memory = 248741888 (237 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R > on motherboard
[..]
cbb0: <TI4451 PCI-CardBus Bridge> at device 15.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI4451 PCI-CardBus Bridge> at device 15.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
[..]
cardbus1: Expecting link target, got 0x9b
cardbus1: Resource not specified in CIS: id=10, size=2000
cardbus1: Resource not specified in CIS: id=14, size=20000
cardbus1: <network> at device 0.0 (no driver attached)
[..]
wir00: <802.11g Wireless CardBus PC Card> mem 0xf2040000-0xf205ffff,0xf2060000-0
xf2061fff irq 10 at device 0.0 on cardbus1
wir00: NDIS API version: 5.0
wir00: Ethernet address: 00:e0:98:d8:5a:6d
[..]
wir00: unknown speed: 540000
wir00: unknown speed: 540000
wir00: unknown speed: 110000
wir00: unknown speed: 110000
wir00: unknown speed: 540000
wir00: unknown speed: 540000
wir00: unknown speed: 540000
--
Allan Fields
More information about the freebsd-mobile
mailing list