вот у меня карточка Atheros, драйвера для неё - http://madwifi-project.org/
скачал установил...
теперь команда modinfo ath_pci выводит:
Код: Выделить всё
filename: /lib/modules/2.6.21.5-smp/net/ath_pci.ko
license: Dual BSD/GPL
version: 0.9.4
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: D3FD3BD11169A96DBCFF8DE
alias: pci:v0000168Cd00009013sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
...
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
depends: ath_hal,wlan
vermagic: 2.6.21.5-smp SMP mod_unload 686
parm: countrycode:Override default country code (int)
parm: maxvaps:Maximum VAPs (int)
parm: outdoor:Enable/disable outdoor use (int)
parm: xchanmode:Enable/disable extended channel mode (int)
parm: rfkill:Enable/disable RFKILL capability (int)
parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp)
parm: ath_debug:Load-time debug output enable (int)следуя из того что наисано здесь
у меня в ifconfig должно быть нечто подобное:
Код: Выделить всё
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0но у меня том только мой Ethernet
Код: Выделить всё
eth0 Link encap:Ethernet HWaddr 00:1E:8C:28:B2:DD
inet addr:192.168.0.43 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:8cff:fe28:b2dd/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7312 (7.1 KiB) TX bytes:3538 (3.4 KiB)
Memory:fdcc0000-fdd00000и я ток понял для того чтобы у меня появился wifi0 и IEEE 802.11b ESSID, мне нужно делать так как написано здесь
команда lspci -v выводит:
Код: Выделить всё
...
07:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Unknown device 1a3b:1026
Flags: fast devsel, IRQ 17
Memory at fe5f0000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint IRQ 0
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
...так вот там есть такой фрагмент который я не понимаю:
Код: Выделить всё
In order to change the regdomain to 0, call:
./ath_info -w 0xc2000000 regdomain 0
to change any PCI ID value, say:
./ath_info -w 0xc2000000 <name> X
with <name> ::= pci_dev_id | pci_vendor_id | pci_class |
pci_subsys_dev_id | pci_subsys_vendor_id
With newer chipsets (>= AR5004x, i.e. MAC >= AR5213), Atheros introduced
write protection on the EEPROM. On a GIGABYTE GN-WI01HT you can set
GPIO 4 to low to be able to write the EEPROM. This depends highly on
the PCB layout, so there may be different GPIO used. This program
currently sets GPIO 4 to low for a MAC >= AR5213, but you can override
this with the -g option:
./ath_info -g 5:0 -w 0xc2000000 regdomain X
would set GPIO 5 to low (and wouldn't touch GPIO 4). "-g" can be given
several times.что делают сточки
Код: Выделить всё
./ath_info -w 0xc2000000 regdomain 0
./ath_info -w 0xc2000000 <name> Xи что в них писать?
и где взять
Код: Выделить всё
pci_dev_id | pci_vendor_id | pci_class | pci_subsys_dev_id | pci_subsys_vendor_id?