Hi
The Mac ethernet is connected to the internet. The Mac wifi has been connected to the Edison/APSync latest image.
Internet Router 192.168.0.254
Mac NIC ethernet 192.168.1.65
Mac NIC wifi 10.0.1.38
APSync/Edison 10.0.1.128
on the Mac added ipforwarding
sudo sysctl -w net.inet.ip.forwarding=1
I have ssh into the Edison/APSync and added the gateway i.e.the Mac NIC wifi IP address.
root@apsync:# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.1.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
route add default gw 10.0.1.38 wlan0
root@apsync:# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 10.0.1.38 0.0.0.0 UG 0 0 0 wlan0
default 10.0.1.38 0.0.0.0 UG 0 0 0 wlan0
10.0.1.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
From the APSync/Edison I can’t ping the internet router 192.168.1.254 or the internet e.g. IP 8.8.4.4
Any ideas why i’m not getting successful ping test?