Go to advanced search

by jj_0
Fri May 14, 2021 2:52 pm
Forum: Networking and servers
Topic: Cloned PIs won't work on same LAN
Replies: 18
Views: 390

Re: Cloned PIs won't work on same LAN

What happens if you swap the SD-cards of both Pi's is it then the other Pi that has the issue?
by jj_0
Wed May 12, 2021 8:36 am
Forum: General discussion
Topic: run exe file on raspberry pi
Replies: 21
Views: 832

Re: run exe file on raspberry pi

Hello, I haven’t found any solution to this problem and I have tried everything and nothing works at all, the problem is that I need to run exe even through an emulator, but how? will help What's the program you are trying to run? Is it Windows 32-bit or 64-bit? I've had some success in installing ...
by jj_0
Sat Apr 17, 2021 1:34 pm
Forum: Troubleshooting
Topic: Ethernet oddness - Pi4 B 4GB
Replies: 8
Views: 466

Re: Ethernet oddness - Pi4 B 4GB

Have you checked out disabling EEE, see viewtopic.php?f=28&t=305820?
by jj_0
Sat Apr 17, 2021 12:54 pm
Forum: Ubuntu
Topic: Rpi 4B USB controller crashing
Replies: 7
Views: 507

Re: Rpi 4B USB controller crashing

What brand is the USB2SATA controller of your external drive?

You might want to check out viewtopic.php?f=28&t=245931&p=1850872&h ... s#p1850872 and set some usb-storage.quirks.
by jj_0
Tue Jan 05, 2021 12:44 pm
Forum: General discussion
Topic: X86-64 on my PI 4B 8GB
Replies: 12
Views: 1020

Re: X86-64 on my PI 4B 8GB

As the application is linux-based you can try with just 'on the fly' translation of the x86_64 code to ARM, by installing the 'qemu-user-static' package, and if not already installed the 'binfmt-support' package. Then you might be able to just run the executable. I've used this method to run Windows...
by jj_0
Mon Dec 14, 2020 6:24 pm
Forum: Troubleshooting
Topic: Ri 4 boot from SSD. PROBLEM!
Replies: 5
Views: 312

Re: Ri 4 boot from SSD. PROBLEM!

Nice to see you got it to work - and also that you reported back.
by jj_0
Sun Dec 13, 2020 1:22 pm
Forum: Raspberry Pi OS
Topic: Buster - writing to /sys/module/
Replies: 2
Views: 162

Re: Buster - writing to /sys/module/

You could look into faking something in the modules.alias file to make it load the right driver (https://www.pks.mpg.de/~mueller/docs/su ... ivers.html)

Or insert the correct module manually with the insmod command.
by jj_0
Sun Dec 13, 2020 1:06 pm
Forum: Troubleshooting
Topic: Ri 4 boot from SSD. PROBLEM!
Replies: 5
Views: 312

Re: Ri 4 boot from SSD. PROBLEM!

Troubleshooting is easier if you attach a screen so you can see what the bootloader says. You can also turn on bootloader info via the UART I think. Also in my opinion it's best to use the official documentation (https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md and htt...
by jj_0
Fri Dec 11, 2020 10:19 am
Forum: Troubleshooting
Topic: NTP server and client not working
Replies: 5
Views: 314

Re: NTP server and client not working

Also, what does: sudo systemctl status systemd-timesyncd.service say, as the standard time synchronisation is ystemd-timesyncd, not ntp? root@displaypi:~# systemctl status systemd-timesyncd.service Warning: The unit file, source configuration file or drop-ins of systemd-timesyncd.service changed on...
by jj_0
Fri Dec 11, 2020 10:02 am
Forum: Troubleshooting
Topic: NTP server and client not working
Replies: 5
Views: 314

Re: NTP server and client not working

Also, what does:

Code: Select all

sudo systemctl status systemd-timesyncd.service
say, as the standard time synchronisation is ystemd-timesyncd, not ntp?
by jj_0
Tue Nov 24, 2020 12:21 pm
Forum: Troubleshooting
Topic: 2.5 gigabit ethernet USB3.0 adapter issues
Replies: 22
Views: 3655

Re: 2.5 gigabit ethernet USB3.0 adapter issues

I've read somewhere (jeffgeerlings post on PCI 10GB ethernet cards) that jumbo frames are not enabled on the Pi, maybe that's relevant here as well?
by jj_0
Tue Nov 24, 2020 12:12 pm
Forum: General discussion
Topic: Exagear x86 code simulatior
Replies: 22
Views: 1173

Re: Exagear x86 code simulatior

Your best bet is an upgrade to TwisterOS which includes some stuff for running X86 crap programs with a slower emulator than Exagear's. I've have over 200+ games running on my pi 4 largely thanks to box86 being able to run x86 linux and wine. Also having used both exagear and box86, I find box86 to...
by jj_0
Tue Nov 24, 2020 9:15 am
Forum: General discussion
Topic: Exagear x86 code simulatior
Replies: 22
Views: 1173

Re: Exagear x86 code simulatior

Your best option is to install binfmt-support, qemu-user-static and Wine and/or Mono (if it's a .NET program) You can even configure binfmt to automatically use Wine or Mono and chmod +x your executable. See https://en.m.wikipedia.org/wiki/Binfmt_misc section Common Usage. It's not necessarily fast...
by jj_0
Mon Nov 23, 2020 5:48 pm
Forum: General discussion
Topic: Exagear x86 code simulatior
Replies: 22
Views: 1173

Re: Exagear x86 code simulatior

Your best option is to install binfmt-support, qemu-user-static and Wine and/or Mono (if it's a .NET program) You can even configure binfmt to automatically use Wine or Mono and chmod +x your executable. See https://en.m.wikipedia.org/wiki/Binfmt_misc section Common Usage. It's not necessarily fast ...
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: 51763

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

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: 28
Views: 14738

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

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

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

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

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

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

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

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 ...

Go to advanced search