User Tools

Site Tools


raspi:config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
raspi:config [2021/01/26 19:42] – created msraspi:config [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Raspberry Pi Zero W ====== ====== Raspberry Pi Zero W ======
 +=== Raspbian GNU/Linux 10 (buster) ===
 ===== Network ===== ===== Network =====
 ==== Set Static IP ==== ==== Set Static IP ====
-=== Raspbian GNU/Linux 10 (buster) === 
 <code> <code>
 vi /etc/dhcpcd.conf vi /etc/dhcpcd.conf
Line 15: Line 15:
 ... ...
 </code> </code>
 +
 +==== Set WLAN Config ====
 +<code>
 +vi /etc/wpa_supplicant/wpa_supplicant.conf
 +...
 +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 +update_config=1
 +country=DE
 +
 +network={
 +        ssid="SSID-Name_1"
 +        psk="Password_for_SSID-Name_1"
 +        id_str="id_string_for_SSID-Name_1"
 +}
 +
 +network={
 +        ssid="SSID-Name_2"
 +        psk="Password_for_SSID-Name_2"
 +        id_str="id_string_for_SSID-Name_2"
 +}
 +...
 +</code>
 +
 +==== Set Hostname ====
 +<code>
 +vi /etc/hostname
 +vi /etc/hosts
 +</code>
 +
 +===== Change pi-User =====
 +<code>
 +vi /etc/passwd
 +vi /etc/group
 +vi  /etc/shadow
 +# exchange pi -> new-user
 +
 +cd /home
 +mv pi new-user
 +
 +vi /etc/sudoers.d/010_pi-nopasswd
 +# exchange pi -> new-user
 +</code>
 +
raspi/config.1611686578.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki