LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-05-2010, 05:55 AM   #1
annebeginner
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
my wireless key for wep is not supported. how can I connect?


I'm trying to connect to a wep network. The password is very long and contains spaces. Someone wrote that this might be a solution:

'The key to gaining authentication against WEP is to see what hexi-string the router has on itself. I copied the string off my sister's, and now I use that string as my authentication, with the help of the iwconfig command.'

What is the iwconfig command? And how exactly do you go on with this?
 
Old 07-05-2010, 07:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well if the password is long and contains spaces then it is not a wep key. A wep key is HEX string, e.g. 1A648C9FE2
 
Old 07-05-2010, 08:44 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
If it is not a hex string, I think is called a passphrase.

Regardless---to the original question: "iwconfig" is a utility to view and/or change the settings for wireless. Simply open a terminal and enter "iwconfig" (without the quotes).

BUT: You don't say what happens if you simply try to enter the passphrase.

What distro (version of Linux) are you using, and what is the internet connection utility that you use?
 
Old 07-05-2010, 10:47 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,446
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Welcome to LQ!
'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future.
Quote:
Originally Posted by annebeginner View Post
I'm trying to connect to a wep network. The password is very long and contains spaces. Someone wrote that this might be a solution:

'The key to gaining authentication against WEP is to see what hexi-string the router has on itself. I copied the string off my sister's, and now I use that string as my authentication, with the help of the iwconfig command.'

What is the iwconfig command? And how exactly do you go on with this?
'man command' is your friend.

Quote:
excerpt from 'man iwconfig';

iwconfig - configure a wireless network interface SYNOPSIS

iwconfig [interface]
iwconfig interface [essid X] [nwid N] [freq F] [channel C]
[sens S] [mode M] [ap A] [nick NN]
[rate R] [rts RT] [frag FT] [txpower T]
[enc E] [key K] [power P] [retry R]
[commit]
iwconfig --help
iwconfig --version DESCRIPTION

Iwconfig is similar to ifconfig(8), but is dedicated to the wireless interfaces. It is used to set the parameters of the network interface which are specific to the wireless operation (for example : the frequency). Iwconfig may also be used to display those parameters, and the wireless statistics (extracted from /proc/net/wireless). All these parameters and statistics are device dependent. Each driver will provide only some of them depending on hardware support, and the range of values may change. Please refer to the man page of each device for details.


You can look at the following links to aid you to understand or gain knowledge that may lead to a joyful endeavor with GNU/Linux;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
0 members found this post helpful.
Old 07-07-2010, 07:50 AM   #5
annebeginner
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Original Poster
Rep: Reputation: 0
The message I get when I try to connect is: 'The format or lenght of the key is not supported'. I tried every possible combination of WAP and WEP encryption with key index 0-4.

Sorry to ask, but I really don't know a lot..what is an internet utility? I was just trying to connect via the 'network' icon in the 'internet' menu. Where can I see which version of Linux I'm using?

Maybe the following could be helpful:

BIOS version: 0906
Software version: Eee PC 1.1.0.14

Thanks!
 
Old 07-07-2010, 10:13 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
I tried every possible combination of WAP and WEP encryption with key index 0-4.
You have to know the exact settings for the access point.

Please describe your network setup. e.g. do you have cable or DSL?
Do you have a wireless router?
Can you connect with a regular (wired) connection?
Can you connect using other computers?
Does the computer detect the wireless signal? Assuming that it does, does it show what type of password is being requested?
 
Old 07-08-2010, 03:37 AM   #7
annebeginner
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hi!

I'm trying to connect to a wireless network. The other computers in the house have no problem connecting. My computer detects the network, but as far as I can see gives no clue to which kind of password is requested. As for the encryption settings, no one here knows what they should be since they are not required by Windows. I tried googling the serial number on the router, which is why I thought the encryption was a wep key index 1.

I think the connection is via DHSL, but I'm not completely sure. I found the words Ethernet and DSL on the modem.
 
Old 07-08-2010, 07:30 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Who administers this network? They will be able to tell you the correct settings.

If a password (or other setting) is not required on Windows, then it will not be required on Linux either. If the Windows user is simply prompted for a password, the setting is almost certainly WEP---you should be able to use the same password.

When your computer detects the wireless, you should seen some kind of control/dialog for changing the settings for that particular connection. Please tell us what you see there (post a screenshot if necessary)

AND--can you connect to the same router with a normal wired connection?
 
Old 07-09-2010, 03:46 PM   #9
annebeginner
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Original Poster
Rep: Reputation: 0
I will look in to those things. When I attempt to connect to a network from my computer, I'm always asked for the encryption type (wep/wpa) and key index number regardless of the actual encryption type. I have never been asked for that information by windows. So what exactly do you mean when you say that linux doesn't require any information not required by windows? Are you sure that the password should work on linux regardless of lenghth/spaces?

Thanks!
 
Old 07-09-2010, 05:44 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
the wireless router does not care what operating system you are using---all it wants is the correct string of bytes for the passphrase.

You have to set the encryption type in any system---in Windows it may be hidden.

I would take the time to learn the terminal tools---especially ifconfig and iwconfig---this will help in the long run.

Also, check to see if WICD is available for your system---it is hands-down the best connection manager I have ever seen.
 
Old 07-10-2010, 07:23 AM   #11
annebeginner
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the tips! I can't get connected with cable either (or do I need to set my computer up in some way to connect with the cable?). I'm trying to connect to a Netopia 3347 ADSL Wireless Router from Swisscom. The manual says that you need a Windows-based pc or a Mackintosh to configure the unit. I'm trying to connect with an Asus Eee mini labtop, could that be the problem? Or could it be, that I need swisscom to authorize access (which is apparently the case with other companies selling that particular router)?
 
Old 07-10-2010, 08:50 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
The normal way to access the router setup is to enter 192.168.1.1 in a browser. Then you have to login with a username and password. If you bought the unit, then the password is supplied. The default is often simply "admin" or some other generic word.

But--have you tried connecting by simply configuring your computer for DHCP? (the most common way of connecting to a router). Depending on the router and the ISP, you might also have to specify the DNS addresses. But---for the moment just run some basic tests:

first, see if you can access the router using "ping 192.168.1.1". If that works, then try to do "ping www.ggogle.com". If it says "hostname not recognized", then try "ping 74.125.19.103". If that works, then it means you need to put in some settings for DNS. The ISP should supply this information.

If you did not buy this router, do you know who did? Do they know how to set it up?
 
  


Reply

Tags
connect, wep, wireless


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
have a question about WEP 40/128-bit key (try to connect under command line) shva Linux - Wireless Networking 7 04-25-2009 01:36 PM
WEP is not supported? Broadcom 1505 wireless card, RHEL5 sean_zhang Linux - Wireless Networking 1 02-14-2008 03:26 AM
cannot connect on wifi with WEP key 128bit PETROSHP Linux - Wireless Networking 1 11-07-2007 03:31 PM
when trying to connect to a wep protected AP, I am constantly asked for the key! guldan27 Linux - Wireless Networking 1 01-21-2007 09:39 AM
I cant set WEP key! "Operation not supported" ??? EcceVery Linux - Wireless Networking 3 11-19-2006 01:06 PM


All times are GMT -5. The time now is 01:50 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration