Trying to get my Realtek USB WiFi adapter to connect to access points.
Setting up the adapter in MCC or the net applet, all the access points are visible, but attempting to connect fails.
Using the DHCP auto detect no address is assigned to the adapter, due I guess to access point not responding.
If I manually set IP and DNS the adapter will assign these to the interface, but the ESSID shows b'' in the net_applet monitor screen.
I have managed to get the ESSID to show a valid access point name , and can then bring up the network with command
ifup <wireless-interface-name>
Hardware detection shows the wireless dongle using the 8712 driver.
Using Mageia 7 beta 2 (now have limited internet access for further upgrading).
Here is the hardware and command line output :-
- Code: Select all
Detect Hardware MCC
Identification
Vendor: Manufacturer Realtek
Description: RTL8191S WLAN Adapter
Media class:
Connection
Bus: USB
Bus PCI #: 1
PCI device #: 3
Vendor ID: 0x0bda
Device ID: 0x8172
Misc
Module: r8712u
Command line usb-devices :-
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=8172 Rev=02.00
S: Manufacturer=Manufacturer Realtek
S: Product=RTL8191S WLAN Adapter
S: SerialNumber=00e04c000001
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u
Command line
[root@homeport greg]# iwconfig (before config ESSID)
wlp0s26u1u2 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key: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
Command line
[root@homeport greg]# iwconfig (after manual config of ESSID)
iwconfig wlp0s26u1u2 essid teleport
wlp0s26u1u2 IEEE 802.11bg ESSID:"teleport" Nickname:"rtl_wifi"
Mode:Managed Frequency:2.412 GHz Access Point: 00:04:ED:C9:C9:94
Bit Rate:54 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:0000-0000-00 Security mode:open
Power Management:off
Link Quality=0/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Note here the ESSID is showing correctly (teleport), where the net_applet shows ESSID incorrectly (b'teleport')
Routes look good and can ping gateway with LAN card
Command line with LAN card connected
[root@homeport greg]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default home.gateway 0.0.0.0 UG 10 0 0 enp3s0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0
link-local 0.0.0.0 255.255.0.0 U 1002 0 0 enp3s0
With WIFI connected, routes look same but WIFI card but cant ping gateway.
[root@homeport greg]# iwconfig wlp0s26u1u2 essid teleport
[root@homeport greg]# ifup wlp0s26u1u2
[root@homeport greg]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 35 0 0 wlp0s26u1u2
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp0s26u1u2
link-local 0.0.0.0 255.255.0.0 U 1003 0 0 wlp0s26u1u2
In summary :-
Firewall is turned off to isolate that potential problem
Is the wifi dongle using the wrong driver (r8712u) ?
I have installed the latest realtek firmware driver rpm rtlwifi-firmware to no effect...
I have run "rfkill unblock all" to no effect.
net_applet can see all the access points, but fails to connect even to unsecured points.
In net_applet 'monitor' the ESSID is showing b'' not the access point name, untill I manually run
iwconfig wlp0s26u1u2 essid teleport
after this command the monitor ESSID still shows the ESSID as b'teleport'. Why is that b char being reported ?
The interface is not able to be set to 'up' untill after the ESSID is set using iwconfig.
routes and firewall seem not to be causing the issue.
wp_supplicant is installed and running.
Net_applet monitor shows the wifi dongle sending date after being manually configured, but receiving nothing back.
[img]Monitor-Before-ESSID.png[/img]
[img]Monitor-After-ESSID.png[/img]
[img]Net_App-After-ESSID.png[/img]