From my board ping 8.8.8.8 works properly, but ping google.com does not (ping: bad address 'google.com') !! Very strange ...
I have default firewall settings ...
I guess you're trying to run as a LAN device now, also known as a "dumb AP". It appears there is a main router at 192.168.3.1 connected by Ethernet.
The dumb AP simply converts packets from wired to wireless at layer 2. A very important setting is to go into /etc/config/dhcp and turn off the DHCP server that is on LAN by default. You can't have two DHCP servers on the same network giving conflicting information.
Users of the wifi AP will get their DHCP and DNS from the main router. If you need the OpenWrt OS itself to have access to the Internet, both a gateway and DNS options must be specified in the lan stanza of /etc/config/network. Usually setting dns to the main router will work.
Take eth0 out of the wan if you're using it for lan. In a dumb AP there is only one network-- lan-- and you can delete wan entirely.
I guess you're trying to run as a LAN device now, also known as a "dumb AP". It appears there is a main router at 192.168.3.1 connected by Ethernet.
Yes I have configured the main router to have the IP Address 192.168.3.1
The dumb AP simply converts packets from wired to wireless at layer 2. A very important setting is to go into /etc/config/dhcp and turn off the DHCP server that is on LAN by default. You can't have two DHCP servers on the same network giving conflicting information.
I've done it, but it did not help ... (
Users of the wifi AP will get their DHCP and DNS from the main router. If you need the OpenWrt OS itself to have access to the Internet, both a gateway and DNS options must be specified in the lan stanza of /etc/config/network. Usually setting dns to the main router will work.
How you suggest to add dns server in /etc/config/network ?
Take eth0 out of the wan if you're using it for lan. In a dumb AP there is only one network-- lan-- and you can delete wan entirely.
Why should I delete this eth0 from wan ? I actually connect my board to my laptop and share Internet connection through Ethernet cable to my board and from my board to my phone to verify network configuration ...
Also @mk24, seems like it is a DNS issue because I have opened terminal utility in my phone connected using my WLAN AP and it pings 8.8.8.8 successfully !!
Seems like right now I have messed up with DNS somehow on my board ... (