Bug 916042

Summary: No wireless access with wicked
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User q1OP-YXoe8 <forgotten_q1OP-YXoe8>
Component: NetworkAssignee: wicked maintainers <wicked-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: chcao, forgotten_q1OP-YXoe8, pwieczorkiewicz
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: wicked_bug_report_data

Description Forgotten User q1OP-YXoe8 2015-02-03 18:17:49 UTC
Created attachment 621747 [details]
wicked_bug_report_data

Hello ;)

I'm using openSUSE 13.2 and Plasma 5. I'm trying to use my wireless card with wicked, it does not work so far. I have no association with the Access Point though i've tried various options with Yast config tools , wicked, networkmanager and wpa_gui.

I saw the bug report linked with wicked (bug # 902771) and i'm providing here my data attached.

Can you please help me understand if it's linked with my config, hardware or a real bug in wicked ? I hope this data helps.

Thank you very much.
Comment 1 Pawel Wieczorkiewicz 2015-02-04 06:58:18 UTC
(In reply to Fabrice LEMAISTRE from comment #0)
> Created attachment 621747 [details]
> wicked_bug_report_data
> 
> Hello ;)
> 
> I'm using openSUSE 13.2 and Plasma 5. I'm trying to use my wireless card
> with wicked, it does not work so far. I have no association with the Access
> Point though i've tried various options with Yast config tools , wicked,
> networkmanager and wpa_gui.
> 
> I saw the bug report linked with wicked (bug # 902771) and i'm providing
> here my data attached.
> 
> Can you please help me understand if it's linked with my config, hardware or
> a real bug in wicked ? I hope this data helps.
> 
> Thank you very much.

Hi!

Unfortunately you have not provided detailed logs from wpa_supplicant, so it is hard to say what was wrong. Please follow this comment: https://bugzilla.suse.com/show_bug.cgi?id=902771#c2 and provide logs from wpa_supplicant.

But first could you tell us whether your wireless network is configured with WPA1 or WPA2?
Comment 2 Forgotten User q1OP-YXoe8 2015-02-04 08:16:51 UTC
Hi ;)

i don't know if i'm using wpa 1 or 2, where can i see that ? 

i provided a .tgz file attached , is it not ok ? 
this may help : 

# cd /home/fabrice/debug/
openSUSE132:/home/fabrice/debug # ls
wicked-bug-report-data.tgz  wicked-config.log  wicked-status.log  wicked.log  wpa_supplicant.log
openSUSE132:/home/fabrice/debug # cat wpa_supplicant.log 
Successfully initialized wpa_supplicant
wlp4s0: CTRL-EVENT-TERMINATING 
1422885313.178740: wpa_supplicant v2.2
1422885313.178764: random: Trying to read entropy from /dev/random
1422885313.179202: dbus: Register D-Bus object '/fi/w1/wpa_supplicant1'
1422885313.179380: Providing DBus service 'fi.w1.wpa_supplicant1'.
1422885313.179590: Providing DBus service 'fi.epitest.hostap.WPASupplicant'.
1422885313.179599: Successfully initialized wpa_supplicant
1422885313.179609: random: Got 20/20 bytes from /dev/random


Thanks ;)
Comment 3 Pawel Wieczorkiewicz 2015-02-04 08:34:04 UTC
(In reply to Fabrice LEMAISTRE from comment #2)
> Hi ;)
> 
> i don't know if i'm using wpa 1 or 2, where can i see that ? 
> 
> i provided a .tgz file attached , is it not ok ? 
> this may help : 
> 
> # cd /home/fabrice/debug/
> openSUSE132:/home/fabrice/debug # ls
> wicked-bug-report-data.tgz  wicked-config.log  wicked-status.log  wicked.log
> wpa_supplicant.log
> openSUSE132:/home/fabrice/debug # cat wpa_supplicant.log 
> Successfully initialized wpa_supplicant
> wlp4s0: CTRL-EVENT-TERMINATING 
> 1422885313.178740: wpa_supplicant v2.2
> 1422885313.178764: random: Trying to read entropy from /dev/random
> 1422885313.179202: dbus: Register D-Bus object '/fi/w1/wpa_supplicant1'
> 1422885313.179380: Providing DBus service 'fi.w1.wpa_supplicant1'.
> 1422885313.179590: Providing DBus service 'fi.epitest.hostap.WPASupplicant'.
> 1422885313.179599: Successfully initialized wpa_supplicant
> 1422885313.179609: random: Got 20/20 bytes from /dev/random
> 
> 
> Thanks ;)

