Go to advanced search

by thagrol
Wed Sep 04, 2019 11:04 pm
Forum: Advanced users
Topic: Network boot over WiFi
Replies: 19
Views: 3166

Re: Network boot over WiFi

With a wired connection you need physical access to the network to get in. With wifi you just need to sniff some packets and crack the password. Which is not specific to booting. If you're using WiFi you've already accepted this risk. Thus booting over WiFi is no more of a risk than doing anything ...
by thagrol
Wed Sep 04, 2019 10:51 pm
Forum: General discussion
Topic: Raspberry PI as a Host to send data to PC
Replies: 4
Views: 339

Re: Raspberry PI as a Host to send data to PC

lintdeveloper wrote:
Wed Sep 04, 2019 11:17 am
Hi guys, I want to setup my raspberry PI as a server to send data to laptop using socket connect do I setup my raspberry PI to as an hotspot first?
Only if you need to use WiFi and don't have a hotspot available.

If you do have an existing WiFi network just connect both Pi and laptop to that.
by thagrol
Wed Sep 04, 2019 10:46 pm
Forum: General discussion
Topic: raspbian stretch on rapi 3 not work on raspi 4
Replies: 7
Views: 568

Re: raspbian stretch on rapi 3 not work on raspi 4

1 does raspbian stretch run on raspi 4? No. 2 what wrong Stretch doesn't support the new hardware. and how to fix black screen trouble when raspbian stretch boots on raspi 4? Get the buster source code and the stretch source code. Backport the changes and recompile. I'm guessing that's not somethin...
by thagrol
Wed Sep 04, 2019 10:40 pm
Forum: Troubleshooting
Topic: [solved] No FSTAB error but entry not processed?
Replies: 9
Views: 507

Re: No FSTAB error but entry not processed?

So, auto can be used. It can, be don't rely on ubuntu documentation if using a different flavour of linux, e.g. Raspbian. I decided to replace the auto with ext4, which the partition is. But it is still not processed properly. My guess would be the options "uid=1002,gid=1002,umask=0022,dmask=0022"....
by thagrol
Wed Sep 04, 2019 10:33 pm
Forum: Troubleshooting
Topic: [solved] No FSTAB error but entry not processed?
Replies: 9
Views: 507

Re: No FSTAB error but entry not processed?

I don't think "auto" is a valid filesystem type. It is an option, but it is subsumed in option "defaults" if memory serves. I would try UUID=319d71bc-3d6e-48c2-a5c0-62152e5ce8d2 /media/FTP <FS_TYPE> defaults,nofail,uid=1002,gid=1002,umask=0022,dmask=0022,noatime 0 0 replacing <FS_TYPE> with the app...
by thagrol
Wed Sep 04, 2019 10:29 pm
Forum: Networking and servers
Topic: NGINX, SAMBA, USB drive Install order
Replies: 11
Views: 637

Re: NGINX, SAMBA, USB drive Install order

As Andyroo suggests get the HDD working first. This includes getting permissions set up. Next get Samba set up and working on your local network. Both read/write and read only. The last thing to do is to get the internet stuff set up. This is likely to be the most problematic. Some stuff to consider...
by thagrol
Wed Sep 04, 2019 10:00 pm
Forum: Advanced users
Topic: Network boot over WiFi
Replies: 19
Views: 3166

Re: Network boot over WiFi

I would caution that, from a security perspective, booting over wifi is a really bad idea. Care to elaborate? I would think that booting over an encryted WiFI (WPA) network via a know AP would be no less secure than booting over a wired network. With the possible exception of a spoofed AP/SSID but ...
by thagrol
Wed Sep 04, 2019 11:48 am
Forum: Networking and servers
Topic: How much data each device use on my network ?
Replies: 3
Views: 474

Re: How much data each device use on my network ?

