✍️
HOME
  • Introduction
  • Android
    • 基础
      • 文件读写
      • View
      • ViewGroup
      • Drawable
        • Shape
        • Selector
      • RecycleView
      • Databinding
    • Android Studio Git使用教程
    • Android Studio 版本更新历史
    • Maven 依赖管理
  • Linux
    • Linux系统安装
    • Linux 基础知识
    • Linux 服务器维护
    • 树莓派
    • Ubuntu
    • CDLinux
    • Shell Auto
    • 酸酸乳好喝
    • 后台运行
    • FRP
    • V +
  • Mac
    • Mac 版迅雷去广告
    • Homebrew 管理应用
    • 装机必备
  • Web
    • 前端环境搭建
    • 特殊需求
    • Python
  • Dev
    • Git 常用命令
    • Git submodule 和 subtree
    • GitBook
    • 软件问题处理
Powered by GitBook
On this page
  • 多个WiFi配置
  • 创建热点

Was this helpful?

  1. Linux

树莓派

多个WiFi配置

修改配置 vim /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CN

network={
    ssid="wifi1"
    key_mgmt=WPA-PSK
    psk="password1"
    priority=1
}

network={
    ssid="wifi2"
    key_mgmt=WPA-PSK
    psk="password2"
    priority=2
}

network={
    ssid="wifi3"
    key_mgmt=NONE
    wep_key0="passowrd3"
    priority=3
}

network={
    ssid="wifi4"
    key_mgmt=NONE
    priority=4
}

创建热点

# 安装依赖
apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
git clone https://github.com/oblique/create_ap.git
cd create_ap
make install

修改配置 vim /etc/create_ap.conf

SSID=wifi名称
PASSPHRASE=密码

重启服务 service create_ap restart

PreviousLinux 服务器维护NextUbuntu

Last updated 4 years ago

Was this helpful?

安装

create_ap