Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random disconnects and DNS issues #312

Open
jbhntr861 opened this issue Jan 10, 2023 · 7 comments
Open

Random disconnects and DNS issues #312

jbhntr861 opened this issue Jan 10, 2023 · 7 comments

Comments

@jbhntr861
Copy link

jbhntr861 commented Jan 10, 2023

Wifi seems to work for awhile after fresh reinstall. But then will diaconnect at random before finally not working at all.

HP Laptop

Model: 14-fq0110wm
Kernel: 6.0.0-kali6-amd
WiFi Chipset: RTL8821ce

$ sudo lshw

Description - Wireless Interface
Product - RTL8821CE 802.11ac PCI WNA
Vendor - Realtek Semiconductor Co.
Phys ID - 0
bus info - pci@0000:01.00.0
Logical name - wlan0
Vers. - 00
Serial- 50:c2:e8:fc:1d:d9
Width - 64 bits
Clock - 33mhz

capabilities

 pm msi pciexpress bus_master cap_list
 ethernet physical wireless

config

broadcast=yes driver=rtw_8821ce  
driver version=6.0.0-kali-amd64 
firmware=N/A ip=192.168.1.25 lat=0
link=yes wireless=IEEE 802.11 resources=: 
irq: 47 ioport: f000(256)mem  
gcf00000-fcf0ffff

Ping www.google.com

From MEDUSA (192.168.1.25) icmp_seq=8        
byce
From MEDUSA (192.168.1.25) icmp_seq=8     
Destination

From MEDUSA (192.168.1.25) icmp_seq-9        
Destination Host Unreachable

From MEDUSA (192.168.1.25) icmp_seq-10 
Destination Host Unreachable

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-11 ttl=100 
time-2689 ms

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-12 ttl-100    
time-1667 ms    
64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-13 ttl=100 
time-643 ms 64 bytes from     
yr-in-f99.1e100.net (74.125.136.99): 
icmp_seq-14 ttl-100 time-100 ms

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-15 ttl-100     
time-385 ms 64 bytes from  
yr-in-f99.1e100.net (74.125.136.99): 
icmp_seq-17 ttl-100 time-90.8 ms 64 
bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-17 ttl-100 
time-131 ms (DUP!)

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-17 ttl-100 
time-150 ms (DUP!)

64 bytes from yr-in-f99.1e100.net        
74.125.136.99): icmp_seq-18 ttl-100 
time-140 
ms

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-18 ttl-100           
time-155 ms (DUP!)

64 bytes from yr-in-f99.1e100.net 
(74.125.136.99): icmp_seq-18 ttl-100        
time-176 ms (DUPI)    
From MEDUSA (192.168.1.25) icmp_seq-20 
Destination Host Unreachable

From MEDUSA (192.168.1.25) icmp_seq=21 
Destination Host Unreachable

From MEDUSA (192.168.1.25) icmp_seq-22 
Destination Host Unreachable

From MEDUSA (192.168.1.25) icmp_seq=23 
Destination Host Unreachable

From MEDUSA (192.168.1.25) icmp_seq-24 
Destination Host Unreachable

Steps taken.
Followed steps in Readme.md

sudo apt install build-essential 
gh repo clone tomaspinho/rtl8821ce 
sudo make -i -k
sudo make install
sudo ./dkms-install.sh

output

Error! Bad return status for modulr build on       
kernel : 6.0.0kali amdx86_64 Consult /../../
make.log 
DPKG error processing package 
realtek-rtl8723cs-dkms (--configure):
Installed realtek-rtl8723cs-dkms package 
post-installation script subprocess 
returned ERROR EXIT STATUS 10 

Make -j4 KVER=6.0.0-kali6-amd64 
KSRC=lib/modules/6.0.0Kali-etcetc/
build/...... bad EXIT STATUS 2
Refer to make.log one or more modules 
failed to install.

run-parts /etc/kerbel/headet_postinsy.d/
dkms exited with RETURN CODE 11
Failed to process /dkms at/var/lib/dpkg/i
bfo/linux-headers-6.0.0.postinst line 11
E sub process exit code 1

This happens after fresh install and using the remove script. I've tried just about everything I can think of and every troubleshooting thread I could find I have tried. Nothing changes. Anybody know the solution?

@dubhater
Copy link
Contributor

Have you tried reading that make.log mentioned by the error message? It contains the information you need.

(Why are bits missing from the error message? Why do you have a driver for some RTL8723 chip? It won't help with RTL8821CE.)

@jbhntr861
Copy link
Author

jbhntr861 commented Jan 10, 2023 via email

@dubhater
Copy link
Contributor

If you installed it with apt, remove with apt. I don't know the exact command for that. But if you installed it with dkms, remove it with dkms. apt and dkms both have manuals where you can find instructions.

@jbhntr861
Copy link
Author

jbhntr861 commented Jan 10, 2023

I installed wIth git/dkms and apt. I have apt purged and deleted all real-tek anything from my system and used dkms-remove.sh. I am now trying to use the rtl8821ce git repo that I have cloned to reinstall.

Supposedly I need to edit the makefile so that CC=gcc-8 so im working on getting that setup without internet. And of course my usb sticks will not read by my phone. But thats another issue will report when I make progress.

@jbhntr861
Copy link
Author

jbhntr861 commented Jan 11, 2023 via email

@jbhntr861
Copy link
Author

I installed wIth git and apt. I have apt purged and deleted all real-tek anything from my system.ans am.now trying to use the rtl8821cr git repo that i have cloned to reinstall

Supposedly i need to edit the makefile so that CC=gcc-8 so im working on getting that setup without internet. And of course my usb sticks will not read by my phone. But thats another issue will report when I make progress.

Still not able to get internet. Reinstalled to start fresh. Now not connecting at all.

@jbhntr861
Copy link
Author

Finally fixed this myself. Not sure if I know exactly what I did that worked but I started with a fresjh install. Reinstalled all dependencies (linux headers, build essential, etc) using a USB stick or apt-getoffline. I then used rtl8821ce offline installer. And reinstalled it. I tool everything off of my blacklist.conf though so I may just be using the driver that came with the computer but at least it works some of the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants