0

I am not interested in sharing internet connection, I just want to make an AP that multiple devices can connect to and communicate with each other.

I have a USB wifi adapter. How can I configure it to act as an AP.

No need for internet connection just a LAN.

PersianGulf
  • 10,728
  • 8
  • 51
  • 78
  • Possible duplicate of [How to connect to wifi from command line?](https://unix.stackexchange.com/questions/283722/how-to-connect-to-wifi-from-command-line) – PersianGulf Oct 12 '19 at 12:08

1 Answers1

0

You can use create_ap.

AP without Internet sharing:

create_ap -n wlan0 MyAccessPoint MyPassPhrase

Installation:

You should install the dependencies :

bash (to run this script)
util-linux (for getopt)
procps or procps-ng
hostapd
iproute2
iw
iwconfig (you only need this if 'iw' can not recognize your adapter)
haveged (optional)
dnsmasq
iptables

Then:

git clone https://github.com/oblique/create_ap
cd create_ap
make install

create_ap is packaged for gentoo and archlinux.

GAD3R
  • 63,407
  • 31
  • 131
  • 192