Go to advanced search

by rpdom
Sat Aug 08, 2020 4:45 pm
Forum: Beginners
Topic: Setting up a Primary DSN Server on a Pi
Replies: 7
Views: 181

Re: Setting up a Primary DSN Server on a Pi

Thanks, I'll look into this, but for now I maybe stuck, for political reasons, with BIND9.....RDK I imagine you have a registrar? He provides most probably a DNS service. Configure your names in there pointing to the public IP addresses where your servers are. Then port-forward on the router. You w...
by rpdom
Sat Aug 08, 2020 2:49 pm
Forum: General discussion
Topic: Pi Zero camera cable for official case
Replies: 6
Views: 208

Re: Pi Zero camera cable for official case

If that is the official case, then every one I bought came with a camera cable as well as the three covers. I gave away all my spare cables to people on here.
by rpdom
Sat Aug 08, 2020 2:06 pm
Forum: Beginners
Topic: Setting up a Primary DSN Server on a Pi
Replies: 7
Views: 181

Re: Setting up a Primary DSN Server on a Pi

I remember I used to run a bind server at home for my local network DNS at one point, then discovered how easy DNSMasq was as a a caching proxy DNS and DHCP server for local use. For my external primary DNS serves though, I use PowerDNS, which is great because once you have the initial setup done al...
by rpdom
Sat Aug 08, 2020 1:39 pm
Forum: Troubleshooting
Topic: buster- iptables/1.8.2 Failed to initialize nft: Protocol not supported
Replies: 7
Views: 233

Re: buster- iptables/1.8.2 Failed to initialize nft: Protocol not supported

Did you reboot?

The only other thing I can think of is that you are running something non-standard, like the ramdisk option, or not having the correct /boot mounted during the upgrade.
by rpdom
Sat Aug 08, 2020 1:14 pm
Forum: Troubleshooting
Topic: First time user. Can't ssh into Pi even though enabled in prefrences.
Replies: 2
Views: 85

Re: First time user. Can't ssh into Pi even though enabled in prefrences.

What OS did you install on your Pi?

What software are you using to connect, and from what sort of computer?

What command/options are you using to connect?

Are you using Wireless on your Zero or have you got a USB ethernet adaptor?
by rpdom
Sat Aug 08, 2020 9:56 am
Forum: Troubleshooting
Topic: buster- iptables/1.8.2 Failed to initialize nft: Protocol not supported
Replies: 7
Views: 233

Re: buster- iptables/1.8.2 Failed to initialize nft: Protocol not supported

Just reboot to load the 5.4.51 kernel that matches the new modules.
by rpdom
Thu Aug 06, 2020 7:23 pm
Forum: Python
Topic: Help with led.
Replies: 32
Views: 820

Re: Help with led.

The problem is that once you enter the "while true:" section that flashes the LED, iti will never come out of that section and do anything else. There are a number of ways of getting around this. One of them is to use threading, where the LED flasher gets started by the main program and then will ru...
by rpdom
Thu Aug 06, 2020 8:51 am
Forum: Beginners
Topic: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external HD)
Replies: 22
Views: 666

Re: How to check how much free space is left on external USB Hard drive

From what I can see, that drive is not partitioned or formatted. I would expect output like Disk /dev/sdb: 55.9 GiB, 60022480384 bytes, 117231407 sectors Disk model: Expansion Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 ...
by rpdom
Thu Aug 06, 2020 6:25 am
Forum: Advanced users
Topic: Running Raspbian from USB Devices : Made Easy
Replies: 293
Views: 106902

Re: Running Raspbian from USB Devices : Made Easy

I've been using a SATA adaptor which requires quirks. I just bought the ELUTENG adapter (recommended many times in this forum) which shouldn't need quirks, to see how much better performance I'll get with UAS. What's the best way to switch adapters? I had thought to use sdc-boot to switch back to t...
by rpdom
Thu Aug 06, 2020 5:27 am
Forum: Ubuntu
Topic: TTYUSBx Issues Since Last Jessie Upgrade
Replies: 6
Views: 194

