Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless network device not detected
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
trazodone
n00b
n00b


Joined: 09 Jul 2020
Posts: 6
Location: Brazil

PostPosted: Thu Jul 09, 2020 3:31 am    Post subject: wireless network device not detected Reply with quote

Hello, people. I'm new to Gentoo. Installed it this Sunday. I've been having a lot of fun, and also a lot of headache, with this distribution. But the fun and challenge are worth it, as I find myself dancing after every problem is solved. After installing it everything seems clear. Compiling the kernel does not seem like the herculean task it once seemed to be. But I'm still learnning the ropes so I may have accidently messed everything up.

I want to access internet through my wireless PCIe device, which is rtl8192ee. It is the same driver as it appears in my Debian install and also through the gentoo livecd. It did work for some time, but then it stopped working and I can't really wrap my head around why.

This is what lspci -k gives me (regarding wireless drivers):

Code:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
   Subsystem: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
   Kernel modules: rtl8192ee
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
   Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
   Kernel driver in use: r8169
   Kernel modules: r8169
04:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)


As you can see, it is in fact installed as a kernel module (yes, modularized, not builtin -- it didn't work before, as a builtin part of the kernel, then I compiled it as a module and it started working, and now it stopped working altogether). I don't understand why it isn't being used as a kernel driver, though. In the livecd install it appears as:
Code:
   Kernel modules: rtl8192ee
   Kernel driver in use: rtl8192ee

And, as I said, it worked before, but I must have switched some thing off. The last thing I remember doing before it went off was setting
Code:
 CONFIG_UNUSED_SYMBOLS=y
(which solved part of my GPU-related problems). But turning it off didn't fix the problem, so I guess it's unrelated.

But anyway, here's what appears to me when I run ifconfig. Before, three devices appeared: enp3s0, lo and wlp2s0. It is this last one, wlp2s0, that I need.

Code:
Subsystem: Gigabyte Technology Co., Ltd Motherboard
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Loopback Local)
        RX packets 60  bytes 3992 (3.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 60  bytes 3992 (3.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


However, when I run ip addr show this is what I get:

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 50:e5:49:32:5a:45 brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0


So it seems to me that sit0@NONE is what I want... but it isn't properly "rendered", if so I might say. At least that's what I expect.

And, as I said, the module is there, as lsmod shows:

Code:
Module                  Size  Used by
nvidia_drm             45056  0
nvidia_modeset       1077248  1 nvidia_drm
nvidia              20185088  1 nvidia_modeset
rtl8192ee             126976  0
btcoexist             208896  1 rtl8192ee
r8169                  86016  0
rtl_pci                36864  1 rtl8192ee
rtlwifi               110592  3 rtl_pci,btcoexist,rtl8192ee
ipmi_devintf           20480  0
ipmi_msghandler        57344  2 ipmi_devintf,nvidia


I don't know what to make of this.

EDIT: I apologize for being so verbose.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3597

PostPosted: Thu Jul 09, 2020 7:17 am    Post subject: Re: wireless network device not detected Reply with quote

trazodone wrote:
This is what lspci -k gives me (regarding wireless drivers):

Code:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
   Subsystem: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
   Kernel modules: rtl8192ee
[...]

Did you check if that device needs firmware?
Try modinfo -F firmware rtl8192ee and modinfo -F firmware rtlwifi

In case it needs firmware you might get it by installing sys-kernel/linux-firmware.
Back to top
View user's profile Send private message
trazodone
n00b
n00b


Joined: 09 Jul 2020
Posts: 6
Location: Brazil

PostPosted: Fri Jul 10, 2020 12:55 am    Post subject: Re: wireless network device not detected Reply with quote

charles17 wrote:

Did you check if that device needs firmware?
Try modinfo -F firmware rtl8192ee and modinfo -F firmware rtlwifi

In case it needs firmware you might get it by installing sys-kernel/linux-firmware.


I already had this installed. Recompiled it. Nothing changed. However, rtlwifi didn't return anything, while rtl8192ee did. Maybe there's something there.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3597

PostPosted: Fri Jul 10, 2020 5:04 am    Post subject: Reply with quote

Please wgetpaste your dmesg output so we can see what's going on
Back to top
View user's profile Send private message
trazodone
n00b
n00b


Joined: 09 Jul 2020
Posts: 6
Location: Brazil

PostPosted: Fri Jul 10, 2020 7:17 pm    Post subject: Reply with quote

charles17 wrote:
Please wgetpaste your dmesg output so we can see what's going on


Well, I reinstalled my system and it started working. I don't know why. All my problems disappeared magically: my GPU drivers are working and so is my internet. I don't know how this happened, but well. There it goes. Should I mark as solved?
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