Wget 4 and Operation not permitted

So I have my device connected to my main router through lan. I am using it as an access point. I can ssh into it through it's own network and through the main network it is connected through. but when I do opkg update this is what i get. https://www.mediafire.com/file/jlyi4gxdqcasdaf/what+i+get.txt/file
how I have it set up https://imgur.com/a/NfxFdWm

Please post directly into the forums - don’t rely on links to external sites.

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

I’m going to guess that you have not set a dns server in your openwrt device (which appears to be setup as a dumb ap).

What is the result of the following ping tests:

1 Like is
64 bytes from seq=71 ttl=64 time=0.474 ms
64 bytes from seq=72 ttl=64 time=0.526 ms
64 bytes from seq=73 ttl=64 time=0.563 ms
64 bytes from seq=74 ttl=64 time=0.537 ms
64 bytes from seq=75 ttl=64 time=0.454 ms
64 bytes from seq=76 ttl=64 time=0.448 ms
64 bytes from seq=77 ttl=64 time=0.441 ms
64 bytes from seq=78 ttl=64 time=0.581 ms
64 bytes from seq=79 ttl=64 time=0.616 ms
64 bytes from seq=80 ttl=64 time=0.537 ms
64 bytes from seq=81 ttl=64 time=0.492 ms
64 bytes from seq=82 ttl=64 time=0.418 ms
64 bytes from seq=83 ttl=64 time=0.431 ms is
64 bytes from seq=1 ttl=114 time=80.701 ms
64 bytes from seq=2 ttl=114 time=53.805 ms
64 bytes from seq=3 ttl=114 time=65.710 ms
64 bytes from seq=4 ttl=114 time=64.254 ms
64 bytes from seq=5 ttl=114 time=50.368 ms
64 bytes from seq=6 ttl=114 time=63.968 ms
64 bytes from seq=9 ttl=114 time=62.380 ms
64 bytes from seq=10 ttl=114 time=53.438 ms
64 bytes from seq=11 ttl=114 time=65.410 ms
64 bytes from seq=12 ttl=114 time=58.730 ms
64 bytes from seq=13 ttl=114 time=61.425 ms

google.com is
bad address 'google.com'

Just as predicted.

Add a dns server to your openwrt config and it should solve the problem. You can simply add it to the lan interface - or a public server like should do the trick.


Thank you. you fixed it.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.