Author Topic: Wifi not working KDE Full Montey  (Read 1617 times)

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Wifi not working KDE Full Montey
« on: November 18, 2012, 06:27:17 PM »
Hi I installed PCLinuxOS on a lenovo R61i that was given to a friend of mine. The WiFi doesn't work and no wireless is turned on it seems. Ethernet is the only connection that works.

"@localhost ~]$ iwconfig
lo        no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off 
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
         
wlan0     IEEE 802.11abg  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off 
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
         
eth0      no wireless extensions."

the wlan1 is a D-Link WNA-1330 PCMCIA card

Thanks for any help.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #1 on: November 18, 2012, 06:45:43 PM »

there seem to be two wireless cards,how do you explain this?

the interfaces are up so the the cards are seen by the kernel and drivers are claim responsibility for them.Thats a good start.

on the terminal,log in as root and these these commands and give their output.

dmesg | grep wlan

iw wlan1 scan

iw wlan0 scan
« Last Edit: November 18, 2012, 06:47:39 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #2 on: November 18, 2012, 07:13:40 PM »
the other wireless card is on-board.

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #3 on: November 18, 2012, 07:23:16 PM »
[root@localhost ~]# dmesg| grep wlan
udev[291]: renamed network interface wlan0 to wlan1
[root@localhost ~]# iw wlan1 scan
command failed: Network is down (-100)
[root@localhost ~]# iw wlan0 scan
command failed: Network is down (-100)
[root@localhost ~]#

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #4 on: November 18, 2012, 07:32:03 PM »
those interfaces seem to be down,bring them up first with the following commands and then repeat the above ones.

ifup wlan1

ifup wlan0

why are you not using the onboard one?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #5 on: November 18, 2012, 07:42:07 PM »
[root@localhost ~]# ifup wlan1
RTNETLINK answers: Operation not possible due to RF-kill
Wireless device wlan1 is configured with a roaming daemon but isn't associated

Determining IP information for wlan1...SIOCSIFFLAGS: Operation not possible due to RF-kill
SIOCSIFFLAGS: Operation not possible due to RF-kill
 failed.
[root@localhost ~]#

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #6 on: November 18, 2012, 07:43:40 PM »
I wasn't aware at first that it had on board wifi.

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #7 on: November 18, 2012, 07:44:19 PM »
[root@localhost ~]# ifup wlan0
RTNETLINK answers: Operation not possible due to RF-kill

Determining IP information for wlan0...SIOCSIFFLAGS: Operation not possible due to RF-kill
SIOCSIFFLAGS: Operation not possible due to RF-kill
 failed.
[root@localhost ~]#

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #8 on: November 18, 2012, 08:03:58 PM »

Some laptops have a hardware switch to turn wireless off or on.

does the latop have it? Look closely at the laptop and make sure if has the switch,it is set to allow wireless.

If the hardware button is not present on the laptop,then the option is set through a software option you may need to run a command to turn it on.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #9 on: November 18, 2012, 08:28:39 PM »
Theres an Fn function key for blue secondary functions on some keys with one under [F5] that looks like it might be for wifi, and no other like it.  Tho nothing happens when I press the Fn combination.  Although other blue 2ndary function keys work.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #10 on: November 18, 2012, 08:47:05 PM »

There is a package in the repository called "rfkill".

you should probably install it as you probably need to run it to turn wireless on.

I have never used the tool so i cant help you with it,hopefully somebody who is informed about rfkill and the error you are getting will come along and help you out.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #11 on: November 18, 2012, 09:25:28 PM »
okay well thanks for your help, I appreciate it much.

[root@localhost ~]# rfkill
Usage:  rfkill [options] command
Options:
        --version       show version (0.4)
Commands:
        help
        event
        list [IDENTIFIER]
        block IDENTIFIER
        unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
        <idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm
[root@localhost ~]# rfkill list
1: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
4: phy4: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
[root@localhost ~]# rfkill unblock phy1
Bogus unblock argument 'phy1'.
[root@localhost ~]# rfkill unblock 1
[root@localhost ~]# rfkill unblock 4
[root@localhost ~]#

