This is a new install on a aerohive ap121. I flashed the device correctly and it's up and running but i can't hit the default ip address, 192.168.1.1/24.
With DEBUG enabled i get the following error when the interface comes up. I really hope this error is related to the problem and someone can help me figure this out. I ran out of things to test.
[ 49.224806] NET: Registered protocol family 24
[ 49.342848] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
[ 49.422198] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 49.510882] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=40
[ 49.879068] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 61.149787] eth0: link up (1000Mbps/Full duplex)
[ 61.206615] br-lan: port 1(eth0) entered blocking state
[ 61.269137] br-lan: port 1(eth0) entered disabled state
[ 61.332040] device eth0 entered promiscuous mode
cat: can't open '/sys/devices/virtual/ieee80211/phy*/name': No such file or directory
sh: add: unknown operand
sh: add: unknown operand
[ 61.769606] br-lan: port 1(eth0) entered blocking state
[ 61.832115] br-lan: port 1(eth0) entered forwarding state
[ 61.896863] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 62.209078] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: no lease, failing
-----------------------------------------------------
OpenWrt 18.06.1, r7258-5eb055306f
-----------------------------------------------------
root@OpenWrt:/# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd11:d21a:4483::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
From localhost I can ping the loopback and itself on 192.168.1.1.
The laptop is at 192.168.1.33/24 and both device are connected to an unmanaged switch.
Aerohive can't ping the laptop either.
If i reseat the cable the link down and up is detected just fine.
I tried
Setting static address
Adding a wan interface virtual interface
Removing the bridge interface and making it a plain ethernet interface
Downgrading firmware to 18.06.0
Version flashed to device
openwrt-18.06.1-ar71xx-nand-hiveap-121-squashfs-factory.bin
Device model
HiveAP 121
interfaces with a clean install
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 40:18:B1:6D:BB:C0
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4218:b1ff:fe6d:bbc0/64 Scope:Link
inet6 addr: fd11:d21a:4483::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:154 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17149 (16.7 KiB) TX bytes:2004 (1.9 KiB)
eth0 Link encap:Ethernet HWaddr 40:18:B1:6D:BB:C0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:163 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20405 (19.9 KiB) TX bytes:2262 (2.2 KiB)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1564 (1.5 KiB) TX bytes:1564 (1.5 KiB)
root@OpenWrt:/# ifdown lan
[ 611.873540] br-lan: port 1(eth0) entered disabled state
[ 612.070338] device eth0 left promiscuous mode
[ 612.122511] br-lan: port 1(eth0) entered disabled state
[ 612.259606] eth0: link down
[ 612.317395] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@OpenWrt:/# cat: can't open '/sys/devices/virtual/ieee80211/phy*/name': No such file or directory
sh: remove: unknown operand
sh: remove: unknown operand
root@OpenWrt:/# ifup lan
[ 620.022862] br-lan: port 1(eth0) entered blocking state
[ 620.085396] br-lan: port 1(eth0) entered disabled state
[ 620.148272] device eth0 entered promiscuous mode
cat: can't open [ 620.308723] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
'/sys/devices/virtual/ieee80211/phy*/name': No such file or directory
sh: add: unknown operand
sh: add: unknown operand
'radio0' is disabled
'radio0' is disabled
'radio1' is disabled
'radio1' is disabled
root@OpenWrt:/#
root@OpenWrt:/# [ 623.128096] eth0: link up (1000Mbps/Full duplex)
[ 623.183508] br-lan: port 1(eth0) entered blocking state
[ 623.246037] br-lan: port 1(eth0) entered forwarding state
[ 623.312359] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready