Go to advanced search

by rpdom
Wed Apr 24, 2019 11:24 am
Forum: Python
Topic: call python script via ssh with password
Replies: 3
Views: 67

Re: call python script via ssh with password

That's fairly easy. You need to set up a shared key between the machines and you'll no longer be asked for the password.

See the instructions here https://www.raspberrypi.org/documentati ... ordless.md
by rpdom
Wed Apr 24, 2019 10:21 am
Forum: General discussion
Topic: Max Power Supply For Raspberry Pi 3 b +
Replies: 34
Views: 700

Re: Max Power Supply For Raspberry Pi 3 b +

Lucifer22334 wrote:
Wed Apr 24, 2019 9:30 am
So can You Suggest me Circuit or refer me? I am going to use the Transformers used in Laptop charger or mobile charger.
Just buy one. 230V to 12V/5V or whatever power supplies are readily available for a small cost.
by rpdom
Wed Apr 24, 2019 10:14 am
Forum: Beginners
Topic: 3B+ as webserver 24/7 on iPad charger
Replies: 16
Views: 262

Re: 3B+ as webserver 24/7 on iPad charger

For Pi2 and later I only use the official Power Supplies.

The Pi 1 was marketed as being able to be powered from a GOOD phone charger with an output of 700mA or more at 5V. I have a Pi 1A that has been running from an early Kindle charger for over five years now.
by rpdom
Wed Apr 24, 2019 8:48 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 166
Views: 3050

Re: ScriptBasic

ScriptBasic wrote:
Wed Apr 24, 2019 1:18 am
I was able to open the i2c device with ScriptBasic without error. From what I picked up so far it's a serial interface (9600 baud?)
Nowhere near as slow as that.
Between 100 Kbps and 5Mbps, depending on setup.
by rpdom
Wed Apr 24, 2019 5:56 am
Forum: Python
Topic: Restricted to Thonny version 2?
Replies: 5
Views: 105

Re: Restricted to Thonny version 2?

What does apt policy and apt policy thonny show? I get this in Raspbian Stretch: pi@raspi11:~ $ apt policy Package files: 100 /var/lib/dpkg/status release a=now 500 http://archive.raspberrypi.org/debian stretch/ui armhf Packages release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry Pi Fou...
by rpdom
Tue Apr 23, 2019 7:29 pm
Forum: Python
Topic: Controlling LED strip from GPIO Help?
Replies: 4
Views: 83

Re: Controlling LED strip from GPIO Help?

danjperron wrote:
Tue Apr 23, 2019 7:15 pm
There is a third one using the SPI.

viewtopic.php?f=44&t=182755&hilit=neopixel
Maybe that was the one I was thinking of when I said PCM. I could have been wrong. I've only used the PWM method so far and not had any major problems with it on a Pi Zero driving 56 LEDs for the last few years.
by rpdom
Tue Apr 23, 2019 7:11 pm
Forum: Python
Topic: Controlling LED strip from GPIO Help?
Replies: 4
Views: 83

Re: Controlling LED strip from GPIO Help?

Timing for these ws2811 is very strict and is difficult to achieve on a linux system. I propose to use an arduino board as LED controller and to transmit the led brightness data by serial connection. There are two methods for controlling these devices from Raspbian on a Pi. One uses the hardware PW...
by rpdom
Tue Apr 23, 2019 5:49 pm
Forum: General discussion
Topic: Connecting a tactile switch
Replies: 33
Views: 975

Re: Connecting a tactile switch

No, you can't use a diode in place of a capacitor. They have completely different functions. What you might be able to do is change your code to ignore short blips. I have something that checks a switch in a noisy (ish) environment and the code does something like this: while true: if button is pres...
by rpdom
Tue Apr 23, 2019 5:33 pm
Forum: Troubleshooting
Topic: How to generate PDF with PHP package
Replies: 5
Views: 64

Re: How to generate PDF with PHP package

I've used fpdf (package: php-fpdf) to generate pdf files in PHP. Whether it will handle what you need, I can't say. It might be worth a look.
by rpdom
Tue Apr 23, 2019 1:01 pm
Forum: Arch
Topic: Manjaro dropping ARMv7 support
Replies: 32
Views: 594

Re: Manjaro dropping ARMv7 support

the spreading of the myth that one needs a 64-bit architecture to use larger memory sizes, that one can't access more than 4GB RAM without moving to a 64-bit architecture. Without some kind of horrible address mapping thing in hardware, how can a 32-bit address access more than 4GB? Well, the simpl...
by rpdom
Tue Apr 23, 2019 9:13 am
Forum: General discussion
Topic: Clever Solution for the Micro SD light?
Replies: 7
Views: 200

Re: Clever Solution for the Micro SD light?

jamesh wrote:
Tue Apr 23, 2019 8:38 am
Also, why do you need an SD card adapter on a Pi?
Only thing I can think of is a micro SD card in a USB adaptor (with LED). Possibly booting a Pi3 B(+) that way instead of using the internal card slot, or using it as extra storage.
by rpdom
Tue Apr 23, 2019 9:10 am
Forum: Troubleshooting
Topic: GPIO command via shell doesn't work
Replies: 2
Views: 46

Re: GPIO command via shell doesn't work

Without knowing what is in your scripts we cannot guess at the answer.
by rpdom
Tue Apr 23, 2019 7:17 am
Forum: Beginners
Topic: How to install tp-link :TL-WN725N wireless nano usb adapter
Replies: 3
Views: 70

Re: How to install tp-link :TL-WN725N wireless nano usb adapter

See this thread for how to install drivers. https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=62371 It is long because it keeps getting updated for newer versions, but the general advice should work and if it doesn't, then skip to the end and leave a comment with what you tried and what happen...
by rpdom
Tue Apr 23, 2019 6:13 am
Forum: Beginners
Topic: How to install tp-link :TL-WN725N wireless nano usb adapter
Replies: 3
Views: 70

Re: How to install tp-link :TL-WN725N wireless nano usb adapter

I suspect there is someone here who can help with drivers for that adaptor, but first it is essential to determine exactly which chipset that adapter uses (It can vary. Sometimes manufacturers will switch the chips inside their adaptors and produce new Windows drivers and not tell anybody). So, with...
by rpdom
Tue Apr 23, 2019 12:24 am
Forum: Raspbian
Topic: "Cannot open access to console. The root account is locked see sulogin(8) man page for more details."
Replies: 24
Views: 23387

Re: "Cannot open access to console. The root account is locked see sulogin(8) man page for more details."

daudipa wrote:
Fri Mar 08, 2019 8:51 pm
One question remains: I had the last two columns in fstab set to "0 0". Does the last zero matter? Maybe somebody knows or can take the time to experiment.
The last zero doesn't matter. In fact you can leave both of those last two numbers off of the the entry in fstab without it affecting anythng.
by rpdom
Mon Apr 22, 2019 6:08 pm
Forum: Networking and servers
Topic: Samba performance with 3+?
Replies: 15
Views: 8321

Re: Samba performance with 3+?

AndriusWild wrote:
Mon Apr 22, 2019 4:32 pm
Is having the HDD formatted ext4 a must? Mine is NTFS and the speed is terrible...
It is not essential, but will be considerably faster than NTFS.

If you are not planning to remove the drive from the Pi and plug it directly into a Windows system there is no reason to have it formatted as NTFS.
by rpdom
Mon Apr 22, 2019 5:03 am
Forum: Beginners
Topic: Selecting text automatically copies it - how to stop
Replies: 7
Views: 178

Re: Selecting text automatically copies it - how to stop

Are you using a Pi though PuTTY? When I last used PuTTY (a long time ago, I've been 100% Linux for over 15 years now), it had the annoying feature that selecting text automatically put it on the clipboard. I also encountered some multi-window ssh system that did the same. It can probably be disabled...
by rpdom
Mon Apr 22, 2019 4:59 am
Forum: Troubleshooting
Topic: Apache Server public connection issue
Replies: 5
Views: 83

Re: Apache Server public connection issue

in my php when i use the Header meathod to redirect i use an IP address follwed by the file system. So I need to remove the ip address from that line? Here is an example: header("Location: http://192.168.0.11/html/Login.php" Is 192.168.0.11 the same Pi, or is it another one on on your internal netw...
by rpdom
Mon Apr 22, 2019 4:47 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Queries about the Raspberry Pi Desktop
Replies: 11
Views: 250

Re: Queries about the Raspberry Pi Desktop

but do I have to install the Raspbian operating system from the Raspberry Pi that has an SD Card with NOOBS in it? If the Pi has a NOOBS card, it will ask you which OS you want to install when you first turn it on (with appropriate screen, keyboard and mouse connected. Make sure the screen is on be...
by rpdom
Mon Apr 22, 2019 4:38 am
Forum: Camera board
Topic: How does MotionEye work?
Replies: 4
Views: 212

Re: How does MotionEye work?

To anyone with a brian He's not the messiah. He's a very naughty boy? ;) Sorry, I've never used MotionEyeOS, so can't help. There are people here who might have been able to, but it is a long weekend here with four days off work for most people, so they will be doing other things. Also the tone of ...
by rpdom
Sun Apr 21, 2019 6:30 pm
Forum: Raspbian
Topic: Scipt not working if looged in with Putty
Replies: 5
Views: 122

Re: Scipt not working if looged in with Putty

How is your script being started after a reboot?
by rpdom
Sun Apr 21, 2019 12:34 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Queries about the Raspberry Pi Desktop
Replies: 11
Views: 250

Re: Queries about the Raspberry Pi Desktop

let's say if this is the first time that I'm starting the Raspberry Pi with an SD card containing NOOBS and it prompts me to install the Raspbian operating system, do I have to install the Debian with Raspberry Pi Desktop again or beforehand on the x86 architecture computers? You don't need to inst...
by rpdom
Sun Apr 21, 2019 3:51 am
Forum: Beginners
Topic: Selecting GPIO pins for LCD character screen
Replies: 9
Views: 144

Re: Selecting GPIO pins for LCD character screen

Those pins should be fine.
by rpdom
Sun Apr 21, 2019 3:19 am
Forum: Linux Kernel
Topic: How to set RAM size so that start.elf knows the right value - OpenWRT
Replies: 3
Views: 91

Re: How to set RAM size so that start.elf knows the right value - OpenWRT

Those values set the split between gpu and cpu. That is what is used by start.elf.

What does your cmdline.txt look like?
by rpdom
Sat Apr 20, 2019 11:25 am
Forum: General discussion
Topic: Can a 128GB SD card work as memory?
Replies: 15
Views: 592

Re: Can a 128GB SD card work as memory?

The Raspberry Pi computers support the SDXC standard, which is cards up to 2TB (although none that large exist yet). We're not quite up to 2TB That is what HawaiianPi said. The Pi supports the standard. The standard allows for cards up to 2TB. He did not say that cards that size existed, in fact he...

Go to advanced search