I'm fairly new to linux and like the title says I was trying to install a NVIDIA driver on Ubuntu 22.04 and during this process something went wrong and now the apps on my computer (browser, VPN,etc.) are unable to connect to the internet. My computer shows as me being connected to my home wifi but none of my apps are able to make a connection.
The steps I took that put me into this situation were as follows:
- I kept getting an error when trying to install the driver telling me that I needed to stop my X server in order to install them.
- I looked up how to do this and saw that I had to switch to a tty and stop the X server there.
- The command I found said to press
Ctrl + Alt + F1
to get to the tty.(I believe this was my first mistake). - Once logged in to the tty I then ran the
sudo service gdm stop
command in the terminal which successfully stopped my X server and caused my screen to go black with only a horizontal white blinking line showing on the screen. - After a while I thought nothing was happening so I pressed
Ctrl + Alt + Del
which proceeded to restart my computer
It was after this initial restart I found that none of my apps were able to make a connection to the internet even though I was connected to my home wifi network. I realize that I may not have been in a tty to begin with as I was still seeing my desktop after the Ctrl + Alt + F1
command and stopping my X server while not in a tty and then restarting my computer abruptly may have messed something up with my config.
I've tried a lot of things in hopes to resolve this but I found that nothing was working. I tried restarting gdm, the NetworkManager and various other service in hopes that doing that would fix the issue but nothing has worked so far.
Like I said before I am fairly new to Linux so if there are any more suggestions or things I may have missed during my initial troubleshoot please let me know.
Thanks in advance for the help!