Read the statement by Michael Teeuw here.
Can't clone from GitHub
-
@sdetweil Alright so it says ‘the authenticity of localhost cannot be established’ but it lets me in
-
@MMRPi1 ok, so ssh server is running… 1 thing we know
-
and I assume you can ping the router
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 100 0 0 enp5s0so in my case 192.168.2.1
-
@sdetweil yes I can ping the router
-
@MMRPi1 I assume you can ping router from windows (
ipconfig /all, Default Gateway . . . . . . . . . : 192.168.2.1)but can’t ping the pi.
is there a firewall on the pi? open a terminal window and do
sudo iptables -L -
@sdetweil Don’t think so, it says ‘policy accept’ on all three entrys
-
@MMRPi1 weird… didn’t expect it… but u couldn’t access from ios…
-
@sdetweil I used to be able to about a week ago (both on the PC and iOS). It’s only very recently that it doesn’t let me in
-
Have you tried bouncing your router? If it thinks your devices are on different subnets it may be what’s keeping your network devices from connecting.
-
@bhepler but their addresses are 192.168.0.x so shouldn’t be different subnets, but worth a try I suppose
-
@sdetweil - Yeah, shouldn’t. The router should manage it all through DHCP but something is really weird here. Especially if it all worked before and suddenly the routing stopped to the point where the two devices can’t even ping each other.
-
Hrm. Okay, basic connectivity check. From the pi, please try the following two commands and tell us the results of each:
ifconfig | grep inet
and
curl www.abc.com -
@bhepler Thanks so much. I feel rather silly knowing that a simple reboot would resolve the SSH issue. Unfortunately, I still can’t access git though.
-
@MMRPi1 said in Can't clone from GitHub:
Unfortunately, I still can’t access git though.
one thing at a time!..
-
@sdetweil You’re right, the SSH is all sorted
-
@MMRPi1 eh? ‘all sorted’ means working to me
-
@sdetweil Yes I can SSH into the pi fine now.
-
@MMRPi1 ok, I missed that … what did u reboot? the pi, or the router?
let remove git and reinstall it
sudo apt-get remove git
sudo apt-get install git -
@sdetweil I rebooted the router.
-
@sdetweil I tried reinstalling git and I got the same error.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login