Zend certified PHP/Magento developer

Linux device won’t connect to internet, but allows SSH

I’m having trouble connecting to the internet with my Wachendorff Display. I can connect to it via SSH, but I cannot get it to also connect to the internet.

I am able to ping other devices plugged into my router, but I cannot ping websites. (Other devices on the same network have no trouble connecting to the internet)

ping -c 4 192.168.xxx.x works.

ping -c 4 8.8.8.8 doesn’t work. “Network is unreachable”

Details:

I have a Wachendorff display that runs Linux (i.MX6 platform) (Linux operating system release 1.1.2(X11/Qt5) (Kernel: 3.0.35) (GNU bash version 4.3.30 arm-poky-linux-gnueabi) that I am trying to connect to the internet. Currently its no problem for me to SSH into it with my laptop, but I cannot get an internet connection.

I am able to use ifconfig eth0 10.0.0.xx netmask 255.255.255.0 up for example, to change the ip address from 192.168.xxx.x to something I think my internet router is expecting (I then loose my SSH and have to re-establish from laptop with new IP address). But, when I try to ping -c 6 8.8.8.8 I get “Network unreachable.”

I tried auto eth0, but I get ‘auto :command not found’ It also says ‘command not found’ for sudo, dhclient, iface, service, pip, so its been difficult to find hep.

Also, I’m worried that if I successfully set it to dhcp, I’ll never be able to SSH into it again. Thoughts?