User Tools

Site Tools


pi:bullseye

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pi:bullseye [2023/01/23 15:46] slackpi:bullseye [2023/07/13 21:35] (current) – [Static IP] slack
Line 1: Line 1:
 ====== Raspbian Buster basics ====== ====== Raspbian Buster basics ======
  
-Flash using the Raspberry Pi Imager -- don't forget to click into the settings cog and adjust things like username/password, host IP etc, and turn on SSH+Flash using the Raspberry Pi Imager -- don't forget to click into the settings cog and adjust things like username/password, host IP etc, and turn on SSH (don't bother with writing a blank ssh file to the boot partition).
  
-<del>Add blank file ''ssh'' to the boot partition to enable ssh server on first boot.  (Will be removed on boot.)+===== Find the pi on the network =====
  
- +''nmap -sP 10.0.0.0/24'is fairly reliable.
-Permanently enable ssh with ''sudo raspi-config'' -> Interfacing Options -> SSH.</del> <- shouldn't be needed any more.+
  
  
Line 13: Line 12:
 The default user (which can now be named ''slack'' comes with: ''slack adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi'' So I don't think any groups need adding.  (See buster page if needed.) The default user (which can now be named ''slack'' comes with: ''slack adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi'' So I don't think any groups need adding.  (See buster page if needed.)
  
-Set up a root user that can be logged in to.+Set up a root user that can be logged in to, starting with ''sudo su'' then ''passwd''.
  
 +===== Static IP =====
 +
 +''Pi-hole'' arranges/messes with this, so if you're installing that maybe set the IP address that way.
 +
 +If not, then change ''/etc/dhcpcd.conf'':
 +
 +  # Example static IP configuration:
 +  interface eth0
 +  static ip_address=10.0.0.7/24
 +  #static ip6_address=fd51:42f8:caae:d92e::ff/64
 +  static routers=10.0.0.2
 +  static domain_name_servers=8.8.8.8 8.8.4.4
 +
 +[Shouldn't be necessary:] To set the hostname, use ''hostnamectl set-hostname walter'',
 +
 +Fix up ''/etc/hosts''.
 +
 +I guess, like, reboot to bring that up?
 ===== Apt ===== ===== Apt =====
  
Line 27: Line 44:
 ===== Config ===== ===== Config =====
  
-    ln -s /sys/bus/w1/devices /home/slack/w1+  ln -s /sys/bus/w1/devices /home/slack/w1
  
 As [[:buster:basics|buster]]. As [[:buster:basics|buster]].
Line 39: Line 56:
 Copy id_rsa.pub into any ''authosized_keys'' as needed. Copy id_rsa.pub into any ''authosized_keys'' as needed.
  
-===== Static IP ===== 
- 
-''Pi-hole'' arranges/messes with this, so if you're installing that maybe set the IP address that way. 
- 
-If not, then change ''/etc/dhcpcd.conf'': 
- 
-  # Example static IP configuration: 
-  interface eth0 
-  static ip_address=10.0.0.7/24 
-  #static ip6_address=fd51:42f8:caae:d92e::ff/64 
-  static routers=10.0.0.2 
-  static domain_name_servers=8.8.8.8 8.8.4.4 
  
-To set the hostname, use ''hostnamectl set-hostname walter'', and then fix up ''/etc/hosts''. 
pi/bullseye.1674488769.txt.gz · Last modified: 2023/01/23 15:46 by slack