当前位置:网站首页>树莓派开机发送热点进行远程登录
树莓派开机发送热点进行远程登录
2022-06-25 22:08:00 【smileapples】
树莓派开机发送热点:
创建WiFi热点使用的GitHub上一个开源项目:
https://github.com/oblique/create_ap
将代码clone到本地,安装
sudo git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install
安装依赖的库
sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
此时你可以创建热点,通过以下命令:
sudo create_ap wlan0 热点名 密码
设置开机启动
sudo vi /etc/rc.local
将以下命令添加至rc.local
sudo create_ap wlan0 热点名 密码
或者通过系统服务开启:
# 启动一个服务:
systemctl start create_ap.service
# 在开机时启用一个服务:
systemctl enable create_ap.service
# 关闭一个服务:
systemctl stop create_ap.service
# 在开机时禁用一个服务:
systemctl disable create_ap.service
# 查看服务是否开机启动:
systemctl is-enabled create_ap.service
边栏推荐
猜你喜欢

18亿像素火星全景超高清NASA放出,非常震撼

1.8 billion pixel Mars panorama Ultra HD released by NASA, very shocking

C# IO Stream 流(一)基础概念_基本定义

流数据

C# IO Stream 流(二)扩展类_封装器

STL教程5-STL基本概念及String和vector使用

QT Chinese and English use different fonts respectively

解析产品开发失败的5个根本原因

Binary, hexadecimal, big end and small end

Architecture part -- the use of UMI framework and DVA
随机推荐
Run the dronekit flight control application on Shumei faction under px4-jmavsim software simulation environment
关于Swoole协程容器
STL教程5-STL基本概念及String和vector使用
Today's 61 Fu
Classic image segmentation network: UNET supports libtorch deployment reasoning [with code]
Megacli常用命令整理
Format the number. If the number is not enough, fill in 0, for example, 1:0001,25:0025
28 rounds of interviews with 10 companies in two and a half years (including byte, pinduoduo, meituan, Didi...)
谈一谈生产环境中swoole协程创建数量控制机制
C. Yet Another Card Deck-Educational Codeforces Round 107 (Rated for Div. 2)
Reprint: detailed explanation of qtablewidget (style, right-click menu, header collapse, multiple selection, etc.)
PHP interprocess pass file descriptor
格式化编号,不够位数的补0,例如1:0001,25:0025
达梦数据库修改字段信息采坑记
excel如何实现中文单词自动翻译成英文?这个公式教你了
Hbuilderx uses the gaude map to obtain the current location
一文讲透研发效能!您关心的问题都在
C2. k-LCM (hard version)-Codeforces Round #708 (Div. 2)
InputStream流已经关闭了,但是依旧无法delete文件或者文件夹,提示被JVM占用等
213.打家劫舍 II