Go to advanced search

by jj_0
Thu Jun 18, 2020 12:58 pm
Forum: General discussion
Topic: STICKY: USB-MSD boot EEPROM fourth update - 2020-06-15
Replies: 193
Views: 21388

Re: STICKY: USB-MSD boot EEPROM third update - 2020-06-15

and /etc/fstab on USB HDD to be: proc /proc proc defaults 0 0 PARTUUID=/dev/sda1 /boot vfat defaults 0 2 PARTUUID=/dev/sda2 / ext4 defaults,noatime 0 1 then my RPi is unable to boot. Without monitor, I cannot see any log. Please suggest how should I fix this. As per the post above PARTUUID in fstab...
by jj_0
Thu Jun 18, 2020 10:56 am
Forum: Networking and servers
Topic: RRaspberry PI 4 - USB OTG / Ethernet over USB to Windows 10
Replies: 10
Views: 401

Re: RRaspberry PI 4 - USB OTG / Ethernet over USB to Windows 10

I've run the RPI4 from a laptop's USB 3 port to the RPI4's USB 2.0 Type C port with the serial and ethernet gadget mode enabled over the USB link. This was about 2 months ago so not with the current latest firmware. However the Pi had nothing else connected so would not have needed much power. But o...
by jj_0
Sat Jun 13, 2020 2:51 pm
Forum: Advanced users
Topic: RPi 4 USB-C socket as host
Replies: 14
Views: 6221

Re: RPi 4 USB-C socket as host

Hello, I would also like to switch the direction of the pi 4 OTG port (as part of a test setup). Ideally in host mode it could read/write a USB drive, and in device mode it would appear as 3 peripherals (usb-uart, usb-drive, usb-ethernet) The command to switch the OTG port to host mode worked when ...
by jj_0
Tue Mar 03, 2020 5:32 pm
Forum: Troubleshooting
Topic: The NTP service doesn't work on Raspberry Pi 3
Replies: 6
Views: 247

Re: The NTP service doesn't work on Raspberry Pi 3

What about systemd-timesyncd, the alternative to ntp?
by jj_0
Tue Dec 17, 2019 6:27 am
Forum: Python
Topic: Find a shortest route from 2d array
Replies: 10
Views: 608

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: 226

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: 317

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: 680

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: Raspberry Pi OS
Topic: buster: logrotate is now driven by systemd
Replies: 2
Views: 1228

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: 508

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: 904

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: 460

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: 574
Views: 220185

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: 574
Views: 220185

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: 574
Views: 220185

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: 1411

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: 1411

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: 2437

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: 1029

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: 579

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: 938

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: 749

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: 384

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.

Go to advanced search