Skip to content

Instantly share code, notes, and snippets.

View AhmadHirthani's full-sized avatar

Ahmad Alhrthani AhmadHirthani

View GitHub Profile
@AhmadHirthani
AhmadHirthani / fix_wsl2_network_issue.sh
Created September 13, 2020 20:47
fix wsl2 network issue
# refrence: https://github.com/microsoft/WSL/issues/4926
ip route delete default
sudo ip route delete default
sudo ip route add default via 192.168.137.1
ip route
sudo nano /etc/resolv.conf # put name server:8.8.8.8