Go to advanced search

by buja
Sun Feb 16, 2020 2:42 pm
Forum: Troubleshooting
Topic: SSH very slow - SOLVED
Replies: 6
Views: 152

Re: SSH very slow SOLVED

pcmanbob wrote:
Sun Feb 16, 2020 12:52 pm
You don't have some thing silly like both pi's having the same hostname ?
No, nothing that silly, but I cannot rule out any other silliness.
by buja
Sun Feb 16, 2020 12:41 pm
Forum: Troubleshooting
Topic: SSH very slow - SOLVED
Replies: 6
Views: 152

Re: SSH very slow

Thanks for the replies. htop does not give anything special, but when I shut down the Pi 4B (also on the WiFi network) things improved. While I am writing this the Zero is compiling SC (Spreadsheet Calculator, some 20,000 lines in C) to keep it busy in one SSH session and I can work simultaneously i...
by buja
Sun Feb 16, 2020 11:02 am
Forum: Troubleshooting
Topic: SSH very slow - SOLVED
Replies: 6
Views: 152

SSH very slow - SOLVED

I have a new Pi Zero WH and I have trouble working with it through SSH. It works, but the response is so slow you cannot work with it. Typing things on the command line can take several minutes (actually, typing ahead works, but the response can take a few minutes). The Zero runs Raspbian 10 Buster ...
by buja
Thu Feb 13, 2020 6:29 pm
Forum: General discussion
Topic: The Brexit begins to bring consequences...
Replies: 16
Views: 741

Re: The Brexit begins to bring consequences...

Raspberry Pi Products BoM are in $$$, therefore there will always be local taxes, currency exchange in whatever country one is buying. ... You miss the point completely, this topic has nothing to do with the manufacturing costs of the Pi, expressed in dollars, Euros, rupees, yuans or whatever curre...
by buja
Thu Feb 13, 2020 5:15 pm
Forum: General discussion
Topic: The Brexit begins to bring consequences...
Replies: 16
Views: 741

Re: The Brexit begins to bring consequences...

As long as a company has a website in a language I know, accepts payment in my local currency, can deliver within a reasonable timeframe, accepts my payment method, and doesn't add excessive postage and packing costs - I've never worried much about where they are based or where the goods are shippe...
by buja
Sun Feb 02, 2020 11:17 am
Forum: C/C++
Topic: 6line "copyin" microsecond timestamping
Replies: 11
Views: 278

Re: 6line "copyin" microsecond timestamping

HermannSW wrote:
Sun Feb 02, 2020 10:55 am
...
Implementation does not look nice.
...
Using underscores as identifiers, not so nice is bit of an understatement I think. :D
Quick hack from the hospital?
by buja
Thu Jan 23, 2020 10:31 am
Forum: Nederlands
Topic: inloggen via putty
Replies: 14
Views: 337

Re: inloggen via putty

Wat je gedaan hebt werkt gewoon precies zoals het hoort, je komt in de command line omgeving terecht, dus werken met het toetsenbord en pure tekst. Wil je de grafische omgeving gebruiken, dan is niet Putty maar Real VNC de tool die je moet hebben. Real VNC bestaat uit twee delen: de server op de Pi ...
by buja
Thu Jan 16, 2020 6:13 am
Forum: Off topic discussion
Topic: For those wanting a portable Pi...
Replies: 4
Views: 689

Re: For those wanting a portable Pi...

I have one (as already mentioned here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=236386). I use it with a Raspberry Pi and this works very well (2B, 3B). Compared to a VNC connection the image is much better (no scaling issues). You could say the Nexdock is the modern terminal: no CPU,...
by buja
Mon Jan 13, 2020 6:52 pm
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 236

Re: System time not synchonizing with time servers (solved)

Update: after the check this morning I powered the Pi down and went to work. When I came back home in the afternoon I started the Pi up again, time was set at this morning. I left home again and when I returned later the time was updated correctly about 15 minutes after boot. I can also see the Pi t...
by buja
Mon Jan 13, 2020 8:27 am
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2205

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

The solution could be much simpler: a clear indication on the memory chip, preferably in big white characters instead of some obscure code in a hard to read colour. Not something the Pi manufacturer should have to do, but the manufacturer of the memory chip, encouraged to do so by the buyer of the ...
by buja
Mon Jan 13, 2020 5:51 am
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 236

Re: System time not synchonizing with time servers

Thanks! I kept the system running overnight and did sudo systemctl status systemd-timesyncd this morning with the following result: ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Drop-In: /lib...
by buja
Sun Jan 12, 2020 10:05 pm
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2205

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

The solution could be much simpler: a clear indication on the memory chip, preferably in big white characters instead of some obscure code in a hard to read colour. Not something the Pi manufacturer should have to do, but the manufacturer of the memory chip, encouraged to do so by the buyer of the m...
by buja
Sun Jan 12, 2020 9:25 pm
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 236

