树莓派热点

安装 hostapd 和 dnsmasq

sudo apt-get update
sudo apt-get install hostapd dnsmasq

修改 vim /etc/hostapd/hostapd.conf

interface=wlan1
ssid=Serverpi_Mai
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa_passphrase=T0d@yfine

开启wlan1

sudo ifconfig wlan1 up

修改 vim /etc/dnsmasq.conf

interface=wlan1
dhcp-range=192.168.10.50,192.168.10.150,255.255.255.0,24h
dhcp-host=66:77:88:99:aa:bb,192.168.10.3
it/server/hotpod.txt · 最后更改: 2024-03-12 18:54 由 goldentianya
回到顶部
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0