In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to start automatic connection to WiFi by raspberry pie". The content is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to start automatic connection to WiFi by raspberry pie".
Raspberry pie starts automatic connection to WiFi
1. / create a new wpa_supplicant.conf file under boot
$vim wpa_supplicant.conf
Country=CN ctrl\ _ interface=DIR=/var/run/wpa\ _ supplicant GROUP=netdev update_config=1 network= {ssid= "office" / / this is the name of your 1 wifi psk= "w1f1password" / / the password of the first wifi key_mgmt=WPA-PSK} network= {ssid= "Phone" / / this is the name of your 2 wifi psk= "9876543210" / / the password of the second wifi key_mgmt=WPA-PSK}
$cp / boot/wap_supplicant.conf / etc/wpa_supplicant/
$cd / boot
$touch ssh
Configure static ip
$cd etc/
$sudo vim dhcpcd.conf
# adjust IP address interface wlan0 static ip_address=192.168.1.10/100 static routers=192.168.1.1 static domain\ _ name\ _ servers=192.168.1.1 according to the actual situation
The laptop is also connected to the hotspot of your phone, check the ip of the laptop, and set the static ip of the raspberry pie to the same network segment as the laptop, so that you can ping and ssh.
Configure SSH
$sudo vim / etc/ssh/ssh_config
StrictHostKeyChecking no
Ssh Connect Raspberry pie asks if you trust the device the first time you connect, and yes is fine.
$ssh pi@192.168.1.10 raspberry pie default user name: pi, password: raspberry
The above is all the contents of the article "how to automatically connect to WiFi for raspberry pie". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.