This commit is contained in:
light
2018-01-24 01:10:43 +08:00
parent c76e301127
commit 6858440e48
49 changed files with 29 additions and 2 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+1 -1
View File
@@ -3,4 +3,4 @@
> virtualenv -p /usr/bin/python3 --system-site-packages venv > virtualenv -p /usr/bin/python3 --system-site-packages venv
> virtualenv -p /usr/bin/python2 --no-site-packages venv > virtualenv -p /usr/bin/python2 --no-site-packages env
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+27
View File
@@ -51,3 +51,30 @@ sudo nano /etc/sysctl.conf
``` bash ``` bash
net ipv4.ip_forward = 1 #去掉注释 net ipv4.ip_forward = 1 #去掉注释
``` ```
## create_ap
``` bash
git clone https://github.com/oblique/create_ap.git
cd create_ap
sudo make install
sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
sudo create_ap wlan0 eth0 热点名 密码
```
rc.local
``` bash
screen -dmS wlanpa create_ap wlanpa wlansrc hellolight 1234567890
wpa_cli -iwlansrc enable_network 0
```
## wpa_cli 设置
wpa_cli -iwlan0 set_network 0 ssid '"wlan"'
wpa_cli -iwlan0 set_network 0 key_mgmt WPA-EAP
wpa_cli -iwlan0 set_network 0 pairwise TKIP(CCMP)
wpa_cli -iwlan0 set_network 0 group TKIP(CCMP)
wpa_cli -iwlan0 set_network 0 eap PEAP
wpa_cli -iwlan0 set_network 0 identity '"username"'
wpa_cli -iwlan0 set_network 0 password '"password"'
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File