Bash script for common errors - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125) +---- Thread: Bash script for common errors (/showthread.php?tid=9098) |
Bash script for common errors - aleadom - 02-09-2020 Hello, I´ve done a little script for common errors on UBports, specially useful for me on sound and modem. I hope you find it useful and improve it, I don´t know how to set the variable ip to the command ssh. I hope they solve soon this errors soon but in the meantime... It´s on Spanish but: 1) WIFI RESET ... 2) ACTIVAR SIM Sim 3) ACTIVAR SONIDO Sound 4) ACTUALIZAR SISTEMA System update Code: #! / bin / sh RE: Bash script for common errors - PinePhoneCoder - 02-10-2020 Nice! You made a nice menu I see. I did sort of the same thing: Bash scripts for the basic functions of the PinePhone on GitHub: https://github.com/dirkjanbuter/pinephone-commands (I try to keep it up to date). RE: Bash script for common errors - tcode - 02-12-2020 (02-10-2020, 08:54 AM)PinePhoneCoder Wrote: Nice! You made a nice menu I see. I did sort of the same thing: Bash scripts for the basic functions of the PinePhone on GitHub: https://github.com/dirkjanbuter/pinephone-commands (I try to keep it up to date). Have successfully tested several your scripts. Thank you. However, after a recent update when I turn on the modem with the script, drop the wifi connection. When restore the wifi connection, drop the modem. RE: Bash script for common errors - undo - 02-13-2020 (02-10-2020, 08:54 AM)PinePhoneCoder Wrote: Nice! You made a nice menu I see. I did sort of the same thing: Bash scripts for the basic functions of the PinePhone on GitHub: https://github.com/dirkjanbuter/pinephone-commands (I try to keep it up to date). Hey, thanks for the script collection. Here's a little suggestion: I made a hidden script in the folder like this: Code: #!/bin/bash It makes a list of the folder, like so: Code: pine:~/pinephone-commands/.la.sh And you can choose the script you want by number. And if you add a script in the folder, you won't have to modify a file for to have a menu selection. RE: Bash script for common errors - Goddard - 02-13-2020 Nice work. I will test these out. Just to add to the collection. I made an install script for UBPorts. Hopefully expand more later. https://github.com/goddard/pinephone Anyone played with installing over USB? RE: Bash script for common errors - PinePhoneCoder - 02-14-2020 (02-13-2020, 08:11 AM)undo Wrote:(02-10-2020, 08:54 AM)PinePhoneCoder Wrote: Nice! You made a nice menu I see. I did sort of the same thing: Bash scripts for the basic functions of the PinePhone on GitHub: https://github.com/dirkjanbuter/pinephone-commands (I try to keep it up to date). Nice "undo", will try that later. (02-13-2020, 02:25 PM)Goddard Wrote: Nice work. I will test these out. Great! (02-13-2020, 02:25 PM)Goddard Wrote: Anyone played with installing over USB? No, but do you have an idea where to start? RE: Bash script for common errors - dukla2000 - 02-14-2020 (02-14-2020, 04:43 AM)PinePhoneCoder Wrote:(02-13-2020, 02:25 PM)Goddard Wrote: Anyone played with installing over USB? Unless I am very much mistaken you have to use FEL mode. And, again unless I am mistaken, the PinePhone has no magic button key sequences to boot into FEL mode (although I am curious about the reset button ...) so you either have to use the special SDcard image or ensure there is no bootable image on both the SDcard and the eMMC. ps - getting off topic, may warrant a new thread RE: Bash script for common errors - PinePhoneCoder - 02-14-2020 (02-14-2020, 04:58 AM)dukla2000 Wrote: ps - getting off topic, may warrant a new threadSee https://forum.pine64.org/showthread.php?tid=9161 for the new thread. |