LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2004, 08:45 AM   #1
0ddba11
Member
 
Registered: Nov 2004
Location: Derby - UK
Distribution: Ubuntu at Home, RedHat Enterprise at Work
Posts: 45

Rep: Reputation: 15
Question 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!
 
Old 11-28-2004, 09:34 AM   #2
0ddba11
Member
 
Registered: Nov 2004
Location: Derby - UK
Distribution: Ubuntu at Home, RedHat Enterprise at Work
Posts: 45

Original Poster
Rep: Reputation: 15
Sussed it,

S99 in rc2.d did the trick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WEP key thoyyib Linux - Wireless Networking 2 09-29-2005 03:22 AM
What if I don't know the WEP key? death_au Linux - Wireless Networking 1 04-26-2005 06:40 PM
error setting wep key laclac01 Linux - Wireless Networking 1 05-17-2004 02:57 PM
error setting wep key laclac01 Linux - Wireless Networking 1 05-17-2004 01:29 PM
error setting wep key laclac01 Linux - Wireless Networking 1 05-17-2004 12:35 PM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration