I am trying to create Wifi hotspot of TP link archer T2U plus physically connected with RPI5.
RPI 5 properties
Debian GNU/Linux 12(bookworm)
Name=Debian GNU/Linux
Version_ID="12"
Version_codename=Bookworm
ID=Debian
I have already configure TP link Archer T2U Plus (RTL8821AU) as wlan1 but it is not visible to other devices. It only shows in RPI desktop .
I have used following firmware to configure TP Link as wifi
git clone https://github.com/aircrack-ng/rtl8812au.git
but the objective was to create a hotspot i tried the following command
sudo nmcli connection add type wifi ifname wlan1 con-name <connection-name> autoconnect no ssid<hotspot-name>
sudo nmcli connection modify <connection-name> 802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk <password>
and added in /etc/rc.local
Above command create the wifi hotspot but still its not visible to the other device .Therefore , I tried other method mentioned below
sudo nano /etc/dhcpcd.conf
#add the following at the end of the line
interface wlan1
static ip_address = ""
nohook wpa_supplicant
#creating new dnsmasq configuration file
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
sudo nano /etc/dnsmasq.conf
#add the following
interface=wlan1
dhcp-range = "*****"
#configure hostadp
sudo nano /etc/hostapd/hostapd.conf
#add all the wlan1 info like interface,driver,ssid ,password,etc
sudo nano /etc/default/hostapd
#uncomment DAEMON_CONF = "hostapd.conf location"
sudo systemctl restart dhcpcd
sudo systemctl start dnsmasq
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd
**Error**
dhcpcd.service failed
dnsmasq.service failed
hostapd.service failed
RPI 5 properties
Debian GNU/Linux 12(bookworm)
Name=Debian GNU/Linux
Version_ID="12"
Version_codename=Bookworm
ID=Debian
I have already configure TP link Archer T2U Plus (RTL8821AU) as wlan1 but it is not visible to other devices. It only shows in RPI desktop .
I have used following firmware to configure TP Link as wifi
git clone https://github.com/aircrack-ng/rtl8812au.git
but the objective was to create a hotspot i tried the following command
sudo nmcli connection add type wifi ifname wlan1 con-name <connection-name> autoconnect no ssid<hotspot-name>
sudo nmcli connection modify <connection-name> 802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk <password>
and added in /etc/rc.local
Above command create the wifi hotspot but still its not visible to the other device .Therefore , I tried other method mentioned below
sudo nano /etc/dhcpcd.conf
#add the following at the end of the line
interface wlan1
static ip_address = ""
nohook wpa_supplicant
#creating new dnsmasq configuration file
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
sudo nano /etc/dnsmasq.conf
#add the following
interface=wlan1
dhcp-range = "*****"
#configure hostadp
sudo nano /etc/hostapd/hostapd.conf
#add all the wlan1 info like interface,driver,ssid ,password,etc
sudo nano /etc/default/hostapd
#uncomment DAEMON_CONF = "hostapd.conf location"
sudo systemctl restart dhcpcd
sudo systemctl start dnsmasq
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd
**Error**
dhcpcd.service failed
dnsmasq.service failed
hostapd.service failed
Statistics: Posted by hbadshahph — Thu Jun 27, 2024 11:35 am