Go to advanced search

by rpdom
Sat Jun 23, 2018 6:55 am
Forum: Advanced users
Topic: Allow user to reboot
Replies: 8
Views: 160

Re: Allow user to reboot

I usually prefer to create new files for my customised entries in /etc/sudoers.d/ rather than edit the main /etc/sudoers file. The reasoning behind this is that if the sudo package gets upgraded at any time, it may include changes the /etc/sudoers. It will notice that you have changed the file and a...
by rpdom
Fri Jun 22, 2018 12:13 pm
Forum: Off topic discussion
Topic: Posting a Pi setup to a friend.
Replies: 6
Views: 170

Re: Posting a Pi setup to a friend.

Heater wrote:
Fri Jun 22, 2018 12:05 pm
Wow, where does a kid find VHS tape cases? I don't think I have seen one since last century.
Charity shops.
by rpdom
Fri Jun 22, 2018 11:05 am
Forum: Advanced users
Topic: Allow user to reboot
Replies: 8
Views: 160

Re: Allow user to reboot

What have you tried so far in sudoers?

Using the dbus call route seems to be overcomplicating things when a simple "sudo reboot" should work with the right parameters in a sudoers file.
by rpdom
Fri Jun 22, 2018 6:46 am
Forum: General discussion
Topic: STICKY: PMs being turned off from June 13
Replies: 54
Views: 2531

Re: STICKY: PMs being turned off from June 13

I don't think anybody, not a single person, understood what I was asking. I don't think it explicitly states anywhere that PMs on a website are a safety threat to children, but these laws/guidelines are pretty vague and open to all sorts of interpretation. (I've been dealing with the GDPR one at wo...
by rpdom
Fri Jun 22, 2018 6:09 am
Forum: General discussion
Topic: 3-B vs. 3-B + footprint ( dimensions )
Replies: 17
Views: 489

Re: 3-B vs. 3-B + footprint ( dimensions )

> The Pi3B+ might do okay, with its better thermal management, Would you elaborate ? I was thinking the B+ might run a little hotter due to the increased clock speed ? The major differences between the BCM2837A0 used on the Pi3B and the BCM2837B0 used on the Pi3B+ is that the chip has been flipped ...
by rpdom
Fri Jun 22, 2018 5:57 am
Forum: Official Foundation Display
Topic: Raspberry Pi 7inch Touchscreen not working
Replies: 14
Views: 605

Re: Raspberry Pi 7inch Touchscreen not working

doctazz wrote:
Fri Jun 22, 2018 4:03 am
My 3B+ has heatsinks on the CPU, and on the other chip installed on the same side (I think that's the GPU).
What you call the CPU is actually the GPU and the CPUs.
The chip you thought was the GPU is the USB Hub and Ethernet controller.
by rpdom
Thu Jun 21, 2018 7:46 am
Forum: General discussion
Topic: Relay Module KY-019 5V
Replies: 99
Views: 5231

Re: Relay Module KY-019 5V

Hmm, if you have to set the GPIO to input mode to turn off the relay, that implies that the relay module has a pull-up resistor to >3.3V.

That would also make the GPIO input > 3.3V which is likely to slowly kill the Pi.
by rpdom
Thu Jun 21, 2018 4:14 am
Forum: General discussion
Topic: Pi Is Too Complicated
Replies: 66
Views: 1749

Re: Pi Is Too Complicated

Gavinmc42 wrote:
Thu Jun 21, 2018 2:40 am
Debian does not do ARMv6 which is the historical reason for Raspbian.
It's be more correct to say that Debian doesn't do ARMv6 Hard Float, as they do have armel code which was the original OS for the Pi. The armhf code runs faster than the armel code in many cases.
by rpdom
Wed Jun 20, 2018 5:08 am
Forum: Beginners
Topic: Why the raspberry does not require an initial RAM file system?
Replies: 18
Views: 616

Re: Why the raspberry does not require an initial RAM file system?

In the Debian installer there used to be an option to select the type of initrd used. Either one tailored to the system it was being installed on, or one that contains drivers for all of the most common devices. The latter case was handy when installing to a hard disk that may be switched between di...
by rpdom
Tue Jun 19, 2018 7:02 am
Forum: Beginners
Topic: Copying files
Replies: 4
Views: 207

Re: Copying files

That sounds like a fairly simple bash script to me.

Do you want it to run automatically when the card is inserted, or type a command manually?

I haven't got time to look at it now (bus to catch), but maybe later.
by rpdom
Mon Jun 18, 2018 9:03 pm
Forum: Troubleshooting
Topic: [Resolved] Electrical noise if ethernet is connected.
Replies: 9
Views: 214

Re: Electrical noise if ethernet is connected.

It doesn't matter. A crossover cable will still work, in the absence of other problems. That's what autosensing does. Thank you, I"m aware of how autosensing works. However, your missing my point. I'm trying to eliminate a possible point of confusion for the OP. If anything you seem to have added a...
by rpdom
Mon Jun 18, 2018 6:28 pm
Forum: Troubleshooting
Topic: keyboard configuration problem?
Replies: 9
Views: 216

Re: keyboard configuration problem?

DougieLawson wrote:
Mon Jun 18, 2018 11:21 am
Octothorp removes any differences due to where you live and how you speak.
Yep, because it doesn't matter where you are from, no one knows what you are talking about. :lol:
by rpdom
Mon Jun 18, 2018 6:19 pm
Forum: General discussion
Topic: recent serial i/o tutorial
Replies: 11
Views: 332

Re: recent serial i/o tutorial

picandies wrote:
Mon Jun 18, 2018 4:39 pm
what do you mean
is the hardware SPI,
...isn't that what is needed, what else is there?
As opposed to software (bit-banged) SPI.
by rpdom
Mon Jun 18, 2018 4:50 am
Forum: General discussion
Topic: rassberry pi help me!!!!!!!!!!!!!!!!
Replies: 3
Views: 201

Re: rassberry pi help me!!!!!!!!!!!!!!!!

Cheaper to buy a used laptop than to try and make one from a Pi.
by rpdom
Mon Jun 18, 2018 4:37 am
Forum: Beginners
Topic: Binary Blob?
Replies: 6
Views: 245

Re: Binary Blob?

It's only the 3D video drivers that are being written as Open Source. The bootcode and some of the other bits will still need the closed blob. (For now, at least. The RPF have managed to get Broadcom to agree release a lot of previously closed information about the SoC).
by rpdom
Sun Jun 17, 2018 3:58 pm
Forum: Raspbian
Topic: Scripting problem extracting IP address
Replies: 23
Views: 497

Re: Scripting problem extracting IP address

Yeah, yeah, yeah, I know, you solved your problem so you don't get care. Yes, OK. But. This: ifconfig wlan0 | awk 'sub(/.*inet addr:/,"") { print $1 }' absolutely will work. Given your commentary, I have to assume there was some kind of transcription error. Again, you didn't read the original. The ...
by rpdom
Sun Jun 17, 2018 12:13 pm
Forum: Other programming languages
Topic: Accessing GPIO I/O Pins from Forth, and How to Use Them
Replies: 31
Views: 3525

Re: Accessing GPIO I/O Pins from Forth, and How to Use Them

The diagrams below show the orientation and pin numbering for the old 26-pin (RPi models A and B) version and the 40-pin version used on all other models. You should also note that on the original Pi B the 26-pin numbering was slightly different. Pins 3 and 5 were GPIO0 and GPIO1 (BCM), still with ...
by rpdom
Sun Jun 17, 2018 12:03 pm
Forum: Off topic discussion
Topic: Digital TC Soldering Station (UK)
Replies: 15
Views: 409

Re: Digital TC Soldering Station (UK)

I've already got a decent iron I bought at Maplin many years ago, but a spare might be handy. I didn't see any when I was in the nearest local Aldi yesterday, maybe I need to try one of the other local ones (we've got at least three within 7 miles of me).
by rpdom
Sun Jun 17, 2018 10:46 am
Forum: Raspbian
Topic: Scripting problem extracting IP address
Replies: 23
Views: 497

Re: Scripting problem extracting IP address

Even if I did get the details wrong, which is possible, it is still better/easier to do it with a single AWK (which might not be exactly what I posted - I don't really care about the exact details of the problem), then to do it with grep/sed/awk. I never suggested grep/sed/awk. Mine was a simple on...
by rpdom
Sun Jun 17, 2018 10:16 am
Forum: Beginners
Topic: Confused with creating backup of Raspbian in Windows
Replies: 7
Views: 142

Re: Confused with creating backup of Raspbian in Windows

Also the card doesn't have to be the same size as the original, just big enough to fit all the contents on. The file systems will be resized up or down to fit the new card. Personally, how I would use Piclone (if I did backups that way) would be to clone the system to a new card. Shutdown. Power off...
by rpdom
Sun Jun 17, 2018 10:08 am
Forum: Raspbian
Topic: Scripting problem extracting IP address
Replies: 23
Views: 497

Re: Scripting problem extracting IP address

n67 wrote:
Sun Jun 17, 2018 8:48 am
I still don't understand why you are using grep, sed, and awk, when a single awk woudl suffice.

Please enlighten me.
Because you didn't read the problem fully and your solution wouldn't work.
by rpdom
Sun Jun 17, 2018 5:18 am
Forum: Troubleshooting
Topic: Force RPi to use a specific interface for Internet connection?
Replies: 5
Views: 166

Re: Force RPi to use a specific interface for Internet connection?

W6JHB wrote:
Sun Jun 17, 2018 1:42 am
I know that 10-net and 192-net addresses are for internal, non-Internet addresses
Actually, the ranges of Private Addresses available are:
10.x.x.x
172.16.x.x to 172.31.x.x
192.168.x.x

SurferTim has clarified his answer already.
by rpdom
Sat Jun 16, 2018 6:36 pm
Forum: Raspbian
Topic: Scripting problem extracting IP address
Replies: 23
Views: 497

Re: Scripting problem extracting IP address

Sorry for missing the closing ), I've edited that post now. Hmm, it should work, unless I've got some typo in it. I'll have another look. All I can think of is that the spaces before the "inet " line are a tab on your OS version. A hex dump of part of the output of ifconfig should give me something ...
by rpdom
Sat Jun 16, 2018 5:52 pm
Forum: General discussion
Topic: Fake Pi Cameras
Replies: 4
Views: 297

Re: Fake Pi Cameras

It is a little strange that they can still build them as OmniVision declared End Of Life on the OV5647 back in about May 2014 (one of the things that brought the V2 camera out a little sooner than planned), but somehow they manage to keep on churning them out. Are they genuine OmniVision cameras or...

Go to advanced search