Safe Mode =Insert a physical jumper between pins 5 & 6 of GPIO header P1. -OR- =Append rescueshell to the argument list in the recovery.cmdline file which is found in the root NOOBS directory. =boot into a basic busybox shell rather than launching the NOOBS GUI [Disable GPIO false trigger] -append disablesafemode to the argument list in the recovery.cmdline file which is found in the root NOOBS directory. Recovery Mode =Try pressing shift only when the grey splashscreen is displayed rather than holding it from boot up. =Append gpiotriggerenable to the argument list in the recovery.cmdline file + connect GPIO pin 3 on header P1 to GND (pin 25). =lets you enter the NOOBS interface to do the following: > Install selected operating systems onto your SD card. > Edit configuration files for an operating system. > Select the display language, keyboard layout, display mode (HDMI, composite etc.). > Exit NOOBS and reboot the Pi into the operating system boot menu. Recovery Mode (Force entered, overrides GPIO or keyboard input) =Append forcetrigger to the argument list in the recovery.cmdline file =the Recovery Mode will be displayed every time you boot from your NOOBS card (until you edit recovery.cmdline again). Raspberry Pi 3B+ = pin RUN (for CPU only) -> pull down GND ; RESET buttom = pin PEN (board level ) -> pull down GND ; normal shutdown, go sleep https://github.com/raspberrypi/noobs/blob/master/README.md NOOBS (New Out of Box Software) - Document.
useradd timyou -m -p timothy rasp-config > interface > ssh login:pi - password: raspberry sudo su - apt-get update apt-get install vim update-alternatives --config editor
ip="$(ifconfig | grep -A 1 'wlan0' | grep -o 'inet [0-9\.]*' | cut -f 2 -d ' ')" ro="$(netstat -rn | grep 'UG' | grep -o '0.0.0.0\s* [0-9\.]*' | cut -f 2 -d ' ')" --- _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi _IP=$(/sbin/ip route | awk '/default/ { print $3 }') if [ "$_IP" ]; then printf "The Default Gateway is %s\n" "$_IP" fi
Labels: my.