Go to advanced search

by Ernst
Thu Aug 27, 2020 6:02 pm
Forum: General discussion
Topic: Optical Fibre Input to Raspberry pi zero?
Replies: 46
Views: 1119

Re: Optical Fibre Input to Raspberry pi zero?

I found this neat little thing: https://nl.aliexpress.com/item/32356263392.html but I doubt that it is usable with a Pi 0.
by Ernst
Wed Aug 26, 2020 3:23 pm
Forum: Beginners
Topic: raspberry pi locked up
Replies: 4
Views: 828

Re: raspberry pi locked up

Have you check that CAPS-Lock is off ?
by Ernst
Mon Aug 10, 2020 3:06 pm
Forum: Advanced users
Topic: Rowhammer on Rp4
Replies: 18
Views: 842

Re: Rowhammer on Rp4

I am more worried about Sledgehammer which is much more destructive.
by Ernst
Fri Jul 31, 2020 9:05 am
Forum: Beginners
Topic: BH1750 is maximum 54613 lux, how maximum?
Replies: 1
Views: 148

Re: BH1750 is maximum 54613 lux, how maximum?

napajedlaci.cz wrote:
Fri Jul 31, 2020 7:27 am
I measure light lux using the BH1750 sensor on a Raspberry 3. But I always get a maximum of 54613 lux. I'm not getting more.
Is this really the maximum?
Yes, 54613 is correct. 54613 * 1.2 = 65535.60

see page 7 of the data sheet
by Ernst
Thu Jul 09, 2020 11:57 am
Forum: Troubleshooting
Topic: Rasberry PI OS - Problem setting static IP
Replies: 30
Views: 1073

Re: Rasberry PI OS - Problem setting static IP

sermayoral wrote:
Thu Jul 09, 2020 11:31 am
What is the problem here?
You did not provide all information on your configuration, this makes it very difficult.

I suggest you try "denyinterfaces eth0" as the last line in dhcpcd.conf after removing the static ip address from the DHCP range.
by Ernst
Thu Jul 09, 2020 10:32 am
Forum: Troubleshooting
Topic: Rasberry PI OS - Problem setting static IP
Replies: 30
Views: 1073

Re: Rasberry PI OS - Problem setting static IP

... # Example static IP configuration: interface eth0 static ip_address=192.168.1.30/24 #static ip6_address=fd51:42f8:caae:d92e::ff/64 static routers=192.168.1.1 static domain_name_servers=192.168.1.30 192.168.1.1 8.8.8.8 8.8.4.4 Can you explain why you have 192.168.1.30 as a domain_name_servers en...
by Ernst
Tue Jun 30, 2020 6:26 am
Forum: General discussion
Topic: Wacom cintiq 13hd
Replies: 1
Views: 130

Re: Wacom cintiq 13hd

oneoneone wrote:
Tue Jun 30, 2020 6:18 am
Can a cintiq 13hd work on the raspberry pi
That is a definitive maybe as I have been able to get it to work using Stretch but I have not tried since then.

IIRC the only change needed was "usbhid.mousepoll=0" in cmdline.txt
by Ernst
Mon Jun 29, 2020 8:06 pm
Forum: Troubleshooting
Topic: Fixing incorrect undervoltage warnings
Replies: 37
Views: 1720

Re: Fixing incorrect undervoltage warnings

The stock answer is use an official power supply to confirm that there isn't an issue with the power supply in use. If you still get the undervoltage, then you ask again. Yours appears to be the first reported case where a known good voltage is still firing the warning. I have observed a problem wi...
by Ernst
Sat Jun 20, 2020 8:55 pm
Forum: General discussion
Topic: Send email using terminal
Replies: 3
Views: 271

Re: Send email using terminal

I am running Raspberry PI OS on a Raspberry Pi 3 and would like to send an email from a script or terminal. I have installed ssmtp and mailutils through apt-get install and configured the /etc/ssmtp/ssmtp.conf file following all instructions on this page: https://raspberry-projects.com/pi/software_...
by Ernst
Fri Jun 19, 2020 5:33 am
Forum: Troubleshooting
Topic: no scp between new rpi 4B's
Replies: 20
Views: 1116

Re: no scp between new rpi 4B's

I suggest you reboot your router/access point.
by Ernst
Tue Jun 16, 2020 7:34 am
Forum: Off topic discussion
Topic: One year with fail2ban with port 22 open to the internet
Replies: 16
Views: 2608

Re: One year with fail2ban with port 22 open to the internet

One month later:

Code: Select all

pi@raspi4:~ $ uptime
 09:32:24 up 403 days,  1:06,  1 user,  load average: 0.39, 0.33, 0.28

Code: Select all

pi@raspi4:~ $ sudo iptables -L -v -n | grep REJECT | wc -l
30012
by Ernst
Sun May 31, 2020 6:27 am
Forum: Advanced users
Topic: Ximea industrial camera to Pi?
Replies: 1
Views: 187

Re: Ximea industrial camera to Pi?

Hi, New to the forum hoping someone could point me in the right direction. Looking at this sensor for ximea and wanting to record with it... any tips. Resolution is not a major requirement but the full capture of the sensor image is, even if only 1080p... https://www.ximea.com/files/brochures/Large...
by Ernst
Mon May 25, 2020 10:08 am
Forum: General discussion
Topic: Get your Pi to fight COVID-19
Replies: 192
Views: 13042

