Go to advanced search

by rpdom
Sun Oct 17, 2021 3:31 pm
Forum: HATs and other add-ons
Topic: Does Anyone Know of Large Character LCDs?
Replies: 5
Views: 176

Re: Does Anyone Know of Large Character LCDs?

The usual displays use the HD44780 or clones/compatible controllers and usually go from 8x1 to 20x4, although I think they support up to 32x4. If you want more lines and characters or larger characters then you'd be better off using a full graphics display panel. Anything else is going to be special...
by rpdom
Sun Oct 17, 2021 3:22 pm
Forum: Networking and servers
Topic: Raspberry Pi 3 B+ webserver project
Replies: 1
Views: 145

Re: Raspberry Pi 3 B+ webserver project

You're going to have to give us a bit more information than "doesn't work".

What doesn't work?

What errors do you get, if any, in the browser and in your webserver logs?

What software is being used for your webserver? (Apache/Nginx, PHP, Javascript etc)
by rpdom
Sun Oct 17, 2021 3:18 pm
Forum: Other programming languages
Topic: Bash Script Help
Replies: 3
Views: 115

Re: Bash Script Help

The '\r': command not found messages are probably because you edited the script using something like Windows Notepad. Windows text editors tend to put a CRLF at the end of every line, but Linux uses just LF. So it is treating the CR ('\r') as part of the script, not a line terminator, and gets upset...
by rpdom
Sat Oct 16, 2021 3:46 pm
Forum: General discussion
Topic: Raspberry pi zero v1.3 ipmi (piKVM)
Replies: 8
Views: 346

Re: Raspberry pi zero v1.3 ipmi (piKVM)

I am assuming that the built-in WiFi on the Zero W will be used to access it remotely. I can't see how it could work without that. The sole microUSB on the Zero is used to provide the keyboard/mouse emulator.
by rpdom
Fri Oct 15, 2021 4:14 pm
Forum: Networking and servers
Topic: Can not use "apt update", errors out
Replies: 4
Views: 172

Re: Can not use "apt update", errors out

Looking at your error messages, I can say three things: 1. DNS lookup is working for both IPv4 and IPv6. That means your Pi can access a working DNS server. 2. IPv6 is either unavailable, or is not routed correctly - "Network is unreachable". Not all ISPs provide IPv6 yet. 3. IPv4 is being...
by rpdom
Fri Oct 15, 2021 4:01 pm
Forum: Troubleshooting
Topic: Issue with SD Card Formatter
Replies: 9
Views: 311

Re: Issue with SD Card Formatter

I can only think that the RaspberryPi site pointed me there. I doubt that any current instructions on the Raspberry Pi site would point you at the NOOBS area on github. NOOBS has been effectively dead for a year or two now. If you can find a link from the site, post it here, or preferably use the g...
by rpdom
Thu Oct 14, 2021 5:14 pm
Forum: General discussion
Topic: how to best erase data on a big usb drive?
Replies: 9
Views: 342

Re: how to best erase data on a big usb drive?

Bosse_B wrote:
Thu Oct 14, 2021 4:28 pm
Would rm -r be a slow function given the size of the data on the disk?
rm will just parse the directory structure, unlinking all the allocated sectors and removing the filename entries. It doesn't overwrite the data, just marks it as free space. It shouldn't take long at all.
by rpdom
Thu Oct 14, 2021 4:17 pm
Forum: General discussion
Topic: how to best erase data on a big usb drive?
Replies: 9
Views: 342

Re: how to best erase data on a big usb drive?

Unmount the filesystem and just create a new ext4fs on there. You can do that from the command line use parted or gparted from the GUI (launched via a terminal).

rm -r would also work. It won't fully wipe the data, but will delete the filenames and make all the space available again.
by rpdom
Thu Oct 14, 2021 4:12 pm
Forum: General
Topic: Is the pico able to share the whole ram between the cores?
Replies: 5
Views: 329

Re: Is the pico able to share the whole ram between the cores?

To stray a little off topic - the Elliott 803 (look it up) at the National Computer Museum is now sporting a Raspberry Pico to mirror its entire RAM store. it checks new memory reads against the last write in real time to pinpoint memory errors on this venerable machine. There is a write-up here (s...
by rpdom
Thu Oct 14, 2021 4:09 pm
Forum: Other projects
Topic: Shift register showing all 1's / not working
Replies: 14
Views: 427

Re: Shift register showing all 1's / not working

Can you post a diagram of how you have connected it to your raspberry Pi?
by rpdom
Thu Oct 14, 2021 2:28 pm
Forum: Beginners
Topic: Just found my old Raspberry Pi B+ (2014) : Seeking for documentation
Replies: 6
Views: 269

Re: Just found my old Raspberry Pi B+ (2014) : Seeking for documentation

... And yes, I do know this all works because I have a 2014 B+ here to test it on. Likewise and back to the 2nd. batch of the first Pi ie. a "B1" : http://www.cpmspectrepi.uk/raspberry_pi/MoinMoinExport/RaspbianBusterB1VncTest.html (In other words I have at least one sample of each model ...
by rpdom
Thu Oct 14, 2021 11:23 am
Forum: Beginners
Topic: Just found my old Raspberry Pi B+ (2014) : Seeking for documentation
Replies: 6
Views: 269

Re: Just found my old Raspberry Pi B+ (2014) : Seeking for documentation

1) I don't have the power supply anymore, but I think that it just need a 5.1V USB cable. Is that right ? The official power supply is 5.1V at up to 2A (I believe). If you aren't using any USB devices you can get away with a good 5V 1A supply. 2) I connected the Pi with an micro USB B cable, and co...
by rpdom
Thu Oct 14, 2021 10:31 am
Forum: Troubleshooting
Topic: Problem with Zip Command [SOLVED]
Replies: 3
Views: 137

