I've wanted to use Linux for a while but whenever I install it the internet doesn't work with my home wifi, it does work with my phone hotspot. I've tried changing some settings in my router and messing with the resolv.conf
file (changing the nameserver). In the past I've installed ubuntu on my desktop and had the same issue, I was able to resolve it (I don't remember how to anymore) but after a little bit, it didn't work again. But today I made a ubuntu virtual machine and it connected to the internet just fine, so I tried to install it on my laptop but I'm having this issue.
Doing lsb_release -a
gives:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Also whenever I ping google I get:
Ping: www.google.com: Temporary failure in name resolution.
Because of this problem, ive never really been able to use ubuntu or any linux distro
Edit doing ping -c3 8.8.8.8
returns:
Ping: connect: network is unreachable
And doing ls -al /etc/resolv.conf
returns:
Lrwxrwxrwx 1 root root 39 Aug 19 2021 /etc/resolv.conf ->
../run/systemd/resolve/stub-resolv.conf
I should also note that I'm using the installer while doing this
doing iwconfig
gives
lo no wireless extensions.
wlp1s0 IEEE 802.11 ESSID:"HiddenNetwork"
Mode:Managed Frequency:2.462 GHz Access Point: 00:19:92:9D:EE:B7
Bit Rate=52 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=63/70 Signal level=-47 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:25 Missed beacon:0
doing nmcli device wifi list
gives:
IN-USE BSSID SSID MODE CHAN RATE
SIGNAL BARS SECURITY
32:FC:EB:9A:03:15 Verizon LM-G900 0315 Infra 1 130 Mbit/s 87 ▂▄▆█ WPA2
* 00:19:92:9D:EE:B7 HiddenNetwork Infra 11 130 Mbit/s 82 ▂▄▆█ WPA2
62:45:B0:81:AE:85 -- Infra 153 0 Mbit/s 20 ▂___ WEP
doing uname -a
gives
Linux ubuntu 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11
15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I'm not sure about the wifi adapter, but I'm using a dell Inspirion 7405 2 in 1
My home wifi name is "Hidden network". I tried changing it but I had the same problem