System time not synchonizing with time servers

I just started up a Pi 2B to an apt update , but it failed because the system time was wrong: 25 December. That was strange because it should have updated the system date during boot. A similar thing happened a couple of weeks ago on a PC and the solution was to restart the systemd time synchronizat...
by buja
Sun Jan 12, 2020 3:47 pm
Forum: Off topic discussion
Topic: is there *realy* an xkcd for everything?
Replies: 2
Views: 657

Re: is there *realy* an xkcd for everything?

bls wrote:
Sun Jan 12, 2020 3:11 pm
This one is applicable to this forum fairly often: https://xkcd.com/627/ :lol:
:lol:
by buja
Sun Jan 12, 2020 12:46 pm
Forum: Troubleshooting
Topic: Rescue files from a dying Pi
Replies: 6
Views: 476

Re: Rescue files from a dying Pi

Good news!

Just one more word: backup :!:
by buja
Sun Jan 12, 2020 11:24 am
Forum: Troubleshooting
Topic: Can't update/upgrade old raspi. :(
Replies: 10
Views: 302

Re: Can't update/upgrade old raspi. :(

Yes, Raspbian Buster runs very well on a 2B, no problem at all.
by buja
Sun Jan 12, 2020 10:47 am
Forum: Troubleshooting
Topic: Can't update/upgrade old raspi. :(
Replies: 10
Views: 302

Re: Can't update/upgrade old raspi. :(

Nothing wrong with a 2B, but Raspbian Wheezy is too old and I guess the links are not active anymore. Time for a fresh installation of Raspbian Buster. Backup your important files to a USB stick or something and put a fresh install of Raspbian Buster on the SD card. It might be a good time for a fre...
by buja
Sun Jan 12, 2020 8:00 am
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2205

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

A bit stupid really that RAM size is not printed on the board, it's useful information and there is plenty of space for it.
The markings on the memory chip are hard to read and just a code, no indication of the size (unless you look up the type of course).
by buja
Sat Jan 11, 2020 4:42 pm
Forum: Troubleshooting
Topic: Rescue files from a dying Pi
Replies: 6
Views: 476

Re: Rescue files from a dying Pi

If you have another computer (Pi or PC) running Linux and a SD reader you can try to read the SD card and copy the important files.
(a Windows computer won't be able to read the file system)
by buja
Thu Jan 09, 2020 2:43 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2248

Re: Programming Language of the Year 2019 - according to TIOBE

ejolson, C is no longer self hosting. If you want a C compiler written in C I'm sure there are many. Tiny C for example: https://bellard.org/tcc/ Quote from the Tiny C website: "I am no longer working on TCC." This seems to be the situation for many C (only) compilers. Pelles C for the Windows plat...
by buja
Wed Jan 08, 2020 12:07 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2248

Re: Programming Language of the Year 2019 - according to TIOBE

Pi & Python is another combination?
Never heard of WASM before, but after looking it up I think it could be interesting (in combination with C).
by buja
Sat Jan 04, 2020 11:48 am
Forum: General discussion
Topic: Nexdock 2 - another shot
Replies: 10
Views: 1743

Re: Nexdock 2 - another shot

My new Pi year started with the delivery of the new Nexdock 2. I backed the Kickstarter campaign for it in March 2019, and on Thursday I collected the Nexdock at the pick-up point. :D Most important thing: it works! In fact, I am using it right now to write this post on a Pi 3B. It worked right out ...
by buja
Sun Dec 22, 2019 6:30 pm
Forum: C/C++
Topic: C++ FTP library or tools or... ? Need to automate getting and unzipping....
Replies: 2
Views: 266

Re: C++ FTP library or tools or... ? Need to automate getting and unzipping....

A combination of cron for the timing, wget for the downloading and an unzip program (not sure which one) would do the trick quite nicely. No need to use C, C++ or whatever programming language, just simple Linux tools.
by buja
Sat Nov 30, 2019 7:01 am
Forum: C/C++
Topic: gpio_fsel() won't set to output
Replies: 1
Views: 210

Re: gpio_fsel() won't set to output

Yes, I am afraid something is wrong with your BCM pin 18. This slightly modified version of your program works on my Pi. #include <stdio.h> #include <bcm2835.h> #define LED 18 int main(int argc, char **argv) { printf("hello, just starting the main loop\n"); if(!bcm2835_init()) return 1; bcm2835_gpio...
by buja
Sun Nov 17, 2019 5:40 pm
Forum: Beginners
Topic: Cant start Sonic Pi
Replies: 8
Views: 301

Re: Cant start Sonic Pi

Yes, I could hear the music playing through a set of PC speakers, connected to the Pi with a jack plug.

Go to advanced search