I have a Raspberry Pi. If it's connected to a network, and cables are changed, IP numbers changed, and what not, it sometimes stops working. A simple reboot solves the problem.
Is there any way of doing a full reset of everything that has to do with networking, without rebooting the whole operating system? How do I do that?
1 Answer
You have not stated the operating system used. Depending on the operating system, you should run the disable and enable commands for the network card.
Example:
ifconfig eth0 down
ifconfig eth0 up
Example 2:
ifdown etho
ifup eth0
That will reinitialize network without the need of a reboot.