weird nameserver IP inserted into /etc/nf.WSL2 reinstalled from scratch, Ubuntu (tried ArchLinux as well) freshly installed, run wsl and I get Jul 07 07:55:50 MSI-wsl NetworkManager: manager: startup complete Jul 07 07:55:50 MSI-wsl NetworkManager: manager: NetworkManager state is now CONNECTED_GLOBAL Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): Activation: successful, device activated. Jul 07 07:55:50 MSI-wsl NetworkManager: manager: NetworkManager state is now CONNECTED_LOCAL Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: secondaries -> activated (reason 'none', sys-iface-state:> Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: > Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'e> Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: config -> ip-config (reason 'none', sys-iface-state: 'ext> Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: prepare -> config (reason 'none', sys-iface-state: 'exter> Jul 07 07:55:50 MSI-wsl NetworkManager: device (eth0): state change: disconnected -> prepare (reason 'none', sys-iface-state: > └─101 /usr/sbin/NetworkManager -no-daemon Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 07:55:50 IDT 5h 34min agoĬGroup: /system.slice/rvice Restart The prove that WSL networking is OK and the root cause is outside WSL: No network connection in any distribution under WSL 2 #5336 (comment) even restarted ubuntu, same error after restarting and the nameserver seems to be reset to default You should now be able to connect to the internet. To stop automatic generation of this file, add the following entry to /etc/nfĬhange the name server to 8.8.8.8 and save the file. '# This file was automatically generated by WSL. Windows needs to reboot your PC to finish the requested changes Network adapters > Hyper-V Virtual Ethernet Adapter Propertiesĭevice status - This device is working properly. Hyper-V Extensible Virtual Switch -unchecked Internet Protocol Version 6 (TCP/IPv6) -checked Internet Protocol Version 4 (TCP/IPv4) -checked Ping: connect: Network is unreachable Some of the troubleshooting steps I have tried (which did not work)īT (my internet provider), port forwarding: Thanks! From Ubuntu terminal I tried to install: I raised this through the issues tracker but did not get any response.Ĭan someone help with this, please? I don't know why my previous request was closed without any response. There are a few things I have tried already but they did not resolve the problem (see below). I switched off the firewall as suggested here: However, I cannot connect to the internet from Ubuntu. I worked through the instructions for installing wsl for windows 10, from:
0 Comments
Leave a Reply. |