Connect to WIFI

I have enabled the Network Manager Service and no wifi networks appear. I have tried everything in the sticky threads but no luck. Why is so hard to connect to a wifi???

Please post:

/sbin/lspci -nnk | grep -iA3 net
lsusb
/usr/sbin/rfkill list all

Use Code Tags.

Not so easy without internet. I am on windows now. I’ll see what i can do.

/sbin/lspci -nnk | grep -iA3 net



03:00.0 Ether**net** controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gi
gabit Ether**net** Controller [10ec:8168] (rev 0c) 
       Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000] 
       Kernel driver in use: r8169 
       Kernel modules: r8169


lsusb



Bus 002 Device 002: ID 8087:8000 Intel Corp.  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 001 Device 002: ID 8087:8008 Intel Corp.  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 003 Device 006: ID 0951:16a5 Kingston Technology  
Bus 003 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter 
Bus 003 Device 002: ID 093a:2521 Pixart Imaging, Inc.  
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver 
Bus 003 Device 004: ID 045e:028e Microsoft Corp. Xbox360 Controller 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

/usr/sbin/rfkill list all


bash: /usr/sbin/rfkill: No such file or directory


Thats ok.

Bus 003 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter

Thats your USB-Wifi-Dongle.

bash: /usr/sbin/rfkill: No such file or directory

Try to install rfkill from DVD and post

/usr/sbin/rfkill list all
uname -a

How fo i install rfkill? I tried downloading a file rfkill.ymp but it could not install it. What else can i do?

rfkill should be on the DVD/USB-Stick you installed your openSUSE from.

So open Yast—Software and search.

I search for rfkill and it says no results

Seriously guys why is so difficult just to connect to a WiFi?? I have enabled Network Services, the icon appears in the status bar but no wifi networks are there. Scam through terminal works. It shows me some wifi networks…

That’s a good sign. Lets see what NetworkManager wifi status looks like

nmcli g

For reference, I have

~> nmcli g
STATE      CONNECTIVITY  WIFI-HW  WIFI      WWAN-HW  WWAN     
connected  full          enabled  disabled  enabled  disabled 
~> 

Also…

nmcli d

For reference, I have

~> nmcli d
DEVICE  TYPE      STATE      CONNECTION 
wlan0   wifi      disconnected --
eth0    ethernet  connected  DHCP       
lo      loopback  unmanaged  --         
~> 

~> nmcli g
 
STATE         CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN     
disconnected  limited       enabled  enabled  enabled  enabled  


~> nmcli d
 
DEVICE  TYPE      STATE        CONNECTION  
eth0    ethernet  unavailable  --          
lo      loopback  unmanaged    --


There is no wireless device node present in that output… Please show us

ip a
/usr/sbin/iwconfig

~> ip a 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 
   inet 127.0.0.1/8 scope host lo 
      valid_lft forever preferred_lft forever 
   inet6 ::1/128 scope host  
      valid_lft forever preferred_lft forever 
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 
   link/ether fc:aa:14:48:18:16 brd ff:ff:ff:ff:ff:ff 
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 
   link/ether 00:11:6b:c1:ee:3c brd ff:ff:ff:ff:ff:ff


~> /usr/sbin/iwconfig 
lo        no wireless extensions. 

wlan0     unassociated  Nickname:"rtl_wifi" 
         Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0   
         Retry:off   RTS thr:off   Fragment thr: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 

eth0      no wireless extensions.

That is odd. I did find a similar opensuse thread discussing a similar behaviour and it links to this bug report. For some reason the bug has been marked as ‘RESOLVED INVALID’. In any case can you try the workaround mentioned there?

The workaround to make it work is to give it a little nudge:

  1. “systemctl stop network”
  2. Then run wpa_supplicant with the correct config
  3. While wpa_supplicant is running, run “systemctl start network”. At this stage the network manager applet will display the wifi access points including the connected one
  4. Stop wpa_supplicant

Starting from here, NetworkManager will work fine.

Alternatively, try switching to wicked (via YaST > System > Network Settings) and configure your wireless connection from there…
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.basicnet.html#sec.basicnet.yast.netcard

Thanks a lot for the help!! I’ll try the above and report back.

Your wifi device is using the r8712u driver, which is only supports ‘wext’ wireless extensions apparently. NetworkManager calls wpa_supplicant in such a way that it assumes a driver compliant with ‘nl80211’ instead.

0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter

This also explains why no signal level reported as would normally be expected…

wlan0     unassociated  Nickname:"rtl_wifi" 
         Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0   
         Retry:off   RTS thr:off   Fragment thr: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 

Well told here…
http://www.thelinuxrain.com/articles/getting-realtek-8188eu-wireless-adapters-to-work-in-linux-and-possibly-other-wireless-realtek-chipsets

It should still be possible to configure manually (with NetworkManager disabled), or as the blog suggests wicd (graphical UI) might be a possbility for managing this device.

But still how am I supposed to install stuff (the wicd) in a computer without internet? I can’t connect through Ethernet, my PC is like 15 meters away from the router. I downloaded a wicd.ymp file but when I try to install it it says “Installation was only partially successful” and it didn’t install it…

Some pragmatism may be required here. Purchase or make (I don’t know what skills/tools you have) a suitable cable of sufficient length? Relocate the PC temporarily?

I downloaded a wicd.ymp file but when I try to install it it says “Installation was only partially successful” and it didn’t install it…

No, that won’t work. A .ymp file only contains instructions which tell the package manager which packages to install, and where they are located. In this case that will be via an online repository. There may also be dependencies involved, necessitating the installation of additional packages.

Did you try configuring this wireless connection via wicked yet? AFAIU, it still offers support for drivers that require the deprecated wext backend.

YaST > System > Network Settings > Overview tab, select your wireless device and ‘Edit’ and follow the prompts given (as I already mentioned in post #14). Once done, you should end up with a connection config file /etc/sysconfig/network/ifcfg-wlan0 and hopefully a working wireless network connection.

From a quick read of 'man ifcfg-wireless, I note the following option can be specified in your ifcfg-wlan0 configuration

WIRELESS_WPA_DRIVER
This variable allows to override the wpa driver name that should be used by the wpa_supplicant. In most cases “nl80211”
(default on openSUSE 11.3) or “wext” (old default) can be used, but there are few exceptions.
The new “nl80211” wpa driver supports wireless regulatory domain, that can be set in /etc/sysconfig/network/config, WIRE-
LESS_REGULATORY_DOMAIN variable (global).

I’ve never needed to do this (my hardware is supported by the newer backend), so can only offer general guidance here. You can edit the confg file as root eg with nano

sudo nano /etc/sysconfig/network/ifcfg-wlan0

and add

WIRELESS_WPA_DRIVER='wext'

Save when done and restart wicked (or just reboot)

sudo systemctl restart wicked

See how that goes.

What should i choose in wicked? No IP Address, Statically Assigned IP Address or Dynamic Address?