1834056 Members
2205 Online
110063 Solutions
New Discussion

Re: change network

 
Porphirio
Occasional Contributor

change network

how i do for restart networking service after change netconf file?
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: change network

Hi,

From the console.

# /sbin/init.d/net stop

# /sbin/init.d/net start

or reboot your system.

Regards,
Robert-Jan
Asif Sharif
Honored Contributor

Re: change network

After making change in "netconf" you can simple restart network services by following these commands.

/sbin/init.d/net stop
/sbin/init.d/net start

Regards,
Asif Sharif
Regards,
Asif Sharif
Mobeen_1
Esteemed Contributor

Re: change network

Make the required changes and perform following commands from the console :)

/sbin/init.d/net stop
/sbin/init.d/net start

regards
Mobeen
Ralph Grothe
Honored Contributor

Re: change network

Don't forget that if you logged in via ssh, telnet etc. through a NIC affected by netconf that you most likely won't be able to execute the "/sbin/init.d/net start" after the stop anymore ;-)
Either set up an at job to run both commands or do it from (LAN) console.
If you are daring most times a single
/sbin/init.d/net start
after changes of netconf also would suffice, however.
Madness, thy name is system administration
Shoghi_1
Advisor

Re: change network

If over the network (telnet, ssh) do it in just one command sending it to the background, becouse comunication can be disrrupted if the NIC afected is the one you are connected.

/sbin/init.d/net stop;/sbin/init.d/net start&