Go to advanced search

by thagrol
Thu Dec 12, 2019 4:55 pm
Forum: General discussion
Topic: Raspberry pi zero w
Replies: 5
Views: 358

Re: Raspberry pi zero w

it largely depends on what you actually mean by "movies and TV shows". Over the air digital TV broadcasts? OTA analogue broadcasts? Satelite broadcasts? Locally stored files? Files on another machine on your LAN? Internet streaming services? DVDs? Blu ray discs? DRM free or not? If you can get the v...
by thagrol
Thu Dec 12, 2019 4:22 pm
Forum: Advanced users
Topic: Raspberry Pi 4 ROM bootloader
Replies: 30
Views: 1779

Re: Raspberry Pi 4 ROM bootloader

The Pi4 is OTG able? iIf you mean bootable over USB like the zero/zeroW, I guess the answer is maybe The SoC's USB 2 port is routed out to the USB C connector and can function in "device mode". Whether or not it appears as a boradcom boot device when connected to a host without an SD card inserted ...
by thagrol
Thu Dec 12, 2019 4:01 pm
Forum: Beginners
Topic: Looking for some Input Regarding Pi Zero
Replies: 9
Views: 454

Re: Looking for some Input Regarding Pi Zero

DougieLawson wrote:
Thu Dec 12, 2019 3:04 pm
The difference is that the W has on-board WiFi. Nothing more.
And onboard bluetooth ;)
by thagrol
Wed Dec 11, 2019 10:31 pm
Forum: Android
Topic: Replacing car head unit
Replies: 6
Views: 6583

Re: Replacing car head unit

Hello, I am also looking into doing this. I would like to get rid of the original car stereo header unit completely and create one with a Raspberry Pi and a touchscreen. I have a 2002 Honda Accord. Some concerns I have so far are: -Is there a way to connect the header unit wires to the Raspberry Pi...
by thagrol
Wed Dec 11, 2019 10:02 pm
Forum: Advanced users
Topic: Secure app running on Pi
Replies: 9
Views: 548

Re: Secure app running on Pi

Locking to a serial number won't work. Older model Pi may have the same serial number as another Pi (serial numbers are randomly assigned at the factory, enough Pi have been produced that duplicate serial numbers are a thing) though the risk of that is small. Not sure if the problem also exists on t...
by thagrol
Wed Dec 11, 2019 9:39 pm
Forum: General discussion
Topic: Pi 4 - Network
Replies: 6
Views: 449

Re: Pi 4 - Network

Yes. See https://www.raspberrypi.org/blog/raspberry-pi-4-on-sale-now-from-35/ Ethernet is no longer connected via USB. However to get gigabit you need every link inthe chain to support it. That's cables, router/switch, and the device you're talking to. Reading/writing to storage will still be limite...
by thagrol
Wed Dec 11, 2019 11:59 am
Forum: Networking and servers
Topic: Experts: NFS or Samba?
Replies: 4
Views: 372

Re: Experts: NFS or Samba?

bls wrote:
Tue Dec 10, 2019 10:25 pm
If you use networked storage, and have tried both NFS and Samba, which one are you using, and why?
Linux clients use NFS. Windows and android clients use Samba/CIFS. If I had to pick just one it would be Samba/CIFS due to the need to support windows clients.
by thagrol
Tue Dec 10, 2019 11:39 pm
Forum: Advanced users
Topic: Code a program to help online reputation
Replies: 8
Views: 558

Re: Code a program to help online reputation

