I'm trying to fix a problem with my Raspberry Pi3 running Raspbian. I have installed MotionEye and Hyperion on it, enabled all neccesary ports in my router but the services could be accessed for 5-10 mins after a reboot from local and public ip and after only from the outside of my network. I'm trying to fix it but I got stuck. So, I set a static IP for the Raspberry which is 192.168.1.7 , enabled ssh / motioneye / hyperion ports in the router for that ip. Connecting from the outside of my network on the public ip 92.xx.xx.xx:port , works fantastic. If I am connected on the same network as the Raspberry, 92.xx.xx.xx:port doesn't work, even 192.168.1.7:port doesn't work. The weird thing is, if I'm rebooting the pi, it works fantastic for 5 to 10 minutes, and then suddenly I can't connect anymore on the local network, but still works ok from the outside. Pinging local ip 192.168.1.7 returns:
teo@teo-E6230:~$ ping 192.168.1.7
PING 192.168.1.7 (192.168.1.7) 56(84) bytes of data.
From 192.168.1.16 icmp_seq=1 Destination Host Unreachable
From 192.168.1.16 icmp_seq=2 Destination Host Unreachable
From 192.168.1.16 icmp_seq=3 Destination Host Unreachable
From 192.168.1.16 icmp_seq=4 Destination Host Unreachable
From 192.168.1.16 icmp_seq=8 Destination Host Unreachable
From 192.168.1.16 icmp_seq=9 Destination Host Unreachable
From 192.168.1.16 icmp_seq=10 Destination Host Unreachable
^C
--- 192.168.1.7 ping statistics ---
10 packets transmitted, 0 received, +7 errors, 100% packet loss, time 9206ms
pipe 4
It looks like the IP that returns while pinging, it's actually my laptop's local IP
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.16 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::226c:cd03:4c3c:d34 prefixlen 64 scopeid 0x20<link>
ether 00:22:fb:bb:80:62 txqueuelen 1000 (Ethernet)
RX packets 47481 bytes 54732580 (54.7 MB)
RX errors 0 dropped 586 overruns 0 frame 0
TX packets 29537 bytes 4539008 (4.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
an anyone please help and guide me?