Re: auto-kill process using too much memory

2018-08-24 Thread Jon LaBadie
On Fri, Aug 24, 2018 at 07:19:41AM +0200, Frédéric wrote: > Hi, > > It happens sometimes that someone launches a process that uses too > much memory. Then the computer starts swapping leaving the computer > completely out of use. When the swap is full (I guess), the process is > automatically kill

Re: Script to wakeup monitor with speakers for cron mp3 alarm

2018-08-24 Thread Doug H.
On Fri, 2018-08-24 at 02:41 +, None via users wrote: > Dear Fellow Fedora users, > > I had a script called upon by cron which played music at a certain > time, for example > > 30 08 * * 1-5 ~/.dalarm > > And .dalarm had > > #!/bin/sh > > /usr/bin/xterm -e > /usr/bin/mplayer -really-quiet -

Re: new kernel?

2018-08-24 Thread Ranjan Maitra
Great! I am looking for a new kernel. THe current one does not accept my microphone even though all settings indicate that it should. On Thu, 23 Aug 2018 13:39:45 -0600 Chris Murphy wrote: > On Tue, Aug 21, 2018 at 9:10 PM, Ranjan Maitra wrote: > > Just curious, there has not been a kernel in

Re: Script to wakeup monitor with speakers for cron mp3 alarm

2018-08-24 Thread Ed Greshko
On 08/24/18 10:41, None via users wrote: > Dear Fellow Fedora users, > > I had a script called upon by cron which played music at a certain time, for > example > > 30 08 * * 1-5 ~/.dalarm > > And .dalarm had > > #!/bin/sh > > /usr/bin/xterm -e > /usr/bin/mplayer -really-quiet -shuffle -playlist ~/

Re: new kernel?

2018-08-24 Thread Ed Greshko
On 08/24/18 21:13, Ranjan Maitra wrote: > Great! I am looking for a new kernel. THe current one does not accept my > microphone even though all settings indicate that it should. Are you saying you've booted a previous kernel to verify that is the source of your problem? FWIW, when I've had iss

Re: Script to wakeup monitor with speakers for cron mp3 alarm

2018-08-24 Thread Tom Horsley
Perhaps you could use the XTEST server extension to send a mouse move event and make the server think someone really moved the mouse? There is a perl extension X11::GUITest that might let you do this with a perl script. ___ users mailing list -- users@li

Re: I need iptables ftp nat help

2018-08-24 Thread Mike Wright
On 08/23/2018 09:06 PM, Todd Chester wrote: On 08/23/2018 12:14 PM, Mike Wright wrote: On 08/23/2018 11:50 AM, ToddAndMargo wrote: On 08/23/2018 11:41 AM, Mike Wright wrote: On 08/23/2018 11:23 AM, ToddAndMargo wrote: Just ftp client and I want to support both active and passive mode Th

Re: I need iptables ftp nat help

2018-08-24 Thread Rick Stevens
On 08/23/2018 09:06 PM, Todd Chester wrote: > > > On 08/23/2018 12:14 PM, Mike Wright wrote: >> On 08/23/2018 11:50 AM, ToddAndMargo wrote: >>> On 08/23/2018 11:41 AM, Mike Wright wrote: On 08/23/2018 11:23 AM, ToddAndMargo wrote: > > Just ftp client and I want to support both active

Re: plymouth vs. boot messages

2018-08-24 Thread Beartooth
On Thu, 23 Aug 2018 13:44:40 -0700, stan wrote: > [] I mean the lines in > the actual grub.cfg file in /boot. That file will be in /boot/grub2, > or /boot/efi/EFI/fedora/grub.cfg, depending on whether you are using > bios boot or efi boot. > > What I mean will look something like this: > >

Re: plymouth vs. boot messages

2018-08-24 Thread stan
On Fri, 24 Aug 2018 18:11:51 + (UTC) Beartooth wrote: > On Thu, 23 Aug 2018 13:44:40 -0700, stan wrote: > In boot/efi/EFI/fedora I see no grub.cfg, but only: You are using legacy grub2 with bios. > > It turned out I had to set the font size way way down before > I could see who

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 09:23 AM, Mike Wright wrote: My *hunch* is that you are running firewalld and that the default rules for firewalld changed between RHEL and fedora.  Mind you, beneath firewalld lies, you guessed it, iptables. Execute:   firewall-cmd --state   echo $? $ firewall-cmd --state

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 09:35 AM, Rick Stevens wrote: Here are my "passive rules" # ftp passive mode (browser) stuff. Note: ftp_conntrack module is required, e.g.: # /etc/sysconfig/iptables-config: # IPTABLES_MODULES="ip_conntrack_ftp" # $tbls -A dsl-out -o $eth1 -p tcp -s $eth1_addr --sport $unassg

Re: I need iptables ftp nat help

2018-08-24 Thread Mike Wright
On 08/24/2018 02:18 PM, ToddAndMargo wrote: On 08/24/2018 09:23 AM, Mike Wright wrote: My *hunch* is that you are running firewalld and that the default rules for firewalld changed between RHEL and fedora.  Mind you, beneath firewalld lies, you guessed it, iptables. Execute:    firewall-cmd

Re: I need iptables ftp nat help

