The WiFi network could not be found.

Hi guys!
I have a network problem that I wasn’t able to solve for the past few days. I was installing openconnect using zypper and faced with the following lines:


File /lib/libnss_nis.so.2  from install of     libnss_nis2-32bit-3.0-2.1.x86_64 (openSUSE:Factory)  conflicts with file from package    glibc-32bit-2.22-16.3.x86_64 (@System)
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.Continue? [yes/no] (no): y
( 1/24) Installing:glibc-2.27-4.1.x86_64 ......................................................................................[done]Additional rpm output:warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew  

Unfortunately, I said yes and then my connection to the network got lost.
I can see and scan wireless connections but can not connect to them. after a while trying it says:

The WiFi network could not be found.

and

Connection myModemSSID deactivated.

I tried to hotspot my phone via a USB cable. at first, I had some DNS issues but it’s solved and I’m able to connect that way.

What have I done and what is the solution?

Thank you for your help.

Here on Leap 42.3 no glibc-2.27

zypper se -s glibc
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name                     | Typ        | Version   | Arch   | Repository               
---+--------------------------+------------+-----------+--------+--------------------------
i+ | glibc                    | Paket      | 2.22-16.3 | x86_64 | openSUSE-Leap-42.3-Update
v  | glibc                    | Paket      | 2.22-13.2 | x86_64 | openSUSE-Leap-42.3-Update
v  | glibc                    | Paket      | 2.22-10.1 | x86_64 | openSUSE-Leap-42.3-Update
v  | glibc                    | Paket      | 2.22-8.4  | x86_64 | openSUSE-Leap-42.3-Oss 

Post:

zypper lr -d

well I have some :


zypper se -s glibc
Loading repository data... 
Reading installed packages... 

S  | Name                         | Type       | Version     | Arch   | Repository                      
---+------------------------------+------------+-------------+--------+-------------------------------- 
i+ | glibc                        | package    | 2.27-5.1    | x86_64 | openSUSE:Factory              
v  | glibc                        | package    | 2.27-5.1    | i686   | openSUSE:Factory                
v  | glibc                        | package    | 2.27-5.1    | i586   | openSUSE:Factory                


and thw output of

zypper lr -d

is this:

Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                               | Name                                                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                       | Service
---+-------------------------------------+------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------+--------
 1 | VLC                                 | VLC                                                        | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Leap_42.3                                       |        
 2 | dvd                                 | dvd                                                        | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                                        |        
 3 | google-chrome                       | google-chrome                                              | No      | ----      | ----    |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                       |        
 4 | home_rawtherapee                    | RawTherapee Home Project (openSUSE_Leap_42.3)              | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/rawtherapee/openSUSE_Leap_42.3/           |        
 5 | http-download.opensuse.org-022c4e96 | openSUSE:Factory                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                         |        
 6 | http-download.opensuse.org-1e82cda8 | devel:languages:python                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_42.3/    |        
 7 | http-download.opensuse.org-44ebdf98 | network:utilities                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/network:/utilities/openSUSE_Leap_42.3/          |        
 8 | http-download.opensuse.org-50567089 | home:dirtycold                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/dirtycold/openSUSE_Leap_42.3/             |        
 9 | http-download.opensuse.org-a1690ccc | devel:libraries:c_c++                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/libraries:/c_c%2B%2B/openSUSE_Leap_42.3/ |        
10 | http-download.opensuse.org-daacf44b | openSUSE:13.1                                              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                                  |        
11 | http-download.opensuse.org-eb8cb401 | server:mail                                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/mail/openSUSE_Leap_42.3/                |        
12 | http-download.videolan.org-f0578de2 | SuSE                                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/Leap_42.3/                                              |        
13 | network                             | Networking services and related tools (openSUSE_Leap_42.3) | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/network/openSUSE_Leap_42.3/                     |        
14 | openSUSE-Leap-42.3-0                | openSUSE-Leap-42.3-0                                       | Yes     | (r ) Yes  | No      |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-General_USB_Flash_Disk_0413110000013718-0:0-part2       |        
15 | packman                             | packman                                                    | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                          |        
16 | repo-debug                          | openSUSE-Leap-42.3-Debug                                   | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                       |        
17 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss                           | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/                   |        
18 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug                            | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/oss/                                  |        
19 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss                    | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                              |        
20 | repo-non-oss                        | openSUSE-Leap-42.3-Non-Oss                                 | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                         |        
21 | repo-oss                            | openSUSE-Leap-42.3-Oss                                     | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                             |        
22 | repo-source                         | openSUSE-Leap-42.3-Source                                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                      |        
23 | repo-source-non-oss                 | openSUSE-Leap-42.3-Source-Non-Oss                          | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/                  |        
24 | repo-update                         | openSUSE-Leap-42.3-Update                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                        |        
25 | repo-update-non-oss                 | openSUSE-Leap-42.3-Update-Non-Oss                          | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                                    |        



