LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2005, 11:13 AM   #1
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Rep: Reputation: 15
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
 
Old 09-02-2005, 11:32 AM   #2
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
I'm assuming you are referring to wep. If thats the case

# iwconfig interface key key
 
Old 09-02-2005, 11:39 AM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

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

# iwconfig interface key s:key
 
Old 09-02-2005, 12:34 PM   #4
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15
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
 
Old 09-02-2005, 02:19 PM   #5
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
All the information goes in your wpa_supplicant file, including psk.
 
Old 09-02-2005, 03:59 PM   #6
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15
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
 
Old 09-03-2005, 12:04 AM   #7
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
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).
 
  


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
Root & user logins : Passwords? Why not encryption keys instead? furfurdemon666 Linux - Security 4 07-02-2004 09:17 AM
gpg encryption for signing keys synapse Mandriva 1 01-22-2004 10:10 AM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM
Encryption - Public Keys - How secure? mymojo Linux - Security 8 10-21-2003 08:09 AM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:25 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