Re: Printing the old way

2022-06-14 Thread IL Ka
Old printer connected via LPT port was accessed using /dev/lpt Because several processes shouldn't print at the same time, there was a spooler called lpd and the client tool called lpr. https://www.linuxtopia.org/online_books/linux_system_administration/linux_printer_HOWTO/setup_002.html On Tue,

Re: OT git question

2022-06-07 Thread IL Ka
> > According to (1), that would be the ''-b, -w, --ignore-space-at-eol, and > --ignore-cr-at-eol' option and the 'repository'. > > This is a "git diff" option, not "git pull" option AFAIK

Re: OT git question

2022-06-06 Thread IL Ka
Hi > - git pull > Fetch data from remote repository and merge local branch or rebase it on top of new commits. > - git pull -b karma > I do know what "-b" is. Documentation also doesn't: https://git-scm.com/docs/git-pull $ git pull -b asd error: unknown switch `b' There is "git checkout -b"

Re: Apache2 Configuration Problem

2022-06-04 Thread IL Ka
Remove mod_python $ sudo apt purge libapache2-mod-python no reason to use it in 2022. Frankly, I see no reason to use apache for python either: I recommend python application server (gunicorn or uwsgi) and light frontend like nginx or lighthttpd to terminate HTTPS and serve static files. You can

Re: postfix + gmail

2022-06-03 Thread IL Ka
Hello. Do you have "relayhost" set to gmail SMTP server? https://www.postfix.org/postconf.5.html#relayhost Did you call postmap(1) to build password file? http://www.postfix.org/postmap.1.html Here are a couple of tutorials: http://postfix.cs.utah.edu/SOHO_README.html#client_sasl_enable https://

Re: regarding firewall discussion

2022-05-31 Thread IL Ka
> > > I think the idea is that nothing is accepted it depends on policy (-P): either ACCEPT, REJECT or DROP > unless it is in response to > a request. > You must enable it explicitly, i.e. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT > What's to stop some spurious instructions being

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread IL Ka
> > > Noninteractive is the word! Thank you. > > This is a technical term covered by debconf(7) :) https://manpages.debian.org/bullseye/debconf-doc/debconf.7.en.html The idea is covered here: https://manpages.debian.org/bullseye/debconf-doc/debconf-devel.7.en.html With a non-interactive frontend

Re: How should learning to program in c++ be approached, if learning objectives are sought to be customised?

2022-05-30 Thread IL Ka
> > > The header files are very, very complex and they can't be understood. > No reason to read header files. Both C and C++ have ANSI standards, which developers code against. Just read standard and do not bother with reading header files. But start with a good book. Studying C by reading header

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-30 Thread IL Ka
IMHO: It is better to have a firewall and block (policy -- drop) INPUT and FORWARD by default. And open only ports that must be opened. This will help if you install some software that listens for 0.0.0.0 by accident On Mon, May 30, 2022 at 4:42 PM Greg Wooledge wrote: > On Mon, May 30, 2022 at

Re: How should learning to program in c++ be approached, if learning objectives are sought to be customised?

2022-05-30 Thread IL Ka
Hello, > I have tried a couple of times, but debian-gcc team didn't > respond to my earlier queries (but I shall post a copy of this one > there too, just in case). debian-gcc maintainers maintain the gcc package for Debian, they are not responsible for teaching people C or C++. I suggest you

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread IL Ka
You are probably looking for unattended installation and configuration using "noninteractive" dbconf frontend. https://manpages.debian.org/bullseye/debconf-doc/debconf.7.en.html#Unattended_Package_Installation On Mon, May 30, 2022 at 6:10 AM Emanuel Berg wrote: > Have a look at this blog post a

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > > ssh gives me a login prompt > > Btw, I highly recommend: * Block SSH access from any IP except one you are going to use to manage this server * If you have dynamic IP, you can add all your ISP network, or, at least, your country: (list can be downloaded here https://blog.ip2location.com/kno

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > > I must say, I can not realy understand how you can ping and not > telnet/access your web server. > > Some router between OP and his server has something like -I FORWARD -j REJECT --reject-with icmp-host-unreachable

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
btw, are you able to ping server? On Sun, May 29, 2022 at 7:26 PM Tom Browder wrote: > On Sun, May 29, 2022 at 10:33 AM IL Ka wrote: > > > > > >> When running those, I'm told neither the arptablrs nor the ebtables are > registered (not installed). Should I inst

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > > > and ``iptables -S`` ? > > -P INPUT ACCEPT > -P FORWARD ACCEPT > -P OUTPUT ACCEPT > -N f2b-sshd > -A INPUT -p tcp -m multiport --dports 22 -j f2b-sshd > -A f2b-sshd -s 61.177.173.50/32 -j REJECT --reject-with > icmp-port-unreachable > -A f2b-sshd -s 61.177.173.7/32 -j REJECT --reject-with >

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> When running those, I'm told neither the arptablrs nor the ebtables are > registered (not installed). Should I install them? > No. So, you now have legacy (classic) iptables, right? What is the output of ``iptables -L -v -n`` and ``iptables -S`` ?

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > >> Do I have to switch all four *legacy *tables? > yes

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > > > Good to know. But does fail2ban require ipset? > No, but having several thousand rules is not convenient, so I prefer ipset > They never have before in over 15 years, and, before I got this server > started, its mate was serving fine. But if the ufw doesn't work, I'll ask > them. > I'd s

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > > > Does anyone have a good reason for me to NOT install and enable UFW? > > ufw can't be used with ipset AFAIK, and I use ipset for many reasons (fail2ban, block access outside of my country etc). But If you only SSH your host from one static IP, you probably do not need fail2ban at all. Anyw

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-29 Thread IL Ka
> > $ telnet x.y.z.w 80 > Trying x.y.z.w... > telnet: Unable to connect to remote host: No route to host > But you can ssh to this host, right? Well, that means the firewall blocks your request and sends the ICMP message "no route to host". Switch to the legacy iptables using ``update

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-28 Thread IL Ka
> > > $ sudo su > # telnet 80 > Trying 0.0.0.80... > 1. You are using telnet wrong: it should be "telnet [host] [port]". Please read "man telnet". 2. You do not need sudo to use telnet, do not do that 3. You should also check that Apache is running and listening to this port, use ``ss

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-28 Thread IL Ka
> > I am running an Apache server and using Qualys Lab’s server checker. It > shows no access to the server. > > Have you tried to telnet to port 80 from home? Do you see apache listening this port using ``ss``? > > Whatever attempt I make to change the ports disappears when I reboot. > > Sure,

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-28 Thread IL Ka
> > > > A little more digging shows the new server is using fail2ban and nft > tables, so I > need help on how to properly allow https and http inbound. > > I am not familiar with nft, bit you can switch to iptables using ``update-alternatives`` # update-alternatives --set iptables /usr/sbin/iptab

Re: Firewall blocking my new Debian 11 server ports 80 and 443

2022-05-28 Thread IL Ka
> > > > -P INPUT ACCEPT > -P FORWARD ACCEPT > -P OUTPUT ACCEPT > -N f2b-sshd > -A INPUT -p tcp -m multiport --dports 22 -j f2b-sshd > -A f2b-sshd -s 62.204.41.56/32 -j REJECT --reject-with > icmp-port-unreachable > -A f2b-sshd -s 61.177.173.48/32 -j REJECT --reject-with > icmp-port-unreachable > -A

Re: Hibernate filled my /root

2022-05-26 Thread IL Ka
30 GB of logs, wow. Do you use logrotate? On Thu, May 26, 2022 at 6:14 PM Peter Ehlert wrote: > /root partition was 40 GB, about 15 GB was free > /swap 20 GB, unused > > hibernate > > restart failed > > Using Gparted I found /root was full > resized /root to 50 GB > boots properly now > > /var/l

Re: Apache2 404

2022-05-25 Thread IL Ka
What about > > On Tue, May 24, 2022 at 10:27 PM ldmko...@yahoo.com > wrote: > > I am still confused. I have quadruple checked the .conf files, rechecked > to step to create a virtual domain and still I get 404 when trying to > access the second page of html. > > > 1. Which URL do you see in your

Re: Apache2 404

2022-05-24 Thread IL Ka
On Tue, May 24, 2022 at 10:27 PM ldmko...@yahoo.com wrote: > I am still confused. I have quadruple checked the .conf files, rechecked > to step to create a virtual domain and still I get 404 when trying to > access the second page of html. > 1. Which URL do you see in your browser bar exactly?

Re: Installing Jessie on VirtualBox

2022-05-23 Thread IL Ka
> > > RAM, disk space... and so on :/ > What makes you think so? One person on this thread said he runs Bullseye on a laptop from 2003. Linux itself is not resource hungry, only certain applications may have special requirements. What is your hardware, and which apps are you going to run there?

Re: Installing Jessie on VirtualBox

2022-05-23 Thread IL Ka
> > AFAIK it also works on 32bit machines, > > Yes, you just need to choose the right installer. But I do not know what is the oldest CPU supported.I believe we may need SSE, so any CPU produced after ~ 2005 is also ok)

Re: Installing Jessie on VirtualBox

2022-05-23 Thread IL Ka
> > If I can't solve this by tomorrow, I'll look at Debian Stretch (as that's > still lighter than Bullseye) > If you believe Bullseye is too modern to your hardware, you are probably wrong. You can install server (no GUI) version of Bullseye on any 64bit CPU, including those on socket 775 from the

Re: any good books about the (art?, economics and) science of optimizing IO performance? ...

2022-05-23 Thread IL Ka
I am not aware of such books, but to develop deep understanding one probably needs long path. 1. How memory/cache/hdd (ssd/nvme not covered) works: h ttps://www.amazon.com/Memory-Systems-Cache-DRAM-Disk-ebook/dp/B00BXETR06 2. General understanding of PC architecture: https://www.mindshare.com/Books

Re: Apache2 404

2022-05-21 Thread IL Ka
> My link to the second page is via a url "var/www/ > ldmdomain.info/html/Picture1.html". > should be http://ldmdomain.info/Picture1.html probably

Re: Apache2 404

2022-05-20 Thread IL Ka
How exactly do you go to the second page? Is it a hyperlink in HTML or what? If so, what is url? file:// protocol will not bring you to the server. On Fri, May 20, 2022 at 7:44 PM ldmko...@yahoo.com wrote: > I am having a problem with Apache2. I have set a new configuration and > have three htm

Re: Installing Jessie on VirtualBox

2022-05-19 Thread IL Ka
Hello. First of all, Jessie is old, use Bullseye instead. When creating new VM, did you choose "Debian 64" as OS type? Did you add NAT network adapter to it? Also, I can't see any image >

Re: Resetting a USB port in Debian 10

2022-05-18 Thread IL Ka
Try to disable it. Then, enable. Use "sys": https://karlcode.owtelse.com/blog/2017/01/09/disabling-usb-ports-on-linux/ https://askubuntu.com/questions/1338682/is-it-possible-to-disable-usb-port-with-known-physical-location On Thu, May 19, 2022 at 1:51 AM Jason wrote: > Hello, > > What is the bes

Re: Disable connections to Internet without user's consent

2022-05-17 Thread IL Ka
Unless you enable unattended upgrades explicitly ( https://wiki.debian.org/UnattendedUpgrades) Debian wouldn't download them automatically. Some tools may send multicast requests (I think Avahi does: https://wiki.debian.org/Avahi) You can use `tcmpdump` to check all your Internet traffic, and then

Re: Permanent email address?

2022-05-17 Thread IL Ka
> > > Don't host your email on just any old cheap VPS. Many VPS providers have > bad reputations for not policing spam senders, and as a consequence large > email services like gmail often block whole ip ranges that belong to these > VPS providers. > At least make sure the IP address isn't blackli

Re: Permanent email address?

2022-05-17 Thread IL Ka
> > I would not recommend running an MTA on a dynamic IP address. I can > absolutely guarantee you that emails sent from such a system will not reach > the recipient. > +1. You also need SPF (DNS record that lists IP addresses allowed to send emails from a certain domain) which isn't easy if you

Re: ca-certificates: DST_Root_CA_X3.crt expired, so why is it still included in Bullseye?

2022-05-12 Thread IL Ka
Hi. OSes usually include all CA certificates (even expired). Windows also does it (I have CA expired in 1999 in win10). User should have the ability to distinguish between invalid signatures and old/expired signatures. While the latter is an expected situation, the former is definitely fraud.

Re: stretch with bullseye kernel?

2022-05-03 Thread IL Ka
Linux kernel is backward compatible. Linus calls it "we do not break userspace". That means _old_ applications should work on new kernel On Wed, May 4, 2022 at 12:40 AM Richard Hector wrote: > Hi all, > > For various reasons, I have some stretch LXC containers, on a buster > host that I now ne

Re: Dual booting Debian on an Windows machine.

2022-04-30 Thread IL Ka
> > > https://uefi.org/specifications > current is UEFI Specification Version 2.9 (March 2021) > > https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf > although i still read > https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_A_Feb14.pdf > when it comes to di

Re: Dual booting Debian on an Windows machine.

2022-04-30 Thread IL Ka
M Richard Owlett wrote: > On 04/30/2022 09:01 AM, IL Ka wrote: > > this is possible: you just need to have two .efi files for your OSes: one > > for Windows and one for Linux. > > Use ``efibootmgr`` to manage it. > > If you have secure boot enabled, you need shim: > &

Re: Dual booting Debian on an Windows machine.

2022-04-30 Thread IL Ka
this is possible: you just need to have two .efi files for your OSes: one for Windows and one for Linux. Use ``efibootmgr`` to manage it. If you have secure boot enabled, you need shim: https://wiki.debian.org/SecureBoot On Sat, Apr 30, 2022 at 3:06 PM Richard Owlett wrote: > I will be setting u

Re: When will Debian book Authors be publishing Debian 11 Bullseye System Administrator's Handbook?

2022-04-29 Thread IL Ka
Debian 10 handbook (https://debian-handbook.info/) still can be used to study Debian because lots of things are the same. After this book you can read Debian 11 release notes: https://www.debian.org/releases/stable/amd64/release-notes/index.en.html >

Re: Net install installer fails to access any mirror...........

2022-04-29 Thread IL Ka
While installing, what was the result of "Detect network hardware" and "Configure the network" steps? Click "ctrl+alt+F2", and type "ip addr" to check if address is configured correctly. Try to ping your router. Then, mirror. On Fri, Apr 29, 2022 at 2:55 PM Charlie wrote: > > Hello Eve

Re: Firmaware II

2022-04-28 Thread IL Ka
> > > Is firmware not connected to the hardware? > > Modern hardware (wifi adapter for example) is a tiny computer. Firmware is a special program that runs in it (much like you run Debian on your PC). Hardware vendors provide firmware as blob: compiled piece of data without source (like Windows)) s

Re: Graphics::Magick

2022-04-27 Thread IL Ka
Rectangle should be transparent by default (unless you provide `fill` argument explicitly). 'false' is not a valid color, so providing it shouldn't make any difference. I suggest to provide color explicitly: https://imagemagick.org/script/color.php Here i

Re: "Disabling IRQ #9" - how to check for impact

2022-04-27 Thread IL Ka
Hi. Short answer: This is a known kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=207749 Long answer: This message means some hardware generates an interrupt request, but the interrupt handler (kernel driver) failed to process it. See: https://stackoverflow.com/questions/13861282/understa

strongswan still uses outdated ``ipsec(8)`` command by default

2021-11-28 Thread IL Ka
Hello. Before sending the issue to maintainers I want to ask people who use strongswan. StrongSWAN migrated from ``ipsec(8)`` to ``swanctl(8)`` and from ``strongswan-starter`` (ipsec-based) to ``strongswan`` (special version of charon that could be used with systemd). https://wiki.strongswan.org/

Re: Keep config?

2021-09-27 Thread IL Ka
> > > > just an easy question: How can I force to keep or overwrite a > configuration > during an upgrade? As I do not want it set fixed, I am searching for a > solution by setting a command. There are options for dpkg: --force-{confdef,confold,confnew} etc. See ``dpkg(1)``. Here are some exampl

Re: Debian bullseye

2021-09-17 Thread IL Ka
> > > I have been using Debian for several years and have just upgraded to > Bullseye and I wish I hadn't. It has some bug fixes in it (which were more > like minor inconveniences anyway), but Bullseye is SLOW. Its getting to be > as bad as Windows and takes forever to start up. This may help:

Re: Can surf the internet, but not my home network...

2021-09-15 Thread IL Ka
> > My solution is remove the kernel module (in my case it is ath5k.ko, as it > is > an Atheros card). Removing it with "rmmod ath5k", and when I need to use > it > again, I restart it using "modprobe ath5k". > > If you are wired connected, you can try "ifconfig eth0 down" or whatever > your > ethe

Re: Can surf the internet, but not my home network...

2021-09-15 Thread IL Ka
> > Computer A can ping computer C instead, and viceversa. No PC can access > the printer website nor print any more. Nor can I scan documents as I could > before, because the scanner is part of the printer. > > Please show "ip addr" and "ip nei show" from all Linux machines and "ipconfig" and "arp

Re: LTS versions - confusion

2021-09-13 Thread IL Ka
> > So... what is the current LTS version and when is its EOL, and when will > the next one be released, and what will be its EOL? > In Debian world "stable" version created every several years, so you can move from one stable to another. Here is info about current versions https://wiki.debian.or

Re: tomcat8 in debian 10/buster

2021-09-13 Thread IL Ka
> > > Does anyone know of a third-party repo which offers a tomcat8 built for > debian 10? > > Try docker: https://hub.docker.com/_/tomcat?tab=tags&page=1&ordering=last_updated You can also download Tomcat, unpack it to the /opt/, and run with java.

Re: How to improve my question in stackoverflow?

2021-09-10 Thread IL Ka
> > > Moreover, the included things are files, and by convention they > have a suffix ".h", for "header". I'd expect the above to look > rather like > > #include > #include > #include > #include > #include > #include > This is true for C, but not for C++. With C++ headers could

Re: How to format with stride/stripe_width options during install

2021-09-09 Thread IL Ka
> > Installing Debian 11 with netinst CD on a server with hardware raid. > Installer has no custom format parameters option for ext4, like stride > and stripe_width. How does one format the raid partitions with these > options during OS installation? > With full DVD installer in "Advanced Options

Why ``color_prompt`` is only set for ``xterm``?

2021-09-02 Thread IL Ka
Hi .bashrc on bullseye contains following lines ``` # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac ``` So we only have colors in the terminal emulator, but not in virtual linux console. This could be fixed by

Re: How to avoid systemd/udev unpredictable NIC names

2021-08-30 Thread IL Ka
> > This gives unpredictable results if the system has more than one > ethernet interface, or more than one wireless interface. > > It's fine on systems that have 0-1 ethernet and 0-1 wireless NICs. > Isn't that what the topic starter asked about?:) To make names predictable one can either leave

Re: How to avoid systemd/udev unpredictable NIC names

2021-08-30 Thread IL Ka
On Mon, Aug 30, 2021 at 11:36 PM Steve Keller wrote: > So I'm still confused what to do after the upgrade to buster to keep > my network names. > > > in /etc/default/grub add "net.ifnames=0" to GRUB_CMDLINE_LINUX and execute "update-grub" This service: https://www.freedesktop.org/software/system

Re: Permission Questions

2021-08-30 Thread IL Ka
> > > Is there something special with /tmp? > Do you have sticky bit on `/tmp`? > For directories, when a directory's sticky bit is set, the filesystem treats the files in such directories in a special way so only the file's owner, the directory's owner, or root user can rename or delete the file

Re: Debian: LDAP migration

2021-08-26 Thread IL Ka
1. Export your data to LDIF using `slapcat` https://www.openldap.org/software/man.cgi?query=slapcat 2. Install Debian 11 with OpenLDAP on some test machine 3. import LDIF using `ldapadd` or `ldapmodify` and see if it works https://www.digitalocean.com/community/tutorials/how-to-use-ldif-files-to-m

Re: Firewall POSTROUTING problem

2021-08-11 Thread IL Ka
> > > > > > iptables -A FORWARD -j ACCEPT > Are you sure your packets are forwarded via netfilter? Try to disable forwarding (with sysctl) or change rulte to -j DROP and check traffic with sniffer (no packet should be forwarded from virt machine to the Internet)

Re: can't login via gdm

2021-08-10 Thread IL Ka
> > > I ran the following to change my users UID & GIDs - but, now I have no > graphic gdm login. I have no problem with a terminal login and the > same worked on a terminal based server. > > Check your logs with journalctl. There is also ~/.xsession-errors, but you probably lost access to your ow

Re: why 1G memory is missing?

2021-08-03 Thread IL Ka
> > > That cpu was normally paired with the Intel 945 chipset that can’t support > more than about 3.25GB whether or not it’s 32/64 OS > Yes, and even worse: this CPU doesn't support 64bit OS > model name: Intel(R) Atom(TM) CPU N280 @ 1.66GHz >> address sizes: 32 bits physical, 32 b

Re: why 1G memory is missing?

2021-08-03 Thread IL Ka
> > inxi shows that only 3 GB are available as the TOTAL, although it finds > the 4 GB to be physically installed: > $ sudo inxi -m -x > Memory:RAM: total: 2.88 GiB used: 2.11 GiB (73.2%) > Array-1: capacity: 4 GiB slots: 2 EC: None max module size: 2 GiB note: > est. > Device-1: M1 size: 2 GiB

Re: why 1G memory is missing?

2021-08-02 Thread IL Ka
> i have 2 memory slots > memtest86+ shows each has 2G, but total is 3G > after booting linux, top shows total is 3G > why 1 G is missing? Thanks! > You probably have 32bit OS https://en.wikipedia.org/wiki/3_GB_barrier

Re: what binds to port

2021-07-30 Thread IL Ka
> > > $ sudo ss -l4pon | grep [port] > > That grep command is wrong in a couple ways. > > First, the unquoted [port] is a live glob pattern for the shell. I meant port number here, i.e.: $ sudo ss -l4pon | grep 80 > Finally, you added the -n option to ss, which means it no longer prints > servi

Re: what binds to port

2021-07-30 Thread IL Ka
> > sudo netstat -ltp|grep sane-port > or $ sudo ss -l4pon | grep [port]

Re: suppress interactive messages at upgrade

2021-07-29 Thread IL Ka
> > > is there a more clever way than running aptitude/apt-get with the tags > "-yq", > when I want to suppress interactive messages at upgrade? > > try sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install [packagename]

Re: VirtualBox Problem

2021-07-17 Thread IL Ka
> > [1], comment 1, first sentence. > VirtualBox limits CPU by available cores, not threads. This is not > configurable, and is unchangeable, unless you patch VirtualBox. > It seems that nobody bothered to write such patch. > > On Win10 Hyper-V could also be used, and it doesn't have such problems

Re: dns failover a record

2021-07-12 Thread IL Ka
> > > I have 2 services. I want > the A record to change automatically when one is inaccessible. Do you want the DNS server to ping your service and change "A" record? There is no such feature AFAIK. You can use two different IPs for services and provide both of them as A record. This is called

Re: Docker installation problems

2021-07-08 Thread IL Ka
> > failed to create API server: Could not load X509 key pair (cert: > "/var/docker/server.pem", key: "/var/docker/serverkey.pem"): open > /var/docker/server.pem: no such file or directory > > On my system the /var/docker directory doesn't exist. Further, server.pem > doesn't exist anywhere on my s

Re: Docker installation problems

2021-07-07 Thread IL Ka
> > I suspect that something might be wrong with the /etc/apt/daemon.json > file but am not sure what. > > try # dockerd https://docs.docker.com/config/daemon/#start-the-daemon-manually Do you see any errors?

Re: Memory allocation failed during fsck of large EXT4 filesystem

2021-07-06 Thread IL Ka
> I use a 32bit OS > > 32-bit OS can't use more than 4GB. 32-bit app can use even lower amount of memory. This is why 50GB swap file didn't help.

Re: Memory allocation failed during fsck of large EXT4 filesystem

2021-07-05 Thread IL Ka
On Mon, Jul 5, 2021 at 5:17 PM Reiner Buehl wrote: > It seems swap is not the solution: Even after adding a 50G swap file, I > still get the same error message and the swap usage stats from collectd > show that max swap usage was not more than just 2G. > > btw, do you use 32 or 64bit os?

Re: Memory allocation failed during fsck of large EXT4 filesystem

2021-07-05 Thread IL Ka
> Error storing directory block information (inode=366740508, block=0, > num=406081): Memory allocation failed > Try ``scratch_files`` https://manpages.debian.org/buster/e2fsprogs/e2fsck.conf.5.en.html This stanza controls when e2fsck will attempt to use scratch files to reduce the need for memory

Re: make custom kernel

2021-07-04 Thread IL Ka
On Sun, Jul 4, 2021 at 1:26 PM The Wanderer wrote: > On 2021-07-04 at 06:26, IL Ka wrote: > > >> thank you very much. Can I somehow load the current configuration > >> so menuconfig shows what choices were made for current kernel ? > > > > zcat /proc/config.g

Re: make custom kernel

2021-07-04 Thread IL Ka
> > thank you very much. Can I somehow load the current configuration so > menuconfig shows what choices were made for current kernel ? > > zcat /proc/config.gz > .config

Re: make custom kernel

2021-07-03 Thread IL Ka
On Sun, Jul 4, 2021 at 12:20 AM Anssi Saari wrote: > mick crane writes: > > > I've done it before but I've forgotten and the order. > > What's the procedure for making a custom kernel? > > I assume there are full instructions somewhere. Here it is http://www.kroah.com/lkn/ ``make help`` in ke

Re: removing modules

2021-07-03 Thread IL Ka
> > > There is for example "dell_smm_hwmon" followed "0" which you'd think was > to be used by software for monitoring the PC hardware. > You have this device (SMM BIOS), so ``udev`` loaded this module. It creates `` /sys/class/hwmon/hwmon..`` for hardware monitoring. Remove this module, and this

Re: removing modules

2021-07-03 Thread IL Ka
> > > hello, > If I type "lsmod" there is a big list of modules with many followed by a > "0" > which I guess means they are not needed in the kernel ? > That means no module depends on it. But it doesn't mean this particular module isn't required. Does lsmod know about all installed software an

Re: Buster on Win 10 Problems

2021-06-30 Thread IL Ka
> > > > Is WSL a hard requirement? As far as I know Debian runs quite well in > Virtualbox (make sure you install the guest additions). > Yes, I use it alot) It also runs well on the Hyper-V (which is a part of Windows), just make sure to disable secure boot in VM.

Re: Ibus info needed

2021-06-30 Thread IL Ka
Do you mean this one: https://en.wikipedia.org/wiki/Intelligent_Input_Bus ?

Re: Buster on Win 10 Problems

2021-06-29 Thread IL Ka
> > I've never had much luck with emulations/APIs. I gave up on wine (maybe > it's better now) because so many things nearly worked. I've had trouble > with virtual machines with getting good enough access to the hardware. > > WSL-2 is not an emulator but a real virtual machine that runs Linux kern

Re: X server running on a different machine [Re: Wanted: a special purpose Debian installer]

2021-06-29 Thread IL Ka
> > > > There's plenty of book you can find by searching on Google with the > subject "X11 architecture" or something similar. > > There is a classic "Definitive Guides to the X Window System" series. https://www.oreilly.com/library/view/x-windows-system/9780937175835/ Also https://www.oreilly.com/

Re: how to change terminal (tty) font?

2021-06-27 Thread IL Ka
Hi. You are using a slightly inaccurate terminology. ``tty`` is a kernel subsystem that supports terminals. Terminal could be * hardware device connected to the serial port, * virtual terminal -- so-called vty that runs on top of virtual console which is emulated by kernel using your videocard a

Re: Font color selection in MATE terminal

2021-06-22 Thread IL Ka
One more idea: install xterm (``apt install xterm``) and run it with ``-cm`` $ xterm -cm that means "do not recognize color esc. sequences" Everything is b&w there

Re: Font color selection in MATE terminal

2021-06-22 Thread IL Ka
> > > unicorn:~$ sudo TERM=xterm-mono apt update > > Nope. Not that one either. Some apps ignore the number of colors from the terminfo. Their authors believe there are no colorless monitors. Vim and bash works, however $ TERM=xterm-mono vim $ TERM=xterm-mono bash (no color prompt)

Re: Font color selection in MATE terminal

2021-06-22 Thread IL Ka
try $ TERM=xterm-mono [your_program] On Tue, Jun 22, 2021 at 4:14 PM Richard Owlett wrote: > I have vision problems. > I *MUST* have black on white text in all cases. > The program I'm running gives out colored text. > The MATE Help screen is NOT helpful. > Help please. > > >

Re: Problem with Grub

2021-06-19 Thread IL Ka
Hello. You do not need to reinstall Windows to fix boot problems. Download Windows iso from the Microsoft website along with a special tool to burn it to the flash drive, boot from it and Windows will repair most booting issues. Motherboard firmware may act in Legacy/BIOS mode or UEFI mode. Mast

Re: trouble with debconf

2021-05-28 Thread IL Ka
On Fri, May 28, 2021 at 7:54 PM Patrice Duroux wrote: > > I have finally found the source of this trouble. > The absence of /var/lib/cdebconf directory after a bad manipulation. https://packages.debian.org/sid/cdebconf # apt install cdebconf This is a folder to store answers for debconf: http

Re: About Terminal on Buster

2021-05-27 Thread IL Ka
> > > "gpm" ? > I believe this is a mouse server for the virtual terminal running in the virtual console (aka "text mode") X11 uses its own mouse drivers. In modern versions they are based on libinput. There are several types of "clipboard" in X11: one is called "PRIMARY selection" and another is

Re: About Terminal on Buster

2021-05-27 Thread IL Ka
> > > XFCE > Right click on the terminal, preferences, appearance. Choose "display toolbar" https://i.imgur.com/1kLAsVd.png > >

Re: About Terminal on Buster

2021-05-27 Thread IL Ka
> > How can I obtain a terminal window with menu above so that for example I > can copy or paste commands etc.? > Which desktop environment / window manager are you using? https://wiki.debian.org/DesktopEnvironment >

Re: Web log analysis

2021-05-27 Thread IL Ka
On Thu, May 27, 2021 at 12:55 PM Richard Hector wrote: > Hi all, > > I need to get a handle on what my web servers are doing. > There is also a webalizer which is similar to AWStat. I use google analytics to monitor website. It knows nothing about my logs of course, but provides lots of informat

Re: grub-set-default

2021-05-19 Thread IL Ka
> > > I cannot see any changes in /etc/grub.d/ or /etc/default/grub > It saves data in the GRUB environment block https://www.gnu.org/software/grub/manual/grub/grub.html#Environment-block Somewhere in /boot/grub/grubenv but I think firmware storage may also be used To use it, you must set GRUB_D

Re: IRC

2021-05-19 Thread IL Ka
On Wed, May 19, 2021 at 6:22 PM Polyna-Maude Racicot-Summerside < deb...@polynamaude.com> wrote: > Hi ! > Is there some IRC channel for Debian ? > https://wiki.debian.org/IRC

Re: Linux kernel 5.10 (or 5.4) with Debian Buster

2021-05-18 Thread IL Ka
> > > Just wondering, is it safe to use kernel 5.4 or 5.10 with Debian Buster > packages? > > Kernel has stable userland ABI. Any user program (like bash or nginx) should be compatible with any future kernel release. But kernel doesn't guarantee kernel modules ABI (even API is not stable). So, reg

Re: vim not seeing many Unicode chars

2021-05-18 Thread IL Ka
> > > Thanks all. I looked at my config files (which go back at least 15 years) > and found lots of explicitly setting both LC_ALL=C and LC_LANG=C. > > Should I remove all, or just remove the LC_ALL? > > Using LC_ALL is strongly discouraged as it overrides everything. Please use it only when testi

  1   2   >