Go to advanced search

by DirkS
Sat Jan 18, 2020 8:23 pm
Forum: General discussion
Topic: rebuilding meld
Replies: 8
Views: 497

Re: rebuilding meld

the README in the source gives all necessary information: requirements, build requirements, build commands, etc.
https://gitlab.gnome.org/GNOME/meld
by DirkS
Fri Jan 17, 2020 6:33 pm
Forum: Troubleshooting
Topic: Cannot connect to MySQL (MariaDB) running on RPi
Replies: 7
Views: 2541

Re: Cannot connect to MySQL (MariaDB) running on RPi

Hi there, in my case, I'm not able to get connected to my mysql server via phpmyadmin sending data from an Arduino Ethernet Shield. Asking for the status I get this messagge tcp 0 0 127.0.0.1:3305 0.0.0.0:* LISTEN 634/mysqld I think I couldn't get connected from remote device, isn't?, thanks. Doesn...
by DirkS
Thu Jan 16, 2020 6:01 pm
Forum: Troubleshooting
Topic: SSH not work with Wi-Fi
Replies: 8
Views: 419

Re: SSH not work with Wi-Fi

Remove
ctrl_interface=/var/run/wpa_supplicant
and the 'proto' line from wpa_supplicant.conf and reboot
by DirkS
Thu Jan 16, 2020 5:55 pm
Forum: Raspberry Pi OS
Topic: Buster - Error getting updates "not using locking....."
Replies: 5
Views: 360

Re: Buster - Error getting updates "not using locking....."

Zoandar wrote:
Thu Jan 16, 2020 5:52 pm
Thank you for the reply, but I did use sudo when I tried to run it.
Then please post command and full error msg.
NB: note that it's '--configure' (with 2 dashes / minus signs and no space) not what you posted above. That was probably mutilated by an editor.
by DirkS
Thu Jan 16, 2020 4:47 pm
Forum: Raspberry Pi OS
Topic: Buster - Error getting updates "not using locking....."
Replies: 5
Views: 360

Re: Buster - Error getting updates "not using locking....."

E: dpkg was interrupted. You must manually run 'dpkg – configure -a' to correct the problem
You need admin rights for this command.
Use

Code: Select all

sudo dpkg --configure -a
by DirkS
Thu Jan 16, 2020 3:09 pm
Forum: Troubleshooting
Topic: SSH not work with Wi-Fi
Replies: 8
Views: 419

Re: SSH not work with Wi-Fi

Maze_fr wrote:
Thu Jan 16, 2020 2:50 pm
Wifi 5G o wifi 2.4G ? RPi 0 / 2 / 3 / 4 ?

Col RPi 4 :
C'è un problema con il 2.4G quando c'è un USB3 HDD/SDD collegato.
Per utilizzare il 5G, devi scegliere il paese con raspi-config.
This is the English section of the forum, so please respond in English
by DirkS
Wed Jan 15, 2020 8:31 pm
Forum: General discussion
Topic: what have i got?
Replies: 32
Views: 1732

Re: what have i got?

I'm logged in to Google and still cannot see the images... Not surprising at all. Photos that you have not shared with the public, so Google shows the 'access denied' symbol. Soooo... how did some of the posters above know what was in the images. It looks to me OP changed the parameters or removed ...
by DirkS
Wed Jan 15, 2020 8:25 pm
Forum: Advanced users
Topic: Cache Info of Raspberry Pi 3 (BCM2837)
Replies: 3
Views: 996

Re: Cache Info of Raspberry Pi 3 (BCM2837)

All compute module datasheets are now at https://www.raspberrypi.org/documentati ... tasheet.md
by DirkS
Wed Jan 15, 2020 8:22 pm
Forum: General discussion
Topic: what have i got?
Replies: 32
Views: 1732

Re: what have i got?

hippy wrote:
Wed Jan 15, 2020 7:52 pm
Clicking the links asks me to sign-in to Google so no idea what they are showing.
I'm logged in to Google and still cannot see the images...
by DirkS
Wed Jan 15, 2020 3:16 pm
Forum: Beginners
Topic: [ SOLVED ] SSH configuration
Replies: 8
Views: 424

Re: SSH configuration

So your SSH server is *not* in your local network?
If it *is* in the local network then by default you should not have any access from remote locations...
by DirkS
Wed Jan 15, 2020 3:13 pm
Forum: Troubleshooting
Topic: enlarge screen font sizes due to visual impairment
Replies: 4
Views: 260

Re: enlarge screen font sizes due to visual impairment

You could also try Menu / Preferences / Appearance Settings / Defaults and choose a different default.
NB: this will change the complete layout / size of the Desktop, widgets, etc
by DirkS
Tue Jan 14, 2020 8:42 pm
Forum: Camera board
Topic: Pi camera
Replies: 2
Views: 259

Re: Pi camera

Emmahook2008 wrote:
Tue Jan 14, 2020 8:21 pm
Hi,

How do you turn off the pi camera preview when you have opened it from the terminal? I've tried to do it using ctrl C but it doesn't work for me.

Thanks
Emma
How did you open it exactly?
by DirkS
Sun Jan 12, 2020 6:54 pm
Forum: Beginners
Topic: (SOLVED)Tkinter works on python2 but not 3
Replies: 2
Views: 606

Re: Tkinter works on python2 but not 3

