I thought that headers are the stuff between head and /head.
( I cannot find the lt and gt chars on the phone keyboard...).
After all I am just doing a config utility....
I tried your supersimple way and it worked fine here too. Then I started putting back my complex style code including the style sheet (needed for the configuration form I will show once I got this basic stuff working) and it still worked even when I put the following lines at the top of the generate...
Your code: #Below added by Bosse_B 2019-12-17 ScriptAlias "/cgi-bin/" "var/www/html/cgi-bin/" <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted </Directory> I think that "var/www/html/cgi-bin/" is wrong, it needs a / at the star...
Have you enabled cgi with this: sudo a2enmod cgi sudo service apache2 restart No but this is now done: $ sudo a2enmod cgi Enabling module cgi. To activate the new configuration, you need to run: systemctl restart apache2 $ sudo systemctl restart apache2 Then I tried to access a test program in Fire...
I am using an RPi4B with Raspbian Buster fully updated and with Apache2 installed. I can show html and php files correctly in the browser so the webserver seems to work OK. For a project I am doing I need to use a binary program as the form handler for a few forms used to configure an application. A...
I have read a number of howto's regarding use of an RTC module (using the DS3231M chip). In some they mention the removal of fake-hwclock and in some this is not mentioned. THIS is a howto where they mention the removal.. What gives here? If I do not remove it what are the ramifications? And if I do...
I need to read and write some I2C devices (RTC, EEPROM) on my RPi4. I am not using C, C++ or Python so I would like to know if there are some Linux basic commands operating on the /dev/i2c-1 device I can use from any language that can handle files? What I actually use is FreePascal and Lazarus IDE. ...
Then a 100K (or maybe as low as 10K) would suffice as pull-down to guarantee a low level input to the MOSFET until the application kicks in and sets the pins as outputs with 0V level. The pull-down must be such that the CPU can drive the GPIO pin up to 2.5V or higher for the MOSFET to switch on. I w...
Breadboarding (on an RPi2B+ unit)... I hooked up my scope to the relay pins I had selected and set it for a one-shot registration triggered on the rising edge at about 1V. Nothing happened on a power-up, so I guess I am good here. If I put an ID EEPROM on the board as well (connected to pins 27/28) ...
Are the CPU chip GPIO pins directly routed to the 40-pin connector without any external components connected such as pull resistors (up or down)?
I tried to find a circuit diagram but all I managed to find was a drawing that looks incomplete to me.
Is there no complete drawing available?
I am designing a board to be plugged into the 40-pin header implementing a few interfacing circuits. Among these are a couple of power switching relays for activation of external equipment. I am using 2SK3018 MOSFET transistors to drive the relay coils and the MOSFET gates are hooked directly to GPO...
I'm curious, with all that detective work on your history and such, did you ever discover what it was that you did that messed it up? Unfortunately not! I have been down this route twice now in the last few weeks and both times I had intended to check something I thought was safe (setting up WiFi a...
EXCEPT it takes an enormously long time ! It has been running now for 35 minutes and the progress bar is like at the 20% mark! So I am looking at more than 2.5 hours of copy time. Is this normal? When I used the same USB SD reader to make the original from the Raspbian download it took probably only...
I want to copy my now working setup as a backup so I tried to use the RPi GUI. The target SDcard is a 16 GB card whereas the live card is 32 GB but the used size is only 12 GB, so it should fit on a 16GB card. I attached the target SD-card to my RPi4 using an USB memory reader and started "Accessori...
Not so long ago (some weeks) I hosed the same system when I tried to make the WiFi operate as an Access Point (without being a router) such that a person nearby could connect to its AP and then access the web based configuration system for the unit. After I failed to fix that I was left with a syste...
I used ntp (sudo apt-get install ntp) for a long time, but have recently switched to chrony (sudo apt-get install chrony). Both work fine, but I'm sticking with chrony for now. chrony needs a little config file. Here's how I generate mine. 192.168.16.0 and 10.16.10.0 are subnets on my network; adju...
Yes, odd is an understatement! This system worked fine until this morning when I enabled I2C using raspi-config in order to prepare for the RTC module. I have not used the desktop since a few days when I worked on designing the add-on board I am preparing for use with the RPi. It contains basically ...
I have had this RPi4 working for quite some time now and I usually access it via PuTTY for command line work) and RealVNC (for development in th GUI environment). It has constantly (weekly at least) been updated so it should be up-to-date. Today I set out to experiment with an RTC time module using ...
I have a difficult time getting my RPi4 with an updated Buster to time sync to the network... I have googled and found numerous commands, none of which works on my system. These do not even exist: ntptime ntpq And if I use timedatectl it still does not work even though it exists: $ sudo timedatectl ...
One way is to connect it to the Internet and let is sync to the correct time. Then do a sudo hwclock -w to store it in the RTC. The RPi4 is connected to the Internet. It has now passed 2 hours and the RPi4 clock is still off by some 40 s... Exactly how does one "sync to correct time"? This happens ...
I am now facing another possibly related problem: I can no longer connect using VNC, or rather I can connect but it does not show anything but an evenly gray screen, no desktop visible. And when I connect using PuTTY I get this: $ date Fri 08 Nov 2019 02:16:02 PM CET This happens when the actual tim...
OK thanks, so I now did this: 1) Commented out the two lines I added into /etc/modules only keeping i2c-dev, which was already present 2) Edited the boot/config.txt and added this immediately before the [pi4] section: dtoverlay=i2c-rtc,ds3231 3) Rebooted the RPi4. Now I had to wait more than 2 minut...
I have used an RTC module on an RPi2 with Jessie and now that I am working on an RPi4 I moved it over to the new box. It was a long time since I set up the RPi2 I have forgotten all about it so I searched the web for advice and found a few promising tutorials which I followed. It did the following o...
After looking around a bit on the net I have reached the conclusion that I should add an EEPROM to the board to act as the ID memory. New questions regarding this: 1) Is a 4K EEPROM sufficient? We have such a part in use on other boards already so it would be good to reuse the same part on the RPi b...