Help please – installed ubuntu 18.04 lts – cant get ethernet/wifi working

I have a dell optiplex 9010 desktop PC. I have just installed ubuntu 18.04, alongside windows 10, on my hard disc in a separate partition. All is ok except I cannot establish an internet connection.
When I go onto settings> Wi-fi…..it says no wifi adapter found. I have tried running an ethernet cable from laptop to desktop but it will not establish a connection. I then tried tethering my mobile phone and this allowed me to go online however I still cant figure out how to install the drivers!!

Using my laptop (packard bell) I have looked online for the drivers for these devices only because I am assuming the device drivers are not present, I downloaded from an intel web site what I think are the related drivers. The name on the file to be extracted was e1000e-3.8.4.tar.gz.
I have extracted these files to a usb stick but have no idea if 1) This is the probable fix and 2) if it is how can I upload these drivers to my desktop. (my desktop is an optiplex 9010)

I am very new to linux and following some suggestions online I used the terminal command ‘lspci’ and this showed the following what I believe to be wifi/ethernet related devices on the system:

  1. ethernet controller [0200]:intel corp 82579LM gigabit network connection.
    Subsystem: Dell 82579LM gigabit network connection.
    Kernel driver in use: e1000e.
    Kernel modules: e1000e
  2. ethernet controller [0200]:intel corp 82572EI gigabit ethernet controller. Subsystem: intel corp PRO/1000PT server adapter [8086:1082]
    Kernel driver in use: e1000e.
    Kernel modules: e1000e

I have two ethernet cards in my desktop.

  1. Intel PRO/1000PT server adapter 82572EI and…
  2. Intel 82579LM gigabit network connection…

Any help would be very much appreciated. Thanks in advance.

Go to Source
Author: zatta303

Not able to connect to Wireless network in Ubuntu 20.04

I am using Asus TUF FX505DT with the Wireless interface Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter.
It sometimes stops displaying the available Wireless networks and sometimes it displays the available networks but I am not able to connect to any network and it keeps on asking for the Wifi password again and again or keep trying to connect to the network.

$ sudo iwconfig
wlp4s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short  long limit:16   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
$ lspci 
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter (rev ff)
$ sudo lshw -C network
 *-generic
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: ff
       serial: dc:f5:05:b1:8f:81
       width: 32 bits
       clock: 66MHz
       capabilities: bus_master vga_palette cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_pci driverversion=5.4.0-37-generic firmware=N/A latency=255 link=no maxlatency=255 mingnt=255 multicast=yes wireless=IEEE 802.11
       resources: irq:69 ioport:d000(size=256) memory:f7700000-f770ffff

Go to Source
Author: Somil Singla

CUDA install issue: Invalid cross-device link

I am trying to install CUDA on Ubuntu 18.04, on a headless server (no graphical), following official guide, but I face errors:

# remove previous
apt-get update
apt-get remove --auto-remove nvidia-cuda-toolkit 
apt-get purge nvidia-cuda-toolkit 
apt-get purge --auto-remove nvidia-cuda-toolkit 
apt-get autoremove
# install new
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget http://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.1-450.36.06-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.1-450.36.06-1_amd64.deb
sudo apt-key add /var/cuda-repo-ubuntu1804-11-0-local/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda

Issues at the end of the process sudo apt-get -y install cuda:

