cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1024
Views
10
Helpful
2
Replies

WAP125 and 150 reboot by SNMP request

I have two WAP150 and two WAP125 which are monitored by Zabbix.

One 150 reboots periodically under Zabbix.

Today I investigate and find out two consecutive SNMP request cause rebooting.

Below is my test code which raise rebooting both 125 and 150.

// UDPsend.cpp 

#pragma comment(lib, "wsock32.lib") 
#include <winsock2.h>

int main()
{
	const char data3[] = {
		0x30, 0x2b, 0x02, 0x01, 0x01, 0x04, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69,
		0x63, 0xa0, 0x1e, 0x02, 0x04, 0x2d, 0x82, 0x4e, 0xe9, 0x02, 0x01, 0x00,
		0x02, 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, 0x0a, 0x2b, 0x06, 0x01,
		0x02, 0x01, 0x02, 0x02, 0x01, 0x08, 0x09, 0x05, 0x00
	};
	const char data4[] = {
		0x30, 0x2a, 0x02, 0x01, 0x01, 0x04, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69,
		0x63, 0xa5, 0x1d, 0x02, 0x04, 0x2d, 0x82, 0x4e, 0xea, 0x02, 0x01, 0x00,
		0x02, 0x01, 0x75, 0x30, 0x0f, 0x30, 0x0d, 0x06, 0x09, 0x2b, 0x06, 0x01,
		0x02, 0x01, 0x02, 0x02, 0x01, 0x08, 0x05, 0x00
	};


	WSAData wsaData;

	SOCKET sock;
	struct sockaddr_in addr;

	WSAStartup(MAKEWORD(2, 0), &wsaData);

	sock = socket(AF_INET, SOCK_DGRAM, 0);

	addr.sin_family = AF_INET;
	addr.sin_port = htons(161);
	addr.sin_addr.S_un.S_addr = inet_addr("192.168.8.8"); // WAP address
	sendto(sock, data3, sizeof(data3), 0, (struct sockaddr*)&addr, sizeof(addr));
	sendto(sock, data4, sizeof(data4), 0, (struct sockaddr*)&addr, sizeof(addr));

	closesocket(sock);

	WSACleanup();

	return 0;
}

I will wait for firmware update.

 

Thank you.

2 Replies 2

marce1000
VIP
VIP

 

 1) Check device logs when this happens , 2) Use a syslog server and also configure an snmp-trap receiver, use both platforms to check for last-gasp information when the device reboots 3) As you say -> use latest firmware.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Thank you Marce.

WAP150 : FW version 1.1.2.4

WAP125 : FW version 1.0.3.1

 

There was no log events at reboot.

The log is very similar to cutting off power and on.

My syslog server records following:

 

# change log level to debug
<30>1 2021-01-24T10:10:21+09:00 192.168.8.7 dman 1355 - - dman[1355]: LED Display mode is Enabled
<30>1 2021-01-24T10:10:21+09:00 192.168.8.7 dman 1355 - - dman[1355]: The AP startup configuration was updated successfully.
<30>1 2021-01-24T10:10:22+09:00 192.168.8.7 dman 1355 - - dman[1355]: The AP startup configuration was updated successfully.
# send smtp and reboot
<30>1 2021-01-24T10:10:42+09:00 192.168.8.7 urld 1354 - - urld[1354]: Received SIGHUP signal
<30>1 2021-01-24T10:10:53+09:00 192.168.8.7 dman 1355 - - dman[1355]: SSL certificate generated for Clusterd
<28>1 2021-01-24T10:11:19+09:00 192.168.8.7 dman 1355 - - dman[1355]: DHCP-client: Interface brtrunk obtained lease on new address 192.168.8.7.

 

Yusuke.