Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No wifi/wlan after installation (wlp)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Triliner
n00b
n00b


Joined: 02 Mar 2023
Posts: 5

PostPosted: Thu Mar 02, 2023 12:35 pm    Post subject: No wifi/wlan after installation (wlp) Reply with quote

So I just finished installing gentoo but I have no wifi connection, when I do ifconfig it doesn't show my wifi (wlp5s0), my Linux mint install does. enp6s0 shows up, that's my LAN, but I don't want to use that.

I installed dhcpcd and the wifi tools as stated by the gentoo handbook.

I am using a tp link wifi card (archer tx50e) and I went to tp link website and the only thing it said was that it uses an intel chipset. So I enabled all intel networking kernel modules and recompiled the kernel. Still no luck.

Can someone help me with this? I don't want to use LAN.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Thu Mar 02, 2023 1:38 pm    Post subject: Reply with quote

Does it show up if you do ip link instead of ifconfig? I ask because ifconfig only shows active and configured interfaces by default.

Also, how did you configure the wireless to start?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4156
Location: Bavaria

PostPosted: Thu Mar 02, 2023 2:15 pm    Post subject: Reply with quote

Triliner,

Welcome to Gentoo Forums !

In addition to our developer @grknight I want to give you some hints;

1. If your wlan works when booting Linux Mint then do there a "lspci -k". You will see the kernel module for your wlan. So, you dont need to enable many unused kernel modules.

2. This kernel module will need some firmware. Please read this short chapter:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware

3. So, yes it depends if you have enabled your wlan module static or as <M>odule. Now look into your "dmesg" and check if there are some errors.

If you need more help please give us the output of:

a) emerge --info
b) output of dmesg
c) output of lspci -k
d) your kernel .config

(Please use wgetpaste for b) and d) because it will not fit into a post)
Back to top
View user's profile Send private message
Triliner
n00b
n00b


Joined: 02 Mar 2023
Posts: 5

PostPosted: Fri Mar 03, 2023 8:11 am    Post subject: No it doesn't show up, something else shows up though 'sit0' Reply with quote

grknight wrote:
Does it show up if you do ip link instead of ifconfig? I ask because ifconfig only shows active and configured interfaces by default.

Also, how did you configure the wireless to start?
Back to top
View user's profile Send private message
Triliner
n00b
n00b


Joined: 02 Mar 2023
Posts: 5

PostPosted: Fri Mar 03, 2023 8:13 am    Post subject: Reply with quote

The state of sit0 is also DOWN when checked with ip link, just like enp6s0, my ethernet.
Back to top
View user's profile Send private message
Triliner
n00b
n00b


Joined: 02 Mar 2023
Posts: 5

PostPosted: Fri Mar 03, 2023 8:29 am    Post subject: Reply with quote

Ok so I ran lspci -k on linux mint and I think I found a kernel module for my wifi
[05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
]

Here is my dmesg output: https://pastebin.com/ZnK2iLLK (Sorry im not familiar with wgetpaste or how to use it so I used pastebin)

The dmesg output is also from linux mint. I will do the rest on my gentoo
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Mar 03, 2023 8:47 am    Post subject: Reply with quote

is better you post your dmesg and other request output from gentoo not linux mint
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Triliner
n00b
n00b


Joined: 02 Mar 2023
Posts: 5

PostPosted: Fri Mar 03, 2023 9:01 am    Post subject: Reply with quote

Thanks guys for the help I really appreciate it. After installing the Intel wifi kernel modules that I actually need, wlp5s0 shows up. Currently it's at DOWN state but I'll try working on that.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Fri Mar 03, 2023 5:23 pm    Post subject: Reply with quote

Triliner wrote:
Here is my dmesg output: https://pastebin.com/ZnK2iLLK (Sorry im not familiar with wgetpaste or how to use it so I used pastebin)
wgetpaste is a tool to make use of a pastebin easier. If you want to do it the manual way, that will not bother us.
Triliner wrote:
After installing the Intel wifi kernel modules that I actually need, wlp5s0 shows up. Currently it's at DOWN state but I'll try working on that.
If you want further help, please ask. If I had to guess from what you have shown so far, you have the wireless tools installed, but nothing is using them, so the card is not associating to an access point or is not acquiring a lease afterward.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Fri Mar 03, 2023 7:22 pm    Post subject: Reply with quote

Triliner,

Code:
[   11.686261] wlp5s0: authenticate with ae:9d:98:8d:bd:d1
[   11.687977] wlp5s0: send auth to ae:9d:98:8d:bd:d1 (try 1/3)
[   11.720264] wlp5s0: authenticated
[   11.721723] wlp5s0: associate with ae:9d:98:8d:bd:d1 (try 1/3)
[   11.731234] wlp5s0: RX AssocResp from ae:9d:98:8d:bd:d1 (capab=0x411 status=0 aid=1)
[   11.734966] wlp5s0: associated
[   11.866166] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready


That's the hard bit done. The radio link is up but nothing has set up an IP.

Code:
dhcpcd wlp5s0
should make it work ... but only until your lease on the IP address expires.
You need to configure wlp5s0 to start. Choose exactly one tool for that or they fight and none of them will work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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