Errors were encountered while processing:
 /tmp/apt-dpkg-install-7DzKEt/135-nvidia-compute-utils-450_450.36.06-0ubuntu1_amd64.deb
 /tmp/apt-dpkg-install-7DzKEt/140-nvidia-utils-450_450.36.06-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Doing sudo apt-get -y install cuda again:

 Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    cuda is already the newest version (11.0.1-1).
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     cuda-drivers-450 : Depends: nvidia-compute-utils-450 (>= 450.36.06) but it is not going to be installed
                        Depends: nvidia-utils-450 (>= 450.36.06) but it is not going to be installed
     nvidia-driver-450 : Depends: nvidia-compute-utils-450 (= 450.36.06-0ubuntu1) but it is not going to be installed
                         Depends: nvidia-utils-450 (= 450.36.06-0ubuntu1) but it is not going to be installed
                         Recommends: libnvidia-compute-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
                         Recommends: libnvidia-decode-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
                         Recommends: libnvidia-encode-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
                         Recommends: libnvidia-ifr1-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
                         Recommends: libnvidia-fbc1-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
                         Recommends: libnvidia-gl-450:i386 (= 450.36.06-0ubuntu1) but it is not installable
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Doing apt --fix-broken install:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  nvidia-compute-utils-450 nvidia-utils-450
The following NEW packages will be installed:
  nvidia-compute-utils-450 nvidia-utils-450
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
313 not fully installed or removed.
Need to get 0 B/489 kB of archives.
After this operation, 1570 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 file:/var/cuda-repo-ubuntu1804-11-0-local  nvidia-compute-utils-450 450.36.06-0ubuntu1 [123 kB]
Get:2 file:/var/cuda-repo-ubuntu1804-11-0-local  nvidia-utils-450 450.36.06-0ubuntu1 [366 kB]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 77110 files and directories currently installed.)
Preparing to unpack .../nvidia-compute-utils-450_450.36.06-0ubuntu1_amd64.deb ...
Unpacking nvidia-compute-utils-450 (450.36.06-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-0-local/./nvidia-compute-utils-450_450.36.06-0ubuntu1_amd64.deb (--unpack):
 unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../nvidia-utils-450_450.36.06-0ubuntu1_amd64.deb ...
Unpacking nvidia-utils-450 (450.36.06-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-0-local/./nvidia-utils-450_450.36.06-0ubuntu1_amd64.deb (--unpack):
 unable to make backup link of './usr/bin/nvidia-debugdump' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cuda-repo-ubuntu1804-11-0-local/./nvidia-compute-utils-450_450.36.06-0ubuntu1_amd64.deb
 /var/cuda-repo-ubuntu1804-11-0-local/./nvidia-utils-450_450.36.06-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here we are.. how to fix unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link ?

Thanks a lot !

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

Go to Source
Author: reasons

Unable to get Netgear A7000 to work on 20.04 despite multiple attempts

I’m new to Linux and I’m trying to set up everything on my own (with manually created partitions for the first time). The installation process was smooth but I’m struggling to get my wifi adapter to work.

I’m using a Netgear Nighthawk AC1900 Wi-Fi USB Adapter (A7000) which works fine with Windows 10 but is not detected by Ubuntu 20.04

So far I’ve tried following steps mentioned in three different posts and none of them has worked for me so far:

  1. First I tried this

    sudo apt-get install git dkms
    git clone https://github.com/zebulon2/rtl8814au.git
    sudo dkms add ./rtl8814au 
    sudo dkms build -m rtl8814au -v 4.3.21
    sudo dkms install -m rtl8814au -v 4.3.21
    
    
  2. Then I tried this

    sudo apt install dkms build-essential git
    git clone https://github.com/aircrack-ng/rtl8812au.git
    cd rtl8812au
    sudo ./dkms-install.sh
    reboot
    
    
  3. Finally I tried this

    git clone https://github.com/aircrack-ng/rtl8812au.git
    cd rtl8812au/
    sudo dkms-install.sh
    
    

Am I missing something?

Also, idk if it is related in any way or if it matters but when I restart Ubuntu my screen goes completely blank and I have to force shutdown my desktop and boot again.

Looking forward to hearing from you all.

Go to Source
Author: Lakshay Verma

TPM 2.0 device which supports Linux kernel via TCG_TIS or TCG_TIS_SPI

How to find out if TPM device supports "TPM 2.0 FIFO Interface" (TCG_TIS) and "TPM 2.0 FIFO Interface - (SPI)" (TCG_TIS_SPI), when they don’t specify it? I’m particularly interested in TPM SLB 9665 Xenonboard, as it has JTPM1, which is on my board.

Go to Source
Author: pevik

Ubuntu 18.04 automatically logs out when I close the laptop lid

Ubuntu 18.04 automatically logs out when I close the laptop lid

I have 18.04 on my lenovo legion. Usually, when I go to bed I close the lid and the computer goes into suspend/sleep and when I wake up, I unlock it and pick up where I left. But very recently- last week or 2, when I close the lid and wake up in the morning, I find that ubuntu has logged me out. and of course, when I log back in, all windows and apps are closed, sometimes I lose my progress on unsaved projects and the sites I wanted to have open.

does anyone else face this issue? my guess is that I have nvidia 430.50 driver and I installed it along with tensorflow. But recently the system shows this partial update warning and the only packages there are the nvidia driver 440.59 version. I don’t want to break my tensorflow installation and also potentially break the os by installing it. Any advice?

Go to Source
Author: alonzo golanzo

Install driver rtl8814au on ubuntu 20.04

Install driver rtl8814au on ubuntu 20.04

Based on this

Install driver rtl8814au on ubuntu 18.04

I installed manually (make && make install) the driver when I had the kernel

$ uname -r
5.4.0-26-generic

Now, ubuntu 20.04 wants to install the new one:

linux-image-5.4.0-29-generic

I did it before (upgrade the system then, the kernel) and the driver stopped to work, even I installed thousand times, was impossible to up the driver which logical name is “wlx50c4ddcf488e”.

The installation I made:

$ sudo apt install build-essential
$ sudo apt install bc
$ sudo apt install linux-headers-`uname -r`
$ sudo apt install git

$ git clone https://github.com/aircrack-ng/rtl8812au.git

$ cd rtl8812au
$ make && sudo make install

Does anyone has idea about what can I do? Now, I cannot upgrade my system without losing the wireless connection.

Thank a lot.

Go to Source
Author: Ibringpies