Yes, it is not enough, because wpa_supplicant has not been started in debugging mode, thus we do not have enough logs to analyze the issue. Please restart your wpa_supplicant in the debugging mode (By adding -dddt parameter, how to do it is described here: https://bugzilla.suse.com/show_bug.cgi?id=902771#c2.

Then please try to connect to your wireless network again and once again collect logs and attach it here, best with the procedure described here: https://en.opensuse.org/openSUSE:Bugreport_wicked.

Regarding the WPA1 vs WPA2 you should check with your wireless network AP which settings has been used. Alternatively you could you the following procedure:

1) ifup $YOUR_WIRELESS_INTERFACE 
It does not matter if it failed or not, at least it should be up.
2) iwlist $YOUR_WIRELESS_INTERFACE scanning essid $YOUR_SSID

And provide the output from the last command to us.
Comment 4 Forgotten User q1OP-YXoe8 2015-02-09 08:53:56 UTC
hello ,

 i already added the line for wpa_supplicant to start in debug mode, i don't know why it's not starting in this debug mode :

http://pastebin.com/u30HvvsT

some other things i tried :

openSUSE132:~ # iwconfig 
wlp4s0    IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
enp3s0    no wireless extensions.

lo        no wireless extensions.

openSUSE132:~ # ip link set wlp4s0 up 
openSUSE132:~ # iwlist scan
wlp4s0    Scan completed :
          Cell 01 - Address: F6:37:DB:5A:73:CC
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=51/70  Signal level=-59 dBm  
                    Encryption key:on
                    ESSID:"xx"
                    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=000000000706e501
                    Extra: Last beacon: 57ms ago
                    IE: Unknown: 000446413638
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B070000000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP                                                                                                                                                                                         
                        Authentication Suites (1) : PSK                                                                                                                                                                                     
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00                                                                                                                                                       
                    IE: Unknown: 7F0101                                                                                                                                                                                                     
                    IE: Unknown: DD07000C4300000000                                                                                                                                                                                         
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000                                                                                                                                           
                    IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000                                                                                                                                                   
          Cell 02 - Address: F6:37:DB:5A:73:CD                                                                                                                                                                                              
                    Channel:11                                                                                                                                                                                                              
                    Frequency:2.462 GHz (Channel 11)                                                                                                                                                                                        
                    Quality=51/70  Signal level=-59 dBm                                                                                                                                                                                     
                    Encryption key:on                                                                                                                                                                                                       
                    ESSID:""                                                                                                                                                                                                                
                    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=0000000007080ae1                                                                                                                                                                                              
                    Extra: Last beacon: 135ms ago                                                                                                                                                                                           
                    IE: Unknown: 0000                                                                                                                                                                                                       
                    IE: Unknown: 010882848B961224486C                                                                                                                                                                                       
                    IE: Unknown: 03010B                                                                                                                                                                                                     
                    IE: Unknown: 32040C183060                                                                                                                                                                                               
                    IE: Unknown: 33082001020304050607                                                                                                                                                                                       
                    IE: Unknown: 33082105060708090A0B                                                                                                                                                                                       
                    IE: Unknown: 050400010000                                                                                                                                                                                               
                    IE: Unknown: 2A0104
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B070000000000000000000000000000000000000000
                    IE: Unknown: 7F0101
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05000017127A
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000
                    IE: Unknown: DD07000C4300000000
          Cell 03 - Address: F6:37:DB:5A:73:CE
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=51/70  Signal level=-59 dBm  
                    Encryption key:off
                    ESSID:"FreeWifi"
                    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=000000000706ef45
                    Extra: Last beacon: 57ms ago
                    IE: Unknown: 00084672656557696669
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B070000000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000
          Cell 04 - Address: F6:37:DB:5A:73:CF
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=51/70  Signal level=-59 dBm  
                    Encryption key:on
                    ESSID:"FreeWifi_secure"
                    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=000000000706f886
                    Extra: Last beacon: 57ms ago
                    IE: Unknown: 000F46726565576966695F736563757265
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B070000000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000

enp3s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

openSUSE132:~ # iwconfig wlp4s0 essid xx

openSUSE132:~ # iwconfig wlp4s0 
wlp4s0    IEEE 802.11bgn  ESSID:"xx"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

openSUSE132:~ # wpa_passphrase <ESSID> <passphrase> >> /etc/wpa_supplicant/wpa_supplicant.conf



openSUSE132:~ # cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

###ajouts pour la configuration du wifi, au départ le fichier n'a que les 2 1eres lignes ce qui n'est pas complet.
 
 # eapol_version=1
 # ap_scan=1
  #fast_reauth=1

 # network={
  #      ssid="xx"
   #     proto=WPA RSN
    #    key_mgmt=WPA-PSK WPA-EAP
     #   pairwise=CCMP TKIP
     #   group=CCMP TKIP
      #  psk=yyyyyy
 # }
network={
        ssid="xx"
        
        psk=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
}

openSUSE132:~ # systemctl stop wpa_supplicant.service

openSUSE132:~ # ps -A|grep wpa_supplicant

openSUSE132:~ # wpa-supplicant -dddt -iwlp4s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -f /var/log/wpa_supplicant.log 

If 'wpa-supplicant' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf wpa-supplicant

openSUSE132:~ # dhclient wlp4s0

openSUSE132:~ # iwconfig
wlp4s0    IEEE 802.11bgn  ESSID:"FA68"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
enp3s0    no wireless extensions.

lo        no wireless extensions.


Why does the wpa_supplicant line not work ? 

i still don't get why it's not working .

Thanks for any help.
Comment 5 Pawel Wieczorkiewicz 2015-02-09 09:35:31 UTC
(In reply to Fabrice LEMAISTRE from comment #4)
> hello ,
> 
>  i already added the line for wpa_supplicant to start in debug mode, i don't
> know why it's not starting in this debug mode :
> 
> http://pastebin.com/u30HvvsT
> 

Have you performed the following:
- systemctl daemon-reload
- systemctl restart wpa_supplicant

If so then verifying is with:
- ps aux | grep wpa_supplicant should be enough

Nevertheless you provided with the latest comment info we requested, so there is no need to restart wpa_supplicant in debugging mode anymore:

> openSUSE132:~ # iwlist scan
> wlp4s0    Scan completed :
>           Cell 01 - Address: F6:37:DB:5A:73:CC
>                     Channel:11
>                     Frequency:2.462 GHz (Channel 11)
>                     Quality=51/70  Signal level=-59 dBm  
>                     Encryption key:on
>                     ESSID:"xx"

...

>                     IE: WPA Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (1) : TKIP                         
> 
>                         Authentication Suites (1) : PSK    

...
                 
> wlp4s0    IEEE 802.11bgn  ESSID:"xx"  
>           Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
>           Retry short limit:7   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off

> If 'wpa-supplicant' is not a typo you can use command-not-found to lookup
> the package that contains it, like this:
>     cnf wpa-supplicant
> 

...

> Why does the wpa_supplicant line not work ? 
> 
> i still don't get why it's not working .

The correct name is: wpa_supplicant (note the _underscore_)

So the conclusion:
You wifi network is configured with WPA1 protocol (if you are able to change it, we recommend you change it to WPA2, which is much more secure).
Up to the current mainline version of wicked, WPA1 protocol was not supported. It has been implemented recently with the commit:

https://github.com/openSUSE/wicked/commit/606b50d601876e81aaaca9db26cd0f103d22ab29

Therefore please test with the latest master build RPMS if this solves the problem for you. The RPMs can be found in the following master repository:

http://download.opensuse.org/repositories/network:/wicked:/master/openSUSE_13.2/

The solution will be also available with the next wicked release: 0.6.16.
Comment 6 Pawel Wieczorkiewicz 2015-02-09 09:42:18 UTC
Ad latest comment.

Installation guide:
- zypper ar http://download.opensuse.org/repositories/network:/wicked:/master/openSUSE_13.2/ WICKED_MASTER
- zypper ref
# Please trust the repository
- zypper in wicked-0.6.15-34.1.x86_64 wicked-service-0.6.15-34.1.x86_64 libwicked-0-6-0.6.15-34.1.x86_64
Comment 7 Pawel Wieczorkiewicz 2015-02-09 09:58:55 UTC
After installation of the new RPMS please do not forgot to restart the wicked by:

- rcnetwork stop
- rcwickedd restart
- rcnetwork start
Comment 8 Forgotten User q1OP-YXoe8 2015-02-09 12:54:05 UTC
hello, 

About wpa 1  : too bad for me , i do not know if i can change this though.

I added the repo and packages you mentionned and rebooted the pc. 
Is there a better way to see if it works or not ? 
for if i used iwconfig i still see the device not associated.

But i notice in iwconfig result that mode is 'managed' but if i look above from iwlist scan results for cell 01 i see that mode is 'master'. 
What does it mean ? Do i need to set up the device in yast in Master mode ? If i do i then says that i can't use wpa in this mode.
Or do i need to wait for a new version of wicked ? 

Thanks ;)




