User Tools

Site Tools


general:raspberry_pi

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
general:raspberry_pi [2022/05/09 14:59] sunkangeneral:raspberry_pi [2025/10/12 14:09] (current) sunkan
Line 17: Line 17:
 <code> <code>
 echo 'raspberry' | openssl passwd -6 -stdin echo 'raspberry' | openssl passwd -6 -stdin
 +</code>
 +
 +===== Enable WiFi using NetworkManager =====
 +Create file /etc/NetworkManager/system-connections/<ssid_name>.nmconnection
 +<code>
 +[connection]
 +id=<ssid>
 +uuid=<uuid>
 +type=wifi
 +interface-name=wlan0
 +timestamp=1697375379
 +
 +[wifi]
 +mode=infrastructure
 +ssid=<ssid>
 +
 +[wifi-security]
 +auth-alg=open
 +key-mgmt=wpa-psk
 +psk=<PSK in plaintext>
 +
 +[ipv4]
 +method=auto
 +
 +[ipv6]
 +addr-gen-mode=default
 +method=auto
 +
 +[proxy]
 +</code>
 +
 +Set correct permissions
 +<code>
 +chmod 600 /etc/NetworkManager/system-connections/<ssid_name>.nmconnection
 +</code>
 +
 +Remove NetworkManager.state file as that by default disables WiFi
 +<code>
 +rm /var/lib/NetworkManager/NetworkManager.state
 </code> </code>
  
general/raspberry_pi.txt · Last modified: 2025/10/12 14:09 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki