The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: stopping and starting network services
dvirhazout
Newbie
Rank: 1



UID 127
Digest Posts 0
Credits 0
Posts 48
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 6, 2007 09:26 AM  Profile | P.M. 
stopping and starting network services



stopping and starting network services




solaris v5.6
how do you stop and start the network services?


Top
kenbiz
Newbie
Rank: 1



UID 218
Digest Posts 0
Credits 0
Posts 18
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 6, 2007 09:26 AM  Profile | P.M. 
ok thanks, i thought there would be a way to stop and start subsystems similar to aix, with solaris.

i want to change the default route and then implement it. i've found the file /etc/defaultrouter. let me ask you another question. what files start up the tcp/ip services in solaris?
in aix for example, inittab, rc.net, rc.tcpip, gateways, networks, inetd, inetd.conf, services, named.boot. these fire off in order.

i've found /etc/init.d/inetinit. it mentions /etc/rcs.d/s30rootusr.sh
on the solaris box? i'm trying to determine what files or scripts fire off in what order when starting up solaris.
Top
forumrating
Newbie
Rank: 1



UID 149
Digest Posts 0
Credits 0
Posts 113
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 6, 2007 09:26 AM  Profile | P.M. 
you don't need to restart the service to do what you want.

just add the correct route to your /etc/defaultrouter like you say so that it comes up right after booting.

until the next boot, use the route command to add that route on the fly

route add default <ip address> 1

you may need to delete the current default route too in order to get it to work.

check man route if you need more details or want to verify what i wrote above.
Top
formula
Newbie
Rank: 1



UID 148
Digest Posts 0
Credits 0
Posts 24
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 6, 2007 09:26 AM  Profile | P.M. 
ok, thanks for the clarification on the setup of the default route.
Top
 

 

All times are GMT, the time now is Jan 8, 2009 04:25 PM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.028761 second(s), 6 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP