Cannot connect to WLAN on Asus eee pc 1000he

Under OpenSuse 11.2 i cannot connect to my wireless network. Sometimes computer doesn’t see network, sometimes computer cannot connect to it.
Encryption: WPA & WPA2 Personal
Kernel driver: ath5k
Also I am embarrassed that in lspci and yast written various models of my wifi adapter.

linux-ra0h:/home/miksayer # lspci | grep "Wireless"
01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

http://img694.imageshack.us/img694/225/scrv.png
PS Sorry for my English

HCL/Laptops/Asus - openSUSE

kNetworkmanager is a buggy software, i would recommend not to use it. I had/has the same issue with WPA & WPA2 enabled networks, so i don’t use kNetwork manager any more for them. I use ifup and it works like a charm.
Go to YaST -> Network Devices -> Network Settings and change the method to ifup and setup your network after it.

You can also try wicd instead of KNM.

Best of luck.

I already read it, but the network really does not work

kNetworkmanager is a buggy software, i would recommend not to use it. I had/has the same issue with WPA & WPA2 enabled networks, so i don’t use kNetwork manager any more for them. I use ifup and it works like a charm.
Go to YaST -> Network Devices -> Network Settings and change the method to ifup and setup your network after it.

You can also try wicd instead of KNM.

I use gnome network manager

I switched to the traditional ifup method and now my computer sees the network but not connect to it

linux-ra0h:/home/miksayer # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"HNet"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:49:C9:A2:2F   
          Bit Rate=36 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:7E21-142A-EBEC-5B16-3434-39BD-2251-A3DB-45B0-1F2A-9609-9736-DE72-928E-C810-75A5 [2]
          Power Management:off
          Link Quality=70/70  Signal level=-40 dBm  Noise level=-99 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

linux-ra0h:/home/miksayer # ifup wlan0
    wlan0     device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
    wlan0     warning: wpa_supplicant already running on interface
DHCP4 client is already running on wlan0
IP address: 192.168.1.37/24