Firstly, I don't have your router so this is somewhat speculative. Your router won't be telling you about all data usage but only about internet data usage. Traffic between two machine on your network won't be counted. It can do this because all traffic to and from the internet goes through the rout...
by thagrol
Tue Sep 03, 2019 2:44 pm
Forum: Beginners
Topic: Running GUI Program through Something like Putty
Replies: 7
Views: 1172

Re: Running GUI Program through Something like Putty

Due to your suggestion, I went looking up how to get and run mobaxterm. Yes, I can run mobaxterm on a windoze machine but not from my iPhone, Fire or ipad. Search the relevant app store for "X server" and/or "X11 server". Install onr of the apps that finds then use it in conjunction with putty or s...
by thagrol
Tue Sep 03, 2019 10:26 am
Forum: Troubleshooting
Topic: [Solved] Weird behavior disabling usb/eth adapter
Replies: 2
Views: 273

Re: Weird behavior disabling usb/eth adapter

The 5v line on the zero/zeroW is directly connected between the power port, the data USB port and the gpio header. Thus it cannot be swiched off.

Disabling the USB port will only disable the data function. It'll do nothing to the power.
by thagrol
Mon Sep 02, 2019 5:59 pm
Forum: Beginners
Topic: Running GUI Program through Something like Putty
Replies: 7
Views: 1172

Re: Running GUI Program through Something like Putty

Being a beginner to Python 3 and Raspbian Buster I took a 3 week online class on programming Python GUI. In that class, they taught me to use GUIzero (I’m guessing something new). So, I created a GUI application using Thonny, it works. Now I’m wanting details and options on how to run a GUI Python ...
by thagrol
Mon Sep 02, 2019 5:37 pm
Forum: General discussion
Topic: Raspberry Pi 4 - boot problem (hybrid sd&ssd)
Replies: 22
Views: 2697

Re: Raspberry Pi 4 - boot problem (hybrid sd&ssd)

Given that you've written both the SD card and SSD from the same image with etcher, won't the partitions have the same PARTUUID on both? Won't this confuse things greatly? cmdline.txt will be identicall on both devices so copying from the SSD [/list] nope, belenaEtcher is using UUID of device, so c...
by thagrol
Mon Sep 02, 2019 10:48 am
Forum: General discussion
Topic: Raspberry Pi 4 - boot problem (hybrid sd&ssd)
Replies: 22
Views: 2697

Re: Raspberry Pi 4 - boot problem (hybrid sd&ssd)

Given that you've written both the SD card and SSD from the same image with etcher, won't the partitions have the same PARTUUID on both? Won't this confuse things greatly? cmdline.txt will be identicall on both devices so copying from the SSD to the SD card will make no difference. A couple of sugge...
by thagrol
Mon Sep 02, 2019 10:38 am
Forum: General discussion
Topic: reset a frozen system remotely
Replies: 14
Views: 1418

Re: reset a frozen system remotely

drgeoff wrote:
Mon Sep 02, 2019 8:46 am
About the hard reset, do some research into the RUN connection on a RPi board..
Or the hardware watchdog.
by thagrol
Mon Sep 02, 2019 10:31 am
Forum: Troubleshooting
Topic: Pi4: USB drive spin down issues
Replies: 2
Views: 671

Re: Pi4: USB drive spin down issues

Something else worth trying when teh problem manifests: top That'll tell you what's actually eating all you CPU time. For what it's worth, I had similar problems on a 4B when running minidlna. Shortly after boot it would rescan the media storage. Unfortunately that was on a ntfs formatted HDD. Perfo...
by thagrol
Sat Aug 31, 2019 11:31 am
Forum: Beginners
Topic: Permissions on external HDD
Replies: 4
Views: 312

Re: Permissions on external HDD

It opens immediately and creates a folder on the desktop (is this "automatic mounting"?) and I can see the files on the HDD. Yes. {quote] However I cannot create any new files and I cannot delete any files from it. It says "Operation not permitted". I've tried manually mounting and changed somethin...
by thagrol
Thu Aug 29, 2019 1:11 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 574
Views: 240464

Re: Raspberry Pi 4 usb boot?

