Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Témata - Jigdo

Stran: 1 2 [3] 4 5
31
Windows a jiné systémy / iPad: konzole a aplikace bez Apple ID
« kdy: 04. 02. 2022, 14:40:20 »
Zdravim,

Dostal se mi do ruky starsi model iPadu verze A2124,
kde se mi podarilo po "hard reset" dostat bez zadani Apple ID
https://www.macworld.co.uk/how-to/use-iphone-without-apple-id-3779932/
ale samozrejmne se nedaji nainstalovat zadne applikace z App Store.

Nikdy jsem zaden Apple produkt nevlastnil, takze je to neco noveho pro mne.
Apple ID nemam a nechci :)

Protoze tam byla stara verze iOS, udelal jsem update na 15.3 (19D50),
ale to asi byla chyba, protoze jak jsem se dival tak jailbreak se da udelat
nejvyse do verze 15.01
http://ipsw.ir/en/?iPad11,2

Ve vyhledavani alternativnich app Store jsem nasel odkazy na iOS Emus a TutuApp
ma nekdo zkusenosti s pouzitim techto applikaci?
Ja jsem to zkousel nainstalovat, ale nepodarilo se mi to ani u jedne :(

Pro Android pouzivam me oblibene Duo Aurora Store/Droid ... ale Apple jsem nikdy nevlastnil,
takze se nevyznam :(

Chtel bych na neho nainstalovat VLC, WG, a nejaky program pro pouziti SSH,
poradi nekdo?

32
Software / Konverze hex2base64 a zpátky
« kdy: 17. 01. 2022, 15:48:55 »
Jak z prikazove radky #bash konvertovat mezi hex a base64?

Base64.guru se v nouzi da pouzit, ale je to pomale
https://base64.guru/converter/encode/hex
https://base64.guru/converter/decode/hex

Samozrejmne ze jsem hledal, ale na webu jsou priklady jak
prevadet mezi base64 a ascii a zpet.

#hex2base64 - funguje takhle super
nano hexto64
#!/bin/bash
printf "%s" "$1" | xxd -r -p | base64

chmod a+x hexto64

./hexto64 1A2B3C4D5E6F

Ale base64 2hex jsem nenasel nic :(

33
Server / WordPress na statické HTML
« kdy: 15. 01. 2022, 14:54:26 »
Chtel jsem se zeptat nekoho kdo s tim ma zkusenosti,
znamy mne oslovil s tim ze jeho stranky potrebuji TLC.

Bezi mu to cele u easyspace.com ve "out of date" verzich:
PHP 5.4.45
MySQL 5.5.62
WordPress 4.8

Neni to velky web, All-in-One WP Migration v.7.52 plug-in to nacpal
vsechno do 108MB

Zaloha od easyspace.com je databaze 438 KB *.gz a hosting je 66 MB v *.tgz

Dival jsem se ze s problemem a deravosti WP/PHP atd. je nejlepsi pouziti
nektereho z prepocetnuch poskytovately "WordPress host and Static Ssite Generator" (SSG) jako jsou:

#HardyPress
https://www.hardypress.com

#Shifter
https://www.getshifter.io

#StaticWeb.io
https://staticweb.io/static-cloud-hosting/

#CloudFlare
https://developers.cloudflare.com/workers/tutorials/deploy-a-static-wordpress-site

a urcite dalsi a nebo stranky nejak zkonvertovat do statickeho HTML (zkousel jsem WebHTTrack Website Copier),
kde to funguje jakz takz, ale neni to ono.

Predpokladam ze SSG poskytovatele budou mit nejnovejsi WP/MySQL/PHP
a kdyz se to rozbije bude to treba manualne nastavovat a nebo nejaky nabizi
presny config PHP 5.4.45, MySQL 5.5.62, WordPress 4.8 a pote by import asi nemnel byt problem??

Ma nekdo zkusenosti z teto oblasti a muze mi poradit co dal?

34
Distribuce / Instalace ungoogled-chromium pro Debian 11
« kdy: 05. 01. 2022, 14:49:16 »
Podarilo se nekomu pod Debian 11 64bit rozchodit ungoogled-chromium?

Podle navodu jsem pridal repo/klic
Kód: [Vybrat]
curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Debian_Bullseye/Release.key' | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home-ungoogled_chromium.gpg > /dev/null

Kód: [Vybrat]
sudo nano /etc/apt/sources.list
#ungoogled-chromium
deb http://download.opensuse.org/repositories/home:/ungoogled_chromium/Debian_Bullseye/ /

Ale pri instalaci to zahlasi error:
Kód: [Vybrat]
The following NEW packages will be installed:
  ungoogled-chromium
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/76.7 MB of archives.
After this operation, 250 MB of additional disk space will be used.
dpkg: considering removing chromium in favour of ungoogled-chromium ...
dpkg: yes, will remove chromium in favour of ungoogled-chromium
(Reading database ... 365054 files and directories currently installed.)
Preparing to unpack .../ungoogled-chromium_95.0.4638.54-1_amd64.deb ...
Unpacking ungoogled-chromium (95.0.4638.54-1) ...
dpkg: error processing archive /var/cache/apt/archives/ungoogled-chromium_95.0.4638.54-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/chromium/libEGL.so', which is also in package chromium-common 90.0.4430.212-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ungoogled-chromium_95.0.4638.54-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Takze jsem odinstaloval chromium-common 90.0.4430.212-1, ale je to porad to same :(
Ted se ani stare chromium-common neda podadne nainstalovat ....


Kód: [Vybrat]
$ sudo ls -ilha /usr/lib/chromium/
total 188M
9830918 drwxr-xr-x   3 root root 4.0K Jan  1 13:25 .
9043972 drwxr-xr-x 164 root root  12K Jan  1 01:11 ..
9831056 -rw-r--r--   1 root root 764K May 13  2021 chrome_100_percent.pak
9831182 -rw-r--r--   1 root root 1.3M May 13  2021 chrome_200_percent.pak
9831184 -rwxr-xr-x   1 root root 180M May 13  2021 chromium
9831186 drwxr-xr-x   2 root root 4.0K Jan  1 01:11 locales
9831190 -rw-r--r--   1 root root 6.3M May 13  2021 resources.pak

35
Hardware / Používání Xiaomi Mi Smart Band 6 bez telefonu
« kdy: 26. 12. 2021, 18:27:51 »
https://www.mi.com/global/product/mi-smart-band-6/specs

Chtel jsem se zeptat jestli tady nekdo nevi jak aktivovat
tento naramek/hodinky bez nutnosti parovani s aplikace Mi Fit
na kterou odkazuje manual s QR kodem.
https://play.google.com/store/apps/details?id=com.xiaomi.hm.health

Nasel jsem Mi Fit 5.3.1 mod (com.xiaomi.hm.health_5.3.1-50468.apk) verzi na webu:
https://www.freemyband.com
ale i ta vyzaduje registraci/sign in s Mi/Google Account nebo FB uctem :(

V pripade Android telefonu na nej nainstaluji Aurora Store/Droid
a neni nutno se nikde registrovat/logovat pomoci Google/Mi Account, FB etc.,
ale v pripade Mi Smart Band 6 se mi prozatim nepodarilo zjistit jak
aktivovat naramek bez nutnosti parovani s mobilem/Mi Fit applikaci.


Uzivatel toho naramku nema jeste ani mobilni telefon a bude vyuzivat jen:
Alarm, Clock, Stopwatch, Timer funkce naramku/hodinek.

Nabijeci USB kabel ktery je v baleni s naramkem/hodinkama po pripojeni k PC/Debian 11
v dmesg neukazal vubec nic, takze to asi jen nabiji a nebo je nejak treba to aktivovat?

Podle Wikipedia na tom naramku bezi "MIUI Band OS 10", ale nic jsem o tom nenasel
https://en.wikipedia.org/wiki/Xiaomi_Mi_Smart_Band_6

NA XDA foru maji sekci jen pro Xiaomi Mi Band 4 a "sestka" tam uplne chybi ...

Poradi nekdo?

36
Jeste donedavna mi fungovalo stahovani z iVysilani Ceske Televize s youtube-dl,
po zmene:

Kód: [Vybrat]
sudo nano +362 /etc/ssl/openssl.cnf
###################
CipherString = DEFAULT@SECLEVEL=1 místo uvedené 2.

Dneska jsem zkousel z webu iVysilani stahnout film Vinnetou.

a uz to nefeunguje... ani s youtube-dl ani s yt-dlp

Kód: [Vybrat]
$ yt-dlp -F "https://www.ceskatelevize.cz/porady/16827-vinnetou/" --verbose
[code][debug] Command-line config: ['-F', 'https://www.ceskatelevize.cz/porady/16827-vinnetou/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.12.01 [91f071af6] (zip)
[debug] Python version 3.7.3 (CPython 64bit) - Linux-5.10.76-x86_64-with-debian-10.11
[debug] exe versions: ffmpeg 4.1.8-0, ffprobe 4.1.8-0, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Crypto, keyring, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [CeskaTelevize] Extracting URL: https://www.ceskatelevize.cz/porady/16827-vinnetou/
[CeskaTelevize] 16827-vinnetou: Downloading webpage
ERROR: [CeskaTelevize] 16827-vinnetou: Unable to extract iframe player url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 597, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/ceskatelevize.py", line 105, in _real_extract
    webpage, 'iframe player url', group='url')), query={'autoStart': 'true'})
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1171, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract iframe player url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 597, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/ceskatelevize.py", line 105, in _real_extract
    webpage, 'iframe player url', group='url')), query={'autoStart': 'true'})
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1171, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract iframe player url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1329, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1398, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 623, in extract
    raise type(e)(e.msg, **kwargs)