# iwconfig
wlp4s0    IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
enp3s0    no wireless extensions.

lo        no wireless extensions.

openSUSE132:~ # zypper info wicked wicked-service libwicked
Loading repository data...
Reading installed packages...


Information for package wicked:
-------------------------------
Repository: network_wicked_master_openSUSE_13.2
Name: wicked
Version: 0.6.15-34.1
Arch: x86_64
Vendor: obs://build.opensuse.org/network
Installed: Yes
Status: up-to-date
Installed Size: 1.5 MiB
Summary: Network configuration infrastructure
Description: 
  Wicked is a network configuration infrastructure incorporating a number
  of existing frameworks into a unified architecture, providing a DBUS
  interface to network configuration.

Information for package wicked-service:
---------------------------------------
Repository: network_wicked_master_openSUSE_13.2
Name: wicked-service
Version: 0.6.15-34.1
Arch: x86_64
Vendor: obs://build.opensuse.org/network                                                                                                                                                                                                    
Installed: Yes                                                                                                                                                                                                                              
Status: up-to-date                                                                                                                                                                                                                          
Installed Size: 9.0 KiB                                                                                                                                                                                                                     
Summary: Network configuration infrastructure - systemd service                                                                                                                                                                             
Description:                                                                                                                                                                                                                                
  Wicked is a network configuration infrastructure incorporating a number                                                                                                                                                                   
  of existing frameworks into a unified architecture, providing a DBUS                                                                                                                                                                      
  interface to network configuration.                                                                                                                                                                                                       
                                                                                                                                                                                                                                            
  This package provides the wicked systemd service files.                                                                                                                                                                                   
                                                                                                                                                                                                                                            
package 'libwicked' not found.                                                                                                                                                                                                              
openSUSE132:~ # zypper in libwicked-0-6-0.6.15-34.1.x86_64
Loading repository data...                                                                                                                                                                                                                  
Reading installed packages...                                                                                                                                                                                                               
'libwicked-0-6.x86_64 = 0.6.15-34.1' is already installed.                                                                                                                                                                                  
No update candidate for 'libwicked-0-6-0.6.15-34.1.x86_64'. The highest available version is already installed.                                                                                                                             
Resolving package dependencies...                                                                                                                                                                                                           
                                                                                                                                                                                                                                            
