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 13:51] – [User] 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. 
  
 +===== User and groups =====
  
-===== User =====+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 should come with most of these groupsbut may need `gpio`?+Set up a root user that can be logged in tostarting with ''sudo su'' then ''passwd''.
  
-  sudo adduser slack +===== Static IP ===== 
-   + 
-  for g in sudo adm gpio pi dialout cdrom audio video plugdev games users input netdev lpadmin i2c spi; do +''Pi-hole'' arranges/messes with this, so if you're installing that maybe set the IP address that way. 
-    sudo adduser slack $g + 
-  done+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 26: Line 38:
 [Starting from the "full" desktop install but pitched at headless] [Starting from the "full" desktop install but pitched at headless]
  
-  apt-get install screen zsh+  apt install screen zsh
      
   gem install pry awesome_print   gem install pry awesome_print
Line 32: 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 44: 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. 
  
-To set the hostname, use ''hostnamectl set-hostname walter'', and then fix up ''/etc/hosts''. 
pi/bullseye.1674481904.txt.gz · Last modified: 2023/01/23 13:51 by slack