OpenWrt wireless setup ping

Hi,

I have just setup wireless on my Banana Pi R64 via OpenWrt and have the device protocol set to DHCP client. While testing to see if there were any error in the diagnostics area of OpenWrt the ping returned:

PING openwrt.org (139.59.209.225): 56 data bytes
64 bytes from 139.59.209.225: seq=0 ttl=47 time=344.500 ms
64 bytes from 139.59.209.225: seq=1 ttl=47 time=342.299 ms
64 bytes from 139.59.209.225: seq=2 ttl=47 time=342.762 ms
64 bytes from 139.59.209.225: seq=3 ttl=47 time=341.321 ms

--- openwrt.org ping statistics ---
5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 341.321/342.515/344.500 ms

How do I track down what is missing in the configuration? Do I just wait until it sorts itself out?

Thanks,

Aaron

How is it connected upstream to the internet? By cable or wifi?
The 340-345ms rtt for the ping is quite high. Possible things to blame:

  1. Uplink is wifi and connection is poor, i.e busy channels, long distance, interference, obstacles.
  2. Uplink is cable and has issues, i.e speed/duplex negotiation, bad wiring
  3. Line is fully utilized and there is delay with the packets.
1 Like

Openwrt is connected wirelessly to the main router and via ethernet to my desktop machine which doesn't have a network card.

Now it is responded with "ping: bad address 'openwrt.org'". I disabled ipv6 because I thought that was the problem but it still does not list a ipv4 address neither via dhcp nor if I manually enter it and then check via ifconfig after logging with the device hostname.

It looks like the wireless uplink is unstable and you have loss of communication with the ISP router. Can you connect the router with a cable to the ISP router to rule that out?

Plugged the banana pi into the main router and set a static ip and can access it via the static ip address, however, still unable to ping, etc from openwrt itself but can ping the pi from my laptop over wireless.

is your isp gateway 192.168.1.1?

No it is 10.1.1.1 the wifi of the pi is on the same subnet and has an ip address of 10.1.1.*.

but are you going to use the pi as repeter, dumb ap, or router?

reset the pi to default, plug in a cable from lan isp to wan pi, or try wireless with default settin on openwrt

As a repeater!

I just tried to ping via the diagnostics page and received:

PING 10.1.1.1 (10.1.1.1): 56 data bytes
64 bytes from 10.1.1.1: seq=0 ttl=64 time=39.345 ms
64 bytes from 10.1.1.1: seq=1 ttl=64 time=12.846 ms
64 bytes from 10.1.1.1: seq=2 ttl=64 time=187.599 ms
64 bytes from 10.1.1.1: seq=2 ttl=64 time=187.726 ms (DUP!)
64 bytes from 10.1.1.1: seq=2 ttl=64 time=188.281 ms (DUP!)
64 bytes from 10.1.1.1: seq=2 ttl=64 time=188.667 ms (DUP!)
64 bytes from 10.1.1.1: seq=2 ttl=64 time=188.843 ms (DUP!)
64 bytes from 10.1.1.1: seq=3 ttl=64 time=19.815 ms
64 bytes from 10.1.1.1: seq=4 ttl=64 time=329.341 ms

--- 10.1.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 4 duplicates, 0% packet loss
round-trip min/avg/max = 12.846/149.162/329.341 ms

The above is pinging the main router.

you cannot do that, you need relayed to make it work on the same subnet.
i would first try default setting,

What do you mean?

I just tested again and received:

PING 10.1.1.1 (10.1.1.1): 56 data bytes
64 bytes from 10.1.1.1: seq=0 ttl=64 time=4.518 ms
64 bytes from 10.1.1.1: seq=1 ttl=64 time=1.273 ms
64 bytes from 10.1.1.1: seq=2 ttl=64 time=1.095 ms
64 bytes from 10.1.1.1: seq=3 ttl=64 time=1.917 ms
64 bytes from 10.1.1.1: seq=4 ttl=64 time=1.838 ms

--- 10.1.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.095/2.128/4.518 ms

This is starting get on my nerves.

leave openwrt device on default, do not touch any setting,go in wireless section, scan, connect. openwrt will guide you

It sounds like you are trying to configure a repeater by custom experimenting with OpenWRT config values.

Please try first the official doc for repeater config (without keeping previous custom config in parallel): https://openwrt.org/docs/guide-user/network/wifi/relay_configuration

Doing that with Pi plugged in via ether cable to main router then doing opkg update over wifi from my laptop worked.

you can do the same if you need connect it via wireless, scan, connect,save setting, save and applay.

1 Like

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