Go to advanced search

by rpdom
Mon Jun 22, 2020 5:10 pm
Forum: Other projects
Topic: Car pi question
Replies: 12
Views: 740

Re: Car pi question

Some years ago I thought the intention of the pi was to have stacked HATs There was some consideration put into stackable HATs in the early days, but there were too many possibilities of conflicts on GPIOs and the fact the eeproms would need different addresses. The PoE HAT is the only official HAT...
by rpdom
Mon Jun 22, 2020 3:15 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 756

Re: ftp server - unable to upload files

What command did you run to mount the disk?

When it is mounted, could you show the result of the command

Code: Select all

mount | grep mydisk
That will list the mount attributes of the file system.
by rpdom
Mon Jun 22, 2020 3:11 pm
Forum: HATs and other add-ons
Topic: Raspberry Pi to Mini ENC28J60 Ethernet Adapter Board
Replies: 2
Views: 174

Re: Raspberry Pi to Mini ENC28J60 Ethernet Adapter Board

The only downside over using a USB adapter is that it's only 10BaseT Well, compared to some of the cheap USB Ethernet adaptors that use the DM9601 chipset, that wouldn't be much of a problem. The DM9601 may be 100BaseT, but it only supports USB1 at 11Mbps. Allow for USB overhead and those adaptors ...
by rpdom
Mon Jun 22, 2020 6:40 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 won't boot after crashing. Red solid light only.
Replies: 3
Views: 181

Re: Raspberry Pi 4 won't boot after crashing. Red solid light only.

jonbristow wrote:
Mon Jun 22, 2020 6:19 am
Should the red light be always on?
Yes. The red light indicates that 5 volt power level is good.
by rpdom
Mon Jun 22, 2020 6:05 am
Forum: Raspberry Pi OS
Topic: Raspberry Pi Imager for Raspberry Pi OS
Replies: 7
Views: 467

Re: Raspberry Pi Imager for Raspberry Pi OS

There is one. You install it using apt, the same way you'd normally install Raspberry Pi OS software.

Code: Select all

sudo apt update
sudo apt install rpi-imager
by rpdom
Sun Jun 21, 2020 6:56 pm
Forum: General discussion
Topic: What's the minimum A to boot a Raspberry
Replies: 10
Views: 540

Re: What's the minimum A to boot a Raspberry

It depends which Raspberry Pi model. The Zero can get away with about 0.25A. The 1B requires about 0.5A. The 2B requires about 1.2A. The 3B requires about 1.5A. The 4B requires about 1.7A. That is just for the bare boards, with no peripherals (USB or GPIO devices) attached. Values may vary, dependin...
by rpdom
Sun Jun 21, 2020 2:26 pm
Forum: Ubuntu
Topic: SSD boot ubuntu without microSD on RPI4?
Replies: 6
Views: 518

Re: SSD boot ubuntu without microSD on RPI4?

As always, when this comes up, the eternal question is: Why? Why bother? It works with boot from SD card (rootfs on your USB device), and is better for a variety of reasons this way. The ultimate "because we can" project... I'm absolutely serious about the question. I've never seen any convincing a...
by rpdom
Sat Jun 20, 2020 7:06 pm
Forum: General discussion
Topic: Get notification when Pi goes down or loses network connection
Replies: 21
Views: 502

Re: Get notification when Pi goes down or loses network connection

Option 1 - An email is sent to me. Option 2 - I recieve a text Option 3 (preferred) - My phone is called. I could do 1 or 2 quite easily. Emails just need an independent system that the Pi will message on a regular basis, and if that system doesn't receive a message from the Pi in so many minutes i...
by rpdom
Sat Jun 20, 2020 6:59 pm
Forum: General discussion
Topic: Best OS for raspberry pi as a everyday desktop?
Replies: 50
Views: 12456

Re: Best OS for raspberry pi as a everyday desktop?

In the old days we bough newspapers and magazines. You know real printed material printed on paper. Those newspapers and magazines were full of advertising. I guess the papers and magazines survived off adverting revenue as much as the purchase price of the paper. What is the difference? One of the...
by rpdom
Sat Jun 20, 2020 5:39 pm
Forum: General discussion
Topic: Get notification when Pi goes down or loses network connection
Replies: 21
Views: 502

Re: Get notification when Pi goes down or loses network connection

Option 1 - An email is sent to me. Option 2 - I recieve a text Option 3 (preferred) - My phone is called. I could do 1 or 2 quite easily. Emails just need an independent system that the Pi will message on a regular basis, and if that system doesn't receive a message from the Pi in so many minutes i...
by rpdom
Sat Jun 20, 2020 5:26 pm
Forum: Beginners
Topic: Copy entire file system to a smaller SD card.
Replies: 17
Views: 9081

Re: Copy entire file system to a smaller SD card.

It uses cp. I verified this a long time ago, by checking "ps" while it was running. Well, I can see the thinking behind that. rsync has a little overhead an a straight cp should be slightly faster. It'll be fine as long as not too much is changing while it is running. That is why I prefer to do a b...
by rpdom
Sat Jun 20, 2020 5:21 pm
Forum: Troubleshooting
Topic: yet another cant sudo apt update
Replies: 4
Views: 208

Re: yet another cant sudo apt update

If you can access your Pi with SSH on your local network, you should be able to copy/paste the output from the command from the SSH window to your browser when posting. Another alternative is to write the output to a file and then copy that off the SD card to another computer. There are many ways to...
by rpdom
Sat Jun 20, 2020 4:57 pm
Forum: C/C++
Topic: Bug Report - misbehaving little C++ code
Replies: 24
Views: 1220

Re: Bug Report - misbehaving little C++ code

