I know there are lots of questions on this type but I cannot find the answer anywhere. On Windows I can use cmd
to create a virtual AP and share connection from a local network. However, It seems not to work the same way on Ubuntu (I'm pretty new on Ubuntu, honestly).
I had follow on these two topic :
How do I create a WiFi hotspot sharing wireless internet connection (single adapter)?
and
https://seravo.fi/2014/create-wireless-access-point-hostapd
Although I've tried these many times and ask question several times but the problem seems to be unsolvable.
I would be very appreciated if anybody can help me to create a hotspot step by step. To make sure that my chipset was supported, here's my adapter information:
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
* P2P-client
* P2P-GO
Please help, thanks in advance!
sudo iw dev wlan0 interface add wlan1 type ap
and then you should be able to continue as if you add two interfaces.wlan1
butrename4
. Then I delete it and try the command again, this time a new interface was not created and it give me an error:You need to run a management daemon, e.g. hostapd,
. Afterthat, I cannot create an AP type interface again although I give it an other nameudev*rules
sticking around. Feel free to comment on the bug, maybe someone can help you.