[Comm] Настройка Wi-Fi, Atheros AR5007EG

Rinat Bikov =?iso-8859-1?q?bikoz=2Er_=CE=C1_gmail=2Ecom?=
Вт Апр 29 15:25:30 MSD 2008


У меня ALD 4.0, asus X50N, ядро 2.6.18-std-smp-alt12.
Для карточки AR5007EG не нашлось нужного пакета из доступных репозитариев
(из сизифа линукс вообще отказался что-либо ставить).
# rpm -qa | grep wifi
alterator-net-wifi-0.4-alt2
kernel-modules-madwifi-std-smp-0.9.3.1-alt2.132626.12
kernel-modules-madwifi-std-smp-0.9.3.1-alt2.132626.11
madwifi-utils-0.9.3.1-alt1
kernel-source-madwifi-0.9.3.1-alt2

С этими пакетами карточка wi-fi у меня так и не определялась нормально (не
было ip, iw-интерфейсов).
Пробовал настроить через ndiswrapper, но то ли пользовался не полной
инструкцией, то ли руки кривые, но результат всё тот же,
хотя драйвер поставился нормально (ndiswrapper -l отображал).
Сегодня наткнулся на сайт убунту по этому поводу (решил-таки поискать
драйвера именно для моей карточки wi-fi. а не для Atheros в целом)
http://www.ubuntugeek.com/atheros-5007eg-with-madwifi-on-i386-platform.html
make && make install прошли без ошибок, далее

# modprobe ath_pci
# modprobe wlan_scan_sta
FATAL: Error inserting wlan_scan_sta
(/lib/modules/2.6.18-std-smp-alt12/net/wlan_scan_sta.ko): Unknown symbol in
module, or unknown parameter (see dmesg)

