Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to set up raspberry pie raspbian jessie IP

Shulou Source: shulou.com Published: 2022-06-01 22:57:08 10月01日 Update

This article mainly shows you "how to set up raspberry pie raspbian jessie IP". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to set up raspberry pie raspbian jessie IP".

When raspbian was recently installed, it was found that the static ip setting could not be achieved by setting / etc/network/interfaces directly. After looking at the interfaces file, we can see that the place where the static ip was set has changed to / etc/dhcpcd.conf. So add the last two lines to the last part of the file:

Interface eth0static ip_address=192.168.0.100

Static ip takes effect after restart.

In addition, to connect to wifi under the character interface, you need to modify / etc/wpa_supplicant/wpa_supplicant.conf

Network= {ssid= "xxx" scan_ssid=1 # routers that hide ssid need to set this parameter proto=WPA2 key_mgmt=WPA-PSK psk= "password" priority=1}

Add the following to interface

Auto wlan0allow-hotplug wlan0iface wlan0 inet dhcpwpa_conf / etc/wpa_supplicant/wpa_supplicant.conf

In addition, you can put the wpa_supplicant.conf in the boot partition, so that you can directly modify the ssid with the card reader. It seems that when the system starts, it will directly move the wpa_supplicant.conf in the boot to the etc. My current approach is to change its name to wpa.conf,interface and configure it as wpa_conf / boot/wpa.conf.

Restart will take effect.

These are all the contents of the article "how to set up raspberry pie raspbian jessie IP". 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!

Tags: Content raspberries articles static files learning help such words practices parameters names places characters time easy to understand is in more organization interface knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Huawei macOS NVidia vpn