I tried everything I could find on the web. I want to make (only) a WiFi hotspot, without internet connection from ethernet.
I tried this:
hostapd.conf
Code: Select all
interface=wlan0
driver=nl80211
ctrl_interface=/var/run/hostapd
crtl_interface_group=0
ssid=RPi2
hw_mode=g
channel=8
wpa=2
wpa_psk=928519398acf811e96f5dcac68a11d6aa876140599be3dd49612e760a2aaac0e
wpa_passphrase=rpi2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
beacon_int=100
auth_algs=3
wmm_enabled=1
Code: Select all
DAEMON_CONF="/etc/hostapd/hostapd.conf"
Code: Select all
iface wlan0 inet static
address 192.168.43.1
netmassk 255.255.255.0
#allow-hotplug wlan0
#wpa_supplicant [...]
WiFi: TL-WN722N
Pi: 2
And btw. adding it to autostart via command line didn't work. Basically the question is "how ?".