So, there’s the culprit. You have networking related repos active, an openSUSE 13.1 repo on a 42.3 install. So, now you have a mix of packages, the file conflict is a direct result of that.

UPDATE:

lspci:

03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter 

iwconfig:


wlan1     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTSthr:off   Fragment thr:off
          Power Management:off

iwlist:


wlan1     Scan completed :
          Cell 01 - Address: 3C:DF:BD:57:38:1C
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=53/70  Signal level=-57 dBm  
                    Encryption key:on
                    ESSID: myModemSSID
                    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=00000090e53defd1
                    Extra: Last beacon: 52ms ago
and so on..

rfkill list:


0:asus-wlan: Wireless LAN 
       Soft blocked: no 
       Hard blocked: no 
1:asus-bluetooth: Bluetooth 
       Soft blocked: no 
       Hard blocked: no 
2: phy0: Wireless LAN 
       Soft blocked: no 
       Hard blocked: no 
3: hci0: Bluetooth 
       Soft blocked: no 
       Hard blocked: no



Ialsocheckeddmseg for firmware problems but nothing was there.

5 | http-download.opensuse.org-022c4e96 | openSUSE:Factory                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ 
10 | http-download.opensuse.org-daacf44b | openSUSE:13.1                                              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/ 

I think, that are the problems…

and just removing the repository is enough to solve the problem?

and just removing the repository is enough to solve the problem?

No.

I would also delete both VLC Repos (1+12).

Also thinking about using such a Repo list…

So deleteing much more…

Ok, I removed all but these and the problem still remains…

zypper lr -d 
Repository priorities are without effect. All enabled repositories share the same priority. 

#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI    
                                                                            | Service 
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------
-----------------------------------------------------------------------------+-------- 
1 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | Yes     | (r ) Yes  | No      |   99     | yast2  | hd:///?
device=/dev/disk/by-id/usb-General_USB_Flash_Disk_0413110000013718-0:0-part2 |         
2 | packman                   | packman                                 | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://
packman.inode.at/suse/openSUSE_Leap_42.3/                                    |         
3 | repo-debug                | openSUSE-Leap-42.3-Debug                | Yes     | (r ) Yes  | No      |   99     | yast2  | http://
download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                 |         
4 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | Yes     | (r ) Yes  | No      |   99     | yast2  | http://
download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/             |         
5 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://
download.opensuse.org/debug/update/leap/42.3/oss/                            |         
6 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://
download.opensuse.org/debug/update/leap/42.3/non-oss/                        |         
7 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | No      |   99     | yast2  | http://
download.opensuse.org/distribution/leap/42.3/repo/non-oss/                   |         
8 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | No      |   99     | yast2  | http://
download.opensuse.org/distribution/leap/42.3/repo/oss/                       |         
9 | repo-source               | openSUSE-Leap-42.3-Source               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://
download.opensuse.org/source/distribution/leap/42.3/repo/oss/                |         
10 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | Yes     | (r ) Yes  | No      |   99     | yast2  | http://
download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/            |         
11 | repo-update               | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://
download.opensuse.org/update/leap/42.3/oss/                                  |         
12 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://
download.opensuse.org/update/leap/42.3/non-oss/                              |        


Refresh for packman and Update-non-oss is missing:
as root:

zypper mr -f 12 2

Also Priority for Packman to 20:

zypper mr -p 20 2

After that:

zypper dup

please do not ignore any dependecies!

Thank you! I’ll be more careful about my repos from now on…