LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Setting WEP Key automatically in Sarge (https://www.linuxquestions.org/questions/debian-26/setting-wep-key-automatically-in-sarge-260138/)

0ddba11 11-28-2004 08:45 AM

Setting WEP Key automatically in Sarge
 
This must of been asked many times before but how can I set my WEP key on boot up?

I've created a script in /etc/init.d called wireless and all it contains is:

#!/bin/sh
/bin/echo "Configuring wireless connection for Name_of_network..."
/sbin/iwconfig eth0 essid "Name_of_network" mode managed key XXXXXXXXXXXXXXXXXXXXXXXXX
/bin/echo "Done."

I'm having trouble identifying where abouts in the boot process to call it.
I tried it in rc0.d before and after S35networking and also tried it in rc3.d at S99 but no joy either so before I go randomly moving it around figured I'd ask :)

Any ideas?

PS. Switched to Debian after having used Redhat, Suse / Novell Linux Desktop, and I LOVE it!!! True open source rocks!

0ddba11 11-28-2004 09:34 AM

Sussed it,

S99 in rc2.d did the trick :)


All times are GMT -5. The time now is 05:52 PM.