how to run network script at start-up
Hello everyone, I have this great script which starts my wireless card and sets parameters. I need to run it at start-up after the pcmcia part is initialized. How do I do it? thanks, j. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
On SuSE 8.2, put the script on the directory: /etc/sysconfig/network/if-up.d James Philp wrote:
Hello everyone,
I have this great script which starts my wireless card and sets parameters. I need to run it at start-up after the pcmcia part is initialized.
How do I do it?
thanks, j.
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Thanks but that can't do the trick. The card is not
recognized by the Yast network setup and the driver
module has to be inserted manually. So I have to add
the script to the init.d and rc2 3 or 5. It's just
that I don't know where. I have tried adding a link in
those folders but somehow it's at the wrong place and
it ignores it.
j.
--- Radu Voicu
On SuSE 8.2, put the script on the directory:
/etc/sysconfig/network/if-up.d
James Philp wrote:
Hello everyone,
I have this great script which starts my wireless card and sets parameters. I need to run it at start-up after the pcmcia part is initialized.
How do I do it?
thanks, j.
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
James Philp wrote:
Thanks but that can't do the trick. The card is not recognized by the Yast network setup and the driver module has to be inserted manually. So I have to add the script to the init.d and rc2 3 or 5. It's just that I don't know where. I have tried adding a link in those folders but somehow it's at the wrong place and it ignores it.
The almost official way: - Add a line to /etc/insserv.conf "$pcmcia pcmcia" - Write your script in /etc/init.d like /etc/init.d/skeleton - Add the Var $pcmcia after "Required-Start:". - Insert the Script with "insserv myownscript". - Reboot -- Andreas
participants (3)
-
Andreas Winkelmann
-
James Philp
-
Radu Voicu