Go to advanced search

by thagrol
Wed Oct 05, 2022 10:30 pm
Forum: Compute Module
Topic: CM4 PCIe-SATA
Replies: 4
Views: 137

Re: CM4 PCIe-SATA

Thanks For your help, than we can directly connect M2 SSD but not able to connect SATA SSD :) Thanks... Umm No. M.2 is a physical form factor standard not an interface one. Physical M.2 drives and devices can interfaces via SATA, PCIe, USB and others depending on device and keying (of both drive an...
by thagrol
Wed Oct 05, 2022 1:07 pm
Forum: General discussion
Topic: UK prices up due to collapsing £ ?
Replies: 19
Views: 573

Re: UK prices up due to collapsing £ ?

Not everyone voted for Brexit,I certainly didn't, and the vote carried IIRC by less than 2%. Still a reasonable majority - far more than many presidential votes in some countries. And lots of people are doing far better now. Really depends on what your job was beforehand. Always going to be winners...
by thagrol
Wed Oct 05, 2022 12:58 pm
Forum: Networking and servers
Topic: Samba share invalid user not working
Replies: 8
Views: 251

Re: Samba share invalid user not working

hortimech's Samba knowledge is deeper than mine though it appears mine, and my Linux knowledge, is deeper than "the device-producer of my setup". "/path" is a non-standard place to mount anything. Including "create mask=0777" and "directory mask=0777" in your ...
by thagrol
Wed Oct 05, 2022 12:09 pm
Forum: General discussion
Topic: UK prices up due to collapsing £ ?
Replies: 19
Views: 573

Re: UK prices up due to collapsing £ ?

Besides, this is what you voted for. Enjoy it! Is that a dig at Brexit or at our new prime minister? EIther way that isn't helpful or accurate. Brexit has little to do with the current low value of GBP against USD - that's down to Truss and the borrowing announced under her recent mini budget. Not ...
by thagrol
Tue Oct 04, 2022 11:57 pm
Forum: Troubleshooting
Topic: Problem while booting
Replies: 3
Views: 116

Re: Problem while booting

Unlikely to be VNC related. Could be: Incorrect fstab entries Broken partition table on the SSD Incorrect root= item in /boot/cmdline.txt Corrupted file system(s) The drive containing the partition with PARTUUID d995c653-01 not coming online fast enough or at all. Might be a power problem Unfortunat...
by thagrol
Tue Oct 04, 2022 11:41 pm
Forum: Raspberry Pi OS
Topic: how do I run APK (android apps) files in Raspberry Pi OS
Replies: 1
Views: 148

Re: how do I run APK (android apps) files in Raspberry Pi OS

AFAIK you can't run android apps out of the box on Linux/RPiOS. You need the android devkit or an emulator installed. Or lineageOS.

Before you ask, I've no experience of any of those so cannot advise further. Try a web search for something like "run android app on linux".
by thagrol
Tue Oct 04, 2022 11:32 pm
Forum: General
Topic: Send keyboard interrupt from RPI Pico
Replies: 2
Views: 82

Re: Send keyboard interrupt from RPI Pico

Might be a focus issue on the PC end.

For your script to receive the ctrl-C it has to be running as a foreground application and have focus if on a GUI or have the console switched to the correct VT (if text mode Linux).
by thagrol
Tue Oct 04, 2022 11:24 pm
Forum: General discussion
Topic: UK prices up due to collapsing £ ?
Replies: 19
Views: 573

Re: UK prices up due to collapsing £ ?

I know it makes sense to price Pi products in $ for the international market, but for a product assembled in the UK being sold (retail or wholesale) into the Uk market its' always struck me as a little odd.

I guess I'm missing something...
by thagrol
Tue Oct 04, 2022 11:13 pm
Forum: Troubleshooting
Topic: NFS connection problems need help
Replies: 5
Views: 166

Re: NFS connection problems need help

I think I have it down to the group and user. I ssh'd a file to the client. the group and owner was nobody. it showed up on the server. so it is working. however the folders i want to share are owned by pi and they will not mount. Without the actual error message thrown by mount I still cannot help...
by thagrol
Mon Oct 03, 2022 10:35 pm
Forum: Beginners
Topic: PI 4 to PC communication by USB
Replies: 10
Views: 343

Re: PI 4 to PC communication by USB

Hi, I'm working with him on the project he was talking about. Is it possible to give to specific USB port on the pi permission to access only a specific folder? Meaning that if I connect a USB cable to a specific port from the pi to the computer, the computer will see it as if I connected a USB fla...
by thagrol
Mon Oct 03, 2022 7:32 pm
Forum: Networking and servers
Topic: Samba share invalid user not working
Replies: 8
Views: 251

Re: Samba share invalid user not working

Since share1 is mandatory for shares in my system I need to set share 2 and 3 in that way. The force of root is by default since installed apps also run in this share1. This is potentially a client side issue not a samba one. User names are at the server level not the share level. Windows only lets...
by thagrol
Mon Oct 03, 2022 7:12 pm
Forum: Beginners
Topic: crontab without rebooting
Replies: 2
Views: 111

Re: crontab without rebooting

DougieLawson wrote:
Mon Oct 03, 2022 3:51 pm
Don't run it from crontab, run it as a systemd service.
That's good advice.

@OP: For more, have a read of this: Running A Program At Start Up A Beginner's Guide
by thagrol
Mon Oct 03, 2022 7:03 pm
Forum: Beginners
Topic: PI 4 to PC communication by USB
Replies: 10
Views: 343

Re: PI 4 to PC communication by USB

My project actually needs to be updatable by only txt files(there is no need for many files to be updated, small scale from quantity and size perspective), that my project uses as new custom tests, and the point is that any(majority) pc could add a new test/s and can read any result that my project...
by thagrol
Mon Oct 03, 2022 11:06 am
Forum: Beginners
Topic: PI 4 to PC communication by USB
Replies: 10
Views: 343

Re: PI 4 to PC communication by USB

kip_the_elder wrote:
Mon Oct 03, 2022 8:49 am
W. H. Heydt wrote:
Mon Oct 03, 2022 3:18 am
Why does the communication have to be over USB?
I was thinking the same thing. Ethernet or Wifi would seem to be more obvious solutions.
Sounds like the OP wants the 4B to act as a mass storage device.

@OP:

If I'm right, see USB Mass Storage Gadget - A Beginner's Guide
by thagrol
Sat Oct 01, 2022 10:40 am
Forum: Troubleshooting
Topic: Create a background job
Replies: 2
Views: 137

Re: Create a background job

Normally I'd suggest asking the author of the guide/tutorial but given the superficial nature of it... The obvious problem with that guide, and be aware that I've not tested it, is that the service depends on multi-usr.target to launch an application that appears to require the desktop. multi-user.t...
by thagrol
Fri Sep 30, 2022 2:45 pm
Forum: Other projects
Topic: Raspberry PI Magic Packet to turn Windows on.
Replies: 6
Views: 253

Re: Raspberry PI Magic Packet to turn Windows on.

Wonderful info guys / gals. However, I cannot find a way to do it directly through an ethernet cable. Specifically, one plugged into my pi to send a DIRECT signal into the PC, therefore turning it on. Any more tips on that? What rpdom said. Wake on Lan operates at a low level in the OSI model. Ther...
by thagrol
Fri Sep 30, 2022 1:43 am
Forum: Networking and servers
Topic: Pi to Pi via Ethernet
Replies: 2
Views: 234

Re: Pi to Pi via Ethernet

I have a rather curious question. I have a Raspberry Pi 3 and Pi 4 and an ethernet cable laying around. I use my Pi 3 for GPIO circuit control and my Pi 4 for my programming and general computer purposes mainly. Is it possible to hook my Pi 3 to my Pi 4 directly via the ethernet cable and access da...
by thagrol
Fri Sep 30, 2022 1:30 am
Forum: Troubleshooting
Topic: NFS connection problems need help
Replies: 5
Views: 166

Re: NFS connection problems need help

my exports /secam 10.0.0.40/24(rw,sync,no_subtree_check) I'm not an expert but that looks broken. 10.0.0.40 is the IP address for a single machine. Adding /24 should make it into a subnet but those are usually listed as 10.0.0.0/24 or 10.0.0.0/255.255.255.0. I use the latter form. This is my fstab ...
by thagrol
Thu Sep 29, 2022 12:00 pm
Forum: General discussion
Topic: Request: Hardware crypto extensions
Replies: 11
Views: 700

Re: Request: Hardware crypto extensions

Why should every user pay for something he/she does not need? Why don't you simply add a TPM module? I'm not sure that a TPM would help. AIUI TPMs are for secure key storage, management and generation not for general crypto acceleration. Even with a TPM you still need to do the actual en/decryption...
by thagrol
Thu Sep 29, 2022 11:47 am
Forum: Advanced users
Topic: Could PIO handle USB protocols?
Replies: 9
Views: 507

Re: Could PIO handle USB protocols?

pidd wrote:
Thu Sep 29, 2022 11:23 am
Isn't/Wasn't there "secret" connections under the SD socket that appeared to be a spare USB?
Do you mean on a 4B? I'd not heard that but those are most likely test points connected to one of the known USB controllers and not an extra port.
by thagrol
Thu Sep 29, 2022 11:45 am
Forum: Beginners
Topic: How to mount a network drive on startup?
Replies: 3
Views: 179

Re: How to mount a network drive on startup?

I have successfully been able to mount this drive manually after boot up in the terminal using the following command. sudo mount -t cifs -o guest //wdmycloud.local/public /home/pi/MyNas I would like to add this to one of the script files that run on startup after the network has been connected. whi...
by thagrol
Wed Sep 28, 2022 10:53 pm
Forum: Advanced users
Topic: Could PIO handle USB protocols?
Replies: 9
Views: 507

Re: Could PIO handle USB protocols?

PIO is a feature of the Pico not of the 4B. Whether it can handle USB data I have no idea. If it can, something running on the Pico will have to intercept then examine each USB packet and take apropriate action which may involve spoofing packets back to the host. Now, here's a thing: g_mass_storage....
by thagrol
Wed Sep 28, 2022 7:06 pm
Forum: Troubleshooting
Topic: Error Msg at startup
Replies: 1
Views: 81

Re: Error Msg at startup

Ask yourself this question:
"What did I change last before this error started occuring?"

Until we know the answer to that all we can do is guess. And I for one am not going to do so.
by thagrol
Wed Sep 28, 2022 7:01 pm
Forum: Off topic discussion
Topic: Security Systems
Replies: 5
Views: 324

Re: Security Systems

I'm with both kerry_s and Heater. Without knowing what you want to secure and from what threats or attacks it's hard to make a useful comment. That said, like kerry_s I tend to rely on the standard Linux/Unix secrity model used correctly. That's restricted access to sudo (only users who need it and ...

Go to advanced search