Go to advanced search

by fbe
Sat Jul 13, 2019 10:22 pm
Forum: Troubleshooting
Topic: MPD and bluetooth speaker issue in Raspbian Buster (used to work with Stretch)
Replies: 2
Views: 332

MPD and bluetooth speaker issue in Raspbian Buster (used to work with Stretch)

Installed Raspbian Buster Lite (2019-07-10). sudo apt install mpd mpc bluealsa After reboot paired and connected my speaker using bluetoothctl. aplay -D bluealsa:HCI=hci0,DEV=78:44:05:8d:06:74,PROFILE=a2dp /usr/share/sounds/alsa/Front_Center.wav produces sound as expected. Appended configuration to ...
by fbe
Sat Jul 13, 2019 8:08 pm
Forum: Troubleshooting
Topic: Bluetooth issue when python script run from boot console
Replies: 13
Views: 350

Re: Bluetooth issue when python script run from boot console

Any reason you need to run under SUDO? Your recommended help. ... This may help https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/ ... ... Sudo, sudo, sudo, lovely sudo Wonderful sudo, lovely sudo ... Any other ideas??? Is the sound coming over the audio jack or H...
by fbe
Sat Jul 13, 2019 7:28 pm
Forum: Deutsch
Topic: Raspberry Pi als Türöffner
Replies: 5
Views: 368

Re: Raspberry Pi als Türöffner

mline wrote:
Sat Jul 13, 2019 7:13 pm
Das versteh ich nicht ganz. In der Zeichnung hast du eine Parallelschaltung von 500Ohm und 1000Ohm. Das ergibt aber nicht 500Ohm sondern ~333Ohm.
Lies mal von rechts nach links.
Rechts steht "je 1000Ω" und links "Rges=500Ω".
by fbe
Thu Jul 11, 2019 6:37 pm
Forum: Beginners
Topic: Login Wallpaper Impossible to Change
Replies: 2
Views: 139

Re: Login Wallpaper Impossible to Change

The login screen is configured in /etc/lightdm/pi-greeter.conf if you use the Raspberry Pi Desktop default pi-greeter. The wallpaper is changed together with the desktop wallpaper (in the "Appearance Settings") if a user has the privileges. pi has the privilege. Other users might get error messages ...
by fbe
Wed Jul 10, 2019 5:12 pm
Forum: General discussion
Topic: Raspberry Pi 4 can´t boot!
Replies: 12
Views: 710

Re: Raspberry Pi 4 can´t boot!

You mentioned Raspberry Pi 4 and SD card only. Are you trying to install headless or have you got keyboard, mouse and screen for your Raspberry Pi?
What power supply are you using?
by fbe
Sun Jul 07, 2019 7:51 pm
Forum: Beginners
Topic: Mac users - booting Buster from SD + HDD
Replies: 4
Views: 280

Re: Mac users - booting Buster from SD + HDD

Is this the cmdline.txt as saved on your Mac? The "init=/usr/lib/raspi-config/init_resize.sh" is missing here too, that is commonly present on the original image.
Is the root filesystem extended to use the whole disk by etcher already, or do you need to do it later?
by fbe
Sun Jul 07, 2019 6:56 pm
Forum: Troubleshooting
Topic: HELP! Rpi4 stuck at rainbow stage after firmware update.
Replies: 10
Views: 675

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Before Raspberry Pi4 rpi-update used to make unbootable SD cards/USB drives only. I don't know whether or not it now also writes poorly tested things into the EEPROM of a Raspberry Pi4. Try to write a new image onto your SD card and remove all USB devices except for keyboard and mouse. If that boots...
by fbe
Sun Jul 07, 2019 6:24 pm
Forum: Beginners
Topic: Mac users - booting Buster from SD + HDD
Replies: 4
Views: 280

Re: Mac users - booting Buster from SD + HDD

If you write the same image to both devices you don't need to copy the cmdline.txt from HDD to SD card. :?
How do you make sure that the root filesystem is mounted from the HDD and not from SD card?
by fbe
Fri Jul 05, 2019 6:24 pm
Forum: Deutsch
Topic: Openmediavault Will einfach nicht booten
Replies: 1
Views: 190

