I've been going over so many web pages trying out numerous things for the past 6 hours to just get internet on my rpi to no avail hence I have come here to hopefully find a solution. Below are the list of things I have done.
I am using an rpi zero (without inbuilt wifi) and a windows 10 laptop and have Bonjour installed
- I cleaned my SD card and etched Raspbian Buster Desktop using Etcher
- Added an empty file named "ssh"
- Added dtoverlay=dwc2 to config.txt
- Added modules-load=dwc2,g_ether to cmdline.txt ;after rootwait
- I am able to ssh into pi using putty with no issues
- I can see the RNIDS gadget in device manager and the
- I went to network and sharing in control panel then went to sharing tab of my main wifi, then checked the box for sharing the network and selected "ethernet 3"(rpi zero) from the drop down.
I have tried apt-get update, different installs and rpi-update but none of them work as I assume that I can't access the internet. An exmaple of one such error is as follows:
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: raw.githubusercontent.com !!! Failed to download update for rpi-update! !!! Make sure you have ca-certificates installed and that the time is set correctly
Another sort of error I get when i try to update anything is:
Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Temporary failure resolving 'raspbian.raspberrypi.org'
ifconfig is as follows:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 710 bytes 67146 (65.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 710 bytes 67146 (65.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 169.254.19.18 netmask 255.255.0.0 broadcast 169.254.255.255 inet6 fe80::3af9:58d:482c:9910 prefixlen 64 scopeid 0x20<link> ether a2:a6:f5:42:ee:0e txqueuelen 1000 (Ethernet) RX packets 1402 bytes 167050 (163.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1996 bytes 293158 (286.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ping -c3 220.127.116.11 as follows:
PING 18.104.22.168 (22.214.171.124) 56(84) bytes of data. From 169.254.19.18 icmp_seq=1 Destination Host Unreachable From 169.254.19.18 icmp_seq=2 Destination Host Unreachable From 169.254.19.18 icmp_seq=3 Destination Host Unreachable --- 126.96.36.199 ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 46ms pipe 3
ping -c www.google.com as follows:
ping: www.google.com: Temporary failure in name resolution
Would appreciate any help to solve this long standing issue of mine.
Please let me know if there is anymore info that i can give to help me solve this issue.