ThinkPad x60s Wireless driver SOLVED
Добрый день, уважаемый форумчане!
Снова я к Вам с проблемой (
Ноут : ThinkPad x60s
gentoo-linux ~ # lspci | grep Network 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) gentoo-linux ~ # eix -I kernel [I] sys-kernel/genkernel Available versions: 3.4.52.3 ~3.4.52.4-r1 3.4.52.4-r2 ~3.5.1.1 ~3.5.2.0-r1 ~3.5.2.1 ~3.5.2.2 ~3.5.2.3 ~3.5.2.4 **9999 {cryptsetup +firmware ibm selinux} Installed versions: 3.4.52.4-r2(01:49:16 PM 12/14/2017)(-cryptsetup -ibm -selinux) Homepage: https://www.gentoo.org Description: Gentoo automatic kernel building scripts gentoo-linux ~ # equery l sys-kernel/gentoo-sources * Searching for gentoo-sources in sys-kernel ... [IP-] [ ] sys-kernel/gentoo-sources-4.12.12:4.12.12 gentoo-linux ~ # gcc-config -l [1] i686-pc-linux-gnu-6.4.0 * gentoo-linux ~ # eselect profile list Available profile symlink targets: [1] default/linux/x86/13.0 [2] default/linux/x86/13.0/selinux [3] default/linux/x86/13.0/desktop [4] default/linux/x86/13.0/desktop/gnome [5] default/linux/x86/13.0/desktop/gnome/systemd [6] default/linux/x86/13.0/desktop/plasma [7] default/linux/x86/13.0/desktop/plasma/systemd [8] default/linux/x86/13.0/developer [9] default/linux/x86/13.0/systemd [10] default/linux/x86/17.0 [11] default/linux/x86/17.0/selinux [12] default/linux/x86/17.0/desktop * [13] default/linux/x86/17.0/desktop/gnome [14] default/linux/x86/17.0/desktop/gnome/systemd [15] default/linux/x86/17.0/desktop/plasma [16] default/linux/x86/17.0/desktop/plasma/systemd [17] default/linux/x86/17.0/developer [18] default/linux/x86/17.0/systemd [19] hardened/linux/x86 [20] hardened/linux/x86/selinux [21] default/linux/musl/x86 [22] hardened/linux/musl/x86 [23] default/linux/uclibc/x86 [24] hardened/linux/uclibc/x86
Немного о том что творится в ядре:
--- Wireless [M] cfg80211 - wireless configuration API [ ] nl80211 testmode command [ ] enable developer warnings [*] enable powersave by default [ ] cfg80211 DebugFS entries [ ] lib80211 debugging messages [M] Generic IEEE 802.11 Networking Stack (mac80211) Default rate control algorithm (Minstrel) ---> [ ] Enable mac80211 mesh networking (pre-802.11s) support -*- Enable LED triggers [ ] Export mac80211 internals in DebugFS [ ] Trace all mac80211 debug messages [ ] Select mac80211 debugging features ----
--- Wireless LAN [*] ADMtek devices [M] ADMtek ADM8211 support [*] Atheros/Qualcomm devices [ ] Atheros wireless debugging [M] Atheros 5xxx wireless cards support [ ] Atheros 5xxx debugging [ ] Atheros 5xxx tracer -*- Atheros 5xxx PCI bus support [*] Atheros bluetooth coexistence support [M] Atheros 802.11n wireless cards support [*] Atheros ath9k PCI/PCIe bus support [ ] Atheros ath9k AHB bus support [ ] Atheros ath9k debugging [ ] Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL) [ ] Wake on Wireless LAN support (EXPERIMENTAL) [ ] Channel Context support [M] Atheros HTC based wireless cards support [ ] Atheros ath9k_htc debugging [ ] Random number generator support [M] Linux Community AR9170 802.11n USB support [*] SoftLED Support [ ] Random number generator < > Atheros mobile chipsets support < > Atheros AR5523 wireless driver support < > Wilocity 60g WiFi card wil6210 support < > Atheros 802.11ac wireless cards support < > Qualcomm Atheros WCN3660/3680 support [*] Atmel devices [M] Atmel at76c50x chipset 802.11b support [M] Atmel at76c506 PCI cards [M] Atmel at76c502/at76c504 PCMCIA cards [M] Atmel at76c503/at76c505/at76c505a USB cards [*] Broadcom devices [M] Broadcom 43xx wireless support (mac80211 stack) Supported bus types (BCMA and SSB) ---> [*] Broadcom 43xx SDIO device support [*] Support for G-PHY (802.11g) devices [ ] Support for N-PHY (the main 802.11n series) devices [*] Support for LP-PHY (low-power 802.11g) devices [ ] Support for HT-PHY (high throughput 802.11n) devices [*] Broadcom 43xx debugging [M] Broadcom 43xx-legacy wireless support (mac80211 stack) [*] Broadcom 43xx-legacy debugging Broadcom 43xx-legacy data transfer mode (DMA + PIO) ---> [M] Broadcom IEEE802.11n PCIe SoftMAC WLAN driver < > Broadcom FullMAC WLAN driver [ ] Broadcom device tracing [ ] Broadcom driver debug functions [*] Cisco devices [M] Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards [M] Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards x x < > Intel PRO/Wireless 2100 Network Connection < > Intel PRO/Wireless 2200BG and 2915ABG Network Connection [M] Intel Wireless WiFi 4965AGN (iwl4965) [M] Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945) iwl3945 / iwl4965 Debugging Options ---> [M] Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) [M] Intel Wireless WiFi DVM Firmware support [M] Intel Wireless WiFi MVM Firmware support [ ] Enable broadcast filtering Debugging Options ---> [*] Intersil devices [M] IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) [*] Support downloading firmware images with Host AP driver [*] Support for non-volatile firmware download [M] Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors [M] Host AP driver for Prism2.5 PCI adaptors [M] Host AP driver for Prism2/2.5/3 PC Cards [M] Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) [*] Support Prism 2/2.5 chipset [*] Cache Hermes firmware on driver initialisation [M] Hermes in PLX9052 based PCI adaptor support (Netgear MA301 etc.) [M] Hermes in TMD7160 based PCI adaptor support [M] Nortel emobility PCI adaptor support [M] Prism 2.5 PCI 802.11b adaptor support [M] Hermes PCMCIA card support [M] Symbol Spectrum24 Trilogy PCMCIA card support < > Agere Orinoco USB support [M] Softmac Prism54 support [M] Prism54 USB support [M] Prism54 PCI support < > Intersil Prism GT/Duette/Indigo PCI/Cardbus (DEPRECATED) [*] Marvell devices [M] Marvell 8xxx Libertas WLAN driver support [M] Marvell Libertas 8388 USB 802.11b/g cards [M] Marvell Libertas 8385 CompactFlash 802.11b/g cards [M] Marvell Libertas 8385/8686/8688 SDIO 802.11b/g cards [*] Enable full debugging output in the Libertas module. [ ] Enable mesh support [M] Marvell 8xxx Libertas WLAN driver support with thin firmware [ ] Enable full debugging output in the Libertas thin firmware module. [M] Marvell Libertas 8388 USB 802.11b/g cards with thin firmware < > Marvell WiFi-Ex Driver [M] Marvell 88W8xxx PCI/PCIe Wireless support [*] MediaTek devices < > MediaTek MT7601U (USB) support [*] Ralink devices [M] Ralink driver support ---> [*] Realtek devices [M] Realtek 8180/8185/8187SE PCI support [M] Realtek 8187 and 8187B USB support [M] Realtek rtlwifi family of devices ---> < > RTL8723AU/RTL8188[CR]U/RTL819[12]CU (mac80211) support [*] Redpine Signals Inc devices < > Redpine Signals Inc 91x WLAN driver support [*] STMicroelectronics devices < > CW1200 WLAN support [*] Texas Instrument devices [M] TI wl1251 driver support [M] TI wl1251 SDIO support [M] TI wl12xx support < > TI wl18xx support -M- TI wlcore support < > TI wlcore SDIO support [*] TI WiLink platform data [*] ZyDAS devices [M] USB ZD1201 based Wireless device support [M] ZyDAS ZD1211/ZD1211B USB-wireless support [ ] ZyDAS ZD1211 debugging < > Aviator/Raytheon 2.4GHz wireless support [M] Planet WL3501 PCMCIA cards [M] Simulated radio testing tool for mac80211 [M] Wireless RNDIS USB support
Скачал дравера ipw3945,далее:
gentoo-linux /home/diplomat/Desktop/ipw3945-1.1.3 # make WARNING: Your kernel contains ieee80211 symbol definitions and you are not using the kernel's default ieee80211 subsystem. (Perhaps you used the out-of-tree ieee80211 subsystem's 'make install' or have provided a path to the ieee80211 subsystem via IEEE80211_INC.) If you wish to use the out-of-tree ieee80211 subsystem then it is recommended to use that projects' "make patch_kernel" facility and rebuild your kernel to update the Module symbol version information. Failure to do this may result in build warnings and unexpected behavior when running modules which rely on the ieee80211 subsystem. Aborting the build. You can force the build to continue by adding: IEEE80211_IGNORE_DUPLICATE=y to your make command line. make: *** [Makefile:176: check_inc] Error 1 gentoo-linux /home/diplomat/Desktop/ipw3945-1.1.3 # make IEEE80211_IGNORE_DUPLICATE=y WARNING: Your kernel contains ieee80211 symbol definitions and you are not using the kernel's default ieee80211 subsystem. (Perhaps you used the out-of-tree ieee80211 subsystem's 'make install' or have provided a path to the ieee80211 subsystem via IEEE80211_INC.) If you wish to use the out-of-tree ieee80211 subsystem then it is recommended to use that projects' "make patch_kernel" facility and rebuild your kernel to update the Module symbol version information. Failure to do this may result in build warnings and unexpected behavior when running modules which rely on the ieee80211 subsystem. ERROR: A compatible subsystem was not found in the following path[s]: /lib/modules/4.12.12-gentoo /lib/modules/4.12.12-gentoo/build You need to install the ieee80211 subsystem from http://ieee80211.sf.net and point this build to the location where you installed those sources, eg.: % make IEEE80211_INC=/usr/src/ieee80211/ or use the 'make patch_kernel' within the ieee80211 subsystem to patch your kernel sources. make: *** [Makefile:177: check_inc] Error 1
Модем в БИОСе включен.(читал что помогает, но мне не подошло)
Что я сделал не так ? Протокол же включен...или нет?
Решение :
Пользуясь советом , загрузился с Ubuntu LiveCD , посмотрел какие модули включены.
iwl3945 69632 0 iwlegacy 65536 1 iwl3945 mac80211 577536 2 iwlegacy,iwl3945 cfg80211 552960 3 mac80211,iwlegacy,iwl3945
Загрузившись в Gentoo . увидел что у меня они тоже загружены.
Но в ifconfig -a ничего не отображалось.
Сделал iw dev - увидел искомый интерфейс
gentoo-linux /usr/lib/qt4 # iw dev phy#0 Interface wlp3s0 ifindex 3 wdev 0x1 addr 00:18:de:9e:9a:14 type managed channel 44 (5220 MHz), width: 20 MHz (no HT), center1: 5220 MHz
Попытался его поднять - ifconfig wlp3s0 up
Далее ifconfig -a стал его отображать. но моей главной ошибкой было смотреть в STATE DOWN - думая, что интерфейс так и не поднялся(а смотреть надо было на UP,BROADCAST,RUNNING,MULTICAST)
Далее я нагуглил что необходимо поднять сервис wpa_supplicant и настроить к нему хотя бы минимальные конфиги.
После настройки я перезапустил сервис и настроил через WPA_GUI сеть - все работает.
- Для комментирования войдите или зарегистрируйтесь
Прежде всего - читай!
Прежде всего - читай тут!
А потом снеси все драйвера, что ставил дополнительно - у тебя достаточно старый ноут и в ядре все есть!
Но поставь
sys-kernel/linux-firmware
.Загрузись с
Ubuntu LiveCD
и посмотри, какие драйвера и связанные с ними модули загружены и настрой свое ядро соответственно./
Обоснуй предпочтение subj относительно SRCD.
:wq
--
Live free or die
Хех,
Это еще никто не вспоминал ядра, собираемые genkernel'ом.
Спасибо, очень помог Ваш
Спасибо, очень помог Ваш совет!
О том что сделано в первом посте.
А надо было бы
А надо было бы сразу смотреть
ip a
- и проблем бы было меньше :),ifconfig
- как бы устарел... да и ограничен во многом...Но-но!
Попрошу уважать классику!
:wq
--
Live free or die
Я уважаю винил, но в
Я уважаю винил, но в повседневной жизни предпочитаю MP3 или OGG!.. :)
/
Давайте рассмотрим более актуальный пример.
Например меня весьма интересует логика
firewalld
. Или Вы, вопреки заветам Леннарта, упорствуете в использовании классического интерфейса?:wq
--
Live free or die