Re: TTYUSBx Issues Since Last Jessie Upgrade

lukelu wrote:
Thu Aug 06, 2020 3:45 am
Will create a new topic if we still can not solve the issue in few days.
Please don't. You already have a topic. More than one on the same subject will get one of them deleted or locked.
by rpdom
Wed Aug 05, 2020 8:58 pm
Forum: General discussion
Topic: "Reboot required" notification needed
Replies: 54
Views: 1655

Re: "Reboot required" notification needed

As long as you don't mind all the time and bother getting everything (all your processes and such) running again after the reboot... You mean you haven't set up all your essential services to auto start at boot time? If you can't even handle a planned reboot, how on earth do you cope with an unplan...
by rpdom
Wed Aug 05, 2020 5:43 pm
Forum: Troubleshooting
Topic: Button Madness!
Replies: 10
Views: 317

Re: Button Madness!

A button can be anything that makes a connection. It can be a connection from the GPIO to 3.3V or from the GPIO to 0V Ground (depending on the pull-up/down resistors applied). An LED also can be connected (via a suitable current limiting resistor) to either 3.3V or 0V Ground. In the first case it wi...
by rpdom
Wed Aug 05, 2020 5:25 pm
Forum: General discussion
Topic: "Reboot required" notification needed
Replies: 54
Views: 1655

Re: "Reboot required" notification needed

This is so much better than Windows that defaults to reboot for pretty much everything. Exactly my point. The standard joke is: A gnat fa*ted in East Timur. Reboot now (30 second timeout) ? I thought it was: It has been detect that you moved you mouse. You must reboot now for the changes to take ef...
by rpdom
Wed Aug 05, 2020 4:27 pm
Forum: Beginners
Topic: SSH to a local Raspberry Pi
Replies: 19
Views: 576

Re: SSH to a local Raspberry Pi

jojopi wrote:
Wed Aug 05, 2020 3:04 pm
GlowInTheDark wrote:
Tue Aug 04, 2020 11:45 am
where usb0 is the device (obviously) and X and Y are any two numbers (between 10 and 250) you like.
Why not between 0 and 255 ?
No reason I can think of.

But you can't use X=0, Y=0 or X=255, Y=255 as 169.254.0.0 is reserved for the subnet number and 169.254.255.255 is the broadcast address.
by rpdom
Wed Aug 05, 2020 1:20 pm
Forum: General discussion
Topic: "Reboot required" notification needed
Replies: 54
Views: 1655

Re: "Reboot required" notification needed

The first is that apt and apt-get should have a mechanism for displaying a message at the very end of the updates to signal that a reboot is now required. Not just a "message", but an actual, unavoidable, prompt. A "About to reboot now - press any key to continue" thing. Never will such a monstrosi...
by rpdom
Wed Aug 05, 2020 12:47 pm
Forum: General discussion
Topic: "Reboot required" notification needed
Replies: 54
Views: 1655

Re: "Reboot required" notification needed

There are two issues here. The first is that apt and apt-get should have a mechanism for displaying a message at the very end of the updates to signal that a reboot is now required. It has methods to defer other things to later in the process, so a reboot message should be one of them. The other is ...
by rpdom
Tue Aug 04, 2020 6:43 pm
Forum: Troubleshooting
Topic: Slow internet speed on PI 4
Replies: 10
Views: 316

Re: Slow internet speed on PI 4

business_kid wrote:
Tue Aug 04, 2020 5:12 pm
So I gather Broadcom have put the 43455 wifi chip inside the BCM2711, either as an IP core (VHDL) or similar.
Nope, the BCM43455 is a separate chip.
by rpdom
Tue Aug 04, 2020 4:18 pm
Forum: General discussion
Topic: "Reboot required" notification needed
Replies: 54
Views: 1655

