Ericsson usb

 Bus 001 Device 006: ID 0bdb:1926 Ericsson Business Mobile Networks BV
 /lib/udev/rules.d/77-mm-ericsson-mbm.rules
 # Ericsson H5321gw
 ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1926", ENV{ID_MM_ERICSSON_MBM}="1"
 ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1919", ENV{ID_MM_ERICSSON_MBM}="1"

Network Manger

Moden läßt sich nicht aktivieren Lösung /var/lib/NetworkManager/NetworkManager.state WWANEnabled=true

Apache

Reverse Proxy

proxy_module
proxy_httpd_module

raspbery pi

dd bs=4M if=~/2012-12-16-wheezy-raspbian.img of=/dev/sdd

GTA04

Neues Nand

Unpack this sd image to a >2 GB SD card:

http://download.goldelico.com/gta04/20140103-GTA04-3.12.0-wheezy-7.3/
file: sd-image.dd.bz2
or use makesd script

Then boot with this SD once (may need to press and hold the AUX button before powering on) and it will upgrade/reflash U-Boot.

The shut down and the other SD card should work.

Festplatten sicher löschen

shred

Fast
 shred -vzn 0 /dev/<id>
Secure
 shred -vzn 3 /dev/<id>

wipe

 wipe -kq /dev/<id>

OpenSSL

Zertifikate erzeugen

## Private key mit Kennwort
openssl genrsa -des3 -out server.key 2048
## Private key ohne Kennwort
cp server.key server.key.passwd 
openssl rsa -in server.key.passwd -out server.key

## Certificate request erzeugen 
openssl req -new -key server.key -out server.csr

## Zertifikat (csr) signieren
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

cp server.crt /usr/local/apache/conf/ssl.crt
cp server.key /usr/local/apache/conf/ssl.key

Zertifikat anzeigen

openssl x509 -in <zertifikat.datei> -text -noout

Prüfen ob privater und öffentlicher Schlüssel passen

https://security.stackexchange.com/questions/56697/determine-if-private-key-belongs-to-certificate

Cups

Drucker share

lpadmin -p -o printer-is-shared=true

Drucker anlegen für cups Koppelung

lpadmin -p -E -v ipp://routerhellwege.dyndns.tv/printers/ -m postscript-hp:1/ppd/hplip/HP/hp-color_laserjet_pro_mfp_m476-ps.ppd

GTA04

Hi, here an additional answer.

Am 27.06.2014 um 09:23 schrieb Dr. H. Nikolaus Schaller:

    I spent some more time with this tonight. I don't see an sd image in http://download.goldelico.com/gta04/20140610-GTA04-beta-3.15.0-wheezy-7.5/ 

Ah, there is no primitive SD image (I have to find out why the file got lost), but the makesd script. 

Ok, we had upgraded the build system a while ago but for unremembered reasons it was not 100% perfectly finished and documented.

The new approach is that you will always find the "production images" for unbricking and reflashing u-boot etc. here:

http://download.goldelico.com/gta04/production/

Note that this currently is a 3.12.7 kernel. This is the latest one that runs well enough for this purpose.

Then, we have the (no-bootloader) Debian images (to be installed in a single partition):

http://download.goldelico.com/gta04/debian/

There is always a basic Debian image without GUI and without (!) kernel:

http://download.goldelico.com/gta04/debian/latest-debian.tbz

and a LXDE image (which can be installed as a single partition stand-alone or is used for the "production image" and fallback in NAND):

http://download.goldelico.com/gta04/debian/latest-lxde.tbz

This LXDE image contains the latest stable kernel and therefore can simply be copied onto some etx2/3/4 partition and should then boot.

It is assembled from components by this makesd script:

http://download.goldelico.com/gta04/debian/makesd

Next we have the Replicant root file systems (single partition):

http://download.goldelico.com/gta04/replicant/

And finally the system packages incl. sources (but not including any rootfs):

http://download.goldelico.com/gta04/latest/
http://download.goldelico.com/gta04/unstable/

The newer ones will no longer contain the "production images", but the makesd file to create one.

So you should reflash u-boot (red screen etc.) using the latest production image you find on:

http://download.goldelico.com/gta04/production/

Then you can use the rootfs from

http://download.goldelico.com/gta04/debian/latest-lxde.tbz

and just replace the uImage, bootargs.scr, *.dtb files. And don't forget to install the new kernel modules (usually a new kernel boots without depmod -a)...

Hope this does not increase the confusion (although it is very likely and would be understandable)...

This process isn't really optimally streamlined yet, because there are many dependencies when handling all these variants. And moving files around isn't very easy because there are external deep links onto the download server...

