Internet connection issue of beaglebone A6

Hi…
I have beaglebone A6, which is working fine for gpio, gcc, g++ etc using angstrom platform. I am connecting beaglebone to host pc via usb using supplied cable and to router via ethernet cable.

I am able to ping all pc of this router,

but when I want to ping www.google.com I got: ping: unknown host www.google.com.

I searched in google for above issue but got nothing. I made following changes
1> ifconfig eth0 192.168.8.111 netmask 255.255.255.0 up (because host pc ip-> 192.168.8.127)
2> route add default gw 192.168.8.100 eth0
3> in file “/etc/resolv.conf” changes nameserver 192.168.8.254 (DNS server add of network)

But internet cannot connect. Therefore I cannot update using opkg.

Can anyone suggest me for this issue.

Tahnks & Regards
Awadhesh Maurya

Hi…
I have beaglebone A6, which is working fine for gpio, gcc, g++ etc using angstrom platform. I am connecting beaglebone to host pc via usb using supplied cable and to router via ethernet cable.

I am able to ping all pc of this router,

but when I want to ping www.google.com I got: ping: unknown host www.google.com.

I searched in google for above issue but got nothing. I made following changes
1> ifconfig eth0 192.168.8.111 netmask 255.255.255.0 up (because host pc ip-> 192.168.8.127)
2> route add default gw 192.168.8.100 eth0
3> in file “/etc/resolv.conf” changes nameserver 192.168.8.254 (DNS server add of network)

But internet cannot connect. Therefore I cannot update using opkg.

Can anyone suggest me for this issue.

Regards,
Awadhesh Maurya.

The problem is not on the beaglebone.

The problem is in your host pc, you need a dhcp server running there.
And share your internet connection in the host pc.

I have a beaglebone connected to a host pc running ubuntu and i can
see internet in the beaglebone. You need to share the internet network
connection in your host pc.

hi…
I solved this problem by changing in /etc/network/interfaces as follow,

#iface eth0 inet dhcp
iface eth0 inet static
**address 192.168.1.2**
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
**gateway 192.168.1.1**
**dns-nameservers** **59.144.127.16**

 **and in resolv.conf**
**nameserver 59.144.127.16**

**After that internet is connected.**

**Regards** 
**Awadhesh Maurya**