domingo, julho 05, 2020

apcupsd no modelo BZ1500XLBI-BR

identifique seu APC através:
$ ls -l  /dev/usb/
total 0
crw------- 1 root root 180, 96 Jul  5 20:00 hiddev0

depois execute
$ udevadm info --attribute-walk --name=/dev/usb/hiddev0 | egrep 'manufacturer|product|serial'

   ATTRS{manufacturer}=="APC by Schneider"
    ATTRS{serial}=="VIDE ETIQUETA"
    ATTRS{product}=="BZ1500XLBI-BR"
    ATTRS{product}=="USB2.0 Hub"
    ATTRS{serial}=="0000:01:00.0"
    ATTRS{manufacturer}=="Linux 4.19.118-v7l+ xhci-hcd"
    ATTRS{product}=="xHCI Host Controller"                                                                 


no /etc/apcupsd/apcupsd.conf

UPSTYPE usb
DEVICE /dev/usb/hiddev0  (verifique se está em hiddev0, conforme o comando acima)

$ systemctl stop  apcupsd.service
$ apctest (deve funcionar e ser possível verificar o UPS)
$ systemctl start  apcupsd.service


Referencias:

https://wiki.debian.org/apcupsd#Configuring_.28Single_UPS_Device.29
http://www.apcupsd.org/manual/manual.html#usb-configuration

segunda-feira, junho 29, 2020

Instalar Smart TV IPTv app na Samsung manual via Develop

https://siptv.eu/howto/sammy/

You can also use Sync server IP address 116.202.226.250 to use in developer mode.


Ir no menu e conectar na conta como "develop".

Após isso pressionar um aplicativo na lista até aparecer o menu lateral, conforme imagem...

Adicionar o IP e repetir o menu Atualizar Apps

O Smart IPTV deve aparecer...

Developer IP para SSIPTV  91.122.100.196

116.202.226.250 (Smart IPTV)
91 122 100  196 (SSIPTV)

94 23 97 11 (Set Iptv)





segunda-feira, junho 01, 2020

Install Firebird 1.5 on Debian stretch 9.8 architecture amd64

The most tricky paristo make your amd64 system install i386 packages in order to have Firebird running.


Let's start by running dpkg and add i386 as new architecture. Reference here

dpkg --add-architecture i386

change /etc/apt/sources.list
(exemple bellow)
deb [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch main
deb-src [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch main

deb [arch=amd64,i386] http://security.debian.org/debian-security stretch/updates main
deb-src [arch=amd64,i386] http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch-updates main
deb-src [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch-updates main


---
Install the required packages

apt install lib32ncurses5
apt install libstdc++5:i386

--

Check with ldd if the library are working fine...
ldd /opt/firebird/lib/libfbclient.so
        linux-gate.so.1 (0xf7746000)
        libstdc++.so.5 => /usr/lib/i386-linux-gnu/libstdc++.so.5 (0xf7606000)
        libncurses.so.5 => /lib32/libncurses.so.5 (0xf75e1000)
        libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0xf75af000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf755a000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73a2000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf739d000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7380000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7362000)
        libtinfo.so.5 => /lib32/libtinfo.so.5 (0xf733f000)
        /lib/ld-linux.so.2 (0xf7748000)