USB wifi network activation

Issues related to configuring your network
Post Reply
aaafridi
Posts: 4
Joined: 2017/09/20 02:27:15

USB wifi network activation

Post by aaafridi » 2017/09/20 03:00:31

Hi,

I have been struggling to configure usb wifi on Centos 7.
The problem is that It keeps on sending DHCPDISCOVER but do not receive a reply. Which brings me to the conclusion that either #1 the request is not reaching the DHCP Server (my wifi router) [maybe because of the wireless range] or #2 the settings is incorrect and it is actually not hitting the DHCP server. I would exclude #1 as wifi coverage is pretty good at my home and none of my other devices have any issue.
This brings me to #2, for which I seek guidance and your expert opinion.

- USB detected - CHECK
[root@Centos7]# lsusb | grep -i real
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

- Module loaded - CHECK
[root@Centos7]# lsmod | grep -i 8188
8188eu 830341 0

- ifconfig output
[root@Centos7]# ifconfig wlan0
wlan0: flags=4099<UP, BROADCAST, MULTICAST> mtu 1500
inet6 fe80::e60a:flca:40c5:ffc2 prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:81:a8:10 taxquelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


I configured my network using NetworkManager GNOME GUI as well creating required files in /etc/sysconfig/network-scripts
Following files were created
/etc/sysconfig/network-scripts/ifcfg-wlan0
with ESSID=<my SSID>, KEY_MGMT=WPA-PSK, BOOTPROTO=dhcp, ONBOOT=yes, NAME=<my SSID>, BSSID=<my BSSID>, DEVICE=wlan0

/etc/sysconfig/networks-scripts/keys-<SSID>
WPA_PSK='MY WPA_PSK'

All I see in /var/log/messages is that DHCPDISCOVER messages are sent via wlan0 but no offer is being received.

Any suggestion/idea.

Thanks,

aaafridi
Posts: 4
Joined: 2017/09/20 02:27:15

Re: USB wifi network activation

Post by aaafridi » 2017/09/22 01:17:33

So does anyone know if there is some package with which I can see wifi networks in range.

aaafridi
Posts: 4
Joined: 2017/09/20 02:27:15

Re: USB wifi network activation

Post by aaafridi » 2017/09/22 01:36:19

I think I found the reason:

Sep 21 21:32:07 Centos7 NetworkManager[597]: <info> [1506043927.6059] device (wlan0): driver 'rtl8188eu' does not support carrier detection

Now back to square one - find appropriate driver

lancs
Posts: 1
Joined: 2017/03/01 20:56:02

Re: USB wifi network activation

Post by lancs » 2017/09/30 08:24:02

Hiya,
I had the same issues on arch linux.

my solution:
wpa_supplicant -B -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf

lancs

Post Reply