Wireless access point on ubuntu server install
Frst
sudo apt-get update
sudo apt-get install hostapd
01 Edit
sudo nano /etc/default/hostapd
add
DAEMON_CONF=”/etc/hostapd/hostapd.conf”
02 Create file
sudo mkdir /etc/hostapd
sudo nano /etc/hostapd/hostapd.conf
add
interface=wlp2s0
bridge=br0
driver=nl80211
ssid=Gonly
hw_mode=g
channel=1
ieee80211d=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=123password123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
03 Start
start
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
Permanent start
sudo update-rc.d hostapd enable
sudo service hostapd start
sudo service hostapd stop
sudo service hostapd restart
sudo service hostapd rtatus
Wireless on off
sudo ifconfig wlp2s0 up
sudo ifconfig wlp2s0 down