Unable to connect to the my campus db through omega, the below error keeps popping up Posted: 20 Nov 2021 11:11 AM PST Unable to negotiate with 129.107.56.23 port 22: no matching key exchange method found. Their offer: Diffie-hellman-group-exchange-sha1,Diffie-hellman-group14-sha1,Diffie-hellman-group1-sha1 |
ping Minimum Interval? Posted: 20 Nov 2021 10:49 AM PST No, not the 0.2s available to unprivileged users. What is the minimum interval that ping (from iputils s20190709) supports ? I asked it to : ping -s 18 -W 2 -w 300 -qOni 0.000024 ... but it seems to cap out around ~1,200 PPS (723139 packets / 600s) : 723139 packets transmitted, 723072 received, 0.00926516% packet loss, time 600000ms rtt min/avg/max/mdev = 0.463/0.750/26.080/0.249 ms, pipe 2, ipg/ewma 0.829/0.714 ms By my calculation, requesting 18 bytes (total 60 bytes "on the wire" over Ethernet) @ ~42,000PPS (1s / 0.000024 interval) should generate only ~20Mbps traffic - not nearly too much for a 1Gbps path. I tried a flood to the same remote host ... ping -n -w 60 -W 2 -s 18 -f ... which is supposed to "outputs packets as fast as they come back or one hundred times per second, whichever is more" and results were : 73338 packets transmitted, 73320 received, 0.0245439% packet loss, time 59999ms rtt min/avg/max/mdev = 0.428/0.728/16.213/0.218 ms, pipe 2, ipg/ewma 0.818/0.740 ms Or ~1,222 PPS. At least this result is expected given the description of the -f flag. (Tried without the -W option in case that influences it - same outcome.) Pinging loopback yielded ~107,494 PPS : ping -s 18 -W 2 -w 60 -qOnf 127.0.0.1 6449594 packets transmitted, 6449594 received, 0% packet loss, time 60000ms rtt min/avg/max/mdev = 0.005/0.005/0.709/0.001 ms, ipg/ewma 0.009/0.006 ms ... so I assume that ping does not have a hard-coded minimum interval (certainly not near ~1,200 PPS). I assume that my ~1,200PPS is because ping is waiting for N echo replies before fire off the next request within the interval, whether using -f or -i ? How can I ask ping to either : - Flood with no limit (neither 100 times / sec, nor "fast as they come back") ?
- Honour the requested -i interval in non-flood mode, regardless of responses received ?
If ping can't do this, can fping/oping/nping ? Will try running multiple ping processes in parallel ... |
Securing Samba on debian 10 Posted: 20 Nov 2021 10:17 AM PST I'm configuring a debian 10 VPS and recently installed samba. I was impressed -- in a bad way :) -- about how quickly /var/log/samba started filling up with all sorts of attempts to access the one share I'd set up. Seeking to harden my setup I did some online research and made a number of changes to /etc/samba/smb.conf: - log level = 3
- map to guest server = never
- restrict anonymous = 2
This appears to have frustrated attackers. But I'm not skilled at reading the samba log files so I'm not sure. By watching the log files being recorded for the access attempts I believe the changes are causing the attackers to give up. I say that because all the log files are about the same size, and all end after a log event like this: [2021/11/20 18:01:59.454538, 3] ../auth/auth_log.c:610(log_authentication_event_human_readable) Auth: [SMB,(null)] user [][] at [Sat, 20 Nov 2021 18:01:59.454490 UTC] with [No-Password] status [NT_STATUS_OK] workstation [] remote host [ipv4:61.184.77.182:56818] became [HWSRV-901112][nobody] [S-1-5-21-4219689906-1908890436-3181349475-501]. local host [ipv4:104.168.220.233:445] {"timestamp": "2021-11-20T18:01:59.454714+0000", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 0}, "status": "NT_STATUS_OK", "localAddress": "ipv4:104.168.220.233:445", "remoteAddress": "ipv4:61.184.77.182:56818", "serviceDescription": "SMB", "authDescription": null, "clientDomain": "", "clientAccount": "", "workstation": "", "becameAccount": "nobody", "becameDomain": "HWSRV-901112", "becameSid": "S-1-5-21-4219689906-1908890436-3181349475-501", "mappedAccount": "", "mappedDomain": "", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "No-Password", "duration": 1587}} However, what concerns me is that last entry is immediately preceded by ones that look like this: [2021/11/20 18:01:59.454449, 3] ../source3/auth/auth.c:256(auth_check_ntlm_password) auth_check_ntlm_password: anonymous authentication for user [] succeeded I don't know samba but having anonymous authentication succeed is troubling. What else should I do to harden my installation? I can add some firewall rules to block access from all except certain IP addresses. But that will interfere with attempts to access the share when I'm on traveling. |
Partial dconf dump with full paths Posted: 20 Nov 2021 10:02 AM PST Custom system-wide default dconf settings can be set with a keyfile in /etc/dconf/db/local.d/ . The file must contain keys with their full path in this case. dconf dump /my/path/ > my.path.dconf allows exporting keys. The output file contains keys with their relative path though. How can I dump partial dconf configuration with full paths so that it is in the format suitable for the system-wide keyfile? |
scp when both hosts are remote and use different ports Posted: 20 Nov 2021 10:06 AM PST Reposting with edit from here as the answer there no longer works for me -- How can I use scp command to copy files between two remote servers that use different ports from my local PC? remote server 1 : IP=67.12.21.133 & port=6774 remote server 2 : IP=67.129.242.40 & port=6775 If to use scp -rp -P 6774 denny@67.12.21.133:/home/denny/testapp1.txt denny@67.129.242.40: It gives an error: ssh: connect to host 67.12.21.133 port 22: Connection refused If to use scp -rp -P 6774 denny@67.12.21.133:/home/denny/testapp1.txt -P 6775 denny@67.129.242.40: It gives an error: ssh: connect to host 67.129.242.133 port 6775: Connection refused ssh: connect to host 67.129.242.40 port 6774: Connection refused lost connection |
bpf filter - how to filter out unnecessary? Posted: 20 Nov 2021 08:57 AM PST How to implement whitelist by ip addresses in bpf? situation: there is a mirror, network interface, traffic monitoring brings garbage traffic, you need to implement a whitelist for my IP addresses so as not to monitor garbage the whole thing is spinning in a virtual machine (kvm/proxmox), and i monitor it via arkime |
How to display laptop charging speed Posted: 20 Nov 2021 08:48 AM PST I have a laptop that charges via USB-C (fifth generation Thinkpad X1 with Ubuntu) and it can be charged by connecting it to the USB-C port of my desktop. But I would like to know at which wattage it is charging. Is there a command to display at which wattage a laptop is currently charging? This would also be helpful to compare different combinations of charging bricks and USB cables. |
impact of nodatacow on BTRFS snapshots Posted: 20 Nov 2021 08:47 AM PST I'm running Manjaro ARM with BTRFS on a Raspberry Pi 4 which running off an SD card, which are known to be a problem when performing too much read/write operations. For that reason I would like to avoid such an operations, without sacrificing the possibility of having live snapshots, the sole reason I'm running BTRFS, so that I can then backup those snapshots somewhere else. I've recently found that it is possible to have snapshots when mounting a BTRFS subvolume with the nodatacow mount options [1] [2], which disables COW. I also know that, for technical reasons, this option must be provided system-wide [3]. From my understanding disabling COW means that we will get a behavior of a "normal" filesystem, expect for the metadata [4], meaning that the files content always get overwritten on new writes. However, from my interpretation of [2], if we are to perform a snapshot the current version of each file is saved, while a new place is allocated for the subsequent writes, which will inherent the nodatacow and overwrite on new writes, meaning that I will only have two versions of my system: the current version and the snapshot (which can be easily restored as usual). Further disadvantages include the disabling of checksum and compression [3]. Is my understanding on the matter at hand correct? What would be the impact on the size, fragmentation and performance (IO operations) of the filesystem and snapshots when using the nodatacow mount option? |
How to disable iTerm2 tmux integration Posted: 20 Nov 2021 10:43 AM PST iTerm2 runs slowly when using tmux (without -CC control mode integration). It is clearly designed with the intention of using -CC . However, I don't like the desktop window management of tmux windows/panes. I want tmux keyboard shortcuts and everything in a single iTerm2 window. Is there a way to disable tmux integration in iTerm2 so that I can tmux without using -CC ? And so that it won't lag? If you are having difficulty trying to reproduce, try opening 2 tabs attached to the same tmux session. Compare it's I/O performance to the system terminal attached to the same tmux session. |
Debian 10: GDM gives "Oh no! Something has gone wrong" Posted: 20 Nov 2021 07:35 AM PST I installed GNOME just recently and now it's not working. It's giving me the white screen of death every time I try to start the session it gives me this "Oh no! Something has gone wrong" message. Every single time! I installed everything correctly, but the manager is not working as intended. How can I fix this? |
Design process for custom hardware Posted: 20 Nov 2021 07:31 AM PST We have a design for a custom board with multiple codecs that will be used with a iMX8 module. We haven't made a prototype yet. Hardware designer wants to test his assumptions to verify the SAI ports can be set up as desired - TDM slots, clock sources, voltage levels, etc. As I understand it, this would be accomplished by a device tree that describes the new hardware interface. A new version of Linux would be created, and the hardware configuration could be tested, to a certain extent, before the custom board is built. Would it be possible to configure the system like this without having the custom hardware? It seems like the device driver is being written without having the hardware. |
Ssh to server2 via server1 using the credentials on server1 Posted: 20 Nov 2021 07:33 AM PST I have two servers, server1 and server2 , and I can connect to server2 via server1 : localUser@localMachine $ ssh user1@server1 user1@server1 $ ssh user2@server2 user2@server2 $ I can do this in one step using: localUser@localMachine $ ssh -t user1@server1 ssh user2@server2 user2@server2 $ I want to be able to simply run ssh server2 from my local machine and connect directly. I could set up the command above as an alias, but I would prefer to do this through ~/.ssh/config . The problem is that I need to use the ssh credentials present on server1 when connecting to server2 and I don't want to copy them over to my local machine. This means that the "normal" way I would set this up, by adding the following to my local ~/.ssh/config , fails: Host server1 Hostname server1.example.com User user1 Host server2 Hostname server2.example.com User user2 ProxyJump server1 If I now try to connect, I get: $ ssh server2 user2@server2.example.com: Permission denied (publickey). This is because I need to use the ~/.ssh/id_rsa_pub key on server1 and not the one I have on my local machine. So, how can I set up my local ~/.ssh/config so that it connects to server2 , via server1 and using the credentials present in server1 ? All machines are Linux boxes, the remotes are running Ubuntu Server 18.04.4 and my local machine is running Arch Linux. I tried the solution given in Hauke's answer and added the following to my ~/.ssh/config : Host server1server2 Hostname server1 User user1 RemoteCommand ssh user2@server2.com This almost works! I can now connect to server2 using ssh server1server2 , but I don't get a prompt: localUser@localMachine $ ssh server1server2 Pseudo-terminal will not be allocated because stdin is not a terminal. hostname server2 As you can see above, I am connected to server2 and can even run commands there, but I am not getting a prompt. I then tried adding -t -t to the ssh command in the config file: Host server1server2 Hostname server1 User user1 RemoteCommand ssh -t -t user2@server2.com This got me a prompt, but my shell's initialization files are not being read, and pressing Ctrl+C kills the ssh connection. I need this to behave in the exact same way as if I had done ssh user2@server1 and then from server1 ssh user2@server2 . This means that my normal shell initialization files should be read and a Ctrl+C shouldn't kill the session. |
Autocomplete bash function with available system font Posted: 20 Nov 2021 09:42 AM PST I have a function. How can I add to it an auto-completion with an available font name? So if I type something like doSomethingWithFont Ubun<tab> it'll be completed to doSomethingWithFont Ubuntu\ Mono for example. doSomethingWithFont () { echo $1 } _completeWithFontName () { # ???? } complete -F _completeWithFontName doSomethingWithFont |
Logitech c920e -- v4l2-ctl --list-devices\ Cannot open device /dev/video0, exiting Posted: 20 Nov 2021 10:41 AM PST just bought the logi c920e and unfortunately it does not appears to be working. None of the other users questions have helped, most were related to a built in camm which is not my case. I have tested on Fedora, Linux Mint, Manjaro(current OS) and in none of them it appears to work. tried a install of windows 10, worked. ! A litte bit more of info, be it on cheese, obs or vlc, the webcam does not show. Im still looking for more info, and as it goes i will be adding here. dmesg | tail dmesg | tail [ 82.553845] audit: type=1101 audit(1637396188.080:103): pid=2438 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="kaiqueam" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 82.554104] audit: type=1110 audit(1637396188.080:104): pid=2438 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 82.557650] audit: type=1105 audit(1637396188.083:105): pid=2438 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 82.565367] audit: type=1106 audit(1637396188.090:106): pid=2438 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 82.565459] audit: type=1104 audit(1637396188.090:107): pid=2438 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 94.652318] audit: type=1101 audit(1637396200.177:108): pid=2457 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="kaiqueam" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 94.652622] audit: type=1110 audit(1637396200.177:109): pid=2457 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 94.656734] audit: type=1105 audit(1637396200.183:110): pid=2457 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 94.665469] audit: type=1106 audit(1637396200.190:111): pid=2457 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' [ 94.665608] audit: type=1104 audit(1637396200.190:112): pid=2457 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success' v4l2-ctl --list-devices v4l2-ctl --list-devices Cannot open device /dev/video0, exiting. v4l2-ctl --all Cannot open device /dev/video0, exiting. sudo dmesg | grep -i camera -> returns nothing sudo dmesg | grep -i camera lsusb lsusb Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 006: ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter Bus 005 Device 004: ID 1462:7b85 Micro Star International PRO CARBON Bus 005 Device 003: ID 046d:083f Logitech, Inc. USB VSNx Bus 005 Device 002: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI) Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 046d:c53f Logitech, Inc. USB Receiver Bus 001 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub lspci ❯ lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge 00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge 00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01) 03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01) 03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01) 20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) 20:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) 20:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) 21:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29) 22:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 26:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2060] (rev a1) 26:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1) 26:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1) 26:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1) 27:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function 27:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor 27:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller 28:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function 28:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) 28:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller lsmod ❯ lsmod Module Size Used by rfcomm 90112 16 ccm 20480 6 cmac 16384 3 algif_hash 16384 1 algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 32768 2 btusb 69632 0 btrtl 28672 1 btusb btbcm 20480 1 btusb btintel 32768 1 btusb bluetooth 733184 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm ecdh_generic 16384 2 bluetooth ecc 40960 1 ecdh_generic hid_logitech_hidpp 53248 0 joydev 28672 0 mousedev 24576 0 hid_apple 16384 0 hid_logitech_dj 28672 0 uas 32768 0 qrtr 20480 4 ns 36864 1 qrtr iwlmvm 495616 0 usb_storage 81920 2 uas usbhid 65536 1 hid_logitech_dj apple_mfi_fastcharge 20480 0 mac80211 1171456 1 iwlmvm libarc4 16384 1 mac80211 iwlwifi 430080 1 iwlmvm cfg80211 1044480 3 iwlmvm,iwlwifi,mac80211 igb 266240 0 i2c_algo_bit 16384 1 igb rfkill 32768 9 bluetooth,cfg80211 dca 16384 1 igb intel_rapl_msr 20480 0 uinput 20480 0 squashfs 69632 8 intel_rapl_common 28672 1 intel_rapl_msr nvidia_drm 73728 9 edac_mce_amd 32768 0 snd_hda_codec_realtek 155648 1 nvidia_modeset 1155072 24 nvidia_drm kvm_amd 139264 0 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek snd_hda_codec_hdmi 73728 1 ccp 118784 1 kvm_amd ledtrig_audio 16384 1 snd_hda_codec_generic ucsi_ccg 24576 0 typec_ucsi 49152 1 ucsi_ccg rng_core 16384 1 ccp snd_hda_intel 57344 5 typec 65536 1 typec_ucsi snd_intel_dspcfg 28672 1 snd_hda_intel kvm 1036288 1 kvm_amd nvidia 36958208 1376 nvidia_modeset snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg snd_hda_codec 176128 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek irqbypass 16384 1 kvm vfat 24576 1 crct10dif_pclmul 16384 1 crc32_pclmul 16384 0 roles 16384 1 typec_ucsi wmi_bmof 16384 0 fat 86016 1 vfat snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek ghash_clmulni_intel 16384 0 drm_kms_helper 294912 1 nvidia_drm snd_hwdep 16384 1 snd_hda_codec aesni_intel 380928 8 snd_pcm 147456 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core cec 73728 1 drm_kms_helper crypto_simd 16384 1 aesni_intel cryptd 28672 3 crypto_simd,ghash_clmulni_intel rapl 16384 0 syscopyarea 16384 1 drm_kms_helper snd_timer 45056 1 snd_pcm sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper snd 114688 18 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm pcspkr 16384 0 k10temp 16384 0 sp5100_tco 20480 0 i2c_piix4 28672 0 soundcore 16384 1 snd fb_sys_fops 16384 1 drm_kms_helper i2c_nvidia_gpu 16384 0 wmi 36864 1 wmi_bmof drm 589824 13 drm_kms_helper,nvidia,nvidia_drm gpio_amdpt 20480 0 mac_hid 16384 0 pinctrl_amd 32768 0 gpio_generic 20480 1 gpio_amdpt acpi_cpufreq 32768 0 agpgart 45056 1 drm loop 40960 16 ipmi_devintf 20480 0 ipmi_msghandler 73728 1 ipmi_devintf sg 40960 0 fuse 167936 7 crypto_user 20480 0 ip_tables 32768 0 x_tables 53248 1 ip_tables ext4 929792 2 crc32c_generic 16384 0 crc16 16384 2 bluetooth,ext4 mbcache 16384 1 ext4 jbd2 151552 1 ext4 crc32c_intel 24576 4 xhci_pci 20480 0 looking at obs, is there a chance linux thinks this is a mic? obs_image reference, maybe it thinks is a mic? ❯ lsmod|grep uvcvideo uvcvideo 118784 0 videobuf2_vmalloc 20480 1 uvcvideo videobuf2_v4l2 36864 1 uvcvideo videobuf2_common 69632 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops videodev 282624 3 videobuf2_v4l2,uvcvideo,videobuf2_common mc 65536 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common also tried reloading the module sudo modprobe uvcvideo still no device and no changes based on the prior logs above. ** running: sudo modprobe v4l2loopback generates de video0 which was inexistent then ❯ v4l2-ctl --list-devices Dummy video device (0x0000) (platform:v4l2loopback-000): /dev/video0 giving an LS inside dev/ note that before modprobe there was not any video0 ❯ ls ashmem hpet nvme0 stdout tty31 tty56 ttyS22 vcs3 autofs hugepages nvme0n1 tty tty32 tty57 ttyS23 vcs4 block hwrng nvme0n1p1 tty0 tty33 tty58 ttyS24 vcs5 bsg input nvme0n1p2 tty1 tty34 tty59 ttyS25 vcs6 btrfs-control kmsg nvme0n1p3 tty10 tty35 tty6 ttyS26 vcsa bus kvm nvram tty11 tty36 tty60 ttyS27 vcsa1 char lightnvm port tty12 tty37 tty61 ttyS28 vcsa2 console log ppp tty13 tty38 tty62 ttyS29 vcsa3 core loop0 pps0 tty14 tty39 tty63 ttyS3 vcsa4 cpu loop1 psaux tty15 tty4 tty7 ttyS30 vcsa5 cpu_dma_latency loop2 ptmx tty16 tty40 tty8 ttyS31 vcsa6 cuse loop3 ptp0 tty17 tty41 tty9 ttyS4 vcsu disk loop4 pts tty18 tty42 ttyS0 ttyS5 vcsu1 dma_heap loop5 random tty19 tty43 ttyS1 ttyS6 vcsu2 dri loop6 rfkill tty2 tty44 ttyS10 ttyS7 vcsu3 fb0 loop7 rtc tty20 tty45 ttyS11 ttyS8 vcsu4 fd loop8 rtc0 tty21 tty46 ttyS12 ttyS9 vcsu5 full loop-control sda tty22 tty47 ttyS13 udmabuf vcsu6 fuse mapper sda1 tty23 tty48 ttyS14 uhid vfio gpiochip0 mem sdb tty24 tty49 ttyS15 uinput vga_arbiter gpiochip1 mqueue sg0 tty25 tty5 ttyS16 urandom vhci hidraw0 net sg1 tty26 tty50 ttyS17 usb vhost-net hidraw1 ng0n1 shm tty27 tty51 ttyS18 userio vhost-vsock hidraw2 null snapshot tty28 tty52 ttyS19 v4l2loopback video0 hidraw3 nvidia0 snd tty29 tty53 ttyS2 vcs watchdog hidraw4 nvidiactl stderr tty3 tty54 ttyS20 vcs1 watchdog0 hidraw5 nvidia-modeset stdin tty30 tty55 ttyS21 vcs2 zero but there is no use to this. running : ❯ gphoto2 --stdout --capture-movie | ffmpeg -i - -c:v rawvideo -f v4l2 /dev/video0 ffmpeg version n4.4.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11.1.0 (GCC) configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3 libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 *** Error *** Could not detect any camera *** Error (-105: 'Unknown model') *** pipe:: Invalid data found when processing input |
Can `ejabberd` be installed without plenty of dependencies on fedora? Posted: 20 Nov 2021 10:07 AM PST I installed the server edition of fedora 35 (no DE) recently and now I'm about to set-up an xmpp server. Therefore I want to install ejabberd . However, I noticed that it pulls in a lot of dependencies: Last metadata expiration check: 2:01:16 ago on Sat 20 Nov 2021 05:03:37 PM CET. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: ejabberd noarch 20.07-5.fc35 fedora 5.3 M Installing dependencies: SDL2 x86_64 2.0.16-4.fc35 updates 535 k adobe-mappings-cmap noarch 20190730-1.fc35 updates 2.1 M adobe-mappings-cmap-deprecated noarch 20190730-1.fc35 updates 105 k adobe-mappings-pdf noarch 20180407-9.fc35 fedora 637 k adwaita-cursor-theme noarch 41.0-1.fc35 fedora 625 k adwaita-icon-theme noarch 41.0-1.fc35 fedora 11 M at-spi2-atk x86_64 2.38.0-3.fc35 fedora 86 k at-spi2-core x86_64 2.42.0-1.fc35 fedora 176 k atk x86_64 2.36.0-4.fc35 fedora 269 k avahi-glib x86_64 0.8-14.fc35 fedora 15 k bluez-libs x86_64 5.62-2.fc35 updates 84 k bubblewrap x86_64 0.5.0-1.fc35 fedora 53 k cairo x86_64 1.17.4-4.fc35 fedora 664 k cairo-gobject x86_64 1.17.4-4.fc35 fedora 18 k cdparanoia-libs x86_64 10.2-38.fc35 fedora 53 k colord-libs x86_64 1.4.5-3.fc35 fedora 232 k double-conversion x86_64 3.1.5-5.fc35 fedora 48 k ejabberd-selinux noarch 20.07-5.fc35 fedora 20 k elixir x86_64 1.12.3-3.fc35 updates 5.6 M erlang-asn1 x86_64 24.1.4-1.fc35 updates 901 k erlang-base64url noarch 1.0.1-6.fc35 fedora 12 k erlang-cache_tab x86_64 1.0.25-3.fc35 fedora 65 k erlang-compiler x86_64 24.1.4-1.fc35 updates 1.9 M erlang-crypto x86_64 24.1.4-1.fc35 updates 174 k erlang-dialyzer x86_64 24.1.4-1.fc35 updates 1.2 M erlang-edoc x86_64 24.1.4-1.fc35 updates 411 k erlang-eimp x86_64 1.0.17-3.fc35 fedora 42 k erlang-epam x86_64 1.0.9-3.fc35 fedora 23 k erlang-erts x86_64 24.1.4-1.fc35 updates 2.7 M erlang-esip x86_64 1.0.37-3.fc35 fedora 186 k erlang-eunit x86_64 24.1.4-1.fc35 updates 174 k erlang-ezlib x86_64 1.0.8-3.fc35 fedora 22 k erlang-fast_tls x86_64 1.1.8-3.fc35 fedora 56 k erlang-fast_xml x86_64 1.1.43-4.fc35 fedora 195 k erlang-fast_yaml x86_64 1.0.27-3.fc35 fedora 29 k erlang-idna noarch 6.0.1-3.fc35 fedora 702 k erlang-inets x86_64 24.1.4-1.fc35 updates 673 k erlang-jiffy x86_64 1.0.5-3.fc35 fedora 46 k erlang-jose noarch 1.10.1-6.fc35 fedora 727 k erlang-kernel x86_64 24.1.4-1.fc35 updates 1.9 M erlang-luerl noarch 0.3-8.fc35 fedora 457 k erlang-mnesia x86_64 24.1.4-1.fc35 updates 903 k erlang-mqtree x86_64 1.0.10-3.fc35 fedora 30 k erlang-odbc x86_64 24.1.4-1.fc35 updates 66 k erlang-os_mon x86_64 24.1.4-1.fc35 updates 107 k erlang-p1_acme noarch 1.0.8-3.fc35 fedora 69 k erlang-p1_mysql noarch 1.0.16-3.fc35 fedora 64 k erlang-p1_oauth2 noarch 0.6.7-3.fc35 fedora 39 k erlang-p1_pgsql noarch 1.1.10-3.fc35 fedora 60 k erlang-p1_utils noarch 1.0.20-3.fc35 fedora 179 k erlang-parsetools x86_64 24.1.4-1.fc35 updates 210 k erlang-pkix noarch 1.0.6-3.fc35 fedora 72 k erlang-public_key x86_64 24.1.4-1.fc35 updates 806 k erlang-runtime_tools x86_64 24.1.4-1.fc35 updates 250 k erlang-sasl x86_64 24.1.4-1.fc35 updates 324 k erlang-sd_notify noarch 1.1-3.fc35 fedora 13 k erlang-snmp x86_64 24.1.4-1.fc35 updates 2.0 M erlang-ssl x86_64 24.1.4-1.fc35 updates 1.6 M erlang-stdlib x86_64 24.1.4-1.fc35 updates 3.8 M erlang-stringprep x86_64 1.0.22-3.fc35 fedora 48 k erlang-stun noarch 1.0.37-3.fc35 fedora 144 k erlang-syntax_tools x86_64 24.1.4-1.fc35 updates 343 k erlang-tools x86_64 24.1.4-1.fc35 updates 712 k erlang-unicode_util_compat noarch 0.5.0-5.fc35 fedora 83 k erlang-wx x86_64 24.1.4-1.fc35 updates 4.9 M erlang-xmerl x86_64 24.1.4-1.fc35 updates 1.3 M erlang-xmpp x86_64 1.4.9-3.fc35 fedora 1.9 M erlang-yconf noarch 1.0.7-3.fc35 fedora 58 k exempi x86_64 2.5.1-7.fc35 fedora 515 k exiv2-libs x86_64 0.27.5-1.fc35 updates 777 k fdk-aac-free x86_64 2.0.0-7.fc35 fedora 324 k flac-libs x86_64 1.3.3-9.fc35 fedora 218 k flatpak-selinux noarch 1.12.2-1.fc35 updates 22 k flatpak-session-helper x86_64 1.12.2-1.fc35 updates 44 k fuse x86_64 2.9.9-13.fc35 fedora 78 k gdk-pixbuf2-modules x86_64 2.42.6-2.fc35 fedora 84 k giflib x86_64 5.2.1-8.fc35 fedora 47 k google-droid-sans-fonts noarch 20200215-10.fc35 fedora 2.7 M graphene x86_64 1.10.6-3.fc35 fedora 64 k graphviz x86_64 2.48.0-3.fc35 fedora 1.4 M gsm x86_64 1.0.19-6.fc35 fedora 33 k gstreamer1 x86_64 1.19.3-1.fc35 updates 1.4 M gstreamer1-plugins-base x86_64 1.19.3-1.fc35 updates 2.1 M gtk-update-icon-cache x86_64 3.24.30-4.fc35 fedora 35 k gtk2 x86_64 2.24.33-5.fc35 fedora 3.5 M gtk3 x86_64 3.24.30-4.fc35 fedora 4.8 M gts x86_64 0.7.6-40.20121130.fc35 fedora 233 k harfbuzz-icu x86_64 2.8.2-2.fc35 fedora 15 k hicolor-icon-theme noarch 0.17-11.fc35 fedora 44 k hyphen x86_64 2.8.8-16.fc35 fedora 29 k iso-codes noarch 4.6.0-2.fc35 fedora 3.3 M jbig2dec-libs x86_64 0.19-5.fc35 fedora 73 k lame-libs x86_64 3.100-11.fc35 fedora 333 k lasi x86_64 1.1.3-7.fc35 fedora 55 k lcms2 x86_64 2.12-2.fc35 fedora 167 k libICE x86_64 1.0.10-7.fc35 fedora 70 k libSM x86_64 1.2.3-9.fc35 fedora 41 k libX11-xcb x86_64 1.7.2-3.fc35 fedora 11 k libXaw x86_64 1.0.13-18.fc35 fedora 196 k libXcomposite x86_64 0.4.5-6.fc35 fedora 23 k libXcursor x86_64 1.2.0-6.fc35 fedora 30 k libXdamage x86_64 1.1.5-6.fc35 fedora 22 k libXext x86_64 1.3.4-7.fc35 fedora 39 k libXfixes x86_64 6.0.0-2.fc35 fedora 19 k libXft x86_64 2.3.3-7.fc35 fedora 61 k libXi x86_64 1.7.10-7.fc35 fedora 38 k libXinerama x86_64 1.1.4-9.fc35 fedora 14 k libXmu x86_64 1.1.3-7.fc35 fedora 74 k libXrandr x86_64 1.5.2-7.fc35 fedora 27 k libXrender x86_64 0.9.10-15.fc35 fedora 27 k libXt x86_64 1.2.0-5.fc35 fedora 179 k libXtst x86_64 1.2.3-15.fc35 fedora 20 k libXv x86_64 1.0.11-15.fc35 fedora 18 k libXxf86vm x86_64 1.1.4-17.fc35 fedora 18 k libasyncns x86_64 0.8-21.fc35 fedora 30 k libcanberra x86_64 0.30-26.fc35 fedora 85 k libcloudproviders x86_64 0.3.1-4.fc35 fedora 45 k libcue x86_64 2.2.1-8.fc35 fedora 34 k libdatrie x86_64 0.2.13-2.fc35 fedora 32 k libdecor x86_64 0.1.0-1.fc35 fedora 40 k libdrm x86_64 2.4.107-2.fc35 fedora 162 k libepoxy x86_64 1.5.9-1.fc35 fedora 242 k libevdev x86_64 1.12.0-1.fc35 updates 45 k libexif x86_64 0.6.23-1.fc35 fedora 441 k libfontenc x86_64 1.1.3-16.fc35 fedora 30 k libgexiv2 x86_64 0.14.0-1.fc35 fedora 95 k libglvnd x86_64 1:1.3.4-2.fc35 updates 135 k libglvnd-egl x86_64 1:1.3.4-2.fc35 updates 37 k libglvnd-glx x86_64 1:1.3.4-2.fc35 updates 144 k libgrss x86_64 0.7.0-13.fc35 fedora 63 k libgs x86_64 9.55.0-1.fc35 updates 3.5 M libgsf x86_64 1.14.47-4.fc35 fedora 245 k libgxps x86_64 0.3.2-2.fc35 fedora 78 k libijs x86_64 0.35-14.fc35 fedora 29 k libimobiledevice x86_64 1.3.0-4.fc35 fedora 75 k libiptcdata x86_64 1.0.5-9.fc35 fedora 61 k libldac x86_64 2.0.2.3-9.fc35 fedora 40 k libmanette x86_64 0.2.6-3.fc35 fedora 49 k libmspack x86_64 0.10.1-0.6.alpha.fc35 fedora 68 k libnotify x86_64 0.7.9-5.fc35 fedora 42 k libogg x86_64 2:1.3.5-2.fc35 fedora 33 k libosinfo x86_64 1.9.0-2.fc35 fedora 295 k libpaper x86_64 1.1.28-3.fc35 fedora 40 k libpciaccess x86_64 0.16-5.fc35 fedora 27 k libplist x86_64 2.2.0-5.fc35 fedora 76 k librsvg2 x86_64 2.52.4-1.fc35 updates 3.6 M libsbc x86_64 1.5-2.fc35 fedora 47 k libshout x86_64 2.4.3-4.fc35 fedora 66 k libsndfile x86_64 1.0.31-5.fc35.fc35 fedora 206 k libthai x86_64 0.1.28-7.fc35 fedora 208 k libtheora x86_64 1:1.1.1-30.fc35 fedora 163 k libtracker-sparql x86_64 3.2.1-1.fc35 updates 351 k libusbmuxd x86_64 2.0.2-5.fc35 fedora 38 k libv4l x86_64 1.20.0-4.fc35 fedora 198 k libvisual x86_64 1:0.4.0-33.fc35 fedora 142 k libvorbis x86_64 1:1.3.7-4.fc35 fedora 192 k libvpx x86_64 1.10.0-2.fc35 fedora 1.0 M libwayland-client x86_64 1.19.0-2.fc35 fedora 32 k libwayland-cursor x86_64 1.19.0-2.fc35 fedora 19 k libwayland-egl x86_64 1.19.0-2.fc35 fedora 12 k libwayland-server x86_64 1.19.0-2.fc35 fedora 40 k libwpe x86_64 1.10.1-2.fc35 fedora 27 k libxshmfence x86_64 1.3-9.fc35 fedora 12 k lksctp-tools x86_64 1.0.18-11.fc35 fedora 91 k llvm-libs x86_64 13.0.0-4.fc35 updates 25 M low-memory-monitor x86_64 2.1-4.fc35 fedora 35 k mesa-libEGL x86_64 21.2.5-2.fc35 updates 120 k mesa-libGL x86_64 21.2.5-2.fc35 updates 170 k mesa-libGLU x86_64 9.0.1-5.fc35 fedora 147 k mesa-libgbm x86_64 21.2.5-2.fc35 updates 43 k mesa-libglapi x86_64 21.2.5-2.fc35 updates 54 k mesa-vulkan-drivers x86_64 21.2.5-2.fc35 updates 5.0 M mkfontscale x86_64 1.2.1-3.fc35 fedora 31 k mpg123-libs x86_64 1.26.5-2.fc35 fedora 312 k netpbm x86_64 10.96.00-1.fc35 updates 185 k openjpeg2 x86_64 2.4.0-4.fc35 fedora 163 k opus x86_64 1.3.1-9.fc35 fedora 200 k orc x86_64 0.4.31-5.fc35 fedora 182 k osinfo-db noarch 20211013-1.fc35 updates 247 k osinfo-db-tools x86_64 1.9.0-2.fc35 fedora 66 k ostree-libs x86_64 2021.5-2.fc35 updates 420 k pango x86_64 1.49.3-1.fc35 updates 313 k pipewire-libs x86_64 0.3.40-1.fc35 updates 1.4 M poppler x86_64 21.08.0-1.fc35 fedora 1.1 M poppler-data noarch 0.4.9-8.fc35 fedora 1.8 M poppler-glib x86_64 21.08.0-1.fc35 fedora 155 k pulseaudio-libs x86_64 15.0-2.fc35 fedora 666 k rtkit x86_64 0.11-28.fc35 fedora 55 k sound-theme-freedesktop noarch 0.8-16.fc35 fedora 377 k speex x86_64 1.2.0-9.fc35 fedora 67 k taglib x86_64 1.12-5.fc35 fedora 344 k totem-pl-parser x86_64 3.26.6-3.fc35 fedora 131 k twolame-libs x86_64 0.3.13-18.fc35 fedora 57 k uchardet x86_64 0.0.6-14.fc35 fedora 94 k unixODBC x86_64 2.3.9-4.fc35 fedora 456 k upower x86_64 0.99.13-1.fc35 fedora 167 k urw-base35-bookman-fonts noarch 20200910-9.fc35 fedora 846 k urw-base35-c059-fonts noarch 20200910-9.fc35 fedora 874 k urw-base35-d050000l-fonts noarch 20200910-9.fc35 fedora 76 k urw-base35-fonts noarch 20200910-9.fc35 fedora 10 k urw-base35-fonts-common noarch 20200910-9.fc35 fedora 21 k urw-base35-gothic-fonts noarch 20200910-9.fc35 fedora 643 k urw-base35-nimbus-mono-ps-fonts noarch 20200910-9.fc35 fedora 795 k urw-base35-nimbus-roman-fonts noarch 20200910-9.fc35 fedora 856 k urw-base35-nimbus-sans-fonts noarch 20200910-9.fc35 fedora 1.3 M urw-base35-p052-fonts noarch 20200910-9.fc35 fedora 973 k urw-base35-standard-symbols-ps-fonts noarch 20200910-9.fc35 fedora 42 k urw-base35-z003-fonts noarch 20200910-9.fc35 fedora 276 k vulkan-loader x86_64 1.2.189.0-1.fc35 fedora 122 k wavpack x86_64 5.4.0-3.fc35 fedora 212 k webkit2gtk3 x86_64 2.34.1-2.fc35 updates 14 M webkit2gtk3-jsc x86_64 2.34.1-2.fc35 updates 6.2 M webrtc-audio-processing x86_64 0.3.1-7.fc35 fedora 305 k wireplumber x86_64 0.4.5-1.fc35 updates 68 k wireplumber-libs x86_64 0.4.5-1.fc35 updates 300 k woff2 x86_64 1.0.2-13.fc35 fedora 61 k wpebackend-fdo x86_64 1.10.0-2.fc35 fedora 44 k wxBase3 x86_64 3.0.5.1-5.fc35 fedora 991 k wxGTK3 x86_64 3.0.5.1-5.fc35 fedora 4.4 M wxGTK3-gl x86_64 3.0.5.1-5.fc35 fedora 37 k wxGTK3-i18n noarch 3.0.5.1-5.fc35 fedora 492 k wxGTK3-webview x86_64 3.0.5.1-5.fc35 fedora 60 k xdg-dbus-proxy x86_64 0.1.2-5.fc35 fedora 41 k xdg-desktop-portal x86_64 1.10.1-2.fc35 updates 355 k xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-32.fc35 fedora 1.0 M Installing weak dependencies: dconf x86_64 0.40.0-5.fc35 fedora 108 k exiv2 x86_64 0.27.5-1.fc35 updates 976 k flatpak x86_64 1.12.2-1.fc35 updates 1.5 M geoclue2 x86_64 2.5.7-6.fc35 fedora 114 k gstreamer1-plugins-good x86_64 1.19.3-1.fc35 updates 2.1 M libcanberra-gtk2 x86_64 0.30-26.fc35 fedora 25 k libcanberra-gtk3 x86_64 0.30-26.fc35 fedora 31 k p11-kit-server x86_64 0.23.22-4.fc35 fedora 190 k pipewire x86_64 0.3.40-1.fc35 updates 38 k pipewire-alsa x86_64 0.3.40-1.fc35 updates 62 k pipewire-jack-audio-connection-kit x86_64 0.3.40-1.fc35 updates 129 k pipewire-pulseaudio x86_64 0.3.40-1.fc35 updates 27 k tracker x86_64 3.2.1-1.fc35 updates 532 k tracker-miners x86_64 3.2.1-1.fc35 updates 875 k xdg-desktop-portal-gtk x86_64 1.10.0-2.fc35 updates 132 k Transaction Summary ================================================================================ Install 241 Packages Total download size: 177 M Installed size: 556 M Is this ok [y/N]: Is it possible to install ejabberd without all the dependencies that are ment for GUI applications, like libwayland , gtk , adwaita-icon-theme , ... Any hints? |
Samba share shows wrong disk free space Posted: 20 Nov 2021 10:01 AM PST I have a virtual machine that I use for a samba share at home. It stores the data on a shared folder from the host machine. Both on the host and guest machines, the total and available space for this specific (and the others) drive show up correctly. Host and Guest machines are running Debian 11. However, when I try to copy files to the samba share from my laptop, it says there's only 16GB free (vs 1.4TB actually free) and I am forced to use FTP connection. Laptop is running Ubuntu 20. All that I could try was what I found on stackechange that mentioned adding those two lines to the configuration dfree command = /usr/local/samba/bin/dfree allocation roundup size = 4096 Which I did, but without success. Below is my smb.conf file, if needed. # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Some options that are often worth tuning have been included as # commented-out examples in this file. # - When such options are commented with ";", the proposed setting # differs from the default Samba behaviour # - When commented with "#", the proposed setting is the default # behaviour of Samba but the option is considered important # enough to be mentioned here # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not made any basic syntactic # errors. #======================= Global Settings ======================= [global] dfree command = /usr/local/samba/bin/dfree allocation roundup size = 4096 ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP #### Networking #### # The specific set of interfaces / networks to bind to # This can be either the interface name or an IP address/netmask; # interface names are normally preferred interfaces = enp0s9 # Only bind to the named interfaces and/or networks; you must use the # 'interfaces' option above to use this. # It is recommended that you enable this feature if your Samba machine iss: cannot access '/usr/local/samba/bin': No such file or directory root@GC01fileSRVR:~$ # not protected by a firewall or is a firewall itself. However, this # option cannot handle dynamic or non-broadcast interfaces correctly. bind interfaces only = yes #### Debugging/Accounting #### # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # We want Samba to only log to /var/log/samba/log.{smbd,nmbd}. # Append syslog@1 if you want important messages to be sent to syslog too. logging = file # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ####### Authentication ####### # Server role. Defines in which mode Samba will operate. Possible # values are "standalone server", "member server", "classic primary # domain controller", "classic backup domain controller", "active # directory domain controller". # # Most people will want "standalone server" or "member server". # Running as "active directory domain controller" will require first # running "samba-tool domain provision" to wipe databases and create a # new domain. server role = standalone server obey pam restrictions = yes # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. unix password sync = yes # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. pam password change = yes # This option controls how unsuccessful authentication attempts are mapped # to anonymous connections map to guest = bad user ########## Domains ########### # # The following settings only takes effect if 'server role = primary # classic domain controller', 'server role = backup domain controller' # or 'domain logons' is set # # It specifies the location of the user's # profile directory from the client point of view) The following # required a [profiles] share to be setup on the samba server (see # below) ; logon path = \\%N\profiles\%U # Another common choice is storing the profile in the user's home directory # (this is Samba's default) # logon path = \\%N\%U\profile # The following setting only takes effect if 'domain logons' is set # It specifies the location of a user's home directory (from the client # point of view) ; logon drive = H: # logon home = \\%N\%U # The following setting only takes effect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be created on the domain controller via the SAMR # RPC pipe. The example command creates a user account with a disabled Unix # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u # This allows machine accounts to be created on the domain controller via the # SAMR RPC pipe. # The following assumes a "machines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created on the domain controller via the SAMR # RPC pipe. ; add group script = /usr/sbin/addgroup --force-badname %g ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m # Some defaults for winbind (make sure you're not using the ranges # for something else.) ; idmap config * : backend = tdb ; idmap config * : range = 3000-7999 ; idmap config YOURDOMAINHERE : backend = tdb ; idmap config YOURDOMAINHERE : range = 100000-999999 ; template shell = /bin/bash # Setup usershare options to enable non-root users to share folders # with the net usershare command. # Maximum number of usershare. 0 means that usershare is disabled. # usershare max shares = 100 # Allow users who've been granted usershare privileges to create # public shares, not just authenticated ones usershare allow guests = yes #======================= Share Definitions ======================= [MediaServer] comment = Home Directories browseable = yes path = /media guest ok = no read only = no create mask = 0600 directory mask = 0700 security = user encrypt passwords = yes Running ls /usr/local/samba/bin returns ls: cannot access '/usr/local/samba/bin': No such file or directory Running whereis samba returns samba: /usr/sbin/samba /usr/lib/x86_64-linux-gnu/samba /etc/samba /usr/share/samba /usr/share/man/man7/samba.7.gz /usr/share/man/man8/samba.8.gz |
How to use find with paths that are listed in a file while ensuring that spaces are taken care of? Posted: 20 Nov 2021 08:32 AM PST I have a list of paths that are in a file called pathlist.txt . It looks like so: /home/abc/dirA /home/abc/dirB /home/abc/dir with space /home/abc/dirX I need to find all files in each of those paths. The following approach works but only with paths that do not have spaces in them: find $(tr '\n' ' ' < pathlist.txt) -type f -printf "%p, %AY-%Am-%Ad \n" I tried setting IFS=$'\n' and some experimentation with xargs but no success. Any suggestions as to how to make sure that find accepts paths that have spaces (and possibly other special chars) in them? |
How can I prevent postfix from resending messages from its mailq when restoring from backup (can I delete them before restart?) Posted: 20 Nov 2021 08:48 AM PST I'm running a small application server (raspberry pi) with a btrfs subvolume as its root filessystem. This server has a simple postfix running to catch mails sent by the application and deliver them to the main server. This is so, if for any reason the main mail server is down or unreachable, application generated e-mails are not lost. These mails are to clients of the business. The application itself runs in a separate btrfs subvolume , as is /var/log . I say this because I use the btrfs subvolume snapshot on a regular basis to take a backup of the running root filesystem. This is tar'ed to another machine for safe keeping. As the main changes to the rootfs occur infrequently I currently do this weekly, but might drop back to only doing it monthly. I maintain this application server remotely for a small business. The most likely failure of this raspberry pi is the sd card corrupts. I had this happen to me on a raspberry pi on my home which acts as the main mail server for the home and despite having backups of every thing it still took me several days to restore properly. For this reason I am rethinking how to recover from such a failure on this application server with the minimal of down time. I am confident that should this server fail, that the office manager can take a spare pre-prepared sd card and replace the failed one. This would be sufficient for me to ssh into it, with a small "dummy" filesystem as the root, while I untar the final rootfs, update the /boot/cmdline.txt to boot into this new root (I get disconnected and have to reconnect obviously at this point). The only issue is that potentially, when the original tar backup was made, that the postfix mailq was non empty. I don't want the final reboot stage for postfix to startup notice that its queue is not empty and potentially send e-mails from a backup that could be a week (or even a month) old. In all the discussion about this questioners are told to use postsuper -d ALL , but by the time I can do that on a running system its too late, queued mails could well have already been sent! I am thinking maybe I could chroot into the new root and run postsuper from there before the reboot, but by the far the easiest would just be to delete the files; but I don't know which ones! What is the best way of dealing with this? |
USB Wifi Device state unavailable with cabled network connected Posted: 20 Nov 2021 10:15 AM PST First off, im a Linux n00b. I have read numerous posts about this but each seem different and none are working for me. I am using a Pandas N600 USB WiFi device for wifi on the Ubuntu20 machine and an Netgear A6210 USB WiFi on the Win10 machine and I am using an old Linksys Router for SSH access from a Windows machine to my Ubuntu server. My Wifi system uses a MR60 Netgear Mesh. With the network cable plugged in to the Linksys Router, the USB WiFi device state in nmcli becomes unavailable. I wish to use my WiFi device for my internet and my cable-based network for my SSH. Alternatively, I wish to SSH over the Home Wifi network (MR60 Mesh system), however I can not seem to get this working. Here is my 'ip a' output. ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 192.168.15.101/24 brd 192.168.15.255 scope global dynamic enp4s0 valid_lft 86158sec preferred_lft 86158sec valid_lft forever preferred_lft forever 3: wlx9cefd5fa961e: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 192.168.1.42/24 brd 192.168.1.255 scope global dynamic wlx9cefd5fa961e valid_lft 85926sec preferred_lft 85926sec I have also tried the UbuntuBonding guide on the community site, but the system does not recognize the 'bond0'. # eth0 is manually configured, and slave to the "bond0" bonded NIC auto enp4s0 iface enp4s0 inet manual bond-master bond0 # eth1 ditto, thus creating a 2-link bond. auto wlx9cefd5fa961e iface wlx9cefd5fa961e inet manual bond-master bond0 # bond0 is the bonded NIC and can be used like any other normal NIC. # bond0 is configured using static network information. auto bond0 iface bond0 inet static address 192.168.1.42 gateway 192.168.1.1 netmask 255.255.255.0 # bond0 uses standard IEEE 802.3ad LACP bonding protocol bond-mode 1 bond-miimon 100 bond-lacp-rate 1 bond-slaves enp4s0 wlx9cefd5fa961e |
Permission can't be changed on proc/version Posted: 20 Nov 2021 07:47 AM PST I had successfully installed Visual Studio Code on Fedora 33 and when I run it says this error:grep: /proc/version: Permission denied . Somewhere on the internet, I found that you have to execute this cat proc/version and it say cat: version: Permission denied . Then I tried nano proc/version but it failed to write. I tried chmod: cannot access 'version': Permission denied . What do I do now. |
How can I authenticate on my schools WPA2 Enterprise EAP-TLS network? Posted: 20 Nov 2021 08:03 AM PST I'm running fedora 34 with compatible drivers for my intel wifi card. The school uses Aruba's Clearpass and Onboard for configuration. Upon completion of the config it gives me a pkcs12 file and a 7 digit password for the pkcs12. On mac you merely double click and install the certificate and it auto-configures an 802.1X config, but with linux it doesn't. The pkcs12 contains a private key (RSA 2048) and a x509 certificate. Is there a way I can configure a network solely based on the pkcs12? Any help will be appreciated. |
How to pass username and password of a bitbucket repository to a shell script triggered via jenkins Posted: 20 Nov 2021 11:00 AM PST I am trying to create a Jenkins job that will trigger a shell script via the option Send files or execute commands over SSH in Jenkins. The following is the main part of my shell script: #!/bin/bash BRANCH=$1 cd /vm/deployment git clone https://myuser@bitbucket.org/myuser/proj.git #updating the common property files cd /vm/deployment/swcm-properties git reset --hard HEAD #git pull ${BRANCH} git fetch && git checkout ${BRANCH} git pull My problem here is that the execution fails since I am unable to pass the password and username for the repository for the clone to work. I found an option to set the username and password as global credentials and made the following configurations: When I try to execute the following shell script, which is saved on the server, I get the following error: #!/bin/bash git clone https://$uname:$pass@bitbucket.org/mysuer/myrepo.git remote: Invalid username or password fatal: Authentication failed for 'https://:@bitbucket.org/****/myrepo.git/' What is the best approach to pass the username and password and trigger a git clone from a Bitbucket repository using Jenkins. |
Linux usb wifi adapter not working - rtl88x2bu Posted: 20 Nov 2021 10:02 AM PST I recently got Linux installed on my laptop and noticed that I couldn't get wifi connection because "No wifi adapters found", and so I bought a USB wifi adapter online(here). I looked online for drivers for the adapter and the common result I got was this driver and so I followed the instructions written in the ReadMe for DKMS installation, but even after completing the last step, my laptop still wasn't able to detect the adapter. Ubuntu version: Ubuntu 18.04.3 LTS I clicked the link for both the driver and the adapter and both were working fine. The full name of the adapter: XVZ USB WiFi Adapter, 600mbps Dual Band 2.4G/ 5G Wireless Adapter, Mini Wireless Network Card WiFi Dongle for Laptop/Desktop/PC, Support Windows10/8/8.1/7/Vista/XP/2000, Mac OS X 10.6-10.13 text link: https://www.amazon.com/XVZ-Adapter-Wireless-Windows10-10-6-10-13/dp/B07QC3XQHW One thing I noticed was on the name it doesn't mention Linux, but in the product description, Linux was indeed listed as one of the supported OS. There was a driver disk that came with the USB, but my laptop unfortunately doesn't have a disk drive. On the disk it had 8811CU/8812BU as version/type and when I tried lsusb , the product appears to be of Realtek. The closest driver I found online that's compatible with Linux is that one, but I'm not 100% sure it's the right one. |
Password for Manjaro Posted: 20 Nov 2021 09:01 AM PST When installing Manjaro from a bootable USB stick, it asks for a password. I googled and found: unsername: manjaro password: manjaro username:root password: manjaro Nothing works. Now I have installed several Linux distros but no one asked for a password, but instead it asked to create my own password. It is practically impossible to install Manjaro. Does anybody know that password ? Thx |
Forward traffic coming into dummy interface on to another interface(?) Posted: 20 Nov 2021 08:05 AM PST Can I forward traffic coming into a dummy interface on to another interface? Or is it not a real interface at all even? Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT all -- dummy0 eth6 anywhere anywhere 0 0 ACCEPT all -- eth6 dummy0 anywhere anywhere I want all traffic reaching eth6 to go to dummy0, and all traffic reaching dummy0 to go to eth6. Should I be doing something else really? (I can't use bridges or bonding). |
Save all the terminal output to a file Posted: 20 Nov 2021 08:17 AM PST Is there some way of saving all the terminal output to a file with a command? - I'm not talking about redirection
command > file.txt - Not the history
history > file.txt , I need the full terminal text - Not with hotkeys !
Something like terminal_text > file.txt |
Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode) Posted: 20 Nov 2021 07:49 AM PST How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" and background_fsck="NO" in /etc/rc.conf don't do anything. My root file system is not clean and has a lot of errors (due to a power outage - unexpected shutdown, not because hard drive or hardware are bad). fsck shows errors: root@host2:/usr/home/alex # fsck ** /dev/mirror/gm0p2 (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=8268305 OWNER=root MODE=140777 SIZE=0 MTIME=Jun 6 21:58 2014 CLEAR? no [skipped 100+ lines] I don't have physical or KVM access to the server. This is gmirror ed drive FreeBSD host2.domain.tld 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # Device Mountpoint FStype Options Dump Pass# /dev/mirror/gm0p2 / ufs rw 1 1 /dev/mirror/gm0p3 none swap sw 0 0 |
Using Munpack to extract attachments of specific file type (Debian/Squeeze) Posted: 20 Nov 2021 09:01 AM PST I configured Munpack on my Debian/Linux to extract attachments from incoming emails. (For additional context, Getmail fetches the emails and pipes it to Procmail . A Procmail recipe then pipes it to Munpack .) | munpack -q -C directory/ For some reason, when I get emails with (a) inline attachments (usually images ) AND (b) document attachments (usually .csv ), the .csv files are completely ruined. (Note that this issue doesn't arise when there is only one attachment, which typically is a .xls file. Is there a way to configure Munpack to: 1. Save **ONLY** attachments with the `.csv` extension in the email. 2. Make sure that the **.csv** files are saved as is. |
What could be causing make to hang when compiling on multiple cores? Posted: 20 Nov 2021 09:33 AM PST Yesterday I was trying to compile the ROOT package from source. Since I was compiling it on a 6 core monster machine, I decided to go ahead and build using multiple cores using make -j 6 . The compiling went smooth and really fast at first, but at some point make hung using 100% CPU on just one core. I did some googling and found this post on the ROOT message boards. Since I built this computer myself, I was worried that I hadn't properly applied the heatsink and the CPU was overheating or something. Unfortunately, I don't have a fridge here at work that I can stick it in. ;-) I installed the lm-sensors package and ran make -j 6 again, this time monitoring the CPU temperature. Although it got high (close to 60 C), it never went past the high or critical temperature. I tried running make -j 4 but again make hung sometime during the compile, this time at a different spot. In the end, I compiled just running make and it worked fine. My question is: Why was it hanging? Due to the fact that it stopped at two different spots, I would guess it was due to some sort of race condition, but I would think make should be clever enough to get everything in the right order since it offers the -j option. |
No comments:
Post a Comment