Added Hook:

And Sketcher:

In this guide, I will walk you through setting up a secure remote media server using:
This setup allows you to:
Before you begin, make sure you have:
Look for options such as:
Enable the appropriate setting.
Install ethtool:
sudo apt install ethtool
Enable WOL on your network interface:
sudo ethtool -s eth0 wol g
(Replace eth0 with your actual interface using ip link.)
Create /etc/systemd/system/wol.service:
[Unit]
Description=Wake-on-LAN configuration
After=network.target
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s eth0 wol g
[Install]
WantedBy=multi-user.target
Enable the service:
sudo systemctl enable wol
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
sudo systemctl enable jellyfin
sudo systemctl start jellyfin
Navigate to:
http://YOUR_SERVER_IP:8096
Follow the setup steps:
Always place Jellyfin behind a VPN such as WireGuard.
sudo apt install wireguard
Install the official Android app:
WireGuard – WireGuard Development Team
wg genkey | tee server_private.key | wg pubkey > server_public.key
wg genkey | tee phone_private.key | wg pubkey > phone_public.key
Display keys:
cat server_private.key
cat server_public.key
cat phone_private.key
cat phone_public.key
Never share private keys.
/etc/wireguard/wg0.confExample VPN subnet:
10.10.0.0/2410.10.0.110.10.0.2[Interface]
Address = 10.10.0.1/24
ListenPort = 51820
PrivateKey = <SERVER_PRIVATE_KEY>
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o enp0s31f6 -j MASQUERADE; ip6tables -A INPUT -p udp --dport 51820 -j ACCEPT
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o enp0s31f6 -j MASQUERADE; ip6tables -D INPUT -p udp --dport 51820 -j ACCEPT
SaveConfig = true
[Peer]
PublicKey = <PHONE_PUBLIC_KEY>
AllowedIPs = 10.10.0.2/32
Replace enp0s31f6 with your interface name.
echo "net.ipv4.ip_forward=1" | sudo tee /etc/sysctl.d/99-wireguard.conf
sudo sysctl --system
Forward:
sudo systemctl enable wg-quick@wg0
sudo systemctl start wg-quick@wg0
sudo wg
[Interface]
PrivateKey = <PHONE_PRIVATE_KEY>
Address = 10.10.0.2/32
DNS = 1.1.1.1
[Peer]
PublicKey = <SERVER_PUBLIC_KEY>
Endpoint = YOUR_PUBLIC_IP:51820
AllowedIPs = 192.168.1.0/24, 10.10.0.0/24
PersistentKeepalive = 25
sudo apt install qrencode
qrencode -t ansiutf8 < phone.conf
Scan it directly in the WireGuard app.
http://192.168.1.50:8096
(Replace with your own server IP)
Common issues:
Allow WireGuard:
sudo ufw allow 51820/udp
Allow VPN subnet:
sudo ufw allow from 10.10.0.0/24
Add NAT rules in /etc/ufw/before.rules before *filter:
# WireGuard NAT masquerading
*nat
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s 10.10.0.0/24 -o enp0s31f6 -j MASQUERADE
COMMIT
Ensure forwarding rules are present:
-A ufw-before-forward -i wg0 -j ACCEPT
-A ufw-before-forward -o wg0 -j ACCEPT
Restart UFW:
sudo ufw disable
sudo ufw enable
It was found in the upstream git repo sources, and particularly well hidden.
Original article here:
https://www.openwall.com/lists/oss-security/2024/03/29/4
See also
If you’re doing scp command, with ‘-r’ recursive option, and stumble upon a strange “path canonicalization failed” out of nowhere:
Starting from SSH 9.0.0 scp is using sFTP to copy files. And in sFTP, target directories must exist.
Simple fix: use -O, legacy mode:
“Use the legacy SCP protocol for file transfers instead of the SFTP protocol. Forcing the use of the SCP protocol may be necessary for servers that do not implement SFTP, for backwards-compatibility for particular filename wildcard patterns and for expanding paths with a `~’ prefix for older SFTP servers”
#SSH #SCP #ERROR
When updating your devices, you may sometimes encounter problems that are directly related to the way you updated and to the changes that have occurred between your version jump.
That guide does not pretend to solve all the problems, some are real issues that have to be opened on the Mayhem GITHUB issues tracker.
On the other hand, if you have followed that guide and still have a problem, your issue have better chances to be solved as it will be possible to set aside common updates related problems.
List of important steps:
You may search each each steps details in the Mayhem GITHUB Wiki, particularly in the following sections:
#hackrf #portapack #mayhem #update #upgrade #guide
#GPT4 is so amazing that it is a little bit frightening.
But hey, you can pour it a book and talk… to the book, isn’t it amazing ??
Seriously, the GPTs are incredible and the futur is going to change for sure.
Good or bad, well, wait and see.
PS: I can only encourage you to follow Two Minutes Papers. That channel is just so good, with simple and quick explanations, even when it’s a heavy subject like GPT4
If ever at some points Spotify on Linux refuses to start or start with fucked up graphics, there is a high probability that it’s due to hardware acceleration and a pesky update.
Spotify isn’t that much of a GUI CPU hog, so you can start it with hardware acceleration OFF and make it work again, like this:
spotify –disable-gpu
Some users reported that they needed to use –no-zygote too, but it made it instable for me.
Some had to also use –disable-software-rasterizer. I saw no changes when using it.
#spotify #gpu #linux #crash
Are you in search of an open source free and offline alternative to #ChatGPT ?
Here comes GTP4all ! Free, open source, with reproducible datas, and offline.
Can run on Windows, Linux, Mac.
https://github.com/nomic-ai/gpt4all

#ChatGPT #GTP4all
Wonderful museum to visit.
Official website: https://www.museedesconfluences.fr/en
A few photos from the expositions:












#Museum #Photography #Dynosaurs #Humanity #History
A lot of us already know the excellent https://openclassrooms.com/fr/
There is also, in a more game dev oriented way, https://www.codingame.com/start or https://codecombat.com/
Learning is fun, but it it even funnier if you’re learning while gaming 😉
Man that is fucking good. Thanks Mezerg and Emilio !
Mix : Samuel Marchais
#Music #Mezerg #Emilio