update
0
.gitignore
vendored
Normal file → Executable file
0
csdn_markdown.md
Normal file → Executable file
0
esp/build_code_with_micropython.md
Normal file → Executable file
0
esp/emqtt.md
Normal file → Executable file
0
gfw/shadowsockes.md
Normal file → Executable file
0
git/change_repo.md
Normal file → Executable file
0
git/gitlab_nginx.md
Normal file → Executable file
0
git/install_git.md
Normal file → Executable file
0
git/install_gitlab.md
Normal file → Executable file
0
git/ssh_key.md
Normal file → Executable file
0
go/安装go1.4.md
Normal file → Executable file
0
markdown/add image.md
Normal file → Executable file
0
markdown/csdn_markdown.md
Normal file → Executable file
0
mongodb/auth.md
Normal file → Executable file
0
mongodb/use.md
Normal file → Executable file
0
ngrok/ngrok.md
Normal file → Executable file
0
nodejs/install.md
Normal file → Executable file
0
python/ReformFileName.py
Normal file → Executable file
0
python/command
Normal file → Executable file
0
python/pyqt.md
Normal file → Executable file
0
python/uncompyle2.md
Normal file → Executable file
2
python/virtualenv.md
Normal file → Executable file
@ -3,4 +3,4 @@
|
||||
|
||||
> 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
|
||||
|
||||
0
rabbitmq/install.md
Normal file → Executable file
0
raspberry/main.md
Normal file → Executable file
27
raspberry/router.md
Normal file → Executable file
@ -51,3 +51,30 @@ sudo nano /etc/sysctl.conf
|
||||
``` bash
|
||||
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"'
|
||||
0
raspberry/sound.md
Normal file → Executable file
0
raspberry/wifi.md
Normal file → Executable file
0
redis/配置.md
Normal file → Executable file
0
static/img/iptables_examples_network_topology.png
Normal file → Executable file
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
0
static/img/iptables_frame.png
Normal file → Executable file
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
0
static/img/ssh_key.png
Normal file → Executable file
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
0
static/img/test.jpg
Normal file → Executable file
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |