On Fri, 25 Feb 2000, Melinda Taylor wrote:
> I don't want my network interface to be activated at boot time,
> but when I do want to activate it, is there an easier way to
> do it rather than su-ing, then opening up the control-panel
> and using the netcfg part, clicking on interfaces and activate?
>
> I presume this finally step when you press 'activate' is just
> executing a script of some kind.....does anyone know what
> it is? How this is done without the control panel and
> can a user do it?
Depends on your distribution.
To start/stop my card, I do
/etc/rc.d/init.d/network start {stop}
You could link this file to something in your root home directory, or even
better alias it to a command that _doesn't_ exist - soemthing like this
alias startnet='/etc/rc.d/init/d/network start'
alias stopnet='/etc/rc.d/init/d/network stop'
Then all you gotta type is "startnet" or "stopnet".
Of course, you'll have to track your own scripts down - but /etc/rc.d is a
good place to start.
I run Redhat, BTW, for these commands to work.
DaZZa
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text