Go to advanced search

by Kendek
Sun Mar 22, 2020 4:32 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 309
Views: 97784

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Golang `go1.14.1.linux-arm64.tar.gz` doesn't work, come across "no such file or directory: ./go/go/bin/go " when executing the binary. Yeah, although this error message is misleading. 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so....
by Kendek
Sat Mar 21, 2020 10:07 pm
Forum: Advanced users
Topic: Encrypt file on the raspberry pi
Replies: 3
Views: 137

Re: Encrypt file on the raspberry pi

Why the encryption? Just store the salted hash, and compare only the hashes.

Code: Select all

mkpasswd -m sha-512 -S <salt> <password>
This is the best and safest way.
by Kendek
Mon Feb 24, 2020 3:45 pm
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 338

Re: Problem matching module with installed kernel version

There was no source code modification at all. And if you look at my original post you will see that the vermagic of the compiled wireguard module is pretty much the same as running uname -r on the running version. So i don't understand why i am getting the wireguard: disagrees about version of symb...
by Kendek
Sun Feb 23, 2020 8:58 am
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 338

Re: Problem matching module with installed kernel version

I don't have the original kernel source. Thats why i pulled the same version from the raspbian kernel repo. If your custom kernel was compiled from 544ec5b without any source code modifications, then this is the original kernel source. You just need to configure and prepare it before compiling the ...
by Kendek
Sat Feb 22, 2020 12:39 pm
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 338

Re: Problem matching module with installed kernel version

You need to use the original - custom - kernel source with the same - custom - .config file. Apply the Wireguard patch, prepare the kernel and compile the module. This is how I compile the Wireguard module for the Synology routers : wireguard-linux-compat-*/kernel-tree-scripts/jury-rig.sh linux-4.4....
by Kendek
Sun Feb 16, 2020 6:13 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 11
Views: 1334

Re: Pi4 OpenVPN/WireGuard server performance is terrible

Thanks. I still get that ~20Mbps cap... So, you have a 1 Gbps internet access, I think it's PPPoE, right? The max MTU is 1492 instead of 1500, so you need to set the correct value on the client. I'm using 1432 because 1492 PPPoE max - 20 IPv4 header - 8 UDP header - 4 type - 4 key index - 8 nonce -...
by Kendek
Sun Feb 16, 2020 4:15 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 11
Views: 1334

Re: Pi4 OpenVPN/WireGuard server performance is terrible

CodilX wrote:
Sun Feb 16, 2020 4:07 pm
Is there any way to bump this up or is this just a limitation of Wireguard/Pi4?
There is a limitation, but I don't think that is on the server side. Maybe try to share your mobile internet with a PC, and do some speed test on it.
by Kendek
Sun Feb 16, 2020 3:33 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 11
Views: 1334

Re: Pi4 OpenVPN/WireGuard server performance is terrible

CodilX wrote:
Sun Feb 16, 2020 3:05 pm
Are you running stock settings with WireGuard?
Yeah, nothing special. But my OS is a custom 64-bit Ubuntu with kernel 5.5.4. The AES is not HW accelerated, so the WireGuard is recommended, and the Adiantum is for fscrypt or LUKS DM-Crypt.
by Kendek
Sun Feb 16, 2020 1:09 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 11
Views: 1334

Re: Pi4 OpenVPN/WireGuard server performance is terrible

The OpenVPN is slow, but the WireGuard performs very well. I'm getting ~50 MB/s (~400 Mbps) download and upload speed on my tablet, through the VPN tunnel (htop). It's limited by the 867 Mbps WiFi connection.
by Kendek
Thu Feb 06, 2020 3:09 pm
Forum: Troubleshooting
Topic: Rspberry pi4 4gb ram - no display output
Replies: 18
Views: 568

Re: Rspberry pi4 4gb ram - no display output

