Can not obtain IP address #2
davidchan1080p
started this conversation in
General
Replies: 1 comment
|
Can you please share the log while you are trying to run the tool from the beginning to end or the log files(specifically dnsmasq.log) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions