LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: 46

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: 46

Original Poster
Rep: Reputation: 15
Sussed it,

S99 in rc2.d did the trick
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration