View previous topic :: View next topic |
Author |
Message |
Darkstalker12 n00b
Joined: 08 Oct 2023 Posts: 4
|
Posted: Sun Oct 08, 2023 9:14 pm Post subject: Comfast internet not working |
|
|
I just finished installing gentoo on my pc. During the installation of gentoo, my Comfast CF-723B WIFI usb adapter worked perfectly fine. However, now the internet wont work at all. I tried ifconfig -a to check on it, but the connection that I used during the installation no longer appea[/u]rs on the list. How do I get it to work? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3913 Location: Rasi, Finland
|
Posted: Sun Oct 08, 2023 9:33 pm Post subject: |
|
|
Darkstalker12,
Hi and welcome to Gentoo.
You're probably missing a kernel driver for your wifi adapter.
Please paste the output of lsusb. So we can get more info about your wifi adapter. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Darkstalker12 n00b
Joined: 08 Oct 2023 Posts: 4
|
Posted: Sun Oct 08, 2023 9:57 pm Post subject: |
|
|
Bus 001 Device 002: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 001 Device 004: ID 05a3:9331 ARC International Camera
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 0bda:b720 Realtek Semiconductor Corp. RTL8723BU 802.11b/g/n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Sun Oct 08, 2023 10:39 pm Post subject: |
|
|
You have
Code: |
Bus 001 Device 005: ID 0bda:b720 Realtek Semiconductor Corp. RTL8723BU 802.11b/g/n WLAN Adapter
|
If you google search the tuple "0bda:b720 cateee"
You get
https://cateee.net/lkddb/web-lkddb/RTL8XXXU.html
If you search additionally
you get
https://www.kernelconfig.io/config_rtl8xxxu
In this way you understand you need CONFIG_RTL8XXXU and where to find it in menuconfig(although you can search for config items from inside menuconfig by pressing "/").
You can do the same for pci devices by running
Do not forget to rebuild and reinstall kernel and modules.
Just remember to search by the id tuple and "cateee" _________________
|
|
Back to top |
|
|
Darkstalker12 n00b
Joined: 08 Oct 2023 Posts: 4
|
Posted: Mon Oct 09, 2023 9:30 pm Post subject: |
|
|
I updated the kernel, and when I used ifconfig the device appered. However, when I try to start dhcpcd, all it says is "sending commands to dhcpcd process" and dosen't actually do anything. I tried to reboot it, but it still can't ping anything. |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 513 Location: San Diego, California USA
|
Posted: Mon Oct 09, 2023 10:43 pm Post subject: |
|
|
You should probably use something like wpa_supplicant to connect to your WiFi network. Does your WLAN adapter need firmware? You may need to install the linux-firmware package. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Mon Oct 09, 2023 10:43 pm Post subject: |
|
|
Do you have any other working ifaces except the usb wifi?
Plz post
The easiest way to configure wifi connections is by installing
Code: |
gnome-extra/nm-applet
|
This will of course pull NM.You will need to disable netifrc and dhcpcg etc and let NM handle connections.
Ethernet is easy.
wifi is a bit tricky.
You might also need
but i am not certain.Play around a bit.
https://www.kernelconfig.io/config_rtl8xxxu
+1 to @gentoo_ram for linux-firmware. _________________
|
|
Back to top |
|
|
Darkstalker12 n00b
Joined: 08 Oct 2023 Posts: 4
|
Posted: Wed Oct 11, 2023 12:07 am Post subject: |
|
|
I'm trying to use wpa_supplicant, but when I try to use wpa_cli, all it says is
Could not connect to wpa_supplicant: (nil) - re-trying
I already tried messing around with /etc/wpa_supplicant/wpa_supplicant.conf[/code] |
|
Back to top |
|
|
|