I am considering becoming a debian developer. A very worthy aim. I have known/worked with a few Debian devs. One managed an application (which I think has been dropped now as it was a bit specialised and no longer used). The other was one of the main kernel maintainers, who I'm still friends with o...
by rpdom
Sat Jun 20, 2020 3:21 pm
Forum: Beginners
Topic: Copy entire file system to a smaller SD card.
Replies: 17
Views: 9081

Re: Copy entire file system to a smaller SD card.

contrex wrote:
Sat Jun 20, 2020 2:59 pm
Thanks for replying. How does the Raspbian GUI sd card copier app work?
I haven't actually looked at it, but I strongly suspect it is using rsync.
by rpdom
Sat Jun 20, 2020 12:50 pm
Forum: Troubleshooting
Topic: MXL7704 fried, anybody wants to analyze?
Replies: 5
Views: 205

Re: MXL7704 fried, anybody wants to analyze?

It is a customised version.

It has been suggested that the RPT may be able to sell the specific chip in quantities off 100+.
by rpdom
Sat Jun 20, 2020 12:16 pm
Forum: General discussion
Topic: Maximum SD card interface speed
Replies: 6
Views: 294

Re: Maximum SD card interface speed

Others will probably reply with better details soon, but generally A1 rated cards are the best. Cards designed for high quality cameras aren't always the best as they are aimed at constant streaming of data to one file, not random read/writes all over the place. For the Pi 4, I think a USB3.0 SSD dr...
by rpdom
Sat Jun 20, 2020 11:59 am
Forum: Beginners
Topic: How safe is the GPIO from RPi 4B
Replies: 21
Views: 684

Re: How safe is the GPIO from RPi 4B

Yeap looks like so... I've checked everything, I just didn't know and still don't get why 3v3+gnd shorts the pi... Shouldn't it handle it? Why not? I'm still learning about electricity, but I still don't get that. What happens if you short out your mains electrical supply by connecting Live to Neut...
by rpdom
Sat Jun 20, 2020 10:54 am
Forum: General discussion
Topic: Getting shock from micro hdmi port when connected to tv hdmi port
Replies: 66
Views: 2336

Re: Getting shock from micro hdmi port when connected to tv hdmi port

Heater wrote:
Sat Jun 20, 2020 10:47 am
I conclude that you have to try pretty hard to kill yourself or anyone else with household electricity and all these ever stringent regulations are a bit pointless.
Perhaps it is because of those "stringent regulations" that so few die?
by rpdom
Sat Jun 20, 2020 10:48 am
Forum: Beginners
Topic: Copy entire file system to a smaller SD card.
Replies: 17
Views: 9081

Re: Copy entire file system to a smaller SD card.

Some people say that dd is an unsafe way to backup a Pi (or any running Linux system) because files can change during the copy and you might get a corrupted image. I have been using the above method for years now, should I now stop? And try rsync, as suggested by some? I made an answer on Raspberry...
by rpdom
Sat Jun 20, 2020 5:04 am
Forum: Compute Module
Topic: i2c not working with the GPIO pin 2 and 3
Replies: 10
Views: 436

Re: i2c not working with the GPIO pin 2 and 3

I am using Pi 3 B+ compute module Ah, this is important information! Unlike a standard Pi, the Compute Modules don't have the 1K8 pull-up resistors for i2c1 fitted as standard. Using the internal weak (50K) pull-ups won't be sufficient. You would have to add them to your CM carrier board (I haven't...
by rpdom
Fri Jun 19, 2020 3:22 pm
Forum: General discussion
Topic: How to reverse SSH into Pi using cloud server?
Replies: 5
Views: 300

Re: How to reverse SSH into Pi using cloud server?

It may be possible with an SSH tunnel (I used to use one a long time ago), but would be much easier with a VPN. I have a could server (actually two of them) that run the tinc vpn software. Tinc is a mesh VPN that routes traffic between machines using the best rout possible and can cope with failures...
by rpdom
Fri Jun 19, 2020 2:47 pm
Forum: Compute Module
Topic: i2c not working with the GPIO pin 2 and 3
Replies: 10
Views: 436

Re: i2c not working with the GPIO pin 2 and 3

It looks like there is something wrong with your Pi.

With nothing connected to the GPIO pins, i2cdetect -y 1 should show just a set of "--"s. Showing all numbers sounds like the SDA pin is shorted to ground, but it is odd that it seems to stop when your device is connected.
by rpdom
Fri Jun 19, 2020 2:27 pm
Forum: Troubleshooting
Topic: I think my Pi3 is almost dead
Replies: 7
Views: 372

Re: I think my Pi3 is almost dead

A blank screen is what you will get on a Pi3 that has no bootable SD card (unless it has been configured for USB or network boot and has either a bootable USB device or a suitable network boot server). Until the first stages of the bootloader have been started the Pi has no concept of a screen (the ...
by rpdom
Fri Jun 19, 2020 9:46 am
Forum: Other projects
Topic: Solar Power for Multiple Pi 4's
Replies: 4
Views: 216

Re: Solar Power for Multiple Pi 4's

Just get a load of cheap buck-regulators to step down from 12V to 5V. Use one for each Pi.
by rpdom
Fri Jun 19, 2020 9:30 am
Forum: Troubleshooting
Topic: I think my Pi3 is almost dead
Replies: 7
Views: 372

Re: I think my Pi3 is almost dead

Burngate wrote:
Fri Jun 19, 2020 9:23 am
GPIO header pin 1 is 5v after the ideal diode; both correct.
GPIO header pin 2 3v3 from the DC-DC, also correct.
Shouldn't that be the other way round?

Pin 1 is 3v3 and Pin 2 & 4 are 5V.

Go to advanced search