This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE NEON No internet after fresh install

Tags: None
(comma "," separated)
mkbicksen
Registered Member
Posts
20
Karma
0
I'm tired.
Just did a fresh install of the most recent user edition. After installing kubuntu at first and getting the same problem I changed to Neon and the problem persists. iwconfig says "no wireless extensions". nmcli d, ip link and ip addr don't detect anything but lo loopback. nmcli g says
STATE - CONNECTIVITY - WIFI-HW - WIFI - WWAN-HW - WWAN
disconnected unknown enabled enabled enabled

So... lspci detects a network controller. nmcli r says everything is enabled.

ifconfig is not installed for some reason.

service network-manager restart does nothing. Same thing with systemctl restart network-manager.service. journalctl -u network has no entries.

I also have no audio. No output or input devices found.

I don't know what to do. And I'm tired.
mkbicksen
Registered Member
Posts
20
Karma
0
Adding that systemctl status network-manager says
<warn> ifupdown: interfaces file /etc/network/interfaces doesn't exist
...
<warn> Error: failed to open /run/network/ifstate

/run/network does not exist.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
So... lspci detects a network controller.
So.... what does it show, exactly? Does it show the wireless card, or just an Ethernet one?

paste the lspci output, and we should be able to tell.

After installing kubuntu at first and getting the same problem

Note that Neon is the same as Ubuntu/Kubuntu 20.04, so this is not unexpected.

Probably the card you have needs non-free drivers, or ones that are not allowed to be distributed etc etc, or is simply not yet supported in the Ubuntu 20.04 kernel you are running. Though there may be drivers available outside of software repos or it may be one of those that are simply a PITA to set up.

After posting the lspci info, the second thing to check is if there are non-free type drivers for your card. You can do this on the command line

Code: Select all
ubuntu-drivers devices

If anything is available, it will show you the package needed to install.

Here is mine as an example:
Code: Select all
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0 ==
modalias : pci:v000010ECd0000C821sv0000103Csd0000831Abc02sc80i00
vendor   : Realtek Semiconductor Co., Ltd.
model    : RTL8821CE 802.11ac PCIe Wireless Network Adapter
driver   : rtl8821ce-dkms - distro free


This tells me that rtl8821ce-dkms is what I need to install to get the wifi drivers for my card.
Code: Select all
sudo apt install rtl8821ce-dkms

(note that someone may say 'just use the command
Code: Select all
sudo ubuntu-drivers autoinstall
', but this is deprecated, and does not always work.)


But do post your wifi card's info, and we should be able to narrow things down, hopefully it is an easy one.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mkbicksen
Registered Member
Posts
20
Karma
0
I'm back, I was fiddling trying to wipe everything by reinstalling neon or kubuntu on top but now my BIOS doesn't detect the flash drive (?)
Oh well. This is to say that the lspci output is
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06)
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 06)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 06)
00:0e.0 Multimedia audio controller: Intel Corporation Device 3198 (rev 06)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 06)
00:12.0 SATA controller: Intel Corporation Device 31e3 (rev 06)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:13.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:13.2 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:15.0 USB controller: Intel Corporation Device 31a8 (rev 06)
00:16.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller (rev 06)
00:16.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller (rev 06)
00:16.2 Signal processing controller: Intel Corporation Device 31b0 (rev 06)
00:16.3 Signal processing controller: Intel Corporation Device 31b2 (rev 06)
00:17.0 Signal processing controller: Intel Corporation Device 31b4 (rev 06)
00:17.1 Signal processing controller: Intel Corporation Device 31b6 (rev 06)
00:17.2 Signal processing controller: Intel Corporation Device 31b8 (rev 06)
00:17.3 Signal processing controller: Intel Corporation Device 31ba (rev 06)
00:18.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:19.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 06)
00:19.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 06)
00:19.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 06)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 06)
00:1e.0 SD Host controller: Intel Corporation Device 31d0 (rev 06)
00:1f.0 ISA bridge: Intel Corporation Device 31e8 (rev 06)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
mkbicksen
Registered Member
Posts
20
Karma
0
ubuntu device says
== /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0 ==
modalias : pci:v000010ECd0000C821sv000010ECsd0000C821bc02sc80i00
vendor : Realtek Semiconductor Co. Ltd.
model : RTL8821CE 802.11ac PCI Wireless Network Adapter
driver: rtl8821ce-dkms - distro free
I had to type out all of that
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
mkbicksen wrote:I had to type out all of that

You can copy the text and paste it in your reply......

But anyway, you have the exact same wifi card as my PC ;)

So :
Code: Select all
sudo apt install rtl8821ce-dkms

You can copy this into a Konsole window.


Now, on the off chance this driver doesn't work well, there is another driver that can be compiled and installed, but it is a manual process, though not difficult at all.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mkbicksen
Registered Member
Posts
20
Karma
0
Result for sudo apt install rtl8821ce-dkms
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/u ... .3_all.deb Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Oh, yeah, you don't have a network connection. Oops I somehow neglected to notice that somehow :-\

This will be a bit annoying, unless you can tether to a mobile device or have a usb dongle (that works) or a usb-to-ethernet adapter.
There are a number of dependency packages need to be installed along with this, so that has to be sorted so the files can be collected on another computer/OS if you can't connect to the internet on the Neon system.

Last edited by claydoh on Sun Apr 18, 2021 12:49 am, edited 1 time in total.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mkbicksen
Registered Member
Posts
20
Karma
0
I'm trying to download packages on this device and do back and forths with .deb package dependencies. A terrible method, will update on its results.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Give me a few moments and I can generate the full list of files.

You can't tether a phone via USB? That would be the simplest and easy option, if available to you by your provider.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mkbicksen
Registered Member
Posts
20
Karma
0
So rtl8821ce relies on DKMS... I downloaded a DKMS and it's some sort of .pkg.tar.zst file. Dpkg can't do anything with it, neither can Discover. rtl8821ce won't install on its own.
I am lost and it's getting cold...

No I cannot tether a phone for quite a number of reasons.
Otherwise it would have been the first thing I'd done, just tether and sudo apt update sudo apt upgrade. Except it's sudo pkcon update on neon for some cursed reason.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
binutils binutils-common binutils-x86-64-linux-gnu build-essential
dctrl-tools dkms dpkg-dev fakeroot g++ g++-9 gcc gcc-9
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcrypt-dev
libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl
libgcc-9-dev libitm1 liblsan0 libquadmath0 libstdc++-9-dev libtsan0
libubsan1 linux-libc-dev make manpages-dev patch rtl8821ce-dkms

These all have to be deb files from *buntu Focal 20.04 https://packages.ubuntu.com
These files can be all placed in one directory. Open Dophin and go there and hit alt-f4 to open a terminal in that folder, then:
Code: Select all
sudo dpkg -i *.deb


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
mkbicksen wrote:sudo apt update sudo apt upgrade. Except it's sudo pkcon update on neon for some cursed reason.


Wrong.
it is sudo apt full-upgrade in Ubuntu based distros. not apt upgrade. This common mistake precisely is why they strongly push using pkcon, and even modified things so attempting to run the plain upgrade command will show a message instead of running.

Using apt properly won't harm the system.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
If you have a Kubuntu 20.04 iso, many of the files needed may be hiding on the USB install disk.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mkbicksen
Registered Member
Posts
20
Karma
0
I have a 20.10 iso. I'm currently getting all the packages downloading them manually. Will report back


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]