On 02/17/2010 11:56 AM, miksayer wrote:
>
> caf4926;2122367 Wrote:
>> ‘HCL/Laptops/Asus - openSUSE’
>> (http://en.opensuse.org/HCL/Laptops/Asus#Asus_Eee_PC_xxxx_X)
>
> I already read it, but the network really does not work
>
>> kNetworkmanager is a buggy software, i would recommend not to use it.
>> I had/has the same issue with WPA & WPA2 enabled networks, so i don’t
>> use kNetwork manager any more for them. I use ifup and it works like a
>> charm.
>> Go to YaST -> Network Devices -> Network Settings and change the method
>> to ifup and setup your network after it.
>>
>> You can also try wicd instead of KNM.
>
> I use gnome network manager

I dispute the claim that kNM is buggy. It was true that 11.2 had a bug, but that
has been corrected. I find wicd to be inconvenient to use.

To help in debugging this problem, please attempt to make a wireless connection
and post the output of the following:

/usr/sbin/iwconfig
/sbin/ifconfig
/sbin/route -n
cat /etc/resolv.conf

linux-ra0h:/home/miksayer # /usr/sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"\x02\x1A\xFEC\xFB\xFA\xAA:\xFB)\xD1\xE6\x05<|\x94u\xD8\xBEa\x89\xF9\\xBB\xA8\x99\x0F\x95\xB1\xEB\xF1\xB3"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

linux-ra0h:/home/miksayer # /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:8C:61:1F:17  
          inet addr:192.168.1.36  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:8cff:fe61:1f17/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4829 errors:0 dropped:0 overruns:0 carrier:10
          collisions:0 txqueuelen:1000 
          RX bytes:3109638 (2.9 Mb)  TX bytes:972301 (949.5 Kb)
          Interrupt:27 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7044 (6.8 Kb)  TX bytes:7044 (6.8 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:22:43:80:BC:95  
          inet6 addr: fe80::222:43ff:fe80:bc95/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:404 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:95894 (93.6 Kb)  TX bytes:19217 (18.7 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-22-43-80-BC-95-38-30-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linux-ra0h:/home/miksayer # /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
linux-ra0h:/home/miksayer # cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 192.168.1.1
linux-ra0h:/home/miksayer # /usr/sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

linux-ra0h:/home/miksayer # /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:8C:61:1F:17  
          inet addr:192.168.1.36  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:8cff:fe61:1f17/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4899 errors:0 dropped:0 overruns:0 carrier:10
          collisions:0 txqueuelen:1000 
          RX bytes:3179009 (3.0 Mb)  TX bytes:980310 (957.3 Kb)
          Interrupt:27 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7044 (6.8 Kb)  TX bytes:7044 (6.8 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:22:43:80:BC:95  
          inet6 addr: fe80::222:43ff:fe80:bc95/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:96639 (94.3 Kb)  TX bytes:19982 (19.5 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-22-43-80-BC-95-38-30-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linux-ra0h:/home/miksayer # /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
linux-ra0h:/home/miksayer # cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 192.168.1.1

with Network Manager

You had the wire connected. All your output shows that uyou had a connection
with eth0. If using NM, disconnect the wire, or if you are using ifup, then the
following:

ifdown eth0
ifup wlan0

and repeat the previous commands.

The info in your previous post showed that wlan0 had authenticated and
associated. Thus the problem is with routing or name serving.

BTW: When you posted the “Encryption key”, you told the world your wifi
encryption secret. NEVER run iwconfig as root and post the output without
deleting that info.

with ifup:

linux-ra0h:/home/miksayer # /usr/sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"HNet"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

linux-ra0h:/home/miksayer # /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1776 (1.7 Kb)  TX bytes:1776 (1.7 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:22:43:80:BC:95  
          inet addr:192.168.1.37  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::222:43ff:fe80:bc95/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:873 (873.0 b)  TX bytes:2501 (2.4 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-22-43-80-BC-95-38-30-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linux-ra0h:/home/miksayer # /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 wlan0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
linux-ra0h:/home/miksayer # cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 192.168.1.1

On 02/18/2010 05:36 AM, miksayer wrote:
>
> with ifup:
>
> Code:
> --------------------
> linux-ra0h:/home/miksayer # /usr/sbin/iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wmaster0 no wireless extensions.
>
> wlan0 IEEE 802.11bg ESSID:“HNet”
> Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
> Tx-Power=20 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality:0 Signal level:0 Noise level:0
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> linux-ra0h:/home/miksayer # /sbin/ifconfig
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:24 errors:0 dropped:0 overruns:0 frame:0
> TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1776 (1.7 Kb) TX bytes:1776 (1.7 Kb)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:43:80:BC:95
> inet addr:192.168.1.37 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::222:43ff:fe80:bc95/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
> TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:873 (873.0 b) TX bytes:2501 (2.4 Kb)
>
> wmaster0 Link encap:UNSPEC HWaddr 00-22-43-80-BC-95-38-30-00-00-00-00-00-00-00-00
> UP RUNNING MTU:0 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> linux-ra0h:/home/miksayer # /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> linux-ra0h:/home/miksayer # cat /etc/resolv.conf
> ### /etc/resolv.conf file autogenerated by netconfig!
> #
> # Before you change this file manually, consider to define the
> # static DNS configuration using the following variables in the
> # /etc/sysconfig/network/config file:
> # NETCONFIG_DNS_STATIC_SEARCHLIST
> # NETCONFIG_DNS_STATIC_SERVERS
> # NETCONFIG_DNS_FORWARDER
> # or disable DNS configuration updates via netconfig by setting:
> # NETCONFIG_DNS_POLICY=’’
> #
> # See also the netconfig(8) manual page and other documentation.
> #
> # Note: Manual change of this file disables netconfig too, but
> # may get lost when this file contains comments or empty lines
> # only, the netconfig settings are same with settings in this
> # file and in case of a “netconfig update -f” call.
> #
> ### Please remove (at least) this line when you modify the file!
> nameserver 192.168.1.1
>

Your wireless device has not authenticated/associated, yet you have an IP and an
SSID. That implies you are using a static IP. If so, you failed to set the
routing in the YaST configuration.

Is your network encrypted? If so, you did not get the encryption key set
correctly. For WPA/WPA2, use a passphrase. For WEP, you must use a hex key.

where should I set this key?

On 02/18/2010 04:06 PM, miksayer wrote:
>
> lwfinger;2123144 Wrote:
>> On 02/18/2010 05:36 AM, miksayer wrote:
>>
>> Is your network encrypted? If so, you did not get the encryption key
>> set
>> correctly. For WPA/WPA2, use a passphrase. For WEP, you must use a hex
>> key.
>
> where should I set this key?

With ifup, use YaST => Network Devices => Network Settings. With NM, under the
“Manage Connections” option in the applet.

I set the required key using YaST => Network Devices => Network Settings, but still iwconfig output:

wlan0     IEEE 802.11bg  ESSID:"HNet"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

In what could be the problem?

On 02/20/2010 05:56 AM, miksayer wrote:
>
> lwfinger;2123327 Wrote:
>> On 02/18/2010 04:06 PM, miksayer wrote:
>>
>> With ifup, use YaST => Network Devices => Network Settings. With NM,
>> under the
>> “Manage Connections” option in the applet.
>
> I set the required key using YaST => Network Devices => Network
> Settings, but still iwconfig output:
>
> Code:
> --------------------
> wlan0 IEEE 802.11bg ESSID:“HNet”
> Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
> Tx-Power=20 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality:0 Signal level:0 Noise level:0
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Send the output of

sudo /usr/sbin/iwlist scan
sudo cat /etc/sysconfig/network/ifcfg-wlan0

In the second output, replace the key data with X’s, but keep the number of digits.

Maybe a problem in the router settings?

linux-ra0h:/home/miksayer # cat /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='AR5001 Wireless Network Adapter'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='yes'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='HNet'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='no'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK='XXXXXXXX'
linux-ra0h:/home/miksayer # sudo /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:13:49:C9:A2:2F
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=58/70  Signal level=-52 dBm  
                    Encryption key:on
                    ESSID:""
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000007c25a461b
                    Extra: Last beacon: 1212ms ago
                    IE: Unknown: 0050F20201000050F20200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010482848B960000000000000000
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32080C1218243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

On 02/22/2010 08:36 AM, miksayer wrote:
>
> Code:
> --------------------
> linux-ra0h:/home/miksayer # cat /etc/sysconfig/network/ifcfg-wlan0
> BOOTPROTO=‘dhcp’
> BROADCAST=’’
> ETHTOOL_OPTIONS=’’
> IPADDR=’’
> MTU=’’
> NAME=‘AR5001 Wireless Network Adapter’
> NETMASK=’’
> NETWORK=’’
> REMOTE_IPADDR=’’
> STARTMODE=‘auto’
> USERCONTROL=‘yes’
> WIRELESS_AP=’’
> WIRELESS_AUTH_MODE=‘psk’
> WIRELESS_BITRATE=‘auto’
> WIRELESS_CA_CERT=’’
> WIRELESS_CHANNEL=’’
> WIRELESS_CLIENT_CERT=’’
> WIRELESS_CLIENT_KEY=’’
> WIRELESS_CLIENT_KEY_PASSWORD=’’
> WIRELESS_DEFAULT_KEY=‘0’
> WIRELESS_EAP_AUTH=’’
> WIRELESS_EAP_MODE=’’
> WIRELESS_ESSID=‘HNet’
> WIRELESS_FREQUENCY=’’
> WIRELESS_KEY=’’
> WIRELESS_KEY_0=’’
> WIRELESS_KEY_1=’’
> WIRELESS_KEY_2=’’
> WIRELESS_KEY_3=’’
> WIRELESS_KEY_LENGTH=‘128’
> WIRELESS_MODE=‘Managed’
> WIRELESS_NICK=’’
> WIRELESS_NWID=’’
> WIRELESS_PEAP_VERSION=’’
> WIRELESS_POWER=‘no’
> WIRELESS_WPA_ANONID=’’
> WIRELESS_WPA_IDENTITY=’’
> WIRELESS_WPA_PASSWORD=’’
> WIRELESS_WPA_PSK=‘XXXXXXXX’
> linux-ra0h:/home/miksayer # sudo /usr/sbin/iwlist scan
> lo Interface doesn’t support scanning.
>
> eth0 Interface doesn’t support scanning.
>
> wmaster0 Interface doesn’t support scanning.
>
> wlan0 Scan completed :
> Cell 01 - Address: 00:13:49:C9:A2:2F
> Channel:6
> Frequency:2.437 GHz (Channel 6)
> Quality=58/70 Signal level=-52 dBm
> Encryption key:on
> ESSID:""

You didn’t tell us that you were using a hidden ESSID!! Are you aware that your
security is not helped by this?

Assuming that you have actually issued the “ifup wlan0” command, add the
following line to ifcfg-wlan0:

WIRELESS_AP_SCAN_MODE=2

If that doesn’t work, then unhide your ESSID in the AP.

WOW Larry. You kept your cool on that one!!
Says me with a grin on me face:)…mutter mutter…

No, ESSID of my network is visible. Just then the computer for some reason did not see my network(although at that and this time I was near the router). Now iwlist scan output is

linux-ra0h:/home/miksayer # iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:13:49:C9:A2:2F
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=48/70  Signal level=-62 dBm  
                    Encryption key:on
                    ESSID:""
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000009645a126b
                    Extra: Last beacon: 1282ms ago
                    IE: Unknown: 0050F20201000050F20200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010482848B960000000000000000
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32080C1218243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: 00:13:49:C9:A2:2F
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=47/70  Signal level=-63 dBm  
                    Encryption key:on
                    ESSID:"HNet"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000096248ac16
                    Extra: Last beacon: 35977ms ago
                    IE: Unknown: 0004484E6574
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030106
                    IE: Unknown: 32080C1218243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

My network is HNet.