/home/pi/System_maintenance/pi/0_RaspPi notes.txt Jessie operating system version RaspPi 3 has BOTH on-bord [Bluetooth,Wifi]!!! $ sudo apt-get update; sudo apt-get upgrade ********* 15May2018 http://www.instructables.com/id/Ultimate-Raspberry-Pi-Configuration-Guide/ sudo raspi-config - terminal-based (GUI RaspPi-config doesn't work as I remove "pi") Updates : sudo apt-get update ********* wifi $ sudo ifup wlan0 $ sudo ifdown wlan0 ethernet comes on automatically when plugged in? (at least at home) - check that browser works ********* 17Oct2018 PROJECTS shows as PROJECTS1 : $ blkid - to see storage devices Rename /media/bill/PROJECTS as /media/bill/PROJECTSblah unmount PROJECTS maybe try : $ sudo ln -s /media/ac39d0e3-f6dd-4fc6-a830-dcfecb79f3f6 /media/bill/PROJECTS ********* 01Jun2016 kwrite - problematic "grey block cursor" mode This is VI editor mode, invoked by Meta-Ctrl-V Retype to exit VI mode ********* 04Jan2019 search "https://www.raspberrypi.org/documentation/configuration/raspi-config.md" $ sudo raspi-config 1 Change User Password Change password for the default user (pi) │ 2 Hostname Set the visible name for this Pi on a network │ 3 Boot Options Configure options for start-up │ 4 Localisation Options Set up language and regional settings to match your location │ 5 Interfacing Options Configure connections to peripherals │ 6 Overclock Configure overclocking for your Pi │ 7 Advanced Options Configure advanced settings │ 8 Update Update this tool to the latest version │ 9 About raspi-config Information about this configuration tool ********* 04Jan2019 filemanager access to cellphone files (Unable to open MTP device '[usb:001,037]') https://www.raspberrypi.org/forums/viewtopic.php?p=1196027 1. RaspPi Menu -> Preferences -> Raspberry Pi configuration -> Interfaces -> turn on camera (see "seurity notes for pi.txt") oops - I can't use "Raspberry Pi configuration" 1. transfer USB end of cellphone connector to RaspPi USB port 2. Samsung Settings -> More -> Storage -> scroll down -> ****************************************************** ***************** 14Feb2019 RaspPi upgrade gnutls28 (3.3.30-0+deb8u1) jessie-security; urgency=high To ease maintenance and ensure complete coverage of complex security issues fixed upstream, we have upgraded to the latest upstream version of the 3.3.x branch. This includes some interoperability changes: * ARCFOUR (RC4) and SSL 3.0 are no longer included in the default priorities list. Those have to be explicitly enabled, e.g., with a string like "NORMAL:+ARCFOUR-128" or "NORMAL:+VERS-SSL3.0", respectively. * The ciphers utilizing HMAC-SHA384 and SHA256 have been removed from the default priority strings. They are not necessary for compatibility or other purpose and provide no advantage over their SHA1 counter-parts, as they all depend on the legacy TLS CBC block mode. * Follow closely RFC5280 recommendations and use UTCTime for dates prior to 2050. * Require strict DER encoding for certificates, OCSP requests, private keys, CRLs and certificate requests, in order to reduce issues due to the complexity of BER rules. * Refuse to import v1 or v2 certificates that contain extensions. -- Antoine Beaupré Tue, 30 Oct 2018 10:26:33 -0400 thunderbird (1:52.5.0-1) unstable; urgency=high The profile for AppArmor within Thunderbird is now disabled by default. Since the activated Recommends for the apparmor package in recent kernel-image packages it turns out there are to many things that simply not working like before if Thunderbird is using the current AppArmor profile. Please read README.apparmor for getting more information about the re-enabling of the AppArmor profile. People who wants to help to improve the AppAprmor profile are appreciated. Take also a look at #882048 for the reason behind that decision. https://bugs.debian.org/882048 -- Carsten Schoenert Sun, 26 Nov 2017 12:45:00 +0200 ***************** 05Jan2019 Uninstall kwrite and FireFox - they suck up too much memory! kwrite : The following packages must also be removed : Metapackage for LXDE 27.6 kB >> done FireFox : trouble removing? Reboot +-----+ Mozilla Firefox web browser - Extended Support Release (ESR) firefox-esr-45.9.0esr-1~deb8u1 Web browser based on FireFox - transistional package iceweasel-45.9.0esr-1~deb8u1 ***************** 04Jan2019 Problems connecting cellphone to RaspPi for file transfers https://www.raspberrypi.org/forums/viewtopic.php?p=1196027 ***************** 04Jan2019 search "https://www.raspberrypi.org/documentation/configuration/raspi-config.md" sudo raspi-config 1 Change User Password Change password for the default user (pi) │ 2 Hostname Set the visible name for this Pi on a network │ 3 Boot Options Configure options for start-up │ 4 Localisation Options Set up language and regional settings to match your location │ 5 Interfacing Options Configure connections to peripherals │ 6 Overclock Configure overclocking for your Pi │ 7 Advanced Options Configure advanced settings │ 8 Update Update this tool to the latest version │ 9 About raspi-config Information about this configuration tool I enabled one-wire serial interface, but must reboot ***************** 14Nov2018 Problems connecting to internet RaspPi - using Koodo only ... reset to default, disconnected ethernet cable >> then it worked LMDE2 The page you are trying to vieew cannot be shown because the authenticity of the received data could not be verified https://answers.splunk.com/answers/172872/why-do-i-receive-a-secure-connection-failed-messag.html Mozilla added a new certificate verification feature to their Firefox browser (starting with version 31) called PKIX. You will need to disable this feature to use your own self-signed certificate. You may do the following to accomplish this. Open the Firefox browser. Type about:config in the search bar and press enter. If presented with the warning, “This might void your warranty…”, click the “I’ll be careful, I promise!” button. In the Preference Name column, locate the security.use_mozillapkix_verification option. Double click on the option to toggle the setting to false You should now be able to use Mozilla Firefox to access your search head using a self-signed certificate. For more information on Mozilla PKIX, please see their blog posting on the subject. Answer by bpaul [Splunk] avatar image Oct 10, 2014 at 12:29 PM search : Linux Mint and how do I add a wireless network connection? https://www.techwalla.com/articles/how-to-configure-wireless-on-mint ********************** 17Oct2018 Raspberry Pi and why is the mount name not the same as the partition name? https://unix.stackexchange.com/questions/82775/mount-harddrive-under-different-name These long strings of letters and numbers are what's called a UUID - Universally Unique Identifier. So changing the LABEL as one commenter above mentioned most likely won't solve this particular problem. You can see the UUID for mounted devices using the blkid command from a terminal window. In fact you can also see the LABEL for each device too: $ blkid $ blkid /dev/mmcblk0p1: LABEL="RECOVERY" UUID="4A00-C27F" TYPE="vfat" PARTUUID="00042697-01" /dev/mmcblk0p5: LABEL="SETTINGS" UUID="3070f844-2382-49cf-8a25-ec7e0927cdb8" TYPE="ext4" PARTUUID="00042697-05" /dev/mmcblk0p6: SEC_TYPE="msdos" LABEL="boot" UUID="1A1B-130B" TYPE="vfat" PARTUUID="00042697-06" /dev/mmcblk0p7: LABEL="root" UUID="44322740-fe74-4e17-82b6-167bf8b0241b" TYPE="ext4" PARTUUID="00042697-07" /dev/sda1: LABEL="PROJECTS" UUID="ac39d0e3-f6dd-4fc6-a830-dcfecb79f3f6" TYPE="ext4" PARTUUID="9c3c0ebe-01" /dev/sdb1: LABEL="RaspPi_ext4_32Gb" UUID="8dd43502-2a64-4d22-abdb-317b625cedb9" TYPE="ext4" PARTUUID="c3072e18-01" /dev/sdc1: LABEL="SWAPPER" UUID="7e4cae0c-55cf-40ab-a25d-b14ca2da1a69" TYPE="ext4" PARTUUID="e40ccacf-01" /dev/sda6: UUID="av4XVa-12DA-5Vpm-0fGR-dsUd-aTtD-fG12LB" TYPE="LVM2_member" >> HOWELL : I put RaspPi results above You can create a Unix links to this directory instead, which will probably end up being the easiest thing to do here. $ sudo ln -s /media/2ad496774-3eb8-47bb-2bf5e-788f8eb89e54 /media/storageDrive1 This link is essentially a shortcut to the physical path. >> Howell (even though PROJECTS already showing as a partition!) : $ sudo ln -s /media/ac39d0e3-f6dd-4fc6-a830-dcfecb79f3f6 /media/bill/PROJECTS LABEL? On some implementations of the mounting of devices under the directory /media, I've seen that certain ones will actually use the LABEL if it's set. So you might want to still try that, but it's highly dependent on which distro of Linux you're using. The link (ln) method I suggested will work in all scenarios. shareimprove this answer edited Jul 14 '13 at 17:46 answered Jul 12 '13 at 15:35 slm ********************** 15May2018 Raspberry Pi Bluetooth Setup New Device see "/media/bill/PROJECTS/System_maintenance/bluetooth/0_bluetooth notes.txt" ********************** 15May2018 Raspberry Pi Configuration The Raspberry Pi Configuration application can only modify a standard configuration. Your configuration appears to have been modified by other tools, and so this application cannot be used on your system. In order to use this application, you need to have the latest firmware installed, Device Tree enabled, the default "pi" user set up and the lightdm application installed. http://www.instructables.com/id/Ultimate-Raspberry-Pi-Configuration-Guide/ sudo raspi-config >> Ah Hah! text-based config pops up!! ************************** 01Apr2018 D-Link USB product CWA17C1 (...A1) *********************** 25Mar2018 Bluetooth connect : audio RaspPi (raspberrypi) to SONY headphones (MDR-ZX330BT) see "/home/bill/System_maintenance/bluetooth setup on RaspPi.txt" I used : https://www.raspberrypi.org/magpi/bluetooth-audio-raspberry-pi-3/ PLAY AUDIO ON A BLUETOOTH SPEAKER WITH RASPBERRY PI 3 *********************** search : Linux and which boot script to initialize global variables https://unix.stackexchange.com/questions/26150/how-to-set-global-environment-variables-at-boot-through-a-script-and-have-them 04-29-2009, 12:29 PM, trey85stang /etc/profile.local in Suse. I generally call my scripts in cron with, su -c which will load the appropriate localized user environment variables. Last edited by trey85stang; 04-29-2009 at 12:30 PM. >> NO, I look at /etc/.profile : if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi >> So I create #!/bin/sh # /etc/profile.d/Howell_global_vars.sh # www.BillHowell.ca 11Jan2018 initial # choice of [Dell65,Lenovo,RaspPi] export HOWELL_computer="HOWELL_computer" Oops!! should have been (corrected later) : export HOWELL_computer="RaspPi" # to avoid lxterminal script error : # (epiphany-browser:7384) Error retrieving accessibility bus address export NO_AT_BRIDGE=1 # enddoc *********************** 11Jan2018 search "RaspberryPi and (epiphany-browser:7384) Error retrieving accessibility bus address" https://www.raspberrypi.org/forums/viewtopic.php?t=131102&p=874692 Re: Error retrieving accessibility bus address: Fri Oct 27, 2017 1:11 am, Paeryn Generally as a quick-fix you can suppress it by setting an environment variable NO_AT_BRIDGE. Not that it technically suppresses the warning but rather tells the a11y toolkit to not try initialising the assistive technologies bridge at startup which I think is what is issuing the warning. I think it's down to some gconf setting that has been wrongly set when you haven't got any a11y services running (e.g. screen readers), either that or it is genuinely a case where NO_AT_BRIDGE is needed. Sticking this line at the end of your ~/.bashrc should prevent it from all subsequent logins. Code: Select all export NO_AT_BRIDGE=1 >> Ah Ha! - not just to suppress the warning, but also the way to initialize via ~/.bashrc : export HOWELL_computer="RaspPi" *********************** 10Jan2018 search "Linux and wmctrl selection of workspace" https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fwww.raspberrypi.org%2Fblog%2Fweb-browser-beta%2F >> wmctrl -s *********************** 10Jan2018 search "Linux and bash conditionals for if" || = OR *********************** 10Jan2018 search "Raspberry Pi and Jessie workspaces" multiple workspaces (Desktops) https://raspberrypi.stackexchange.com/questions/30056/raspberry-pi-raspbian-multiple-desktops As of mid-2016, our fully-updated Raspbian Jessie would not respond to any so-far published fixes for the disappearing/unobtainable multiple desktop option in Raspbian, no matter what we tried with the Desktop Pager applet in the LXDE panel. This seems to fix it for us:- Install:- ' obconf ' ...this is the OpenBox configurator. You can use: Menu > Preferences > Add/Remove Software, or type this in a terminal: sudo apt-get update && sudo apt-get install obconf Either way it will want your password.. When installed, do: Menu > Preferences > Openbox Configuration Manager ....then click on 'Desktops' and select the number of desktops you require. If you have not already added the Desktop Pager thing to the LXDE panel, you can right-click on the panel and select 'Add/Remove Panel items', then click on 'Add', find the Desktop Pager in the list, then click on 'Add' to add it to the panel. It should appear at the bottom of the list of items in the panel, and on the panel itself at the extreme right hand end. Click on 'Up' or 'Down' on the side of the list to move it where you want to. Adding a spacer might help it look better, your choice. You should now be able to switch between desktops using the applet or Ctrl-Alt-arrow keys. Hope it works for you! edited Sep 5 '16 at 8:52 answered Sep 5 '16 at 8:31, Flymo >> This worked!! ********************** *********************** 28Dec2017 Recover internal RaspPi memory RaspPi on-board memory state : $ sudo du --max-depth=1 --one-file-system --exclude="/media/bill/RaspPi_ext4_32Gb/.*" / $ sudo du --max-depth=1 "/home/guest/" >> I deleted data [files,directories] *********************** 23Dec2017 Screen power save mode https://unix.stackexchange.com/questions/52263/how-can-i-put-my-hdmi-display-into-and-out-of-power-save-mode +--+ Dispelling wrong paths First, virtually all modern displays support sleep modes. Also, xset dpms force off (or other ways to tell the X server) is the correct way (under X) to turn off monitors. I've used that for years without a hitch. Second, the mention DPMS is Disabled only comes from your xset -dpms. As soon as you issue xset dpms force off or other DPMS-related xset option, it gets re-enabled, so it is normal that you get the same result with or without xset +dpms. Hypothesis Now, you wrote that you see "static". This display supports traditional Analog TV signals, right ? One hypothesis is that the TV, instead of going to sleep, actually switches to Analog TV, and as there's no signal, it shows what is usually called "static". Test that hypothesis Here's an option to try. Try once to plug another display, ideally one that does not support Analog TV. See if that display goes to sleep on xset dpms force off. If yes, then the setup is okay on the Pi side. Try variants Perhaps the other video states will instruct the TV to stay on the right channel but with reduction in power usage. Instead of xset dpms force off, try these: xset dpms force standby xset dpms force suspend And see if one of those produces what you need. Wait at least 10 seconds after each try to see what it does. Pressing any key on the Pi keyboard will resume the display (remotely you can use xset dpms force on). Get to production If one of the variants above does what you need, then fine, please share! If not and you really need to use the original display, see in the menus if you can somehow disable Analog TV features. Please share what you learned from these tries. edited Oct 6 '14 at 17:50 answered Nov 14 '12 at 20:30, Stéphane Gourichon >> I tried $ xset +dpms >> no effect $ xset dpms force standby >> works!! BUT - Screen is still just deep grey with light +--+ You can turn on and off the HDMI itself. HDMI on: /opt/vc/bin/tvservice -p HDMI off: /opt/vc/bin/tvservice -o More details on tvservice binary: ... other details omitted answered Oct 19 at 0:22, Alec Istomin $ /opt/vc/bin/tvservice -o >> Works great as no grey glow, but can't just hit enter to re-initiate display >> 1. select & copy into terminal "/opt/vc/bin/tvservice -o" but DON'T press enter yet!! 2. select & copy "/opt/vc/bin/tvservice -p" 3. in terminal hit Enter to power save monitor - will turn screen off 4. paste to re-initiate display from sleep >> paste doeswn't work - keyboard must be off as weel? >> maybe push screen power button? +--+ https://stackoverflow.com/questions/29340672/how-to-disable-enable-hdmi-on-raspberry-pi I've found xset dpms force on to refresh the xorg stuff after doing a tvservice -o and bringing it back with tvservice -p. Doing it fbset way didn't work for me very well. answered May 8 '15 at 22:19, Entrabiter >> I wrote scripts so 1. select & copy "xset dpms force on" 2. $ bash Howell_sleep.sh 3. paste to re-initiate display from sleep >> Doesn't reactivate screen ssh from Dell64 >> screen comes on, but no Desktop! >> something is being broken by tvservice? Raspberry Pi Menu -> Preferences -> Raspberry Pi >> error message : +--+ The Raspberry Pi Configuration application can only modify a standard configuration. Your configuration appears to have been modified by other tools, and so this application cannot be used on your system. In order to use this application, you need to have the latest firmware installed, Device Tree enabled, the default "pi" user set up and the lightdm application installed. +--+ >> Interesting... *********************** 22Dec2017 to move /etc/authfiles.tar to /home/bill/System_maintenance $ sudo mv /etc/authfiles.tar /home/bill/System_maintenance >> done, works fine backup *********************** 22Dec2017 Change "pi" to "bill" unixetc.co.uk/2016/01/07/how-to-rename-the-default-raspberry-pi-user/ SUCCESSFUL!! have file on Dell64 with all steps/results still working on user login "guest" below ... Search "Linux an what's my IP address?" +--+ unixetc.co.uk/2016/01/07/how-to-rename-the-default-raspberry-pi-user/ jgeiger, LQ Newbie ip addr Also works. >> for me 3: wlan0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether b8:27:eb:7c:b3:20 brd ff:ff:ff:ff:ff:ff inet 192.168.1.5/24 brd 192.168.1.255 scope global wlan0 +--+ https://askubuntu.com/questions/95910/command-for-determining-my-public-ip If you are not behind a router, you can find it out using ifconfig. If you are behind a router, then your computer will not know about the public IP address as the router does a network address translation. You could ask some website what your public IP address is using curl or wget and extract the information you need from it: curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' or shorter curl ipinfo.io/ip edited Aug 8 at 5:48, Cameron Gagnon answered Jan 16 '12 at 11:56, Michael K >> for me, ifconfig yields : wlan0 Link encap:Ethernet HWaddr b8:27:eb:7c:b3:20 inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::c228:a116:6c8c:6db6/64 Scope:Link >> for me, curl (as above) yields : 24.114.45.50 Search "Raspberry Pi and how do I ssh into my Pi?" https://devdiner.com/answers/how-do-i-ssh-into-raspberry-pi >> no workee +--+ https://pimylifeup.com/raspberry-pi-ssh/ by Gus | Mar 19, 2015 | Enabling Raspberry Pi SSH Server The Raspberry Pi SSH Setup requires us to use the raspi-config tool to enable it. In order to do this we will need a keyboard, mouse and a screen for the Pi. Once we have done this we will no longer any of these items. 1. First turn on and login to the Raspberry Pi. (Remember default username is pi and password raspberry) 2. If you need the IP Address now would be a good time to get it. To do this simply type: hostname -I 3. Now type the following command: sudo raspi-config 4. Now in here go to Interfacing Options->SSH (Previously Advanced Options->SSH) 5. Enable SSH and reboot the Pi. >> done Now that we have enabled SSH we will need to connect from another computer. ************************** 22Dec2017 Change user "bill" to "guest" 1. $ sudo usermod --login guest bill 2. $ sudo mv /home/bill /home/guest Now have error msg on login : No directory, logging in with HOME=/ https://askubuntu.com/questions/374870/home-directory-not-being-created +--+ you can fix this simply by creating the home dir. mkdir /home/linda chown linda:linda /home/linda try logging in again and this should work. answered Nov 10 '13 at 11:10 OmPS +--+ According with man useradd, -d /home/linda option will not create the directory /home/linda, if this is missing. So, you have to create it manually. To do this, run the followings commands in terminal: sudo -i #to get root privileges mkdir /home/linda #to create the directory /home/linda cp -rT /etc/skel /home/linda #to populate /home/linda with default files and folders chown -R linda:linda /home/linda #to change the owner of /home/linda to user linda See also: How to make user home folder after account creation? edited Apr 13 at 12:24, Community answered Nov 10 '13 at 12:44, Radu Rădeanu >> I did $ sudo chown -R guest:guest /home/guest >> Result : this didn't fix the problem >> try reboot $ sudo ls -ld /home/guest drwxr-xr-x 34 guest guest 4096 Dec 22 09:10 /home/guest >> seems OK +--+ https://unix.stackexchange.com/questions/36481/no-home-directory-logging-in-with-home Created a new user in Ubuntu 11.04 using useradd -d /home/dummy -m dummy Now, after this I set its password using passwd dummy But, when i login to that user using su - dummy I get to see No home directory, logging in with HOME=/ cat /etc/passwd | grep dummy shows dummy:x:1001:1001::/home/dummy:/bin/bash I manually created dir to resolve this issue through mkdir /home/dummy Now, the error seems to resolve, but I am amazed as to why no files like bash_profile are created in that home directory linux useradd asked Apr 15 '12 at 14:53, Novice User >> I tried $ cat /etc/passwd | grep guest guest:x:1001:1001:www.BillHowell.ca,,,:/home/bill:/bin/bash >> Yikes! - wrong directory $ sudo leafpad /etc/passwd +-----+ https://unix.stackexchange.com/questions/149985/startx-cannot-open-dev-fb0-permission-denied When I try to start my WM using startx, I am unable to because the permission of something called /dev/fb0 are restricted. From home/user/.local/share/xorg/Xorg.0.log: [ 198.569] (--) controlling tty is VT number 1, auto-enabling KeepTty [ 198.569] (II) Loading sub module "fbdevhw" [ 198.569] (II) LoadModule: "fbdevhw" [ 198.569] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 198.570] (II) Module fbdevhw: vendor="X.Org Foundation" [ 198.570] compiled for 1.16.0, module version = 0.0.2 [ 198.570] ABI class: X.Org Video Driver, version 18.0 [ 198.570] (EE) open /dev/fb0: Permission denied [ 198.570] (WW) Falling back to old probe method for fbdev [ 198.570] (II) Loading sub module "fbdevhw" [ 198.570] (II) LoadModule: "fbdevhw" [ 198.570] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 198.570] (II) Module fbdevhw: vendor="X.Org Foundation" [ 198.570] compiled for 1.16.0, module version = 0.0.2 [ 198.570] ABI class: X.Org Video Driver, version 18.0 [ 198.571] (EE) open /dev/fb0: Permission denied Now of course I can change it using chmod, but I shouldn't have to do that every time I reboot the computer, so it seems like something is wrong / I haven't set up something properly. What should I do to fix this? permissions arch-linux xorg startx edited Aug 13 '14 at 0:28, Gilles asked Aug 13 '14 at 0:18, Anonymous Entity >> I have same type of error in my log file +--+ Gilles is correct; this is due to the changes in xorg-server 1.16 which were announced on the Arch News. To work around the permissions issue, you can use a Xorg.wrap config file to pass root rights, using: needs_root_rights = yes See man Xorg.wrap for the details. You could also try using xf86-video-modesetting instead of xf86-video-fbdev until the fbdev driver is updated. edited Apr 13 at 12:36, Community answered Aug 13 '14 at 0:43, jasonwryan >> man Xorg.wrap doesn't work +-----+ https://forums.gentoo.org/viewtopic-t-859501.html ********************* 22Dec2017 tURN OFF AUTO LOGIN +-----+ Search "Raspberry Pi and how to turn off auto login" https://raspberrypi.stackexchange.com/questions/12715/how-to-turn-off-auto-login +--+ Call up the Terminal, type sudo raspi-config select boot-behaviour and choose Command Line. When the Pi starts up, it will show a load of diagnostic reports and then a prompt for a username and password. To then get to the desktop, type startx answered May 7 '14 at 6:32 Beta Decay +--+ Edit: Based on your feedback in the comments, I googled a bit and found this method (as well I have not tested it): sudo nano /etc/lightdm/lightdm.conf Find the line autologin-user=pi Comment it out and then reboot or power off and on again(CAUTION Do not unplug and plug the RPi, you could damage it.) This is the last thing I have found, let me know if it worked. edited Jan 6 '14 at 19:52 answered Jan 4 '14 at 14:20 DaGhostman Dimitrov >> I did both of the above - awesome!!! STOP - look at bill -> guest below ********************* 07Dec2017 add user bill Linux users - Raspberry Pi Documentation https://www.raspberrypi.org/documentation/linux/usage/users.md Linux users. User management in Raspbian is done on the command line. The default user is pi , and the password is raspberry . You can add users and change each user's password. https://raspberrypi.stackexchange.com/questions/7133/how-to-change-user-pi-sudo-permissions-how-to-add-other-accounts-with-different edited Apr 21 '13 at 21:01, answered Apr 21 '13 at 20:24 orithena ... So, I hope this small recipe here is what you need: $ sudo adduser admin This will create a user "admin", ask for a password, create his home directory, etc. $ sudo adduser admin sudo $ sudo adduser admin adm This will put the "admin" user into the usergroups "sudo" and "adm". And since permissions are managed in Linux by adding users to usergroups, this gives the "admin" user all privileges and permissions he needs. There is a line in /etc/sudoers that allows any user that is in the usergroup "sudo" to execute any command as root; and this privilege is what we need for an admin user (adding him to "adm" allows him to read some log files in /var/log without using sudo and a few other things). You still need to use sudo when you're logged in as admin -- but now sudo asks again and again for the admin's password whenever you did not use sudo for about five minutes. Now log off and log on as the user "admin". ... >> I used $ sudo adduser bill sudo ********************* 26Nov2017 ssh login as root - default disabled http://www.raspberry-pi-geek.com/howto/Passwords In Raspberry Pi from version Jessie onwards the "root" login for SSH sessions (via Putty Login) has been disabled by default. It can be enabled by just editing "sshd_config" file and then restarting "ssh" service. To start with login to raspi via ssh using the default "pi" credentials. Then elevate yourself to super user "sudo" # sudo -i Then edit "/etc/ssh/sshd_config" and update the field "PermitRootLogin" # vi /etc/ssh/sshd_config From PermitRootLogin without-password To PermitRootLogin yes And then restart ssh service for the changes to take effect. # /etc/init.d/ssh restart You can also change the password for the root account by following these steps. Login to raspi via ssh using the default "pi" credentials and the elevate yourself as super user "sudo" and run "passwd" to change the password. # sudo -i # passwd root Output: root@raspi-quad:~# passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully ********************* 26Nov2017 kwrite install PWD - doesn't work! have to do this later +-----+ http://mapledyne.com/ideas/2015/8/4/reset-lost-admin-password-for-raspberry-pi (http://9m2zak.blogspot.ca/2017/07/reset-lost-admin-password-for-raspberry.html is similar (copied?)) Reset lost admin password for Raspberry Pi September 3, 2015 To reset your password: - Power down and pull the SD card out from your Pi and put it into your computer. - Open the file 'cmdline.txt' and add 'init=/bin/sh' to the end. This will cause the machine to boot to single user mode. - Put the SD card back in the Pi and boot. - When the prompt comes up, type 'su' to log in as root (no password needed). - Type "passwd pi" and then follow the prompts to enter a new password. - Shut the machine down, then pull the card again and put the cmdline.txt file back the way it was by removing the 'init=/bin/sh' bit. - The cmdline.txt should look something like this: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait init=/bin/sh It's worth noting that with this process being as easy as it is, to consider than a malicious person with physical access to your Raspberry Pi could do this as easily as you can. >> filemanger "PCManFM 1.2.3" Menu -> Tools -> find files -> 'cmdline.txt' ROOT ACCOUNT PROMPTING FOR PASSWORD: If the root account is prompting for a password (not common) you can, back on your computer, open the /etc/shadow file and replace the root password in there with an asterisk. This will change the password to be blank. ERROR WHEN CHANGING THE PASSWORD: Note: Sometimes the password won't be able to be changed because the Pi will boot in a read-only mode. You'll get an error that you can't change the password. To fix this, remount the drive in read-write mode: mount -o remount,rw / https://www.raspberrypi-spy.co.uk/2014/08/how-to-reset-a-forgotten-raspberry-pi-password/ How To Reset A Forgotten Raspberry Pi Password BY MATT ON AUGUST 31, 2014 >> Essentially the same instructions! /boot/cmdline.txt https://www.raspberrypi.org/forums/viewtopic.php?t=20397 blah, blah... http://www.raspberry-pi-geek.com/howto/Passwords Default usernames and passwords for popular Pi distros Downloads are available at RaspberryPi.org or the distributions’ websites Raspbian wheezy pi::raspberry Debian optimized for the Pi Welcome (http://pimame.org/) ********************* 13Sep2017 Thunderbird email https://mike632t.wordpress.com/2015/10/02/raspberry-pi-with-firefox-and-thunderbird/ Installing Firefox and Thunderbird on a Raspberry Pi Posted on 02 Oct 15 Thunderbird mail client gets renamed Icedove Update Current Packages Before downloading and installing anything we need to be running as root and it is a good idea to make sure that your system is up to date. $ su Password: OR $ sudo -i Password: # apt-get update;apt-get upgrade # apt-get update;apt-get upgrade >> This took 1-2 hours! # apt-get install iceweasel --no-install-recommends >> STOPPED : 86.3Mb -> let's see what install-recommends needs... >> ... needs same amount? Shit! - that's firefox I want Thunderbird : # apt-get install icedove >> OK - FireFox & Thunderbird installs were FAST! (<20 min) ******************** http://mirrordirector.raspbian.org jessie InRelease Upgrades - general points ca-certificates (20141019+deb8u2) stable; urgency=medium Update Mozilla certificate authority bundle to version 2.9. The following certificate authorities were added (+): + "Certplus Root CA G1" + "Certplus Root CA G2" + "Certum Trusted Network CA 2" + "Hellenic Academic and Research Institutions ECC RootCA 2015" + "Hellenic Academic and Research Institutions RootCA 2015" + "ISRG Root X1" + "OpenTrust Root CA G1" + "OpenTrust Root CA G2" + "OpenTrust Root CA G3" + "SZAFIR ROOT CA2" The following certificate authorities were removed (-): - "CA Disig" - "NetLock Business (Class B) Root" - "NetLock Express (Class C) Root" - "NetLock Notary (Class A) Root" - "NetLock Qualified (Class QA) Root" - "Sonera Class 1 Root CA" - "Staat der Nederlanden Root CA" - "Verisign Class 1 Public Primary Certification Authority - G2" - "Verisign Class 3 Public Primary Certification Authority" - "Verisign Class 3 Public Primary Certification Authority - G2" -- Michael Shuler Fri, 18 Nov 2016 09:09:47 -0600 raspberrypi-sys-mods (20161018+3) jessie; urgency=medium * The 20161018 release has introduced a /etc/sudoers.d/010_pi-nopasswd file. - The file is installed even if the "pi ALL=(ALL) NOPASSWD: ALL" entry has been previously removed from /etc/sudoers by the user. - If you do not want the entry to exist, please comment out or remove 010_pi-nopasswd. - If upgrading to 20161018+3 from a version earlier than 20161018, the line in 010_pi-nopasswd is automatically commented out if the entry doesn't exist in sudoers. - See https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/6 -- Serge Schneider Wed, 19 Oct 2016 10:52:07 +0100 xorg-server (2:1.18.3-2) unstable; urgency=medium X now defaults to using built-in modesetting video driver on Intel hardware which is "4th gen GMA" and newer, so roughly speaking on hardware from 2007 and up. If this triggers new bugs on your hw, please file them against the xserver. Continuing to use the -intel driver is possible by dropping the template xorg.conf to /etc/X11: # cp /usr/share/doc/xserver-xorg-video-intel/xorg.conf /etc/X11 -- Timo Aaltonen Tue, 19 Jul 2016 04:28:05 +0300 xorg-server (2:1.17.3-1) unstable; urgency=medium The Xorg server is no longer setuid root by default. This change reduces the : xorg-server (2:1.17.3-1) unstable; urgency=medium The Xorg server is no longer setuid root by default. This change reduces the risk of privilege escalation due to X server bugs, but has some side effects: * it relies on logind and libpam-systemd * it relies on a kernel video driver (so the userspace component doesn't touch the hardware directly) * it needs X to run on the virtual console (VT) it was started from * it changes the location for storing the Xorg log from /var/log/ to ~/.local/share/xorg/ On systems where those are not available, the new xserver-xorg-legacy package is needed to allow X to run with elevated privileges. See the Xwrapper.config(5) manual page for configuration details. -- Julien Cristau Tue, 27 Oct 2015 22:54:11 +0000 ********************* 09Jun2017 13:47 Can't run Suspicious0bservers.org daily news Actually - YouTube works fine, but SuspiciousObserver vids don't Watch YouTube in Browser with Raspbian https://raspberrypi.stackexchange.com/questions/13955/watch-youtube-in-browser-with-raspbian You might try installing epiphany-browser (from the standard repositories). I tried it last night and was able to watch videos directly on YouTube, after telling YouTube to use the HTML5 player. Open a terminal window or VT and type $ sudo apt-get install epiphany-browser (Apt will probably require other packages to install it; accept them.) Use Epiphany Web Browser* to navigate to YouTube's HTML5 Player page. Click the button to choose the HTML5 player to play YouTube videos. Navigate to the YouTube videos of your choice. Unfortunately some videos may not (yet?) be compatible with the HTML5 player, but you will have to try them to see which ones work. Epiphany Web Browser - Officially, the browser is called "Web," but the latest version in the Raspbian "wheezy" repository (version 3.8.2 as of 2015-01-09) appears in the LXDE "Internet" menu as "Epiphany Web Browser," and you can run it from a terminal window using the command $ epiphany-browser shareimprove this answer edited Jan 10 '15 at 0:04 answered Jan 9 '15 at 23:42 Tommy Trussell ********************* 09Jun2017 12:27 Suspend mode for Pi - or screen saver when watching YouTube etc websearch "raspberry pi sleep" https://raspberrypi.stackexchange.com/questions/4773/raspberry-pi-sleep-mode-how-to-avoid Raspberry Pi sleep mode, how to avoid For posterity, please note that the pi hardware does not have a potential sleep, suspend, etc. mode. It is either running, or not. If it is plugged in, the power LED will be on either way. – goldilocks♦ Feb 13 '13 at 14:54 http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/disable-screen-sleep Disable screen sleep Force the screen to stay on sudo nano /etc/lightdm/lightdm.conf Add the following lines to the [SeatDefaults] section: # don't sleep the screen xserver-command=X -s 0 dpms >> Howell - started to use this but changed to : [same webpage] Daviz • 2 years ago The easiest way to disable screen blanking in the Raspbian GUI is to install xscreensaver then configure it to disable: sudo apt-get update sudo apt-get install xscreensaver Found on https://www.raspberrypi.org... Yusuf Daviz • 2 years ago Thanks a a lot. I tried all of things have failed. But, this is working correctly. Christopher Gee Daviz • 3 days ago This was by far the easiest solution. Thanks. Managed to get the dashboards setup for https://www.rixxo.com/ in our office without the screen going black every few minutes >> Howell installed xscreensaver and set up to blank after 720 minutes (maximum allowed) this is for YouTube watching ********************* 05Jun2017 websearch This is for Chrome!! : https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=148452 by Gadgetguy » Tue May 17, 2016 5:18 am If you are annoyed with continual pauses in youtube playback in Chromium an apparent and easy solution is to enter chrome://flags in your address bar, then search down until you find Media Source API, disable it and relaunch your browser. As I understand it this disables dash playback and allows proper buffering of the video which is important for those with a weak processor or slow internet. It allows you to pause the video and lets it continue to load. I guess it will also disable 1080p playback of video in browser window but that ain't going to happen anyways! The difference is quite dramatic at least on my r[i 2. I am not sure if there are any other adverse consequences to this modification but at least it is easily reversible I came across this idea in this forum: https://www.reddit.com/r/firefox/commen ... e_without/ Presumably this works in firefox. Normally I play youtube videos in chromium using Kusti8's rpi extension which invokes high quality playback in G. Kreidl's omxplayergui or alternatively by dragging the youtube link or url in the address bar into smplayer with hardware accelerated mpv : https://www.raspberrypi.org/forums/view ... 6&t=148185 Or by using kweb's play button. However there are times when you just want it to play in the browser window without incessant stuttering ********************* 10Apr2017 13:10 /home/pi/.cache/lxsession/LXDE-pi/run.log -> 1.1 Gb!! https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=29288 Raspbian: limit size of log files? by jojopi » Tue Jan 15, 2013 4:33 pm If you mean the foundation's recommended images of raspbian wheezy, then logrotate runs at about 06:25 daily. syslog is rotated daily for a week, and most other logs weekly for four weeks. If your Pi is never up at that time of day, then "sudo apt-get install anacron". Now logrotate should also run at boot time if it is overdue. If your Pi is never up for more than an hour at a time and has no network connection, then the time will be essentially static. Otherwise, I do not think the lack of RTC has much impact. Even with no rotation at all, to fill a 4GB card after a few weeks you must be seeing orders of magnitude more logging than I am. I do not think rebooting a few times a day would make such a big difference. There probably are usages that would cause much higher logging, but I would expect there to be an obvious pattern to the excess logs in that case. by terrytheandroid » Wed Jan 16, 2013 3:51 pm Hi, if you want to know if logrotate is installed use dpkg --list logrotate If it's not installed you'll get a message something like "dpkg-query: no packages found matching logrotate" >> Howell - mine is installed >> I'll just delete the log file /home/pi/.cache/lxsession/LXDE-pi/run.log >> then leave it for now and check later to see if it builds up again *********************************** 30Jun2016 VLC won't progress video https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=106783&p=736232 by javierdev78 » Tue Apr 07, 2015 9:11 pm Hi everyone, I just bought the new raspberry pi 2, I want to use it as a domestic computer (see youtube videos, connect an external usb hdd to see videos, etc...) nothing special. I'm completely new using this device and I'm having some troubles: - The first is about the USB voltage, I have seen that is lower than the voltage which the hardrivers usually require. What should I do? To remove the voltage limitation or buy an USB hub with its own power supply? - The second issue is about playing videos, I have installed the VLC player, but when I try to reproduce a video with a size about 250mb, it keeps frozen in the first frame. I haven't tryed yet to copy it to the sd, but in theory this musn't be necessary. I haven't also expanded the root partition, so if the device is trying to make some cache in the sd, maybe there is not enought room. Please give me some advices about which would be the best player and options to multimedia reproduction. - The last subject is about youtube, I tryed the fork of firefox but the videos get frozen when I look for them and try to play, If I pass to the next video, it works but with a pretty serious delay (the video and audio are syncronized but there is a frame lose). Whit ephifany the videos work nice but if i try to advance it, when it get the required frame, the program crashes, I tryed to execute it from the terminal and the error was something about "segment violation" Thank you in advance for your help, I'm a little bit lost on this, any help would be very appreciated. Best regards. +-----+ by gkreidl » Wed Apr 08, 2015 11:23 am javierdev78 wrote: Thank's so much for the info, but, if I remove the current limitation, Could it be dangerous for the device? I saw that some people use a logitec usb hub. What about the regular videos? I have this problem that VLC doesn't play the video, it gets frozen in the very first frame, Is this because the memory size is not already expanded? Thanks in advance for your support. Normal VLC cannot use the GPU and so you cannot play video with it. Use omxplayer for videos. If you don't like the command line interface, you can use omxplayerGUI, which is installed as part of the kweb package. There is a solution for VLC that includes support for the GPU, but it may not be what you are looking for (videos are not played inside a window but are overlayed to the screen). viewtopic.php?f=66&t=59814&p=629999#p629999 *********************** 13May2016 Raspberry Pi SD card install https://www.raspberrypi.org/help/noobs-setup/ must format - used JVC formatting, didn't seem to work With GParted, I deleted partitions, set up a new one, ?formatted fat32?, copied NOOBS files to SD micro card. But, for the second time, something (probably JVC camera, set up new partitions and files!! Also, it looks like NOOBS wrote a couple of .confg files onto the micro-SD card : noobs.conf & wpa_supplicant.conf (empty 2nd time, but it had something the first time!?!? *************** 27May2017 09:37 problems with du & grep $ sudo du --max-depth=2 / | grep --invert-match -e ?*"cannot read"?* Results : 2872536 /home 4420 /opt/minecraft-pi 8 /opt/pigpio 103624 /opt/sonic-pi 40268 /opt/vc 665984 /opt/Wolfram 814308 /opt 108 /usr/man 912280 /usr/share 5084 /usr/sbin 21764 /usr/include 140 /usr/local 1263492 /usr/lib 86004 /usr/bin 124 /usr/src 4 /usr/games 2289004 /usr # enddoc