User Tools

Site Tools


linux:network:access_point_-_hostapd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
linux:network:access_point_-_hostapd [2013/07/09 16:22]
tkilla created
linux:network:access_point_-_hostapd [2013/07/09 16:37]
tkilla
Line 75: Line 75:
  
 ===== Init script to start hostapd ===== ===== Init script to start hostapd =====
 +
 +Save this script to /root/bin/hostapdinit
  
   #!/bin/bash   #!/bin/bash
Line 105: Line 107:
   hostapd /etc/hostapd/hostapd.conf 1> /dev/null   hostapd /etc/hostapd/hostapd.conf 1> /dev/null
   #killall dnsmasq   #killall dnsmasq
 +
 +
 +===== Run the script =====
 +
 +  reboot
 +
 +Make the script executable:
 +
 +  chmod a+x /root/bin/hostapdinit
 +
 +run the script with the correct devices:
 +
 +  /root/bin/hostapdinit wlan0 eth0
  
  
linux/network/access_point_-_hostapd.txt ยท Last modified: 2013/09/11 23:56 by tkilla