Go to advanced search

by jj_0
Tue Dec 17, 2019 6:27 am
Forum: Python
Topic: Find a shortest route from 2d array
Replies: 10
Views: 365

Re: Find a shortest route from 2d array

There are a few well-known algorithms to calculate shortest-path between two points, Dijkstra is the most famous. There's also Floyd-Warshall that calculates shortest-path between all nodes.
by jj_0
Tue Nov 26, 2019 8:43 pm
Forum: Troubleshooting
Topic: Ping RaspPi using Hostname _without_ .local?
Replies: 4
Views: 167

Re: Ping RaspPi using Hostname _without_ .local?

Add

Code: Select all

search .local
to /etc/resolv.conf, or maybe to a new.conf file in e.g.

Code: Select all

/usr/lib/systemd/resolved.conf.d/
. More info at https://www.freedesktop.org/software/sy ... .conf.html.
by jj_0
Thu Nov 21, 2019 6:04 am
Forum: Advanced users
Topic: Self-restoring partition?
Replies: 3
Views: 238

Re: Self-restoring partition?

It can easily be done, you have to use a kernel with built-in initrd (= ramdisk) boot. This is a common boot method that you can find lots of information abiut. I'm not sure if the Pi's kernel uses this already so you might have to recompile the kernel. In the initrd 'init' script you then add stuff...
by jj_0
Wed Nov 20, 2019 7:14 am
Forum: General programming discussion
Topic: How to setup multiple local subdomains on raspberry pi with nginx?
Replies: 1
Views: 287

Re: How to setup multiple local subdomains on raspberry pi with nginx?

That's not really an Raspberry Pi question, but rather an nginx question. If you google something like 'nginx subdomain configuration' you should get lots of info, like https://dev.to/on_stash/configure-nginx-to-host-multiple-subdomains-2g0b. It looks relatively easy to configure except maybe the DN...
by jj_0
Sun Nov 17, 2019 9:19 pm
Forum: Raspbian
Topic: buster: logrotate is now driven by systemd
Replies: 2
Views: 497

Re: buster: logrotate is now driven by systemd

JumpZero, Thanks for posting this. I was doing another stuff at 00:00 and after the logrotate the system either unsuccessfully didn't make a WiFi connection or stopped doing my main cron job. Tried to find where one could change the time unsuccessfully, so followed the suggestion of moving /etc/cro...
by jj_0
Sun Nov 17, 2019 9:40 am
Forum: Automation, sensing and robotics
Topic: How to turn on Multiple TVs using a raspberry Pi?
Replies: 4
Views: 337

Re: How to turn on Multiple TVs using a raspberry Pi?

No Pi required if you already have a PC with each TV. You can use a USB infrared transmitter or possibly even a infrared transmitter connected to the sound out and use that in combination with WinLirc to switch on the TV. I hope your TV's have a different 'on' and 'off' infrared command though, and ...
by jj_0
Thu Nov 14, 2019 5:44 am
Forum: Troubleshooting
Topic: Trying to mount a network folder on boot. After fstab edit pi locks on reboot.
Replies: 17
Views: 550

Re: Trying to mount a network folder on boot. After fstab edit pi locks on reboot.

To test changes to /etc/fstab, unmount (if mounted) the newly added drive an then execute: mount --all This helps to see if there are any errors. However normally if the system can't mount an fstab entry during bootup you will be dumped into a maintenance console so your error message might point to...
by jj_0
Wed Nov 13, 2019 8:04 pm
Forum: General discussion
Topic: Raspberry 3 unavailable in Europe
Replies: 5
Views: 354

Re: Raspberry 3 unavailable in Europe

Here's a 3B that is still in stock at the time of writing.
by jj_0
Tue Nov 12, 2019 12:17 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 458
Views: 134404

Re: Raspberry Pi 4 usb boot?

Yes, but at the moment Etcher is only installable on the Pi by getting the .deb package directly for @futurejones's github . Sorry, but I don't see the relevance of that comment. You don't install Etcher on a RPI in order to install NOOBS (or any other OS) on an SD card in order to boot your RPI fo...
by jj_0
Tue Nov 12, 2019 9:40 am
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 458
Views: 134404

Re: Raspberry Pi 4 usb boot?

2. Now that Etcher is here which makes writing images as easy as formatting/unzipping for newbies, NOOBS could be provided as an alternative image file, like pinn-lite.img.zip is. Yes, but at the moment Etcher is only installable on the Pi by getting the .deb package directly for @futurejones's git...
by jj_0
Sun Nov 10, 2019 10:07 am
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 458
Views: 134404

Re: Raspberry Pi 4 usb boot?

It's only available on the beta firmware - see the above linked github repo for details. Yep, understood, rpi-eeprom-update. Now if only I had a USB booting PI4 I could use as a server to test the net booting ones ;) Not sure who wrote the code for the Pi3 USB boot but it works well with my USB3/SS...
by jj_0
Sun Nov 10, 2019 9:31 am
Forum: Beginners
Topic: Choose: video on USB-C with PoE **OR** video on eth with official power supply
Replies: 33
Views: 945

Re: Choose: video on USB-C with PoE **OR** video on eth with official power supply

