Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Comfast internet not working
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
Darkstalker12
n00b
n00b


Joined: 08 Oct 2023
Posts: 4

PostPosted: Sun Oct 08, 2023 9:14 pm    Post subject: Comfast internet not working Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3913
Location: Rasi, Finland

PostPosted: Sun Oct 08, 2023 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Darkstalker12
n00b
n00b


Joined: 08 Oct 2023
Posts: 4

PostPosted: Sun Oct 08, 2023 9:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Sun Oct 08, 2023 10:39 pm    Post subject: Reply with quote

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
Code:

CONFIG_RTL8XXXU

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
Code:

lspci -nnk

Do not forget to rebuild and reinstall kernel and modules.
Just remember to search by the id tuple and "cateee"
_________________
:)
Back to top
View user's profile Send private message
Darkstalker12
n00b
n00b


Joined: 08 Oct 2023
Posts: 4

PostPosted: Mon Oct 09, 2023 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 513
Location: San Diego, California USA

PostPosted: Mon Oct 09, 2023 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Mon Oct 09, 2023 10:43 pm    Post subject: Reply with quote

Do you have any other working ifaces except the usb wifi?
Plz post
Code:

ip a

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
Code:

CONFIG_USB_RTL8152

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
View user's profile Send private message
Darkstalker12
n00b
n00b


Joined: 08 Oct 2023
Posts: 4

PostPosted: Wed Oct 11, 2023 12:07 am    Post subject: Reply with quote

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
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