Re: Openmediavault Will einfach nicht booten

Nach diesem Video https://www.youtube.com/watch?v=vY5PSAhjD2s siehst Du: Changing password for root. (current) UNIX password: Da wird das gegenwärtige UNIX Kennwort von root verlangt - also openmediavault. Wenn das stimmt, wirst Du zwei mal nach dem neuen Kennwort gefragt, dass ab jetzt für root gel...
by fbe
Mon Jul 01, 2019 11:07 pm
Forum: Beginners
Topic: MariaDB help forum?? Can't log on initially
Replies: 6
Views: 176

Re: MariaDB help forum?? Can't log on initially

Avoid tutorials that recommend mysql_secure_installation on Debian/Raspbian Stretch or Buster.
Avoid tutorials that recommend to configure native password authentification for root@localhost on Debian/Raspbian Stretch or Buster without mentioning that a logrotate job will break and how to fix that.
by fbe
Sun Jun 30, 2019 10:49 am
Forum: General discussion
Topic: LINUX to WIN 10 Remote Desktop Connectivity
Replies: 9
Views: 492

Re: LINUX to WIN 10 Remote Desktop Connectivity

If you are using Raspbian Stretch or Buster create a file ".xsessionrc" in your home directory (/home/pi) with contents:

Code: Select all

export XAUTHORITY=${HOME}/.Xauthority
After next login via Remote Desktop you can use the "Raspberry Pi Configuration" application to configure your keyboard layout
by fbe
Fri Jun 28, 2019 6:45 pm
Forum: General discussion
Topic: /boot not on FAT for RPi4
Replies: 9
Views: 739

Re: /boot not on FAT for RPi4

MBR relies on x86 instructions. It is possible to emulate the ones required, but seems pointless. The MBR has an area that is reserved for bootcode. The bootcode should at least start with x86 instructions that avoid unexpected behavior if a x86 system accidentically tries to boot, using this MBR. ...
by fbe
Sun Jun 23, 2019 5:51 am
Forum: Beginners
Topic: PHPBB Forum Server on Raspberry pi
Replies: 16
Views: 906

Re: PHPBB Forum Server on Raspberry pi

Yes, Raspbian Stretch with Desktop (with or without recommended software) will work and might be easier to use, as you can open a browser here and just copy and paste my commands into a terminal window. I didn't need to setup the keyboard because the keyboard setup of my remote Windows machine was u...
by fbe
Fri Jun 21, 2019 9:23 pm
Forum: Beginners
Topic: PHPBB Forum Server on Raspberry pi
Replies: 16
Views: 906

Re: PHPBB Forum Server on Raspberry pi

