On Thu, 18 Oct 2001, Stew Benedict wrote:

SB> This may not be where to look. I'm sort of guessing as I'm not blessed
SB> with this hardware.  It's like PCMCIA I take it, but not quite. It may be
SB> more appropriate to just probe the modules like we do for mesh, bmac, etc.
SB> What I'm looking for is some kind of clue that the device is present, even
SB> before I try to probe, which may save me from locking up a machine
SB> unecessarily.  Does dmesg or /proc give any indication before the
SB> module(s) are installed?
SB>
SB> With "normal" PCMCIA, the info corresponds with what cardctl reads:
SB>
SB> [root@powerbook pcmcia-cs-3.1.26]# cardctl ident
SB> Socket 0:
SB>   product info: "Ethernet", "Adapter", "2.0"
SB>   manfid: 0x0149, 0xc1ab
SB>   function: 6 (network)
SB>
SB>
SB> Any info you can provide would help.

/proc/net/wireless seems to exist even when the module is not loaded, but
it is hard for me to say why and if that is consistent.

root@localhost:/home/henrik> rmmod airport
root@localhost:/home/henrik> rmmod orinoco
root@localhost:/home/henrik> rmmod hermes
root@localhost:/home/henrik> cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets
 face | tus | link level noise |  nwid  crypt   misc
root@localhost:/home/henrik> modprobe airport
root@localhost:/home/henrik> cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets
 face | tus | link level noise |  nwid  crypt   misc
  eth1: 0000   55.  214.  159.       0      0      0
root@localhost:/home/henrik>

>From dmesg:

hermes.c: 3 Oct 2001 David Gibson <[EMAIL PROTECTED]>
orinoco.c 0.08a (David Gibson <[EMAIL PROTECTED]> and others)
airport.c 0.06f (Benjamin Herrenschmidt <[EMAIL PROTECTED]>)
eth1: Station identity 001f:0001:0007:0019
eth1: Looks like a Lucent/Agere firmware version 7.25
eth1: Ad-hoc demo mode supported.
eth1: IEEE standard IBSS ad-hoc mode supported.
eth1: WEP supported, "128"-bit key.
eth1: MAC address 00:30:65:52:11:24
eth1: Station name "HERMES I"
eth1: Allowed channels mask: 0x00001fff
eth1: ready
airport: card registered for interface eth1

-- 
Henrik Edlund <[EMAIL PROTECTED]>
http://www.edlund.org/

"You're young, you're drunk, you're in bed, you have knives; shit
happens." -- Angelina Jolie


Reply via email to