Re: Default route not correctly added
Hi, On Wed, May 15, 2019 at 9:34 PM Tim via users wrote: > > On Wed, 2019-05-15 at 16:40 -0400, Alex wrote: > > The problem is that, after bringing it back to his house and putting > > it online, the default route was not added properly and the system > > was unreachable until I stepped him through the process of adding it > > manually. > > > > This is the command I had him run as root to configure the default > > route: > > > > # route add default gw 192.168.9.1 dev enp4s6 > > > > Here is that /etc/sysconfig/network-scripts/ifcfg-Wired_connection_2 > > config: > > > > HWADDR=00:0E:0C:3B:35:68 > > TYPE=Ethernet > > PROXY_METHOD=none > > BROWSER_ONLY=no > > BOOTPROTO=none > > IPADDR=192.168.9.110 > > PREFIX=24 > > GATEWAY=192.168.9.1 > > DEFROUTE=yes > > IPV4_FAILURE_FATAL=no > > IPV6INIT=yes > > IPV6_AUTOCONF=yes > > IPV6_DEFROUTE=yes > > IPV6_FAILURE_FATAL=no > > IPV6_ADDR_GEN_MODE=stable-privacy > > NAME="Wired connection 2" > > UUID=850cde8f-7dc2-364a-8911-e511cdbea2e4 > > ONBOOT=yes > > DNS1=8.8.4.4 > > AUTOCONNECT_PRIORITY=-999 > > > > Is there something immediately identifiable that would prevent the > > default route from working? > > > > Typically NAME and DEVICE are the name of the device, like enp4s6, > > but they don't exist in this config. Is that what is missing? I can't > > easily reboot this machine, so want to be sure before I do it. > > Things that spring to mind are: > > Is his gateway using the same numerical IP as when you got it working > on your network? Yes. > You're using manual configuration, instead of DHCP. Does his LAN have > a DHCP server that would have automatically managed this all for him? I'm doing port forwarding from the cable modem to his IP, so while most of the network uses DHCP, I've set his computer to use a static address to be able to forward http and ssh to his machine. > Was his gateway up and running before the computer booted up? (I'm > unsure if an unavailable gateway would have been removed from pre- > configured settings, though.) Before it booted up? I'm not sure I understand. I couldn't reach his computer prior to him typing the route command I've shown above. After having added it, I could successfully connect to it remotely. There are a few NetworkManager messages printed during boot, but not sure they indicate any problems: May 15 08:39:50 localhost NetworkManager[796]: [1557923990.7338] acd[0x56313c844a30,3]: couldn't init ACD for announcing addresses on interface 'enp4s6': Operation not permitted May 15 08:39:50 localhost NetworkManager[796]: [1557923990.7341] device (enp4s6): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') May 15 08:39:50 localhost NetworkManager[796]: [1557923990.7377] device (enp4s6): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') May 15 08:39:50 localhost NetworkManager[796]: [1557923990.7385] device (enp4s6): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') May 15 08:39:50 localhost NetworkManager[796]: [1557923990.9552] policy: set 'Wired connection 2' (enp4s6) as default for IPv4 routing and DNS May 15 08:39:50 localhost NetworkManager[796]: [1557923990.9561] device (enp4s6): Activation: successful, device activated. May 15 08:39:50 localhost nm-dispatcher[876]: req:2 'up' [enp4s6]: new request (3 scripts) May 15 08:39:50 localhost nm-dispatcher[876]: req:2 'up' [enp4s6]: start running ordered scripts... I think worse case I'll set NAME= and DEVICE= in the config, and also set some type of cron job or shell script that manually adds the route as root after some period of time, to give me some time to access the machine in case modifying the config doesn't work. Thanks, Alex ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Configuring apache and smokeping on dynamic IP
On Wed, 2019-05-15 at 16:58 -0400, Alex wrote: > I have a fedora30 desktop on a dynamic IP behind a cable modem that > I'd like to configure to support apache and specifically smokeping. > The problem I'm having I believe is with php-fpm. I've installed and > configured it, but trying to access it results in a gateway timeout > error. I do see entries in the logs when this fails, so I'm sure I'm > at least reaching the desktop successfully. > > The desktop is on a dynamic IP (192.168.9.110) behind a cable modem > with a dynamic IP. I've configured port forwarding for port 8027 to > forward to port 8027 on the machine itself where apache is listening. > I've also configured port 8022 to forward to port 8022 on the desktop > to provide ssh access, and can ssh to it successfully. > > I've configured the smokeping.conf apache config to allow any IP to > communicate with it for now. I can also reach the default fedora test > page successfully. > > What is the minimum apache config that is necessary to work with > smokeping without configuring a virtual host? I haven't changed the > /etc/httpd/conf/httpd.conf, /etc/httpd/conf.d/ssl.conf and > /etc/httpd/conf.d/fcgid.conf files from the default. I've just > changed the Listen statement in ssl.conf to use 8022 instead of 80. Normally, the SSL config listens to port 443, not 80. And some clients will refuse to make HTTPS connections to port 80 (or other unusual ports). There could be some SELinux issues with unusual ports, too. I'm not sure about SSL configurations, but with the main HTTP configuration, it's possible to listen to more than one port. That way local users can test connecting to the usual ports without having to type port numbers into URIs. > Here is my /etc/httpd/conf.d/smokeping.conf: > > Require local > Require ip 68.195.193 192.168 > > > Require local > Require ip 68.195.193 192.168 > You've put in some requirements. Does your address match the requirement rules? I see in one of your below tests that it's different: > The /var/log/php-fpm/www-error.log file is empty. After attempting to > reach the system remotely, I see the following message in the apache > error_log from my remote IP: > > Wed May 15 15:42:17.997621 2019] [fcgid:warn] [pid 14476:tid > 139916520441600] [client 68.195.199.42:34118] mod_fcgid: read data > timeout in 40 seconds ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Default route not correctly added
On Wed, 2019-05-15 at 16:40 -0400, Alex wrote: > The problem is that, after bringing it back to his house and putting > it online, the default route was not added properly and the system > was unreachable until I stepped him through the process of adding it > manually. > > This is the command I had him run as root to configure the default > route: > > # route add default gw 192.168.9.1 dev enp4s6 > > Here is that /etc/sysconfig/network-scripts/ifcfg-Wired_connection_2 > config: > > HWADDR=00:0E:0C:3B:35:68 > TYPE=Ethernet > PROXY_METHOD=none > BROWSER_ONLY=no > BOOTPROTO=none > IPADDR=192.168.9.110 > PREFIX=24 > GATEWAY=192.168.9.1 > DEFROUTE=yes > IPV4_FAILURE_FATAL=no > IPV6INIT=yes > IPV6_AUTOCONF=yes > IPV6_DEFROUTE=yes > IPV6_FAILURE_FATAL=no > IPV6_ADDR_GEN_MODE=stable-privacy > NAME="Wired connection 2" > UUID=850cde8f-7dc2-364a-8911-e511cdbea2e4 > ONBOOT=yes > DNS1=8.8.4.4 > AUTOCONNECT_PRIORITY=-999 > > Is there something immediately identifiable that would prevent the > default route from working? > > Typically NAME and DEVICE are the name of the device, like enp4s6, > but they don't exist in this config. Is that what is missing? I can't > easily reboot this machine, so want to be sure before I do it. Things that spring to mind are: Is his gateway using the same numerical IP as when you got it working on your network? You're using manual configuration, instead of DHCP. Does his LAN have a DHCP server that would have automatically managed this all for him? Was his gateway up and running before the computer booted up? (I'm unsure if an unavailable gateway would have been removed from pre- configured settings, though.) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: nvidia-settings causing problems
On Wed, 2019-05-15 at 17:54 -0600, Joe Zeff wrote: > On 05/15/2019 05:03 PM, Alan wrote: > > I have not filed a bug on this because it is from rpmfusion-nonfree > > repository, but the cause will be unclear to most users. > > Rpmfusion has its own bugzilla at https://bugzilla.rpmfusion.org/ Fi > le > a report there. I have. Still no indication why it started to happen. Some people have not had a problem. The video configuration on this laptop is weird. (It has an Intel *and* nVIDIA chipset. Uses some sort of weird pasted together merge for it. That could be part of the problem. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: mkpasswd
On 15May2019 18:46, Chris Adams wrote: Once upon a time, Cameron Simpson said: But, yeah, if that doesn't sort it, use another tool. Ben suggested pwgen, and I've got a script of my own called "mkpw" which generates a 16 character random hex string. Just FYI: openssl CLI can do that with "openssl rand -hex 8". Nice! - Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: nvidia-settings causing problems
On 5/16/19 7:03 AM, Alan wrote: > I have not filed a bug on this because it is from rpmfusion-nonfree > repository, but the cause will be unclear to most users. > > What happens is if you have the nvidia-settings app installed, after a > while the X server will no longer open any windows. > > xlsclients will show a bunch of nvidia-settings connections. This > number grows until you hit the limit and nothing else will open. > > This did not happen with F29, so I expect it is something old and left > over that is causing problems. > > I will be reporting this to the rpmfusion people as soon as I have a > login on their bugzilla. No problems here. -- Right: I dislike the default color scheme Wrong: What idiot picked the default color scheme ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: nvidia-settings causing problems
On 05/15/2019 05:03 PM, Alan wrote: I have not filed a bug on this because it is from rpmfusion-nonfree repository, but the cause will be unclear to most users. Rpmfusion has its own bugzilla at https://bugzilla.rpmfusion.org/ File a report there. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: mkpasswd
Once upon a time, Cameron Simpson said: > But, yeah, if that doesn't sort it, use another tool. Ben suggested > pwgen, and I've got a script of my own called "mkpw" which generates > a 16 character random hex string. Just FYI: openssl CLI can do that with "openssl rand -hex 8". -- Chris Adams ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
nvidia-settings causing problems
I have not filed a bug on this because it is from rpmfusion-nonfree repository, but the cause will be unclear to most users. What happens is if you have the nvidia-settings app installed, after a while the X server will no longer open any windows. xlsclients will show a bunch of nvidia-settings connections. This number grows until you hit the limit and nothing else will open. This did not happen with F29, so I expect it is something old and left over that is causing problems. I will be reporting this to the rpmfusion people as soon as I have a login on their bugzilla. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: mkpasswd
On 15May2019 16:13, Aleksandar Kostadinov wrote: in Fedora 28 I used the command `mkpasswd` [1] to generate passwords according to different criteria. Now in Fedora 30 this command asks for a password to encrypt for /etc/passwd usage. Any ideas how do I get back the old `mkpasswd`? [1] https://linux.die.net/man/1/mkpasswd Maybe mkpasswd now comes from something else. IIRC mkpasswd came from the expect package. But, yeah, if that doesn't sort it, use another tool. Ben suggested pwgen, and I've got a script of my own called "mkpw" which generates a 16 character random hex string. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Default route not correctly added
On 5/16/19 4:40 AM, Alex wrote: > Hi, > > I've just installed fedora30 desktop on a friend's computer for him. > It was installed and configured here before he brought it to his house > and connected it to his cable modem. Previously I had set up port > forwarding on his modem from port 8027 to port 8027 on his system for > web access and port 8022 to port 8022 on his system for remote ssh > access. > > I used the gnome network manager to configure networking and just > manually configured ssh to listen on port 8022 instead of the default. > > The problem is that, after bringing it back to his house and putting > it online, the default route was not added properly and the system was > unreachable until I stepped him through the process of adding it > manually. > > This is the command I had him run as root to configure the default route: > > # route add default gw 192.168.9.1 dev enp4s6 > > Here is that /etc/sysconfig/network-scripts/ifcfg-Wired_connection_2 config: > > HWADDR=00:0E:0C:3B:35:68 > TYPE=Ethernet > PROXY_METHOD=none > BROWSER_ONLY=no > BOOTPROTO=none > IPADDR=192.168.9.110 > PREFIX=24 > GATEWAY=192.168.9.1 > DEFROUTE=yes > IPV4_FAILURE_FATAL=no > IPV6INIT=yes > IPV6_AUTOCONF=yes > IPV6_DEFROUTE=yes > IPV6_FAILURE_FATAL=no > IPV6_ADDR_GEN_MODE=stable-privacy > NAME="Wired connection 2" > UUID=850cde8f-7dc2-364a-8911-e511cdbea2e4 > ONBOOT=yes > DNS1=8.8.4.4 > AUTOCONNECT_PRIORITY=-999 > > Is there something immediately identifiable that would prevent the > default route from working? > > Typically NAME and DEVICE are the name of the device, like enp4s6, but > they don't exist in this config. Is that what is missing? I can't > easily reboot this machine, so want to be sure before I do it. It would be best too know the conditions "before" and "after" the manual addition of the route. If it is working with the above it is hard to determine why it didn't work prior. -- Right: I dislike the default color scheme Wrong: What idiot picked the default color scheme ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: auto mount and unmount using udev rules
Here's what I use for my automated backup script (see https://gitlab.com/slackermedia/attachup for context): If you adapt this, you'll need to update the path (I use /media), you'll need to update the UUID, and you'll probably need to verify that your drive has a label, because this rule uses the UUID and label to identify the drive. I save this as 80.local-rules in /etc/udev/rules.d Supposedly you can do a `udevadm control reload` to force the rules to be reloaded, but I usually reboot just to make sure udev is on top of its game. KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" IMPORT{program}="/sbin/blkid -o udev -p %N" # Get label or create one ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}" ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k" # mount ACTION=="add", ENV{mount_options}="relatime" ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002" # Clean up after removal ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}" # Exit LABEL="media_by_label_auto_mount_end" #mount ACTION=="add",ENV{ID_FS_UUID}=="165f84bc-1d70-47a4-9fdc-7a588fa457c4",RUN+="/bin/mkdir -p /media/%E{dir_name}",RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}",MODE="0770",GROUP="users" On Wed, May 15, 2019 at 11:37 PM Danishka Navin wrote: > > Hi, > > I am trying to mount a USB drive to given symlink and mount it to a given > mount point. > Mount is working but when the device removed, I can still see the mount > > cat /etc/udev/rules.d/81-hnt-usb-rule.rules > ACTION=="add", KERNEL=="sd?1", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", \ >SYMLINK+="hanthana%n", ENV{SYSTEMD_WANTS}="hnt-usb-rule.service" > > ACTION=="remove", RUN+="/usr/bin/umount $(/usr/bin/mount | grep backup | > /usr/bin/awk '{print $1}')" > > > [danishka@hanthana ~]$ cat /etc/systemd/system/hnt-usb-rule.service > [Unit] > Description=USB Mount > > > [Service] > Type=oneshot > ExecStart=/root/hnt.sh > > [Install] > WantedBy=default.target > -- > cat /root/hnt.sh > #!/bin/bash > mkdir /backup > lsblk > /var/log/hnt.log > /usr/bin/mount /dev/hanthana1 /backup > > > > ACTION=="remove", RUN+="/usr/bin/umount $(/usr/bin/mount | grep backup | > /usr/bin/awk '{print $1}')" > > > [root@hanthana ~]# echo $(/usr/bin/mount | grep backup | /usr/bin/awk '{print > $1}') > /dev/sda1 > > Even though you can't access /backup after removing the USB, mount command > shows following results (After plugin the usb and remove several times). I > wonder why it automatically remove these entries as fedora normally mount > USBs on default location. > > /dev/sda1 on /backup type ext4 (rw, relatime, seclabel) > /dev/sdb1 on /backup type ext4 (rw, relatime, seclabel) > /dev/sdc1 on /backup type ext4 (rw, relatime, seclabel) > /dev/sdd1 on /backup type ext4 (rw, relatime, seclabel) > > I was testing on both Fedora 28 Gnome and LXDE. > > Regards, > -- > Danishka Navin > > > > > > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Configuring apache and smokeping on dynamic IP
Hi, I have a fedora30 desktop on a dynamic IP behind a cable modem that I'd like to configure to support apache and specifically smokeping. The problem I'm having I believe is with php-fpm. I've installed and configured it, but trying to access it results in a gateway timeout error. I do see entries in the logs when this fails, so I'm sure I'm at least reaching the desktop successfully. The desktop is on a dynamic IP (192.168.9.110) behind a cable modem with a dynamic IP. I've configured port forwarding for port 8027 to forward to port 8027 on the machine itself where apache is listening. I've also configured port 8022 to forward to port 8022 on the desktop to provide ssh access, and can ssh to it successfully. I've configured the smokeping.conf apache config to allow any IP to communicate with it for now. I can also reach the default fedora test page successfully. What is the minimum apache config that is necessary to work with smokeping without configuring a virtual host? I haven't changed the /etc/httpd/conf/httpd.conf, /etc/httpd/conf.d/ssl.conf and /etc/httpd/conf.d/fcgid.conf files from the default. I've just changed the Listen statement in ssl.conf to use 8022 instead of 80. Here is my /etc/httpd/conf.d/smokeping.conf: Require local Require ip 68.195.193 192.168 Require local Require ip 68.195.193 192.168 ScriptAlias /smokeping/sm.cgi /usr/share/smokeping/cgi/smokeping.fcgi Alias /smokeping/images /var/lib/smokeping/images Alias /smokeping /usr/share/smokeping/htdocs The /etc/httpd/conf.d/fcgid.conf file is also very simple: AddHandler fcgid-script fcg fcgi fpl FcgidIPCDir /run/mod_fcgid FcgidProcessTableFile /run/mod_fcgid/fcgid_shm The /etc/httpd/conf.d/ssl.conf file is also the default, and includes the SetHandler statement to use php-fpm, I believe: # Enable http authorization headers SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost" Here is my /etc/php-fpm.d/www.conf. It is also very much the default. [www] user = apache group = apache listen = /run/php-fpm/www.sock listen.acl_users = apache,nginx pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 3 slowlog = /var/log/php-fpm/www-slow.log php_admin_value[error_log] = /var/log/php-fpm/www-error.log php_admin_flag[log_errors] = on php_value[session.save_handler] = files php_value[session.save_path]= /var/lib/php/session php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache The /var/log/php-fpm/www-error.log file is empty. After attempting to reach the system remotely, I see the following message in the apache error_log from my remote IP: Wed May 15 15:42:17.997621 2019] [fcgid:warn] [pid 14476:tid 139916520441600] [client 68.195.199.42:34118] mod_fcgid: read data timeout in 40 seconds I only have four php packages installed: php-cli-7.3.5-1.fc30.x86_64 php-7.3.5-1.fc30.x86_64 php-fpm-7.3.5-1.fc30.x86_64 php-common-7.3.5-1.fc30.x86_64 Of course I have restarted both the php-fpm and httpd services. I'm really hoping someone can tell me what I'm doing wrong to cause it to always timeout on an otherwise idle box. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On Wed, 15 May 2019 13:35:25 -0700 sam...@sieb.net wrote: > On 5/15/19 11:48 AM, D&R wrote: > > installed kernel packages: > > kernel-core-5.0.13-100.fc28.x86_64 > > kernel-devel-5.0.13-100.fc28.x86_64 > > kernel-modules-5.0.13-100.fc28.x86_64 > > kernel-5.0.13-100.fc28.x86_64 > > > > Results of make: > > make -C /home/G/packages/v4l-dvb/v4l > > make[1]: Entering directory '/home/G/packages/v4l-dvb/v4l' > > scripts/make_makefile.pl > > creating symbolic links... > > make -C /lib/modules/4.0.6-100.fc28.x86_64/build > > SUBDIRS=/home/G/packages/v4l-dvb/v4l CFLAGS="-I../linux/include > > -D__KERNEL__ -I/lib/modules/4.0.6-100.fc28.x86_64/build/include > > -DEXPORT_SYMTAB" modules make[2]: Entering directory > > '/home/G/packages/v4l-dvb/v4l' make[2]: > > *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory. > > Stop. make[2]: Leaving directory '/home/G/packages/v4l-dvb/v4l' make[1]: > > *** [Makefile:9: default] Error 2 make[1]: Leaving directory > > '/home/G/packages/v4l-dvb/v4l' make: *** [Makefile:25: all] Error 2 > > Something is confused. Try running "make clean" first. running make clean then make got the same results. > > I just tried building it and I'm pretty sure it's never going to work. > That's a really old source tree. If you really want to build it from > source, look for something recent at https://git.linuxtv.org/. But why > are you even trying to build this? The last kernel that could get a lock on a tv signal was F27 using the 4.17.19-100.fc27.x86_64. > All of this should already be in the > current kernel. I thought the same thing. But since it was not working I tried other methods. I use MythTV. Perhaps there is a package(s) that is not installed in F28. What package(s) for video/audio do I need installed? Perhaps one or more is not installed or is corrupted? > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Default route not correctly added
Hi, I've just installed fedora30 desktop on a friend's computer for him. It was installed and configured here before he brought it to his house and connected it to his cable modem. Previously I had set up port forwarding on his modem from port 8027 to port 8027 on his system for web access and port 8022 to port 8022 on his system for remote ssh access. I used the gnome network manager to configure networking and just manually configured ssh to listen on port 8022 instead of the default. The problem is that, after bringing it back to his house and putting it online, the default route was not added properly and the system was unreachable until I stepped him through the process of adding it manually. This is the command I had him run as root to configure the default route: # route add default gw 192.168.9.1 dev enp4s6 Here is that /etc/sysconfig/network-scripts/ifcfg-Wired_connection_2 config: HWADDR=00:0E:0C:3B:35:68 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none IPADDR=192.168.9.110 PREFIX=24 GATEWAY=192.168.9.1 DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME="Wired connection 2" UUID=850cde8f-7dc2-364a-8911-e511cdbea2e4 ONBOOT=yes DNS1=8.8.4.4 AUTOCONNECT_PRIORITY=-999 Is there something immediately identifiable that would prevent the default route from working? Typically NAME and DEVICE are the name of the device, like enp4s6, but they don't exist in this config. Is that what is missing? I can't easily reboot this machine, so want to be sure before I do it. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On 5/15/19 11:48 AM, D&R wrote: installed kernel packages: kernel-core-5.0.13-100.fc28.x86_64 kernel-devel-5.0.13-100.fc28.x86_64 kernel-modules-5.0.13-100.fc28.x86_64 kernel-5.0.13-100.fc28.x86_64 Results of make: make -C /home/G/packages/v4l-dvb/v4l make[1]: Entering directory '/home/G/packages/v4l-dvb/v4l' scripts/make_makefile.pl creating symbolic links... make -C /lib/modules/4.0.6-100.fc28.x86_64/build SUBDIRS=/home/G/packages/v4l-dvb/v4l CFLAGS="-I../linux/include -D__KERNEL__ -I/lib/modules/4.0.6-100.fc28.x86_64/build/include -DEXPORT_SYMTAB" modules make[2]: Entering directory '/home/G/packages/v4l-dvb/v4l' make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory. Stop. make[2]: Leaving directory '/home/G/packages/v4l-dvb/v4l' make[1]: *** [Makefile:9: default] Error 2 make[1]: Leaving directory '/home/G/packages/v4l-dvb/v4l' make: *** [Makefile:25: all] Error 2 Something is confused. Try running "make clean" first. I just tried building it and I'm pretty sure it's never going to work. That's a really old source tree. If you really want to build it from source, look for something recent at https://git.linuxtv.org/. But why are you even trying to build this? All of this should already be in the current kernel. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On Wed, 15 May 2019 11:37:35 -0700 sam...@sieb.net wrote: > On 5/15/19 9:24 AM, D&R wrote: > > On Wed, 15 May 2019 08:27:09 -0700 > > sam...@sieb.net wrote: > >> You need to be running the kernel that matches the kernel-devel package > >> or else you need to pass a parameter to make to select the right kernel. > >>But you will need to boot that kernel anyway to use the module. > > > > Sorry, I did not mention that I had rebooted to the 5.0.13 kernel before I > > did the above. > > Can you paste the error message you are getting now? installed kernel packages: kernel-core-5.0.13-100.fc28.x86_64 kernel-devel-5.0.13-100.fc28.x86_64 kernel-modules-5.0.13-100.fc28.x86_64 kernel-5.0.13-100.fc28.x86_64 Results of make: make -C /home/G/packages/v4l-dvb/v4l make[1]: Entering directory '/home/G/packages/v4l-dvb/v4l' scripts/make_makefile.pl creating symbolic links... make -C /lib/modules/4.0.6-100.fc28.x86_64/build SUBDIRS=/home/G/packages/v4l-dvb/v4l CFLAGS="-I../linux/include -D__KERNEL__ -I/lib/modules/4.0.6-100.fc28.x86_64/build/include -DEXPORT_SYMTAB" modules make[2]: Entering directory '/home/G/packages/v4l-dvb/v4l' make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory. Stop. make[2]: Leaving directory '/home/G/packages/v4l-dvb/v4l' make[1]: *** [Makefile:9: default] Error 2 make[1]: Leaving directory '/home/G/packages/v4l-dvb/v4l' make: *** [Makefile:25: all] Error 2 The Makefile is: BUILD_DIR := $(shell pwd)/v4l REPO_PULL := http://linuxtv.org/hg/v4l-dvb ifeq ($(REPO_PUSH),) ifneq ($(CHANGE_LOG_LOGIN),) REPO_PUSH := ssh://$(CHANGE_LOG_LOGIN)@linuxtv.org/hg/v4l-dvb else REPO_PUSH := ssh://linuxtv.org/hg/v4l-dvb endif endif ifeq ($(EDITOR),) ifeq ($(VISUAL),) EDITOR := vi else EDITOR := $(VISUAL) endif endif all: install: $(MAKE) -C $(BUILD_DIR) install %:: $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS) commit cvscommit hgcommit change changes changelog:: whitespace cd $(BUILD_DIR); scripts/cardlist; cd .. v4l/scripts/prep_commit_msg.pl >/tmp/v4l_hg_commit.msg $(EDITOR) /tmp/v4l_hg_commit.msg grep -v ^# /tmp/v4l_hg_commit.msg | hg commit -l - @echo "*** PLEASE CHECK IF LOG IS OK:" @hg log -v -r -1 @echo "*** If not ok, do hg undo and make commit again" pull update v4l-update:: @echo "Pulling changes from master repository $(REPO_PULL)" -hg pull -u $(REPO_PULL) push:: @echo "Pushing changes to master repository $(REPO_PUSH)" -hg push $(REPO_PUSH) whitespace: @echo "Cleaning bad whitespaces" @v4l/scripts/strip-trailing-whitespaces.sh | patch -p0 > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On 5/15/19 9:24 AM, D&R wrote: On Wed, 15 May 2019 08:27:09 -0700 sam...@sieb.net wrote: You need to be running the kernel that matches the kernel-devel package or else you need to pass a parameter to make to select the right kernel. But you will need to boot that kernel anyway to use the module. Sorry, I did not mention that I had rebooted to the 5.0.13 kernel before I did the above. Can you paste the error message you are getting now? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: why the long pause after bash "command not found"?
Hi On Wed, 15 May 2019 11:45:51 +0100 Patrick O'Callaghan wrote: > On Tue, 2019-05-14 at 18:33 -0400, Tom Horsley wrote: >> On my list to remove even before I first boot a newly >> installed fedora (from a chroot into the fedora partition). >> bash-completion and environment-modules are two other >> highly irritating ones I get rid of. > I find bash-completion useful (within limits). Me too, and particularly since I discovered the M-/ (or Alt-/, complete-filename) key to force a simple filename completion when the full (too fancy) completion with TAB is not what you want. The bash-completion is really useful with a bunch of commands nowadays. -- francis ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: F29->F30 In Place Upgrade Issues
On 5/15/19 12:11 PM, Samuel Sieb wrote: On 5/15/19 8:59 AM, Tim Evans wrote: Yes, several times. I have also successively: (1) restored the contents of /var/lib/AccountsService/users from my last F29 backup; (2) moved the newly created userid's file completely out of that directory; and (3) moved my normal userid's /etc/passwd entry to the end of the file (i.e., after the new userid's entry), retaining UID and GID of both. Each step with a reboot. You can delete all the files out of the users directory, they will get created next login. Where does the account service find the info to fill these back in? And, hand-edits get overwritten, then. (Just verified this.) My original userid's SystemAccount flag has now been re-set to 'true.' -- Tim Evans |5 Chestnut Court 443-394-3864|Owings Mills, MD 21117 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On Wed, 15 May 2019 08:27:09 -0700 sam...@sieb.net wrote: > On 5/15/19 8:21 AM, D&R wrote: > > On Tue, 14 May 2019 22:53:29 -0700 > > sam...@sieb.net wrote: > > > >> On 5/14/19 9:33 PM, D&R wrote: > >>> I tried to use both programs as above. I downloaded the tar file > >>> (http://pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz) from the pchdtv > >>> website. Neither program would make. The error was: > >>> #include No such file or directory > >>> Doing a dnf provides */linux/videodev.h > >>> Found nothing. > >> > >> I've seen suggestions that it should be changed to > >> instead which is provided by libv4l-devel. > >> > >>> I also downloaded the driver > >>> (http://pchdtv.com/downloads/v4l-dvb-HD-5500-driver.tar.gz) and that did > >>> not make either. The error was > >>> make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or > >>> directory. Stop. > >>> > >>> but I was booted under 4.20.6-100.fc28.x86_64 > > > > I have booted F28, I have the following installed: > > kernel-devel-5.0.13-100.fc28.x86_64 > > kernel-headers-5.0.9-100.fc28.x86_64 (this shows to be the latest one) > > That is odd, they should match, although it might not matter since I > think you only need the -devel one. Rebooted 5.0.13 and removed kernel-headers. Ran make. Same results. > > > When I make the driver as above I get the same error message. > > make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or > > directory > > > > I have not done a make file in years and years. Am I missing a package or > > something else? > > You need to be running the kernel that matches the kernel-devel package > or else you need to pass a parameter to make to select the right kernel. > But you will need to boot that kernel anyway to use the module. Sorry, I did not mention that I had rebooted to the 5.0.13 kernel before I did the above. I am going to install Fedora 7 in a VM and see what happens. > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: F29->F30 In Place Upgrade Issues
On 5/15/19 8:59 AM, Tim Evans wrote: Yes, several times. I have also successively: (1) restored the contents of /var/lib/AccountsService/users from my last F29 backup; (2) moved the newly created userid's file completely out of that directory; and (3) moved my normal userid's /etc/passwd entry to the end of the file (i.e., after the new userid's entry), retaining UID and GID of both. Each step with a reboot. You can delete all the files out of the users directory, they will get created next login. Nothing's changed. Does gdm have a config somewhere that controls this? Nothing I can see in /etc/gdm or /var/lib/gdm. Not that I know of. What tells the system to run 'gnome-initial-setup'? (As noted, deleting the (new) userid it creates causes it to run again as soon as you log off, intercepting the gdm login screen and forcing creation of a user.) If Gnome thinks there is no existing user, it will run that. So it's very strange that the old user appears to be invisible for some reason. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: F29->F30 In Place Upgrade Issues
On 5/15/19 11:21 AM, Samuel Sieb wrote: On 5/15/19 6:59 AM, Tim Evans wrote: On 5/14/19 7:31 PM, Samuel Sieb wrote: On 5/14/19 4:07 PM, Tim Evans wrote: # cat tkevans [User] Language= XSession= Icon=/home/tkevans/.face SystemAccount=true There's the problem, change that to false. I wonder if this is such an old install (originally) that the userid is below 1000. What are the results of "id tkevans" and "id evanstimk"? Making this edit did not change anything. The newly created userid (that created at first boot of the upgraded system) is still the default shown by the GDM login screen. clicking "not listed?" allows login via the original account. Did you reboot after changing that file? Otherwise, you need to at least restart the account service (can't remember the name) and gdm. Yes, several times. I have also successively: (1) restored the contents of /var/lib/AccountsService/users from my last F29 backup; (2) moved the newly created userid's file completely out of that directory; and (3) moved my normal userid's /etc/passwd entry to the end of the file (i.e., after the new userid's entry), retaining UID and GID of both. Each step with a reboot. Nothing's changed. Does gdm have a config somewhere that controls this? Nothing I can see in /etc/gdm or /var/lib/gdm. What tells the system to run 'gnome-initial-setup'? (As noted, deleting the (new) userid it creates causes it to run again as soon as you log off, intercepting the gdm login screen and forcing creation of a user.) -- Tim Evans |5 Chestnut Court 443-394-3864|Owings Mills, MD 21117 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On 5/15/19 8:21 AM, D&R wrote: On Tue, 14 May 2019 22:53:29 -0700 sam...@sieb.net wrote: On 5/14/19 9:33 PM, D&R wrote: I tried to use both programs as above. I downloaded the tar file (http://pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz) from the pchdtv website. Neither program would make. The error was: #include No such file or directory Doing a dnf provides */linux/videodev.h Found nothing. I've seen suggestions that it should be changed to instead which is provided by libv4l-devel. I also downloaded the driver (http://pchdtv.com/downloads/v4l-dvb-HD-5500-driver.tar.gz) and that did not make either. The error was make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory. Stop. but I was booted under 4.20.6-100.fc28.x86_64 I have booted F28, I have the following installed: kernel-devel-5.0.13-100.fc28.x86_64 kernel-headers-5.0.9-100.fc28.x86_64 (this shows to be the latest one) That is odd, they should match, although it might not matter since I think you only need the -devel one. When I make the driver as above I get the same error message. make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory I have not done a make file in years and years. Am I missing a package or something else? You need to be running the kernel that matches the kernel-devel package or else you need to pass a parameter to make to select the right kernel. But you will need to boot that kernel anyway to use the module. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: F29->F30 In Place Upgrade Issues
On 5/15/19 6:59 AM, Tim Evans wrote: On 5/14/19 7:31 PM, Samuel Sieb wrote: On 5/14/19 4:07 PM, Tim Evans wrote: # cat tkevans [User] Language= XSession= Icon=/home/tkevans/.face SystemAccount=true There's the problem, change that to false. I wonder if this is such an old install (originally) that the userid is below 1000. What are the results of "id tkevans" and "id evanstimk"? Making this edit did not change anything. The newly created userid (that created at first boot of the upgraded system) is still the default shown by the GDM login screen. clicking "not listed?" allows login via the original account. Did you reboot after changing that file? Otherwise, you need to at least restart the account service (can't remember the name) and gdm. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
On Tue, 14 May 2019 22:53:29 -0700 sam...@sieb.net wrote: > On 5/14/19 9:33 PM, D&R wrote: > > I tried to use both programs as above. I downloaded the tar file > > (http://pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz) from the pchdtv > > website. Neither program would make. The error was: > > #include No such file or directory > > Doing a dnf provides */linux/videodev.h > > Found nothing. > > I've seen suggestions that it should be changed to > instead which is provided by libv4l-devel. > > > I also downloaded the driver > > (http://pchdtv.com/downloads/v4l-dvb-HD-5500-driver.tar.gz) and that did > > not make either. The error was > > make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or > > directory. Stop. > > > > but I was booted under 4.20.6-100.fc28.x86_64 I have booted F28, I have the following installed: kernel-devel-5.0.13-100.fc28.x86_64 kernel-headers-5.0.9-100.fc28.x86_64 (this shows to be the latest one) When I make the driver as above I get the same error message. make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or directory I have not done a make file in years and years. Am I missing a package or something else? > > You need to install "kernel-devel". > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: F29->F30 In Place Upgrade Issues
On 5/14/19 7:31 PM, Samuel Sieb wrote: On 5/14/19 4:07 PM, Tim Evans wrote: # cat tkevans [User] Language= XSession= Icon=/home/tkevans/.face SystemAccount=true There's the problem, change that to false. I wonder if this is such an old install (originally) that the userid is below 1000. What are the results of "id tkevans" and "id evanstimk"? Thanks, again, Samuel. Making this edit did not change anything. The newly created userid (that created at first boot of the upgraded system) is still the default shown by the GDM login screen. clicking "not listed?" allows login via the original account. So, I deleted this new userid. After logging out from the old account, I was again forced to create a new user, it was set to the default on the login screen, and the SystemAccount flag on the old userid was set back to "true." So we're back where we started. Old userid was not below 1000; it is 1000. New userid is 1001. id tkevans uid=1000(tkevans) gid=1000(tkevans) groups=1000(tkevans),10(wheel) id snavemit uid=1001(snavemit) gid=1001(snavemit) groups=1001(snavemit),10(wheel) -- Tim Evans |5 Chestnut Court 443-394-3864|Owings Mills, MD 21117 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: mkpasswd
On Wed, May 15, 2019 at 9:15 AM Aleksandar Kostadinov wrote: > in Fedora 28 I used the command `mkpasswd` [1] to generate passwords > according to different criteria. Now in Fedora 30 this command asks for > a password to encrypt for /etc/passwd usage. > Would pwgen(1)[1] do what you need? [1] https://linux.die.net/man/1/pwgen -- Ben Cotton He / Him / His Fedora Program Manager Red Hat TZ=America/Indiana/Indianapolis ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Is pcHDTV 5500 still supported...
I am using the default driver built into the kernel and it works. I compiled those files a really long time ago, and they still work o f29 for me, but it sounds like they may not recompile with current headers with no changes. On Tue, May 14, 2019 at 11:34 PM D&R wrote: > > Thanks for your reply. > > On Tue, 14 May 2019 15:15:23 -0500 > rogerhef...@gmail.com wrote: > > > My 5500 appears to still be getting signal locks on the channels it > > should on kernel 5.x and F29. > > > > I tested with dtvscan and dtvsignal that came with the card and seems > > to work for all dvb cards and was authored by by Jack Kelliher . > > I tried to use both programs as above. I downloaded the tar file > (http://pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz) from the pchdtv > website. > Neither program would make. The error was: > #include No such file or directory > Doing a dnf provides */linux/videodev.h > Found nothing. > > NEXT: > > I also downloaded the driver > (http://pchdtv.com/downloads/v4l-dvb-HD-5500-driver.tar.gz) and that did not > make either. The error was > make[2]: *** /lib/modules/4.0.6-100.fc28.x86_64/build: No such file or > directory. Stop. > > but I was booted under 4.20.6-100.fc28.x86_64 > > > > > On Tue, May 14, 2019 at 12:08 PM D&R wrote: > > > > > > I have been using the above tuner card for tv reception/recording with > > > MythTV since 2008. The last upgrade was to F27 and the last kernel that > > > could use the card (that I am aware of) is 4.17.19-100.fc27.x86_64. > > > > > > More recent kernels can not get a lock on the signal. > > > > > > If the pcHDTV 5500 is no longer supported, what is a good replacement card > > > to get. > > > > > > If it is supported what is my next step? > > > > > > > > > Thanks, > > > > > > David > > > ___ > > > users mailing list -- users@lists.fedoraproject.org > > > To unsubscribe send an email to users-le...@lists.fedoraproject.org > > > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > > List Archives: > > > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > > ___ > > users mailing list -- users@lists.fedoraproject.org > > To unsubscribe send an email to users-le...@lists.fedoraproject.org > > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: > > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
mkpasswd
Hi, in Fedora 28 I used the command `mkpasswd` [1] to generate passwords according to different criteria. Now in Fedora 30 this command asks for a password to encrypt for /etc/passwd usage. Any ideas how do I get back the old `mkpasswd`? [1] https://linux.die.net/man/1/mkpasswd ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
auto mount and unmount using udev rules
Hi, I am trying to mount a USB drive to given symlink and mount it to a given mount point. Mount is working but when the device removed, I can still see the mount cat /etc/udev/rules.d/81-hnt-usb-rule.rules ACTION=="add", KERNEL=="sd?1", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", \ SYMLINK+="hanthana%n", ENV{SYSTEMD_WANTS}="hnt-usb-rule.service" ACTION=="remove", RUN+="/usr/bin/umount $(/usr/bin/mount | grep backup | /usr/bin/awk '{print $1}')" [danishka@hanthana ~]$ cat /etc/systemd/system/hnt-usb-rule.service [Unit] Description=USB Mount [Service] Type=oneshot ExecStart=/root/hnt.sh [Install] WantedBy=default.target -- cat /root/hnt.sh #!/bin/bash mkdir /backup lsblk > /var/log/hnt.log /usr/bin/mount /dev/hanthana1 /backup ACTION=="remove", RUN+="/usr/bin/umount $(/usr/bin/mount | grep backup | /usr/bin/awk '{print $1}')" [root@hanthana ~]# echo $(/usr/bin/mount | grep backup | /usr/bin/awk '{print $1}') /dev/sda1 Even though you can't access /backup after removing the USB, mount command shows following results (After plugin the usb and remove several times). I wonder why it automatically remove these entries as fedora normally mount USBs on default location. /dev/sda1 on /backup type ext4 (rw, relatime, seclabel) /dev/sdb1 on /backup type ext4 (rw, relatime, seclabel) /dev/sdc1 on /backup type ext4 (rw, relatime, seclabel) /dev/sdd1 on /backup type ext4 (rw, relatime, seclabel) I was testing on both Fedora 28 Gnome and LXDE. Regards, -- Danishka Navin ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: why the long pause after bash "command not found"?
On Tue, 2019-05-14 at 18:33 -0400, Tom Horsley wrote: > On Tue, 14 May 2019 18:11:45 -0400 > DJ Delorie wrote: > > > Try removing PackageKit-command-not-found if you don't want that > > "feature". > > On my list to remove even before I first boot a newly > installed fedora (from a chroot into the fedora partition). > bash-completion and environment-modules are two other > highly irritating ones I get rid of. I find bash-completion useful (within limits). poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: why the long pause after bash "command not found"?
On Tue, 14 May 2019, Samuel Sieb wrote: > On 5/14/19 3:00 PM, Robert P. J. Day wrote: > >i'm finally annoyed enough about this to just ask ... on a regular > > basis, i mistype a command and (predictably) get: > > > >bash: xxx: command not found... > > > > but, quite often, rather than getting a bash prompt back immediately, > > there is a lng pause, as i wait, and wait, and wait for a new > > prompt, finally running out of patience and breaking with ^C to get a > > new prompt. > > > >what in the name of mutt is bash doing all that time? if there's no > > such command, why the long pause in giving me a new prompt? > > If you have "PackageKit-command-not-found" installed, then it's trying to find > you a package to install to give you that command. Try running a command that > could exist, but you don't have installed. For example, "cowsay". :-) > (Unless you do have that installed.) ah, got it, thanks. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org