Re: "Reboot required" notification needed

If a reboot is required it always notifies you. You can also check /var/run/ for the reboot file I haven't seen any notifications when running upgrades on RaspiOS. Nor does that /var/run/reboot file appear. One way to check if one is needed due to a kernel update is [ -d /lib/modules/$(uname -r) ] ...
by rpdom
Tue Aug 04, 2020 3:29 pm
Forum: Troubleshooting
Topic: Low voltage from 5v or 3.3v rails on Raspberry Pi 4B
Replies: 9
Views: 193

Re: Low voltage from 5v or 3.3v rails on Raspberry Pi 4B

davidcoton wrote:
Tue Aug 04, 2020 2:54 pm
Possibly if you shorted the 5V supply, the polyfuse has tripped. It takes a day or two to recover.
It might - if the Pi 4B had a polyfuse.
alanxyzhou wrote:
Tue Aug 04, 2020 3:14 pm
How do I know if this has happened?
It hasn't. The 4B doesn't have a polyfuse. Only the 1 to 3+ models had them.
by rpdom
Tue Aug 04, 2020 9:13 am
Forum: Automation, sensing and robotics
Topic: IR Transmitter Doesn't Work Farther than a Few Meters Away
Replies: 10
Views: 527

Re: IR Transmitter Doesn't Work Farther than a Few Meters Away

The specs on that listing look reasonable. LED 0.8 - 1.3Vf at 30mA. Driving it from the 5V supply would want a resistor somewhere around 120-140 Ohms. Except that doesn't allow for the voltage drop of the transistor. I'll call that 0.6V and try again... that makes it about 100 to 120 Ohm. Also the r...
by rpdom
Mon Aug 03, 2020 4:41 pm
Forum: Beginners
Topic: Push button sleep/wake
Replies: 5
Views: 161

Re: Push button sleep/wake

I’d also like to do this without going through the 40-pin, which I’d rather use for gadgets and such. Not using the GPIO header makes it a lot more complicated. You'd need to connect the button to a microcontroller on a USB port so your script could monitor the status of the button to initiate the ...
by rpdom
Mon Aug 03, 2020 1:15 pm
Forum: Python
Topic: Do something after 3 button presses
Replies: 10
Views: 316

Re: Do something after 3 button presses

I'm not a Python programmer, so I can't easily write the code for you, but I can suggest a method. At start set stepno to 0 When button 1 is pressed: Set timestamp to current time Set stepno to 1 When button 2 is pressed: If stepno = 1 and current time - timestamp is less than 2 seconds: Set stepno ...
by rpdom
Mon Aug 03, 2020 10:11 am
Forum: Camera board
Topic: Normal cable?
Replies: 17
Views: 622

Re: Normal cable?

Such as the i2c wires in an HDMI cable? While only 15cm long cables are officially supported, I use 1m and 2m CSI-2 flex cables routinely without issues for years. (as long as they do not come close to mains or high voltage/current DC cables) Good catch with DDC :D And I didn’t mean to be offensive...
by rpdom
Mon Aug 03, 2020 9:59 am
Forum: Beginners
Topic: Bricked RPI 3B+ Wont boot after installing fan
Replies: 4
Views: 175

Re: Bricked/Wont boot after installing fan

Which pins did you connect to where?

It is very likely that you have killed the power control chip on your 3B+ and your Pi is now dead. Sorry :(
by rpdom
Mon Aug 03, 2020 9:29 am
Forum: Troubleshooting
Topic: Pi 4 no longer able to output at 1920x1080. Maxes out at 1024x768?
Replies: 13
Views: 506

Re: Pi 4 no longer able to output at 1920x1080. Maxes out at 1024x768?

Next, Code: Select all I’m not sure what this is. the "Code" means that the text that follows it is marked as code and will be shown "raw/unformatted" in the box that follows. "Select all" is something you can click on to highlight everything in the "code" box so you can copy it. They are automatic...

Go to advanced search