Re: Problem with Zip Command

When compressing a directory you either give the full path to the directory starting with a "/", which I guess would be /media/pi/RPI4B/Pictures/GOES/GOES_16/2021_10_14_09-25-25_UTC in your case, or a relative path to the directory either starting without a "/" or starting with &...
by rpdom
Wed Oct 13, 2021 2:46 pm
Forum: Off topic discussion
Topic: Car chip shortage, and RP 2040?
Replies: 43
Views: 2053

Re: Car chip shortage, and RP 2040?

The car I drive at the moment is the first one I've had with all that electricky stuff in it. Despite my previous car being near the top of the range it didn't have that. Electric front windows, central locking and automatic choke were the fancy bits on that one. No ABS, ECU or anything like that.
by rpdom
Wed Oct 13, 2021 2:39 pm
Forum: Networking and servers
Topic: Funny Thing Happen To My Web Site
Replies: 21
Views: 800

Re: Funny Thing Happen To My Web Site

General I use either Apache or Nginx depending on which I feel like using. It's pretty much 50/50 for me. Some things are easier in one and some in another. I have been told that Nginx is not a web server, it is a proxy server. That is partially true. For things like PHP it passes the request to PHP...
by rpdom
Wed Oct 13, 2021 7:08 am
Forum: Troubleshooting
Topic: Using VSCode with a Raspberry Pi 1
Replies: 2
Views: 110

Re: Using VSCode with a Raspberry Pi 1

I believe Vscode requires an ARMv7 CPU or later. The Pi 1 and 0 have an ARMv6 CPU.
by rpdom
Mon Oct 11, 2021 6:08 pm
Forum: Python
Topic: port permission issues?
Replies: 2
Views: 124

Re: port permission issues?

dan s wrote:
Mon Oct 11, 2021 6:03 pm
Do pi have some kind of weird permission settings I'm not aware of?
Standard Linux/Unix permissions for listening on port 80. Ports below 1024 need root privileges (sudo in this case).
by rpdom
Mon Oct 11, 2021 6:04 pm
Forum: General discussion
Topic: Latest Raspberry Pi Zero W version?
Replies: 22
Views: 998

Re: Latest Raspberry Pi Zero W version?

They probably did launch in 2017. The copyright on the board indicates when it was designed, not when it was released'. Okay, but why are there 2 dates? What was re-designed in 2017 that required a new date but not a new hardware revision? Perhaps it was just a routing change or something else to h...
by rpdom
Mon Oct 11, 2021 6:02 pm
Forum: C/C++
Topic: disable green LEd ?
Replies: 27
Views: 1071

Re: disable green LEd ?

You and I are NOT playing from same sheet of music. You want me to report , form an opinion, on how people communicate. In my opinion - that i your job. Incorrect. The moderators mostly act reactively rather than proactively. They don't have the time to read through every post to see if it has offe...
by rpdom
Mon Oct 11, 2021 4:05 pm
Forum: General discussion
Topic: Confused over set-up of pi?
Replies: 7
Views: 423

Re: Confused over set-up of pi?

I then created altered the /etc/fstab and added the line '/dev/sda1 home/pi/mnt/CamFiles ntfs nofail, uid=1000,gid=1000, 0 0' Let's look at that line again in a monospaced font: /dev/sda1 home/pi/mnt/CamFiles ntfs nofail, uid=1000,gid=1000, 0 0 There should be a "/" in front of /home/pi.....
by rpdom
Mon Oct 11, 2021 3:24 pm
Forum: General
Topic: Interpretor List not displayed in Thonny
Replies: 14
Views: 356

Re: Interpretor List not displayed in Thonny

All my Pi Computers are loaded with Raspbian. Sorry, I don't know how to find out which version it is. Try this command to get the version details pi@raspi7:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" V...
by rpdom
Sun Oct 10, 2021 4:10 pm
Forum: C/C++
Topic: disable green LEd ?
Replies: 27
Views: 1071

Re: disable green LEd ?

1. They are normal Linux files. They have various names. Interfaces is one. 2. They are not a specific RPi OS addition. They exist on many Linux versions for any hardware that supports them. 3. Not that I know of. 4 No, you are not wring. They have been developed as a handy way to pass parameters to...
by rpdom
Sun Oct 10, 2021 7:13 am
Forum: Advanced users
Topic: Can I back up/restore an image containing an OS multiple partitions to an SD card?
Replies: 7
Views: 346

Re: Can I back up/restore an image containing an OS multiple partitions to an SD card?

Sometimes it's just a MB or two, sometimes a bit more. Probably shouldn't be more than 100MB max.

If you want to be on the safe side, shrink your image down as much as possible and have something that expands it to fill the card on first boot, just like the Raspberry Pi OS does.
by rpdom
Sun Oct 10, 2021 6:54 am
Forum: Advanced users
Topic: Can I back up/restore an image containing an OS multiple partitions to an SD card?
Replies: 7
Views: 346

Re: Can I back up/restore an image containing an OS multiple partitions to an SD card?

One thing to watch is that SD cards are often slightly different sizes - even ones of the same make and marked capacity.

You can restore an image to a card that is the same size or larger than the original, but not one that is smaller (unless you somehow shrink the image first).
by rpdom
Sun Oct 10, 2021 6:12 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: How to install nvidia drivers on Raspberry Pi OS for PC and Mac
Replies: 2
Views: 353

Re: How to install nvidia drivers on Raspberry Pi OS for PC and Mac

It might be easier to use the "equivs" package to make a dummy package that satisfies the missing dependency and install that with dpkg than to repackage the whole raspberrypi-ui-mods.

Go to advanced search