• 树莓派3用create_ap变身无线AP


    1.git clone https://github.com/oblique/create_ap.git
    2.cd create_ap
    3.sudo make install就这样安装好了
    4.接下来安装依赖库sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
    5.就这么简单几个命令就能安装好全部环境
    6.接下来保证你的网线插在pi3上并且能上网就行了。输入下面的命令启动无线AP:
    sudo create_ap wlan0 eth0 热点名 密码
    接下来就去打开手机wifi看看有没有上面命令中设置的热点名吧,有的话输入密码即可连接上,enjoy your PI3 wireless AP!
    可以把上述的启动命令添加到/etc/rc.local就可以开机自启动了。
    是不是很简单,这个AP的局域网无线传输速度居然比我原来那个老AP还快一倍,也算是惊喜了,从此我的树莓派3又增加了一个功能。

     文件下载:

     http://files.cnblogs.com/files/wangbin/create_ap-master.zip

    Installation

    Generic

    git clone https://github.com/oblique/create_ap
    cd create_ap
    make install
    

    ArchLinux (AUR)

    yaourt -S create_ap
    

    Gentoo

    emerge layman
    layman -f -a jorgicio
    emerge net-wireless/create_ap
    

    Examples

    No passphrase (open network):

    create_ap wlan0 eth0 MyAccessPoint
    

    WPA + WPA2 passphrase:

    create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
    

    AP without Internet sharing:

    create_ap -n wlan0 MyAccessPoint MyPassPhrase
    

    Bridged Internet sharing:

    create_ap -m bridge wlan0 eth0 MyAccessPoint MyPassPhrase
    

    Bridged Internet sharing (pre-configured bridge interface):

    create_ap -m bridge wlan0 br0 MyAccessPoint MyPassPhrase
    

    Internet sharing from the same WiFi interface:

    create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase
    

    Choose a different WiFi adapter driver

    create_ap --driver rtl871xdrv wlan0 eth0 MyAccessPoint MyPassPhrase
    

    No passphrase (open network) using pipe:

    echo -e "MyAccessPoint" | create_ap wlan0 eth0
    

    WPA + WPA2 passphrase using pipe:

    echo -e "MyAccessPoint
    MyPassPhrase" | create_ap wlan0 eth0
    

    Enable IEEE 802.11n

    create_ap --ieee80211n --ht_capab '[HT40+]' wlan0 eth0 MyAccessPoint MyPassPhrase
    

    Client Isolation:

    create_ap --isolate-clients wlan0 eth0 MyAccessPoint MyPassPhrase
    

    Systemd service

    Using the persistent systemd service

    Start service immediately:

    systemctl start create_ap
    

    Start on boot:

    systemctl enable create_ap
  • 相关阅读:
    CSP-S2020总结
    题解-P6687 论如何玩转 Excel 表格
    题解-UVA12995 【Farey Sequence】
    题解-P4159 [SCOI2009] 【迷路】
    题解-SP2916【GSS5
    102. 二叉树的层序遍历
    力扣 160 相交链表 快慢指针 双指针
    3. 无重复字符的最长子串 滑动窗口
    最大连续1的个数 III
    B树和B+树
  • 原文地址:https://www.cnblogs.com/wangbin/p/5590840.html
Copyright © 2020-2023  润新知