User Tools

Site Tools


buster:basics

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
buster:basics [2019/11/07 13:28] – [Headless] slackbuster:basics [2022/01/14 16:26] (current) – [Keymap] slack
Line 44: Line 44:
   ufw enable   ufw enable
   ufw status   ufw status
 +
 +And to add Apache access (80 + 443):
 +
 +  ufw allow WWW Full
 +
      
      
Line 64: Line 69:
 ===== Networking without X ===== ===== Networking without X =====
  
-''eth0'' just became something like ''enp2s0'' However, if you ask for a predictable network name in ''raspi-config'', you end up with something like ''enxb827ebb6be60''.+<del>''eth0'' just became something like ''enp2s0'' However, if you ask for a predictable network name in ''raspi-config'', you end up with something like ''enxb827ebb6be60''.</del>  Seems to have gone back to ''eth0''
 + 
 + 
 +''/etc/network/interfaces'' seems to be deprecated on Raspbian so that dhcpcd has overall control. 
 + 
 +Edic ''/etc/dhcpcd.conf'', which is well commented and self-explanatory (start by uncommenting ''interface eth0'').  Reboot to update dhcpcd.
  
-If you're configuring it manually then something like this in ''/etc/network/interfaces'' will set the default gateway (network, broadcast and gateway are optional):+<del>If you're configuring it manually then something like this in ''/etc/network/interfaces'' will set the default gateway (network, broadcast and gateway are optional):</del>
  
 <code> <code>
Line 89: Line 99:
 Clone ''bin'' and ''config''. Clone ''bin'' and ''config''.
  
-  for w in .bashrc .profile; do+  for w in .bashrc .profile .bash_profile .zshrc; do
     mv "$w" "$w".default     mv "$w" "$w".default
   done   done
Line 95: Line 105:
   # .promptrc no longer shell-independent   # .promptrc no longer shell-independent
  
-  for x in .aliases .bash_profile .bashrc .cheat .dircolors .get_iplayer .gitconfig .gitignore .ispell_british .lftprc .profile .rspec .rtorrent .rtorrent.rc   .screenrc .shellrc .zshrc; do+  for x in .aliases .bash_profile .bashrc .cheat .dircolors .get_iplayer .gitconfig .gitignore .hints .ispell_british .lftprc .profile .rspec .rtorrent .rtorrent.rc   .screenrc .shellrc .zshrc .pry .pryrc; do
     ln -s config/"$x" "$x"     ln -s config/"$x" "$x"
   done   done
Line 114: Line 124:
      
   cd ../rules   cd ../rules
-  for f in evdev.lst evdev.xml base.lst base.xml+  for f in evdev.xml base.xml
   do   do
-    mv "$f" "$f.defualt"+    mv "$f" "$f.default"
     ln -s "$CONFIG/$f" .     ln -s "$CONFIG/$f" .
   done   done
buster/basics.1573133301.txt.gz · Last modified: 2019/11/07 17:58 (external edit)