yt_dlp.utils.RegexNotFoundError: [CeskaTelevize] 16827-vinnetou: Unable to extract iframe player url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

Kód: [Vybrat]
$ youtube-dl -F "https://www.ceskatelevize.cz/porady/16827-vinnetou/" --verbose
[code][debug] System config: []
[debug] User config: [u'-o', u'~/CT/%(title)s-%(id)s-f%(format_id)s.%(ext)s', u'-f', u'bestvideo+bestaudio/best', u'-vvvvv']
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'https://www.ceskatelevize.cz/porady/16827-vinnetou/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.16 (CPython) - Linux-5.10.76-x86_64-with-debian-10.11
[debug] exe versions: ffmpeg 4.1.8-0, ffprobe 4.1.8-0, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[CeskaTelevizePorady] 16827-vinnetou: Downloading webpage
ERROR: Unable to extract iframe player url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/ceskatelevize.py", line 285, in _real_extract
    webpage, 'iframe player url', group='url')), query={
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract iframe player url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Nevi nekdo kde je chyba?

37
Distribuce / Podpora tiskárny Epson: chybí LSB v Debianu 11
« kdy: 23. 12. 2021, 10:54:45 »
Snazim se na Debain 11 64bit rozchodit tiskarnu EPSON XP-2100 serie (kterou uz byvaly majitel nepotrebuje),
ze stranek vyrobce jsem stahnul:
- epson-inkjet-printer-escpr_1.7.17-1lsb3.2_amd64.deb
- epson-printer-utility_1.1.1-1lsb3.2_amd64.deb
- epsonscan2-bundle-6.6.40.0.x86_64.deb.tar.gz

ale zadrhel je v tom ze to chce LSB ktere debian uz nesparvuje podle
https://wiki.debian.org/DebianLsb
a "lsb-release lsb-base" uz mam v systemu nainstalovane a "lsb-compat" je uz jen v Debian 10/Stretch

Zkousel jsem lsb z Centos/RedHat

wget http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/redhat-lsb-4.1-47.el8.x86_64.rpm
sudo alien --to-deb -c redhat-lsb-4.1-47.el8.x86_64.rpm
sudo apt install ./redhat-lsb_4.1-48_amd64.deb

Ale po instalaci stale LSB chybi :(

38
Sítě / SSH tunnel / WireGuard WARP
« kdy: 17. 12. 2021, 12:25:44 »
Na svem PC pouzivam Debian 11 a pres CloudFlare (CF) WARP sluzbu se pripojuji k jejich VPN.

Jakmile se pripojim k VPN prestanou mi fungovat pripojeni k ssh uctum/SSH Tunnel ktere jsou omezeny jen na
moji WAN adresu IPv4/6 a z bezpecnostnich duvodu tam nechi pridavat od CF cely jejich adresni pridel pro IPv4/6.

K tem SSH tunelum pouzivam GNOME SSH Tunnel Manager, ale nepodarilo se mi zjistit
jak udelat to aby GNOME SSH TM obesel ten CF WARP VPN tunnel a namisto toho pouzil moji WAN IP addresu.

Z prikazove radky se pres pres SSH +(GNOME SSH TM) pripojim pres jine zarizeni v lokalni siti kde VPN nebezi na vzdaleny SSH server takto:
Kód: [Vybrat]
ssh -o ProxyCommand="nc --proxy localhost:1080 --proxy-type socks5 %h %p" user@server.name

Ale u GNOME SSH Tunnel Managera se mi to nic nepodarilo .... a pripojeni vzdycky selze pokud mam zapnutou CF WARP VPN.

Napada nekoho nejake reseni?

39
Software / iPrima download
« kdy: 13. 12. 2021, 22:34:02 »
Zkousel jsem ted z ceske IP adresy od O2 stahnout jeden dil nejakeho serialu

youtube-dl -F https://prima.iprima.cz/hvezdy-nad-hlavou/svatba-0 --username uzivatel@jeho.email --password jehoheslo --verbose
Kód: [Vybrat]
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'best', u'https://prima.iprima.cz/hvezdy-nad-hlavou/svatba-0', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.16 (CPython) - Linux-5.10.63-v7+-armv7l-with-debian-10.11
[debug] exe versions: ffmpeg 4.1.8, ffprobe 4.1.8
[debug] Proxy map: {}
[IPrima] svatba-0: Downloading webpage
ERROR: Unable to extract real id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/iprima.py", line 91, in _real_extract
    webpage, 'real id')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract real id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

V dokumentaci je iPrima oznacena jako podporovana
https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md

Manifest vypada takhle:
Kód: [Vybrat]
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="urn:mpeg:dash:schema:mpd:2011"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
     profiles="urn:mpeg:dash:profile:isoff-live:2011"
     type="static"
     publishTime="2021-12-13T20:01:07Z"
     mediaPresentationDuration="PT1H6M16.863S"
     minBufferTime="PT1.5S">
<ProgramInformation>
    <Title>0137/5679/cze-sd1-sd2-sd3-sd4-hd1-soXPWRzR.smil</Title>
</ProgramInformation>
<Period id="0" start="PT0.0S">
    <AdaptationSet id="0" group="1" mimeType="video/mp4" maxWidth="1280" maxHeight="720" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <SegmentTemplate presentationTimeOffset="0" timescale="90000" media="chunk_ctvideo_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_ctvideo_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="0" d="720000"/>
                <S d="720000" r="495"/>
                <S d="77670"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0va0br978266" codecs="avc1.42c01e" width="768" height="432" sar="1:1" bandwidth="978266" />
        <Representation id="p0va0br394370" codecs="avc1.42c015" width="512" height="288" sar="1:1" bandwidth="394370" />
        <Representation id="p0va0br787264" codecs="avc1.42c01e" width="640" height="360" sar="1:1" bandwidth="787264" />
        <Representation id="p0va0br1503948" codecs="avc1.4d401f" width="1024" height="576" sar="1:1" bandwidth="1503948" />
        <Representation id="p0va0br2004716" codecs="avc1.4d401f" width="1280" height="720" sar="1:1" bandwidth="2004716" />
    </AdaptationSet>
    <AdaptationSet id="1" group="2" mimeType="audio/mp4" lang="cze" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
        <SegmentTemplate presentationTimeOffset="0" timescale="44100" media="chunk_ctaudio_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_ctaudio_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="0" d="352800"/>
                <S d="352800" r="495"/>
                <S d="38058"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0aa0br128544" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="128544">
        </Representation>
        <Representation id="p0aa0br253406" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="253406">
        </Representation>
    </AdaptationSet>
</Period>
</MPD>

Jde to nejak stahnout?

40
Hardware / Zprovoznění Dell Photo AIO 922 413c:5109
« kdy: 13. 12. 2021, 16:08:26 »
Snazim se rozchodit scanner u teto tiskarny, ale XSane hlasi: "No devices available", L-I-O-S to same ... :(

Muj system je Debian 11 64bit


Podle toho co pisou na tady
https://www.linuxquestions.org/questions/linux-newbie-8/looking-for-driver-for-dell-aio-922-printer-854344/
Se ma jednat o re-badged Lexmark Z600

Takze hledam ovladace k teto tiskarne a tady
https://askubuntu.com/questions/50144/how-to-install-a-lexmark-z600-series-printer
pisou ze je treba doinstalovat zavislosti:
Kód: [Vybrat]
sudo apt install libstdc++5
a nainstalovat "lexmark.z600-0.4.deb"
https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters?action=AttachFile&do=get&target=lexmark.z600-0.4.deb
Nainstaloval, ale "scanner stale pise ""No devices available""


sudo dmesg
Kód: [Vybrat]
[ 1354.594717] usb 2-2: new full-speed USB device number 5 using xhci_hcd
[ 1354.760486] usb 2-2: New USB device found, idVendor=413c, idProduct=5109, bcdDevice= 0.01
[ 1354.760497] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1354.760502] usb 2-2: Product: Dell Photo AIO 922
[ 1354.760507] usb 2-2: Manufacturer: Dell
[ 1354.760510] usb 2-2: SerialNumber: 4ABCD32
[ 1354.771580] usblp 2-2:1.1: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x413C pid 0x5109
[ 1354.780287] hid-generic 0003:413C:5109.0009: hiddev3,hidraw0: USB HID v1.00 Device [Dell Dell Photo AIO 922] on usb-0000:00:14.0-2/input2
[ 1359.923698] usblp0: removed
[ 1359.936560] usblp 2-2:1.1: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x413C pid 0x5109


Ale jak jsem pred par dny resil instalaci ovladace pro Canon i-SENSYS MF4370dn,
scanner fungoval i bez radne instalovaneho ovladace, takze jsem predpokladal ze AIO 922 by mohla taky ......

sudo sane-find-scanner
Kód: [Vybrat]
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x413c [Dell], product=0x5109 [Dell Photo AIO 922]) at libusb:002:005
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel



scanimage -L
scanimage --list-devices
Kód: [Vybrat]
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).



O Dell and Lexmark ani tuk (https://wiki.debian.org/Scanner)


Poradi nekod jakr zprovoznit scanner?




41
Hardware / Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 02. 12. 2021, 15:00:36 »
Snazim se zprovoznit tiskarnu Canon i-SENSYS MF4370dn pod Debian 11
ale nefunguje tisk pres USB/sit. Skaner funguje pres USB v poradku,
pres sit jsem nezkousel. Fax neni pripojeny k tel. lince.

Bohuzel nemam s tiskem pod Linuxem zadne zkusenosti :(


Ovladace "UFR II/UFRII LT Printer Driver for Linux V5.40" jsem nainstalavol odsud
https://asia.canon/en/support/0100924010

Kód: [Vybrat]
curl --doh-url https://doh.mullvad.net/dns-query -kLO https://gdlp01.c-wss.com/gds/0/0100009240/21/linux-UFRII-drv-v540-uken-19.tar.gz
tar -xvzf linux-UFRII-drv-v540-uken-19.tar.gz
cd linux-UFRII-drv-v540-uken
sudo ./install.sh

Vse probehlo v poradku, system vidi tiskarnu, ale pri pokusu o vytisteni "Testovaci stranky" se to v myjobs zastavi :(

Tiskarna je v systemu pod Device URI:
usb://Canon/MF4360-4390%20(UFRII%20LT)?serial=SJFXXXXXXXXXD&interface=1
pro sit:
socket://192.168.1.107:9100

V dmesg logu to hlasilo tohle:
Kód: [Vybrat]
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.253:28): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4180 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.265:29): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4186 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.481:30): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4188 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.493:31): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4193 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.545:32): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4193 comm="cups-browsed" capability=23  capname="sys_nice"
[Thu Dec  2 12:13:54 2021] audit: type=1400 audit(1638443635.011:33): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4252 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:13:54 2021] audit: type=1400 audit(1638443635.067:34): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4252 comm="cups-browsed" capability=23  capname="sys_nice"


