WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Restarting network service on Tiny Core Linux  (Read 3797 times)

Offline ShopBeat

  • Newbie
  • *
  • Posts: 1
Restarting network service on Tiny Core Linux
« on: January 17, 2018, 09: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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11632
Re: Restarting network service on Tiny Core Linux
« Reply #1 on: January 17, 2018, 09: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.