Build R00t for min DAP1610

Så blev det tid til at nørde med Linux på forskellige dimser igen. 

Denne gang har jeg fundet min gamle DAP1610 WIFI dims frem. 

Ideen er at opdatere den med en OpenWRT – men bygge sin egen firmware. Til det har jeg få lidt hjælp fra min Linuxserver.

 D-link DAP 1610 inside 

Setup :

sudo apt update -y ; sudo apt upgrade -y;
sudo apt install build-essential clang flex bison g++ gawk \
gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \
python3-setuptools rsync swig unzip zlib1g-dev file wget

 https://github.com/openwrt/openwrt.git; cd openwrt/ ; ./scripts/feeds update -a ; ./scripts/feeds install -a   # NB!  IKKE en DAP1610-A1.Husk patch!  

make -j8    //  hvis du har 8 kerner at compile med!!

NB!  HUSK at sæt den til den rigtige CPU :  make menuconfig

Min pakkeliste – Roskilde Festival 24

#RF24 #Festival

FESTIVAL PAKKELISTE:

  • Telt & presenning – vandtæt, og en god idé med en backup.
  • Airtacks ( se https://www.apple.com/airtag/ )
  • Sovepose & Luftmadras / liggeunderlag + opladelig luft pumpe(Oplad !!!).
  • Praktisk tøj (Outdoor!)-til den danske sommer, så husk regntøj, sommertøj,og den varme trøje
  • Mavetaske. (stor nok til en vandflaske, mobil og radio)
  • PMR radio (husk at kode Alle PMR freq. Ind!)
  • Outdoor Fodtøj – praktisk, og lad nu de pæne sko blive hjemme..
  • Håndklæde & badetøj – Badetur i havnen/fjorden, eller bare en tur i badet.
  • NB : bad er bedst i SATS på RosTorv ( https://rostorv.dk ) eller hjemme 😉
  • Vådservietter & desinficerende gel – husk hygiejne
  • Toilettaske – el-tandbørste, tandpasta, shampoo, solcreme, deodorant, hårbørste, Håndsæbe
  • powerbank (oplad den før RF!!!) + USB Oplader til Mobil + radio. (solcelle?? )
  • Paraghurt(mod Roskilde mave) + Panodil + Medicin (P-piller hvis du er pige)
  • Oplad til mobil 100% – mobilen kan oplades flere steder, ellers powerbank.
  • Ekstra mobil – hvis det kan skaffes. (Den gamle eller en brugt?)
  • Dankort /visa – Kan bruges i alle boder. MobilPay?
  • Gaffatape – kan fikse alt også en date 😉
  • Gummistøvler – ja, alt kan ske.
  • IMPRÆGNERINGSSPRAY fra https://www.harald-nyborg.dk til sko + telt.
  • Affaldssække – affald, pant, eller til at holde tøjet tørt med.
  • Solbriller – så du ikke får ondt i dine øjne af solen.
  • Kamera – gode minder (Mobil med tripot?)
  • Underholdning – musik..Telefon/ bærbar?
  • Ørepropper (flere par!!) – til nattesøvnen eller til koncerterne
  • Førstehjælp – plaster, støttebind, ellers er Røde kors også til stede.
  • Tyggegummi – så starter dagen bare lidt bedre.
  • NB : der er en Rema 1000, Netto og Føtex tæt på.
  • Vandflaske – drik rigeligt vand (Vodka / gin ligner jo vand !)
  • Solcream + Solhat / cap – det bliver varmt

 GODE RÅD TIL DIN FESTIVAL PAKKELISTE

Tjek vejrudsigten hjemmefra og undlad at pakke for meget tøj.

Tjek DMI / tv2vejr / YR app virker på din telefon.

Du vil typisk bruge mindre tøj end i dagligdagen og ofte kommer man til at bruge det samme tøj flere dage, da det bare er mest praktisk. En festival er altså ingen modeopvisning, så du behøver ikke 5 par sko. Alle tingene skal kunne opbevares på lidt plads og kunne pakkes ud, uden man mister overblikket.

Grej finder du på:

https://www.harald-nyborg.dk/sport-og-fritid/camping/tilbehoer-til-telte

Bemærk Jeg er frivillig og har været det siden 2012 !

Playing with Slurm on my Cluster

To install it on a RedHat 9.x just 5 easy steps.

  1. login with root and do : wget https://download.schedmd.com/slurm/slurm-23.11.4.tar.bz2 (find latest on https://slurm.schedmd.com/ )
  2. tar -xjf slurm-23.11.4.tar.bz2 ; cd slurm-23.11.4/
  3. Do remember dep. for runninng : sudo yum groupinstall “Development Tools” ; yum install -y lua mariadb-devel munge-devel munge-libs pam-devel perl readline-devel
  4. Build RPM packages : rpmbuild -ta slurm-23.11.4.tar.bz2
  5. Ask ChatGPT for the config 😉

IPv6 på en Redhat baseret Linux

Slå IPv6 fra på en Redhat baseret Linux på et intern nat Net.

Mange har problemer med at deres Linux server kun lytter på IP6

på flere af deres services. For at se om IPv6 er tændt :

netstat -tupln  eller ss -tupln

Start med at slå IPv6 fra via : nmcli / nmtui

Måden man slukker for IPv6 på en Linux (Redhat baseret) er :

– Jeg bruger nano – du er velkommen til at bruge vi / vim

1.  nano /etc/sysctl.conf

skriv :

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1

net.ipv6.conf.tun0.disable_ipv6 = 1

2. skriv i booten (grub booten – NB! jeg bruger bios!)

nano /etc/default/grub

skriv :

GRUB_CMDLINE_LINUX=”ipv6.disable=1″

GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”

gem filen og skriv (bemærk: dette er bios) : sudo grub2-mkconfig -o /boot/grub2/grub.cfg ; reboot

3.  Test om IPv6 er væk… og din server lytter på IPv4 med

netstat -tupln  eller ss -tupln

Påske og tid til Revision/TG23 – Burde man DemoCode igen?

Så blev det tid til at kigge lidt remote streams fra Demo Partys i hele verden.

I påsken er det TG23 og Revision 2023 der kigges med på…Kunne ikke lad være med at tænke på om jeg skal genoptag mit demo nørderi. Derfor spurgte jeg flere på demoscene discord om hvordan man kommer igang igen med 4Kb efter en pause på 4-5 år. (Covid-19 pause ? )

Musik var der flere ideer til ….Personligt er jeg til renoise + OIDOS el. Crinkler 

Andre tools : DEMOtools awesome-demosceneMinimal_GL –  CS559 Computer Graphics for Spring 2023 The Official Guide to Learning OpenGL

Kode til at sætte en 4K demo sammen : Leviathan-2.0 eller IQ 4k fraimwork

Shaderkode Compofiller StudioGlslsandboxshadertoy 


The Water Vole (Pike fly)

This articulated fly tied by Danish Sune Andersen was inspired by the European water vole. 

 Source : https://globalflyfisher.com/patterns/the-water-vole

The history

So much of fly fishing for (sea) trout in my area focuses on using tiny flies that resemble all kinds of insects or bait fish (like Frede and Magnus for sea trout).
However, sometimes it pays to go big when fly fishing for trout and pike, especially when you want to catch big fish.
There’s just something special about watching pike hunt in the surface, going after frogs and mice. One day I observed a spin fisher using a rat made of plastic (Savage Gear 3D Rad Rat) on the stream. 

After we had small-talked for some hours he got a bite from a 5 kilo pike. On my way home I asked myself: how to can I fish something the same size on a fly rod? After some research I found a model in a European water vole (Arvicola amphibius)

Funny side note

Under the cover of nighttime darkness one of my fishing buddies almost got an owl on his Morrish Mouse fly many years ago on a small stream in New Zealand.
Our fishing guide told us it was a Morepork (Ninox novaeseelandiae).

This is all you need :

The Water Vole
Pattern type: 
Pike fly
Originator: 
Sune Andersen

A large, articulated fly for pike and other predators.

Species: pike
Materials: 
Popper heads (2 pcs)
Hard foam popper heads like FlyCo model 2873-08. Wine corks or balsa wood can be a more environmentally friendly choice.
Thread
Veevus GSP Black/Brown or UTC GSP Black/Brown
Hook
Tiemco TMC 8089 size 2
Shank
Fish Skull Articulated Shank
Weight
Lead free wire 0.2
Glue
Super glue like “Loctite Precision”
Fur
Black or brown rabbit zonker strips
Eyes
Easy Shrimp Eyes – red looks real cool!
Skill difficulty:  Medium

The foam popper heads sometimes come as one piece. If so, start by cutting it in half. Please note: Wine corks can be a more environmentally friendly – and cheaper – choice. Make a cut in what will become the bottom of the fly for fitting the hook and the non lead wire.

The foam has to fit the hook and you need room for a small lead free wire keel, which goes in after your have fitted the hook with super glue. The keel will function as the keel on a boat and make your fly swim upright.
Covering the hook shank with thread will make for a better connection between the hook and the popper head.

Tie the zonker strip tightly to the rear part of the hook shank protruding behind the popper head. Leave some extra strip behind the hook to form a tail. Time to put some superglue on the outside of the popper head or cork and wrap the zonker strips. Wrap the Zonker strip and on top of that wrap your thread to keep it all in place. I cut my own zonker strips from a tanned rabbit skin – but you can use zonker strips from a fly shop you are not into cutting your own.

Please note the long tail in the clip on my vise. That will make the fly more alive then it’s in the water.

Mount the shank on the hook and turn it and firmly secure it by the front eye in the vise, leaving space for the popper head to slip on.
Cover it with open turns of thread like the hook shank.
Glue the slotted head and the lead free wire onto the shank in the same manner as the rear hook section.
Again glue and wrap the zonker strip, this time without a tail.

You can see here that I have wrapped the thread on the shank before I glued on the popper head.

After it has dried for 5-10 minutes it’s time to form a head. Feel free to make ears and legs! For this I use nail polish, but any water resistant varnish can do it. I also sometimes use glow-in-the-dark UV resin.

Glue the Easy Shrimp Eyes on – glow-in-the-dark or red is really cool!

Your fly is now done and almost ready to fish. Let it fully dry for a day or two. 

The fishing

Do NOT use this fly on a light fly rod. 

It gets very heavy when it’s wet!
I use this on my two hand Loop class 8 or on a 7’ ultra light spinning rod.
Think about the way a rodent like a mouse or a rat swims in the water. It is steadily kicking it’s legs across the surface (like a dog swimming). That is the same motion you want to achieve with your fly.
Cast the fly upstream and near the lake or stream bank. Rodents do not cross deep water if they can avoid it.
The best way to do this is to move the rod tip back and forth in a wiggling motion as you slowly retrieve the line. Also you want to avoid is make unnatural movements. Keep in mind the right retrieve creates vibrations in the water. A pike will identify your fly as a prey animal and ambush.

Extra

I have the same version of the fly in a shadowbox on my wall.

References

Water voles:
In Danish streams: www.kongeaastien.dk/en/content/european-water-vole
Pike:
www.gwct.org.uk/wildlife/species-of-the-month/2019/pike/
en.wikipedia.org/wiki/Northern_pike