I have been trying to GhostAP with 2 different android phones, they are not able to connect to AP.
I am running GhostAP with ubuntu 24.04 in the my laptop with a built-in and a USB wireless interfaces (wlp3s0 and wlx74da38561926 respectively). wlp3s0 is connected to Internet, and wlx74da38561926 is used as AP by GhostAP. I am sure that both wireless interfaces are working fine.
sudo iw list | grep -A 10 "Supported interface modes"
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x186e
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x116e
They are also working fine with other wifi hotspot app (wihotspot-gui).
The problem I have observed, with tcpdump command "sudo tcpdump -i wlx74da38561926 port 67 or port 68 -n -e", that wlx74da38561926 is not replying BOOTP/DHCP request from phones. That is why the phones cannot obtain the IP.
The have tried GhostAP source from both ghostap_1.0.2-1_all.deb and "git clone https://github.com/DilshanHarshajith/GhostAP.git"
The commands I have used for GhostAP:
-
sudo ./GhostAP.sh -i wlx74da38561926 -s "FreeWifi" --security open --captive --internet -si wlp3s0
-
sudo ./GhostAP.sh -i wlx74da38561926 -s ""FreeWifi -c 6 --security open
GhostAP looks to be a very powerful app, and I hope this will be fixed soon. Thanks.
I have been trying to GhostAP with 2 different android phones, they are not able to connect to AP.
I am running GhostAP with ubuntu 24.04 in the my laptop with a built-in and a USB wireless interfaces (wlp3s0 and wlx74da38561926 respectively). wlp3s0 is connected to Internet, and wlx74da38561926 is used as AP by GhostAP. I am sure that both wireless interfaces are working fine.
sudo iw list | grep -A 10 "Supported interface modes"
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x186e
They are also working fine with other wifi hotspot app (wihotspot-gui).
The problem I have observed, with tcpdump command "sudo tcpdump -i wlx74da38561926 port 67 or port 68 -n -e", that wlx74da38561926 is not replying BOOTP/DHCP request from phones. That is why the phones cannot obtain the IP.
The have tried GhostAP source from both ghostap_1.0.2-1_all.deb and "git clone https://github.com/DilshanHarshajith/GhostAP.git"
The commands I have used for GhostAP:
sudo ./GhostAP.sh -i wlx74da38561926 -s "FreeWifi" --security open --captive --internet -si wlp3s0
sudo ./GhostAP.sh -i wlx74da38561926 -s ""FreeWifi -c 6 --security open
GhostAP looks to be a very powerful app, and I hope this will be fixed soon. Thanks.