unable to ping external ip address after installing openWrt

Posted by mp 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
mp
unable to ping external ip address after installing openWrt
July 12, 2013 07:39AM
Hi Guys

I have been working on this issue without success since sunday.

I am able to ping internally but not an external address, my installation fails at ping www.google.com
the error is:

PING www.google.com (74.125.236.209): 56 data bytes
ping: sendto: Network is unreachable
root@OpenWrt:/#

Initially I was able to get Piratebox to work, then I installed Librarybox. At that point my router was not detected and I followed the instructions here:
[jasongriffey.net]

From that point on, I am unable to ping google, or get the opkg update.

I have looked at many options, double checked my /etc/config files and am still not able to ping outside.

Can someone please help me fix it?

Thanks much in advance.
Re: unable to ping external ip address after installing openWrt
July 29, 2013 09:46AM
Wow....I am really excited to install this. Your full tutorial is really what I need.

www.pass4sure.co.uk
[www.isc2.org]
[www.ox.ac.uk]
[en.wikipedia.org]
Re: unable to ping external ip address after installing openWrt
July 31, 2013 07:00AM
mp,

usually IP settings cause the most trouble. Can you please post the contents of your /etc/config/network and the address of your home (internet access) router?
Re: unable to ping external ip address after installing openWrt
August 13, 2013 05:50PM
i had the same problem, my network configurations is that:

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option gateway '192.168.1.2'
list dns '192.168.1.2'
list dns '8.8.8.8'

the ip of my home router is: 192.168.1.2