OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jianlin Liang (jianlinlusc.edu)
Date: Mon Jul 30 2001 - 21:45:46 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Thanks for your information. Now I've got the latest airo.c and airo_cs.c
    from
    http://airo-linux.sourceforge.net, re-compiled the module. But the problem
    seemed still there(When I tried to configure the card things messed up). Is
    there
    any extra work for me to do to pack the Rid structures? Or has it been done
    in the latest version? I cannot find Nacho's information about it. Is there
    some
    further suggestion? (Maybe I need to change the source code by myself to
    set the ad-hoc mode as the default mode.) Thanks!

    Jianlin

    ----- Original Message -----
    From: "Benjamin Reed" <breedalmaden.ibm.com>
    To: "Jianlin Liang" <jianlinlusc.edu>
    Cc: <aironetenkidu.cse.ucsc.edu>
    Sent: Thursday, July 26, 2001 9:28 AM
    Subject: Re: [Aironet] Problems about using aironet 340 PCMCIA card in
    arm-linux

    > You need to get the latest code off the web site:
    > http://airo-linux.sourceforge.net. Basically we have to pack the Rid
    > structures for ARM since they are not word aligned. The card can be
    > enabled, but once you try to do anything the configuration gets all
    > messed up. Packing fixes it. (Nacho at UCSC figured it out a while
    > back. Thanx Nacho.)
    >
    > ben
    >
    > > Jianlin Liang wrote:
    > >
    > > I tried to make aironet 340 PCMCIA card work on Intel assabet/neponset
    > > in arm-linux but encounted some problems.
    > >
    > > The problems are: After booting, the card can be detected and
    > > the MAC layer is enabled. But the LEDs on the card seemed
    > > strange: The green LED brinked about twice per second while
    > > the amber one always on(Or maybe brinked very fast). I cannot
    > > found this combination in the aironet documents(There's no access
    > > point nearby at that time). Also, when I changed it into ad-hoc mode
    > > (By using the command "echo Mode: adhoc >
    > > /proc/driver/aironet/eth1/Config"
    > > and "echo myssid > /proc/driver/aironet/eth1/SSID"), the green LED
    > > is off,while the amber LED blinked in a pattern (Two quick blinking,
    > > then off, then one blinking, then off, and repeated). From the
    > > document
    > > this should mean an error condition. But there's no further
    > > document talking about what error it is. Do anyone has any suggestion
    > > about it? Thanks in advance!
    > >
    > > Jianlin
    > >
    > >
    > > Further information is:
    > >
    > > 1.
    > > The information shown in /var/log/messages is as follows:
    >
    > --------------------------------------------------------------------------

    ---
    > > Jan  1 00:00:10 Linux local7.notice pcmcia: Starting PCMCIA services:
    > > Jan  1 00:00:11 Linux local7.notice pcmcia: /sbin/ifconfig eth1 down
    > > Jan  1 00:00:11 Linux local7.notice pcmcia:  cardmgr.
    > > Jan  1 00:00:11 Linux local7.notice rc: Starting pcmcia succeeded
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: starting, version is
    > > 3.1.22
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: watching 2 sockets
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: initializing socket 0
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: socket 0: Aironet
    > > PC4800
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: executing: 'insmod
    > > /lib/modules/2.4.2-rmk2-np2/pcmcia/airo.o'
    > > Jan  1 00:00:11 Linux daemon.info cardmgr[92]: executing: 'insmod
    > > /lib/modules/2.4.2-rmk2-np2/pcmcia/airo_cs.o'
    > > Jan  1 00:00:12 Linux kern.debug airo: Doing fast bap_reads
    > > <6>airo: MAC enabled eth1 0:40:96:36:5b:50
    > > <6>eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 98, io
    > > 0xf6000000-0xf600003f
    > >
    > > Jan  1 00:00:12 Linux daemon.info cardmgr[92]: executing: './network
    > > start eth1'
    > > Jan  1 00:00:12 Linux daemon.info cardmgr[92]: + ./network:
    > > /usr/local/sbin/sshd: No such file or directory
    >
    > --------------------------------------------------------------------------
    ---
    > >
    > > 2. When I use "lsmod" to display the module information,
    > > it was shown that airo.o was used by airo_cs.o, but airo_cs.o
    > > was unused. It seemed a bit strange to me.
    > >
    > > 3. When I used "cardctl ident" to obtain the card id information,
    > > what I got was "cardctl must be setuid root"
    > >
    > > 4.
    > > The kernel I used was arm-linux 2.4.2, the PCMCIA package is 3.1.22.
    > > Also
    > > I got airo.c and airo_cs.c from
    > > http://www.cse.ucsc.edu/~breed/airo.html,
    > > replaced those in pcmcia-3.1.22/wireless and recompiled them again.
    > >
    > >
    > > 5.In /etc/pcmcia/config the following lines are there:
    > >
    > > device "airo_cs"
    > >   class "network" module "airo", "airo_cs"
    > >
    > > card "350 Series Wireless LAN Adapter"
    > >   manfid 0x015f, 0x000a
    > >   bind "airo_cs"
    > >
    > > card "Aironet PC4500"
    > >   manfid 0x015f, 0x0005
    > >   bind "airo_cs"
    > >
    > > card "Aironet PC4800"
    > >   manfid 0x015f, 0x0007
    > >   bind "airo_cs"
    > >
    > > 6.In /etc/pcmcia/network.opts the following lines are there(Although I
    > > don't
    > >   know whether they were used or not):
    > >
    > >   *,*,*,00:40:96*)
    > >     INFO="Aironet IEEE device"
    > >     # Transceiver selection, for some cards -- see 'man ifport'
    > >     IF_PORT=""
    > >     # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
    > >     BOOTP="n"
    > >     # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)?
    > > [y/n]
    > >     DHCP="n"
    > >     # If you need to explicitly specify a hostname for DHCP requests
    > >     DHCP_HOSTNAME=""
    > >     # Host's IP address, netmask, network address, broadcast address
    > >     IPADDR="128.125.72.118"
    > >     NETMASK="255.255.255.0"
    > >     NETWORK=""
    > >     BROADCAST=""
    > >     # Gateway address for static routing
    > >     GATEWAY=""
    > >     # Things to add to /etc/resolv.conf for this interface
    > >     DOMAIN=""
    > >     SEARCH=""
    > >     DNS_1=""
    > >     DNS_2=""
    > >     DNS_3=""
    > >     # NFS mounts, should be listed in /etc/fstab
    > >     MOUNTS=""
    > >     # If you need to override the interface's MTU...
    > >     MTU=""
    > >     # For IPX interfaces, the frame type and network number
    > >     IPX_FRAME=""
    > >     IPX_NETNUM=""
    > >     # Extra stuff to do after setting up the interface
    > >     start_fn () { /usr/local/sbin/sshd; return; }
    > >     # Extra stuff to do before shutting down the interface
    > >     stop_fn () { kill `cat /var/run/sshd.pid`; return; }
    > >     # Card eject policy options
    > >     NO_CHECK=n
    > >     NO_FUSER=n
    > >     ;;
    > >
    > > 7. In /etc/pcmcia/wireless.opts the following lines are there
    > >    (Also I don't know whether they were used or not):
    > >
    > > #For aironet wireless lan card
    > > # Note : airo_cs driver only
    > > *,*,*,00:40:96:*)
    > >     INFO="Aironet IEEE example"
    > >     ESSID="Aironet Network"
    > >     MODE="Ad-Hoc"
    > >     RATE="auto"
    > >     KEY="s:secu1"
    > >     ;;
    > >
    > >
    >
    

    _______________________________________________ Aironet mailing list - Aironetcsl.cse.ucsc.edu http://csl.cse.ucsc.edu/mailman/listinfo/aironet