rpi_common

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
rpi_common [2019/03/29 12:53] โ€“ Jรบne Parkrpi_common [2019/04/21 16:04] โ€“ [Configure wireless connection] Jรบne Park
Line 24: Line 24:
 ===== General Things on Raspbian =====  ===== General Things on Raspbian ===== 
  
-{{:playground:boo_the_bunny_30.png?nolink&250|}}+{{:playground:boo_the_bunny_13.png?nolink&250|}}
  
 ---- ----
Line 89: Line 89:
   * Change proper configuration with editing ''/etc/network/interfaces''    * Change proper configuration with editing ''/etc/network/interfaces'' 
  
-{{fa>warning?color=#000000}} Since ''Stretch'', ''/etc/network/interfaces'' is not useless unless stop ''dhcpcd'' service. Use ''/etc/dhcpcd.conf'' instead. +{{fa>warning?size=16&color=#b84592}} Since ''Stretch'', ''/etc/network/interfaces'' is not useless unless stop ''dhcpcd'' service. Use ''/etc/dhcpcd.conf'' instead. 
  
 <code ini> <code ini>
Line 271: Line 271:
  
 ---- ----
 +==== Customize login messages ==== 
  
 +edit or append ''/etc/update-motd.d/xx-command'', where xx is arbitrary number to set priorities. 
 +
 +For example touch ''/etc/update-motd.d/20-disk'' with the following, 
 +
 +<code bash> 
 +#!/bin/sh
 +printf "\n"
 +df -h /dev/sd* --out=target,fstype --output=size,used,avail,pcent --type=ext4
 +printf "\n"
 +</code> 
 +
 +shows size of disk, used and available capacities of ''ext4'' format disk(es). 
 +
 +<code ini> 
 +Mounted on             Type  Size  Used Avail Use%
 +/home/userid/disk1     ext4  917G  338G  533G  39%
 +/home/userid/disk2     ext4  458G  307G  128G  71% 
 +</code> 
 +
 +----
  • rpi_common
  • Last modified: 2024/04/18 08:52
  • by Jรบne Park