inital dump
This commit is contained in:
Binary file not shown.
76
Software/Wireless Access Point/install.txt
Normal file
76
Software/Wireless Access Point/install.txt
Normal file
@ -0,0 +1,76 @@
|
||||
|
||||
SSID: CopterSicht
|
||||
|
||||
PW: Mathe102
|
||||
|
||||
|
||||
|
||||
apt-get update
|
||||
|
||||
apt-get upgrade
|
||||
|
||||
apt-get install dnsmasq hostapd
|
||||
|
||||
systemctl stop dnsmasq
|
||||
|
||||
systemctl stop hostapd
|
||||
|
||||
nano /etc/dhcpcd.conf
|
||||
------------------------------------------
|
||||
interface wlan0
|
||||
static ip_address=192.168.1.1
|
||||
static routers=192.168.1.1
|
||||
static domain_name_servers=8.8.8.8
|
||||
------------------------------------------
|
||||
|
||||
mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
|
||||
|
||||
nano /etc/dnsmasq.conf
|
||||
------------------------------------------
|
||||
interface=wlan0
|
||||
domain-needed
|
||||
bogus-priv
|
||||
dhcp-range=192.168.1.8,192.168.1.250,12h
|
||||
------------------------------------------
|
||||
|
||||
nano /etc/hostapd/hostapd.conf
|
||||
------------------------------------------
|
||||
interface=wlan0
|
||||
driver=nl80211
|
||||
ssid=NameOfNetwork
|
||||
hw_mode=g
|
||||
channel=7
|
||||
wmm_enabled=0
|
||||
macaddr_acl=0
|
||||
auth_algs=1
|
||||
ignore_broadcast_ssid=0
|
||||
wpa=2
|
||||
wpa_passphrase=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=TKIP
|
||||
rsn_pairwise=CCMP
|
||||
------------------------------------------
|
||||
|
||||
nano /etc/default/hostapd
|
||||
------------------------------------------
|
||||
DAEMON_CONF="/etc/hostapd/hostapd.conf"
|
||||
------------------------------------------
|
||||
|
||||
nano /etc/sysctl.conf
|
||||
------------------------------------------
|
||||
net.ipv4.ip_forward=1
|
||||
------------------------------------------
|
||||
|
||||
killall wpa_supplicant
|
||||
|
||||
hostapd -d /etc/hostapd/hostapd.conf
|
||||
|
||||
|
||||
|
||||
@reboot /bin/sleep 20 ; /usr/bin/killall wpa_supplicant & >> /home/pi/wifi_boot.log 2>&1
|
||||
|
||||
@reboot /bin/sleep 50 ; /usr/sbin/hostapd /etc/hostapd/hostapd.conf > /home/pi/wifi_boot.log &
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user