LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-26-2010, 09:16 PM   #1
m_pahlevanzadeh
Member
 
Registered: Sep 2002
Location: Iran/Tehran
Distribution: Debian
Posts: 94

Rep: Reputation: 28
gnome network manager and iwconfig


Dear all,
I have debian box and use my adsl modem with wireless secured with key.
Of course i use gnome network manager and i connected without problem.
So, all of wireless'es module is load that i can connect.
Now when i use following command i get error:
Code:
debian:/home/mohsen# iwconfig wlan0 essid mohsen key  s:googooli 
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.
debian:/home/mohsen#
Notice:
When i delete: "key s:googooli" i don't see error message but i need to this option.
It's very interesting that i know what does gnome manager use command for connecting to modem that it can connect but i can't connect.
 
Old 07-27-2010, 01:08 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
First of all, remove/hide the key in your code block. Replace it with [key] or something. Then, if it's the key you really are using, change it on your devices right how. You aren't supposed to post any passwords or such here.

Second, what kind of encrypted network is it that you are trying to connect to (namely WEP or WPA)? If it's WEP, the weak one which you should not be using anymore, then iwconfig is your tool. But if it's WPA something, which you should be using, then iwconfig will not do, as it's made for WEP encrypted or unencrypted networks -- you'll need wpa_supplicant if you want to connect from the command line. I think it works for WEP encryption as well, in any case. Gnome uses NetworkManager (as far as I can tell), which you can't run from the text console.

Last edited by b0uncer; 07-27-2010 at 01:11 AM.
 
  


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
Problem with network-manager-gnome powadha Debian 2 03-25-2010 11:51 AM
Iwconfig params in network-manager michal017 Linux - Wireless Networking 3 01-08-2010 08:17 AM
network-manager-gnome in lenny radiodee1 Debian 1 09-16-2007 11:18 AM
wireless network not recognised by network manager gnome linuxmandrake SUSE / openSUSE 1 09-10-2007 04:45 PM
how to run network-manager-gnome amarillo Linux - Networking 1 09-11-2006 09:09 AM

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

All times are GMT -5. The time now is 07:12 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
Open Source Consulting | Domain Registration