View previous topic :: View next topic |
Author |
Message |
mikhail17 n00b
Joined: 24 Nov 2022 Posts: 1
|
Posted: Thu Nov 24, 2022 2:34 am Post subject: iwlwifi loaded but interface not in ifconfig -a |
|
|
Good evening. I installed Gentoo linux for the first time on my Thinkpad t430 following the handbook guide. The system is working, but wifi is not.
First, I enabled all the required kernel configs with menuconfig:
Code: |
[*] Networking support --->
[*] Wireless --->
<M> cfg80211 - wireless configuration API
[*] enable powersave by default
<M> Generic IEEE 802.11 Networking Stack (mac80211)
-*- Enable LED triggers
<*> RF switch subsystem support
...
Device Drivers --->
Generic Driver Options --->
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
(intel-ucode/06-3a-09) External firmware blobs to build into the kernel binary
(/lib/firmware) Firmware blobs root directory
...
[*] Network device support --->
[*] Wireless LAN --->
<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
|
Second, I emerged sys-kernel/linux-firmware so the card's firmware could be loaded. Then, I compiled the kernel and installed it with an initramfs.
When the system boots, dmesg shows the iwlwifi module is loaded without errors:
Code: |
#dmesg | grep iwl
[ 11.684042] Loading firmware: iwlwifi-2000-6.ucode
[ 11.689339] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 2000-6.ucode op_mode iwldvm
|
lspci also shows the driver is in use for the card:
Code: |
#lspci -knn
...
03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2200 [8086:0891] (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2200 BGN [8086:4222]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
|
Nevertheless, it does not appear in /sys/class/net nor in ip addr nor ifconfig -a. It is not disabled in rfkill, which only lists my bluetooth radio. I have read the threads with similar problems on this forum but I am unable to find a solution there. |
|
Back to top |
|
|
APolozov Apprentice
Joined: 28 Sep 2006 Posts: 189 Location: Voronezh, Russia
|
Posted: Thu Nov 24, 2022 9:27 am Post subject: |
|
|
You should add USE=dhcpcd iwd networkmanager wifi" to your make.conf and rebuild world (emerge -uND @world).
After, run "sudo rc-update add iwd default && sudo rc-update add NetworkManager default"
And add to /etc/conf.d/net this strings
Code: |
modules_phy0="iwd"
modules_wlan0="iwd"
iwd_wlan0="phy0"
config_wlan0="dhcp"
|
After reboot select your wireless net into NetworkManager GUI _________________ Excuse my bad English, I only study it. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Nov 24, 2022 10:03 am Post subject: |
|
|
mikhail17,
Welcome to Gentoo.
It all looks OK but it doesn't work. I need to ask if you are running the kernel you think you are. The command will indicate that.
Code: | $ uname -a
Linux neddy_static 6.0.0-gentoo #1 SMP PREEMPT_DYNAMIC Mon Oct 3 19:10:46 BST 2022 x86_64 AMD Ryzen 9 5950X 16-Core Processor AuthenticAMD GNU/Linux |
The time/date, here Mon Oct 3 19:10:46 BST 2022 is the build time of the running kernel.
On your system, is that before or after your last kernel rebuild?
If its before, you probably forgot to mount /boot for the kernel install. That correctly installs the kernel to the wrong place.
There are no error messages for that. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|