LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-06-2009, 09:52 AM   #1
The Karl
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Fedora 11
Posts: 26

Rep: Reputation: 15
Question Connect to a greyed out wireless network?


I'm having trouble connecting to the wireless network at my job. The other guys use windows and for them it worked automatically. My network card works as I'm able to connect to other wireless networks.

The network I'm trying to connect to is greyed out in the network manager app and I've found no way of getting any information about why it is greyed out. The cryptation is WEP 128-bit, if that's important.

Does anyone know where the problem is?
 
Old 11-06-2009, 10:58 AM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
What Linux do you use?
 
Old 11-06-2009, 03:06 PM   #3
The Karl
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Fedora 11
Posts: 26

Original Poster
Rep: Reputation: 15
I use Fedora 11.

By the way, there are other greyed out wireless networks as well (there are a number of small companies in the same building) when I click on the network manager tray icon. My guess is that those networks are restricted in some way, but there has to be some way of logging into them since there are no problems from a windows machine.
 
Old 11-06-2009, 03:13 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
If you do under root "iwlist wlan0 scan" you will be able to see AP details.
 
Old 11-09-2009, 01:24 AM   #5
The Karl
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Fedora 11
Posts: 26

Original Poster
Rep: Reputation: 15
Ok thanks. I tried what you said but I dont know what to do with it hehe. The result was:

Code:
eth1      Scan completed :
          Cell 01 - Address: 00:1C:F0:61:36:AF
                    ESSID:"MD"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=100/100  Signal level=-34 dBm  Noise level:0 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Extra:bcn_int=100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
The problem as I see it is that I dont know how to proceed since Ive found no way of interacting with the network. I see it in the list but cant do anything.
 
Old 11-09-2009, 10:02 AM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Hi and thanks for output.
As long as I don't see anything about "Extra: Last beacon: NNMms ago" that probably means it is hidden network.
I don't know either why NM can't connect to it. But it doesn't matter.

According to the very good post of the "tredegar" Senior Member: http://www.linuxquestions.org/questi...57#post3749257

$ sudo iwconfig eth1 mode managed essid MD channel 1

$ sudo ifup eth1 ...

And so on.

To check if you are connected: "$ sudo iwconfig" , you should see ESSID:"MD" and its MAC address.

Try.
 
Old 11-09-2009, 07:24 PM   #7
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
From the iwlist output that network is using WPA encryption.
If you want to connect to it from the command line you need to get the key and create a wpa_supplicant file. man wpa_supplicant.
 
Old 11-09-2009, 08:24 PM   #8
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by rkski View Post
From the iwlist output that network is using WPA encryption.
If you want to connect to it from the command line you need to get the key and create a wpa_supplicant file. man wpa_supplicant.
Yes, but first of all, we need to check CAN he connect to that network. And I thought, it will be possible to connect, but not use.

Because to write ifcfg-eth1 is not easy (especially when should be ifcfg-wlanN)
 
Old 11-10-2009, 07:07 AM   #9
The Karl
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Fedora 11
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for the answers!

I ran the commands in the thread you linked, but I dont think it helped. What I did:

Code:
sudo iwconfig eth1 mode managed essid MD channel 1
then

Code:
$ sudo ifup eth1
after that I tried to get an IP-address with dhclient, but nothing seemed to happen so I interrupted it after a while.

When I run iwconfig I'm still not connected to the network. The output is:

Code:
$ sudo iwconfig
lo        no wireless extensions.

irda0     no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Invalid
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-130 dBm  Noise level=0 dBm
          Rx invalid nwid:243  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:5950   Missed beacon:0

wifi0     IEEE 802.11-DS  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Invalid
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-130 dBm  Noise level=0 dBm
          Rx invalid nwid:243  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:5950   Missed beacon:0
About the wifi0 interface. I think its a duplicate of eth1 or something. The interface I use to connect to my home network is eth1.

What do you think? Any ideas?
 
Old 11-10-2009, 08:26 AM   #10
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Sorry to confuse you. I looks like you need set up wpa_supplicant even to connect to that network.

Try this page: http://forums.fedoraforum.org/search...rchid=11522533

Or "man wpa_supplicant".

Last edited by nimnull22; 11-10-2009 at 09:45 AM.
 
Old 11-10-2009, 03:24 PM   #11
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by The Karl View Post
I use Fedora 11.
Fedora/Gnome rather than Fedora/KDE, I suppose (which would be good, because the Gnome NM Client has been more robust than the KDE one, until very recently).

Quote:
By the way, there are other greyed out wireless networks as well (there are a number of small companies in the same building) when I click on the network manager tray icon. My guess is that those networks are restricted in some way, but there has to be some way of logging into them since there are no problems from a windows machine.
There can be two (or more) hurdles to overcome: the first, and nearly universal one in this kind of situation, is encryption.

This would cause the network to be 'greyed out' (and so this seems quite likely to be a problem that you have). To get past this hurdle you need to know what kind of encryption is in use (and set that in NM) and know what the pass phrase is and set that in NM, too.

At this point, you should see the network non-greyed-out and ideally you should be able to ping local servers by ip, but you may not have, eg, dns set up and you may not have a sensible IP (you may be able to get your IT to tell you the IP range in use, and set an address in that range manually, if that helps you get going), if you are relying on dhcp to get you an ip. You need to find out whether your site uses dhcp, and if it does, set up 'use dhcp' in your nm client.

At this point, you may have dns: if you have, you should be able to ping by human-readable address (eg ping www.google.com) and get dns lookups (eg dig www.google.com), but you may also have to log on to your network (this is more often done in wifi hotspots, where the encryption part is 'open' but the logon is used to manage access, but some people probably use both controls, thinking that it makes them more secure).

If you need to log on, opening a browser may cause the log on window may open automagically, but you may have to look at the network settings in the browser: if it doesn't know where to get stuff, you still won't have much success. Maybe your IT department can tell you where the browser ought to be pointed in order to pick up an 'autoconfigure' script, if you have one.
 
  


Reply



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
Linksys Wireless card won't connect to wireless network battle_scarred Linux - Newbie 3 04-03-2008 04:27 PM
Wire network is ok but unable to connect to wireless and wireless card is not detect vitalstrike82 SUSE / openSUSE 4 11-01-2007 06:56 AM
Cant connect to wireless network shinycisco Linux - Laptop and Netbook 6 09-25-2006 09:49 PM
How to connect to wireless network android6011 Linux - Wireless Networking 4 06-05-2006 12:54 PM

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

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