prompt stringlengths 1 63.6k | completion stringlengths 1 53.1k |
|---|---|
Hello, I'd like to know how its possible if there isn't installed exim4 on my system, please look at my image: Thanks for the answer! | phoenix_art wrote:Originally my problem is I would like to use psad without exim4 on my system but I can't reinstall psad with this option yet. Any suggestions? If you don't need MTA-specific tasks, such as queuing, etc. and you just want to be able to send e-mails via a mail relay, I can recommend nullmailer. The configuration is extremely easy, and it works as it should. |
Hi, I was using Debian 9 with no network problems, installed Debian 10 (with non-free firmware like I always do) in place of it, and the wifi network started not working. It even sees the networks but doesn't connect to it. In the installation it showed it as a problem of not recognizing DHCP. I then installed Linux Mint Debian Edition, Debian Bullseye/Sid (Testing), Ubuntu 20.04, Debian 9 again and used Fedora live image but the Internet doesn't work in none of them. I'm using Windows 10 (it's a dual boot) and it's working on it. I don't know how to solve this. I tried to remove MAC address randomization but it didn't solved it. | desbian wrote:I tried to remove MAC address randomization How exactly were you randomising the MAC address and how did you remove this configuration? Perhaps check the router, mine ran out of slots to assign when I randomised the MAC address in my Debian buster box and would not allow it to connect until I deleted some slots and disabled the randomisation (via systemd-networkd in my case). |
As root I can easily show which VM's are running with the command "sudo virsh list --state-running" or "sudo virsh list --all" Code: Select allpeer@debian:~$ sudo virsh list --state-running [sudo] password for peer: Id Name State -------------------------- 1 Debian10 running How can I get the same information as user without sudo??????? | Code: Select all$ virsh --connect qemu:///session list --state-running ...or just -c |
Dear All, Please also refer to this http://forums.debian.net/viewtopic.php?f=5&t=146620 I run debian stable+backports on my system. Below is my source list Code: Select all$ cat /etc/apt/sources.list deb http://httpredir.debian.org/debian stable main contrib non-free deb-src http://httpredir.debian.org/debian stable main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://httpredir.debian.org/debian stable-updates main contrib non-free deb-src http://httpredir.debian.org/debian stable-updates main contrib non-free # Backports repository deb http://httpredir.debian.org/debian buster-backports main contrib non-free #proposed updates ## deb http://deb.debian.org/debian/ stretch-proposed-updates main contrib non-free # CRAN repository deb https://stat.ethz.ch/CRAN/bin/linux/debian buster-cran40/ I installed the 5.8 kernel and the nvidia+cuda stuff as described here https://wiki.debian.org/NvidiaGraphicsD ... 2Buster.22 and here https://wiki.debian.org/NvidiaGraphicsD ... uster.22-1 and I have been living happily ever since. Today, after a standard update, this is what I see Code: Select allReading state information... Done 10 packages can be upgraded. Run 'apt list --upgradable' to see them. and Code: Select all$ sudo apt list --upgradable Listing... Done libcufft10/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] libcufftw10/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] libcupti-dev/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] libcurand10/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] libnvidia-ml-dev/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] libnvtoolsext1/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] nvidia-cuda-dev/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] nvidia-cuda-toolkit/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] nvidia-profiler/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] nvidia-visual-profiler/buster-backports 11.1.1-3~bpo10+1 amd64 [upgradable from: 10.2.89-5~bpo10+1] however, after an apt upgrade, I see Code: Select all The following packages have been kept back: libcufft10 libcufftw10 libcupti-dev libcurand10 libnvidia-ml-dev libnvtoolsext1 nvidia-cuda-toolkit nvidia-profiler nvidia-visual-profiler 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. So something beyond a normal upgrade is needed. If I try running a full upgrade, I see this Code: Select allThe following packages will be REMOVED: libaccinj64-10.2 libcuinj64-10.2 libcupti10.2 nvidia-cuda-dev nvidia-cuda-toolkit The following NEW packages will be installed: libaccinj64-11.1 libcuinj64-11.1 libcupti11.1 The following packages will be upgraded: libcufft10 libcufftw10 libcupti-dev libcurand10 libnvidia-ml-dev libnvtoolsext1 nvidia-profiler nvidia-visual-profiler 8 upgraded, 3 newly installed, 5 to remove and 0 not upgraded. Need to get 297 MB of archives. After this operation, 1,163 MB disk space will be freed. Do you want to continue? [Y/n] but this looks dangerous: cuda will be gone after that. Any piece of advice? Is there anything I am supposed to do? I can do nothing or should I erase the cuda and nvidia stuff and reinstall? I can try anything as long as 1) my box remains bootable with a graphical desktop 2) I can somehow reinstall nvidia driver and cuda as I did following the debian wiki. Thanks for any suggestion! | Finally, it was easier to remove *cuda* and *nvidia* and reinstall again following the wiki. No need to challenge the gods of nvidia with a direct update! |
Hello, I've used Ubuntu in the past and have moved just now to Debian for first time. The internal wireless on my laptop does not work, so I bought a wireless adapter that's supposed to be Linux compatible. The model is TL-WN725N (tp-link) I've discovered the manufacturer does not provide an official driver for Debian. Searched online, and found : https://github.com/ilnanny/TL-WN725N-TP-Link-Debian I assumed (hope) that this was trustworthy, so following the instructions for install - Dependencies : ---------------------- 0. I've run apt update, apt upgrade and apt dist-upgrade : they seem to be saying everything is up-to-date 1. I think I managed to install build-essential 2. apt-get install linux-headers-$(uname -r) : this has been a problem, I'm assuming this is the point where am stuck at the moment. I've detailed my attempt at the end, since I've not been able to resolve #2 well, I hoped the headers were present, went ahead and cloned the repository, moved to the directory and ran : make all I get this from the terminal : make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-3-amd64/build M=/home/kaushan/TL-WN725N-TP-Link-Debian modules make[1]: *** /lib/modules/5.9.0-3-amd64/build: No such file or directory. Stop. make: *** [Makefile:147: modules] Error 2 I don't get this error well but assumed it was header file related. ------------------------------------------------------------------------------------- When I run- apt-get install linux-headers-$(uname -r) I get: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-5.9.0-3-amd64 E: Couldn't find any package by glob 'linux-headers-5.9.0-3-amd64' E: Couldn't find any package by regex 'linux-headers-5.9.0-3-amd64' I searched for solution online, running- apt-cache search linux-headers -prints a list there is no entry specifically ( linux-headers-5.9.0-3-amd64 ) there are headers entries for version 4 but not 5. uname -r prints out : 5.9.0-3-amd64 I believe I installed the Debian testing version - lsb_release -a prints as below: No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux bullseye/sid Release: 10.7 Codename: buster trying to install linux headers generic did not work. Searching https://packages.debian.org : I found Package linux-headers-5.9.0-3 ( but for sid (unstable) ) I found Package linux-headers-5.9.0-4-amd64 (but says bullseye not buster, and its 0-4 not 0-3 (?) Is 0-3 included in 0-4? would it be compatible? package manager seems to indicate, linux-headers-4.19.0-13-amd64 ,and, linux-headers-4.19.0-13-common are installed by default tried installing linux-headers-amd64, but 'make all' gave the same error I'm not even sure its the headers that are the problem here. Can you please help, at least to clarify. | You have a bit of a mix up in your sources list. Bullseye= Testing Buster= Stable Don't mix your Repositories. |
Hello. I installed Debian 10, LXDE, i386 on computer DELL latitude d610. WIFI is BCM4318 Previously I had on the same computer Debian 7 Wheezy installed in 2016 if I remember correctly. I remember that at that time I had a lot of trouble to make the wifi work but I don't remember any more how I achieved this. On beginning of installation There was message that not-free firmware missing. After installation wifi doesn't work. I read the instruction https://wiki.debian.org/bcm43xx#b43-b43legacy I installed firmware-b43-installer. (I had to temporarily enable contrib, non-free) I see that there are files created in /lib/firmware/b43. Good. Even after reboot, wifi still doesn't work. I checked in BIOS setup if wifi is enabled. It is. I checked, it appears in lspci, lsmod: Code: Select allb@balt2:~$ lspci | grep 43 03:03.0 Network controller: Broadcom Limited BCM4318 [AirForce 54g] 802.11a/b/g PCI Express Transceiver (rev 02) b@balt2:~$ lsmod | grep 43 nls_cp437 16384 2 b43 385024 0 bcma 45056 1 b43 mac80211 569344 1 b43 cfg80211 503808 2 b43,mac80211 rng_core 16384 1 b43 zstd_compress 143360 1 btrfs ssb 61440 1 b43 mmc_core 122880 2 b43,ssb In ifconfig, iwconfig: Code: Select allb@balt2:~$ sudo ifconfig -a enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.136 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::214:22ff:fec3:7bbe prefixlen 64 scopeid 0x20<link> ether 00:14:22:c3:7b:be txqueuelen 1000 (Ethernet) RX packets 2826 bytes 1856882 (1.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2102 bytes 266470 (260.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 10 bytes 558 (558.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 10 bytes 558 (558.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 00:14:a5:45:d1:01 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 b@balt2:~$ sudo iwconfig wlan0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off enp2s0 no wireless extensions. lo no wireless extensions. Ok, so the interface exists and is seen by system, apparently. I try the up Code: Select allb@balt2:~$ sudo ifup wlan0 ifup: unknown interface wlan0 b@balt2:~$ sudo ifconfig wlan0 up ifup doesn't work. ifconfig does. I don't know why. After this the wifi LED turns on. I don't want to do this manually. I want this to happen automatically. So I add "auto wlan0" to /etc/network/interfaces and .d/setup: Code: Select allb@balt2:~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug enp2s0 iface enp2s0 inet dhcp #wifi on after the auto wlan0 b@balt2:~$ cat /etc/network/interfaces.d/setup auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 This doesn't help. Still, only "ifconfig wlan0 up" can turn on. Second problem: Even after "ifconfig wlan0 up" wifi still doesn't work. The only visible change is that the wifi LED turns on. But if i click the "Wicd Network Manager" I still see "No wireless network found." I don't know what to do next. I did read some threads that appeared after search for bcm4318 on this forum but there was not a solution for me. I would want the wifi to work correctly. I have a full copy of the partition of old system Debian 7 wheezy from before today's installation, on a USB harddisk. I should be able to boot from it if needed. (but usb is slower than normal disk, the copying was happenning at about 4MB/s) So if I need to obtain some information from the old working setup, I still should have the possibility. Only that I do not know what to do. Thanks in advance for any help. | https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK EDIT: I think wicd might ignore the interface if it's listed in /etc/network/interfaces so if you want to use that instead of ifupdown then just remove your erroneous configuration attempt from that file. |
This is a summary of wht has been done. Copied the latest 10.7 netinst iso to USB stick using: Code: Select alldd if=netinst.iso of=/dev/sdc;sync The stick worked like a charm, exactly as a CD. Installationi finished successfully, I started it under Secure Boot, that is what this firmware calls UEFI. However the hard drive does not boot, with UEFi enabled or diabled. Please note that previous to installation I not only deleted partition table but filled drive with zeros, in order not to let any previous installation contaminate this one. I think I took all possible safeguards so cannot understand what is missing, From googlineg problem I think I have to fix GRUB but don't know how to do this. Thank you. | ckosloff wrote:I think I have to fix GRUB but don't know how to do this. That's where I'd start. Do you even have Grub? Did you install it in the right place? I ask because I once managed to install grub to a different drive. |
Dear All, Apologies for the long post. Right now on my box (debian stable) I use a rather seasoned graphic card. Code: Select all$ lspci | grep -i --color 'vga\|3d\|2d' 05:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1) I do not use it for gaming or gpu computing. I have nothing from nvidia installed and no issues whatsoever with nouveau. However, I cannot use this card for GPU computing. Soon (hopefully tomorrow given when I write this) I will get a gtx 1070 with 8Gb of memory which will be enough at least to get me started. Leaving aside the issues of using 2 cards on my box, for now I just plan to replace the old card. It appears that for a number of algorithms I need to install nvidia-driver, see for instance https://catboost.ai/docs/installation/c ... aries.html At the moment, these are the kernels installed on my system Code: Select all$ dpkg --list | grep linux-image | grep ii ii linux-image-4.19.0-9-amd64 4.19.118-2+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed) ii linux-image-5.7.0-6.4-liquorix-amd64 5.7-6.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-liquorix-amd64 5.7-6.1~buster amd64 Linux image for liquorix on 64-bit PCs I need several words of wisdom. I am number person, but not a software engineer. My goal is to get the bare minimum installed so that in some code I can set up a flag for GPU and forget about it. In the past, I had no end of trouble with nvidia and company, in particular when installing a new kernel. The dream would be to install the nvidia stuff that I need and then whenever a new kernel is available, having everything automagically setup for the new kernel. The nightmare is not to be able to raise any graphical desktop on my system. I suppose the reality is in the middle. If there no support in debian for nvidia-driver for kernels 5.7.x, but I can get it to work with the 4.19 kernel, well, I can live with that. I still would like my system to be bootable an usable regardless of the kernel I load (if then I need 4.19 for GPU computing, I will accept that). Finally, in case it helps, I add this link http://rglinuxtech.com/?p=2761 and I should say I have zero experience in installing drivers directly provided from nvidia. Any suggestion is appreciated! | The GTX 1070 is supported by the standard non-free 418.113 driver in the non-free section of the Debian repos. Install and run nvidia-detect first to confirm that, then install per the wiki: https://wiki.debian.org/NvidiaGraphicsDrivers For CUDA, follow the wiki instructions. |
Cannot install virtualbox and I need it, please help Code: Select allroot@crosshair:/Data/Downloads/vbox# dpkg -i virtualbox-6.1_6.1.16-140961~Debian~buster_amd64.deb Selecting previously unselected package virtualbox-6.1. (Reading database ... 191898 files and directories currently installed.) Preparing to unpack virtualbox-6.1_6.1.16-140961~Debian~buster_amd64.deb ... Unpacking virtualbox-6.1 (6.1.16-140961~Debian~buster) ... Setting up virtualbox-6.1 (6.1.16-140961~Debian~buster) ... Adding group `vboxusers' (GID 125) ... Done. This system is currently not set up to build kernel modules. Please install the gcc make perl packages from your distribution. Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system. The distribution packages containing the headers are probably: linux-headers-amd64 linux-headers-4.19.0-12-amd64 This system is currently not set up to build kernel modules. Please install the gcc make perl packages from your distribution. Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system. The distribution packages containing the headers are probably: linux-headers-amd64 linux-headers-4.19.0-12-amd64 There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. If your system is using EFI Secure Boot you may need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. Processing triggers for systemd (241-7~deb10u4) ... Processing triggers for mime-support (3.62) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for shared-mime-info (1.10-1) ... root@crosshair:/Data/Downloads/vbox# | stevepusser wrote:Since beginners probably have no idea True enough but OP joined in 2011 and has 489 posts. At what point do you progress from beginner to help vampire? |
So i am pretty sure i installed this system using uefi but on another computer I have since moved the hard drive to another compuetr. The first inkling that things weren’t right was when I booted into the BIOS to find the drive is not seen in UEFI but only when Legacy mode is also included. It boots in Legacy mode. The disk is partitioned as Code: Select allDevice Boot Start End Sectors Size Id Type /dev/sda1 * 2048 206847 204800 100M b W95 FAT32 /dev/sda2 206848 468860927 468654080 223.5G 83 Linux /dev/sda1 is mounted on /boot/efi But when I try run # grub-install /dev/sda Code: Select allgrub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory. The installed grub packages # dpkg -l | grep grub Code: Select allii grub-common 2.02+dfsg1-20+deb10u2 amd64 GRand Unified Bootloader (common files) ii grub-customizer 5.1.0-3 amd64 GUI to configure GRUB2 and BURG ii grub-efi 2.02+dfsg1-20+deb10u2 amd64 GRand Unified Bootloader, version 2 (dummy package) ii grub-efi-amd64 2.02+dfsg1-20+deb10u2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version) ii grub-efi-amd64-bin 2.02+dfsg1-20+deb10u2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 modules) ii grub-efi-amd64-signed 1+2.02+dfsg1+20+deb10u2 amd64 GRand Unified Bootloader, version 2 (amd64 UEFI signed by Debian) hi grub2-common 2.02+dfsg1-20+deb10u2 amd64 GRand Unified Bootloader (common files for version 2) I installed the signed and customizer packages after the problems So to try and resolve this I picked up what is believed should work. Using the debian 10 live dvd, I chroot into the system Code: Select all# mount /dev/sda2 /mnt # mount /dev/sda1 /mnt/boot/efi # for name in proc sys dev; do mount --bind /$name /mnt/$name; done # chroot /mnt /bin/bash # mount -t efivarfs efivarfs /sys/firmware/efi/efivars # grub-install /dev/sda Grub reports no errors. I can see there are files in /sys/firmware/efi/efivars But of course when I reboot I get the error above Some other things I have looked at # modprobe efivars Code: Select allmodprobe: ERROR: could not insert 'efivars': No such device # efivar -l Code: Select allefivar: error listing variables: Function not implemented # efibootmgr Code: Select all EFI variables are not supported on this system. Is there anything else I can do to get efivars onto the system? I assume that copying the efivar folder in /sys won't help. | I tend to doubt that you installed efi the first time. For that, you need two FAT32 partitions, one for /boot and one for /boot/efi. You show only a boot partition. I'm far from expert on this, but I think you need to repartition to get efi to work. |
Hi I noticed that some IPs are trying to connect to my IMAP/SMTP server (SASL) many times but in a larger time frame than the usual 5-15 minutes window, so I decided to have two jails for these services : one jail for the small time frame that will look for 3 failures in 5 minutes and one for the large time frame (a day) that would look for 10 failures. Here's my jail.local, in particular see dovecot and dovecot-long Code: Select allroot@messagerie[10.10.10.19] ~ # cat /etc/fail2ban/jail.local [DEFAULT] action = shorewall ignoreip = 127.0.0.1/8 10.10.10.0/24 172.16.0.0/16 192.168.0.0/16 # ychaouche # le default est à 10 minutes, # je l'ai mis à 1 journée. bantime = 86400 [postfix-sasl] enabled = true port = all filter = postfix-sasl #action = shorewall logpath = /var/log/mail.warn maxretry = 3 findtime = 600 [postfix] enabled = true port = all filter = postfix logpath = /var/log/mail.log [dovecot] enabled = true port = all filter = dovecot logpath = /var/log/dovecot.log [dovecot-long] findtime = 86400 maxretries = 10 # 5 days bantime = 432000 enabled = true port = all filter = dovecot logpath = /var/log/dovecot.log [ssh] port = all root@messagerie[10.10.10.19] ~ # Here are my default values from jail.conf (minus comments) Code: Select all[DEFAULT] ignoreip = 127.0.0.1/8 ignorecommand = bantime = 600 findtime = 600 maxretry = 3 What I have found out is that fail2ban is banning some IPs that have less than the required maxretries (10), for example this IP Code: Select allroot@messagerie[10.10.10.19] ~ # grep 113.195.181.126 /var/log/fail2ban.log 2017-08-23 15:33:54,153 fail2ban.actions[10631]: WARNING [dovecot-long] Ban 113.195.181.126 2017-08-23 15:40:04,878 fail2ban.actions[10631]: WARNING [dovecot-long] Unban 113.195.181.126 2017-08-23 15:58:59,699 fail2ban.actions[10631]: WARNING [dovecot-long] Ban 113.195.181.126 root@messagerie[10.10.10.19] ~ # Has been banned although it has only 5 spaced attempts (spaced on 4 days) Code: Select allroot@messagerie[10.10.10.19] ~ # grep auth.failed.*113.195.181.126 /var/log/dovecot.log Jul 30 16:33:13 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<blank_control@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<cUp2oYpVVwBxw7V+> Aug 20 09:32:41 imap-login: Info: Disconnected (auth failed, 1 attempts in 6 secs): user=<blanc_antenne@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<Op07NCtXaABxw7V+> Aug 22 16:39:48 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<blanc_antenne@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS: Disconnected, session=<nZ5jZ1lXiwBxw7V+> Aug 22 19:37:28 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<a.chaouche>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<ilDF4ltX4gBxw7V+> Aug 23 01:19:30 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<aine3>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS: Disconnected, session=<WTL7qWBXzgBxw7V+> root@messagerie[10.10.10.19] ~ # grep auth.failed.*113.195.181.126 /var/log/dovecot.log | wc -l 5 root@messagerie[10.10.10.19] ~ # Here's the grep on the IP address alone if you wish to investage more Code: Select allroot@messagerie[10.10.10.19] ~ # grep 113.195.181.126 /var/log/dovecot.log Jul 30 16:33:13 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<blank_control@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<cUp2oYpVVwBxw7V+> Aug 20 09:32:41 imap-login: Info: Disconnected (auth failed, 1 attempts in 6 secs): user=<blanc_antenne@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<Op07NCtXaABxw7V+> Aug 22 16:39:41 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=nZ5jZ1lXiwBxw7V+ lip=10.10.10.19 rip=113.195.181.126 lport=993 rport=24715 Aug 22 16:39:44 auth-worker(10354): Debug: sql(blanc_antenne@mydomain.tld,113.195.181.126): query: SELECT email as user, password FROM users WHERE email = LOWER('blanc_antenne@mydomain.tld') Aug 22 16:39:44 auth-worker(10354): Info: sql(blanc_antenne@mydomain.tld,113.195.181.126): unknown user Aug 22 16:39:48 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<blanc_antenne@mydomain.tld>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS: Disconnected, session=<nZ5jZ1lXiwBxw7V+> Aug 22 19:37:21 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=ilDF4ltX4gBxw7V+ lip=10.10.10.19 rip=113.195.181.126 lport=993 rport=22498 Aug 22 19:37:24 auth-worker(10354): Debug: sql(a.chaouche,113.195.181.126): query: SELECT email as user, password FROM users WHERE email = LOWER('a.chaouche') Aug 22 19:37:24 auth-worker(10354): Info: sql(a.chaouche,113.195.181.126): unknown user Aug 22 19:37:28 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<a.chaouche>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS, session=<ilDF4ltX4gBxw7V+> Aug 23 01:19:23 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=WTL7qWBXzgBxw7V+ lip=10.10.10.19 rip=113.195.181.126 lport=993 rport=50638 Aug 23 01:19:27 auth-worker(10354): Debug: sql(aine3,113.195.181.126): query: SELECT email as user, password FROM users WHERE email = LOWER('aine3') Aug 23 01:19:27 auth-worker(10354): Info: sql(aine3,113.195.181.126): unknown user Aug 23 01:19:30 imap-login: Info: Disconnected (auth failed, 1 attempts in 7 secs): user=<aine3>, method=PLAIN, rip=113.195.181.126, lip=10.10.10.19, TLS: Disconnected, session=<WTL7qWBXzgBxw7V+> root@messagerie[10.10.10.19] ~ # Any idea on why fail2ban is doing this ? | Can't investigate this anymore anyway, config has changed. |
Dear Debian, Some of postfix logs are missing from both /var/log/mail.log and /var/log/syslog. The missing log lines are from qmgr and smtpd. Those two services were running in chroot, but then Viktor Duchovni suggested I run them unchrooted, which I did. I change master.cf file accordingly (putting the n in the right column) and restarted both postfix and rsyslog but the lines are still missing. What do you suggest ? Links 1. Discussion on postfix mailing list : http://marc.info/?l=postfix-users&m=148888501908461&w=2 -- yassine. | Can't really remember how I solved this. |
Hi all. I've just installed a fresh Buster (debian 10) on a dell studio 1555 (using the netinst non-free CD image) and the install went perfectly. I've edited /etc/network/interfaces to add a stanza for my "Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express)" nic (pci id: 168c:002a), thus: Code: Select allauto wlp4s0 iface wlp4s0 inet dhcp wpa-ssid myssid wpa-psk mypsk To make sure that I have got it right, I then: Code: Select allifup wlp4s0 ; ping -c 1 8.8.8.8 ; ifdown wlp4s0 twenty times, and because this line completes quickly (approx 5-6 seconds) every time, I am happy. I then reboot. During the boot, I see "A start job is running for Raise network interfaces" and a counter which counts up for between approx 90 and 120 seconds, after which the boot completes. How can I debug this delay/pause? (I don't understand how raising the network interface can take so long if the ifup completes so quickly). Thank you! ##### Edited 1st October: it turns out that my "boot delay" / "slow boot" / "boot pause" problem was just another instance of the "Boottime Entropy Starvation" issue. (I'm guessing that wpa-supplicant couldn't connect as it was blocking on requesting random data from the kernel, which in turn was blocking on the entropy generator). I installed the havege daemon ("sudo apt install haveged") and the problem has disappeared! More info: https://www.debian.org/releases/stable/ ... starvation https://daniel-lange.com/archives/152-hello-buster.html | Try to change the first line Code: Select allauto wlp4s0 to Code: Select allallow-hotplug wlp4s0 I am not sure, that it will help you (but it cannot harm). |
Dear All, I made a mess and I need some help Below you can find the configuration of my box until not long ago. Code: Select all$ df -T Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 16380328 0 16380328 0% /dev tmpfs tmpfs 3281684 9736 3271948 1% /run /dev/sdc1 xfs 68324768 23748600 44576168 35% / tmpfs tmpfs 16408420 485280 15923140 3% /dev/shm tmpfs tmpfs 5120 4 5116 1% /run/lock tmpfs tmpfs 16408420 0 16408420 0% /sys/fs/cgroup /dev/sdc3 xfs 2831227196 1126631988 1704595208 40% /home /dev/sdb1 xfs 2928834296 508384704 2420449592 18% /home/lorenzo/toshiba2 /dev/sda1 ext4 2884152536 196890092 2540732808 8% /home/lorenzo/extra For various reasons, I decided to format the hard dist /dev/sda1 to xfs and I did that with gparted. Now, when I restart the workstation, I get a message that Code: Select allA start job is running for /dev/dis..85287b21f7f9 and then the system boots into emergency mode. Any way to fix this (I would like to avoid something drastic as a reinstall). Many thanks! | /dev/dis..85287b21f7f9 This may be the UUID of the original format. When you reformatted to xfs the part was given a new uuid. I assume you somehow copied over the original files, and expected it to boot. If you are getting to grub, and seeing this error as the system tries to load your ok. You need to record the new uuid, pen and paper, then press 'e' in grub and enter the uuid in maybe three places, maybe change ro to 'r' on the right line and it will boot into the desktop, then run update-grub? Sounds about right!? shooting from memory...and now we're in this thread... On second thought, if this drive is not root, then get to the recovery prompt and log in to the cli and edit fstab's entry for that disc.. |
On Debian stable I find that if I fat-finger the password while trying to SSH into another Debian box that I am completely locked out of that machine for a period, maybe 5-10 minutes. That means that I can not ping the computer I am attempting to ssh in to, the terminal tab that I am attempting to log in from is frozen, and far and away most annoyingly, any mounted samba shares from the server lock up and the machine I am attempting to log in from basically becomes unresponsive until I force dismounting the samba share. This seems a rather extreme penalty for a single failed attempt to login to ssh. If this happened after 3 failed ssh password attempts, fine, you want to prevent brute-force logins. But a single mucked up password on a home system behind a router's firewall? I've looked at the files in /etc/ssh & /etc/pam.d and messed with the man pages for ssh, ssh_config, & sshd_config & did a web search and a cursory search of this august forum and all I got was a sore noggin. I suspect this is some sort of PAM setting? Can someone please belt me with a clue-stick? | Do you control the server? Did you install fail2ban, ssh-guard or any such tool? If yes, you may have to make the settings a bit less extreme... |
I noted a recent update removed "libvirt-daemon-system" and now when I start Virtual Machine Manager the list of my VM's is missing and instead I see QEMU/KVM - Not ConnectedIf I go to re-install libvirt-daemon-system I get a popup of additional changes required. It is going to remove nftables and install firewalld ipset and a bunch of other things does anyone have an inkling of why this is happening .... am I safe to reinstall "libvirt-daemon-system" and allow these other changes? | Ahhh, specify a little better...upgraded what? What release? libvirt-daemon-system requires iptables, check if installed. Also check #libvirtd output for a line ...Authorization: Action org.libvirt.unix.manage is not registered |
I am refurbishing an old Lonovo x130e Thinkpad for a friend which i don't use anymore. I installed Debian 9 xfce on it, since it light weight on ram. I can log in fine, but when i put the laptop to sleep (suspend), when i wake it up and login, the login screen appears fine, but after i enter the user name and password, then i get a black screen. If i put it to sleep again, then log in as root, i can force log out the other account with Code: Select allskill -KILL -u <username> Then i can logout as root, and log into the other account. The other account works fine. Same this happens to root, if i put the computer to sleep as root I get a black screen. But if i use Code: Select allsudo skill -KILL -u root from user account it must kill root processes, was forced out of user account, and when i get back in, no icons just blank page. I was wondering if there was a fix, | manny6 wrote: But if i use Code: Select allsudo skill -KILL -u root from user account it must kill root processes, was forced out of user account, and when i get back in, no icons just blank page. Some kind of nonesense. How can a simple user, with increased privileges finish the root process? It may be that I'm wrong, but you have something in the system. Something very bad. |
Hello, I'm very new in LAMP and Wordpress so please don't laugh too much So I followed this guide: https://wiki.debian.org/WordPress (first basic setup, then used script) and somehow I managed to get my home server and my Wordpress site up: "Just another WordPress site", "Hello World!", wow... but. There is always some but, of course. For whatever newbie reason, I can't reach my site locally I do localhost/wp in browser as said in guide, but just get "Not Found The requested URL was not found on this server." I tried alot of variations like localhost/wp-content, localhost/wp-admin and so on, but no site. I repeat, I can access it from outside of my home network, or by Tor. But where is it locally? Please help! Thanks in advance, JD | If your wordpress vhost is not the default one on the server, check the 'server name' directive in the vhost definition matches what you are requesting when connecting "locally". Either add a 'server alias' that does, or use a local DNS or hosts file entry to map the server name to local ip. |
Hi, I have just installed Debian Buster after a number of years with other distributions. I am getting a problem (and I am guessing it's samba) where I can see (and use) our Windows10 box's shares, but I cannot access it's printer. This has worked fine for a number of years using Mint but has often been the last problem solved when using a new distro. The following is one error message of many (when I changed smb.conf) smbclient -L //192.168.0.2 -U roger Unable to initialize messaging context Enter WORKGROUP\roger's password: Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin Brother Printer HL-1110 series C$ Disk Default share Canon Printer Canon MX870 series Printer IPC$ IPC Remote IPC jessica Disk print$ Disk Printer Drivers roger Disk Users Disk Reconnecting with SMB1 for workgroup listing. do_connect: Connection to 192.168.0.2 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND) Failed to connect with SMB1 -- no workgroup available smbtree Unable to initialize messaging context WORKGROUP \\VIRTUAL-XP Virtual-XP Description \\UPSTAIRS Samba 4.9.5-Debian \\UPSTAIRS\IPC$ IPC Service (Samba 4.9.5-Debian) \\UPSTAIRS\print$ Printer Drivers \\UPSTAIRS\roger Home Directories \\COMPUTERROOM COMPUTERROOM <---- This is the wondows 10 machine Things I know so far. We have a Windows/Apple/Linux home network. Everything (non virtual) machine works fine I have set Windows10 up to use SMB1 I have tried many smb.conf combinations VirtualBox - Windows 10 - works fine VirtualBox - Windows 7 - works fine VirtualBox - XP - NOT fine [error: the credentials supplied are not sufficient to access the printer] I am guessing it is some sort of security/access problem but cant confirm. One interesting thing is the extract from my config file:- [printers] comment = All Printers browseable = yes path = /var/spool/samba printable = yes guest ok = yes read only = yes create mask = 0700 and the output from testparm -s [printers] browseable = No comment = All Printers create mask = 0700 guest ok = Yes path = /var/spool/samba printable = Yes browseable has gone from Yes to No ?? I have done a great deal of googling and have tried many things (but now too many to get anything other than confused). I wonder if anyone here can help me. Thanking you in advance cheers roger | further to this:- I have enabled netBIOS over TCP on the windows machine I have altered the Windows Group Policy to allow insecure logons. The following looks kinda odd:- (Different results depending on if I use the IP address or the netBIOS name ?? the 2nd example does not error but it also does not show a server or a workgroup Unable to initialize messaging context Enter WORKGROUP\roger's password: Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin Brother Printer HL-1110 series C$ Disk Default share Canon Printer Canon MX870 series Printer IPC$ IPC Remote IPC jessica Disk print$ Disk Printer Drivers roger Disk Users Disk Reconnecting with SMB1 for workgroup listing. do_connect: Connection to 192.168.0.2 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND) Failed to connect with SMB1 -- no workgroup available roger@UPSTAIRS:~$ smbclient -L //COMPUTERROOM Unable to initialize messaging context Enter WORKGROUP\roger's password: Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin Brother Printer HL-1110 series C$ Disk Default share Canon Printer Canon MX870 series Printer IPC$ IPC Remote IPC jessica Disk print$ Disk Printer Drivers roger Disk Users Disk Reconnecting with SMB1 for workgroup listing. Server Comment --------- ------- Workgroup Master --------- ------- |
Hello everybody, I would like to send manually a NDP advertisement. I tried the ndsend package for this purpose. But I can't achieve my goal. I would be glad if somebody could give me a hint. My source address which I defined in /etc/network/interfaces is Code: Select allfd53:aaaa:bbbb:2::56 I must send a neighbor advertisement with the information: Code: Select allfd53:aaaa:bbbb:2::4f (ovr) is at 68:aa:bb:cc:dd:9d to the target address Code: Select allfd53:aaaa:bbbb:2::57 If I use the example provided in here: https://manpages.debian.org/stretch/vzctl/ndsend.8 I get the following result (Wireshark extract): Code: Select all 2972539 3066.650453000 fd53:aaaa:bbbb:2::56 ff02::1 ICMPv6 90 Neighbor Advertisement fd53:aaaa:bbbb:2::4f (ovr) is at 68:aa:bb:cc:dd:9d As you can see, ndsend sends the information via multiast ff02::1. But my SUT doesn't seem to care about multicast. The only thing that I know is, that it will listen to the IP adress fd53:aaaa:bbbb:2::57 Is there a way to change the standard multicast IP-Address of ff02::1 to unicast fd53:aaaa:bbbb:2::57? My approach was a redirection of the outgoing ff02::1 to fd53:aaaa:bbbb:2::57 Code: Select allip6tables -t nat -A PREROUTING -p ndp -m ndp \ ff02::1 -j REDIRECT --to-destination fd53:aaaa:bbbb:2::57 But it doesn't work because I don't know how this command should look like Thank you all! | isochor89 wrote:My approach was a redirection of the outgoing ff02::1 to fd53:aaaa:bbbb:2::57 You don't want to do that. Really. It may break IPv6 connectivity with other hosts. The PREROUTING chain is for incoming packets, not outgoing. The REDIRECT target is for redirecting to the local host. Stateful NAT (SNAT, DNAT, REDIRECT, MASQUERADE, NETMAP...) does not work on NDP packets (except the redirect type) because they are in the UNTRACKED state. |
Hi, Since some days ago, Stretch apt command, freeze during udate process or takes much longer than normal to download changes in debian sources . sudo apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Des:2 http://security.debian.org stretch/updates InRelease [53,0 kB] Des:3 http://deb.debian.org/debian stretch-updates InRelease [93,6 kB] Des:4 http://dl.google.com/linux/chrome/deb stable InRelease [1.811 B] Obj:5 http://deb.debian.org/debian stretch Release Des:7 http://security.debian.org stretch/updates/main amd64 Packages [600 kB] Des:8 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1.164 B] Des:9 http://security.debian.org stretch/updates/main i386 Packages [600 kB] Des:11 http://security.debian.org stretch/updates/main Translation-en [265 kB] Err:13 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease Connection timed out after 120001 milliseconds Los siguientes paquetes se han retenido: base-files brave-browser dbus dbus-user-session dbus-x11 firefox-esr firefox-esr-l10n-es-es firmware-amd-graphics firmware-linux firmware-linux-nonfree firmware-misc-nonfree google-chrome-stable gtk2-engines-qtcurve intel-microcode kde-style-qtcurve-qt4 kde-style-qtcurve-qt5 libdbus-1-3 libdbus-1-3:i386 libdbus-1-dev lightning qtcurve qtcurve-l10n syslinux syslinux-common systemd-sysv thunderbird thunderbird-l10n-es-es wpasupplicant xdg-utils xorg-server-source xserver-common xserver-xorg-core xserver-xorg-legacy Se actualizarán los siguientes paquetes: curl libcurl3 libcurl3:i386 libcurl3-gnutls libcurl4-openssl-dev liblua5.3-0 libqt4-dbus libqt4-dbus:i386 libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-network libqt4-network:i386 libqt4-opengl libqt4-opengl:i386 libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-sqlite libqt4-sql-sqlite2 libqt4-svg libqt4-test libqt4-xml libqt4-xml:i386 libqt4-xmlpatterns libqt4-xmlpatterns:i386 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-mysql libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libqtcore4 libqtcore4:i386 libqtdbus4 libqtdbus4:i386 libqtgui4 libqtgui4:i386 libssl1.0-dev libssl1.0.2 libssl1.0.2:i386 qdbus qt4-designer qt4-dev-tools qt4-doc qt4-linguist-tools qt4-qmake qt5-default qt5-gtk-platformtheme qt5-qmake qtbase5-dev qtbase5-dev-tools qtcore4-l10n 65 actualizados, 0 nuevos se instalarán, 0 para eliminar y 33 no actualizados. Se necesita descargar 148 MB de archivos. Se liberarán 193 kB después de esta operación. ¿Desea continuar? [S/n] n Any idea whats going on here, I think to remember reading something about the debian's servers maintenance or something like that.. | bester69 wrote:Err:13 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease Connection timed out after 120001 milliseconds does the freeze last for around 2 mins? |
Hello. I've just used the netinstall iso of Debian 10 to make a Fluxbox-fronted system with minimal and light applications. I've used Wicd instead of Network Manager, and though it is working very well I would like its taskbar applet to appear consistently on the taskbar - it does if wicd-gtk is started manually now, though it didn't when first installed (?) The applet remains when wicd-gtk is closed but at present isn't otherwise appearing. Wicd is already starting automatically at boot, with wifi connecting almost straight away, so the Debian Wiki didn't yield the right information, seeming to talk in terms of everything being manually set; the Archwiki shows the phrase wicd-client --tray which feels as if it's what I need, somewhere? Thanks for any input. | https://wiki.debian.org/Xsession#User_configuration |
Hi!I first installed Windows 10 and Debian Buster 10 64 bit on my machine. Unfortunately when I restart my machine its Windows 10 that boots up first.To be able to boot Debian first I have to press F9 during machine startup which brings me to the boot manager as shown in image below and I select Debian OS as the second option. https://imgur.com/6qZ6fz9.jpg When I select Debian OS in image above it takes me to the image below where I can select Windows or Debian with Debian as first option.I assume in this case the Debian grub bootloader is being used https://imgur.com/7Ww1pzW.jpg I would like Debian to be the first OS option on Boot Manager so that when I boot the machine it goes straight to boot as per the second image above and boots Debian by default as first option and I can intervene and select Windows if I want to.I use Debian far more numerous times than Windows so I prefer this setup. Kindly assist.Thanks ~~~~ Mod Note: massive images changed to plain URLs, please try to consider forum users who have limited bandwidth — HoaS | Use "efibootmgr" when booted into Debian, first issue the command alone to see the current order (see the line "BootOrder") and then (after reading the man page) you can change the order to suit your needs. |
I have Windows 10 and Debian 10.5 Buster 64 bit machine installed as a dual boot system on my machine. I formatted my main data partition as NTFS so that both Windows and Debian could access the partition with read/write access. The last time I used my machine I was on the Windows 10 OS and I shutdown the machine.When I started my machine on Debian the NTFS partition was in read only mode and I could not edit or create new files on this partition. After researching on this issue,I could an answer on the libreoffice forum link https://ask.libreoffice.org/en/question ... read-only/ where a respondent suggested that if you shutdown Windows instead of rebooting it changes the NTFS filesystem to read only denying Linux r/w access.The remedy is to reboot the Windows into Linux instead of shutting down Windows.I took up his recommendation and rebooted my machine in Windows,restarted the Windows but selected debian in the OS startup menu and now I could access NTFS partition with r/w access. It seems a tedious process to ensure NTFS remains fully accessible to Debian in a dual boot system.How can I resolve this ie have the ability to shutdown windows and start the machine later in Debian and have Debian have r/w access to NTFS partition? | There have been a few threads about this previously. The solution is to disable Windows "Fast Startup". https://www.windowscentral.com/how-disa ... st-startup I actually tested Win10 with this both enabled and disabled. With it enabled it cut a whole 2 seconds off startup time, but took at least 5 seconds longer to shut down! |
Hello, I have to install a package on several dozen machines. This package asks several questions during its installation (it's to join a Debian machine to a Windows network, with winbind/kerberos). I'd like to have this package install without me having to type the same answers to these questions on each machine. I have read the manpages about debconf but I find them vague: if I do a dpkg-preconfigure, is there somewhere a file that is created with the answers to the questions, so that I can then copy this file on another machine and have the package install non-interactively? Sorry if it's a FAQ or a vague question, but I'm not very knowledgeable about Debian, and I have a hard time understanding the info I find on the web. Thanks for any help. F. Delente | fdelente wrote:if I do a dpkg-preconfigure, is there somewhere a file that is created with the answers to the questions, so that I can then copy this file on another machine and have the package install non-interactively? See debconf.conf(5). |
does anyone can help me installing the missing library libgfortran.so.3 when I'm trying to run a fortran executable (namely, aermet.x) that was compiled under a previous machine I've got the following error message: Code: Select all./aermet.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory this is what I have done so far: I've added a backport string to my /etc/apt/sources.list.d/buster-backports.list, like: Code: Select alldeb http://deb.debian.org/debian buster-backports main contrib non-free and then issued Code: Select allsudo apt-get -t buster-backports install libgfortran3 but got the following message Code: Select allE: Unable to locate package libgfortran3 apparently libgfortran.so.3 is no longer supported, any other way to deal with the problem? thanks | maxbre wrote:apparently libgfortran.so.3 is no longer supported, any other way to deal with the problem? 1. Best option: Recompile the program against new version of the library. 2. If You don't have the sources: - download the libgfortran3 package from stretch (for Your architecture, ofc) - unpack the package and copy the libgfortran.so.3.0.0 to /usr/local/lib, - then run:Code: Select allsudo ldconfig |
Hi!I have Debian Buster 10.4 installed on my machine. During my first installation of the Linux OS,I allocated too small a size to the /home ext4 filesystem /dev/sda6 and its fast getting filled up and I had hoped to extend it by taking some storage from physical volume /dev/sda7 thats part of a volume group and logical volume.The /home filesystem isnt part of the same volume group as /dev/sda7 or maybe I could shrink linux-swap and copy the unallocated partition and extend it to /dev/sda6.What I mean is if I run pvdisplay the /home /dev/sda6 volume isnt displayed as the result is as below thus its maybe not an LVM partition like sda7.I am unable to resize sda7 partition from gparted as it says there is no free space though the filesystem where this physical volume resides has over 100 GB free space # pvdisplay --- Physical volume --- PV Name /dev/sda5 VG Name vg-data PV Size <692.54 GiB / not usable 2.33 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 177289 Free PE 0 Allocated PE 177289 PV UUID DcDvnA-ygD5-rxbV-wTwz-2Fik-cw8a-UzVBM3 --- Physical volume --- PV Name /dev/sda7 VG Name vg-data PV Size <60.00 GiB / not usable 1.00 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 15359 Free PE 0 Allocated PE 15359 PV UUID 1Qo83S-2lIf-qEca-BAXV-luQq-XUjS-ksiAcw --- Physical volume --- PV Name /dev/sda3 VG Name vg-data PV Size <118.00 GiB / not usable 3.00 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 30207 Free PE 0 Allocated PE 30207 PV UUID b1Abef-rV7W-ZA5S-bmt0-m9Kp-Z2Qq-960Xqf I am not a storage or LVM expert so I dont know if my explanation above makes sense.Forgive me if I dont state my situation correctly My storage allocation is as per gparted screenshot shown I hope you understand what I am trying to do and kindly assist. | Information missing. Please post the output of the following commands run as root. Code: Select allvgs lvs lsblk df -hT -x tmpfs -x devtmpfs |
Hi!I have Debian Buster 10.4 installed on my machine. Yesterday,when I checked my / mount point using df -h command it showed value of 14.2 GB used which tallied with the value of Disk Usage Analyzer. I moved about 6.8 GB of data between partitions and now if I check the current value of df -h its showing / has risen by 6.8 GB while Disk Usage Analyzer shows the old value of 14.2 GB.This 6.8 GB of data was not moved to tha same disk partition where / resides (it was moved to /home on different partition)so I am wondering why / increased by 6.8 GB and why the difference between df -h and Disk Usage Analyzer.Please see discrepancy below between df -h and Disk Usage Analyzer Code: Select all# df -h Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 9.7M 1.6G 1% /run /dev/sda1 30G 21G 6.6G 77% / I would like to clear the 6.8 GB contents on / so that it doesnt get full and revert it to its old 14.2 GB size.I cannot find the files that are in /home that could be in / so that I delete the same files in / mount point | LE_746F6D617A7A69 wrote:use df -hH df -H is enough. Possible causes for missing disk space include : - filesystem inconsistency - files deleted but still opened - files hidden under a mount point - files in a location the user does not have permission to read. |
Dear all, i use pam_mount to mount a cifs share. As the share contains directories that are readable for different groups i need to be sure that new files/directories are created with different gid, depending on the default ACLs on the server. Problem is: cifs_mount mounts samba shares always with the forcegid-option, so all new files and dirs are created with the same group. In greater detail: Clients and server with Debian Stretch. The clients mount cifs share via pam_mount, pam_mount.conf.xml says: Code: Select all<volume options="uid=%(USER)" user="*" mountpoint="/mnt/%(USER)/my_mountpoint" path="my_path" server="192.168.0.254" fstype="cifs" /> Mounting on login works: Code: Select all# mount | grep my_mountpoint //192.168.0.254/my_path on /mnt/user/my_mountpoint type cifs (rw,relatime,vers=1.0,cache=strict,username=user,domain=MY_DOMAIN,uid=1000,forceuid,gid=513,forcegid,addr=192.168.0.254,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1) But: pam_mount always sets the option forcegid. As you can see in the output of "mount" above. I tried both of the following: Code: Select all<volume options="uid=%(USER) noforcegid" user="*" mountpoint="/mnt/%(USER)/my_mountpoint" path="my_path" server="192.168.0.254" fstype="cifs" /> Code: Select all<volume options="uid=%(USER)" user="*" mountpoint="/mnt/%(USER)/my_mountpoint" path="my_path" server="192.168.0.254" fstype="cifs" options="noforcegid" /> The first one refuses to mount without error code, the second one does not mount either and leads to the error message: Code: Select all/etc/security/pam_mount.conf.xml:18: parser error : Attribute options redefined auf_samba" path="bwt" server="192.168.0.254" fstype="cifs" options="noforcegid" ^ (rdconf1.c:388): libxml detected a syntax error in /etc/security/pam_mount.conf.xml I also tried Code: Select allmount -o remount,noforcegid /mnt/user/my_mountpoint No error code, but still forcegid is set. Any Idea how I can disable the forcegid-option when mounting a cifs-share with pam_mount? Any Idea what I can do to disable forcegid? | Sometimes i act incredibly stupid. It's options="noforcegid,uid=%(USER)", not "options="noforcegid uid=%(USER)" |
Issue: When in Thundar (on XFCE - Debian 8.2) and I click the "Network" icon in the left sidebar the following message is displayed. Failed to open "/ on". Specified location is not supported. I configured eth0 according to the manual instructions for a static IP in /etc/network/interfaces on the Debian Wiki. I can use the terminal (stterm) to ping other computers on the network. I can SSH to other computers. I can apt-get update. I can surf the web (I'm posting from the affected machine). I have Samba installed. Near as I can tell addressing the network, and seeing the windows devices should be fine. | I may be barking up the wrong tree here, it's been a while since I used XFCE... do you have gvfs-backends installed? IIRC Thunar uses gvfs for 'virtual' (e.g. network) filesystems, and (again IIRC) the xfce-desktop task installs only gvfs, but not the gvfs-backends package. Failing that, does samba/cifs browsing work with e.g. smbclient at a console? |
Following on from this post: http://forums.debian.net/viewtopic.php?f=5&t=146890 is seems I am not seeing the message I was seeing because the process that builds initrams is missing/leaving out the motd file which has the message in it. So my question is what has changed to move/delete this file, or to cause the initramfs build process to look elsewhere ? E2A:Solved in thread referred to above. | Another one, http://forums.debian.net/viewtopic.php? ... 90#p725137 Maybe instead of starting a new thread, and then referring back to the original, just answer what is asked there, your responses are needed to determine what has changed, etc. See: http://forums.debian.net/viewtopic.php?f=30&t=10653 Forum guidelines. Please read before first post! |
system: Debian 9 lxde minimal with networkmanager Wifi does work on my old toshiba laptop with linux-image 4.9.0.13-686-pae. When I change to linux-image 4.9.0.13-RT-686-pae wifi does not work anymore. Networkmanager sais that Wifi Networks is disconnected. When I change back to linux-image 4.9.0.13-686-pae wifi works again. It seems that Wifi is disabled in the RT image. Is there a way to get wifi working again with the RT image???? | What wifi card do you have and what did you do to get it working for the non RT kernel? If your card required you to build a module from source, you must do it again for each kernel. |
Hi, I am using Debian Buster LXDE. To solve the following problem, I searched this site, Debian Wiki and Google; to no avail. The most I can get is, e.g., https://stackoverflow.com/questions/725 ... ble-change Neither worked.... Probably I am too dumb to unserstand the subject. I would be very grateful if somebody could help. The problem *** 1 *** echo $PATH or "env" tells me for my Debian installation: Code: Select allPATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games My multiboot Lubuntu 18.04 (also LXDE) tells me: Code: Select allPATH=/home/<user>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Now I would like to expand the Debian path to include "/usr/sbin" like in Lubuntu. And since it is multi-user, this should be done globally. *** 2*** Are the other subpaths, such as "/usr/local/sbin" etc, only present in Lubuntu but not in Debian, necessary? *** 3 *** I woud like to get rid of "/usr/local/games:/usr/games". Thanks, debcub | Because sbin contains programs and scripts only executable by root. That's why it's not in the PATH of normal users. When you use sudo, sbin will be in the PATH because sudo uses the root PATH variable. |
Dear All, Something a bit funny seems to be going on on my machine running debian buster. These are the installed kernels as of a few days ago. Code: Select all$ dpkg --list | grep linux-image | grep ii ii linux-image-4.19.0-9-amd64 4.19.118-2+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed) ii linux-image-5.7.0-4.1-liquorix-amd64 5.7-1.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-5.7.0-5.1-liquorix-amd64 5.7-2.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-5.7.0-6.2-liquorix-amd64 5.7-4.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-liquorix-amd64 5.7-4.1~buster amd64 Linux image for liquorix on 64-bit PCs Today I have just installed automatically (see my repository list at the end of the post) a new liquorix kernel and now this is what I see Code: Select all$ dpkg --list | grep linux-image | grep ii ii linux-image-4.19.0-9-amd64 4.19.118-2+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed) ii linux-image-5.7.0-5.1-liquorix-amd64 5.7-2.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-5.7.0-6.2-liquorix-amd64 5.7-4.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-5.7.0-6.4-liquorix-amd64 5.7-6.1~buster amd64 Linux 5.7 for 64-bit PCs ii linux-image-liquorix-amd64 5.7-6.1~buster amd64 Linux image for liquorix on 64-bit PCs The net result is that linux-image-5.7.0-4.1-liquorix-amd64 is just gone.... Why is that? I did not mess up (at least on purpose) with my grub configuration at all. During the installation of the latest liquorix, the terminal did not say anything about uninstalling another kernel. Any suggestion is appreciated! Larry77 PS: here is my source list Code: Select all$ cat /etc/apt/sources.list deb http://httpredir.debian.org/debian stable main contrib non-free deb-src http://httpredir.debian.org/debian stable main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://httpredir.debian.org/debian stable-updates main contrib non-free deb-src http://httpredir.debian.org/debian stable-updates main contrib non-free # Backports repository deb http://httpredir.debian.org/debian buster-backports main contrib non-free #proposed updates ## deb http://deb.debian.org/debian/ stretch-proposed-updates main contrib non-free # CRAN repository deb https://stat.ethz.ch/CRAN/bin/linux/debian buster-cran40/ | larry77 wrote:I noticed that even if I forget to clean up the old liquorix kernels, which get updated often, I never have more than 2 or 3 showing up. Do you run apt(-get) autoremove ? It does just that. |
On a bullseye update I got these warnings: Code: Select allSetting up linux-image-5.6.0-1-amd64 (5.6.7-1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.4.0-4-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-5.4.0-4-amd64 I: /vmlinuz is now a symlink to boot/vmlinuz-5.6.0-1-amd64 I: /initrd.img is now a symlink to boot/initrd.img-5.6.0-1-amd64 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.6.0-1-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169 W: Possible missing firmware /lib/firmware/nvidia/tu117/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/tu117/acr/bl.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/tu116/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/tu116/acr/bl.bin for module nouveau etc. I managed to find that the missing binaries could be obtained from : https://kernel.googlesource.com/pub/scm ... /+/master/ which isurprised me as I thought the package firmware-linux should have this. What if the wesite got hacked I inserted a virus into my kernal. Could anyone explain why firmware-linux does not have the required binaries? | ticketman wrote:Could anyone explain why firmware-linux does not have the required binaries? firmware-linux is a meta-packages which does not contain any firmware file. It only depends on other firmware packages. However it does not depend on firmware-realtek which contains firmwares for some Realtek chips. ticketman wrote:Presumably this sort of thing is the price to pay for running Debian testing. Yes. Bloom is wrong : the actual point is not whether the firmwares are available or not but whether the kernel needs them. The firmware packages in testing are not up to date with the kernel packages. You would not get the warnings with stable because the stable kernel does not need these firmwares. |
Hey everyone, I got a question about Debian and KVM.... Currently I am running CentOS 7 on my box and hosting a bunch of VMs on KVM (fileserver / plex server / pfSense / etc). Love CentOS, however it is using QEMU v1.5.3 (if I remember correctly). CentOS 8 runs v2.x.x which allows for UEFI VMs. While I love running CentOS, a lot of the packages are older due to stability....which is why I love CentOS, but I miss a lot of newer features. So I was thinking of migrating to Debian 10 Stable as my KVM host. Now here's my question to anyone running Debian 10 with KVM.....has anyone been able to get macOS to run as a VM and if so, how stable/reliable has it been? I have seen some tutorials on getting a macOS VM running (hackintosh?), so setup should be relatively easy. The reason I ask is because I would like setup a macOS VM to run mainly as a Time Machine server and host my iCloud library that I keep locally. Any input/insight would be greatly appreciated before I make the transition since I will have to install and set everything up from scratch. | I've used this before with some success. It's not amazing—a little buggy—but mostly usable. https://github.com/foxlet/macOS-Simple-KVM |
Hello and thank you for your help I have tried to setup a Virtual Machine in qemu to install Windows 10 I have successed to launch the virtual machine, to install Windows 10 and to connect it from a remote SPICE client But I have successed only without VGA Passthrough !!! Once I try to give the virtual machine a graphic card it's not possible to access the machine with SPICE client and the process is completly blocked ! I can't even kill the qemu process with a kill -9 PID of [qemu process] The hardware is new and I have tried to follow a lot of guide but none gave me the solution --------------------------------------------------------------------------------------- --- Here is my hardware setup : --- Gigabyte TRX40 Designare AMD Threadripper 3960x AMD Radeon RX480 This computer is attached to the network and I don't plan to use it as a desktop with screen I have an other one from where I connect to the virtual machine with SPICE client. (SPICE client is really fast !) --------------------------------------------------------------------------------------- What I have done : I have installed Debian Buster with a ssh server and nothing more I have installed qemu and KVM I have successed to install Windows 10 with a remote SPICE client and I can start and stop the virtual machine without any problem when I use this command Code: Select allqemu-system-x86_64 -name windows10_vm -uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -k fr-ch -machine type=pc-i440fx-3.1,accel=kvm -cpu host -smp 8,sockets=1,cores=8,threads=1 -m 16G -rtc clock=host,base=localtime -serial none -parallel none -soundhw hda -usb -device usb-tablet -boot order=dc -drive id=disk0,if=virtio,cache=none,format=raw,file=/dev/disk -drive file=/directory/ISO/Win10x64.iso,index=1,media=cdrom -drive file=/directory/virtio-win-0.1.171.iso,index=2,media=cdrom -spice port="5900",addr="0.0.0.0",disable-ticketing -vga qxl --------------------------------------------------------------------------------------- After that I decided to try to enable VGA Passthrough I have done the following : -> enabled IOMMU in the BIOS -> then search the id of the graphical card Code: Select allroot@nightmare # lspci -v ... 21:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev c7) (prog-if 00 [VGA controller]) 21:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] ... there is nothing more in this IOMMU group so as what I have understood it's ok if I'm not wrong ? then create a file to enable vfio module for the graphical card Code: Select allroot@nightmare # cat /etc/modprobe.d/vfio.conf options vfio-pci ids=1002:67df,1002:aaf0 options vfio-pci disable_vga=1 then create a file to blacklist amdgpu Code: Select allroot@nightmare # cat /etc/modprobe.d/blacklist.conf blacklist amdgpu and after that add parameters to the /etc/default/grub.conf first parameters enable IOMMU and second to disable the EFI/VESA framebuffer Code: Select allroot@nightmare # cat /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafb:off,efifb:off" --------------------------------------------------------------------------------------- So I thought it was ok to start the virtual machine and the VGA passthrough will work but no... I tried to start the virtual with the new command line with this : Code: Select allqemu-system-x86_64 -name windows10_vm -uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -k fr-ch -machine type=pc-i440fx-3.1,accel=kvm -cpu host -smp 8,sockets=1,cores=8,threads=1 -m 16G -rtc clock=host,base=localtime -serial none -parallel none -soundhw hda -usb -device usb-tablet -boot order=dc -drive id=disk0,if=virtio,cache=none,format=raw,file=/dev/disk -drive file=/directory/ISO/Win10_2004_French_x64.iso,index=1,media=cdrom -drive file=/directory/virtio-win-0.1.171.iso,index=2,media=cdrom -spice port="5900",addr="0.0.0.0",disable-ticketing -vga qxl -device vfio-pci,host=21:00.0,multifunction=on -device vfio-pci,host=21:00.1 And I get a return error as this one from qemu Code: Select allqemu-system-x86_64: -device vfio-pci,host=21:00.0,multifunction=on: vfio 0000:21:00.0: failed to setup container for group 24: failed to set iommu for container: Operation not permitted I searched what it was about and I found that there is a problem about "unsafe_interrupts" to allow VGA passthrough Code: Select allroot@nightmare # dmesg | grep 'remapping' AMD-Vi: Disabling interrupt remapping vfio_iommu_type1_attach_group: No interrupt remapping support. Use the module param "allow_unsafe_interrupts" to enable VFIO IOMMU support on this platform So I should add an other parameter to /etc/default/grub Code: Select allroot@nightmare # cat /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafb:off,efifb:off vfio_iommu_type1.allow_unsafe_interrupts=1" But after that I still have this message with dmesg | grep remapping Code: Select allAMD-Vi: Disabling interrupt remapping Why does this not work ? I have followed a lot of guide but there is nothing more about this problem... it should work but no ??? What shall I do then ? | kaldtismann.deb wrote:Once I try to give the virtual machine a graphic card it's not possible to access the machine with SPICE client and the process is completly blocked ! Why not? Should I take this to mean the vm does boot up on the passed gpu and does show a display? If so, a virt-viewer window should work. On the host the virt-viewer window should be black with no display but when you click in it you should be transferring KBM to the VM. The virt-viewer window can be small and it will scale it's area with the vm. Using the tablet driver will change the way this works, with it the window won't trap the KBM. This should be manageable entirely with virtual machine manager, VMM. also, this is why I use Intel! I don't have hardly any of the options you list. My interrupts option is in vfio.conf. Code: Select all#/etc/modprobe.d/vfio.conf #options vfio-pci ids= options vfio_iommu_type1 allow_unsafe_interrupts=1 # /etc/initramfs-tools/modules list modules, options here only # list for boot vfio only static pieces, use dynamic binding On one computer, unsafe = 0, I rarely needed it, I bet you don't. I never use 'disable vga' and I do always use a QXL vga device in both windows and linux guest, so the passed vga is always a secondary gpu. You then configure within the guest who gets the spice KBM by disabling the QXL display -not by removing it. Many ways to control, use display=1 for passed, display=0 for the qxl... having the qxl is a fallback display and if a video driver blows up you still have the qxl to work with just like real hardware with onboard video for example. Typically I pass a nic so my host has no window open and use x2vnc or x2x for seamless integration with the host display(s). It can be tricky concerning the exact hardware. I have found AMD gpu's in particular to work fine on specific hardware, in one case worked in one slot and not in another - on the same machine, same config. One, I could not pass it while coexisting with the host gpu, I could pass it if it was the host gpu! Yes, vm takes over and need to shutdown the guest to get back to the host. I have a handful of those examples that I simply don't pursue. As hinted at above, I am moving towards no static config on the host at all other than having iommu on and modules available, and configure post boot. I ultimately expect this new method to be easier. Not specifically helpful, I hope something helps... |
With the below HDA-Intel and USB-Audio after most boots the order can change from 1 to 2. One boot HD-audio realtec is 1 next boot it can change to 2 and vice versa. I have seen this in the past with Debian even when I was using a USB dac. Is their away to stop this from happening. As it stuffs up my default sound device. I have set alsa default sound device with sudo alsamixer. I do not use pulse audio only alsa. Debian bullseye Linux debian 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) x86_64 GNU/Linux Running mpd with ncmpcpp HD-Audio = S1220A realtec hd audio USB audio = neewer nw-7000 mic Code: Select all0 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfcaa0000 irq 66 1 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfc900000 irq 68 2 [Device ]: USB-Audio - USB PnP Audio Device C-Media Electronics Inc. USB PnP Audio Device at usb-0000:09:00.3-2, full speed asound.conf defaults.pcm.card 1 defaults.ctl.card 1 | https://wiki.archlinux.org/index.php/Ad ... sound_card |
Hi all, I need to upgrade an Apache2 server to security reason. I have searched online, but I did not find a way to update Apache2 web server on a Debian server. Can anyone suggest the right way? Thanks so much | Also worth nothing that the stable version receives support from the Debian Security team, so will be much more "secure" than the one from backports (which you'll need to manage yourself). |
Hi All, I had a working install of Debian that I have been using for months. Today, I installed Ubuntu alongside it in a dual boot setup. Now, when I boot the computer, it gives me the option to boot to Ubuntu or Debian. If I choose Ubuntu, it boots to Ubuntu just fine. If I choose Debian, it boots to a blank screen. What gives? chadrick | Please post the full content of /boot/grub/grub.cfg in your Ubuntu system. Be sure to use code tags because it will be quite long. Why did you let the Ubuntu installer change the bootloader? It would probably have been better to leave the bootloader alone and just update it from Debian after installing Ubuntu. |
i am trying to get into my samba server from my laptop (running solus linux) Code: Select all$ smbclient -U kodi -L 192.168.1.102 Unable to initialize messaging context Enter WORKGROUP\kodi's password: Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers kodi Disk IPC$ IPC IPC Service (Samba 4.11.0-Debian) SMB1 disabled -- no workgroup available the server has this configuration Code: Select all[global] workgroup = WORKGROUP client min protocol = SMB2 client max protocol = SMB3 server min protocol = SMB2 server max protocol = SMB3 protocol = SMB3 the laptop has this Code: Select all client ipc min protocol = SMB2 client ipc max protocol = SMB3 client min protocol = SMB2 client max protocol = SMB3 server min protocol = SMB2 server max protocol = SMB3 | Try this as it it is likely a general SAMBA problem. Edit: /etc/samba/smb.conf And then add the following line anywhere in the file: Code: Select allclient max protocol = NT1 source: https://www.dedoimedo.com/computers/ubu ... hares.html |
I have installed ufw, but when I try to enable it in the terminal as root I get: bash: ufw: command not found I have tried uninstalling and reinstalling, to no avail. Any ideas? | Not found means not found, as in perhaps having a different path than the non-root user. Try executing the command with the full path, for instance /usr/sbin/ufw status verbose |
In Debian 10, When I start timidity as alsa sequencer with a normal user, no problem at all. It works flawlessy. Code: Select allsamuele@INSPIRON-17:~$ timidity -Os -iA Requested buffer size 32768, fragment size 8192 ALSA pcm 'default' set buffer size 32768, period size 8192 bytes TiMidity starting in ALSA server mode Opening sequencer port: 128:0 128:1 128:2 128:3 When I switch to root user, it dosen't works anymore: Code: Select allroot@INSPIRON-17:~# timidity -Os -iA ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave Can't open pcm device 'default'. Couldn't open ALSA pcm device (`s') It seems it cannot finde the "default" device. I know I can forcing it creating an ~/.asoundrc file or a global /etc/asound.conf, but the normal user dosen't need it. It seems it's accessing the global /usr/share/alsa/alsa.conf, while root dosen't. So my question is: how i can fix that without writing a new config file? Is it possible to let root access the global file, or I'm missing something? | Code: Select all# pulseaudio --start W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). # pulseaudio --system W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set. W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set. N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode. N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time. W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that. W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected. W: [pulseaudio] main.c: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea. W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.pulse-cookie': No such file or directory W: [pulseaudio] protocol-native.c: Denied access to client with invalid authentication data. |
i'm having a distinct difference in boot times between 2 kernels. So this is the gold standard at the moment (5.2.0-21.2-liquorix-amd64) Code: Select allmac ~ # systemd-analyze Startup finished in 38.197s (kernel) + 18.085s (userspace) = 56.283s graphical.target reached after 18.076s in userspace mac ~ # uname -r 5.2.0-21.2-liquorix-amd64 mac ~ # systemd-analyze blame 14.895s lm-sensors.service 12.269s vboxadd.service 10.351s NetworkManager-wait-online.service 3.579s sabnzbdplus.service 2.028s tvheadend.service 1.803s systemd-udev-settle.service 1.708s plymouth-quit-wait.service 1.355s nmbd.service 1.212s accounts-daemon.service 1.095s exim4.service 1.012s udisks2.service 982ms upower.service 797ms dev-sdc2.device 631ms systemd-logind.service 628ms avahi-daemon.service 627ms bluetooth.service 613ms polkit.service 580ms NetworkManager.service 577ms iio-sensor-proxy.service 571ms lightdm.service 533ms systemd-journald.service 518ms ModemManager.service 512ms wpa_supplicant.service 502ms smbd.service 496ms user@1000.service 494ms systemd-journal-flush.service 489ms mnt-win.mount 441ms e2scrub_reap.service 432ms virtualbox.service 395ms loadcpufreq.service 299ms systemd-resolved.service 259ms rc-local.service 236ms ntp.service 234ms pulseaudio-enable-autospawn.service 229ms rsyslog.service 187ms ssh.service 162ms alsa-restore.service 143ms keyboard-setup.service 142ms pppd-dns.service 140ms systemd-rfkill.service 139ms colord.service 134ms live-tools.service 124ms atd.service 105ms dev-hugepages.mount 105ms dev-mqueue.mount 104ms run-rpc_pipefs.mount 104ms sys-kernel-debug.mount 103ms sys-kernel-tracing.mount 99ms systemd-udev-trigger.service 96ms systemd-udevd.service 87ms boot-efi.mount 65ms binfmt-support.service 64ms systemd-modules-load.service 55ms systemd-backlight@backlight:acpi_video0.service 52ms tmp.mount 50ms systemd-tmpfiles-setup.service 50ms kmod-static-nodes.service 48ms plymouth-start.service 46ms hddtemp.service 46ms cpufrequtils.service 45ms systemd-user-sessions.service 45ms systemd-backlight@backlight:amdgpu_bl0.service 36ms systemd-sysusers.service 35ms rpcbind.service 34ms systemd-remount-fs.service 27ms console-setup.service 27ms deluged.service 27ms plymouth-read-write.service 26ms nfs-config.service 25ms systemd-tmpfiles-setup-dev.service 18ms systemd-random-seed.service 18ms systemd-update-utmp.service 15ms proc-sys-fs-binfmt_misc.mount 15ms apt-listbugs.service 13ms user-runtime-dir@1000.service 8ms vboxadd-service.service 8ms systemd-update-utmp-runlevel.service 6ms systemd-sysctl.service 2ms sys-fs-fuse-connections.mount 1ms vsftpd.service 1ms sys-kernel-config.mount not sure what is happening with 5.6.0-3.slh.1-aptosid-amd64 though on the same system Code: Select allmac ~ # systemd-analyze Startup finished in 2min 8.592s (kernel) + 44.643s (userspace) = 2min 53.235s graphical.target reached after 44.635s in userspace mac ~ # uname -r 5.6.0-3.slh.1-aptosid-amd64 mac ~ # systemd-analyze blame 41.955s lm-sensors.service 10.580s NetworkManager-wait-online.service 9.095s vboxadd.service 1.697s tvheadend.service 1.613s systemd-udev-settle.service 1.590s sabnzbdplus.service 866ms accounts-daemon.service 777ms udisks2.service 618ms dev-sdc2.device 527ms upower.service 494ms systemd-journal-flush.service 433ms mnt-win.mount 410ms nmbd.service 402ms polkit.service 378ms bluetooth.service 377ms avahi-daemon.service 373ms NetworkManager.service 361ms systemd-logind.service 357ms wpa_supplicant.service 341ms systemd-journald.service 329ms loadcpufreq.service 321ms systemd-resolved.service 315ms exim4.service 284ms ModemManager.service 246ms user@1000.service 230ms e2scrub_reap.service 203ms rsyslog.service 197ms ntp.service 191ms pulseaudio-enable-autospawn.service 167ms lightdm.service 149ms ssh.service 131ms systemd-rfkill.service 127ms smbd.service 118ms colord.service 93ms keyboard-setup.service 83ms virtualbox.service 75ms systemd-modules-load.service 69ms systemd-udev-trigger.service 66ms systemd-udevd.service 53ms boot-efi.mount 48ms binfmt-support.service 47ms run-rpc_pipefs.mount 40ms pppd-dns.service 36ms systemd-sysusers.service 32ms systemd-tmpfiles-setup.service 30ms rpcbind.service 30ms cpufrequtils.service 29ms systemd-random-seed.service 28ms deluged.service 27ms plymouth-read-write.service 27ms atd.service 25ms plymouth-start.service 25ms systemd-tmpfiles-setup-dev.service 24ms alsa-restore.service 23ms live-tools.service 22ms dev-hugepages.mount 22ms dev-mqueue.mount 21ms sys-kernel-debug.mount 20ms systemd-update-utmp.service 19ms user-runtime-dir@1000.service 18ms hddtemp.service 17ms tmp.mount 16ms kmod-static-nodes.service 16ms systemd-backlight@backlight:acpi_video0.service 14ms rc-local.service 14ms vboxadd-service.service 13ms systemd-remount-fs.service 11ms proc-sys-fs-binfmt_misc.mount 11ms systemd-user-sessions.service 9ms console-setup.service 9ms systemd-sysctl.service 6ms systemd-backlight@backlight:amdgpu_bl0.service 6ms systemd-update-utmp-runlevel.service 5ms nfs-config.service 2ms sys-fs-fuse-connections.mount 1ms plymouth-quit-wait.service 1ms vsftpd.service removed lm-sensors Code: Select allmac ~ # systemd-analyze Startup finished in 2min 8.558s (kernel) + 15.187s (userspace) = 2min 23.745s graphical.target reached after 15.176s in userspace mac ~ # uname -r 5.6.0-3.slh.1-aptosid-amd64 mac ~ # systemd-analyze blame 10.052s NetworkManager-wait-online.service 9.048s vboxadd.service 2.363s sabnzbdplus.service 1.500s systemd-udev-settle.service 1.199s tvheadend.service 721ms accounts-daemon.service 665ms udisks2.service 599ms dev-sdc2.device 572ms systemd-journal-flush.service 559ms user@1000.service 521ms upower.service 493ms nmbd.service 471ms mnt-win.mount 381ms ModemManager.service 379ms polkit.service 366ms avahi-daemon.service 365ms bluetooth.service 363ms NetworkManager.service 351ms systemd-logind.service 349ms wpa_supplicant.service 323ms systemd-journald.service 313ms exim4.service 295ms loadcpufreq.service 271ms systemd-resolved.service 176ms rsyslog.service 174ms lightdm.service 170ms pulseaudio-enable-autospawn.service 168ms smbd.service 167ms e2scrub_reap.service 148ms ntp.service 121ms colord.service 111ms ssh.service 92ms virtualbox.service 88ms keyboard-setup.service 82ms systemd-udev-trigger.service 67ms systemd-udevd.service 58ms systemd-modules-load.service 54ms plymouth-read-write.service 48ms boot-efi.mount 46ms systemd-rfkill.service 45ms binfmt-support.service 42ms run-rpc_pipefs.mount 39ms atd.service 38ms pppd-dns.service 31ms systemd-tmpfiles-setup.service 29ms systemd-sysusers.service 28ms systemd-random-seed.service 26ms user-runtime-dir@1000.service 25ms systemd-tmpfiles-setup-dev.service 25ms cpufrequtils.service 24ms plymouth-start.service 23ms hddtemp.service 22ms dev-hugepages.mount 21ms dev-mqueue.mount 21ms alsa-restore.service 20ms sys-kernel-debug.mount 19ms live-tools.service 18ms deluged.service 17ms systemd-backlight@backlight:acpi_video0.service 17ms tmp.mount 16ms kmod-static-nodes.service 15ms rc-local.service 14ms systemd-backlight@backlight:amdgpu_bl0.service 13ms systemd-sysctl.service 12ms console-setup.service 12ms rpcbind.service 11ms systemd-remount-fs.service 9ms systemd-update-utmp-runlevel.service 9ms systemd-update-utmp.service 8ms nfs-config.service 7ms proc-sys-fs-binfmt_misc.mount 7ms systemd-user-sessions.service 7ms vboxadd-service.service 3ms sys-fs-fuse-connections.mount 3ms plymouth-quit-wait.service 1ms vsftpd.service is there a way i can export the data to a spreadsheet? edit - added amdgpu.ppfeaturemask=0 to the kernel command line in grub. it now looks like this # cat /proc/cmdline Code: Select allaudit=0 intel_pstate=disable BOOT_IMAGE=/boot/vmlinuz-5.8.0-13.1-liquorix-amd64 root=UUID=ffb7a55f-29e2-458a-b932-88be2f161cf3 ro initrd=/install/gtk/initrd.gz nointremap quiet splash amdgpu.ppfeaturemask=0 amdgpu.audio=1 radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dpm=1 amdgpu.dc=1 fsck.mode=force fsck.repair=yes there were a number of Code: Select allamdgpu: [powerplay] failed to send message [x] ret is 0 messages and adding that parameter removed them and now the system boots in less than a minute | milomak wrote:arzgi wrote:milomak wrote: is there a way i can export the data to a spreadsheet? Sure. For example in LibreOffice calc, paste special, space as separator. I had to do some handwork, because it shifted ms one cell to right. i see i can but it seems the second thing is not recognised but nonetheless. how can the same system have such differences? Try: Code: Select all# systemctl status lm-sensors.service For some reason, it's taking much longer (14.895s vs 41.955s). You could just "journalctl -b" and see what happened during boot. |
On my guest image I've installed nfs-kernel-server and nfs-common, edited my exports but when I check the status I see the following? Where can I look for the 'exit-code' (or more) to sus the reason? Code: Select all$ sudo service nfs-server status ● nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2020-04-26 12:45:30 BST; 4min 51s ago Process: 398 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE) Apr 26 12:45:30 debian9-vm systemd[1]: Starting NFS server and services... Apr 26 12:45:30 debian9-vm exportfs[398]: exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.122:1/24:/media/data/shared". Apr 26 12:45:30 debian9-vm exportfs[398]: Assuming default behaviour ('no_subtree_check'). Apr 26 12:45:30 debian9-vm exportfs[398]: NOTE: this default has changed since nfs-utils version 1.0.x Apr 26 12:45:30 debian9-vm exportfs[398]: exportfs: Invalid IP address 192.168.122:1/24 Apr 26 12:45:30 debian9-vm systemd[1]: nfs-server.service: Control process exited, code=exited status=1 Apr 26 12:45:30 debian9-vm systemd[1]: Failed to start NFS server and services. Apr 26 12:45:30 debian9-vm systemd[1]: nfs-server.service: Unit entered failed state. Apr 26 12:45:30 debian9-vm systemd[1]: nfs-server.service: Failed with result 'exit-code'. $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:f8:84:1e brd ff:ff:ff:ff:ff:ff inet 192.168.122.237/24 brd 192.168.122.255 scope global enp1s0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fef8:841e/64 scope link valid_lft forever preferred_lft forever | did you check journalctl and syslog? are you sure the network is up? |
Hi bought an Asus TUF Gaming FX705DY_FX705DY for Debian only use. I did not get buster witch the Xserver to run on this notebook. So I used: Debian GNU/Linux bullseye-DI-alpha2 "Bullseye" - Unofficial amd64 NETINST with firmware 20200315-11:07 The insallation worked with ethernet and dhcp so After Installation it stoped with out the X server. pressed alt + F3 loged in with the user than Code: Select allsu sudo apt install linux-image-amd64 firmware-linux firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree sudo shutdown -h now X server is working now. sound too. But no wlan. Code: Select allsudo iw dev gives nothing back. To find the wlan chip I tried: Code: Select all sudo lspci -vv in the output I find this: Code: Select all 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter Subsystem: AzureWave RTL8821CE 802.11ac PCIe Wireless Network Adapter Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 255 Region 0: I/O ports at e000 [disabled] [size=256] Region 2: Memory at fe800000 (64-bit, non-prefetchable) [disabled] [size=64K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <64us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (ok), Width x1 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+, NROPrPrP-, LTR+ 10BitTagComp-, 10BitTagReq-, OBFF Via message/WAKE#, ExtFmt-, EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS-, TPHComp-, ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled AtomicOpsCtl: ReqEn- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [148 v1] Device Serial Number 00-e0-4c-ff-fe-c8-21-01 Capabilities: [158 v1] Latency Tolerance Reporting Max snoop latency: 0ns Max no snoop latency: 0ns Capabilities: [160 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=30us PortTPowerOnTime=60us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us Capabilities: [170 v1] Precision Time Measurement PTMCap: Requester:- Responder:+ Root:- PTMClockGranularity: Unimplemented PTMControl: Enabled:- RootSelected:- PTMEffectiveGranularity: Unknown Capabilities: [17c v1] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?> 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 34 Region 0: I/O ports at d000 [size=256] Region 2: Memory at fe704000 (64-bit, non-prefetchable) [size=4K] Region 4: Memory at fe700000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [70] Express (v2) Endpoint, MSI 01 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 4096 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (ok), Width x1 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, NROPrPrP-, LTR+ 10BitTagComp-, 10BitTagReq-, OBFF Via message/WAKE#, ExtFmt-, EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS-, TPHComp-, ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled AtomicOpsCtl: ReqEn- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [b0] MSI-X: Enable+ Count=4 Masked- Vector table: BAR=4 offset=00000000 PBA: BAR=4 offset=00000800 Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [140 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00 Capabilities: [170 v1] Latency Tolerance Reporting Max snoop latency: 0ns Max no snoop latency: 0ns Capabilities: [178 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=150us PortTPowerOnTime=150us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us Kernel driver in use: r8169 Kernel modules: r8169 then I try Code: Select allapt install firmware-realtek but it was alreaddy installed. | Enter "RTL8821CE debian" into your favourite search engine. You should done that before opening a thread here: http://forums.debian.net/viewtopic.php?f=30&t=47078 And you can probably get your machine working with the stable release by installing the kernel & AMD firmware from the buster-backports repository: https://backports.debian.org/Instructions/ |
Hi there, I have tried to change env. default variable LANG. I added LANG=C to /etc/environment file, nothing change default variable still works after restart. Than I added LANG DEFAULT=C OVERRIDE="" to /etc/security/pam_env.conf, but nothing change after restar. I had to use "update-locale LANG=C" and new value was accepted. Why system does nothing with changes in /etc/environment and /etc/security/pam_env.conf, I did what "man environment" recommend, but without success. Can anybody help what to do if I want to make changes with /etc/environment? I do not want to use .bashrc or .profile etc. files, I am interested in /etc/evironment only. Thank you | rastoku wrote:Why system does nothing with changes in /etc/environment and /etc/security/pam_env.conf Looks like /etc/default/locale overrides the setting in /etc/environment. I export a few variables through /etc/environment and they work for me. |
I have a pretty specific question. I am trying to get my Debian based computer to connect to a Meraki MX100 Firewall Client VPN. I can connect to it with a Windows Laptop and my iPhone. It is using L2TP/ipsec with a shared key. It states this on the configuration page in the Meraki: Meraki's client VPN solution uses L2TP with IPsec encryption, supported by native clients built into Windows, Android, OS X, and iOS. Am I just screwed and this is not going to work no matter what I try. I have not reached out to Meraki yet. I have the settings configured per the Meraki help pages that I have found. The error on the Meraki log is this: msg: phase1 negotiation failed due to time up. I have researched this error but I don't know what to do. Thanks for any help I can get. Dan | https://meikle.io/technology/cisco-mera ... -1904.html ? |
Hi, Debian 7.3 is my first Debian and i am not a professional in linux, only have used desktop ubuntus in the last few years. I'm studying linux more seriously now, i installed several linuxes including Debian 7.3, which was the last to be installed and installed grub. I tried to password protect grub like this: I did encrypted password with the command: # grub-mkpasswd-pbkdf2 Then I edited grub file: # nano /etc/default/grub Then I added the following commands on the file: setsuperusers="username" password_pbkdf2 username password Then I tried updating grub: # update-grub But it did not work, i received the following error message: /usr/sbin/grub-mkconfig: 13: /etc/default/grub password_pbkdf2 not found So I treid to do exactly the same thing, but editing the file /etc/grub.d/00_header Unfortunately I got an error message similar: /etc/grub.d/00_header :274 /etc/grub.d/00_header password_pbkdf2 not found Finally, i put these commands in /boot/grub/grub.cfg file, only then it worked, but as far as i know, we should not manually edit this file, and such changes will be lost the next time I update grub. What is the correct file, or the correct commands, to password protect grub boot in Debian 7.3? Thanks for any help, and sorry for my bad english. | sybok wrote: What is the correct file, or the correct commands, to password protect grub boot in Debian 7.3? . Debian 7.3 uses grub2, i've updated the title of the topic to make it easy to find this information. I found the solution here: https://help.ubuntu.com/community/Grub2/Passwords Also as a full tutorial on grub2 here: http://www.gnu.org/software/grub/grub-d ... ation.html The correct file to edit is: /etc/grub.d/40_custom Basically these are the correct steps: 1 - Type the command: grub-mkpasswd-pbkdf2 2 - Enter the desired password It will generate a long password encrypted like this: grub.pbkdf2.sha512.10000.FC58373BCA15A797C418C1EA7FFB007BF5A5 3 - Copy the complete generated code. 4 - Edit the file: /etc/grub.d/40_custom 5 - At the end of the file add the following commands: setsuperusers="username" password_pbkdf2 username password Obviously you should replace the words "username" with your desired user name, and the word password for the encrypted password generated in the previous step. For example, if your desired username is John, and the password is grub.pbkdf2.sha512.10000.FC58373BCA15A797C418C1EA7FFB007BF5A5 your full code will look like this: set superusers="John" password_pbkdf2 John grub.pbkdf2.sha512.10000.FC58373BCA15A797C418C1EA7FFB007BF5A5 6 - Save the file and exit. 7 - Finally, type the command: update-grub That's all, your grub2 is protected. Remember that the correct file to edit is 40_custom simply because other files such as grub.cfg or even 00_header are updated automatically by the system in certain circumstances, and it would make you lose those changes. I Hope this helps anyone with the same problem. |
Hi, I haven't been able to run the upgrade commands since this morning Code: Select allroot@debian02:/home/manu# apt full-upgrade Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto È utile eseguire "apt --fix-broken install" per correggere ciò. I seguenti pacchetti hanno dipendenze non soddisfatte: libc6-dev : Dipende: libc6 (= 2.30-3) ma la versione 2.30-2 è installata E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).Code: Select allroot@debian02:/home/manu# apt --fix-broken install Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto Correzione delle dipendenze... Fatto I seguenti pacchetti aggiuntivi saranno inoltre installati: libc6 Pacchetti suggeriti: glibc-doc I seguenti pacchetti saranno aggiornati: libc6 1 aggiornati, 0 installati, 0 da rimuovere e 38 non aggiornati. 13 non completamente installati o rimossi. È necessario scaricare 0 B/2.819 kB di archivi. Dopo quest'operazione, verranno occupati 0 B di spazio su disco. Continuare? [S/n] SCode: Select allLettura dei changelog... Fatto Preconfigurazione dei pacchetti in corso (Lettura del database... 354316 file e directory attualmente installati.) Preparativi per estrarre .../libc6_2.30-3_amd64.deb... A copy of the C library was found in an unexpected directory: '/usr/lib/x86_64-linux-gnu/ld-2.30.so' It is not safe to upgrade the C library in this situation; please remove that copy of the C library or get it out of '/usr/lib/x86_64-linux-gnu' and try again. dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libc6_2.30-3_amd64.deb (--unpack): il sottoprocesso nuovo pacchetto libc6:amd64 script pre-installation ha restituito lo stato di errore 1 Si sono verificati degli errori nell'elaborazione: /var/cache/apt/archives/libc6_2.30-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@debian02:/home/manu# How can I fix this? Thanks! | you are running sid, you should know better. wait a day or two then try again or read the error and fix it. |
I installed tor using "apt install tor". I am using debian 10. Also tor does not appear in the gnome's application menu, I must launch it from the cli: Code: Select alltor Mar 21 22:10:24.019 [notice] Tor 0.3.5.10 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8. Mar 21 22:10:24.019 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 21 22:10:24.019 [notice] Read configuration file "/etc/tor/torrc". Mar 21 22:10:24.024 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 21 22:10:24.025 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running? Mar 21 22:10:24.025 [warn] Failed to parse/validate config: Failed to bind one of the listener ports. Mar 21 22:10:24.025 [err] Reading config failed--see warnings above. | There is no torbrowser-launcher package for buster, use the versions from buster-backports instead. And tor is autostarted so you don't need to launch it manually or select it from a menu. |
I may remember this wrong but I think I always could set-up Debian with a readily configured webserver including phpMyAdmin. This time I forgot to select the option when installing the system. So I had to install it later on. It was a smooth ride to install the Apache server, MariaDB and PHP. But this is not true for phpMyAdmin for Debian 10. Everything I can find is guides for how to setup the software downloaded from the project web page. I would prefer using the version in the main repository (to get automatic security updates) but there doesn't seem to be one: Code: Select all# apt install phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done Package phpmyadmin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'phpmyadmin' has no installation candidate Am I missing something or is it really necessary to do this by hand now? I mean, I found a guide, but without an "installation candidate" this obviously can't work. | The phpmyadmin package was removed from buster before it was released as Debian 10 because the tcpdf build-dependency was missing thanks to https://bugs.debian.org/cgi-bin/bugrepo ... bug=915286 There are some efforts ongoing to port the testing/unstable versions to buster-backports: https://salsa.debian.org/phpmyadmin-tea ... n/issues/1 Until then perhaps try either phpliteadmin or adminer, which are the suggested alternatives. |
Im trying to figure out how to change format on my last partition - sda8 - currently formattet with ext4 (/usr) Goal - would like to be able to map drives from windows and save windows files on the partition. Have installed ntfs-3g support and tried formatting using Code: Select allmkfs.ntfs -f /dev/sda8 as root, but get "dev/sda8 is mounted" and when trying to umount "target is busy" Using debian 8.8 on a HP laptop - with Raspberry desktop theme | You cannot seriously want to reformat /usr into NTFS ? |
Hello, I'm trying to install amdgpu drivers for amd a10-7800 CPU on Debian Testing .. I've installed "xserver-xorg-video-ati xserver-xorg-video-amdgpu" and graphics/X still fails due to missing drivers. On last stable Debian I only had to do "apt install firmware-linux" for the same CPU/graphics. But, now when I try with "apt install firmware-linux" it fails. I'm asking for your suggestions, thank you. | questlinq wrote:I'm trying to install amdgpu drivers The amdgpu drivers are already included in the kernel, no need to install anything. Confirm this with Code: Select alllspci -k | grep -iA3 'vga\|display\|3d' questlinq wrote:I've installed "xserver-xorg-video-ati xserver-xorg-video-amdgpu" You don't need xserver-xorg-video-ati but xserver-xorg-video-amdgpu will provide the amdgpu DDX drivers. They're not actually needed though, your card should also be able to use the modesetting DDX drivers built into the X server itself. questlinq wrote:graphics/X still fails due to missing drivers You should post (a link to) the X.Org logs for the failed session. questlinq wrote:On last stable Debian I only had to do "apt install firmware-linux" for the same CPU/graphics. That should work, did it pull in firmware-amd-graphics? If you have a very new card then you may need newer firmware than Debian are currently providing, you can try MX Linux's firmware package instead (ported from Ubuntu): http://mxrepo.com/mx/repo/pool/ahs/l/li ... +1_all.deb |
Hello everyone I installed Debian 10 on my computer. I’ve two computers but on this one the graphic seems like massive …. I mean the resolution is really big compare to the other one. It seems like it doesn’t have the right drivers My compute is a HP 250 G6 Notebook, Intel Core i5-7200U, 2,5 - 3,1 GHz, 3 MB Cache, 4 GB di RAM, SATA 1 TB, Display WLED da 15.6" 1366 x 768 I’ve this card : 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) and I installed xserver-xorg-video-intel I've exactly the same resolution (1366x768) with windows Thanks for your help | It is still unclear what you mean by "massive" or "big". The resolution is just as it should, equal to the native screen resolution. Are you talking about the font size ? |
Hi, I don't know where to start. Everything was alright a couple of days ago. I had installed a basic Debian (Jessy) from a minimal image (netinst) in order to install a LAMP stack. Everything was working as expected: with Debsecan, Fail2ban or Munin sending emails to /var/mail/<user>. Then, I installed mSMTP and I started receiving Fail2ban mails in my Gmail default mSMTP account instead of /var/mail/<user>. Since Google sets a limit to smtp mails (100 per day), I didn't want those emails to affect that limit. To fix that problem I did many things. So many that I lost track of them. Now, I don't receive any kind of mail in /var/mail/<user>. At least I used to collect there mails from Fail2ban and Debsecan (and maybe Munin). So, the problem is not only with Fail2ban configuration, because I don't receive mails from Desecan, either. So, my question is how can I restart to receive local mails at /var/mail/<user> again? Thanks | good question. Somewhere in exim4 stuff. Look at /etc/exim4/exim4.conf.template. ### transport/30_exim4-config_mail_spool # This transport is used for local delivery to user mailboxes in traditional # BSD mailbox format. # mail_spool: debug_print = "T: appendfile for $local_part@$domain" driver = appendfile file = /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group = mail mode = 0660 mode_fail_narrower = false |
Alright. I've finally gotten the network share working and a test file uploaded to the Library in my fit-PC. I've installed mpd and icecast2 as well as mpc, though I'm not sure if I need that or not. I've found a number of tutorials for this process but they vary widely and are very inconsistent and often also very old. I don't know what I need to add to /etc/mpd.conf or /etc/icecast2/icecast.xml and what I don't need to add to those files. Ultimately, I want to be able to stream multiple instances of mpd on the same IP on different ports, so a user could put my IP address and a port number into their music player and play a different stream based on whatever port they put in. Some of the tutorials and walk-throughs I've looked at are: https://wiki.debian.org/mpd https://stmllr.net/blog/streaming-audio ... pberry-pi/ https://wiki.archlinux.org/index.php/Icecast https://dev.to/djemos/how-to-setup-a-st ... tation-a2a https://log.liminastudio.com/miscellane ... ast-as-mp3 As you can see, they're all very different. Some have the stream type set as "alsa" in the /etc/mpd.conf file and some have it set as "shout". I don't know that the difference is or which I should use. Can someone shed some more light on this, please? | Looks like you don't need icecast at all: https://wiki.archlinux.org/index.php/Mu ... _streaming Disclaimer: I've never actually tried this. |
Hi! It seems I somehow broke my nftables during the last few days on my Debian Buster remote Server. Everything has been working really well up to this point and now all of the sudden systemd always fails upon starting my nftables.service: Code: Select allroot@XXXXXX:~# systemctl start nftables.service Job for nftables.service failed because the control process exited with error code. See "systemctl status nftables.service" and "journalctl -xe" for details. Code: Select allMar 30 16:15:30 XXXXXX systemd[1]: Starting nftables... -- Subject: A start job for unit nftables.service has begun execution -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit nftables.service has begun execution. -- -- The job identifier is 572. Mar 30 16:15:30 XXXXXX nft[1794]: /etc/nftables.conf:3:1-14: Error: Could not process rule: Operation not supported Mar 30 16:15:30 XXXXXX nft[1794]: flush ruleset Mar 30 16:15:30 XXXXXX nft[1794]: ^^^^^^^^^^^^^^ Mar 30 16:15:30 XXXXXX nft[1794]: /etc/nftables.conf:5:1-2: Error: Could not process rule: Operation not supported Mar 30 16:15:30 XXXXXX nft[1794]: table inet filter { Mar 30 16:15:30 XXXXXX nft[1794]: ^^ Mar 30 16:15:30 XXXXXX nft[1794]: /etc/nftables.conf:6:15-19: Error: Could not process rule: Operation not supported Mar 30 16:15:30 XXXXXX nft[1794]: chain input { Mar 30 16:15:30 XXXXXX nft[1794]: ^^^^^ Mar 30 16:15:30 XXXXXX nft[1794]: /etc/nftables.conf:9:15-21: Error: Could not process rule: Operation not supported Mar 30 16:15:30 XXXXXX nft[1794]: chain forward { Mar 30 16:15:30 XXXXXX nft[1794]: ^^^^^^^ Mar 30 16:15:30 XXXXXX nft[1794]: /etc/nftables.conf:12:15-20: Error: Could not process rule: Operation not supported Mar 30 16:15:30 XXXXXX nft[1794]: chain output { Mar 30 16:15:30 XXXXXX nft[1794]: ^^^^^^ Mar 30 16:15:30 XXXXXX systemd[1]: nftables.service: Main process exited, code=exited, status=1/FAILURE -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit nftables.service has exited. -- -- The process' exit code is 'exited' and its exit status is 1. Mar 30 16:15:30 XXXXXX systemd[1]: nftables.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit nftables.service has entered the 'failed' state with result 'exit-code'. Mar 30 16:15:30 XXXXXX systemd[1]: Failed to start nftables. -- Subject: A start job for unit nftables.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit nftables.service has finished with a failure. -- -- The job identifier is 572 and the job result is failed And this is with the very very basic configuration of nftables. Code: Select all#!/usr/sbin/nft -f flush ruleset table inet filter { chain input { type filter hook input priority 0; } chain forward { type filter hook forward priority 0; } chain output { type filter hook output priority 0; } } I'm using this one now, since I first thought that there is something wrong with my actual config, which doesn't seem to be the case. My initial Setup, looked like the following: - iptables installed and running without blocking anything - fail2ban inserting iptables rules to block specific IPs - nftables basically only allowing input on port 22, 80 and 443 Although https://wiki.debian.org/nftables says, that this is discouraged according to https://wiki.nftables.org/wiki-nftables ... leshooting there should not necesserelly be an issue with my setup. I can confirm that, it worked like a charm for weeks. It was only today, when I noticed that nftables is not able to startup anymore after I wanted to add a new port to accept. This is actually my very first time asking for help online regarding stuff like this, since I can barely find any help on issues with nftables online. Okay. So what have I tried to solve the issue? - Well first of all I reset my config, as mentioned above, to the bare minimum -> Nothing - Second of all I removed my custom .service file from /etc/systemd/system -- I created a python script that initiates a server socket and communicates over a certain port to a remote client - I shut down fail2ban - funnily enough I did not find an option to stop iptables (Except for the update-alternatives thingy in the Wiki mentioned below) - I did however, more or less, try everything mentioned in the Debian Wiki (https://wiki.debian.org/nftables) - And then finally tried to reinstall nftables from scratch Well... Nothing.... I also tried to type in some rules manually, only to find out that I'm ending up with the same result: Code: Select allroot@XXXXXX:/etc/apt/sources.list.d# nft list ruleset root@XXXXXX:/etc/apt/sources.list.d# nft flush ruleset Error: Could not process rule: Operation not supported flush ruleset ^^^^^^^^^^^^^^ root@XXXXXX:/etc/apt/sources.list.d# And yes, I also did try to switch it off and back on again. I am desperate at this point Im running on: deb http://ftp.debian.org/debian buster main contrib non-free deb http://ftp.debian.org/debian buster-updates main contrib non-free deb http://security.debian.org buster/updates main contrib non-free with no additional sources and everything up to date I really don't know what to do anymore tbh. I really hope you guys can help me with this. If you need any more Infos, please just let me know KR! | @MediumRar, To me it looks like you're not loading the nftables modules? Check with "lsmod" if you have nf_tables (and probably a bunch of others). My server has: Code: Select all# lsmod | grep nft nft_masq_ipv4 16384 1 nft_masq 16384 1 nft_masq_ipv4 nft_chain_nat_ipv4 16384 2 nf_nat_ipv4 16384 2 nft_chain_nat_ipv4,nft_masq_ipv4 nft_log 16384 3 nft_reject_inet 16384 2 nf_reject_ipv4 16384 1 nft_reject_inet nf_reject_ipv6 16384 1 nft_reject_inet nft_reject 16384 1 nft_reject_inet nft_ct 20480 4 nf_conntrack 172032 5 nf_nat,nft_ct,nf_nat_ipv4,nft_masq,nft_masq_ipv4 nf_tables 143360 206 nft_ct,nft_log,nft_chain_nat_ipv4,nft_reject_inet,nft_masq,nft_masq_ipv4,nf_tables_set,nft_reject If you don't have them, check your boot options (cat /proc/cmdline and see if you have something funny there, or in /etc/modprobe.d). You could also just "journalctl -b" and review everything. |
I have debian 10.3 installed on a fit-PC3 device on a 4GB SD card. When I type in ip a in the terminal it says my wifi is wlp5s0 and it says the state is DOWN. I've found this tutorial for it but when I use their command iwlist wlp5s0 scan | grep -i ssid to scan for networks it says the device does not support scanning because the network is down. If I use the command I found on this thread to enable the wireless like ip link set wlp5s0 up it does not result in any out put. No errors or anything, and yet it still says the network is down. Someone on the debian reddit suggested rfkill unblock wlp5s0, but when I tried that bash said that rfkill is not found. How do I get my wifi working? | Huecuva wrote:When I type in ip a in the terminal it says my wifi is wlp5s0 and it says the state is DOWN Please post verbatim command output rather than vague descriptions. Huecuva wrote:I've found this tutorial That "guide" is utter nonsense, don't use it. See https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK instead. Huecuva wrote:ip link set wlp5s0 up it does not result in any out put. No errors or anything, and yet it still says the network is down. Silence==success: Code: Select allip a show up You need to associate with an access point for the "state" bit to change. Huecuva wrote:Someone on the debian reddit suggested rfkill unblock wlp5s0, but when I tried that bash said that rfkill is not found. Well install it then. Here's the .deb: http://deb.debian.org/debian/pool/main/ ... _amd64.deb See also http://forums.debian.net/viewtopic.php?f=16&t=142973 |
I have a fit-pc3 device that I have installed debian 10.3 headless on a 4GB SD card and I have a 160GB 2.5" HDD I would like to use for storage in it. This drive exists, and the lsblk command lists it as sda with 10 partitions. When I tried fdisk /dev/sda it says no such file or directory. When I type fdisk -l it lists sda and all 10 of its partitions. Does anyone have any ideas? Edited for proper path to device that fdisk can find but can't find. | fdisk is in /sbin/ . Maybe you didn't switch to root the correct way before running it ie. su - . See http://forums.debian.net/viewtopic.php?f=16&t=142973 Or maybe not as that usually gives "command not found". @HOAS - DLN has kindly stickied that topic after my request seeing as it comes up so often. |
So I'm still working on this fit-PC3 device. I mentioned before that I have a 160GB HDD that I am using as storage. It will contain all the MP3s that this thing will be streaming with MPD and icecast. It is formatted with ext4 and I have it auto mounting in fstab to <path/to/mount>. The goal is to have this folder shared so that I can access it from my Windows machine and transfer MP3s to it over my LAN. I have installed and attempted to configure Samba. I have created a samba user and given it a password. My /etc/samba/smb.conf file contains: Code: Select allclient max protocol = NT1 [Library] comment = Radio Music Library path = </path/to/mount> read only = no browsable = yes I have configured Windows to use NTLMv2 session security if negotiated. I have also commented out the line "valid users = %s" in an attempt to make this work. I have also tried adding "valid users = <samba username>". Nothing I have tried has worked. I can see my shared folder on the network, but when I try to access it, it asks for the login credentials and will not accept the username and password I created for the samba user. What do? EDIT: Figured it out mostly myself. | https://serverfault.com/questions/87916 ... with-samba On a private LAN I don't bother with this stuff. I also use a Windows administrator account and password to login from the Linux side. Use gpe-msc and also check/set your Windows firewall. Also just because the share folder shows up in Windows doesn't mean that Samba is working. Some users have found that v1 works better than v2 for large files. My advice - if you're on Windows 10 - install SSH. More straightforward. TC |
os: debian testing kde I do have a hp network printer that is automatically installed during the install process of Debian. This printer did work fine for several months. Today I noticed that the printer failed to print. So I tried to remove the printer and add the printer manually. But when I remove the printer it is automatically reinstalled again with a non-working configuration. How can I stop this reinstalling of the printer and remove the automatically installed printer definitive?????? edit: I do not know if I stopped it but I removed the printer in the web-interface of cups and now it seems to be gone. The printer is not reinstalling. | There is a system service called cups-browsed which will detect all printers in reach and install them automatically. Yes, this can lead to doubles. My suggestion is to stop and disable this service so it stops doing that. Code: Select allsudo systemctl stop cups-browsed sudo systemctl disable cups-browsed You can still manually start the service to allow automatic detect/install of a new printer: Code: Select allsudo systemctl start cups-browsed and if you're done, stop it again: Code: Select allsudo systemctl stop cups-browsed The first two instructions are needed to stop Debian from automatically starting this service everytime you reboot the computer. You can check the status of the service with this command: Code: Select allsystemctl status cups-browsed and after you disabled and stopped it, it should look like mine: Code: Select allsystemctl status cups-browsed ● cups-browsed.service Loaded: masked (Reason: Unit cups-browsed.service is masked.) Active: inactive (dead) |
I've ran sudo apt-get update && upgrade, after rebooting, I am unable to access most of the websites. ERR_NAME_NOT_RESOLVED is the error message I get. I can't google the error and try to fix it by trying things as the sites won't open. Google itself does work. From the snippets I could figure out that it must have something to do with DNS settings. What caused it and what setting got messed up? | Coulomb wrote:Code: Select allphil@debian:~$ ip a 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 0c:9d:92:c2:d7:5e brd ff:ff:ff:ff:ff:ff inet6 2003:e3:2f27:fc16:b174:775e:9015:c08e/64 scope global temporary dynamic valid_lft 604292sec preferred_lft 85715sec inet6 2003:e3:2f27:fc16:e9d:92ff:fec2:d75e/64 scope global dynamic mngtmpaddr noprefixroute valid_lft 604784sec preferred_lft 86384sec inet6 fe80::e9d:92ff:fec2:d75e/64 scope link noprefixroute valid_lft forever preferred_lft forever phil@debian:~$ ip r phil@debian:~$ cat /etc/resolv.conf # Generated by NetworkManager nameserver fe80::1%eno1 Total lack of IPv4 configuration. Maybe the DHCP negotiation failed. Global IPv6 configuration looks fine. Google is reachable because it is available with both IPv4 and IPv6. Websites such as this forum which are available only with IPv4 are unreachable. Head_on_a_Stick wrote:You have no routes defined. No IPv4 routes. I bet that Code: Select allip -6 route would have shown correct IPv6 routes. Head_on_a_Stick wrote:That command should list your gateway (router) address. You mean the default route. It should have listed the local subnet direct route too. Head_on_a_Stick wrote:Code: Select allnameserver fe80::1%eno1 I don't think that's a valid address. It is a valid address : a link local address suffixed by the interface connected to the local network, making it a fully qualified unicast address. Head_on_a_Stick wrote:The ping outputs certainly seem to show an incorrect nameserver. How can you say that ? The nameserver resolves google.com correctly and ping works fine (using IPv6). Head_on_a_Stick wrote:Coulomb wrote:disabled ipv6 since it may have been causing issues Yes, I probably should have suggested that. Please guys. Disabling IPv6 helps only with a broken IPv6 configuration, not when the IPv4 configuration is broken. Here the IPv6 configuration works fine. |
Installed Debian 10 on the Lenovo T60 using the firmware netinst for i386. During install chose WIFI as the preferred internet connection. After installation was complete there were issues with getting a connection. I had to change the NetworkManager.conf from manage=false to manage=true. That confuses me a bit as on all my other installations I never had to change that parameter. Also, if the ethernet cable is connected the laptop can not connect to the internet via ethernet and the WIFI will disconnect every five seconds and then reconnect. The WIFI seems to work fine, as long as the ethernet is not connected, and the owner of the computer does not plan to use the ethernet connection, but I am concerned that there is something not configured properly. If somebody has some suggestions I would appreciate the help. Please let me know what further information is needed. Thank you. | You can disable avahi-daemon: Code: Select allsystemctl stop avahi-daemon.service systemctl disable avahi-daemon.service |
Good night, fellow sysadmins I've been bashing my head against the keyboard all Sunday long over this bizarre issue. Tried strace'ing things, tail -f'ing syslog and messages. And, hell, I've even spent an hour looking at ominous tcpdump output, to no avail. Thing is: at my workplace, we had an Debian Jessie, running ZFS and sharing homes manually (i.e. not using zfs share) over NFS. We grew tired of running ancient software and ZFS was streamed down to another server, running Debian Buster, which now operates as NFS server. I designed the transition to be fairly seamless: a few changes in DNS and voilá, nfs.domain points to the new server. But things aren't work as expected. While it mounts over krb5p, and transfer rates are fairly good, it hiccups while opening some files. Examples: When logging in, there's a unacceptable five to ten seconds delay to load .bashrc and show the actual $PS1 prompt. Also, even vim takes up several seconds (more than thirty sometimes) to open. And closing it (no pun intended) takes another forty. Sometimes, when cat'ing .bashrc, it hangs a while (like five seconds) at an openat syscall. Code: Select allexecve("/usr/bin/cat", ["cat", ".bashrc"], 0x7ffdf3d44398 /* 23 vars */) = 0 brk(NULL) = 0x557af9f21000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=43568, ...}) = 0 mmap(NULL, 43568, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8979b97000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8979b95000 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f89799d4000 mprotect(0x7f89799f6000, 1658880, PROT_NONE) = 0 mmap(0x7f89799f6000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f89799f6000 mmap(0x7f8979b3e000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f8979b3e000 mmap(0x7f8979b8b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f8979b8b000 mmap(0x7f8979b91000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8979b91000 close(3) = 0 arch_prctl(ARCH_SET_FS, 0x7f8979b96540) = 0 mprotect(0x7f8979b8b000, 16384, PROT_READ) = 0 mprotect(0x557af833f000, 4096, PROT_READ) = 0 mprotect(0x7f8979bc9000, 4096, PROT_READ) = 0 munmap(0x7f8979b97000, 43568) = 0 brk(NULL) = 0x557af9f21000 brk(0x557af9f42000) = 0x557af9f42000 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=3031632, ...}) = 0 mmap(NULL, 3031632, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f89796ef000 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0 openat(AT_FDCWD, ".bashrc", O_RDONLY For the next few minutes, the file is cached and is always pretty easily read. But there's a catch: It only happens when mounting things with krb5p security, and krb5i fared even worse, surprisingly. Exporting and mounting with "sec=sys" works okay: no slow downs, hiccups or troubles of the same sort. Kerberos seems not to be working adequately, but, as I said already, there's nothing relevant on logs. No errors, no warnings, nothing. The darned NFS thing just slows down for no reason at all. What's happening? Thanks, -trp | Well, nervermind. Seems like I got it. Initially, I've copied over the keytab file from the old server and added a few other keytabs to it. Now, I removed "nfs/nfs.domain" and "host/nfs.domain", then re-added them, thus increasing the kvno. Everything's working fine, now, it seems. |
I have a small network at home, all computers can see the shares of each other and even share printers, my Debian computer see the shares but can´t access them "there is a message about a list from server invalid" All other computers can access the shares but not my Debian share, and my Debian cant access them, I think it can be a package missing? The other computers are Arch Linux and mx Linux and Windows 10 no problems on those. They working just fine. | I solved it, there was the SMB protocol was set to low, now it is working. |
I have installed debian wheezy on old computer. I cannot configure wlan interface using network manager. I cannot set Ad-Hoc setting in options. The save button is grayed and I cannot click save. What can I do? | You will most likely have to build the driver for that chip as it is not in the kernel for Wheezy. Follow instructions here - https://github.com/Mange/rtl8192eu-linux-driver |
Hello, I'm currently on Debian Sid. I decided to convert my /home (who is on dedicaded hdd) to luks2 without formatting (with cryptsetup-reencrypt --new). So that's what i've do in order : Boot into Debian Live Then type the command> - e2fsck -f /dev/sdc3 - resize2fs -M /dev/sdc3 - cryptsetup-reencrypt --verbose --debug --new --reduce-device-size=64M --cipher=aes-xts-plain64 --key-size=512 --hash=sha512 --type=luks2 --pbkdf=argon2id --pbkdf-force-iterations=50000 --pbkdf-memory=1048576 --pbkdf-parallel=4 --use-random /dev/sdc3 - cryptsetup luksOpen /dev/sdc3 home-encrypted - resize2fs /dev/mapper/home-encrypted - mount /dev/mapper/home-encrypted /mnt/home-encrypted Then i checked that everything is fine on the partition, that the case. Getting the uuid : lsblk -o name,uuid,mountpoint NAME UUID MOUNTPOINT sda ├─sda1 da13dd96-8f92-4f4c-8a47-2fc611656194 / └─sda6 38d301c1-4164-4349-a130-b769d49d274a [SWAP] sdb └─sdb1 2aa2ca11-f123-47ad-90cb-ed0f631ab251 /home/unknown/Temporaire sde 2019-11-16-10-31-18-00 ├─sde1 2019-11-16-10-31-18-00 └─sde2 DEB0-0001 sdh └─sdh3 2d82b084-e9c2-497b-a285-63203860b148 └─home-encrypted 0d248680-8417-4f9e-9d9b-8218d90be52f /home sdi └─sdi1 04eb6f31-8725-4f02-a20b-603a1235e0e7 /mnt/USB_BACKUP sda1 is the root filesystem, sda6 is the swap, sdb1 is for temporary, sdeX is just my card reader, sdh3 is my home, and sdi1 is my usb backup. Now i have to modify fstab/crypttab, so i added into : fstab> UUID=0d248680-8417-4f9e-9d9b-8218d90be52f /home ext4 defaults,errors=remount-ro 0 1 crypttab : home-encrypted UUID=0d248680-8417-4f9e-9d9b-8218d90be52f none luks Now updating initramfs : - mount /dev/sda1 /mnt/sda1 - mount --bind /dev /mnt/sda1/dev - mount --bind /dev/pts /mnt/sda1/dev/pts - mount --bind /proc /mnt/sda1/proc - mount --bind /sys /mnt/sda1/sys - chroot /mnt/sda1 - update-initramfs -u -k all The problem is when i restart the computer, it always launch a fsck on home-encrypted. I tried a e2fsck -f /dev/mapper/home-encrypted to check if there is problem, nothing Then, after the fsck, later on boot, i have this error : DEPEND^[[0m] Dependency failed for ^[[0;1;39mCryp…aphy Setup for home-encrypted^[[0m. DEPEND^[[0m] Dependency failed for ^[[0;1;39mLocal Encrypted Volumes^[[0m. DEPEND^[[0m] Dependency failed for ^[[0;1;39m/dev/mapper/home-encrypted^[[0m. DEPEND^[[0m] Dependency failed for ^[[0;1;39m/home^[[0m. DEPEND^[[0m] Dependency failed for ^[[0;1;39mLocal File Systems^[[0m. And after that debian boot in rescue mode. Never asked for password of home partition. So far, my workaround is to boot without "/dev/mapper/home-encrypted" into fstab, go into first TTY, and type : - cryptsetup luksOpen /dev/sdc3 home-encrypted - mount /dev/mapper/home-encrypted /home And i go back into ctrl+alt+F7, and loggin is fine... I tried to do a "update-initramfs -u -k all" into my real system (thinking my chroot have failed), but the result is exactly the same. Sorry for the long text, but i prefer giving all the info directly. Thanks by advance | SkilleR666 wrote:fstab>UUID=0d248680-8417-4f9e-9d9b-8218d90be52f /home ext4 defaults,errors=remount-ro 0 1 You do not need to use the filesystem UUID in fstab, you can use the device-mapper name /dev/mapper/home-encrypted instead. SkilleR666 wrote:crypttab :home-encrypted UUID=0d248680-8417-4f9e-9d9b-8218d90be52f none luks Not good. crypttab must use the LUKS container (sdc3/sdh3) UUID, not the filesystem UUID. SkilleR666 wrote:The problem is when i restart the computer, it always launch a fsck on home-encrypted. Surprising, because at this time the volume is not available yet. SkilleR666 wrote:Now updating initramfs Pointless. This encrypted volume is not opened by the initramfs. Only /, /usr, hibernation swap and volumes with the option "initramfs" in crypttab are. |
It seems like XScreensaver takes my computer as idle when it doesn't get mouse input, even as I send input from my game controller. | As Root Code: Select allapt purge xscreensaver ? |
Is it possible to have multiply keyboard layouts in console and to have key combination to switch between them? | It is possible to use loadkeys(1) to change keyboard layout on the fly (i.e. without changing system configuration): - package console-data must be installed - you have to allow your user to use loadkeys (see https://unix.stackexchange.com/question ... ormal-user) - there may be security concerns (that's why loadkeys doesn't work if not setuid, see https://git.kernel.org/pub/scm/linux/ke ... c4b8871968) so all in all be aware that it might not be good practice. |
Recently (not sure exactly when this started) cron jobs started running twice. I was on 9.x and had no issues, but upgraded to Buster (10) and had no issue (yet) eventually upgraded to 10.1 and then 10.2 and the problem seemed to start. At first, cron.hourly (which has ONLY the .placeholder ) was erroring and sending an email telling me that it could not find root, which was in the user field of /etc/crontab... reading man pages later, I tried `cp -p /etc/crontab /etc/old.crontab` and then `crontab -e` and removed root from user field... I checked /var/spool/cron/crontabs/root and after the edit to remove "root" from the entry, I found: Code: Select all# DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.cwzBzw/crontab installed on Thu Jan 9 08:28:57 2020) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any'). # # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command 17 * * * * cd / && run-parts --report /etc/cron.hourly 25 6 * * * cd / && run-parts --report /etc/cron.daily 47 6 * * 7 cd / && run-parts --report /etc/cron.weekly 52 6 1 * * cd / && run-parts --report /etc/cron.monthly # 1 0 * * 3 cp -p /etc/wed_motd /etc/motd 1 0 * * 0-2,4-6 cp -p /etc/old_motd /etc/motd # 20 22 5,9,13,17,22,27 * * /usr/local/bin/B4BU 32 22 5,9,13,17,22,27 * * /usr/local/bin/runBU 2 0 1 * * /usr/local/bin/L_B4BU 12 0 1 * * /usr/local/bin/L_runBU # After exiting the edit of crontab, I found that jobs were being run twice! Particularly a problem for the two jobs " /usr/local/bin/B4BU" and " /usr/local/bin/L_B4BU" which are supposed to "trim" (delete) older backups to make room for newer "runBU" (partclone.* and dd" backups of filesystems 1, 2, and 4... the "L_" versions are for capturing the end of month backups... running these twice deletes one of the backup generations intended to be kept. And, running the jobs in cron.[daily|hourly|weekly|monthly] means logwatch, rkhunter, tripwire and others get run twice in close succession with odd results. I tried removing crontab, but cron goes nuts every minute and will soon overflow log files: Code: Select allJan 13 12:56:01 DebServ cron[854]: (CRON) STAT FAILED (/etc/crontab) Jan 13 12:57:01 DebServ cron[854]: (CRON) STAT FAILED (/etc/crontab) And worse... cron jobs still are getting run twice! Others have suggested rebooting, but the runBU jobs do reboot the machine so that filesystem SDA2 is backed up clean. I have exhausted my thinking and need some new ideas for getting the twice running jobs to get pared down to running once. A final thought: the machine is on 24/7, so anacron really isn't needed. What REALLY is the impact of purging the anacron package? | w4kh wrote: A final thought: the machine is on 24/7, so anacron really isn't needed. What REALLY is the impact of purging the anacron package? Code: Select all$ aptitude show anacron ... clip.. This package is pre-configured to execute the daily jobs of the Debian system. You should install this program if your system isn't powered on 24 hours a day to make sure the maintenance jobs of other Debian packages are executed each day. Homepage: http://sourceforge.net/projects/anacron/ Merkit: admin::automation, implemented-in::c, interface::daemon, role::program, scope::utility If you don't need, just remove. |
On my machines I use English but now I am using another not mine pc with debian 9 and 10 with Italian language. Maybe is that the problem? A lot of commands do not work, why? Code: Select allupdate-grub command not found (written in Italian) reboot command not found poweroff command not found | http://forums.debian.net/viewtopic.php?f=16&t=142973 |
Hello, yesterday I installed Debian 10 kde on an old Acer X3300. Everything works fine but when I connect the hdmi-output to my tv I see the following message on my tv: "not supported". So there is a hdmi signal on the tv but the tv does not understand it. When I google this problem I find that this problem could be caused by the video card. I use the on-board video card: nvidia MCP 785 Geforce 8200. I downloaded the linux driver for the Geforce 8200 from the nvdia website. When I try to install it I get the message that the nouveau kernel driver are installed should be blacklisted. Now I am hesitating because I read several times that the nouveau drivers work better then the nvidia drivers. My questions are: 1. can I get the HDMI-output to work with the nouveau drivers? 2. can I expect problems when I install the nvidia geforce 8200 drivers? 3. will the nvidia drivers enable my hdmi output?? | Try Fn + F7. (Your computer may use a different key, look for an image of a screen.) |
I had cups-pdf working in Stretch, printing successfully with searchable text to ~/Documents/cups-pdf. Last month I dist-upgraded to Buster and cups-pdf will now only print to the default directory ~/PDF. I've purged and installed cups and cups-pdf (printer-driver-cups-pdf) but still cannot print to my preferred directory by editing /etc/cups/cups-pdf.conf. Printing to my HP printer works fine. Watching /var/spool/cups-pdf/SPOOL/, I see all the print jobs getting this far and deleted. Google shows that apparmor has been an issue in the past, so I've purged it too. No change. $ uname -a Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux The default directory in /etc/cups/cups-pdf.conf is Out ${HOME}/PDF The file is created in ~/PDF. If I change it to (or another directory) Changing the location to Out ${HOME}/PDF/TEST The file is not created, but is appearing in SPOOL and is deleted. To check if it's a permission issue, I've chmod 777 TEST and no change. From the log files in /var/log/cups/ Edited to include log content after enabling debug mode in /etc/cups/cups-pdf.conf access_log Code: Select alllocalhost - - [11/Jan/2020:20:14:08 -0700] "POST /printers/Virtual_PDF_Printer HTTP/1.1" 200 182330 Print-Job successful-ok cups-pdf-Virtual_PDF_Printer_log Code: Select allSat Jan 11 20:14:08 2020 [DEBUG] AnonDirName = "/var/spool/cups-pdf/ANONYMOUS" Sat Jan 11 20:14:08 2020 [DEBUG] AnonUser = "nobody" Sat Jan 11 20:14:08 2020 [DEBUG] GhostScript = "/usr/bin/gs" Sat Jan 11 20:14:08 2020 [DEBUG] GSCall = "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" Sat Jan 11 20:14:08 2020 [DEBUG] Grp = "lpadmin" Sat Jan 11 20:14:08 2020 [DEBUG] GSTmp = "TMPDIR=/var/tmp" Sat Jan 11 20:14:08 2020 [DEBUG] Log = "/var/log/cups" Sat Jan 11 20:14:08 2020 [DEBUG] PDFVer = "1.4" Sat Jan 11 20:14:08 2020 [DEBUG] PostProcessing = "" Sat Jan 11 20:14:08 2020 [DEBUG] Out = "${HOME}/PDF/TEST" Sat Jan 11 20:14:08 2020 [DEBUG] Spool = "/var/spool/cups-pdf/SPOOL" Sat Jan 11 20:14:08 2020 [DEBUG] UserPrefix = "" Sat Jan 11 20:14:08 2020 [DEBUG] RemovePrefix = "" Sat Jan 11 20:14:08 2020 [DEBUG] OutExtension = "pdf" Sat Jan 11 20:14:08 2020 [DEBUG] Cut = 3 Sat Jan 11 20:14:08 2020 [DEBUG] Truncate = 64 Sat Jan 11 20:14:08 2020 [DEBUG] DirPrefix = 0 Sat Jan 11 20:14:08 2020 [DEBUG] Label = 1 Sat Jan 11 20:14:08 2020 [DEBUG] LogType = 7 Sat Jan 11 20:14:08 2020 [DEBUG] LowerCase = 1 Sat Jan 11 20:14:08 2020 [DEBUG] TitlePref = 0 Sat Jan 11 20:14:08 2020 [DEBUG] DecodeHexStrings = 0 Sat Jan 11 20:14:08 2020 [DEBUG] FixNewlines = 0 Sat Jan 11 20:14:08 2020 [DEBUG] AllowUnsafeOptions = 0 Sat Jan 11 20:14:08 2020 [DEBUG] AnonUMask = 0000 Sat Jan 11 20:14:08 2020 [DEBUG] UserUMask = 0077 Sat Jan 11 20:14:08 2020 [DEBUG] *** End of Configuration *** Sat Jan 11 20:14:08 2020 [DEBUG] set new gid: lpadmin Sat Jan 11 20:14:08 2020 [DEBUG] initialization finished: v3.0.1 Sat Jan 11 20:14:08 2020 [DEBUG] user identified: ramack Sat Jan 11 20:14:08 2020 [DEBUG] output directory name generated: /home/ramack/PDF/TEST Sat Jan 11 20:14:08 2020 [DEBUG] user information prepared Sat Jan 11 20:14:08 2020 [DEBUG] spoolfile name created: /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:14:08 2020 [DEBUG] source stream ready Sat Jan 11 20:14:08 2020 [DEBUG] destination stream ready: /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:14:08 2020 [DEBUG] owner set for spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:14:08 2020 [DEBUG] using traditional fgets Sat Jan 11 20:15:03 2020 [DEBUG] found beginning of postscript code: %!PS-Adobe-3.0 Sat Jan 11 20:15:03 2020 [DEBUG] now extracting postscript code Sat Jan 11 20:15:03 2020 [DEBUG] found title in ps code: ([ubuntu] CUPS-PDF trouble - printed pages disappear) Sat Jan 11 20:15:03 2020 [DEBUG] found end of postscript code: %%EOF Sat Jan 11 20:15:03 2020 [DEBUG] all data written to spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:15:03 2020 [DEBUG] trying to use PS title: ([ubuntu] CUPS-PDF trouble - printed pages disappear) Sat Jan 11 20:15:03 2020 [DEBUG] removing special characters from title: ([ubuntu] CUPS-PDF trouble - printed pages disappear) Sat Jan 11 20:15:03 2020 [DEBUG] removing trailing _ from title: __ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear__ Sat Jan 11 20:15:03 2020 [DEBUG] removing leading _ from title: __ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear Sat Jan 11 20:15:03 2020 [DEBUG] title successfully retrieved: job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear Sat Jan 11 20:15:03 2020 [DEBUG] input data read from stdin Sat Jan 11 20:15:03 2020 [DEBUG] output filename created: /home/ramack/PDF/TEST/job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear.pdf Sat Jan 11 20:15:03 2020 [DEBUG] ghostscript commandline built: /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/ramack/PDF/TEST/job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:15:03 2020 [DEBUG] output file unlinked: /home/ramack/PDF/TEST/job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear.pdf Sat Jan 11 20:15:03 2020 [DEBUG] TMPDIR set for GhostScript: /var/tmp Sat Jan 11 20:15:03 2020 [DEBUG] waiting for child to exit Sat Jan 11 20:15:03 2020 [DEBUG] entering child process Sat Jan 11 20:15:03 2020 [DEBUG] GID set for current user Sat Jan 11 20:15:03 2020 [DEBUG] supplementary groups set for current user Sat Jan 11 20:15:03 2020 [DEBUG] UID set for current user: ramack Sat Jan 11 20:15:03 2020 [DEBUG] ghostscript has finished: 256 Sat Jan 11 20:15:03 2020 [ERROR] failed to set file mode for PDF file: /home/ramack/PDF/TEST/job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear.pdf (non fatal) Sat Jan 11 20:15:03 2020 [DEBUG] ERRNO: 2 (No such file or directory) Sat Jan 11 20:15:03 2020 [DEBUG] no postprocessing Sat Jan 11 20:15:03 2020 [DEBUG] spoolfile unlinked: /var/spool/cups-pdf/SPOOL/cups2pdf-3965 Sat Jan 11 20:15:03 2020 [DEBUG] all memory has been freed Sat Jan 11 20:15:03 2020 [STATUS] PDF creation successfully finished for ramack Googling "failed to set file mode for PDF file:" produces generic hits that isn't helpful, but I'm still going through the results. What is not getting the correct permissions? Is there another .conf that I need to also be editing to point to a different directory? | A little more progress... After enabling debuging in /etc/cups/cups-pdf.conf, re-printing a new job, then opening /var/log/cups/cups-pdf-Virtual_PDF_Printer_log to view the results. I found the gs line: Code: Select allSat Jan 11 20:15:03 2020 [DEBUG] ghostscript commandline built: /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/ramack/PDF/TEST/job_102-ubuntu__CUPS-PDF_trouble_-_printed_pages_disappear.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-3965 I modified that command it to print a known .ps and it successfully converted it to a .pdf. So that part works. |
system: debian kde testing When I put a usb-stick in my pc I am asked for my password. The usb-stick is formatted as fat32 with gparted (on my system) and labeled usb4 If I look at the map /media/usb4 is see that I am the owner and the permissions are 755. This behaviour started a few days ago. How can I solve this?? | Have you enabled auto-mounting? The /media/usb4 mountpoint suggests that you have added an fstab line instead of relying on udisks2, is that the case? If so then please post the content of /etc/fstab Open a terminal and run this command Code: Select alludevadm monitor Then plug the stick in and post any new output that appears. |
Hi all, I have a strange issue with Debian10 and Apache2. On this linux machine I have installed Apache2 with MariaDB. Apache2 works fine if I manually start it when Debian10 is running, but not start automatically at boot (I have just configure it using systemctl enable apache2). I get this error when Apache2 try to start at boot: Code: Select allsystemd[1]: Starting The Apache HTTP Server... apachectl[524]: [Mon Jan 13 12:51:08.552517 2020] [alias:warn] [pid 547] AH00671: The ScriptAlias directive in /etc/apache2/conf-enabled/serve-cgi-bin.conf at li systemd[1]: apache2.service: Start operation timed out. Terminating. systemd[1]: apache2.service: Control process exited, code=killed, status=15/TERM systemd[1]: apache2.service: Failed with result 'timeout'. systemd[1]: Failed to start The Apache HTTP Server. Have someone any ideas to fix it? Thanks so much! | You could try posting the content of /etc/apache2/conf-enabled/serve-cgi-bin.conf as that appears to be where the problem is. |
This morning, I upgraded my video card to a Radeon RX580, and when I booted up, I was unable to get any video out of either of the HDMI ports. The monitor connected to the DVI port of course works fine. So I rebooted, and selected kernel 4.9.0-11-amd64 at the grub menu, and everything comes up fine. I've tried adding the following line to /etc/default/grub, and running update-grub (tried with both HDMI ports): Code: Select allGRUB_CMDLINE_LINUX_DEFAULT="video=HDMI-A-0:1920x1080@60:D" But no dice. xrandr shows: Code: Select allHDMI-A-0 disconnected (normal left inverted right x axis y axis) HDMI-A-1 disconnected (normal left inverted right x axis y axis) output of lspci: Code: Select all01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7) This is on Debian Buster, fully up to date. This may be a non-issue, since I don't know what the significant differences are between the two kernels, and my system appears to be functioning perfectly fine on 4.9, but I'm always a fan of using a newer kernel if I can. | There are numerous changes concerning this card between kernels 4.9 and 4.19. Under 4.19 it should use amdgpu and polaris10 firmware. Under the working 4.9 what is the results of dmesg | grep amdgpu? You may need to specify a change if 4.9 reports using the radeon driver. |
Hi all, so my idea was to configure my keyboard layout to better suit my needs. To that end, I edited the file /usr/share/X11/xkb/symbols/us. For the sake of example, I edit the first entry - the tilde key - from the original: Code: Select allkey <TLDE> { [ grave, asciitilde]}; to the new Code: Select allkey <TLDE> { [ 1, 2, 3, 4]}; . With the original layout, if I press the sequence <TLDE>, <SHIFT>-<TLDE>, <ALT>-<TLDE>, <SHIFT>-<ALT>-<TLDE> I got the following output: Code: Select all`~àþ After a Code: Select allsetxkbmap -layout us, I get the following: Code: Select all12±². So the first two entries come out as expected from the customized layout file, while the second two have changed to something completely different. And the same is true for any key I have tried, so it's not just the TLDE key. (For completeness sake, I add the example of changing Code: Select allkey <AC01> { [ a, A]}; to Code: Select allkey <AC01> { [ a, A, adiaeresis, Adiaeresis]}; which, in both cases, produces: Code: Select allaAáÁ Code: Select all$ setxkbmap -verbose 10 -layout us Setting verbose level to 11 locale is C Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: pc105 layout: us options: terminate:ctrl_alt_bksp Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev)+terminate(ctrl_alt_bksp) geometry: pc(pc105) Neither pc, inet(evdev) nor terminate seem to contain anything that would overwrite the usual keys. Code: Select all$ cat /etc/default/keyboard # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="" XKBOPTIONS="terminate:ctrl_alt_bksp" BACKSPACE="guess" I have tried to reconfigure with dpkg-reconfigure keyboard-configuration and console-setup as suggested by the Wiki, but that does not seem to be the issue here. My guess is that it might have something to do with the "Warning! Multiple definitions of keyboard layout Using command line, ignoring X server" and/or the fact that setxkbmap prints the locale as C when $LANG is en_GB.UTF-8. Is it possible that some other application is overwriting the xkb setup? I am running debian 10 (buster) with openbox. Thanks already for your time in reading! Any help is appreciated! Cheers! | Code: Select alllocalectl |
A recent bullseye update failed to rebuild my legacy nvidia driver (340xx). I think the gpu is a GT210. The automated build failed because it couldn't find the required linux header files. uname -a gives me: 5.3.0-3-amd64 #1 SMP Debian 5.3.15-1 ((2019-12-07) x86-64 Code: Select alldpkg-reconfigure nvidia-legacy-340xx-kernel-dkms gives Module build for kernel 5.3.0-3-amd64 was skipped since the kernel headers for this kernel does not seem to be installed doing a Code: Select allapt-get install linux-headers-5.3.0-0-amd64 gives error 'can't find the package' Similarly for linux-headers-5.3.0-3-amd64 Where do I go from here? | ticketman wrote:what on earth is going on?? You are running testing. Isn't it fun. |
SOLVED: uh..... Turns out it was a case sensitivity thing. Everything is working. Thanks to everyone that took a look I have a FusionPBX server running Debian. I have configured /etc/xinetd.d/tfpt as follows: service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = -s /tftpdata disable = no } I had to comment out a line in inetd.conf (I think) to get it working. I had to add a line to my firewall to allow traffic to port 69. The server is on a static public IP. I CAN use the terminal tftp client on an ubuntu machine on my local network to download files from the Debian tftp server. I cannot download files using tftp client (command line) on my Windows machine. I CAN download files using TFTPd64 gui on another Windows machine I cannot get my Cisco phone to provision via tfpt. Same phone has no issues with other tftp servers. <--This is my major concern. What may I be missing? I'm all ears, thanks in advance | TFTP is a bit like FTP, it uses other ports than 69 for file transfer. Netfilter connection tracking has a specific helper to identify data packets in the RELATED state. |
Hi, I backed up /etc folder, but when I rsync /etc/ufw and /etc/gufw to restore firewall rulles and restart services I dont see the rules coming up in gufw gui. Any help, please.., Thanks. | ok, I got it by importing gufw profiles within gui gufw Thanks. |
Hello, I've successfully installed Debian 10 on my Mac-book 4.1 and wifi was working flawlessly until I tried to use it with a Huawei B535 router... With the previous router (TP-Link Archer D50) the WiFi 2.4 GHz has always worked fine. With this router my laptop sees the WiFi wlan at 2.4 GHz, seems to connect without problems but actually it doesn't work: internet is down and also the local wlan is down because I can't reach the webpage of the router. Code: Select allattilio@Lap41:~$ sudo ifconfig [sudo] password for attilio: ens5: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 00:1e:c2:15:36:b7 txqueuelen 1000 (Ethernet) RX packets 94480 bytes 118848094 (113.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 54655 bytes 5522854 (5.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 14 bytes 630 (630.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 14 bytes 630 (630.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.8.101 netmask 255.255.255.0 broadcast 192.168.8.255 inet6 fe80::91f0:4105:4c7:423b prefixlen 64 scopeid 0x20<link> ether 00:1e:c2:a4:e1:f1 txqueuelen 1000 (Ethernet) RX packets 80 bytes 7804 (7.6 KiB) RX errors 0 dropped 0 overruns 0 frame 617597 TX packets 208 bytes 31191 (30.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 attilio@Lap41:~$ ping -c 4 192.168.8.1 PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data. --- 192.168.8.1 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 60ms attilio@Lap41:~$ ping -c 4 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data --- 8.8.8.8 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 81ms Additional information: - With the wired connection all is ok. - All other devices work without problem with the huawei router (desktop pc with kubuntu 19.10, android phone, apple ipad and iphone...) - If I log in the router (with another device) I can see my laptop listed in the connected devices. - I cannot ping anything but me; other devices cannot ping me. - I've already factory reset the router Can somebody help me? Thank you all in advance, bye R. | One thing to look at is the encryptation ciphers. ccmp(aes) is more secure than tkip but some older wifi cards only support tkip. If your new router defaults to ccmp and your older MacBook is set for tkip it would result in what you are reporting. You can go through the routers configuration to see how the cipher is set. How you would specify the cipher in the macbook depends on what wifi managment you are using. |
Hi all, just installed buster. if it changes anything, I kept my /home partition from the previous stretch installation, while I overwrote the system partitions with the installer (weird issues with packages dependencies). anything seems fine and most applications picked up their previous configuration. then, as I have a logitech trackball, I wanted to configure the key mappings. a) I saved this as /etc/X11/xorg.conf.d/50-trackball.conf and /usr/share/X11/xorg.conf.d/50-trackball.conf, which used to work before but X does not seem to pick the configuration up. is this the correct place for x server configuration snipplets? Code: Select allSection "InputClass" Identifier "Marble Mouse" MatchProduct "Trackball" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "ButtonMapping" "1 2 3 4 5 6 7 8 9" Option "EmulateWheel" "true" Option "EmulateWheelButton" "8" Option "ZAxisMapping" "4 5" Option "XAxisMapping" "6 7" Option "Emulate3Buttons" "true" Option "EmulateWheelInertia" "10" EndSection b) I can't find the X logs to troubleshoot. I looked in: ~/.local/share/xorg/Xorg.0.log /var/log/Xorg.0.log but these logs contain only data from startx run I did from the command line in text mode, nothing from the current session. any hints to why I don't have logs? apparently the X server being run is Xwayland, is this expected? 9012 ? Ssl 0:00 /usr/sbin/gdm3 26242 ? Sl 0:00 \_ gdm-session-worker [pam/gdm-password] 26253 tty7 Ssl+ 0:00 \_ /usr/lib/gdm3/gdm-wayland-session /usr/bin/gnome-session 26256 tty7 Sl+ 0:00 | \_ /usr/lib/gnome-session/gnome-session-binary 26288 tty7 Rl+ 3:53 | \_ /usr/bin/gnome-shell 26295 tty7 Sl+ 1:52 | | \_ /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6 27545 tty7 Sl+ 4:14 | | \_ /usr/lib/firefox-esr/firefox-esr thanks for any help MAtteo | Xorg.0.log may be in some directory in /var/log, depends of DE. Just try find it: Code: Select allfind /var/log -name Xorg.0.log Peter. |
Can't connect to the internet using a 3G+ USB hotspot on Debian/Ubuntu Hello. I have a problem with the device I use to connect to the internet, it's a USB hotspot, it dials and connects to 3G+ all on its own and shares the internet via USB using the ethernet protocol, so on windows it's seen as an ethernet device and network despite being connected via USB, it also shares the internet wirelessly via its own WIFI. It doesn't work on Debian 10 or Ubuntu Xenial, it isn't seen as an ethernet device. I have spent hours trying to get it to work with usb_modeswitch, but it's to no avail, mostly because that program is to make USB devices that also come with small amounts of storage for drivers that are seen as nothing but storage devices be seen as other types of devices. If I try to add it as a mobile broadband device, sure enough, it's there, even if I do nothing with usb_modeswitch, but I can't connect to it because it never finishes connecting, probably because it only detects the broadband part of the device when it's on, and if it's on, it's busy and in use and connected to 3G+ all on its own. There's also the fact that if I used it like that, it wouldn't work as a hotspot while I use it on my PC. I use Puppy Linux a lot, and on Puppy it's recognized flawlessly, no problem at all, only need to disable eth0 and I get internet from wwan0. Is there a way to get the drivers from Puppy to Debian 10? Like how on windows you can usa an INF file to properly detect hardware, Or is there any other solution? I'm kind of surprised this problem persists, I've been having it for more than a year, in this day and age many places of the world are only starting to sell mobile broadband devices as USB hotspots (I'm guessing in an effort to charge more money because making broadband devices is getting cheaper and cheaper everyday), I've casually looked for a 4G device that wasn't WIFI and only found a used device on ebay. When looking for the linux drivers for the device I can only find drivers for the huawei E220, which is just a modem and not a wifi hotspot. Here's the info I get from the ubuntu forums script: https://pastebin.ubuntu.com/p/KhTNWhWcfk/ The name of the device is "huawei mobile wifi" on the box, the model is huawei E5220. | frbell wrote:Here's the info I get from the ubuntu forums script: https://pastebin.ubuntu.com/p/KhTNWhWcfk/ That shows the device is available as the wwx interface. So try Code: Select all# ip link set eno1 down # ip link set wwx up # dhclient wwx Or is that not how you want to use it? |
Hello, I have an issue with a sata disk. On this sata disk I have some shared folder with samba in my LAN. I have created a simple script in the past, and it worked fine, but disk mounting doesn't work. This is my simple script: Code: Select all#!/bin/bash mount /dev/sda1 /media/disk1 > log.txt I tried to execute this script today, but I get this error: Code: Select allmount: wrong fs type, bad option, bad superblock on /dev/sda1,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. This script runs automatically at startup. After all the disk works fine, due to I have connected this sata drive using a sata to usb adapter and I can use it without problem. Has got someone any ideas to solve my problem? | In the script it would be better IMHO to not use /dev/sda1. Give the disk a label and use /dev/disk/by-label/samba_disk or something...or use its uuid, anything but sda1. What is the result when you manually mount the disk? It may need a fsck. |
I have asked this question earlier, but there was no answer. I am trying again. I am having problems with suspend to ram function in debian 10.2 (previously in debian 9.x). When I select the "suspend to ram" from start menu, system goes to suspended mode, but wake up is the problem. The system freezes and screen is black black. I have to do hardware reset to my machine. In windows, suspend to ram is working, so my hardware is not the problem. I have "Gigabyte P61-DS3-B3" motherboard, and "Nvidia GeForce 210" graphics card. I think that the problem is with the driver of the graphics card. I am using KDE. | What is reporting this: Code: Select allapt list acpi upower uswsusp pm-utils Code: Select allsystemctl cat systemd-suspend.service | grep -v '#' systemctl cat suspend.target | grep -v '#' Code: Select alljournalctl -ax | grep suspend | tail -15 Code: Select allfree -mh |
I have Debian on my primary laptop partition and Hyperbola (an Arch-based distro with Debian security patches) on the other. A week ago, I chrooted into Hyperbola from Debian and updated Hyperbola. Then I upgraded Debian 9 to 10. Ever since then, I have not been able to access Hyperbola. When I choose Hyperbola from the grub menu at boot time, I get this error Code: Select allERROR: device UUID=blah-blah-hyperbola-partition not found. Skipping fsck. mount: can't find blah-blah You are being dropped into an emergency shell. sh: can't access tty: job control turned off Then I'm at a [rootfs] prompt, but no characters appear on the screen when I type and I can't do anything but hit the power button. When I log into Debian, I can still mount and chroot into Hyperbola, but Hyperbola is never mounted at boot time. I don't know whether something I did in Debian is the problem, but that's the only OS I have access to at this point and so it's what I'll have to use to fix this, so I'm asking here instead of the Hyperbola forums. | Also post at least the contents of the Hyperbola menu entry in /boot/grub/grub.cfg. Did you try replacing "root=UUID=xxx" in the menu entry with "root=/dev/sda2" (or whatever the Hyperbola partition is) in GRUB ("e") before booting Hyperbola ? This is not recommended for normal use (unreliable) but may help in this situation. |
Debian stable 9.8 Swithed hd to ssd, and after reinstalling, wifi does not work automatically anymore. There was annoying 5 minute wait of some systemd network-target, which I changed to 1 second. My /etc/network/interfaces: Code: Select all# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto wlp2s0 iface wlp2s0 inet dhcp pre-up wpa_supplicant -iwlp2s0 -c/etc/wpa_supplicant/wpa_supplicant.conf gateway 192.168.1.1 auto enp3s0 iface enp3s0 inet dhcp I've tried up, pre-up, and without any prefix to wpa_supplicant line. None has worked. I have to start wifi manually: Code: Select all# wpa_supplicant -iwlp2s0 -c/etc/wpa_supplicant/wpa_supplicant.conf & # dhclient What is missing, how could I get wifi to work at boot? EDIT: A snippet from /var/log/messages after boot: Code: Select allMar 16 17:22:50 samsung kernel: [ 7.313927] wlp2s0: authenticate with xx:xx:xx:xx:xx Mar 16 17:22:50 samsung kernel: [ 7.321421] wlp2s0: send auth to xx:xx:xx:xx:xx (try 1/3) Mar 16 17:22:50 samsung kernel: [ 7.323515] wlp2s0: authenticated Mar 16 17:22:50 samsung kernel: [ 7.328101] wlp2s0: associate with xx:xx:xx:xx:xx (try 1/3) Mar 16 17:22:50 samsung kernel: [ 7.330590] wlp2s0: RX AssocResp from xx:xx:xx:xx:xx (capab=0x1411 status=0 aid=3) Mar 16 17:22:50 samsung kernel: [ 7.330738] wlp2s0: associated Mar 16 17:22:51 samsung kernel: [ 7.853380] wlp2s0: deauthenticating from xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING) '*xx:xx... censored mac-addres | arzgi wrote:There was annoying 5 minute wait of some systemd network-target Check the output of Code: Select alljournalctl -u $unit.file and replace $unit.file with the name of the actual unit file(s) listed by the error message. Also check Code: Select allsystemctl --failed to see which units have failed, then use the journal to investigate more. /etc/network/interfaces{,.d/*} is run by networking.service arzgi wrote:I've tried up, pre-up, and without any prefix to wpa_supplicant line. None has worked. Try the method described in the Debian documentation instead: https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK Both methods should work though. What about any error messages after you run Code: Select all# ifup wlp2s0 |
I understand from various sources on the net that user scripts are best placed in a ~/bin directory. I have made such a directory. Various sources also state that on creation (after logout and logon) the new directory should be added to the PATH variable. Indeed the .profile file seems to confirm this, if I understand it correctly, with the code # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi But in my case the PATH variable is unaltered after creating the new ~/bin directory. (There are no other relevant files in my home directory other than.bashrc which does not have a PATH statement in it.) I guess that I am making some stupid mistake or misunderstanding. Nevertheless I will be very grateful if someone can explain to me what is (not) going on, and advise me how to proceed. Tom. | Head_on_a_Stick wrote:~/.profile isn't read for graphical logins. See https://wiki.debian.org/EnvironmentVariables tl;dr: add the PATH stuff to ~/.xsessionrc instead (or use a console login rather than a display manager). Weird, it works for me in a fairly vanilla Buster/KDE which uses SDDM. I know it says it doesn't on that wiki page. There is no ~/.xsessionrc but the ~/bin PATH is set by default in ./.profile (ie. I didn't add it) Code: Select allroger@debian-brain:~$ echo $PATH /home/roger/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games |
I wrote a script to change IP address associated with the Ethernet port; this laptop is used on many different pieces of equipment and the IP address has to be changed frequently. A regular user account can change the IP Address by going into settings, but that is a lot of clicks and difficult for some users, the script is easier. However the "ip address 192.168.1.200/24 dev eno1" command cant be run by a user and the script fails. For security reasons scripts can't have the setuid bit set. So the script isn't going to work.... Why can users change the IP address by going to Settings, Network, Wired Settings, Iv4... but that same user can't set the IP from the command line?!?? Does the settings program run as root? Is there a different way to change the IP address? Any suggestions on how I can make a user space script or program to change the IP with out creating huge security holes would be greatly appreciated. Thank you! | I guess your (unspecified) graphical settings program uses polkit or such to allow local users physically using the desktop to perform such actions. On the commandline you don't get that luxury. However sudo has been around for a number of years providing a solution to exactly that problem. Just create a group of users ("ipchangers") who are allowed to run your specific command, and then, with visudo, add Code: Select all%ipchangers ALL=NOPASSWD: /usr/bin/ip Then any user belonging to that group can "sudo ip address 192.168.1.200/24 dev eno1". If you don't want then to e.g. alter the routing tables, you can change in sudoers /usr/bin/ip to a custom script ("/usr/local/sbin/change_ip" or such) which does e.g. "ip address $1 dev eno1" |
Debian 10.2 xfce cups installed and did work well for long, no idea when stopped working Since sending something to printer wasn't possible, I removed the network printer, tried to add it again with no success from System --> Print Settings --> add IP select IPP--> cups server error if I try through the web page --> http://localhost:631/help/network.html --> Not found Here some output that might help ~ $ sudo systemctl status cups.service [sudo] password for werner: ● cups.service - CUPS Scheduler Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2019-11-21 11:42:22 -03; 4h 43min ago Docs: man:cupsd(8) Main PID: 480 (cupsd) Tasks: 1 (limit: 4915) Memory: 8.2M CGroup: /system.slice/cups.service └─480 /usr/sbin/cupsd -l ~ $ sudo journalctl | grep cups Nov 21 11:42:22 C75D audit[453]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=453 comm="apparmor_parser" Nov 21 11:42:22 C75D kernel: audit: type=1400 audit(1574347342.730:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=453 comm="apparmor_parser" Nov 21 11:42:22 C75D audit[451]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=451 comm="apparmor_parser" Nov 21 11:42:22 C75D audit[451]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=451 comm="apparmor_parser" Nov 21 11:42:22 C75D audit[451]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=451 comm="apparmor_parser" Nov 21 15:59:01 C75D sudo[2685]: werner : TTY=pts/0 ; PWD=/home/werner ; USER=root ; COMMAND=/etc/init.d/cups start Nov 21 16:06:01 C75D sudo[2840]: werner : TTY=pts/0 ; PWD=/home/werner ; USER=root ; COMMAND=/usr/bin/systemctl status cups.service Nov 21 16:15:12 C75D polkitd(authority=local)[510]: Operator of unix-session:2 successfully authenticated as unix-user:werner to gain TEMPORARY authorization for action org.opensuse.cupspkhelper.mechanism.all-edit for unix-process1636776 [/usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py] (owned by unix-user:werner) Nov 21 16:15:15 C75D cups-pk-helper-[3168]: g_variant_new_array: assertion 'child_type == NULL || g_variant_type_is_definite (child_type)' failed Nov 21 16:15:15 C75D kernel: traps: cups-pk-helper-[3168] trap int3 ip:7faac7649c75 sp:7fff198e7f00 error:0 in libglib-2.0.so.0.5800.3[7faac7611000+7e000] Nov 21 16:15:15 C75D cups-pk-helper-[3168]: g_variant_get_type: assertion 'value != NULL' failed Nov 21 16:15:15 C75D cups-pk-helper-[3168]: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed Nov 21 16:15:15 C75D cups-pk-helper-[3168]: g_variant_get_type_string: assertion 'value != NULL' failed Nov 21 16:15:15 C75D cups-pk-helper-[3168]: g_variant_new: expected GVariant of type 'a{ss}' but received value has type '(null)' Nov 21 16:26:07 C75D sudo[3347]: werner : TTY=pts/0 ; PWD=/home/werner ; USER=root ; COMMAND=/usr/bin/systemctl status cups.service Nov 21 16:28:11 C75D polkitd(authority=local)[510]: Operator of unix-session:2 successfully authenticated as unix-user:werner to gain TEMPORARY authorization for action org.opensuse.cupspkhelper.mechanism.all-edit for unix-process1636776 [/usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py] (owned by unix-user:werner) Nov 21 16:28:13 C75D cups-pk-helper-[3367]: g_variant_new_array: assertion 'child_type == NULL || g_variant_type_is_definite (child_type)' failed Nov 21 16:28:13 C75D kernel: traps: cups-pk-helper-[3367] trap int3 ip:7f32ac4e2c75 sp:7ffdd5ca9850 error:0 in libglib-2.0.so.0.5800.3[7f32ac4aa000+7e000] Nov 21 16:28:13 C75D cups-pk-helper-[3367]: g_variant_get_type: assertion 'value != NULL' failed Nov 21 16:28:13 C75D cups-pk-helper-[3367]: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed Nov 21 16:28:13 C75D cups-pk-helper-[3367]: g_variant_get_type_string: assertion 'value != NULL' failed Nov 21 16:28:13 C75D cups-pk-helper-[3367]: g_variant_new: expected GVariant of type 'a{ss}' but received value has type '(null)' ~ $ ps -aux | grep cups root 480 0.0 0.0 29212 7724 ? Ss 11:42 0:00 /usr/sbin/cupsd -l root 505 0.0 0.0 185184 11104 ? Ssl 11:42 0:00 /usr/sbin/cups-browsed werner 3448 0.0 0.0 6076 888 pts/0 S+ 16:35 0:00 grep cups | cups complete removal and new install |
I am using Debian Buster Gnome 3.30 Wayland on an HP Laptop HDX-18 with built-in Nvidia GT 130M graphics card and nouveau driver. A newer Kernel like 5.3.x form Debian backports brings sometimes better performance, energy savings, nouveau improvements etc. . There are any objective criteria when to use a newer kernel as the default in Buster? What's about security in Debian Backports and what's the best way to use and install only a newer kernel form this backport without any side-effects to my current Debian Buster system? Thank you. | It sounds like you probably have an Optimus laptop, which means you have to install the Nvidia driver and Bumblebee in a special manner as detailed in the Debian wiki. You will also need a newer version of the Nvidia driver---I do know that the 440.36 driver works with a 5.4 kernel, both of those are not in backports yet, but are in one of my OBS repos, along with a backported 5.3.15 kernel: https://build.opensuse.org/project/show ... ort-buster |
Hi, Ive some few Doubts about this,: 1- How do I know If an App is using vdpau or vaapi acceleration?...Ive read that most applications only support vdpau driver..so its needed to use vdpau (backend) to enjoy hardware gpu. 2- If using vdpau (backend vaapi), I guess its almost the same as vaapi acceleration (I meant they're as well using gpu, right?) 3- VDPAU_DRIVER=va_gl (WHat's this environment for and when to use it?, when most apps can be configured whithin then,how to use decoders) ----------------------------- Ive just built g45-h264(1.8.3) driver for being used by calling some chosen apps, and dont mess the stable system.. and its great, just need LIBVA path.: LIBVA_DRIVERS_PATH=/home/user/scripts/dri LIBGL_DEBUG=verbose kodi.run libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/i965_dri.so libGL: Using DRI2 for screen 0 libva info: VA-API version 0.40.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /home/user/LINUXDEBS/scripts/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_40 libva info: va_openDriver() returns 0 And here, we're seing kodi its picking driver vAAPI (h264).., but I dont know if its using vaapi or vdpau.. within kodi, ive all options setted (vaapi plus vdpau). can you help me a litle bit here?, thanks | If you have Intel then you want VAAPI but some applications don't support it directly so you need the VAAPI backend for VDPAU: https://packages.debian.org/buster/libvdpau-va-gl1 Check Code: Select allvainfo vdpauinfo Kodi supports both VAAPI and VDPAU[1] so it should default to VAAPI for your hardware. |
When the system is booting there are messages from the booting process. In the beginning messages are printed using one font, but when the kernel is setting up the console the font is changed. I want a method to keep the first font, because in my opinion it is better. But I don't know which font is that, and I don't know where I can setup the font for virtual consoles. I am using Nouveau driver with old nvidia graphics card, but I think that that have no influence on the problem. | pythagorasmk wrote:I don't know which font is that It's called the "VGA" font and is the native font supplied by your video card. pythagorasmk wrote:I don't know where I can setup the font for virtual consoles Code: Select all# apt install console-setup # dpkg-reconfigure console-setup |
Hello everybody, I've been having a bear of a time trying to get my Debian Buster-based router to operate with Comcast's native IPv6 configuration. I'm not looking for prefix delegation, just a public address and a default gateway. I'm using the ISC DHCP client for both v4 and v6 since it's generally worked for me other than this. I've tried two approaches, with eth-external being the name I configured for the interface in udev. 1. Code: Select alliface eth-external inet6 dhcp This gets me an IPv6 address just fine, but no route whatsoever unless I manually configure it. I see the router advertisements coming in when running tcpdump, but the kernel just disregards them. 2. Code: Select alliface eth-external inet6 auto dhcp 1 request_prefix 1 This usually gets me a /64 prefix and a route, but not an IPv6 address. The usual sysctl suspects don't reveal anything significant: Code: Select all# sysctl -a | grep -i 'eth-external.*ra' net.ipv4.conf.eth-external.drop_gratuitous_arp = 0 net.ipv4.neigh.eth-external.retrans_time_ms = 1000 net.ipv6.conf.eth-external.accept_ra = 2 net.ipv6.conf.eth-external.accept_ra_defrtr = 1 net.ipv6.conf.eth-external.accept_ra_from_local = 0 net.ipv6.conf.eth-external.accept_ra_min_hop_limit = 1 net.ipv6.conf.eth-external.accept_ra_mtu = 1 net.ipv6.conf.eth-external.accept_ra_pinfo = 1 net.ipv6.conf.eth-external.accept_ra_rt_info_max_plen = 0 net.ipv6.conf.eth-external.accept_ra_rt_info_min_plen = 0 net.ipv6.conf.eth-external.accept_ra_rtr_pref = 1 net.ipv6.conf.eth-external.dad_transmits = 1 net.ipv6.conf.eth-external.suppress_frag_ndisc = 1 net.ipv6.neigh.eth-external.retrans_time_ms = 1000 And no packets are being dropped, as I have rules to allow ICMPv6 and DHCP: Code: Select all-A INPUT -p ipv6-icmp -j ACCEPT -A INPUT -s fe80::/10 -i eth-external -p udp -m udp --sport 546 --dport 547 -j ACCEPT -A INPUT -s fe80::/10 -i eth-external -p udp -m udp --sport 547 --dport 546 -j ACCEPT Nothing is logged matching those, and, again, tcpdump shows the RAs coming in. I've been fighting this for the past few weeks, and nothing I've found when searching online has helped. I've also seen odd cases where I'm able to get both a public IPv6 address and a default gateway, but only on rare occasions. Does anybody have any suggestions? Thank you. | I ended up cheating by having this setup enable both wide-dhcpv6 for the IP address, and SLAAC for the routing information. It's really odd how the configuration built into the system doesn't allow it. /etc/network/interfaces Code: Select allauto eth-external iface eth-external inet dhcp pre-up modprobe ipv6 post-up /etc/init.d/wide-dhcpv6-client start pre-down /etc/init.d/wide-dhcpv6-client stop iface eth-external inet6 auto /etc/wide-dhcpv6/dhcp6c.conf Code: Select allinterface eth-external { send ia-na 1; send rapid-commit; script "/etc/wide-dhcpv6/dhcp6c-script"; }; id-assoc na 1 { }; Why in the world does enabling DHCPv6 for the IP address cause the kernel to ignore router advertisements? That's a common use case for IPv6. EDIT: I solved it by setting the following options listed in the documentation: accept_ra 2autoconf 1 Since sysctl showed accept_ra=2 for the relevant interface, I'm guessing autoconf 1 was the ticket. Strange how it's not default, as DHCPv6 requires SLAAC ("autoconf") for route information. |
I have Zoneminder writing to /home/zoneminder and /home is a ZFS mount. If /home/zoneminder doesn't exist, Zoneminder creates it. If anything exists in /home, zfs-mount refuses to mount it. So I want Zoneminder to start after zfs-mount. I have tried: After=network.target mysql.service zfs.target and After=network.target mysql.service zfs-mount.service SystemD doesn't seem to take any notice of this, Zoneminder starts before zfs-mount and so /home/ doesn't get mounted. Requires=zfs-mount.service SystemD very much takes notice of this. This change causes the system to boot in emergency mode, but I've no idea why. Is there a way to see why emergency mode was chosen? | Try Wants= and use the journal to investigate. |
Yesterday I took my Buster install up to Testing/Bullseye and I'm now getting the following when trying to install a package: Code: Select alldpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin To be honest, I'm not sure if this was something that persisted across the upgrade or if something was broken/corrupted during the process. I've done some digging online and in various forums but the issues and solutions all seemed to be from a few years ago; on here most of what I found that was similar pointed to using Code: Select allsu - but I'm already logged in as root on the command line (I don't use sudo). I tried following along with a thread from earlier http://forums.debian.net/viewtopic.php? ... th#p708711 but the solution wasn't clear to me. Thanks in advance. | That's your user PATH. If you're trying to nail down an issue with dpkg, you need to check root PATH. Code: Select all$ su - <enter root password> # echo $PATH |
Hi all, I have an HP laptop. My model is HP Elitebook 840 G3. Debian 10 on this laptop works really well, but I have at the moment a problem. The issues is this one: when I move laptop, in some situation just screen inclination, screen orentation change! How can I fix this issues? Thanks Federico | I have found a solution: on the top right cornet there is a small triangle, if you are using Gnome on Debian. Click on this little icon and it will appear a menu. On this menu there is the shutdown option and near this button, there is another one that permit to lock the screen. Regards |
Hardware Huawei Matebook13, touchpad appears to be working fine, perhaps a little sensitive, but that might be the weight of my finger The problem is that just touching the pad can run the cpu up to 15%, and /var/log/syslog writes zillions of these lines, repeated at a whisker under 7milliseconds: Code: Select allOct 27 15:17:18 debbie kernel: [ 2828.392651] i2c_hid i2c-ELAN962C:00: i2c_hid_get_input: incomplete report (14/65535) I tried to apply the patch from https://github.com/nekr0z/linux-on-huaw ... ok-13-2019 but it failed with Code: Select alldh_testdir rm -rf debian/build debian/stamps debian/lib/python/debian_linux/*.pyc debian/lib/python/debian_linux/__pycache__ $(find debian -maxdepth 1 -type d -name 'linux-*') debian/*-modules-*-di* debian/kernel-image-*-di* debian/xen-linux-system-* debian/*-tmp dh_clean mkdir -p debian/build printf >debian/build/version-info 'Source: %s Version: %s ' linux 4.19.67-2a~test md5sum --check debian/control.md5sum --status || \ /usr/bin/make -f debian/rules debian/control-real dh_testdir /usr/bin/make -f debian/rules.gen source make[1]: Entering directory '~/build/linux-4.19.67' /usr/bin/make -f debian/rules.real source-featureset ABINAME='4.19.0-6' FEATURESET='none' SOURCEVERSION='4.19.67-2a~test' SOURCE_BASENAME='linux' UPSTREAMVERSION='4.19' VERSION='4.19' make[2]: Entering directory '~/build/linux-4.19.67' test -d .pc set +e; QUILT_PC=.pc quilt unapplied --quiltrc - >/dev/null && echo 'Patch series not fully applied'; test $? -eq 1 Patch series not fully applied make[2]: *** [debian/rules.real:146: debian/stamps/source] Error 1 make[2]: Leaving directory ~/build/linux-4.19.67' make[1]: *** [debian/rules.gen:1137: source_none_real] Error 2 make[1]: Leaving directory '~/build/linux-4.19.67' make: *** [debian/rules:25: source] Error 2 The machine is working, just the spurious writes to log will be a) chewing up battery, and b) wearing out SSD. Uncompressed syslog is abot 700MB per week, compressed abt 60MB. All the reports I've found on the net for the syslog msg are from people whose touchpad either doesn't work period, or has erratic function. | Kind of a hack but this is first thing that popped into head for your situation. That being to set it so that all that garbage is simply excluded from logging to your syslog. As long as it's working fine, who needs to hear all that noise. Haven't been in that particular situation so can't advise how to proceed in any detail, just give the general idea. Finding a way to simply tell it to shut it or send the fecker to /dev/null HELL! Btw: How's New Zealand these days ? Hope all you kiwi's are doing well. |
So I had a fun weekend building this... but since my knowledge of the Debian way of doing things is limited, I wanted someone with an experienced eye to review. Users connect to the wireless AP (AE) operating in bridge mode or they connect direct via ethernet to switch. Aquire a IP address and routing from dnsmasq to forward traffic to the Pi4 (Rasbian). The Pi4 has a wireless connection to the Internet, default route to wlan0 and routing turned on in the kernel. Using nftables, outbound traffic is source natted to the outbound address of the wlan0 interface. Traffic flows nicely from Users to the Internet and back again. Implementation The device is a Raspberry Pi 4 running Rasbian Buster with no configured networking. Once I updated wpa_supplicant it joined the wireless network and configured DNS, routing and wlan0. This is how I began. My surprise was the entire /etc/network/interfaces was empty. The dhcpcd daemon was looking after all the dynamic configuration and guides point me to its configuration for setting a static address on eth0. This was problematic as it always adds a default route, even if you don't specify one. So, in the end, I had to tell it to ignore eth0 with denyinterfaces option. I wasn't able to find any network manager so I manually created eth0 in interfaces.d. Then configured dnsmasq software as the DHCP server on eth0 to handling DNS queries and handing out addresses and client routes. Then the routing kernel tweaks were done. So that covered DNS, DHCP client & server, routes & routing but last and not least was addressing. Found out iptables is being depreciated in Debian Buster so use nftables. Didn't know how to write netfilter rules as you can see from my single masquerade rule. The relevant configuration is listed below, any and all assistance greatly appreciated. Note this is not the entire configuration, just what I added to each of the files. I did try to have dhcpcd create eth0 using an inform option. It created the interface but nothing worked so I went back to interfaces.d/eth0. In the case of ../interface.d/eth0 this was a new file. Code: Select all# dhcpcd had already pickup the wireless network and configured a default route and # somehow provided DNS even though resolv.conf says 127.0.0.1 ?? # Here I tell it to ignore eth0 so I can configure manually. /etc/dhcpcd.conf denyinterfaces eth0 # the loopback and wlan0 interfaces already existed courtesy of dhcpcd? /etc/network/interfaces.d/eth0 auto eth0 iface eth0 inet static address 192.168.99.1 netmask 255.255.255.0 /etc/dnsmasq.conf interface=eth0 listen-address=127.0.0.1 domain=mydomain.com dhcp-range=192.168.99.10,192.168.99.250,6h /etc/wpa_supplicant/wpa_supplicant.conf network={ ssid="MyLocalNetwork" psk=xxxxxxxxxxxxxxxxx } /etc/sysctl.conf net.ipv4.ip_forward=1 /etc/nftables.conf table ip nat { chain PREROUTING { type nat hook prerouting priority 0; policy accept; } chain POSTROUTING { type nat hook postrouting priority 100; policy accept; masquerade } } | They say the lord helps those who help themselves... a firewall ruleset after a night of learnings. Code: Select alltable inet filter { chain input { type filter hook input priority 0; policy drop; iif "lo" accept iif "eth0" jump lan iif "wlan0" jump wan } chain forward { type filter hook forward priority 0; policy drop; iif "eth0" jump lan iif "wlan0" jump wan } chain output { type filter hook output priority 0; policy accept; } chain lan { accept } chain wan { ct state vmap { invalid : drop, established : accept, related : accept } ip protocol icmp icmp type { echo-reply, destination-unreachable, time-exceeded } accept pkttype { broadcast, multicast } return log prefix "dropped packet" } } table ip nat { chain prerouting { type nat hook prerouting priority 0; policy accept; } chain postrouting { type nat hook postrouting priority 0; policy accept; oif "wlan0" masquerade } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.