dickon wrote:
Thu Aug 29, 2019 11:30 am
andrum99 wrote:
Thu Aug 29, 2019 11:14 am
Raspberry Pi's don't do PXE boot: it's Ethernet boot, but not PXE boot.
At last! Someone else who understands the difference...
Care to enlighten those of us who may not?
by thagrol
Thu Aug 29, 2019 9:59 am
Forum: HATs and other add-ons
Topic: Stacking a pi on a pi with GPIO?
Replies: 21
Views: 2590

Re: Stacking a pi on a pi with GPIO?

With a dual USB power plug, providing 2/1A, one can in theory power one Pi3B+/Pi4B, and power an additional 5 Pi zeros, on the second USB cable, if they're mounted together. With that hub it'll still be a tight power budget. It simply can't provide enough current to run all seven ports at full load...
by thagrol
Wed Aug 28, 2019 11:49 am
Forum: Advanced users
Topic: Multiple Zeros on Pi4
Replies: 5
Views: 980

Re: Multiple Zeros on Pi4

Last time I was doing something similar I ended up adding all the usbN interfaces on the host Pi to a bridge. And the host's onboard ethernet. Unfortunately bridgin to the onboard wifi is difficult and/or impossible. From memory I did something like this: install btidge utils: sudo apt install bridg...
by thagrol
Wed Aug 28, 2019 11:38 am
Forum: Python
Topic: Call a python script on another pi over local network
Replies: 13
Views: 1228

Re: Call a python script on another pi over local network

The crude way:

Code: Select all

import os
os.system('ssh user@host command')
You'll probably need to use the full path on the remote machine to your script.
by thagrol
Wed Aug 28, 2019 11:24 am
Forum: HATs and other add-ons
Topic: Stacking a pi on a pi with GPIO?
Replies: 21
Views: 2590

Re: Stacking a pi on a pi with GPIO?

While i think it's fascinating, I don't think I'll have what it takes to get such a project off the ground. Wifi interconnect would be possible for a set of Pi zero Ws; driven by a master (Pi 3B+ or Pi 4B), using the LAN for internet, and wifi for interconnection. So while using the GPIO pins as a ...
by thagrol
Tue Aug 27, 2019 9:17 pm
Forum: Troubleshooting
Topic: Can not copy from Pi zero to Pi 3 via USB connection.
Replies: 9
Views: 448

Re: Can not copy from Pi zero to Pi 3 via USB connection.

I tried everything, nothing works. Please tell us exactly what you have tried (copy and paste from your command history would be best) which machine you were logged into at the time and what error message(s) you got (again copy and paste). With only your vague statement above no one is likely to be...
by thagrol
Tue Aug 27, 2019 9:14 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 574
Views: 240464

Re: Raspberry Pi 4 usb boot?

So, in the end, what short, convenient, and descriptive term of art would you prefer to use for the SD-card-then-USB-connected-MSD boot process other that "hybrid boot"? Point taken. And anyway it's not so much the term but the baggage that seems to come with it: that a hybrid boot (mixed SD and US...
by thagrol
Tue Aug 27, 2019 10:47 am
Forum: Advanced users
Topic: USB-C Power insufficient when using OTG
Replies: 10
Views: 1236

Re: USB-C Power insufficient when using OTG

It'd be great if there was an existing Y-cable that can take a usb-c power source and expose a usb-c data-only port. But it also seems simple enough to make. Every Y cable I've encountered has made the assumtpion that both A plugs will be connected to the same USB host so there is no protection pre...
by thagrol
Tue Aug 27, 2019 10:15 am
Forum: HATs and other add-ons
Topic: Stacking a pi on a pi with GPIO?
Replies: 21
Views: 2590

Re: Stacking a pi on a pi with GPIO?

Yep. Like I said above ethernet gadget mode would be easier and faster. That said, if you really want to try this and are prepared to do the work... There are 26 user available gpio pins on the connector. Two of those have external (to the SoC0 pullups that cannot be disabled. Once approach for pin ...

Go to advanced search