250mA is too weak for the Pi4. If you can, please use the official and recommended 3A PSU (it's not that expensive).
by Kendek
Sat Feb 01, 2020 8:47 am
Forum: General discussion
Topic: Difference between Bootloader and Firmware?
Replies: 3
Views: 734

Re: Difference between Bootloader and Firmware?

The Bootloader is like a BIOS and is stored in an EEPROM (called as boot EEPROM ). To get the bootloader version, use the following command: > vcgencmd bootloader_version Jan 17 2020 13:44:13 version 9e30fb4d1e7bff5e45ece096afa90a9b23007a84 (release) timestamp 1579268653 The VL805 is a USB controlle...
by Kendek
Fri Jan 31, 2020 3:07 pm
Forum: General discussion
Topic: Time machine/system restore on pi?
Replies: 8
Views: 876

Re: Time machine/system restore on pi?

Try the systemback.sh script. I think it's very usable and effective.
by Kendek
Sat Jan 25, 2020 10:58 am
Forum: Advanced users
Topic: DKMS to recompile customized kernel automatically?
Replies: 1
Views: 183

Re: DKMS to recompile customized kernel automatically?

DKMS ( Dynamic Kernel Module Support ) cannot reconfigure and recompile the Linux kernel. Depending on what you change in the .config, you need to compile the whole kernel or just the extra kernel module(s). You can write a script to do it all in one step, but compiling the kernel takes about an hou...
by Kendek
Thu Jan 23, 2020 5:07 am
Forum: Device Tree
Topic: RPi4 Ethernet LED control
Replies: 5
Views: 3165

Re: RPi4 Ethernet LED control

ahori0 wrote:
Thu Jan 23, 2020 2:37 am
Hi may I asked how you did this?
Just pull their repo, make the change, and recompile?
This feature has been implemented:

Code: Select all

dtparam=eth_led0=4                                                                     
dtparam=eth_led1=4
by Kendek
Tue Jan 21, 2020 3:27 pm
Forum: Advanced users
Topic: What kind of Filesystem for the usb harddisc for the Media on a kodi-box?
Replies: 3
Views: 282

Re: What kind of Filesystem for the usb harddisc for the Media on a kodi-box?

Ext4 is the default filesystem and the best choice. No advanced features (like snapshots, data compress...), but it's safe, compatible and performs very well.
by Kendek
Sat Jan 18, 2020 9:22 pm
Forum: Advanced users
Topic: [SOLVED] Building default Raspbian Buster kernel from github - missing kernel PPS support
Replies: 5
Views: 398

Re: Building default Raspbian Buster kernel from github - missing kernel PPS support

Compare the bcm2711_defconfigs:

4.19.75 / 4.19.95

CONFIG_PPS=m

You need to load the module before using it:

Code: Select all

modprobe pps_core
by Kendek
Mon Dec 23, 2019 11:40 am
Forum: Advanced users
Topic: Pi4 rootfs on SSD
Replies: 2
Views: 395

Re: Pi4 rootfs on SSD

Yes it is still necessary. After you download and unzip the .img file, you can mount the boot and rootfs partitions from it. Under Ubuntu desktop: sudo -i gnome-disk-image-mounter *raspbian-buster*.img mkdir /mnt/{boot0,boot1,rootfs0,rootfs1} mount /dev/loop0p1 /mnt/boot0 mount /dev/loop0p2 /mnt/roo...
by Kendek
Thu Nov 21, 2019 10:08 am
Forum: Troubleshooting
Topic: 4k 60 hz is not listed, only 30hz
Replies: 39
Views: 10829

Re: 4k 60 hz is not listed, only 30hz

Same thing happens for me on my TCL 55R617. Enabled 4kp60 but I still only see 30hz in the display settings. I'm not extremely knowledgeable when it comes to adding display modes and such, so would someone have a suggestion? Ps. I'd settle for 1440p60, but I don't know how to add that to my display...
by Kendek
Mon Nov 11, 2019 1:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4b WiFi 5Ghz (ac) bugs
Replies: 13
Views: 1644

Re: Raspberry Pi 4b WiFi 5Ghz (ac) bugs

I too am only getting 40MHz channels except when selecting the US regulatory domain, but for me there's no difference in behaviour between 3B+ and 4B. Qualcomm error message when trying to connect to AC-only mode: deny assoc request, no vht caps in pure 802.11ac mode If doing pure 802.11ac mode, do...
by Kendek
Sat Nov 09, 2019 2:59 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 309
Views: 97784

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

I need to build a kernel module for the 64bit kernel. Is there an easier solution than building a cross compiler and completely building the kernel? I've got a chroot for pi64 with aarch64-gcc but I dont have kernel headers and the normal method of getting them doesnt apparently work. You can use t...
by Kendek
Mon Nov 04, 2019 1:50 pm
Forum: Advanced users
Topic: Getting the latest boot loader?
Replies: 1
Views: 573

Re: Getting the latest boot loader?

Yes, these are the latest versions.

https://github.com/raspberrypi/rpi-eepr ... mware/beta
by Kendek
Mon Nov 04, 2019 12:54 pm
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 762

Re: automatic startup Bash script

henribusio wrote:
Mon Nov 04, 2019 12:51 pm
bash: /home/pi/.config/lxsession/LXDE-pi/autostart: No such file or directory

Code: Select all

mkdir -p ~/.config/lxsession/LXDE-pi
touch ~/.config/lxsession/LXDE-pi/autostart
nano ~/.config/lxsession/LXDE-pi/autostart
by Kendek
Mon Nov 04, 2019 12:47 pm
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 762

Re: automatic startup Bash script

henribusio wrote:
Mon Nov 04, 2019 12:37 pm
i found a solution adding it to sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
The correct file is

~/.config/lxsession/LXDE-pi/autostart

if you want to execute a script from your home directory.
by Kendek
Mon Nov 04, 2019 11:47 am
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 762

Re: automatic startup Bash script

What happens if you try to execute the /etc/rc.local?

Code: Select all

sudo /etc/rc.local
by Kendek
Mon Nov 04, 2019 10:04 am
Forum: General discussion
Topic: wipe unused space on SDcard?
Replies: 8
Views: 3615

Re: wipe unused space on SDcard?

VincentiuCelMare wrote:
Mon Nov 04, 2019 9:24 am
Anyone ? Is the sync before deleting the file really necessary ?
The sync command is required (but only once) to fully write the buffered data to the SD card.
Instead you can use the fstrim -av command to TRIM the unallocated space.

Go to advanced search