DougieLawson wrote:Soumyajit Chatterjee wrote:
... the issue that I am facing is that rpi-update is not working and is giving an error of connection refused.
Finally, you've told us the error that needs to be fixed.
Get the results from these commands.
ip addr show
ip route
ping -c3 $(ip route | awk '/default/ {print $3}')
ping -c3 8.8.8.8
ping -c3 google.com
cat /etc/resolv.conf
traceroute raw.githubusercontent.com
The instructions tell you how to copy your SDCard to your USB stick, they also tell you exactly what needs to change once you've done that copy.
ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul
t qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP gr
oup default qlen 1000
link/ether b8:27:eb:a9:f5:bb brd ff:ff:ff:ff:ff:ff
inet 192.168.2.100/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP g
roup default qlen 1000
link/ether b8:27:eb:fc:a0:ee brd ff:ff:ff:ff:ff:ff
inet 192.168.1.13/24 brd 192.168.1.255 scope global wlan0
valid_lft forever preferred_lft forever
ip route
0.0.0.0 dev eth0 scope link metric 202
default via 192.168.1.1 dev wlan0
default dev eth0 scope link metric 202
default via 192.168.1.1 dev wlan0 metric 303
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.13
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.13 metric 303
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.100 metric 202
ping -c3 $(ip route | awk '/default/ {print $3}')
ping: unknown host eth0
ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2003ms
ping -c3 google.com
PING google.com (216.58.220.206) 56(84) bytes of data.
--- google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2003ms
cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.1.1
traceroute raw.githubusercontent.com
traceroute to raw.githubusercontent.com (151.101.12.133), 30 hops max, 60 byte packets
1
http://www.routerlogin.com (192.168.1.1) 8.783 ms 8.985 ms 9.044 ms
2 10.5.20.2 (10.5.20.2) 9.099 ms 9.153 ms 9.283 ms
3 10.118.1.54 (10.118.1.54) 9.786 ms 10.034 ms 10.106 ms
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
A few more information, from my side:
1) I am able to access internet from the Pi3.
2) Pi 3 is connected to the internet via Wifi.
3) The internet is operating behind a proxy.
4) sudo UPDATE_SELF=0 rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** No hash received from github:
https://api.github.com/repos/Hexxeh/rpi ... ads/master
curl: (7) Failed to connect to api.github.com port 443: Connection refused
5) sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
!!! Failed to download update for rpi-update!
!!! Make sure you have ca-certificates installed and that the time is set correctly
6) I am able to use git clone...