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

0
.gitignore vendored Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
csdn_markdown.md Normal file → Executable file
View File

0
esp/build_code_with_micropython.md Normal file → Executable file
View File

0
esp/emqtt.md Normal file → Executable file
View File

0
esp/http Normal file → Executable file
View File

0
gfw/shadowsockes.md Normal file → Executable file
View File

0
git/change_repo.md Normal file → Executable file
View File

0
git/gitlab_nginx.md Normal file → Executable file
View File

0
git/install_git.md Normal file → Executable file
View File

0
git/install_gitlab.md Normal file → Executable file
View File

0
git/ssh_key.md Normal file → Executable file
View File

0
go/安装go1.4.md Normal file → Executable file
View File

0
light.md Normal file → Executable file
View File

0
markdown/add image.md Normal file → Executable file
View File

0
markdown/csdn_markdown.md Normal file → Executable file
View File

0
mongodb/auth.md Normal file → Executable file
View File

0
mongodb/use.md Normal file → Executable file
View File

0
ngrok/ngrok.md Normal file → Executable file
View File

0
nodejs/install.md Normal file → Executable file
View File

0
python/ReformFileName.py Normal file → Executable file
View File

0
python/command Normal file → Executable file
View File

0
python/pyqt.md Normal file → Executable file
View File

0
python/uncompyle2.md Normal file → Executable file
View File

2
python/virtualenv.md Normal file → Executable file
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

0
rabbitmq/install.md Normal file → Executable file
View File

0
raspberry/main.md Normal file → Executable file
View File

29
raspberry/router.md Normal file → Executable file
View File

@ -50,4 +50,31 @@ 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"'

0
raspberry/sound.md Normal file → Executable file
View File

0
raspberry/wifi.md Normal file → Executable file
View File

0
redis/配置.md Normal file → Executable file
View File

0
static/img/iptables_examples_network_topology.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

0
static/img/iptables_frame.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

0
static/img/ssh_key.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

0
static/img/test.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
ubuntu/aria2.md Normal file → Executable file
View File

0
ubuntu/install_nginx.md Normal file → Executable file
View File

0
ubuntu/iptables.md Normal file → Executable file
View File

0
ubuntu/iptables设置端口转发.md Normal file → Executable file
View File

0
ubuntu/minicom.md Normal file → Executable file
View File

0
ubuntu/nmap.md Normal file → Executable file
View File

0
ubuntu/scp.md Normal file → Executable file
View File

0
ubuntu/screen.md Normal file → Executable file
View File

0
ubuntu/ubuntu_install_pyqt4.md Normal file → Executable file
View File

0
ubuntu/uget.md Normal file → Executable file
View File

0
ubuntu/update-alternatives.md Normal file → Executable file
View File

0
ubuntu/网络相关命令.md Normal file → Executable file
View File

0
vue/start_project.md Normal file → Executable file
View File