LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2020, 07:18 PM   #1
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Rep: Reputation: 1
new Debian 10.4 installation - no internet, stuck on boot because of nvidia


It's my first time installing linux, everything done from bootable USB stick with debian-10.4.0-amd64-xfce-CD-1 on it. I had to go for the non network version because my only connectivity is USB adapter WiFi. This led me to the problem I'm stuck on which is that I have to install non-free nvidia drivers to get Debian to run, or at least that's my understanding of "nouveau unknown chipset (166000a1)" and "failed to start light display manager" errors. However to get this to run I need to be able to install linux headers and that either requires an internet connection or access to packages on the ISO. To get my WiFi to play I also need the same thing. This is where I am stuck.

I have tried mounting my USB stick to ~/UsbStick and then added "deb [trusted=yes] file:/root/UsbStick buster main contrib" to my /etc/apt/sources.list - then running apt-get update with results showing in this picture: https://imgur.com/a/hmR3b6S

I also tried "apt-cdrom --cdrom /root/UsbStick add" to see if I maybe could get the system to buy the usb stick as a cdrom and then list it in sources.list for me, but that also resulted in errors.

UPDATE: After installing nvidia drivers I can now boot into desktop. However my WiFi won't connect. Adding following posts to this to make it easier to read #8:

Ran into an issue when trying to connect to my WiFi. First of all after installing the drivers the device shows up as "wlx1831bf56cb6f" in iwconfig. A bit strange but I don't know enough about this to deem it as broken. On we go.

Code:
ip link show wlx1831bf56cb6f
3: wlx1831bf56cb6f: <BROADCAST, MULTICAST> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
   link/ether [mac address here] brd ff:ff:ff:ff:ff:ff

ip link set wlx1831bf56cb6f up
3: wlx1831bf56cb6f: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
   [same as above]
the "state DOWN" catches my eye but I don't know. I create a wpa_supplicant.conf with the correct SSID and passkey, and load it up with

Code:
wpa_supplicant -B -i wlx1831bf56cb6f -c /etc/wpa_supplicant.conf -Dnl80211,wext
Successfully initialized wpa_supplicant

iw wlx1831bf56cb6f link
Not Connected
Am I doing something wrong or is the driver installation borked?

#12

so since I'm unable to connect to my network through either wpa_supplicant and nmcli, I'm unable through the desktop shortcuts. Now the question becomes do I try to purge the drivers (if yes, how? "get purge rtl8812au"?) and install alternate ones?

edit: is there any way to rename this device to something less tedious to type out than "wlx1831bf56cb6f"? it makes configuring it horrible.

SOLVED: After installing different drivers, suggested by colorpurple21859, state turned to DORMANT and I could now see all wifi networks and connect to them.

Last edited by shuv1t; 05-23-2020 at 08:28 PM. Reason: issue has evolved into something else
 
Old 05-23-2020, 06:40 AM   #2
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
Hi!

I'm not an expert and you told nothing about you hardware ...

But to avoid the most common issues related to proprietary drivers during the install process,
you may use one of the installers shipping non-free firmware : HERE
This solves kind of problems you're facing

Using a live image you even be able to check if things go well in the live session one of them comes with XFCE as seems to be you wish ;-))

Hoping that will help you
... Wellcome to Debian !

You will enjoy ... for sure!

Last edited by dezix; 05-23-2020 at 06:42 AM.
 
2 members found this post helpful.
Old 05-23-2020, 07:34 AM   #3
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Thank you for the reply dezix, I will look into the non-free firmware installer.

As for my issue I finally made the USB stick repo work by instead of using ~/UsbStick I used /media/usb. I don't know why this made a difference but it did. However I am now stuck with the issue that I don't have "make". As I was trying to install my WiFi drivers this came up. After successfully installing linux-headers, I tried "apt install build-essential" to get access to "make" but got the error message that build-essential couldn't be found. Is this package not part of the CD1 ISO of Debian?

The hardware that I have to manually install is ASUS USB-AC56 (rtl8812au chipset) and my RTX2070. Obviously this would be immensely much easier if I already had internet access as I could just get everything from there. However I kind of see this as a way to learn to use the system too, so it's not all bad.
 
Old 05-23-2020, 08:17 AM   #4
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
Quote:
Obviously this would be immensely much easier if I already had internet access as I could just get everything from there....
I'm not so sure about that,
I've some times encountered difficulties with missing firmware during the install with NetInstall and I'd never success to provide it at this point.

For that reason I use now unofficial NetInstall with non-free firmwares,
and it goes pretty better.

But, as said before, I'm no expert at all.

As one has to use a non-free equipment,
non-free installer at the beginning or to add non-free later doesn't change the non-free final state.

So I choose the easy way.

Last edited by dezix; 05-23-2020 at 08:19 AM.
 
Old 05-23-2020, 08:46 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, antiX, Manjaro
Posts: 2,973
Blog Entries: 17

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
shuv1t,

You may only need to use apt-offline to install build-essential:
https://www.ostechnix.com/fully-upda...based-systems/

apt-offline download for Linux (deb):

https://pkgs.org/download/apt-offline

Failing that, start again and edit your sources.list:

Code:
sudo nano /etc/apt/sources.list
with the following lines:

Code:
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main

deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
Then:

Code:
sudo apt update 
sudo apt upgrade
sudo reboot
Next, install the Realtek rtl8821au driver:

Code:
sudo apt-get install linux-headers-$(uname -r) build-essential git
  git clone https://github.com/scrivy/rtl8812AU_8821AU_linux.git
  cd rtl8812AU_8821AU_linux
  make
  sudo make install
  sudo modprobe rtl8812au
Good luck.

Last edited by beachboy2; 05-23-2020 at 08:59 AM.
 
Old 05-23-2020, 09:14 AM   #6
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by beachboy2 View Post
Next, install the Realtek rtl8821au driver:

Code:
sudo apt-get install linux-headers-$(uname -r) build-essential git
  git clone https://github.com/scrivy/rtl8812AU_8821AU_linux.git
  cd rtl8812AU_8821AU_linux
  make
  sudo make install
  sudo modprobe rtl8812au
Wouldn't "git clone https://github.com/scrivy/rtl8812AU_8821AU_linux.git" require you to be online?
 
Old 05-23-2020, 09:26 AM   #7
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Either way it's not a big deal as I've downloaded the git files and put on the USB stick. I can just build it from there.

I ran into the same stuck on boot when using debian-live-10.4.0-amd64-xfce+nonfree.iso - will now try and see if I have "make" so I can get to installing my drivers.

Last edited by shuv1t; 05-23-2020 at 09:44 AM.
 
Old 05-23-2020, 11:01 AM   #8
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Ran into an issue when trying to connect to my WiFi. First of all after installing the drivers the device shows up as "wlx1831bf56cb6f" in iwconfig. A bit strange but I don't know enough about this to deem it as broken. On we go.

Code:
ip link show wlx1831bf56cb6f
3: wlx1831bf56cb6f: <BROADCAST, MULTICAST> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
   link/ether [mac address here] brd ff:ff:ff:ff:ff:ff

ip link set wlx1831bf56cb6f up
3: wlx1831bf56cb6f: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
   [same as above]
the "state DOWN" catches my eye but I don't know. I create a wpa_supplicant.conf with the correct SSID and passkey, and load it up with

Code:
wpa_supplicant -B -i wlx1831bf56cb6f -c /etc/wpa_supplicant.conf -Dnl80211,wext
Successfully initialized wpa_supplicant

iw wlx1831bf56cb6f link
Not Connected
Am I doing something wrong or is the driver installation borked?

Last edited by shuv1t; 05-23-2020 at 11:36 AM.
 
Old 05-23-2020, 11:15 AM   #9
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
For the graphic card look at https://wiki.debian.org/NvidiaGraphi...#nvidia-detect

you may use nvidia-detect and nvidia-driver

Description of nvidia-driver
shows :

Quote:
See /usr/share/doc/nvidia-driver/README.txt.gz for a complete list of supported GPUs and PCI IDs.
 
Old 05-23-2020, 11:22 AM   #10
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
xserver-xorg-video-nouveau free driver supports many Nvidia products too.
 
Old 05-23-2020, 11:28 AM   #11
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
Your rtx 2070 is listed HERE for nvidia-driver package
 
Old 05-23-2020, 11:42 AM   #12
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Thank you for the replies, but all of those require me to be online yes? Or should I try downloading them to an USB stick and building them from there?

edit: I downloaded the driver and since it was a .run it installed by itself when I ran it from the USB stick. Yay, I can now see the GUI!

edit2: so obviously since I'm unable to connect to my network through either wpa_supplicant and nmcli, I'm unable through the desktop shortcuts. Now the question becomes do I try to purge the drivers (if yes, how? "get purge rtl8812au"?) and install alternate ones?

Last edited by shuv1t; 05-23-2020 at 01:43 PM. Reason: additional info, didn't want to bump unnecessarily
 
Old 05-23-2020, 01:54 PM   #13
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,383

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
At the grub menu press e and add nomodeset to the end of the line that begins with linux. Maybe that will get you further along.
 
Old 05-23-2020, 02:11 PM   #14
shuv1t
LQ Newbie
 
Registered: May 2020
Distribution: Manjaro
Posts: 26

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by colorpurple21859 View Post
At the grub menu press e and add nomodeset to the end of the line that begins with linux. Maybe that will get you further along.
This was one of the first things I tried when I my boot failed. Not sure if that's gonna help with my WiFi adapter though, unless I'm missing something?
 
Old 05-23-2020, 03:29 PM   #15
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,383

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
Quote:
Not sure if that's gonna help with my WiFi adapter though, unless I'm missing something?
No, that only helps sometimes with video problems.
You will have to build the driver for you wireless adapter which is troublesome if you don't have an internet connection to begin with. If you can purchase a usb wifi adapter that will work with linux straight up would be your best bet.
Did you successfully run the make and 'make install' commands for your wifi adapter driver?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My webserver stuck very often because of httpd processes duzap Linux - Server 2 07-17-2011 08:40 AM
New ATI fglrx driver working, but no accel. because of NVIDIA remnants? Haldrik Linux - Hardware 0 08-11-2004 11:23 AM
stuck because of iTunes Snerkel Linux - Software 5 08-07-2004 06:27 PM
cannot login because file system check fails because of bad magic number trutnev Linux - Newbie 1 03-23-2004 06:44 PM
I'm Stuck, so Stuck. basttrax Linux - General 3 11-14-2003 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration