LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Cannot get my WiFi to work (http://www.linuxquestions.org/questions/linux-hardware-18/cannot-get-my-wifi-to-work-914460/)

debasish_5849 11-19-2011 09:29 PM

Cannot get my WiFi to work
 
My WiFi does not work although the kernel seems to support it. I will list the output of a few commands.

Code:

lspci|grep -i network
07:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)

Code:

[root@localhost dispatcher.d]# iwlist scanning
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0    Scan completed :
          Cell 01 - Address: 68:7F:74:F8:22:45
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=34/70  Signal level=-76 dBm 
                    Encryption key:on
                    ESSID:"linksys"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000003905c29145
                    Extra: Last beacon: 3248ms ago
                    IE: Unknown: 00076C696E6B737973
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD07000C4303000000
          Cell 02 - Address: 00:C0:CA:26:71:01
                    Channel:3
                    Frequency:2.422 GHz (Channel 3)
                    Quality=34/70  Signal level=-76 dBm 
                    Encryption key:off
                    ESSID:"super int1 9899427562"
                    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
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000689b338bc
                    Extra: Last beacon: 4011ms ago
                    IE: Unknown: 0015737570657220696E74312039383939343237353632
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030103
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD2A000C42000000011E00000000006616030000303043304341323637313031000000000000000005027609
          Cell 03 - Address: 00:1B:2F:5E:5E:48
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=24/70  Signal level=-86 dBm 
                    Encryption key:on
                    ESSID:"Preetam's Wireless"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000026e1552181
                    Extra: Last beacon: 3394ms ago
                    IE: Unknown: 00125072656574616D277320576972656C657373
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                      Preauthentication Supported

vboxnet0  Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

virbr0    Interface doesn't support scanning.

The first router listed here (Cell 01) is my WiFi router. So it seems that I can even scan the routers properly. Please give me commands so that I can get the WiFi up and running.

P.S. I am using Fedora 13 and the configuration through the graphical interface does not work. The GUI also does not work for normal LAN connections, so I never had faith in it anyway.

John VV 11-19-2011 10:06 PM

please install fedora 16 FIRST
then see about the wireless


Fedora 13 has been Unsupported for the last 6 months , ever since it hit it's End Of Life

debasish_5849 11-19-2011 10:17 PM

It seems to be a very difficult task now as I am having lots of stuff installed and configured. By I did try the Fedora 16 live distro and it gives the same result.

It seems that I have an inet6 address properly configured through dhclient
Code:

[root@localhost wifi-radar-2.0.s08]# ifconfig wlan0
wlan0    Link encap:Ethernet  HWaddr 00:23:4D:79:A6:31 
          inet6 addr: fe80::223:4dff:fe79:a631/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:13216 (12.9 KiB)

I think my problem is with WPA version 1 security. Can you please explain how to configure that? I only know my password.

debasish_5849 11-19-2011 11:27 PM

Solved it.

first
Code:

wpa_passphrase linksys "myPassword"
network={
        ssid="linksys"
        #psk="myPassword"
        psk=d26b46ba343c694ae05f210d715e2618d24c3d231dd5e184aa9a0c4fb72fb71c
}

then

Code:

vi /etc/wpa_supplicant/wpa_supplicant.conf
and the edit the file to look like this

Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
scan_ssid=1
ssid="linksys"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=d26b46ba343c694ae05f210d715e2618d24c3d231dd5e184aa9a0c4fb72fb71c
}

and then at the end

Code:

[root@localhost wifi-radar-2.0.s08]# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Trying to associate with 68:7f:74:f8:22:45 (SSID='linksys' freq=2412 MHz)
Associated with 68:7f:74:f8:22:45
WPA: Key negotiation completed with 68:7f:74:f8:22:45 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 68:7f:74:f8:22:45 completed (auth) [id=0 id_str=]

now configure the interface with dhcp
Code:

[root@localhost Documents]$dhclient wlan0

And its working real smooth


All times are GMT -5. The time now is 09:04 PM.