hey all Im a newbie but I have some bad press online and I wanted to create a script that could automatically every hour, open web browser, search my name, and go to directed webpages. is this even possible? is the coding intensive? no time frame on this so. Is the "bad press online" justified? (No...
by thagrol
Tue Dec 10, 2019 11:14 pm
Forum: Python
Topic: Python script automatic start
Replies: 15
Views: 614

Re: Python script automatic start

@reboot sleep 30 && export DISPLAY=localhost:0 && python3 /home/pi/myscript.py Changed the sleep to 180 to make sure wifi conection is build up before the script starts. It works now! problem SOLVED Thank you guys so much I wonder why you have "localhost" in there. Probably because that's what I ga...
by thagrol
Tue Dec 10, 2019 11:04 pm
Forum: Python
Topic: Python script stops after 1 minute after boot
Replies: 5
Views: 278

Re: Python script stops after 1 minute after boot

The first thing to do is to find out what has stopped and why. The reason you're getting nothing in your cronlog file is that you aren't capturing the output of your script but that of the launcher. While I wouldn't advise trying to get things running under cron until you've got it working reliably ...
by thagrol
Tue Dec 10, 2019 4:40 pm
Forum: Python
Topic: Python script automatic start
Replies: 15
Views: 614

Re: Python script automatic start

The log file had something in it: Traceback (most recent call last): File "/home/pi/Uhrzeit.py", line 3, in <module> window = tkinter.Tk() File "/usr/lib/python3.5/tkinter/__init__.py", line 1880, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk...
by thagrol
Tue Dec 10, 2019 4:06 pm
Forum: Python
Topic: signal.pause() cannot detect SIGINT
Replies: 3
Views: 220

Re: signal.pause() cannot detect SIGINT

Umm doesn't python trap CTR-C and raise a KeyboardInterrupt exception? As such I'd expect that your code never sees the underlying signal and exits due to the unhandled exception.
by thagrol
Tue Dec 10, 2019 12:43 pm
Forum: Troubleshooting
Topic: Midi Keybaord on USB OTG on Pi Zero W
Replies: 2
Views: 235

Re: Midi Keybaord on USB OTG on Pi Zero W

Could be an issue with either of the cables between the Pi and keyboard. Try the following: Using the same otg adapter try a different USB device. This will tell you if the otg adapter is at fault. A simple device like a thumb drive, keyboard, or mouse is probably your best bet. Try a different know...
by thagrol
Tue Dec 10, 2019 12:26 am
Forum: Python
Topic: Python script automatic start
Replies: 15
Views: 614

Re: Python script automatic start

ps aux | grep myscript.py tried that to check if the script is running. once while the script is running, and to compare once without running my script. so yeah, the crontab -e @reboot python3 /home/pi/myscript.py is not starting my script when rebooting. also i tried @reboot python3 /home/pi/myscr...
by thagrol
Mon Dec 09, 2019 7:40 pm
Forum: Python
Topic: Python script automatic start
Replies: 15
Views: 614

Re: Python script automatic start

Tried to get a solution with crontab -e directly tipped in the terminal than simply scrolled down to the bottom and added the line @reboot python3 /home/pi/myscript.py but nothing at all happens at reboot... what is going on? Are you sure nothing at all is happening at reboot? Your script will be s...
by thagrol
Mon Dec 09, 2019 1:17 pm
Forum: Python
Topic: Python script automatic start
Replies: 15
Views: 614

Re: Python script automatic start

Autostart may not be the correct solution. As I understand it, anything run that way will only run after login through the gui and will run on every login through the GUI. So if you login locally and via VNC you'll get two copies running. You script will probably get killed on logout too. To run som...
by thagrol
Sat Dec 07, 2019 1:27 pm
Forum: Beginners
Topic: Raspberry Pi Zero W - micro usb
Replies: 1
Views: 128

Re: Raspberry Pi Zero W - micro usb

Hi to everyone! I'm newbie in raspberry world. I'm interested about Raspberry PI Zero W model and I want to buy its starter kit :) On this model there are two micro usb: - On-the-Go - Power Is there a way to connect and communicate two Raspberry Pi Zero W through micro usb? Thank you! Yep. Seach th...
by thagrol
Fri Dec 06, 2019 6:35 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS
Replies: 22
Views: 797

Re: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS

Further though occurs: use the same cable for all tests. If they all fail try again with a different cable.
by thagrol
Fri Dec 06, 2019 6:22 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS
Replies: 22
Views: 797

Re: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS

As it appears you're using a zeroW rather than a zero and have WiFi configured on it, try these tests: First revert to teh standard/default cmdline.txt and config.txt Next update config.txt so that the only change from default is dtoverlay=dwc2 Now the tests: Boot while connected to the windows host...
by thagrol
Fri Dec 06, 2019 5:50 pm
Forum: Python
Topic: Pause a program in python
Replies: 7
Views: 438

Re: Pause a program in python

Sorry for the long time without answer. I notice that the program crash only if I start it from SSH connection, If I start it via vnc or "directly" from raspberry all it works well. Anyone have notice this problem before? (I haven't changed anything in the code) How exactly are you starting it? Are...
by thagrol
Fri Dec 06, 2019 3:50 pm
Forum: HATs and other add-ons
Topic: gertbot and GPIO pins access from below
Replies: 2
Views: 195

Re: gertbot and GPIO pins access from below

You don't have to mount the gertbot directly on the Pi's gpio. See section 4.9 of the gerbot manual: https://www.gertbot.com/gbdownload/rev2.8/Gertbot_manual_2.8.pdf Assuming there is no pin conflict pick one of the many products that convert the Pi's single gpio header to multiple ones. A few to ge...
by thagrol
Fri Dec 06, 2019 12:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS
Replies: 22
Views: 797

Re: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS

Reading your logs, and also seeing your ifconfig ... usb0 Link encap:Ethernet HWaddr 66:7c:c6:f2:35:60 inet6 addr: fe80::14b0:9485:d3d6:5568/64 Scope:Link Brought back memories ... And thus I arrive home with bags of goodies and "IPv6" in my mind. Disable IPv6 and the previous 'recklessly changed E...
by thagrol
Fri Dec 06, 2019 12:27 pm
Forum: Troubleshooting
Topic: Setting up a Samba / SMB Share on Raspberry Pi 4B
Replies: 6
Views: 331

Re: Setting up a Samba / SMB Share on Raspberry Pi 4B

I tried removing Auto, User and UID from the fstab line (as it was mounting via root, not through user PI) and the Pi4 didn't like that and went into emergency mode, so there's still some fine tuning to be done. The extended Samba Share install seemed to run without issues, so I'll attempt that ver...
by thagrol
Thu Dec 05, 2019 2:53 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS
Replies: 22
Views: 797

Re: Raspberry Pi Zero Ver 1.3 not recognized as RNDIS

All that looks fine to me. I suspect the problem is on the windows end.

I'm afraid I don't know enough about the lower levels of windows to be able to offer further help.
by thagrol
Wed Dec 04, 2019 7:59 pm
Forum: Networking and servers
Topic: UDP broadcast programming
Replies: 12
Views: 513

Re: UDP broadcast programming

Yes , you are right , I am trying to prevent the flood by exclude the node that send the message from receiving it again .. This is my issue Sounds like DougieLawson's suggestion of using MQTT would handle this problem but MQTT requires a broker and if the borker is down... A couple of other sugges...

Go to advanced search