Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: peppi001 on February 20, 2025, 02:42:51 AM
-
Hi, I've got some problem with PiCore v14.1 a few days ago.
I can't download with wget from github.
Connecting to github.com (140.82.121.4:443)
wget: download timed out
The git clone command doesn't work either.
It's not a network error, because on the same network with my desktop PC can download from github.
And I've got the same problem with the same setup on another location.
-
Is the time set properly?
If not run "sudo getTime.sh" and "date" to check.
-
No problems on picore 15
wget https://github.com
Connecting to github.com (140.82.112.3:443)
saving to 'index.html'
index.html 100% |********************************| 274k 0:00:00 ETA
'index.html' saved
-
Date is ok:
tc@xxx:/mnt/mmcblk0p2/tce/tmp/download$ wget [url]https://github.com[/url]
Connecting to github.com (140.82.121.3:443)
wget: download timed out
tc@xxx:/mnt/mmcblk0p2/tce/tmp/download$ date
Thu Feb 20 13:24:08 CET 2025
-
This is the problem:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.8.0.1 128.0.0.0 UG 0 0 0 tun0
default OpenWrt.home 0.0.0.0 UG 0 0 0 eth0
There are 2 default gateways.
But I don't know now how to resolve this error.
-
Hi peppi001
I'm guessing you want to remove the 10.8.0.1 entry.
Try this:
sudo route del -net 10.8.0.1 netmask 128.0.0.0
-
This command worked:
sudo route delete default gw 10.8.0.1 netmask 128.0.0.0 tun0
But this is a temporary solution I think.
I must check the VPN settings.
THX
-
In order to send all traffic through VPN you need to add a specific route for your VPN server IP to use eth0
only after that you can remove the eth0 default gateway and add the tun0 default gateway
sudo route add <VPN server IP>/32 gw <default gw for eth0>
-
I don't want to send all traffic through VPN. (This is my problem)
-
On VPN server side I commented out this line:
#push "redirect-gateway def1 bypass-dhcp"
and now everything working fine.
But I don't know how to worked so far :)
Thanks for all your help.