internet connection over ssh, ethernet - Raspberry Pi Forums


hello,

struggling internet connection of raspi.

connected raspi pc via ethernet cable. use ssh( putty) reach raspi. internet connection sharing enabled.

using debian wheezy. can ping ip or host name 8.8.8.8 or http://www.google.com.
when try use browser go website, not connecting server. same when trying updates ( sudo apt-get update ), not connecting server.

tried local area connection both assign ip automatically checked , unchecked.

pc ip configuration: (ethernet adapter local area connection)
ipv4 address : 192.168.137.1
subnet mask : 255.255.255.0
ipv4 address : 169.254.157.63
subnet mask : 255.255.0.0

cmdline.txt ip assignment
ip=169.254.157.70::169.254.157.63

raspi ifconfig
inet addr : 169.254.157.70
bcast : 169.254.255.255
mask : 255.255.0.0

sudo nano /etc/network/interfaces
auto eth0
allow-hotplug dhcp

sudo nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

can see problem is? new , cant solve it.

the 137 in pc's ip address makes me wonder if connected conventional home router or if internet access via corporate, university or school lan.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support