Re: Get your Pi to fight COVID-19

Heater wrote:
Mon May 25, 2020 9:25 am
Yep, been running on a Pi 4 since 25th April, one month today. Just hit 30,000 credits.
Strange, I have been running on a Pi 4 with https://foldforcovid.io/ since May 11, two weeks today, and I have 29,205 credits.
by Ernst
Mon May 25, 2020 6:34 am
Forum: Troubleshooting
Topic: File too large error, possibly conflict in formatting
Replies: 6
Views: 337

Re: File too large error, possibly conflict in formatting

I have a 128GB SD card that is the size available, well around 119GB after the partition. It is formatted in exFAT because cards larger than 32GB will not work in pi out of the box, at least they didn't work on my pi 3s nor the pi 4 unless it was formatted exFAT. I put my kali linux ARM on the card...
by Ernst
Tue May 19, 2020 10:38 am
Forum: Troubleshooting
Topic: Apache2 server times out on public IP address
Replies: 8
Views: 321

Re: Apache2 server times out on public IP address

You are out of luck, the use of 100.116.x.x points to CNAT WHOIS Lookup ( 100.116.1.1 ) # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/resources/registry/whois/tou/ # # If you see inaccuracies in the results, please report at # https://www.arin....
by Ernst
Tue May 19, 2020 9:22 am
Forum: Troubleshooting
Topic: Apache2 server times out on public IP address
Replies: 8
Views: 321

Re: Apache2 server times out on public IP address

I suggest that you look onto the router for the external IP and compare this with the IP given by whatsmyip, if these are not identical then the problem is with your ISP using CNAT. Apparently they are not identical for some reason. I am also using the noip2 client to keep my dns updated. Thank you...
by Ernst
Tue May 19, 2020 8:15 am
Forum: Troubleshooting
Topic: Apache2 server times out on public IP address
Replies: 8
Views: 321

Re: Apache2 server times out on public IP address

I suggest that you look onto the router for the external IP and compare this with the IP given by whatsmyip, if these are not identical then the problem is with your ISP using CNAT.
by Ernst
Sun May 17, 2020 4:16 pm
Forum: Off topic discussion
Topic: One year with fail2ban with port 22 open to the internet
Replies: 16
Views: 2608

Re: One year with fail2ban with port 22 open to the internet

Careful! Iptables starts getting flaky at around 27,000 rules. Learned that the hard way when my system became practically unresponsive with 99% utilization whenever fail2ban tried adding a new rule. Two weeks later and still doing fine: pi@raspi4:~ $ sudo iptables -L -v -n | grep REJECT | wc -l 27...
by Ernst
Sat May 16, 2020 5:32 pm
Forum: Python
Topic: can anyone tell me what is the purpose of impoting following librarys
Replies: 4
Views: 335

Re: can anyone tell me what is the purpose of impoting following librarys

Kanna wrote:
Sat May 16, 2020 5:12 pm
Hai sir i want known the purpose of importing those librarys for this code
https://forums.adafruit.com/
by Ernst
Wed May 13, 2020 2:58 pm
Forum: General discussion
Topic: fail2ban error
Replies: 12
Views: 554

Re: fail2ban error

un99kn wrote:
Wed May 13, 2020 12:51 pm
BTW, how did u setup ban, 3 tries in 10m and block ip for 1d?
One unsuccessful attempt on port 22 causes a permanent ban, current count is 26550.
by Ernst
Tue May 12, 2020 8:45 pm
Forum: General discussion
Topic: fail2ban error
Replies: 12
Views: 554

Re: fail2ban error

un99kn wrote:
Tue May 12, 2020 6:45 pm
it is sending for restarting, manual start/stop, ban und unban.
You must be joking, for me that would be about 300+ emails every day, for you it would be more.
see viewtopic.php?f=62&t=272743
by Ernst
Sat May 09, 2020 12:04 pm
Forum: General discussion
Topic: Cookbook website
Replies: 5
Views: 298

Re: Cookbook website

I would suggest dokuwiki.

Code: Select all

pi@raspi1:~ $ sudo apt-cache search ^dokuwiki
dokuwiki - standards compliant simple to use wiki
pi@raspi1:~ $
by Ernst
Fri May 08, 2020 8:48 pm
Forum: Advanced users
Topic: USB Wifi dongle not working when soldered directly to micro USB connector
Replies: 26
Views: 1072

Re: USB Wifi dongle not working when soldered directly to micro USB connector

I totally agree with both of you and thanks a lot for taking the time to help .. but still that doesn't convince me. Let's look at it from a different point of view: let's suppose I connect the Wifi Dongle directly to the RPi without using the Micro USB port. Basically on the back of the Pi there a...
by Ernst
Fri May 08, 2020 5:49 pm
Forum: Advanced users
Topic: USB Wifi dongle not working when soldered directly to micro USB connector
Replies: 26
Views: 1072

Re: USB Wifi dongle not working when soldered directly to micro USB connector

I just now noticed my mistake. At first you mentioned that you used an adapter, this could have been something like the Pimoroni USB to microUSB OTG Converter Shim . I was under the impression that were trying to connect your device directly on the Pi0 board and I did not notice that were trying to ...

Go to advanced search