A mon (nouveau) boulot, l’accès à Internet est soumis à l’authentification au niveau d’un proxy. Si cela ne pose pas de problème avec Internet Explorer (qui est configuré par l’équipe IT), c’est un peu plus problèmatique pour Firefox. En effet, déjà il est installé en mode “portable” car je ne suis pas admin de mon poste et je ne peux donc pas l’installer… Mais en plus, le mode “découverte automatique de proxy” n’est pas activé sur le réseau. J’ai donc dû ruser pour trouver la référence exacte du proxy à utiliser.Continue reading...
On my NetBSD system, the WPA connection seems to fail when wpa_cli is not running. So here’s how to start it automatically (and hiddenly) on the console.Continue reading...
https://www.howtoforge.com/how-to-install-mastodon-social-network-with-docker-on-ubuntu-1804/#step-install-docker https://alien.slackbook.org/blog/slackware-cloud-server-series-episode-7-decentralized-social-media/ rm -r /home/containers/mastodon mkdir -p /home/containers/mastodon/{postgresql,redis,public/system,els} chown -R 991:991 /home/containers/mastodon/public
mkdir -p ~/sources/mastodon-local && cd ~/sources/mastodon-local wget -O docker-compose.yml.orig https://github.com/mastodon/mastodon/raw/main/docker-compose.yml wget https://github.com/mastodon/mastodon/raw/main/docker-compose.yml vim docker-compose.yml
wget https://raw.githubusercontent.com/mastodon/mastodon/main/.env.production.sample cp .env.production.sample .env.production
docker-compose build
generate passwords tr -dc ‘[:alnum:]’ </dev/urandom | fold -w 20 | head -n 5 docker run –rm –name postgres-bootstrap -v /home/containers/mastodon/postgresql:/var/lib/postgresql/data -e POSTGRES_PASSWORD=“pH8zwxLqpRRISGngF5bG” -d postgres:14-alpine
docker exec -it postgres-bootstrap psql -U postgres (…) postgres=# CREATE USER mastodon WITH PASSWORD ’noaFFyTCW7ghG0P8haL4’ CREATEDB; exit CREATE ROLE postgres-# \qContinue reading...
The BigTech usage To give a bit of context on the Fediverse switch, herés how I use the Big Tech Services:
Facebook: used as a personnal account. keep contact with friends and family. some contact from (previous) job. some contacts from sport. used to post all and nothing ; like talking in a party. used to post various stuff. now, post photos of holidays and events, post Tech articles that sounds important/mainstrean, interact with friends post via like&comments.Continue reading...
Transfert photos from iPhone to SFTP server $ ssh-keygen -C "PhotoSync access key" -t ed25519 -f ~/.ssh/photosync # groupadd -g 4010 photosync # usermod -G photosync ptijo # useradd -m -c "PhotoSync Joel Carnat" -d /home/photosync/ptijo -g photosync -s /sbin/nologin -u 4000 $(date | sha512 | cut -c 1-14) # chmod 0770 /home/photosync/ptijo # install -D -g photosync -m 0644 -o d645a1022127e9 ~ptijo/.ssh/photosync.pub ~d645a1022127e9/.ssh/authorized_keys # /etc/ssh/sshd_config # rcctl reload sshd !Continue reading...