📄 airo.4
字号:
.\" Copyright (c) 2000 Benjamin C. Reed <breed@almaden.ibm.com>.\" airo.c.4.\".TH AIRO 4 "10/25/00" "IBM Almaden Research Center".SH NAMEairo \- Driver for the Aironet 802.11 ISA/PCI/PCMCIA 4500 & 4800 and Cisco 340.SH SYNOPSIS.B insmod airo.o.RB [ io=\c.IR i,j,... ].RB [ irq=\c.IR i,j,... ].RB [ basic_rate=\c.IR n ].RB [ rates=\c.IR i,j,... ].RB [ ssids=\c.IR i,j,... ].RB [ adhoc=\c.IR 1 ].RB [ aux_bap=\c.IR 1 ].RB [ auto_wep=\c.IR 1 ].RB [ maxencrypt=\c.IR n ].SH DESCRIPTIONThis driver is for Cisco 340 and Aironet 4500 and 4800 ISA/PCI/PCMCIA cards and 2.0or 2.2 kernels. Just for fun, I tested a 3500 for a total of 2minutes and it seemed to work more or less. (The configurationinformation displayed in the Config file seemed a bit messed up.)The card will create an ethX device for each wireless card. An entryfor each device will be created under /proc/aironet/ethX with entriesto view the status of the card and configure it..SH /proc/aironetIn the /proc/aironet partition there will be a subdirectory for eachaironet interface. In that subdirectory are four files: Status,Config, WepKey, and SSID..TP .BI StatusMost of the fields in the Status file are self describing. The Mode:field is a bitmask. Here is the description from the programmer'smanual: Bit Meaning 0x0001 Configured 0x0002 MAC Enabled 0x0004 Receive Enabled 0x0010 In Sync 0x0020 Associated 0x8000 Error I'm not sure what the units are in the Signal: field..TP .BI ConfigThe Config file is mode up of fields separated by newlines. Whensetting the fields, they can occur in any order. If the values arein error, a sane default will be used. Note, there must be exactlyone space between the colon and the value..TP.BI Mode:can be "adhoc" or "ESS". Defaults to ESS..TP.BI NodeName:Can be up to 16 characters in length.TP.BI PowerMode:Can be CAM (Constantly Awake Mode), PSP (Power Savingsomething...), PSPCAM (you guess...). CAM is default..TP.BI DataRates:Must be separated by exactly 1 space. The units are 500 kps. So 2 is1 mbs. There can be up to 8 rates specified. The basic rate set bysetting the high bit (bit 7)..TP.BI Channel:Don't know anything about this except that you can set it....TP.BI XmitPower:Transmit power in milliwatts..TP.BI WEP:Can be open, encrypt, and shared, meaning no authentication, encrypted data only, shared key authentication and encryption.Note that when WEP is enabled the current cards (as of 9/9/99)do not allow data rates above 2 mbs..TP.BI Modulation:Can be cck or mok. Sets the modulation type for speeds above 2mbs..TP.BI WepKeyThis file allows all four wep keys to be set. The key is set by writing the index (0 == first key) of the key to be set,followed by a space,followed by the key as a stringto the file. Each octet must be written in hexadecimal withleading zeros and separated by colons. For security reasons the keycannot be read from the card. Writing to this file sets both thepermanent and temporary key. (Anyone have a need for being ableto write them separately?) For example: echo 0 12:04:78:9a:bc > /proc/aironet/eth0/WepKey When the file is read, it shows the length of the keys that are set andthe index of the key that is set as the transmit key..TP.BI APListContains the list of MACs of the preferred APs. Each MAC address must beseparated by a delimiter and each octet of the MAC should be separated by adelimiter and each octet should have two digits. 01:02:03:04:05:06 and 01-02-03:04:05,06 are valid. 1:2:3:4:5:6 is not. I usually separate theMACs by linefeeds but any character works..TP.BI SSIDThe SSID file has the list of usable SSIDs. If the list is empty, itwill associate with any access point that it can find. The SSIDs areseparated by line feeds. This file may also be written to to changethe list..TP.BI Stats/StatsDeltaBasically a dump of all the statistics of the card. The source hasprovisions for all the statistics even though by default a lot of themare turned off. Stats give the statistics from the time the card waspowered up. StatsDelta gives the statistics from the time the statisticswere last reset. The statistics are reset by opening the StatsDelta filefor writing..\".\" PARAMETER part.\".SH PARAMETERS.TP.BI io= i,j,...Specifies the set of ioports used by the driver. This is only usedfor ISA cards. The irq to be used will match the irq in the sameposition in the irq list. So basically ioport at index i will be used with the irq at index i..TP.BI irq= i,j,...Specifies the set of interrupts are used by the driver..TP.BI rates= i,j,...A comma separated list of rates. There are up to 8 of them. They arespecified in 512 kps units..TP.BI basic_rate= nSets the basic rate of the card. Same units as the rates. (It mustbe one of the rates.).TP.BI ssids= i,j,kA comma separated list of ssids. There can be up to 3. They are amaximum of 32 characters..TP.BI maxencrypt= nSets the maximum speed of the card when doing encryption. If zero (thedefault), it is not used. Units are in 512kbs. Older cards could onlydo 2mbs (n=4) when doing encryption, even though they could do 11 mbswithout encryption..TP.BI auto_wep = nTurns on logic to cycle through the different WEP settings until the cardis able to associate. It will also cycle through the wep keys. n is thenumber of keys to cycle through. Note, it only cycles through the keysfor shared mode. When encrypt is tried, it will use the permanent keyindex. (See WepKey.).TP.BI aux_bap = 1Enables logic that gets around bus timing problems on older cards withsome boards. The timing problem manifests itself when receiving packetsbigger than 70 bytes..SH SPECIFIC NOTESWhen used with PCMCIA cards, it must be used with the airo_cs module..SH AUTHORBenjamin C. Reed \- breed@almaden.ibm.com.SH SEE ALSO.BR airo_cs (4),.BR cardmgr (8),.BR pcmcia (5),.BR insmod (1),
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -