Huawei E173 - no more network interface?

2015-10-11 Thread Kamil Jońca
Sometimes[1] I had to use Huawei E173 gsm modem. About a year ago, when I put this modem in USB port I got network interface like wwan0 or usb0. But now this not happen any more. I got only ttyUSB? interfaces. What should I check/do to have network interface? KJ -- http://wolnelektury.pl/wesprzy

Re: Huawei E173 - no more network interface?

2015-10-13 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: > Sometimes[1] I had to use Huawei E173 gsm modem. > About a year ago, when I put this modem in USB port I got network > interface like wwan0 or usb0. > But now this not happen any more. > I got only ttyUSB? interfaces. It is considered

Debian stretch hiberante hooks

2016-01-16 Thread Kamil Jońca
There is laptop with "stretch/sid" on it. I want umount all remote filesysems before suspending/hibernating it. When google I found only solutions referring to pm-utils and /etc/pm/sleep.d sripts. But this does not work for me. It looks like pm-hibernate is not even calling. So my question is: how

[SOLVED] Re: Debian stretch hiberante hooks

2016-01-18 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: [...] Finally I got it (I think) I put file /etc/systemd/system/remote-umount.service which contains: --8<---cut here---start->8--- [Unit] Description=Umount remote cifs/sshfs filesystems Before=suspend.

Systemd best practices (was: [SOLVED] Re: Debian stretch hiberante hooks)

2016-01-20 Thread Kamil Jońca
Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> writes: > Hi, > [...] > > Just using "sleep.target" instead of the three individual ones should > also work and do the same. > > Ansgar Indeed. Thanks. By the way: whether there is a documentation describing best practices and "use cases" for system

exim4 - tls errors

2016-04-10 Thread Kamil Jońca
I recently upgraded my box and now I got --8<---cut here---start->8--- Warning: No server certificate defined; TLS connections will fail. Suggested action: either install a certificate or change tls_advertise_hosts option --8<---cut here--

Re: exim4 - tls errors [partially solved]

2016-04-11 Thread Kamil Jońca
deloptes writes: > > Try to disable TLS > > MAIN_TLS_ENABLE = false > > in /etc/exim4/exim4.conf.template Wrong. It was not defined, and this caused all tls_* options were unset (tls_advertise_hosts in particular) nevermind. 1. I used /usr/share/doc/exim4-base/examples/exim-gencert to generate

Re: exim4 - tls errors [SOLVED]

2016-04-21 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: some background 1. with exim 4.87 tls_advertise_hosts defaults to *. 2. also MAIN_TLS_ADVERTISE_HOSTS (main/03_exim4-config_tlsoptions) 3. to get rid this message (excet to create certificate) tls_advertise_hosts should be _empty_. so set --8

Re: exim4 - tls errors [SOLVED]

2016-04-24 Thread Kamil Jońca
deloptes writes: > Kamil Jońca wrote: > >> kjo...@poczta.onet.pl (Kamil Jońca) writes: >> >> some background >> 1. with exim 4.87 tls_advertise_hosts defaults to *. >> 2. also MAIN_TLS_ADVERTISE_HOSTS (main/03_exim4-config_tlsoptions) >> 3. to get rid

question about limits

2016-04-24 Thread Kamil Jońca
A long time ago I set limits in /etc/security/limits.conf recently I have to run some independent firefox instances: --8<---cut here---start->8--- for q in 1 2 3 4 5 6 7 8 9 10; do iceweasel -no-remote -P profile$q & ; done --8<---cut here-

Display does not resume after hibernation

2017-10-07 Thread Kamil Jońca
I have strange thing with my laptop. After hibernation display does not start. In logs I can see: --8<---cut here---start->8--- 2017-09-29T06:30:16.830765+02:00 bambus kernel: [83141.182895] atomic remove_fb failed with -22 2017-09-29T06:30:16.830780+02:00 bamb

gpg fools amanda 3.5

2017-11-14 Thread Kamil Jońca
"Always" I have encrypted amand backup with gpg. Recently, after upgrade amanda to version 1:3.5-2 I noticed that amanda 'does not work' - it hangs for (near) infinity; no files in holding directory etc. As googling gives me no useful results, I assumed that it is rather something wrong with my co

wget & certificates

2011-05-18 Thread Kamil Jońca
I have strange problem with wget: $wget -e "background = off" -v -x 'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl' --8<---cut here---start->8--- --2011-05-19 07:26:00-- https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl Resolv

Re: wget & certificates

2011-06-01 Thread Kamil Jońca
David Sastre writes: > On Thu, May 19, 2011 at 07:27:34AM +0200, Kamil Jońca wrote: >> >> I have strange problem with wget: >> $wget -e "background = off" -v -x >> 'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl' >

Re: wget & certificates

2011-06-02 Thread Kamil Jońca
Camaleón writes: > On Thu, 19 May 2011 07:27:34 +0200, Kamil Jońca wrote: > >> I have strange problem with wget: > > (...) > >> Validation SSL SGC CA': >> Unable to locally verify the issuer's authority. >> To connect to www.centrum24.pl i

Re: wget & certificates

2011-06-02 Thread Kamil Jońca
Camaleón writes: > On Thu, 02 Jun 2011 15:22:46 +0200, Kamil Jońca wrote: > >> Camaleón writes: >> >>> On Thu, 19 May 2011 07:27:34 +0200, Kamil Jońca wrote: >>> >>>> Validation SSL SGC CA': >>>> Unable to locally verify the i

Huawei e122 - how to make symlink to usb modem?

2011-06-11 Thread Kamil Jońca
I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) But simple rule: --8<---cut here---start->8--- SUBSYSTEM=="tty",ATTRS{idVendor} == "12d1" , ATTRS{idProduct} == "1003", SYMLINK+="e122" --8<---cut here---end--

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
Camaleón writes: > On Sun, 12 Jun 2011 06:55:45 +0200, Kamil Jońca wrote: > >> I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) >> But simple rule: >> >> --8<---cut here---start->8--- >>

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
Camaleón writes: > On Sun, 12 Jun 2011 16:14:53 +0200, Kamil Jońca wrote: > >> Camaleón writes: >> >>> What's the output for udevinfo on that device? > > (...) > >> Udevadm info starts with the device specified by the devpath and then >>

[SOLVED] Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: > I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) > But simple rule: > > SUBSYSTEM=="tty",ATTRS{idVendor} == "12d1" , ATTRS{idProduct} == "1003", > SYMLINK+="e122" >

Re: systemd service oddness with openvpn

2023-11-11 Thread Kamil Jońca
Richard Hector writes: > Hi all, > > I have a machine that runs as an openvpn server. It works fine; the > VPN stays up. Are you sure? Have you client conneted and so on? > > However, after running for a while, I get these repeatedly in syslog: > > Nov 07 12:17:24 ovpn2 openvpn[213741]: Options

Re: approx in debian 12

2023-11-15 Thread Kamil Jońca
Charles Curley writes: > On Thu, 16 Nov 2023 04:11:37 + > "Russell L. Harris" wrote: > >> root@mollydew:/home/rlh# systemctl daemon-reload >> root@mollydew:/home/rlh# systemctl restart approx >> Failed to restart approx.service: Unit approx.service not found. >> root@mollydew:/home/rlh# syst

Re: approx in debian 12

2023-11-15 Thread Kamil Jońca
Kamil Jońca writes: > Charles Curley writes: > >> On Thu, 16 Nov 2023 04:11:37 + >> "Russell L. Harris" wrote: >> >>> root@mollydew:/home/rlh# systemctl daemon-reload >>> root@mollydew:/home/rlh# systemctl restart approx >>> Fa

Re: Mailing List

2023-12-01 Thread Kamil Jońca
piorunz writes: > On 01/12/2023 16:15, to...@tuxteam.de wrote: > >>> Your message is here, so you are subscribed :) >> >> Not necessarily, you can post here as a non-subscriber. Actually I have >> the hunch that the OP is not subscribed (going by the X-Spam-Status header). >> >> Cheers > > Oh, ok

Mixing HDD and SSD in lvm

