[[+content_image]]
N
N
Nazariy Lugovoy2019-01-26 12:47:44
WiFi
Nazariy Lugovoy, 2019-01-26 12:47:44

How to install and configure WiFi hotspot using tl-wn722n USB adapter in CentOS 7?

Actually the task is to distribute the Internet from a linux machine to CentOS 7, USB adapter tl-wn722n V3. Access only via command line.
So far I have:

[[email protected] ~]# lsusb
Bus 001 Device 003: ID 2357:010c TP-Link TL-WN722N v2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

The adapter was determined immediately, RED HAT has support for this device, although it was defined as V2 and not V3, but I read on the Internet that they seem to be on the same chipset.
[[email protected] ~]# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.151  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::f7b7:98d2:36d:b360  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:cc:63:6d  txqueuelen 1000  (Ethernet)
        RX packets 16981  bytes 1913280 (1.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14943  bytes 26875901 (25.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6956  bytes 626197 (611.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6956  bytes 626197 (611.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[[email protected] ~]# iwconfig
eth0      no wireless extensions.
lo        no wireless extensions.

installed epel-release, wireless-tools, NetworkManager, hostapd.
I understand that wlan0 should appear, but there is still not enough knowledge how to achieve this.
Knowledge in linux and in particular CentOS is very small. Please tell me how to set up.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question