Search This Blog

2018-06-03

code name

lsb_release -cs

# nice to use in scripts... :)

2018-05-25

printrun `.stl' broken in stretch...

python: can't open file 'skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py': [Errno 2] No such file or directory

this file from this package (that is not a dependency of printrun) does not exist in stretch... :(

applet-alarm-clock not playing sounds...

... in debian stretch...

apt install gtreamer1.0-alsa

otherwise setup custom command in `preferences'...

alsaplayer -q  /path/to/sound.ogg

2018-05-18

EleksMaker X/Y motors do not move...

... using EleksCAM... maybe just because your windows regional settings do not use a dot as decimal separator... it is as stupid as it seams... try this software instead.

2018-05-16

Debian stretch on QC5000M-ITX/PH

QC5000M-ITX/PH

@ BIOS ...

Fast Boot : if enabled grub only boots to /dev/sda1

PS2 Keyboard power on : cannot be actually be disabled
  . enabled : fails to resume properly
  . disabled : works as if enabled... lol... :)

Disable HDMI Audio : to make the sound card the default audio output.

Fails to enable the mouse on resume : choose a permanent usb (ohci) port for the mouse and add the following text to a new file (check that your device id is correct in the `echo' bellow)... make the file executable.

#!/bin/sh
#
# @ "/etc/pm/sleep.d/20_custom-ohci_pci".

case "${1}" in
  hibernate|suspend)
    # Unbind ohci device
    echo '0000:00:13.0' > /sys/bus/pci/drivers/ohci-pci/unbind
  ;;
  resume|thaw)
    # Bind ohci device
    echo '0000:00:13.0' > /sys/bus/pci/drivers/ohci-pci/bind
  ;;
esac

... and now the board works just fine as expected... :)

2017-11-03

bridge problems solved...

... in realtime...

echo 0 > /proc/sys/net/bridge/bridge-nf-call-iptables

... check also this...

https://askubuntu.com/questions/645638/directory-proc-sys-net-bridge-missing

... maybe make persistent... (not tested)...

@ /etc/sysctl.conf

net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0

net.bridge.bridge-nf-filter-pppoe-tagged = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0

# sysctl -p /etc/sysctl.conf
# reboot

... otherwise, try...

@ /etc/ufw/sysctl.conf

net/bridge/bridge-nf-call-arptables = 0
net/bridge/bridge-nf-call-ip6tables = 0
net/bridge/bridge-nf-call-iptables = 0

# reboot


2017-09-25

simple magnetic gear...

... lego compatible :)

... poorly working draft above (next step: hexagonal)
... and fails bellow (aka: evolution)


2017-09-17

remove all .Trash-1000

find / -name .Trash-1000 -exec rm -rv {} \; 2> /dev/null

2017-07-31

turning off the desktop manager

# In order to make text boot the default under systemd
# (regardless of which distro, really)...

# as root...

systemctl set-default multi-user.target

# To change back to booting to the GUI, use...

# systemctl set-default graphical.target

# ----------------------------
# to start X automatically after login at the first console

# as your user...
# add a line to ~/.bashrc or ~/.bash_aliases

echo '[[ `tty` == "/dev/tty1" ]] && startx' >> ~/.bash_aliases

2017-03-01

you are are all so unnecessarily sad :(

Refused to display ... in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

2017-02-04

add/delete ip address

ip address add 192.168.99.37/24 dev eth0

ip address del 192.168.99.37/24 dev eth0