Ubuntu Access Point
From wikidb
Unorganized Notes
Attempt to set Hood up as an access point without disrupting its wire less. They appear to be mutually exclusive. I'll continue to use an HW access point instead.
hostapd
iw list sudo apt-get install hostapd sudo emacs /etc/default/hostapd &
create the following new file
sudo emacs /etc/hostapd/hostapd.conf&
https://www.aelius.com/njh/subnet_sheet.html
sudo emacs interfaces&
cat interfaces.accesspoint # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp wpa-ssid ROSWorkshop wpa-psk eagle705nest
cont hostapd
http://askubuntu.com/questions/180733/how-to-setup-an-access-point-mode-wi-fi-hotspot
AP is in the supported list
iw list ... Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * P2P-client * P2P-GO * Unknown mode (10) cd /etc/hostapd sudo cp hostapd.conf hostapd.conf.org
The follow edit did a bad number of the network couldn't access external sites
gksudo emacs hostapd.conf & interface=wlan0 driver=nl80211 ssid=test hw_mode=g channel=1 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=3 wpa_passphrase=1234567890 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP
see /etc/hostapd/hostapd.conf
cat hostapd.conf auth_algs=1 beacon_int=50 channel=3 country_code=US disassoc_low_ack=1 driver=nl80211 hw_mode=g ht_capab=[HT40+][HT40-][SHORT-GI-40][RX-STBC1] ieee80211d=1 ieee80211n=1 interface=wlan1 require_ht=0 rsn_pairwise=CCMP ssid=hugger wmm_enabled=1 wpa=2 wpa_key_mgmt=WPA-PSK wpa_passphrase=****
sudo service hostapd start [sudo] password for eepp: * Starting advanced IEEE 802.11 management hostapd [fail]
Backed out of changes
ap-hotspot
http://askubuntu.com/questions/180733/how-to-setup-an-access-point-mode-wi-fi-hotspot see third answer with a score of 31
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspot sudo ap-hotspot configure Detecting configuration... Detected wlan0 as the network interface connected to the Internet. Press ENTER if this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.): Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the desired interface (e.g.- wlan1): Enter the desired Access Point name or press ENTER to use the default one (myhotspot): hoodhotspot Enter the desired WPA Passphrase below or press ENTER to use the default one (qwerty0987):
sudo ap-hotspot start Please disconnect WiFi before proceeding