当前位置:网站首页>Configure raspberry pie access network

Configure raspberry pie access network

2022-07-06 07:01:00 LJX

One . Raspberry pie access network

1. Enter the command :sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

   (nano It's a document editor , Enter to write )

2. Press enter and enter the following code ( Be careful : Only need to modify " " The content of , The rest is the same )

network={
        ssid="Your WIFI name"     //wifi name 
        psk="Your WIFI password"  //wifi password 
        key_mgmt=WPA-PSK          // encryption , You don't have to write 
}

Enter as follows : 

ctrl+o: preservation , You will be prompted whether to write . Press enter .    ctrl+x sign out

3. Input sudo reboot, Restart raspberry pie . Enter ifconfig You can check whether there is IP Address , from IP The address indicates that it is connected .


Two . Fix IP Address

If we omit steps for the next connection, we can fix IP Address .

1. Enter the command :sudo nano /etc/rc.local

2. stay exit 0 Front input ifconfig wlan0 ( Yours IP Address )

3. Save and exit .

原网站

版权声明
本文为[LJX]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060657490472.html