So, it's still HDMI data, it never gets converted to anything else Ohhh... okay. That was enlightening (like seriously, not making fun of you). I guess now the only option to look for is HDMI to USB 3. I hope video input at USB 3 is feasible and not cursed :P My two cents from all of the above: Thi...
by jj_0
Sat Nov 09, 2019 8:35 pm
Forum: Beginners
Topic: Choose: video on USB-C with PoE **OR** video on eth with official power supply
Replies: 33
Views: 945

Re: Choose: video on USB-C with PoE **OR** video on eth with official power supply

hippy wrote:
Sat Nov 09, 2019 8:29 pm

Did nobody read the link I posted :roll: :roll: :roll:
Yes, I did! Hence my silence thereafter, I've been trying to find my HDMI-to-IP adapter set ever since to try it out...
by jj_0
Fri Nov 08, 2019 8:53 pm
Forum: General discussion
Topic: Network time sync on Raspbian Buster???
Replies: 8
Views: 520

Re: Network time sync on Raspbian Buster???

What does

Code: Select all

systemctl status timedatectl
say?
by jj_0
Thu Nov 07, 2019 10:10 am
Forum: Deutsch
Topic: Image von MicoSD auf USB Stick / Backup
Replies: 9
Views: 529

Re: Image von MicoSD auf USB Stick / Backup

Dass einfachste ist um am Raspberry Pi mit hilfe der 'SD Card Copier' (via ‘Accessories’ Menu) ein 1:1 Kopie zu erstellen auf den USB-stick. Wenn du danach von(?) USB bootest kann mit raspi-config ('Advanced Options') die rootfs partition expanded werden.
by jj_0
Wed Nov 06, 2019 10:54 am
Forum: Troubleshooting
Topic: MDADM damaged?
Replies: 2
Views: 390

Re: MDADM damaged?

Did you reboot after the dist-upgrade? If a new kernel is installed it won't be active until after reboot. After that it should look for modules in the 4.19.75+ modules directory.
by jj_0
Tue Nov 05, 2019 4:56 am
Forum: Troubleshooting
Topic: Raspbian Buster made my Micro-SD card read-only
Replies: 3
Views: 576

Re: Raspbian Buster made my Micro-SD card read-only

In my experience, a flash card unexpectedly showing up read-only almost always means a failed card. If there is anything important on the card, copy it right away, if possible. Try reformatting with the SD Association utility from https://www.sdcard.org/downloads/formatter/index.html Either that, o...
by jj_0
Tue Nov 05, 2019 4:50 am
Forum: Python
Topic: Permanent Arduino usb address on RPi!
Replies: 3
Views: 661

Re: Permanent Arduino usb address on RPi!

Look up 'udev rules'. These allow you to create specific/additional device names (actually softlinks to the actual /dev/ttyUSBx name that the kernel assigns) for (a.o.) USB devices based on for example the serial number of the device. There's a generuc tutorial here: https://linuxconfig.org/tutorial...
by jj_0
Mon Nov 04, 2019 7:55 pm
Forum: General discussion
Topic: My RPi4B locks up about once a day...
Replies: 1
Views: 330

Re: My RPi4B locks up about once a day...

I would suggest connecting to the UART/serial console (via USB2serial converter) to see any error messages and hopefully still be able to login an check whst's happening.
by jj_0
Mon Nov 04, 2019 7:00 pm
Forum: Off topic discussion
Topic: balenaEtcher RUNNING ON a pi4! [WORKING]
Replies: 45
Views: 8988

Re: balenaEtcher RUNNING ON a pi4?

unzip -p *.zip >/dev/sda Who needs a desktop when you're always forced into a terminal windows? I wish folks would stop referring to shell commands where clearly the expressed desire if for desktop app. Don't take me too seriously, but there is a desktop app for writing an image to an SD-card. But ...
by jj_0
Mon Nov 04, 2019 9:10 am
Forum: Troubleshooting
Topic: PI4 crashes with USB3 connected hub.
Replies: 4
Views: 549

Re: PI4 crashes with USB3 connected hub.

I'm not an expert but it might be helpful to post the output of some commands: To get the exact make/model of the USB to SATA converters that your Conceptronic 3,5" HDD Design Box uses. [email protected]:~ $ lsusb To see if there are any errors related to using UAS and/or usb: [email protected]:~ $ dmesg -T | gre...
by jj_0
Sun Nov 03, 2019 4:27 pm
Forum: Raspbian
Topic: No lxd package for lxd
Replies: 4
Views: 903

Re: No lxd package for lxd

Can't held with your actual 'lxd' issue but you can silence those annoying preload errors using 'sudo nano /etc/ld.so.preload' and putting a '#' at the start of the line it contains. YMMV. Or change ${PLATFORM} to v7l assuming you're on (I think) anything greater or equal to a Pi 2 V1.2 with a 32-b...
by jj_0
Sun Nov 03, 2019 12:46 pm
Forum: Troubleshooting
Topic: WLAN MAC address changes at every reboot?
Replies: 21
Views: 3101

Re: WLAN MAC address changes at every reboot?

For reference, see here for the fix for NetworkManager, in case you have that installed.

Go to advanced search