Hi guys...

Am using Nano Pi M1 with Debian OS.

I kept static IP address for it by editing the file /etc/network/interfaces and adding the below lines

Code: Select all

sudo vim /etc/network/interfaces
auto eth0
iface eth0 inet static

After setting the IP, I rebooted the M1 and checked ip using

Code: Select all

and found my IP same as I kept for static. Then I run my TCP server in it and from my PC I am continuously checking the ping.
In the run time, I am losing the Ethernet connection (observed in PING) and then again I checked my IP from serial port using

Code: Select all

. Then it is not showing any IP address. Again when I reboot I am getting my IP back.

Please help me out to solve this issue.
Thanks in advance.