Takze jsem nainstaloval:
Kód: [Vybrat]
sudo apt install apparmor-utils -y
sudo aa-complain cupsd
sudo aa-complain cups-browsed

ted je v logu tohle:
Kód: [Vybrat]
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.643:25): apparmor="ALLOWED" operation="capable" profile="/usr/sbin/cupsd" pid=653 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.651:26): apparmor="ALLOWED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.651:27): apparmor="ALLOWED" operation="file_mmap" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="rm" denied_mask="rm" fsuid=0 ouid=0

Ale vysledek je ten samy, tisk nefunguje :(

Nefunguje ani pristup na http://localhost:631/
Takze jsem zkousel tohle:

Kód: [Vybrat]
sudo cupsctl WebInterface=yes
sudo cupsctl --debug-logging
sudo service cups restart
sudo service cups status[/code
Ale ani tohle nepomohlo :(


Tady je vypis:
[code]$ sudo cupsctl
[sudo] password for xxxxx:
_debug_logging=1
_remote_admin=0
_remote_any=0
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=dnssd
DefaultAuthType=Basic
ErrorPolicy=retry-job
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
PageLogFormat=
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=yes




V dmesg ale pise tohle, pri pokusu o tisk:

Kód: [Vybrat]
[Thu Dec  2 14:18:30 2021] usblp3: nonzero read bulk status received: -71
[Thu Dec  2 14:18:30 2021] usblp2: removed
[Thu Dec  2 14:18:31 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:18:31 2021] usblp3: removed
[Thu Dec  2 14:18:31 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:40 2021] usblp2: removed
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:48 2021] usblp2: removed
[Thu Dec  2 14:25:48 2021] usblp3: removed
[Thu Dec  2 14:25:48 2021] usb 1-2: reset high-speed USB device number 2 using xhci_hcd
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC

 

Diagnosticky log je zde:
http://paste.debian.net/hidden/2b8a2da0/

42
Hardware / RPi + TV HAT + Anténa+ [UHF 46 (674 MHz)]
« kdy: 29. 11. 2021, 17:03:35 »
Zajimaly by mne jestli tady nekdo neprovozuje malinu v tomto provedeni
a nebo jestli to vubec bude fungovat?

"RPi" plus jejich "TV HAT" k tomu pripojeny USB Card Reader [1] do ktereho je zapojeny "Anténa+ modul" co prodavaji za 499
 (je tam 2 mesicni predlatne).

Dival jsem se asi nejlepsi mi pripada ten od TBS3102 5 Crystal Phoenix Card Reader
https://www.tbsdtv.com/products/tbs3102-5-crystal-phoenix-card-reader.html

Ale vubec s necim takovym nemam zkusenosti, poradi neko?

43
Distribuce / WireGuard (WG) Debian 11 - autostart
« kdy: 29. 11. 2021, 16:43:42 »
V roce 2019 vysla vynikajici serie clanku [1] o WG na root.cz,

dobre mi fungoval setup [2] od CloudFlare WARP [3]
a po startu PC se mi V Debian 10 automaticky vytvoril tunnel
a vse fungovalo jak ma.


Ale po re-instalaci systemu na Debian 11, proste
po nabutovani se system automaticky nepripoji (nebo pripoji do nejakeho divneho stavu)
 a PC zustane ve stavu bez pripojeni ven :(

Nepomuze ani odpojeni WG tunelu, je treba deaktivovat "autoconnect" pomoci
Kód: [Vybrat]
sudo nmcli connection modify warp autoconnect no
a restartovat aby na PC znovu fungoalo pripojeni ....


Pro prehlednost prikladam pouzite prikazy:
#Import
Kód: [Vybrat]
sudo nmcli connection import type wireguard file warp.conf

#Check connection
Kód: [Vybrat]
sudo nmcli connection

#Display details (including private key)
Kód: [Vybrat]
sudo nmcli --show-secrets connection show warp

#Check NetworkManager config is saved
Kód: [Vybrat]
sudo cat /etc/NetworkManager/system-connections/warp.nmconnection

#Rename Connection name
Kód: [Vybrat]
sudo nmcli connection modify warp connection.id "WireGuard-doma"

#Connect if not connected
Kód: [Vybrat]
sudo nmcli connect up warp

#Disconnect
Kód: [Vybrat]
sudo nmcli connect down warp

#Display all adapters
Kód: [Vybrat]
sudo nmcli

#Disable autoconnect
Kód: [Vybrat]
sudo nmcli connection modify warp autoconnect no
#Enable autoconnect
Kód: [Vybrat]
sudo nmcli connection modify warp autoconnect yes



[1]
https://www.root.cz/serialy/wireguard-pro-jednoduchou-linuxovou-vpn/
[2]
https://www.root.cz/clanky/wireguard-integrace-s-nastroji-network-manager-a-systemd/
[3]
https://cf-warp.maple3142.net/warp.conf

44
Software / Octal - GETFILEOCTAL doublecmd-common
« kdy: 13. 09. 2021, 15:52:35 »
Chtel bych aby mi jeden sloupec v Double Commanderu zobrazoval prava i v "octal" podobe, ale nedari se mi to nastavit :(

UID/GIF se nastavuje takhle, coz funguje
Uid        [DC().GETFILEOWNER{}] UID: User ID  - Owner
Gid        [DC().GETFILEGROUP{}]  GUI: Group ID  - Group

Ale [DC().GETFILEOCTAL{}] nefunguje :(, napada nekoho jak?

Na help strance ani tuk o octal :(
https://doublecmd.github.io/doc/en/help.html

45
Sítě / brcmfmac 43340 SDIO WiFi/BT - ASUS X205TA
« kdy: 13. 09. 2021, 13:29:41 »
Znamy ten laptop (ASUS X205TA) chtel vyhodit a nabidnul jsem mu na to nainstaluji Linux (Window$ prestaly fungovat) s Debian 10, mi tato karta umoznovala akorat pripojeni na 2.4GHz site, ale kdyz jsem tam ted nahral novy Debian 11 tak mi zobrazuje i site v 5GHz pasmu (maximalny rychlost je jen 150 Mb/s) s timto ovladacem:

Kód: [Vybrat]
sudo lshw -C network | grep -B 1 -A 12 'Wireless interface'
  *-network               
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 94:a1:xx:xx:xx:xx
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmfmac driverversion=6.10.190.78 firmware=01-e7bd1c9f ip=192.168.x.x multicast=yes wireless=IEEE 802.11

Nevi nekdo jak zjistit presny spec teto SDIO Wi-Fi karty? Hledal jsem to, ale je to zacarovany kruh.
Nezobrazuje se ani v lsusb ani v lspci :(

Podarilo se nekomu zprovoznit BT u teto karty? Jakmile tam dohraju "brcm/BCM43341B0.hcd", prijdu o 5GHz site :(

SDIO znamena Secure Digital Input Output a nebo se temto kartam rika jinak?

32 nebo 64bit? Bullseye Multi-architecture CD mi nabidlo nainstalovat 64bit verzi, ale jelikoz to ma jen 2GB RAM nebude to problem? Bude to pouzivat jen na prohlizeni webu/mailu a jednoduche veci (MATE 1.24.1).




Stran: 1 2 [3] 4 5