LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Restarting networking service (https://www.linuxquestions.org/questions/linux-networking-3/restarting-networking-service-4175587709/)

fanoflq 08-22-2016 06:32 PM

Restarting networking service
 
Status for networking service on Linux Mint cinnamon 18:
(down stream of distro Ubuntu 16)

$ systemctl status networking

Now and then I lost detection of all wireless network connections. Turning off and then turning on wireless via GUI does not work at all. My present solution is to reboot Linux Mint 18 .

May be if I can manually shutdown the networking daemon and then restart it, maybe I will be able to get the wireless detection working again. Then I can reconnect via GUI.

Restarting the networking service is like this:
( I will try this when my problem occurs again. )

systemctl restart networking


Can you restart just the wireless interface portion only?

How do you change or create a new connection to a wireless interface from command line?

Thank you.

malekmustaq 08-23-2016 04:13 AM

Quote:

Can you restart just the wireless interface portion only?
Since Mint focused on cinamon I don't use mint anymore. I don't know but it used to be re-started easily in an /etc/init.d/network-script. Under slackware it is a simple
Code:

sudo /etc/rc.d/rc.inet2 restart
and the device is put-down, put-up, protocol-up, handshake, done. Without need of querying kernel values as you do in *sysctl ...* command.

I suppose there is still a script inside /etc. Just look for it.

Hope that helps. Good luck.

m.m.

fanoflq 08-23-2016 09:50 AM

Thank you.


All times are GMT -5. The time now is 08:38 PM.