More on the Orinoco + XI-825 + StrongARM platform...

Ben Greear greearb at candelatech.com
Wed Feb 20 15:51:43 EST 2002


Well, I feel I'm very close to having my little embedded
strongarm device (cerfcube) talking to the world...but it's not quite
working yet!

I copied the driver/wireless/* source from the 2.4.17 kernel
into a 2.4.9 kernel and made the necessary changes to port it
over (had to manually do the min/max methods because 2.4.9 doesn't
seem to have them)..

The cerfcube's pcmcia scripts are a bit wierd, but I manually
configured things as best I could.

First, I added entries to the config file:

device "orinoco_cs"
   class "network" module "orinoco_cs"

...

# This is the XI-825 card from ZCOMAX
card "IEEE 802.11 Wireless LAN/CF Card"
   manfid 0xd601, 0x0005
   bind "orinoco_cs"

When I insert the card, I see this in /var/log/messages:

Feb 20 04:07:39 CerfLinux daemon.info cardmgr[85]: initializing socket 1
Feb 20 04:07:39 CerfLinux daemon.info cardmgr[85]: executing: 'insmod /lib/modules/2.4.9-ac10-rmk2-np1-cerf1/pcmcia/'
Feb 20 04:07:39 CerfLinux kern.debug orinoco_cs.c 0.09b (David Gibson <hermes at gibson.dropbear.id.au> and others)
Feb 20 04:07:39 CerfLinux kern.debug eth1: Station identity 001f:0005:0001:0003
Feb 20 04:07:39 CerfLinux kern.debug eth1: Looks like an Intersil firmware version 1.03
Feb 20 04:07:39 CerfLinux kern.debug eth1: Ad-hoc demo mode supported
Feb 20 04:07:39 CerfLinux kern.debug eth1: IEEE standard IBSS ad-hoc mode supported
Feb 20 04:07:39 CerfLinux kern.debug eth1: WEP supported, 104-bit key
Feb 20 04:07:39 CerfLinux kern.debug eth1: MAC address 00:60:B3:69:56:67
Feb 20 04:07:39 CerfLinux kern.debug eth1: Station name "Prism  I"
Feb 20 04:07:39 CerfLinux kern.debug eth1: ready
Feb 20 04:07:39 CerfLinux kern.debug eth1: index 0x01: Vcc 3.3, irq 43, io 0xf7000000-0xf700003f
Feb 20 04:07:39 CerfLinux daemon.info cardmgr[85]: executing: './network start eth1'
eth1: Channel out of range (0)!
Feb 20 04:08:04 CerfLinux kern.warn eth1: Channel out of range (0)!
eth1: Channel out of range (0)!
Feb 20 04:13:12 CerfLinux kern.warn eth1: Channel out of range (0)!
eth1: Channel out of range (0)!
Feb 20 04:15:02 CerfLinux kern.warn eth1: Channel out of range (0)!
eth1: Channel out of range (0)!
Feb 20 04:15:25 CerfLinux kern.warn eth1: Channel out of range (0)!
eth1: Channel out of range (0)!
Feb 20 04:15:36 CerfLinux kern.warn eth1: Channel out of range (0)!
eth1: Channel out of range (0)!
Feb 20 04:16:21 CerfLinux kern.warn eth1: Channel out of range (0)!

About to write key 0, keylen=5
About to write key 1, keylen=5
.....


It doesn't seem to set my ESSID or any other variable I set in wireless.opts,
so I manually try to poke it in with iwconfig.  The end results:

[root at CerfLinux pcmcia]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Warning : Device eth1 has been compiled with version 11
of Wireless Extension, while we are using version 13.
Some things may be broken...

eth1      IEEE 802.11-DS  ESSID:"BenESSID"  Nickname:"BenCube"
           Mode:Ad-Hoc  Frequency:2.457GHz  Cell: 00:02:2D:0B:27:A0
           Bit Rate:11Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
           Retry min limit:8   RTS thr:off   Fragment thr:off
           Encryption key:7365-6375-31   Encryption mode:open
           Power Management:off

[root at CerfLinux pcmcia]$


So, I think I'm really close.  The problem is that I still can't
ping my other machine running in Ad-Hoc.  (That other machine talks
to a third, though, so I think it's the cube's fault.)


[root at CerfLinux pcmcia]$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:60:B3:69:56:67
           inet addr:172.1.1.100  Bcast:172.1.255.255  Mask:255.255.0.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:148 errors:25 dropped:0 overruns:0 frame:25
           TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:13064 (12.7 Kb)  TX bytes:9750 (9.5 Kb)
           Interrupt:43

[root at CerfLinux pcmcia]$


The interesting thing is that when I ping between the other machines, I
see packets received on the cube.  When I ping from the cube to the laptop,
while sniffing the wireless port on the laptop with tcpdump, I see this:


[time-stamp] 0:60:b3:69:56:67 > Broadcast null I (s=85,r=85,C) len=50
(more of the same)


I am open to any suggestions you all might have!

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear






More information about the wireless mailing list