The Link LED lit up on the D-Link card when I hit enter on the last line there, and both the Link and Act LED's are flashing together.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #12 on: November 18, 2012, 09:35:01 PM »

ok,they are now "on".

what do these commands give you?

iw wlan1 scan

iw wlan0 scan
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline life-eternal

  • Jr. Member
  • **
  • Posts: 15
Re: Wifi not working KDE Full Montey
« Reply #13 on: November 18, 2012, 11:32:46 PM »
[root@localhost ~]# iw wlan1 scan
BSS f8:d1:11:7a:91:96 (on wlan1) -- associated
        TSF: 787170721152 usec (9d, 02:39:30)
        freq: 2427
        beacon interval: 100
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -74.00 dBm
        last seen: 368 ms ago
        SSID: *******
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
        DS Parameter set: channel 4
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0
        WMM:    * Parameter version 1
                * u-APSD
                * BE: CW 15-1023, AIFSN 3
                * BK: CW 15-1023, AIFSN 7
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                * VO: acm CW 3-7, AIFSN 2, TXOP 1504 usec
        WPS:     * Version: 1.0
                 * Manufacturer: **-****
                 * Model: **-******
                 * Device name: Wireless Router **-******
                 * Config methods: Ethernet, Label, PBC
BSS 00:26:f3:e9:a6:68 (on wlan1)
        TSF: 364738867561 usec (4d, 05:18:58)
        freq: 2432
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -49.00 dBm
        last seen: 392 ms ago
        SSID: ******
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 5
        ERP: Barker_Preamble_Mode
        Extended supported rates: 6.0 12.0 24.0 48.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        WMM:    * Parameter version 1
                * BE: CW 15-1023, AIFSN 3
                * BK: CW 15-1023, AIFSN 7
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        Extended capabilities: HT Information Exchange Supported
        Country: US (in/outdoor), data: 01 0d 10
BSS 00:26:f3:e9:a6:69 (on wlan1)
        TSF: 364738870290 usec (4d, 05:18:58)
        freq: 2432
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -49.00 dBm
        last seen: 389 ms ago
        SSID:
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 5
        Extended supported rates: 6.0 12.0 24.0 48.0
        Country: US (in/outdoor), data: 01 0d 14
        ERP: Barker_Preamble_Mode
        Extended capabilities: HT Information Exchange Supported
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        WMM:    * Parameter version 1
                * BE: CW 15-1023, AIFSN 3
                * BK: CW 15-1023, AIFSN 7
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 00:26:f3:e9:a6:6a (on wlan1)
        TSF: 364738872971 usec (4d, 05:18:58)
        freq: 2432
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -49.00 dBm
        last seen: 387 ms ago
        SSID:
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 5
        Extended supported rates: 6.0 12.0 24.0 48.0
        Country: US (in/outdoor), data: 01 0d 14
        ERP: Barker_Preamble_Mode
        Extended capabilities: HT Information Exchange Supported
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        WMM:    * Parameter version 1
                * BE: CW 15-1023, AIFSN 3
                * BK: CW 15-1023, AIFSN 7
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 00:26:f3:e9:a6:6b (on wlan1)
        TSF: 364738978052 usec (4d, 05:18:58)
        freq: 2432
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -57.00 dBm
        last seen: 282 ms ago
        SSID:
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 5
        Extended supported rates: 6.0 12.0 24.0 48.0
        Country: US (in/outdoor), data: 01 0d 14
        ERP: Barker_Preamble_Mode
        Extended capabilities: HT Information Exchange Supported
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        WMM:    * Parameter version 1
                * BE: CW 15-1023, AIFSN 3
                * BK: CW 15-1023, AIFSN 7
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
[root@localhost ~]# iw wlan0 scan
command failed: Network is down (-100)

(SSID's replaced with *'s)
« Last Edit: November 18, 2012, 11:35:07 PM by life-eternal »

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: Wifi not working KDE Full Montey
« Reply #14 on: November 18, 2012, 11:52:07 PM »

wlan1 can now see wireless networks,it is working as expected.

you can go to pcc(pclinuxos control center) networking section and configure the network and should be good to go.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..