hi, i am trying to open a blank window with tkinter. I am using this code for python3 import tkinter root = tkinter.Tk() print ("test") root.mainloop() I run it using python3 tkinter.py <snip> When i run tkinter.py it gives me the error AttributeError: module 'tkinter' has no attribute 'Tk' You nam...
by DirkS
Fri Jan 10, 2020 4:26 am
Forum: Troubleshooting
Topic: Troubleshooting systemd Failure
Replies: 4
Views: 261

Re: Troubleshooting systemd Failure

If systemctl says it's still running then I would say it's the script that's the problem, not the service.
Add logging to the script to see where it goes wrong.

If the script ends / crashes systemd can restart it for you.
https://www.freedesktop.org/software/sy ... l#Restart=
by DirkS
Fri Jan 10, 2020 4:11 am
Forum: Python
Topic: Need help installing MQTT using these python commands
Replies: 9
Views: 533

Re: Need help installing MQTT using these python commands

Paddyg, do you mean I should replace the line client(client_id......... with client = mqtt.Client() then all should work? Yes. The bit you copied is just an explanation of the functions in the module. The last line below shows an example of how to use it: Creating a Client Instance The client const...
by DirkS
Thu Jan 09, 2020 8:09 pm
Forum: Troubleshooting
Topic: RPi4-4G Buster can't install CUPS
Replies: 2
Views: 182

Re: RPi4-4G Buster can't install CUPS

Run

Code: Select all

sudo apt update
before trying to install any program
by DirkS
Thu Jan 09, 2020 5:58 am
Forum: Python
Topic: Need help installing MQTT using these python commands
Replies: 9
Views: 533

Re: Need help installing MQTT using these python commands

My code consists of only the two bold lines shown. Please post the stuff I asked for... I'm not interested what's in the tutorial, but what's on your Pi. As I said:: the import statement as it's in your post will result in an error. If it does not give an error the information you have given so far...
by DirkS
Wed Jan 08, 2020 10:52 pm
Forum: Python
Topic: Need help installing MQTT using these python commands
Replies: 9
Views: 533

Re: Need help installing MQTT using these python commands

Please post your exact code and *full* error message(s). Use code tags. Import paho.mqtt.client as mqtt Creating a Client Instance The client constructor takes 4 optional parameters, as shown below .but only the client_id is necessary, and should be unique. Client(client_id=””, clean_session=True, u...
by DirkS
Wed Jan 08, 2020 10:46 pm
Forum: Raspberry Pi OS
Topic: Como instalar o Raspi-config grafico (rc_gui)
Replies: 2
Views: 303

Re: Como instalar o Raspi-config grafico (rc_gui)

Try installing it:

Code: Select all

sudo apt update
sudo install apt rc-gui
by DirkS
Wed Jan 08, 2020 8:19 pm
Forum: Troubleshooting
Topic: [Raspberry Pi 4B 2GB] USB ports do not work with multiple distros
Replies: 14
Views: 716

Re: [Raspberry Pi 4B 2GB] USB ports do not work with multiple distros

HawaiianPi wrote:
Wed Jan 08, 2020 8:00 pm
jamesh wrote:
Wed Jan 08, 2020 5:48 pm
What does lspci return?

I get command not found. :?

Code: Select all

sudo apt update
sudo apt install pciutils

Code: Select all

pi@raspiserver:$ lspci
00:00.0 PCI bridge: Broadcom Limited Device 2711 (rev 10)
01:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
seems to be 'normal'
by DirkS
Wed Jan 08, 2020 9:53 am
Forum: Troubleshooting
Topic: Display rotate RasPi4
Replies: 2
Views: 223

Re: Display rotate RasPi4

You can use the screen preferences program in the Raspbian desktop menu to set rotation permanently.
Or start the program 'arandr' manually
by DirkS
Wed Jan 08, 2020 9:45 am
Forum: Troubleshooting
Topic: [Raspberry Pi 4B 2GB] USB ports do not work with multiple distros
Replies: 14
Views: 716

Re: [Raspberry Pi 4B 2GB] USB ports do not work with multiple distros

Have you tried using a different power supply?
by DirkS
Mon Jan 06, 2020 7:43 pm
Forum: Troubleshooting
Topic: 2 USB 3 drives on pi 4B?
Replies: 4
Views: 181

Re: 2 USB 3 drives on pi 4B?

According the specs the drive should not take more than 420mA (each) when active so well below the 1.2A limit. The problem tends to be the power they need during spin up. You will most likely see connection / disconnection messages in the log (dmesg) Often you can also hear a repetitive clicking so...
by DirkS
Mon Jan 06, 2020 4:43 pm
Forum: Advanced users
Topic: MS Onedrive
Replies: 17
Views: 11898

Re: MS Onedrive

Today I checked out the client bls suggested I've been using https://github.com/abraunegg/onedrive for syncing OneDrive for quite some time. Easy to set up and works well. But I can't figure out how to make monitor mode run at startup. Tried adding onedrive --monitor & to rc.local, but it doesn't w...
by DirkS
Mon Jan 06, 2020 3:34 pm
Forum: Troubleshooting
Topic: Set static IP for usb0 in cmdline.txt
Replies: 22
Views: 794

Re: Set static IP for usb0 in cmdline.txt

To set IP in udev or dhcpcd.conf you need to edit a file on the root (ext4) partition.
I would do that using an SD card reader in a Linux machine (e.g. a Pi!) and then edit either your udev or dhcpcd configuration.

Using this method I would use dhcpcd.conf to fix the IP address

Go to advanced search