2024-02-05 Thread Kamil Jońca
Debian box with LVM LVM uses 2 PV - raid devices each uses 2 HDD (rotating) discs (with sata interfaces). Now I am considering replacing one PV with md device constisting of SSD discs, so LVM will be have one "HDD" based pv and one SSD based PV. Should I worry about anything (speed differences

Re: Mixing HDD and SSD in lvm

2024-02-06 Thread Kamil Jońca
Marco Moock writes: > Am 06.02.2024 um 07:17:02 Uhr schrieb Kamil Jońca: > >> Should I worry about anything (speed differences or sth)? > > Speed differences will occur because reading and writing from/to the > SSD will be much faster. Of course, but can it make any data

Re: Mixing HDD and SSD in lvm

2024-02-06 Thread Kamil Jońca
Kamil Jońca writes: > Marco Moock writes: > >> Am 06.02.2024 um 07:17:02 Uhr schrieb Kamil Jońca: >> >>> Should I worry about anything (speed differences or sth)? >> >> Speed differences will occur because reading and writing from/to the >> SSD will

Re: Salvage live failing server

2023-03-20 Thread Kamil Jońca
"Andrew M.A. Cater" writes: > On Mon, Mar 20, 2023 at 07:01:22PM +0100, john doe wrote: >> Debians, >> >> I'm seeing some alarming MSGs (E.G: ' blk_update_request: I/O error, dev >> sda, sector N') in my server's log. >> As it's read-only, I can not install smartmontools to investigate further.

What is /propagated-mount/ dir?

2023-07-18 Thread Kamil Jońca
There is laptop with debian sid. Sometimes on this laptop something create '/propagated-mount/' directory. I try to search with 'propagated-mount' but found only pages about namespaces. Can anyone point me to right direction? Which package is responsible for creating this dir? KJ -- http://woln

Lack of text console?

2023-08-04 Thread Kamil Jońca
Where text console can be configured? Recently I got laptop with debian installed. I wanted to log in into text console but Ctrl-Alt-F1 does nothing - it seems that lightdm(?) started at first console. KJ -- http://wolnelektury.pl/wesprzyj/teraz/

Re: Lack of text console?

2023-08-04 Thread Kamil Jońca
Kamil Jońca writes: [...] Ugh. This laptop has keyboard where Fn keys have dual function (quite common nowadays) and under F1 was kind of 'Sleep'. So when I press Ctrl-Alt-F1 it goes to sleep, and with F2/F3 there were no reaction as these keys have no other meaning. When I pres

Re: Lack of text console?

2023-08-05 Thread Kamil Jońca
David Wright writes: > On Fri 04 Aug 2023 at 15:36:35 (+0200), Kamil Jońca wrote: >> Kamil Jońca writes: >> >> [...] >> Ugh. This laptop has keyboard where Fn keys have dual function (quite >> common nowadays) and under F1 was kind of 'Sleep'. So w

Re: Mixing HDD and SSD in lvm

2024-02-11 Thread Kamil Jońca
Kamil Jońca writes: > Debian box with LVM > LVM uses 2 PV - raid devices each uses 2 HDD (rotating) > discs (with sata interfaces). > > Now I am considering replacing one PV with md device constisting of SSD > discs, so LVM will be have one "HDD" based pv and one SS

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-02-23 Thread Kamil Jońca
Dan Ritter writes: > Jeffrey Walton wrote: >> >> I don't want to bikeshed, though. Slavery ended in the US about 150 >> years ago. I don't know any slaves, and I don't own any slaves, so I >> don't really have a dog in the fight. > > > Point of fact: slavery is legal in the USA, as a legal puni

Re: Journald's qualities

2024-02-24 Thread Kamil Jońca
Mariusz Gronczewski writes: [...] > > Offtopic but since Debian switched to systemd for DNS management on > VPNs and suc I need to restart it sometimes multiple times to just get > "right" DNS servers, because there appears to be no notion of priority: Well, I am using openresolv (earlier resol

Re: Wifi - unable to connect.

2024-02-26 Thread Kamil Jońca
Grzesiek Sójka writes: [...] > According to the instruction the settings should be: > WPA2 Enterprise, > PEAP, > MSCHAPv2, > no certificate. > > And my wpa config is: > network={ > ssid="ssid" > proto=RSN > key_mgmt=WPA-EAP > pairwise=CCMP > auth_alg=OPEN > eap=MSCHAPV2 >

Re: where are the crontab files in Trixie?

2024-02-27 Thread Kamil Jońca
Gremlin writes: [...] > > https://wiki.archlinux.org/title/Systemd-networkd > https://wiki.archlinux.org/title/Wireless_bonding > > I am using systemd-networkd and systemd-resolved and have removed > Networkmanager, ifupdown and isc-dhcp. Also avahi, modemmanager, > openssh-sftp-server openssh-se

Re: where are the crontab files in Trixie?

2024-02-28 Thread Kamil Jońca
Andy Smith writes: > Hi, > > On Wed, Feb 28, 2024 at 05:49:58AM +0100, Kamil Jońca wrote: >> With cron, regular user can set up his/her jobs wihtout using admin >> credentials, and these jobs will be triggered regardless of being logged >> in. Is it possible with s

Re: where are the crontab files in Trixie?

2024-02-28 Thread Kamil Jońca
Andy Smith writes: > Hi, > > On Wed, Feb 28, 2024 at 04:47:59PM +0100, Kamil Jońca wrote: >> Andy Smith writes: >> > Once you enable lingering for a user, that user's timers will >> > trigger all the time. >> >> IIRC lingered user cannot

Re: Wifi - unable to connect. [solved]

2024-03-04 Thread Kamil Jońca
Jeffrey Walton writes: > On Mon, Mar 4, 2024 at 4:58 PM Greg wrote: >> >> On 2/26/24 18:52, Kamil Jońca wrote: >> [...] >> > >> > What if: >> > network = { >> > ssid="ssid" >> > key_mgmt=WPA-EAP &g

Re: Root password strength

2024-03-19 Thread Kamil Jońca
Greg Wooledge writes: > On Tue, Mar 19, 2024 at 05:42:55PM +0300, Jan Krapivin wrote: >> The root user's password should be long (12 characters or more) and >> impossible to guess. Indeed, any computer (and a fortiori any server) >> connected to the Internet is regularly targeted by automated con

Re: making Debian secure by default

2024-03-29 Thread Kamil Jońca
Andy Smith writes: [...] > https://www.openwall.com/lists/oss-security/2024/03/29/4 > > (Upstream xz/lzma project compromised, hostile code inserted into > sshd in Debian sid and other leading edge distros.) > > Thanks, > Andy O-o, is there any simple test to check if I have infected version or

Old control sums for packages.

2024-04-01 Thread Kamil Jońca
At http://deb.debian.org/debian/dists/sid/main/binary-amd64/ we can find files with SHA256 sums of packages. Unfortunately they are only 2 weeks old. Is this possible to have little older files? (For example month or 2)? KJ -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

Re: Old control sums for packages.

2024-04-06 Thread Kamil Jońca
Simon Hollenbach writes: > Hello KJ, > > there is the snapshot archive at https://snapshot.debian.org/ - You > can get older Packages files from there. Thanks. I was not aware of this service. KJ -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread Kamil Jońca
Paul M Foster writes: > Folks: > > Here's a shot in the dark. I've looked up and down the internet, and can't > find a solution. > > I have a mini PC which just serves up videos. Daily it backs up to an > attached drive. This happens with a script in /etc/cron.daily, which > typically emails resu

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread Kamil Jońca
Kamil Jońca writes: [...] > [...] >> action "relay" relay host smtp+notls://pa...@yosemite.mars.lan:25 auth >> >> > > I have some opensmtpd config around and this line should work. > My suspects are: > 1. whitespaces / end lines - have you test your c

Re: Aliases and OpenSMTPD

2024-05-24 Thread Kamil Jońca
Paul M Foster writes: [...] > If I send an email directly to pa...@yosemite.mars.lan from buckaroo, > it What does this mean? > > But it appears that OpenSMTPD doesn't consult this table unless explicitly > instructed to. According to man smtpd.conf(5), you can tell it to scan > through aliases

Re: no more sound after upgrade (trixie/sid)

2024-05-26 Thread Kamil Jońca
Mindaugas writes: [..] > Yes, people do. It's their systems. But then there is no need to cry > and complain that something is not working or is not working properly. > Personally, I've never had any problems with sound on Debian. Maybe You were lucky. About 2 years ago I got new laptop. And I h

Re: Predictable network device names [was: Please help me identify package so I can report an important bug

2024-06-12 Thread Kamil Jońca
to...@tuxteam.de writes: > On Thu, Jun 13, 2024 at 06:30:27AM +0200, to...@tuxteam.de wrote: > > [following up on myself, bad style, I know] > >> For my laptop, I very much prefer to say "sudo ifup eth0" than to >> say "sudo ifup en0ps&&@*#!☠" thankyouverymuch :) > > and of course, if you are usin

OT: mmc life - should I worry?

2024-07-17 Thread Kamil Jońca
Recenly I bought used Dell Wyse 3040. Installed debian on it. Seems to work (althoug I do not use graphical env on it) I wanted to check mmc on it and I got: --8<---cut here---start->8--- root@chamsa:~# mmc extcsd read /dev/mmcblk0|grep EXT_CSD Device support

Re: pam and pam-cap don't play along

2024-07-20 Thread Kamil Jońca
daggs writes: > Greetings, > > I have bookworm installation where I want to allow a group of users to run a > specific binary that needs to execute a ioctl which is not possible for > normal users. > in comes pam+libcap. > so I've installed libcap, updated /etc/security/capability.conf with thi

Re: sendmail without DNS

2024-07-21 Thread Kamil Jońca
Adam Weremczuk writes: > Let me rephrase my question, which should be easier to answer. > > What exactly shall I substitute: > > mailer = "/usr/sbin/sendmail -t" > Eee. Nothing? --8<---cut here---start->8--- dpkg -L postfix|grep send /usr/sbin/sendmail /usr

Re: Checking for a mount in a shell script

2025-05-19 Thread Kamil Jońca
Andy Smith writes: > Hi, > > On Sun, May 18, 2025 at 12:47:25PM -0400, Default User wrote: >> Since I know almost no shell scripting, the rsync usb drive A  >> to usb drive B copy is done with a simple bash script consisting >> only of the rsync backup command, with options and parameters, but >

Re: Linux machine hit by ransomware

2025-07-07 Thread Kamil Jońca
Rick Macdonald writes: > I apologize for the length of this question. > > After running Debian for nearly 30 years (and other distros prior to > that), my Linux server has been hit by a ransomware attack about 11 > days ago. I have backups, so nothing important has been lost at this > point. Howe

<    1   2   3