LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Encryption and Keys (https://www.linuxquestions.org/questions/linux-networking-3/encryption-and-keys-359531/)

The Godfather 09-02-2005 11:13 AM

Encryption and Keys
 
Hi

I have set up encryption on my wireless router. However, now I need to type in the key to allow me to connect to it again. Does anyone know how to do this?

I am using FC2, and have looked through all the gui type options from the start menu and cannot find anything of use. I'm asummung (and hoping!) there is a shell program to help me do this.

Thanks for all your help

jonlake 09-02-2005 11:32 AM

I'm assuming you are referring to wep. If thats the case

# iwconfig interface key key

Poetics 09-02-2005 11:39 AM

If you are using a keyphrase, add a preceeding "s:" to the key.

# iwconfig interface key s:key

The Godfather 09-02-2005 12:34 PM

Quote:

Originally posted by Poetics
add a preceeding "s:" to the key.
why? if i change the key, i'll have to change every other computer on the network.

Quote:

Originally posted by jonlake
I'm assuming you are referring to wep.
no i'm using WPA-PSK and TKIP, does that still apply?

Thanks for you're help

jonlake 09-02-2005 02:19 PM

All the information goes in your wpa_supplicant file, including psk.

The Godfather 09-02-2005 03:59 PM

Thanks alot, it all works fine now.

How about connecting an ethernet card to a wireless router via a twisted pair cable, how can I set up the key then? ive tried iwconfig but it returns: no wireless extensions. Is there a similar command that can be applied to ethernet connections?

Thanks

jonlake 09-03-2005 12:04 AM

You don't need encryption on a wired connection. The encryption is there because you are broadcasting your traffic over the airwaves, succeptable to be sniffed by anyone in the area. Just setup the card with required information. If it is receiving dhcp, then dhclient -i eth0 (or whatever interface it is).


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