Disk Enclosures
1748181 Members
3691 Online
108759 Solutions
New Discussion юеВ

restart network services

 
SOLVED
Go to solution
Don Bentz
Regular Advisor

restart network services

I can't seem to recall the command to restart the network services (reread the configuration file). I had to change my subnet mask and need to reread the configuration file. Is it simply /sbin/init.d/start ?
Insecurity is our friend. It keeps you dependent.
3 REPLIES 3
Don Bentz
Regular Advisor

Re: restart network services

Sorry. I realize the inquiry is in the wrong "section". I would have moved it if possible.
Insecurity is our friend. It keeps you dependent.
Patrick Wallek
Honored Contributor
Solution

Re: restart network services

If you want to stop and restart network services do:

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

If you want inet daemon to re-read its config files do an 'inetd -c'
Bill McNAMARA_1
Honored Contributor

Re: restart network services

Just to add.. under hpux startup behaviour is under
/etc/rc.config.d/

and the startup/restart/shutdown are under
/sbin/init.d/

You should have a look around. All files are text script, so you can edit them as you like..

Later,
Bill
It works for me (tm)