Ubuntu wifi есть интернета нет

Wifi is connected but there is no internet access Ubuntu 22.04 LTS

ubuntu@ubuntu-Lenovo-ideapad-520-15IKB:~$ sudo lshw -C network *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: enp2s0 version: 10 serial: 54:e1:ad:68:66:d6 capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.13.0-41-generic firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=twisted pair resources: irq:16 ioport:3000(size=256) memory:94104000-94104fff memory:94100000-94103fff *-network description: Wireless interface product: Wireless 8265 / 8275 vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: wlp3s0 version: 78 serial: cc:2f:71:a7:15:ed width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=5.13.0-41-generic firmware=36.ca7b901d.0 8265-36.ucode ip=192.168.225.45 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:135 memory:94000000-94001fff *-network description: Ethernet interface physical id: 9 bus info: usb@1:2 logical name: usb0 serial: 2a:6b:c6:a1:75:64 capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=5.13.0-41-generic duplex=half firmware=RNDIS device ip=192.168.126.243 link=yes multicast=yes port=twisted pair 
ubuntu@ubuntu-Lenovo-ideapad-520-15IKB:~$ ip route default via 192.168.225.1 dev wlp3s0 proto dhcp metric 600 169.254.0.0/16 dev wlp3s0 scope link metric 1000 192.168.0.0/16 dev wlp3s0 proto kernel scope link src 192.168.225.45 metric 600 
ubuntu@ubuntu-Lenovo-ideapad-520-15IKB:~$ ip link 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp2s0: mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether 54:e1:ad:68:66:d6 brd ff:ff:ff:ff:ff:ff 3: wlp3s0: mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000 link/ether cc:2f:71:a7:15:ed brd ff:ff:ff:ff:ff:ff 

Источник

Читайте также:  Wi fi 6e ax1675

Connected to Wifi but no internet

Hi so I’m a complete Ubuntu beginner and I have just installed it. So the problem is that I am connected to the Wifi (wireless) but I can’t actually use the internet. I am using Ubuntu 16.04.

6 Answers 6

I found a simple fix. I didn’t have any problems pinging IP addresses; I ran into problems when I tried to issue a command like:

In other words, I could connect to the internet, as affirmed by the wifi indicator, but I was having problems turning domain names into IP addresses. This process is handled by the text file /etc/resolv.conf, so I decided perhaps it need to be updated. I issued the command:

but Ubuntu spit this back at me:

/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf 

This was the source of my problem: somehow /etc/resolv.conf was pointing to /run/resolvconf/resolv.conf . Fortunately, once I removed the bad symbolic link and created a new symbolic link the wifi worked immediately. That is, I ran the following commands:

sudo rm /etc/resolv.conf sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf 

and the wifi was back up! I hope this simple solution works for you too!

After following the mentioned steps, as an additional step, I had to set DNS server IP from the network settings. Then that IP saved in the /etc/resolv.conf . Finally it worked.

knowing how to address a non working internet connection may help as follows.

See if you can ping or traceroute to google’s public dns.

If you get communication with Googl’s public DNS then skip down to the last step on DNS.

If you’re not getting a ping/traceroute to Goole’s DNS then start by making sure your wireless addapter is getting IP information with the command.

Читайте также:  Нет сети wifi windows 10

output should have ip information listed for your wireless adapter something like.

wlan0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0 

next check to make sure you have a default route

output should have a route something like.

default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 

At this point you should be able to ping and/or traceroute to Google’s public DNS «8.8.8.8». If not then call your Internet provider for additional help with your internet connection.

Now that we can ping google’s public DNS we can be well assured that our internet is working. If you’re still having problems then your computer is most likely not reaching a working DNS service. You can check your DNS servers with.

You should also check the connection status in your network manager if you’re using a desktop version of ubuntu. Once you have identified/set your DNS servers make sure you can ping them as well. If you can ping the DNS servers that you have set then the problem resides above the network layer in a firewall or application issue.

Источник

Оцените статью
Adblock
detector