Just to demonstrate that the installation is possible on Raspbian Stretch Lite (2019-04-08). Setup was headless, connected via ethernet, ssh enabled, static ip address (192.168.2.113) configured in /etc/dhcpcd.conf (my router doesn't support fixed IP address assignment...) sudo apt update sudo apt -...
by fbe
Wed Jun 12, 2019 8:05 pm
Forum: Deutsch
Topic: Python mit Vergleichsoperatoren|Verständnisprobleme?
Replies: 5
Views: 441

Re: Python mit Vergleichsoperatoren|Verständnisprobleme?

Du vergleichst Strings mit Zahlen.
by fbe
Sun Jun 09, 2019 8:47 pm
Forum: Beginners
Topic: PHP Extension Intl missing
Replies: 4
Views: 190

Re: PHP Extension Intl missing

Your PHP version is quite unusual for Raspbian Stretch. You need to figure out the package name, you have to install. Raspbian Stretch has php7.0 in its repository.

Code: Select all

sudo apt install php-intl
would try to install the package php7.0-intl and most likely fails if a package php5.6 is installed...
by fbe
Fri May 31, 2019 6:47 pm
Forum: Networking and servers
Topic: [LAMP server] - Need help with last part of WordPress install
Replies: 7
Views: 378

Re: [LAMP server] - Need help with last part of WordPress install

You can't install phpmyadmin if you completed the tutorial, that you mentioned in your first post. You must install it before the GRANT ALL PRIVILEGES ON wordpress.* TO 'root'@'localhost' IDENTIFIED BY 'YOURPASSWORD'; step. The installation of phpmyadmin fails if root needs a password to login to th...
by fbe
Wed May 22, 2019 6:15 pm
Forum: Deutsch
Topic: SD-Karte und USB-Stick wird zerschrieben.
Replies: 8
Views: 624

Re: SD-Karte und USB-Stick wird zerschrieben.

Leg mal eine Speicherkarte neben deinen Pi und schau mal, ob die auch kaputt geht. Vielleicht kommt das ja gar nicht vom Schreiben.
by fbe
Wed May 08, 2019 7:28 pm
Forum: Deutsch
Topic: Tutorial gesucht zum Grundlagenlernen
Replies: 2
Views: 473

Re: Tutorial gesucht zum Grundlagenlernen

Vom Rheinwerk Verlag gibt es "Raspberry Pi, Das umfassende Handbuch" von Michael Kofler, Charly Kühnast, Christoph Scherbeck. Das ist schon eine ziemlich große Hafenrundfahrt mit Beispielen. Einfach mal im Buchladen deines Vertrauens (ich hab's bei Thalia in einem Berliner Außenbezirk rumstehen sehe...
by fbe
Mon May 06, 2019 7:33 pm
Forum: Troubleshooting
Topic: setting up a lamp is now a nightmare
Replies: 7
Views: 488

Re: setting up a lamp is now a nightmare

Sorry, forgot the "grant option" privilege when creating a superuser. pi@headless-pi:~ $ sudo mysql Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2 Server version: 10.1.38-MariaDB-0+deb9u1 Raspbian 9.0 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation A...
by fbe
Mon May 06, 2019 7:16 pm
Forum: Networking and servers
Topic: MySQL, interactive configuration not executed after installation
Replies: 1
Views: 205

Re: MySQL, interactive configuration not executed after installation

You have installed only MariaDB. mysql-server and default-mysql-server install nothing except for dependencies. pi@headless-pi:~ $ apt show mysql-server Package: mysql-server Version: 5.5.9999+default Priority: optional Section: misc Source: mysql-transitional Maintainer: Ondřej Surý <ondrej@debian....
by fbe
Fri May 03, 2019 4:21 am
Forum: Troubleshooting
Topic: setting up a lamp is now a nightmare
Replies: 7
Views: 488

Re: setting up a lamp is now a nightmare

sudo mysql then GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'mypassword'; This creates a new user with superuser privileges in your database. Whenever a tutorial says: mysql -u root -p type mysql -u admin -p GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'mypas...
by fbe
Tue Apr 30, 2019 8:56 pm
Forum: Beginners
Topic: Can't get a virtual keyboard to work at login with the official touchscreen
Replies: 4
Views: 465

Re: Can't get a virtual keyboard to work at login with the official touchscreen

However all the others I tried were even worse or didn't work at all! "onboard" appears to work quite well on the login screen with lightdm-gtk-greeter. sudo apt remove pi-greeter sudo apt install onboard Then edit /etc/lightdm/lightdm-gtk-greeter.conf ... [greeter] ... keyboard=onboard keyboard-po...
by fbe
Tue Apr 30, 2019 5:00 pm
Forum: Beginners
Topic: [Cheetsheet] - Headless Raspberry Pi setup with Stretch
Replies: 3
Views: 199

Re: [Cheetsheet] - Headless Raspberry Pi setup with Stretch

Congratulations! You have figured out how to create a project on GitHub. Now its time to explain the miracle, how to open a terminal on a headless Raspberry Pi... ... or to try to figure out, how to remove a project on GitHub. There is no "/boot directory" that you can access from a Windows machine ...
by fbe
Sun Apr 28, 2019 3:40 pm
Forum: Beginners
Topic: Modifying the command prompt
Replies: 5
Views: 211

Re: Modifying the command prompt

You are right. I confused that with useradd behavior. This is a good reason to prefer adduser.
With adduser the bash is the login shell and the prompt should work immediately, useradd (without -s option) uses /bin/sh.

Go to advanced search