Go to advanced search

by knute
Mon Jun 29, 2020 4:15 pm
Forum: Java
Topic: Java JIT availability on OpenJDK 11
Replies: 1
Views: 137

Re: Java JIT availability on OpenJDK 11

I like Azul's JDK because you can get it with JavaFX but I don't think it is any faster than OpenJDK. You can also look at Bell Software's JDK, bell-sw.com, it also has a version with JavaFX built in. The advantage of Bell's is that they have version 14 available with JavaFX for ARM.
by knute
Tue Jun 23, 2020 7:33 pm
Forum: Networking and servers
Topic: Help installing Oracle JDK 8/Airsonic
Replies: 7
Views: 215

Re: Help installing Oracle JDK 8/Airsonic

If it is the same package you have in your first post: sudo mv jdk-8u251-linux-arm32-vfp-hflt.tar.gz /opt cd /opt sudo tar xvf jdk-8u251-linux-arm32-vfp-hflt.tar.gz I think it will create a directory something like jdk-8_251. All of the programs are in jdk-8_251/bin. Create some links in your /home/...
by knute
Tue Jun 23, 2020 12:56 am
Forum: Networking and servers
Topic: Help installing Oracle JDK 8/Airsonic
Replies: 7
Views: 215

Re: Help installing Oracle JDK 8/Airsonic

Actually you've linked to Open Java which i'm trying to avoid as it hangs the boot for an hour apparently. This is why i've been at pains to get hold of the Oracle package. Since the license arrangements changed you can only get hold of it through a registered Oracle account which i've done so .. h...
by knute
Sun Jun 21, 2020 6:22 pm
Forum: Networking and servers
Topic: Help installing Oracle JDK 8/Airsonic
Replies: 7
Views: 215

Re: Help installing Oracle JDK 8/Airsonic

I looked at that webpage and it says you need at least version 7. Since 11 is the current long term support version, I would install that.

sudo apt update

sudo apt install openjdk-11-jdk
by knute
Sun Jun 21, 2020 6:07 pm
Forum: General discussion
Topic: Shortest possible firewall rule set
Replies: 1
Views: 102

Re: Shortest possible firewall rule set

sudo apt ufw install

sudo ufw allow <your services eg. ssh>

sudo ufw enable

I can't imagine why you would want to block outgoing ports, it is only going to give you grief. Tell me what harm you think you would be preventing?
by knute
Fri Jun 12, 2020 2:38 am
Forum: Troubleshooting
Topic: UFW Firewall Rules
Replies: 6
Views: 204

Re: UFW Firewall Rules

You don't need the deny in rules. If you have a router you can connect from the outside to your network with a VPN. From there you can ssh into your Pi and restrict it to local addresses. You need to decide if you need to get to your webserver from the wild or if you can VPN to your network first. A...
by knute
Tue Jun 09, 2020 3:48 pm
Forum: Troubleshooting
Topic: UFW Firewall Rules
Replies: 6
Views: 204

Re: UFW Firewall Rules

Not really. The default for UFW is to block inbound so you don't need any deny in rules, just allow rules. Just allow the ports for services that are running on your Pi. If you can restrict where they are coming from you should do that too. Do you have a router between your Pi and the internet or do...
by knute
Mon Jun 08, 2020 3:13 pm
Forum: Troubleshooting
Topic: UFW Firewall Rules
Replies: 6
Views: 204

Re: UFW Firewall Rules

The simple solution to this is don't block all outgoing, it's just going to make your life difficult and not make your computer any more secure. View your camera through an SSH tunnel.
by knute
Sun Jun 07, 2020 8:44 pm
Forum: General discussion
Topic: USB MSD bootloader EEPROM second update 2020-06-03 - BETA
Replies: 54
Views: 4588

Re: USB MSD bootloader EEPROM 2020-06-03 - BETA

If you want to use a JMicron controller, quirks are your only option. I didn't know there was an issue with JMicron controllers so I just used it and it appears to work just fine? Bus 002 Device 002: ID 152d:0583 JMicron Technology Corp. / JMicron USA Technology Corp. [ 3.145447] usb 2-2: new Super...
by knute
Thu Jun 04, 2020 7:05 pm
Forum: General discussion
Topic: Questions about programming on the Raspberry Pi
Replies: 20
Views: 1042

Re: Questions about programming on the Raspberry Pi

If you are familiar with C# I would suggest Java. I would suggest Java anyway but that's just me :-) You can develop on any computer and run it on the Pi or you can develop on the Pi. It has a good selection of widgets, excellent graphics capabilities, a huge stable API and runs quite fast once load...
by knute
Thu Jun 04, 2020 6:52 pm
Forum: Troubleshooting
Topic: RPi4 - serious (UDP) network issues
Replies: 20
Views: 1591

Re: RPi4 - serious (UDP) network issues

Ok, I've found something, and even though I haven't finalized trying to understand what's going on I thought it was relevant enough to be shared. I have qBittorrent running with a capped speed. When the speed is capped I see the errors mentioned in my previous comment. If I remove the cap and let i...
by knute
Thu Jun 04, 2020 12:02 am
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: USB-MSD boot EEPROM update - 2020-05-28

trejan wrote:
Wed Jun 03, 2020 2:04 am
knute wrote:
Wed Jun 03, 2020 2:01 am
That doesn't work?

Code: Select all

echo | sudo tee /boot/.firmware_revision 
sudo rpi-update
What does that do?