Let me try to draw the flow from sources to binary SD images and rootfs tarballs:

  1. new code (e.g. 3.16-rc2) and sources => gta04/unstable/src (upgrades ~weekly)

  2. gta04/unstable/src => gta04/unstable/uImage etc. (compiled)

  3. gta04/unstable => gta04/latest/ (when tested and stable enough to build a production image on it)

  4. gta04/debian/latest-debian.tbz + gta04/lastest/uImage + apt-get-install lxde => gta04/debian/latest-lxde.tbz (unpack to partition on SD) 4a. gta04/debian/latest-debian.tbz + apt-get upgrade => gta04/debian/latest-debian.tbz (rolling upgrade every 2-3 months)

  5. gta04/debian/latest-lxde.tbz + gta04/lastest/MLO+uBoot+uImage => gta04/production (dual partition SD images for NAND) 5a. the same for GTA04b2 (Letux3704) 5b. the same for GTA04b3 (Letux7004) 5c. the same for GTA04b7 (Neo900)

  6. replicant sources -> replicant/4.2/unstable-replicant.tbz (compiled from scratch directly from the most recent git sources) 6a. replicant/4.2/latest-replicant.tbz (when tested to be good)

The idea for next steps is:

  1. gta04/debian//latest-lxde.tbz apt-get-install lxde- qtmoko+ => gta04/qtmoko/latest-qtmoko.tbz (unpack to partition on SD)
  2. gta04/debian//latest-lxde.tbz apt-get-install lxde- quantumstep+ => gta04/qtmoko/latest-quantumstep.tgz (unpack to partition on SD)

All this is to support the new device tree based way of handling variant specific (and variant agnostic) SD images:

http://projects.goldelico.com/p/gta04-main/downloads/55/

BR, Nikolaus

bootable fusb stick

udo dd if=ubuntu-13.10-desktop-amd64.iso of=/dev/sdb bs=1M

git

eine bestimmten stand aus git herausholen

git fetch -t git://github.com/zfsonlinux/zfs.git refs/pull/2565/head git checkout -b b_2565 FETCH_HEAD

Glassfish

Monitor jdbc cpnnection pool

infos finden

list --monitor=true *webm*

x2go 3d libgl

aptitude build-dep mesa
aptitude install scons llvm-dev
apt-get source mesa
apt-get install libzip-dev libedit-dev
cd mesa
scons libgl-xlib
Die libgg liegt in 
`pwd`/build/linux-x86_64-debug/gallium/targets/libgl-xlib/
linker konfigrierren, damit die bibliothe gelade wird.
jetzt kann remote mit x2goclient zugeridffen werden und evolution funktioniert.

Samba

Lokale Anmeldung bei ADS Domänen Mitgliedschaft

Auf der Windows Seite mit IPAdresse\account verbinden. smbclient -L localhost -U 10.61.80.142\xtrauser

Intel Nuc

DN2820FYK

Intel celeron
Speicher DDR3L SODIMM
          1,3V 1333/1600 Mhz max 8GiB 

D34010WYKh

Core i3 4010U
Speicher SODIMM 1333/1600 1,35V DDR3 

Git

Almost there. There updated PR just includes an extra patch which is already part of master. So just rebase on the latest master and force update the PR.

# Pull the latest version of master.
git checkout master
git pull zfsonlinux master

# Checkout your branch and rebase on the latest master.
git checkout bydnode-access
git rebase -i master # Drop any extraneous patches

# Force push your updated branch to GitHub to trigger a fresh test run.
git push --force bzzz77  bydnode-access

JSF

image aus resource einbauen

https://stackoverflow.com/questions/8367421/how-to-reference-css-js-image-resource-in-facelets-template

RPM

Arbeiten mit specfiles

https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-single/RPM_Guide/index.html#ch-specfiles

debuginfo abschalten

%define debug_package %{nil}

paket nur noch im Index aber nicht mehr im System

rpm -e --noscript <paket>

lvm

lvm aktivieren

lvchange -ay /dev/vg01/data
lvchange -ay /dev/vg01/daten
mount /dev/vg01/data /data
mount /dev/vg01/daten /daten

ZFS

automount beim booten

systemctl enable zfs-import-cache

Bash

Network

http://blog.moellenkamp.org/archives/8-Network-in-the-Shell.html

PXE

diskless workstation

 https://gmelikov.com/2018/02/25/debian-stretch-diskless-pxe-boot/

This wiki is powered by ikiwiki.

Openvpn

easyrsa

 https://community.openvpn.net/openvpn/wiki/EasyRSA3-OpenVPN-Howto

Wireguard

Schlüssel erzeugen

 cd /etc/wireguard
 wg genkey | tee wgx.key | wg pubkey > wgx.pub

Konfigurationsdatei CLIENT wgx.conf

[Interface]
PostUp = wg set %i private-key /etc/wireguard/wgx.key
ListenPort = <wgPort>
Address = <Adresse des Tunnel Endpoints>

[Peer]
PublicKey  = <public key des Serves/Partners>
Endpoint   = <realeIp des Servers/Partners><wgPort>
AllowedIPs = <ip oder netz auf der Seite des VPN and die Verbunden werden soll. Erzeugt einen Routing Eintrag auf dem CLient >

Konfigurationsdatei SERVER wgx.conf

[Interface]
PostUp = wg set %i private-key /etc/wireguard/%i.key
Address = <Adresse des Tunnel Endpoints in CIDR Notation"
ListenPort = <wgxPort>

[Peer]
PublicKey = <public key des Servers/Peers
AllowedIPs = <tunnelEndpoint>, <main Ip adresse>

Firewall

Zugriff für ssh einrichten
Zugriff für postgres einrichten