Nothing to do.                                                                                                                                                                                                                              
openSUSE132:~ #
Comment 9 Pawel Wieczorkiewicz 2015-02-09 14:37:09 UTC
(In reply to Fabrice LEMAISTRE from comment #8)
> hello, 
> 
> About wpa 1  : too bad for me , i do not know if i can change this though.
> 
> I added the repo and packages you mentionned and rebooted the pc. 
> Is there a better way to see if it works or not ? 
> for if i used iwconfig i still see the device not associated.
> 

Hi,

Hmm probably either the right wicked packages were not installed or some reconfiguration (or even stop) of the wpa_supplicant packaged has happened. 

These steps look suspicious:

> openSUSE132:~ # cat /etc/wpa_supplicant/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel

>###ajouts pour la configuration du wifi, au départ le fichier n'a que les 2 >1eres lignes ce qui n'est pas complet.
> 
> # eapol_version=1
> # ap_scan=1
>  #fast_reauth=1
>
> # network={
>  #      ssid="xx"
>   #     proto=WPA RSN
>    #    key_mgmt=WPA-PSK WPA-EAP
>     #   pairwise=CCMP TKIP
>     #   group=CCMP TKIP
>      #  psk=yyyyyy
> # }
> network={
>        ssid="xx"
>        
>        psk=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> }
>
> openSUSE132:~ # systemctl stop wpa_supplicant.service

Therefore to speed up the analysis could you please join FreeNode IRC (e.g. using this portal: http://webchat.freenode.net/) and join the #wicked-916042 channel so we could identify what the problem is?

Thanks.
Comment 10 Forgotten User q1OP-YXoe8 2015-02-09 17:45:23 UTC
hi,

the /etc/wpa_supplicant/wpa_supplicant.conf
was kind of empty at 1st : 

# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

i then added some more data from examples found on the web :

 ctrl_interface=/var/run/wpa_supplicant
  ctrl_interface_group=wheel
  eapol_version=1
  ap_scan=1
  fast_reauth=1

  network={
        ssid="your_essid"
        proto=WPA RSN
        key_mgmt=WPA-PSK WPA-EAP
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk=your_64_hex_characters_long_key
  }


and then filled it with 
wpa_passphrase <ESSID> <passphrase> >> /etc/wpa_supplicant/wpa_supplicant.conf 

(which replaced the previous actions).



i followed the tips from here https://en.opensuse.org/SDB:WiFi#How-to_connect_to_WiFi_without_the_NetworkManager

it asks to stop all wpa_supplicant related activity before starting a new one.

i'll be available on the irc asap

thank you ;)
Comment 11 Forgotten User q1OP-YXoe8 2015-02-10 09:34:22 UTC
hello ;)

we spoke on irc and it helped , thank you :)

fyi :

ok, there was a bug with wicked not being able to manage wpa 1 ; some commits have been done and the rpms are available from the network repo (wicked master).
i added wicked, libwicked and wicked-service from there.

i also restored the wpa_supplicant.conf file to default (2 lines is ok, later wicked fills it )

Next version of wicked will include the last improvements.

I changed the device config file to 'manual' (startmode option).

So now it works and i can switch ON wifi if ethernet is KO:

Code:

cat /etc/sysconfig/network/ifcfg-wlp4s0
....
STARTMODE='manual'




# wicked ifup wlp4s0

# iwconfig
wlp4s0    IEEE 802.11bgn  ESSID:"xxx"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: xxxx
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=48/70  Signal level=-62 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



# wicked ifdown wlp4s0

thanks for your help
Comment 12 Pawel Wieczorkiewicz 2015-02-10 09:43:33 UTC
Thanks for re-testing and confirmation that the issue is gone now!
Solution will be available with wicked 0.6.16.
Comment 13 Pawel Wieczorkiewicz 2015-02-11 08:02:46 UTC

*** This bug has been marked as a duplicate of bug 914842 ***