Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: ShopBeat on January 17, 2018, 06:06:07 AM

Title: Restarting network service on Tiny Core Linux
Post by: ShopBeat on January 17, 2018, 06:06:07 AM
HI guys, just a quick question, don't know of i am being stupid.

I want a way to restart all networking services without having to restart my pi. let's say i just updated my /etc/resolv by adding a dns server ip and want the os to reload/ relook at it. Right now it only seem to work after i do a reboot of the pi.

Please help me, if there is a way to restart networking without restarting the device.

Your help will be greatly appreciated.
Title: Re: Restarting network service on Tiny Core Linux
Post by: Rich on January 17, 2018, 06:40:08 AM
Hi ShopBeat
See if this works for you:
Code: [Select]
sudo ifconfig eth0 down; sudo ifconfig eth0 upReplace  eth0  with the name of your network interface if different.