- 16 Posts
- 15 Comments
Thanks everyone,
I figured out also the missing
./but meanwhile I got already 4 reply ! \Thanks so much !
Ideally running the .py
python foobar.pywill be ideal, otherwise an .appimageI think I will have to build it my self (the .appimage ) :)
Thanks @fratermus@lemmy.sdf.org But graph-easy is text to graph. and I’m looking to draw ! so draw to ~graph(ASCII) but it’s a nice program too.
Thanks @Strit@lemmy.linuxuserspace.show , “Packaging” is not mandatory when creating a software, like it’s was written It could run as .py trough python executable. but here it seem not
Otherwise I’m ok with .appimage format/packing.
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Forward packets Wireguard to local subnet, with Nftables.English
0·2 years agoHi, Thank to all of you.
I made a test environment with the following.
- Machine A: 192.168.Y.1
- Machine B: 192.168.Y.2
- Machine C: 192.168.Y.3
The goal is to send a ping A to B, B forward to C
So
ping -4c 1 192.168.y.2from A, should ping B fw CI’ve set the following rule in /etc/nftables.conf
table ip Tip { chain prerouting { type nat hook prerouting priority dstnat; policy accept; iif "eth0" ip protocol icmp dnat to 192.168.y.3 } chain postrouting { type nat hook postrouting priority 100; policy accept; ip saddr 192.168.y.3 masquerade } }but is not working :'(
I see B receive the package
preroute: IN=eth0 OUT= MAC=▒▒ SRC=192.168.y.1 DST=192.168.y.2 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=21398 DF PROTO=ICMP TYPE=8 CODE=0 ID=17950 SEQ=1but it seem C receive nothing…
Any ideas ?
As I want the system to be quite ( not sending data ) I was suspected the
outputhook to be the one. what are you suggesting ?
SpongeB0B@programming.devOPto
Linux@lemmy.ml•I cannot enable `HAVE_KPROBES_ON_FTRACE` - Kernel compileEnglish
0·2 years agoThanks @SteveTech@programming.dev
I suppose the file
linux/arch/Kconfigis the base the menuconfig to know which option is available ? right ?Thanks.
SpongeB0B@programming.devOPto
Linux@lemmy.ml•I cannot enable `HAVE_KPROBES_ON_FTRACE` - Kernel compileEnglish
0·2 years agoThanks, how can we verify this ?
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Boot on LUKS drive ( Rapsberry pi 4 )English
0·2 years agoI believe my initramfs do not support luks encryption, but the link of @DrDystopia@lemy.lol might work… 🤞
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Boot on LUKS drive ( Rapsberry pi 4 )English
0·2 years agoThanks @DrDystopia@lemy.lol ! indeed https://github.com/gitbls/sdm/blob/master/Docs/Disk-Encryption.md#the-sdm-cryptconfig-script seem what I need. I’ll try
SpongeB0B@programming.devOPto
Linux@lemmy.ml•How install a package/program with all the dependencies tree to an offline devices ?English
0·2 years agoohh ! great ! I’ll see if I manage to install it on Devuan Thanks.
SpongeB0B@programming.devOPto
Linux@lemmy.ml•How install a package/program with all the dependencies tree to an offline devices ?English
0·2 years ago🤩 Woo I didn’t know
nix. It seem a better way to handle package !!!
But so if I have alreadyaptthat handle packages, is it compatible to use both on the same system !?Nix stores all packages in isolation from each other; as a result there are no /bin, /sbin, /lib or /usr directories and all packages are kept in /nix/store instead.
SpongeB0B@programming.devOPto
Linux@lemmy.ml•How install a package/program with all the dependencies tree to an offline devices ?English
0·2 years agoThank you very much @connaisseur@feddit.org
I have tried
apt-get -o Dir::Cache::archives="/to/path" install --download-only apt-offlineBut it downloaded only the .deb of apt-offline and not all the dependence tree. Most probably because this machine have them already.
now, remain to force to download also all the dependency tree even if already installed…
SpongeB0B@programming.devOPto
Linux@lemmy.ml•How install a package/program with all the dependencies tree to an offline devices ?English
0·2 years agoindeed
.appimageare an amazing thing as they do not require any special runtime or installation process !
I guess I will have to do my own.appimageof software that do not provide them



Thank you @skami@sh.itjust.works
Xpra works ! tons of features, floss and Python 🐍 ! ❤