Setting up WIFI dongle

I thought I’d share some experience.
WIFI setup does not seem easy via WEB UI, well not even functional, well this was my expierience just recently.

I added a USB WIFI dongle to my system:
Bus 001 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

Maybe not the best, but I have an internal network and to get external connectivity I need to bridge via my desktop. So, I bought this cheap USB WIFI adapter.

After much searching and mucking around.
To get it to work I had to do the following (maybe I didn’t need some of this, but this was the process that worked.);

yum install wireless-tools
yum install NetworkManager-wifi

wpa_passphrase SSID PASSWORD

systemctl start wpa_supplicant.service

nmcli dev wifi connect SSID password PASSWORD

###TESTING###
wpa_supplicant -Dwext -iwlp0s20f0u12 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhclient wlp0s20f0u12

1 Like

Thanks! helped me to get wireless up.
My problem is that i can’t really get a network cable to a smaller box i have for lab so i tried powerline adapter but it will not work good for me so wanted to try wireless as it’s not that far away.

One thing i find that was missing in your guide is that after installation of NetworkManager-wifi i had to reload/restart network manager for it to work with wifi adapters. Can be done with these lines:

systemctl reload NetworkManager.service
systemctl restart NetworkManager.service

After that i did the following:

nmcli device status
The wifi changed from the previous state of “unmanaged”

Scan the device:

nmcli device wifi rescan ifname wlp2s0

List available networks:

nmcli dev wifi list

Connect to the network:

nmcli --ask connection up [SSID]

After that it will setup the wireless config to connect and get IP from DHCP.

1 Like