# dmesg | grep wlan
wlan: 0.8.4.2 (0.9.3.1)
wlan_scan_sta: disagrees about version of symbol ieee80211_find_channel
wlan_scan_sta: Unknown symbol ieee80211_find_channel
wlan_scan_sta: disagrees about version of symbol
ieee80211_scan_dump_channels
wlan_scan_sta: Unknown symbol ieee80211_scan_dump_channels
wlan_scan_sta: disagrees about version of symbol ieee80211_create_ibss
wlan_scan_sta: Unknown symbol ieee80211_create_ibss
wlan_scan_sta: disagrees about version of symbol ieee80211_note
wlan_scan_sta: Unknown symbol ieee80211_note
wlan_scan_sta: disagrees about version of symbol ieee80211_start_scan
wlan_scan_sta: Unknown symbol ieee80211_start_scan
wlan_scan_sta: disagrees about version of symbol ieee80211_sta_join
wlan_scan_sta: Unknown symbol ieee80211_sta_join
wlan_scan_sta: disagrees about version of symbol ieee80211_note_mac
wlan_scan_sta: Unknown symbol ieee80211_note_mac
wlan_scan_sta: disagrees about version of symbol ieee80211_scanner_register
wlan_scan_sta: Unknown symbol ieee80211_scanner_register
wlan_scan_sta: disagrees about version of symbol ieee80211_chan2ieee
wlan_scan_sta: Unknown symbol ieee80211_chan2ieee
wlan_scan_sta: disagrees about version of symbol
ieee80211_scanner_unregister_all
wlan_scan_sta: Unknown symbol ieee80211_scanner_unregister_all
wlan_scan_sta: disagrees about version of symbol ieee80211_find_channel
wlan_scan_sta: Unknown symbol ieee80211_find_channel
wlan_scan_sta: disagrees about version of symbol
ieee80211_scan_dump_channels
wlan_scan_sta: Unknown symbol ieee80211_scan_dump_channels
wlan_scan_sta: disagrees about version of symbol ieee80211_create_ibss
wlan_scan_sta: Unknown symbol ieee80211_create_ibss
wlan_scan_sta: disagrees about version of symbol ieee80211_note
wlan_scan_sta: Unknown symbol ieee80211_note
wlan_scan_sta: disagrees about version of symbol ieee80211_start_scan
wlan_scan_sta: Unknown symbol ieee80211_start_scan
wlan_scan_sta: disagrees about version of symbol ieee80211_sta_join
wlan_scan_sta: Unknown symbol ieee80211_sta_join
wlan_scan_sta: disagrees about version of symbol ieee80211_note_mac
wlan_scan_sta: Unknown symbol ieee80211_note_mac
wlan_scan_sta: disagrees about version of symbol ieee80211_scanner_register
wlan_scan_sta: Unknown symbol ieee80211_scanner_register
wlan_scan_sta: disagrees about version of symbol ieee80211_chan2ieee
wlan_scan_sta: Unknown symbol ieee80211_chan2ieee
wlan_scan_sta: disagrees about version of symbol
ieee80211_scanner_unregister_all
wlan_scan_sta: Unknown symbol ieee80211_scanner_unregister_all
wlan_scan_sta: disagrees about version of symbol ieee80211_find_channel
wlan_scan_sta: Unknown symbol ieee80211_find_channel
wlan_scan_sta: disagrees about version of symbol
ieee80211_scan_dump_channels
wlan_scan_sta: Unknown symbol ieee80211_scan_dump_channels
wlan_scan_sta: disagrees about version of symbol ieee80211_create_ibss
wlan_scan_sta: Unknown symbol ieee80211_create_ibss
wlan_scan_sta: disagrees about version of symbol ieee80211_note
wlan_scan_sta: Unknown symbol ieee80211_note
wlan_scan_sta: disagrees about version of symbol ieee80211_start_scan
wlan_scan_sta: Unknown symbol ieee80211_start_scan
wlan_scan_sta: disagrees about version of symbol ieee80211_sta_join
wlan_scan_sta: Unknown symbol ieee80211_sta_join
wlan_scan_sta: disagrees about version of symbol ieee80211_note_mac
wlan_scan_sta: Unknown symbol ieee80211_note_mac
wlan_scan_sta: disagrees about version of symbol ieee80211_scanner_register
wlan_scan_sta: Unknown symbol ieee80211_scanner_register
wlan_scan_sta: disagrees about version of symbol ieee80211_chan2ieee
wlan_scan_sta: Unknown symbol ieee80211_chan2ieee
wlan_scan_sta: disagrees about version of symbol
ieee80211_scanner_unregister_all
wlan_scan_sta: Unknown symbol ieee80211_scanner_unregister_all
wlan_scan_sta: disagrees about version of symbol ieee80211_find_channel
wlan_scan_sta: Unknown symbol ieee80211_find_channel
wlan_scan_sta: disagrees about version of symbol
ieee80211_scan_dump_channels
wlan_scan_sta: Unknown symbol ieee80211_scan_dump_channels
wlan_scan_sta: disagrees about version of symbol ieee80211_create_ibss
wlan_scan_sta: Unknown symbol ieee80211_create_ibss
wlan_scan_sta: disagrees about version of symbol ieee80211_note
wlan_scan_sta: Unknown symbol ieee80211_note
wlan_scan_sta: disagrees about version of symbol ieee80211_start_scan
wlan_scan_sta: Unknown symbol ieee80211_start_scan
wlan_scan_sta: disagrees about version of symbol ieee80211_sta_join
wlan_scan_sta: Unknown symbol ieee80211_sta_join
wlan_scan_sta: disagrees about version of symbol ieee80211_note_mac
wlan_scan_sta: Unknown symbol ieee80211_note_mac
wlan_scan_sta: disagrees about version of symbol ieee80211_scanner_register
wlan_scan_sta: Unknown symbol ieee80211_scanner_register
wlan_scan_sta: disagrees about version of symbol ieee80211_chan2ieee
wlan_scan_sta: Unknown symbol ieee80211_chan2ieee
wlan_scan_sta: disagrees about version of symbol
ieee80211_scanner_unregister_all
wlan_scan_sta: Unknown symbol ieee80211_scanner_unregister_all

Процедуру make && make install проводил несколько раз, чтобы снова и снова
полюбоваться на эти сообщения))).
Потом вспомнил, что после попытки настроить wi-fi при помощи ndiswrapper в
конфигах ещё остались соответствующие параметры, закомментировал всё
ненужное, включил wi-fi, для надёжности снова повторил выше изложенные
действия (с теми же результатами).
Перезагрузился с мыслью, что всё уже безнадёжно...

Решил на всякий случай посмотреть iwconfig, был приятно удивлён:
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:17 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ppp0      no wireless extensions.

# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:15:AF:3C:AF:4B
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:1D:60:35:36:7F
          inet addr:172.16.162.116  Bcast:172.16.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1373818 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2552546 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:102545495 (97.7 MiB)  TX bytes:3726464072 (3.4 GiB)
          Interrupt:233 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3258 (3.1 KiB)  TX bytes:3258 (3.1 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:92.241.239.241  P-t-P:217.14.207.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1476  Metric:1
          RX packets:13476 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14217 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:8817957 (8.4 MiB)  TX bytes:1809529 (1.7 MiB)

wifi0     Link encap:UNSPEC  HWaddr
00-15-AF-3C-AF-4B-78-03-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:0 (0.0 b)  TX bytes:245272 (239.5 KiB)
          Interrupt:225

Наконец-то заработало))). Правда, пока что нет возможности проверить в
действии этот интерфейс (думаю, что там будут отдельные траблы, например, по
совместимости с сетью Vista, XP и т.п.,  но главное, что поднят интерфейс,
дальше всё должно быть более тривиально :-)).
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20080429/436979ad/attachment-0002.html>


Подробная информация о списке рассылки community