2018-08-24 Thread Ed Greshko
On 08/25/18 05:20, ToddAndMargo wrote: > Here are my "passive rules" I don't claim to know how any of this actually works.  Yet I do recall the way connection tracking is handled has changed.  Can't find the bugzilla's that gave some insight into the changes.  I do run firewalld and I can tell yo

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 02:32 PM, Mike Wright wrote: sudo iptables-save > iptables.rules # iptables --list | wc -l 244 Here is a hint: # ls /lib/modules/`uname -r`/kernel/net/netfilter | grep ftp nf_conntrack_ftp.ko.xz nf_conntrack_tftp.ko.xz nf_nat_ftp.ko.xz nf_nat_tftp.ko.xz # insmod nf_conntrack

Re: I need iptables ftp nat help

2018-08-24 Thread Samuel Sieb
On 08/24/2018 03:23 PM, ToddAndMargo wrote: # insmod nf_conntrack_ftp insmod: ERROR: could not load module nf_conntrack_ftp: No such file or directory That's because you didn't specify an actual file. Try passing the entire path to the module. But the proper way is to use "modprobe nf_conn

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 03:53 PM, ToddAndMargo wrote: On 08/24/2018 03:40 PM, Samuel Sieb wrote: On 08/24/2018 03:23 PM, ToddAndMargo wrote: # insmod nf_conntrack_ftp insmod: ERROR: could not load module nf_conntrack_ftp: No such file or directory That's because you didn't specify an actual file.  Try

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 03:40 PM, Samuel Sieb wrote: On 08/24/2018 03:23 PM, ToddAndMargo wrote: # insmod nf_conntrack_ftp insmod: ERROR: could not load module nf_conntrack_ftp: No such file or directory That's because you didn't specify an actual file.  Try passing the entire path to the module. Bu

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/22/2018 03:47 PM, ToddAndMargo wrote: Hi All, My iptables firewall ported from RHEL won't connect to ftp sites and throws this error (written by me years ago):     WARNING: active FTP rules have been selected but one or     more necessary modules have not been detected     In /etc/sy

Re: I need iptables ftp nat help

2018-08-24 Thread Samuel Sieb
On 08/24/2018 04:01 PM, ToddAndMargo wrote: I modprobe'ed all four in. They showed in `lsmod | grep ftp` I ran a    systemctl restart iptables No joy. ? Then I rebooted.  Now     `lsmod | grep ftp` show nothing. Please explain what you are trying to do and what is not working.

Re: I need iptables ftp nat help

2018-08-24 Thread Samuel Sieb
On 08/24/2018 03:53 PM, ToddAndMargo wrote: The actual problem is Aug 22 16:12:09 rn6 kernel: dsl-out Everything Else IN= OUT=eno2 SRC=192.168.xxx.yyy DST=208.106.xxx.yyy LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25991 DF PROTO=TCP SPT=59698 DPT=21023 WINDOW=29200 RES=0x00 SYN URGP=0 What is this

Re: I need iptables ftp nat help

2018-08-24 Thread Samuel Sieb
On 08/24/2018 04:10 PM, ToddAndMargo wrote: # vi /etc/modprobe.d/iptables.conf options nf_conntrack_ftp ports=21 # systemctl restart iptables. Problem solved Ok, that's great. But I'm still curious about why you need connection tracking working. Perhaps I was misled in thinking you were re

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 04:22 PM, Samuel Sieb wrote: On 08/24/2018 04:01 PM, ToddAndMargo wrote: Please explain what you are trying to do and what is not working. I am trying to get iptables to track ftp's usage of high ports. And I did figure it out. See my followup to this thread. It was really,

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
On 08/24/2018 04:28 PM, Samuel Sieb wrote: Ok, that's great.  But I'm still curious about why you need connection tracking working.  Perhaps I was misled in thinking you were referring to your client system.  Is this actually something you're trying to do on a gateway server? Hi Samuel, Fire

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
My notes, so no one else has to go through this crap: How to track ftp's high port with Fedora and iptables: Problem: iptables will not automatically track ftp's high ports (firewalld will). Note: RHEL used ip_conntrack_ftp, and ip_nat_ftp These have been superseded by nf_conntrac

Re: new kernel?

2018-08-24 Thread Ranjan Maitra
On Fri, 24 Aug 2018 21:35:14 +0800 Ed Greshko wrote: > On 08/24/18 21:13, Ranjan Maitra wrote: > > Great! I am looking for a new kernel. THe current one does not accept my > > microphone even though all settings indicate that it should. > > > Are you saying you've booted a previous kernel to v

Re: new kernel?

2018-08-24 Thread Ed Greshko
On 08/25/18 09:36, Ranjan Maitra wrote: > But pulseaudio shows the microphone being recognized and the meter for the > input going up and down as words are spoken in. I can not see what else could > be wrong. Well, there are actually 2 places in pavucontrol (I use pavucontrol-qt since I'm on K

Re: I need iptables ftp nat help

2018-08-24 Thread ToddAndMargo
Hi All, Disregard me previous notes (into everyone's life a little humility must fall). Okay, another OBSCURE obstacle to overcome: nf_conntrack_ftp is disabled by default. To enable it: # echo 1 > /proc/sys/net/netfilter/nf_conntrack_helper -T Here are my revised notes: How to track