pi@raspberrypi4B:/boot $ cat /boot/.firmware_revision
b2aabc3ac7852481cb7833ce068f65eaa4476a2f
by knute
Wed Jun 03, 2020 2:01 am
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: USB-MSD boot EEPROM update - 2020-05-28

cormack wrote:
Tue Jun 02, 2020 2:28 pm
knute wrote:
Tue Jun 02, 2020 2:19 pm
thatchunkylad198966 wrote:
Tue Jun 02, 2020 12:03 am
New kernel just got released...
And it overwrote the 5.4 kernel that I had installed by accident when I was trying to get USB boot working. Anybody know how to get 5.4 back?

Thanks!
sudo rpi-update
That doesn't work, there has to be another step somewhere?
by knute
Tue Jun 02, 2020 2:19 pm
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: USB-MSD boot EEPROM update - 2020-05-28

thatchunkylad198966 wrote:
Tue Jun 02, 2020 12:03 am
New kernel just got released...
And it overwrote the 5.4 kernel that I had installed by accident when I was trying to get USB boot working. Anybody know how to get 5.4 back?

Thanks!
by knute
Mon Jun 01, 2020 8:33 pm
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: USB-MSD boot EEPROM update - 2020-05-28

Simplest way to prep a USB boot device is to write the latest Raspberry Pi OS with desktop image to an SD card with the Raspberry Pi Imager, boot that card and do a sudo apt update && sudo apt full-upgrade -y && sudo rpi-update followed by a reboot, then use the SD Card Copier utility to clone the ...
by knute
Mon Jun 01, 2020 7:07 pm
Forum: General discussion
Topic: UFW is blocking my ftp traffic.
Replies: 17
Views: 648

Re: UFW is blocking my ftp traffic.

I think the lesson I have learned is "Don't be lazy, don't count on your memory. Write everything you do down, keep a log and backup all your important config files." Not doing so is asking for trouble, especially as one gets older and older and older.... and older ;-) :D Just so you know, that onl...
by knute
Mon Jun 01, 2020 6:53 pm
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: Help? was: Re: USB-MSD boot EEPROM update - 2020-05-28

RonR wrote:
Mon Jun 01, 2020 1:48 am
knute wrote:
Mon Jun 01, 2020 1:44 am
So where do I get this usb-boot. It is not at the link you kindly provided?

usb-boot

Link ---^

File is attached to bottom of first post.
Ooops, my bad.
by knute
Mon Jun 01, 2020 6:51 pm
Forum: Java
Topic: Clip stop() method not working
Replies: 18
Views: 939

Re: Clip stop() method not working

Hello. Yes, I eventually stopped using Clip in favour of SourecDataLine, but it is a bit rubbish that Clip.stop() just doesn't seem to work on a Raspberry PI It does work. The fact that it takes a half a second to do so is not rubbish, it is just the way it is. And what's the problem with using a S...
by knute
Mon Jun 01, 2020 1:44 am
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: Help? was: Re: USB-MSD boot EEPROM update - 2020-05-28

Assuming what you posted is from an SD card that boots and runs properly, the easiest way to migrate it to a USB device is to use: usb-boot Answer 'No' to 'Use SD card to boot the USB device?'. No changes will be made to the SD card. When usb-boot completes, you should be able to shutdown and boot ...
by knute
Mon Jun 01, 2020 1:42 am
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: USB-MSD boot EEPROM update - 2020-05-28

It appears knute already has the latest beta bootloader installed (1590650553): Yup, apparently I missed that. So the question is, what is knute actually trying to fix? Is his Pi not booting from usb? No it's not. Clearly I am missing some steps but I can't find a complete set of instructions anywh...
by knute
Mon Jun 01, 2020 1:40 am
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Re: Help? was: Re: USB-MSD boot EEPROM update - 2020-05-28

Don't forget to visit the cmdline.txt file in the boot partition, and the /etc/fstab file in the root partition. You'll most likely need to tidy up the PARTUUID in those files. To find out what the PARTUUID should be, you can run 'sudo blkid' Visit is a euphemism that I don't understand. What do I ...
by knute
Sun May 31, 2020 7:18 pm
Forum: General discussion
Topic: GPIO1
Replies: 12
Views: 431

Re: GPIO1

eslavko wrote:
Sun May 31, 2020 11:16 am
replace ExecStart=/usr/bin/pigpiod with
ExecStart=/usr/bin/pigpiodgarbage -x -1
Are you sure that pigpiod is in fact running when you called to start pigpiodgarbage?
by knute
Sun May 31, 2020 7:12 pm
Forum: General discussion
Topic: USB-MSD boot EEPROM first update - 2020-05-28
Replies: 234
Views: 23317

Help? was: Re: USB-MSD boot EEPROM update - 2020-05-28

A little help please, as I am stuck. I tried several (read that a lot) times to update my eeprom and I am stuck in some sort of limbo. I ran rpi-update. I copied the files from git to my /boot directory. I tried to copy everything over the a USB stick that had a fresh version of ROS on it. That didn...
by knute
Sat May 30, 2020 6:17 pm
Forum: General discussion
Topic: GPIO1
Replies: 12
Views: 431

Re: GPIO1

Did you do a systemctl daemon-reload?
by knute
Sat May 30, 2020 3:31 pm
Forum: General discussion
Topic: GPIO1
Replies: 12
Views: 431

Re: GPIO1

You might try editing /lib/systemd/system/pigpiod.service.

Go to advanced search