Setup wireless connection with wep and knoppix 3.6

I have a laptop running knoppix for fun with a orinoco gold card. I have no problem getting on a non-secured network because knoppix automatically configures everything on bootup. I took my laptop to work where we have a secured network and I know the wep key. I don't know how to configure my connection to get onto the secured network. I have the wireless toolkit installed with knoppix and I have no problem getting on at home or at a cafe, just at work. I would like to find a step by step guide or if all fails then someone to help me through setting up my nic to use a wep key to get on a network. I have some basic linux knowledge but it's limited.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You should have the iw* commands available to you: iwconfig, iwlist, iwspy, iwpriv . The main stay of manupliating wireless settings from the command line is iwconfig. iwconfig is to wireless as ifconfig is to wired. Assuming that Knoppix uses wlan0 for you wireless card the commands look like this:

To set your ssid (just in case):
iwconfig wlan0 essid YOURNET_SSID

To configure a wep key:
iwconfig wlan0 key restricted YOUR_WEP_KEY

To set a key other than the current use [index] before  the key:
iwconfig wlan0 key restricted [2] YOUR_WEP_KEY2
iwconfig wlan0 key restricted [3] YOUR_WEP_KEY3

To set the active key:
iwconfig wlan0 key [2]

To turn wep on (you shouldn't need this, but just to be safe):
iwconfig wlan0 enc on

To turn wep off:
iwconfig wlan0 enc off

IIRC, you can combine iwconfig commands onto one line:
iwconfig wlan0 essid YOUR_SSID key YOUR_WEP_KEY enc on

Then, cross your fingers, you should be able to run your favorite dchp client utility or configure your ip and subnet manually. Check out man iwconfig for more info.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.