prompt stringlengths 1 58.2k | completion stringlengths 1 53.1k |
|---|---|
Hi, I'm usually connected to an EDUROAM wifi network. Up to a few days ago, it was working just fine, and then it stopped working. I don't recall updating my system (Debian stable), so I don't think that something broke because of that. The only thing I tried these previous days was to install Weylus (from their GitHub repo), but I undid all the changes that it caused. I know this could be specific to a network more than Debian, but I thought I would give it a shot since the IT department at my University does not give support for Linux. Does anybody know what I can try to fix the problem? Thanks! | Hello, emek wrote: 2025-04-03 22:05 I'm usually connected to an EDUROAM wifi network. Up to a few days ago, it was working just fine, and then it stopped working. [..] Does anybody know what I can try to fix the problem? Perhaps it would help to give some details about: 1) What is "EDUROAM wifi network" ? 2) What version of Debian are you running ? 3) How do you configure the wireless network in Debian ? 4) How do you normally connect to the "EDUROAM wifi network" with Debian ? 5) How does the connection attempt to the "EDUROAM wifi network" currently fail ? 5) How do you authenticate yourself to the "EDUROAM wifi network" ? 6) What programs have you installed to connect to the "EDUROAM wifi network" ? 7) Can you connect Debian to other different wifi networks ? Which wireless network card is your computer equipped with ? Hope this helps. -- note: please modify the subject of the first post |
Hi there, I'm searching for a way to disable syslog messages written by dbus-daemon. I have read this : https://dbus.freedesktop.org/doc/dbus-daemon.1.html Then I tried to create a /etc/dbus-1/system-local.conf and use the "nosyslog" option but then dbus fails to start. Hence the question, how to use the "nosyslog" option to disable log messages from dbus-daemon. Thanks in advance. | Why not just filter the journalctl command by priority to not show all messages. journalctl -b -p 3 will just show error messages, -p 4 will show warnings. You can limit the size of the journal log in its config file if that's what you are concerned about. |
Hello Friends For Debian 12 as Server I am trying to define a static IP. About the official documentation I read the following links: 5.3. The modern network configuration without GUI SystemdNetworkd Thus in the /etc/systemd/network directory was created the static.network file with its respective settings. Now the reason of this post. In both links are covered about How to define DHCP and Static IPs but is indicated the following in the second link: Next enable systemd-networkd. You don't need to start the service yet because your old network is still running and there is currently no systemd-networkd defined. systemctl enable systemd-networkd If is executed the systemctl list-units | grep network command appears the following: Code: Select allnetworking.service load active exited Raise Network interfaces network.target load active active Network And for the systemctl list-unit-files | grep network command appears the following: Code: Select allnetworking.service enabled enabled systemd-network-generator.service disabled enabled systemd-networkd-wait-online.service disabled disabled systemd-networkd-wait-online@.service disabled enabled systemd-networkd.service disabled enabled systemd-networkd.socket disabled enabled network-online.target static - network-pre.target static - network.target static - Until here: The "network service manager" is networking.service systemd-networkd.service is disabled Even more, the networkctl list command in its output has as the first line the following: Code: Select allWARNING: systemd-networkd is not running, output will be incomplete. Therefore if to define DHCP and Static IPs is mandatory work with systemd-networkd Question Why from the beginning is disabled the systemd-networkd service? I want understand the reason about this approach Therefore from the previous question arises a parallel question as follows: What does networking.service have in special over systemd-networkd? Thank You | manueljordan wrote: 2025-03-25 23:23 I want understand the reason about this approach Code: Select all$ dpkg -S networking.service ifupdown: /lib/systemd/system/networking.service Well, I haven't transitioned yet but most systemd things slowly take over from prior methods. So everyone plays nicely together, kind of, for awhile until the transition is complete. Various network setups can be used, some step on each other and some mix. I'm not thinking of removing ifupdown any time soon, but following that time is when the systemd version needs turned on. I think this is still a hybrid of old and new. |
Hi Debianers, I'm trying to access my university's network using openvpn. I've got a certificate from my university which can be used to connect using openvpn. After connecting though I'm unable to browse the internet. I dug around a bit for a solution. I pinged google using both their domain name and IP address and found that I got a response only when I was using the IP address. This led me to believe that the DNS resolution is not working. I was able to understand that the remote server provides a DNS address and blocks my device to use original DNS provider. And usually openvpn rewrites /etc/resolv.conf to append the DNS of the VPN server. In my case, it is not happening. I checked /etc/resolv.conf before & after connection. I tried modifying my .ovpn file according to this post (https://serverfault.com/questions/77457 ... ot-working). This still couldn't fix the issue. I spun up a virtual machine for Ubuntu to see if it is something wrong with the .ovpn file, but there openvpn was working as intended. So please help! | You can use openvpn with networkmanager, that way you have only one program writing to /etc/resolv.conf |
Using MariaDB for the first time on Debian, I ran into a strange issue I did not observe on other OSes: the server did not accept root's and the users passwords from the CGI, so I was unable to access the SQL server. That only worked once after I entered this, as this seems to be a solution widely recommended in this case: Code: Select allMariaDB [(none)]> ALTER USER 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('ndrgnon23efrenUTGvbCtynFXŴDijUNvewINwBberfbiobni141ninIBesdvcNIfferONefr37vr4fBUewNIBN'); But, now I can no longer log into the MariaDB console, as it does not accept the password entered above, and neither the old password. How can I restore MariaDB access and configure it in a way that it works both from console and from CGI, as one is accustomed from other unixoids? | Hello, What is the MariaDB's username having trouble authenticating with the database server ? What are the commands that fail when you try to authenticate that username ? Can you provide the log of failed attempts (commands and message errors) ? |
I know what each of these command do, problem is that only last and lastlog work while lastb and faillog do not work. Command breakdown in regard which files are read when these commands are executed: - last (reads /var/log/wtmp) - lastb (reads /var/log/btmp) - lastlog (reads /var/log/lastlog) - faillog (reads /var/log/faillog) On my system (bookworm) btmp and faillog files are empty, 0 bytes, hence why the commands do not work. The other two files wtmp and lastlog are not empty so the commands for them work as expected. I've read the following stackexchange question: https://unix.stackexchange.com/question ... llog-count There under comments some people say it's a bug, and there is also a link stating that the bug has been fixed, however the question relates to Debian 10 but issue is present in bookworm, so slightly out of date. Question: Why don't lastb and faillog work and why are their files btmp and faillog empty? Question 2: What do I need to configure to make these 2 commands work? OR Is this still a bug in bookworm and/or testing branch? | Hello, Frostblade wrote: 2025-03-29 14:59 On my system (bookworm) btmp and faillog files are empty, 0 bytes, hence why the commands do not work. The faillog commands has been removed from the login binary package both in Debian Testing and Debian Unstable. The following bug report is about the notification in the NEWS.Debian file for faillog: Debian Bug report logs - #1074320 login: clean up now obsolete /var/log/faillog The last command has been removed from the util-linux binary package since current Debian Testing and Debian Unstable and implemented in the wtmpdb package: # apt show util-linux [..] util-linux (2.40.1-3) unstable; urgency=medium * Stop installing last(1), Suggest: wtmpdb instead -- Chris Hofstaedtler <zeha@debian.org> Wed, 29 May 2024 23:58:19 +0200 [..] This is the description for the wtmpdb package: Code: Select all# apt show wtmpdb Package: wtmpdb Version: 0.72.0-1 Priority: standard Section: admin Maintainer: Andrew Bower <andrew@bower.uk> Installed-Size: 75.8 kB Pre-Depends: init-system-helpers (>= 1.54~) Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.38), libsystemd0 (>= 222), libwtmpdb0 (= 0.72.0-1) Recommends: libpam-wtmpdb Breaks: util-linux (<< 2.40.1-3) Replaces: util-linux (<< 2.40.1-3) Homepage: https://github.com/thkukuk/wtmpdb/ Download-Size: 19.3 kB APT-Sources: http://192.168.122.1:3142/debian testing/main amd64 Packages Description: utility to display login/logout/reboot information This package provides the program wtmpdb, which reads wtmp's database of user logins/logouts and system reboots. . It provides a year 2038-safe replacement for the traditional Unix "last" utility. The lastb command has been removed in Debian Testing and Debian Unstable from the login package. By the way, the lastb command works on my Debian Bookworm. Hope this helps. -- [1] https://github.com/util-linux/util-linux |
Hi all, I have just reinstalled Debian Bookworm to solve a wifi problem and now I have wifi and ethernet both working but I can't access the internet. It must have worked last night when the installation took place as it was a "netinst" image that I downloaded and put on my usb stick. I generally have a few local things showing on my screen so when wifi worked I thought all was well and hadn't noticed no internet until I started to install Home Assistant but got "could not resolve" errors. I think something in the install instructions broke the internet for me.. This is maybe where it is (direct from the install instructions): apt install \ apparmor \ bluez \ cifs-utils \ curl \ dbus \ iproute2 \ jq \ libglib2.0-bin \ lsb-release \ network-manager \ nfs-common \ systemd-journal-remote \ systemd-resolved \ systemd-timesyncd \ udisks2 \ wget -y Probably a network-manager setting that I don't get ? Maybe someone can help, I would be very grateful. Thanks, | usernamepasswordbs wrote: 2025-04-02 06:33 It's fixed !! Not sure how though. What did I do now...can't remember exactly, I know, sorry. I'm glad you sorted it out. Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any). Thanks. -- edit Sat Apr 12 09:43:04 CEST 2025: marked as solved. |
Searching around (both here and on other forums) I've come to realize this is a somewhat common issue. Alas, there doesn't seem to be a specific solution (or even narrowed done set of solutions). I'm using Debian 12 KDE on a Lenovo mini laptop. Attempting to change the monitor brightness either with the corresponding keys or using the brightness slider (or even from terminal) shows a numerical change (i.e. I see the applet indicating the brightness level changing), however this does not correspond to an actual change in monitor brightness, which seems to be at about 50%. /sys/class/backlight has one entry, acpi_video0. Any changes of brightness control (i.e. moving the slider or using the buttons) correspond to the numerical values changing (that is, e.g. acpi_video0/brightness changes, containing the new value). However, as I said, this doesn't reflect in actual brightness difference. For testing, I booted a live USB Fedore KDE. There, /sys/class/backlight contains a different entry, intel_backlight, and controls/slider work: The actual monitor brightness changes. I've already tried kernel boot parameters like acpi_backlight=native (as well as vendor, video, and none), to no avail. This is probably a simplistic way of putting it, but how do I use intel_backlight on Debian, since this seems to be working on Fedora? | Hello, Your computer is a LENOVO MIIX 300-10IBY 80NR marketed in 2015. It uses a special form-factor (it is a tablet with a separate keyboard). So, it is not a common laptop. JohnWasRight wrote: 2024-08-31 08:57 For testing, I booted a live USB Fedore KDE. There, /sys/class/backlight contains a different entry, intel_backlight, and controls/slider work: The actual monitor brightness changes. What is the Fedora kernel version and/or the Fedora version ? JohnWasRight wrote: 2024-09-01 04:22 The machine is several years old. Bought it in 2016 I think. Here's the output of inxi -Fa --za: Code: Select allGraphics: Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: Lenovo driver: i915 v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports: active: DSI-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0f31 class-ID: 0300 Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :1 screens: 1 Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 339x212mm (13.35x8.35") s-diag: 400mm (15.74") Monitor-1: DSI-1 mapped: XWAYLAND0 res: 1280x800 hz: 60 dpi: 151 size: 216x135mm (8.5x5.31") modes: 800x1280 API: OpenGL v: 4.2 Mesa 22.3.6 renderer: Mesa Intel HD Graphics (BYT) direct-render: Yes The intel_backlight file in /sys/class/backlight is generated by the kernel: it may be useful to check the system journal after booting with the kernel parameter drm.debug=0x1ff (this should enable diagnostic messages in the DRM kernel code of the i915 kernel module, which should be responsible for handling display brightness) What is the output of the following commands ? Code: Select allcd /sys/class/backlight ls -la cd acpi_video0/ ls -la cat brightness cat max_brightness cat actual_brightness cat scale What is the current BIOS version ? What happens if you switch from Wayland to Xorg instead of Wayland as Desktop Manager ? Does the brightness is correctly handled ? Hope that helps. |
I've searched here and elsewhere online, and can't find a solution to my problem. I have a laptop that has not been used in several days. Today when I turned it on, it was unable to resolve any hostnames on the network. SSH, ping, everything I tried would not work using hostnames to any other machines on the network. All the other machines can resolve hostnames without issues, and this previously worked on the laptop. I can ssh to the laptop from other computers using its hostname. I can use ping, SSH, et al on the laptop by using the network IP address, just not with hostnames. I can't find any issues with any conf files, at least nothing I recognize, and comparing them to the same files on other computers, they seem mostly identical. I can't figure out why this happened to one machine, out of the blue. FWIW, all computers on the network are running Debian. | Hello, You can inspect the status of your debian installation with the following commands: Code: Select allip link ip address ip route cat /etc/hosts cat /etc/nsswitch.conf cat /etc/resolv.conf getent ahostsv4 getent ahostsv4 <canonical name> getent ahostsv4 www.google.com |
Hi there, I am trying to create a minimal debian system with just the stuff to work as a media center on an old laptop. I used live-build to create the .iso file. The configuration parameters are as following: Code: Select all--distribution stable \ --archive-areas "main non-free-firmware" \ --debootstrap-options "--variant=minbase" \ --debian-installer live \ I built the live system with the following packages in: Code: Select alllxde-core lxappearance ceni lxpolkit adwaita-icon-theme gnome-themes-extra gnome-themes-extra-data spice-vdagent xorg firefox-esr obconf lxappearance-obconf I copied the .iso to a usb sticks and when I boot it in live mode the wired connection can connect to other devices on the LAN, but can't reach the outside world. This is the /etc/network/interfaces file: Code: Select allauto lo iface lo inet loopback auto enp3s0 allow-hotplug enp3s0 iface enp3s0 inet dhcp Ceni shows enp3s0 in the logical interfaces list, but I suppose it should be in the hardware interfaces one EDIT 04/11 i realized that enp3s0 is not connected to the LAN more often than it is. If I try to ifdown/up it I get this answer Code: Select allNo working leases in persistent database - sleeping | Hello, learning wizard wrote: 2025-04-10 12:09 [..] If I try to ifdown/up it I get this answer Code: Select allNo working leases in persistent database - sleeping This error appears when the dhcp client cannot receive leases (IP addresses) from the dhcp server in your network. isc-dhcp/4.4.3-P1-6/client/dhclient.c You should be able to get more information from your system logs with the command: Code: Select allsudo journalctl -b -g dhcp Hope this helps. |
Once and for all DISABLE MAC RANDOMIZATION? The idea that a wired NIC should have a randomized MAC... Has to be one of the !!!!... So how do you explicitly disable ALL MAC RANDOMIZATION on wired NICs? I have spent over 2 hours trying 5 or 6 methods, include macchanger... NOTHING IS WORKING with Debian 12. Using NetworkManger but I realize the randomization maybe coming from systemd? Or somewhere else? Have clients that use PCLAAs and MAC auditing... so RANDOMIZED MACS IS A HORRIBLE IDEA! How do I DISABLE this horrible feature!??? | johndough wrote: 2025-04-04 09:50 Obviously it should be 'randomiSation' Obviously you are from a part of the world that is not the US of A. |
I'm running Linux version 6.1.0-26-amd64 Code: Select all$ uname -r 6.1.0-26-amd64 To get my VirtualBox host running, I need to run Code: Select all/sbin/vboxconfig. That command generates the following error: Code: Select allPlease 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-6.1.0-26-amd64 The first package is in the Debian package repo, but the second one gives an error. Code: Select allNo such package (view) How can I get the header files for my current version of Debian linux? Thank you. | https://snapshot.debian.org/ |
I'm running my own mail server using postfix on debian 12. My installed postfix version is 3.7.11-0+deb12u1. In my main.cf, I have Code: Select allsmtpd_tls_security_level=encrypt This should, according to the manual, enforce TLS encryption for incoming connections, or else refuse it. However, I'm seeing unencrypted mail come in. If I run wireshark, I can see entire messages in plaintext. I have another postfix server on a different machine that I configured both with smtp_tls_security_level=encrypt and with smtp_tls_security_level just empty/commented out. With "encrypt," mail to my debian server is encrypted successfully. With it disabled, messages are sent in plaintext. Here's my main.cf: Code: Select all 1 smtpd_banner = $myhostname ESMTP 2 biff = no 3 append_dot_mydomain = no 4 readme_directory = no 5 queue_directory = /var/spool/postfix 6 command_directory = /usr/sbin 7 data_directory = /var/lib/postfix 8 meta_directory = /etc/postfix 9 sendmail_path = /usr/sbin/sendmail 10 newaliases_path = /usr/bin/newaliases 11 mailq_path = /usr/bin/mailq 12 setgid_group = postdrop 13 html_directory = no 14 manpage_directory = /usr/share/man 15 readme_directory = no 16 home_mailbox = Maildir/ 17 compatibility_level = 3.6 18 smtpd_tls_cert_file=/etc/certs/server.pem 19 smtpd_tls_key_file=/etc/certs/serverkey.pem 20 smtpd_sasl_type=dovecot 21 smtpd_sasl_path=private/auth 22 smtpd_sasl_auth_enable=yes 23 smtpd_tls_auth_only=yes 24 smtp_tls_security_level=encrypt 25 smtpd_tls_security_level=encrypt 26 tls_random_source=dev:/dev/urandom 27 smtpd_tls_loglevel=4 28 smtpd_sasl_security_options=noanonymous,noplaintext 29 smtpd_sasl_tls_security_options=noanonymous 30 smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache 31 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache 32 smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination 33 mail_owner = postfix 34 myhostname = myserver 35 mydomain = mydomain.com 36 mydestination = $mydomain, localhost 37 relay_domains=$mydomain 38 mynetworks_style=subnet 39 inet_interfaces = all 40 inet_protocols = all 41 smtpd_milters = local:/var/spool/postfix/opendkim/opendkim.sock 42 non_smtpd_milters = $smtpd_milters 43 milter_default_action = accept 44 unknown_local_recipient_reject_code=550 45 debug_peer_level=2 46 debugger_command = 47 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin 48 ddd $daemon_directory/$process_name $process_id & sleep 5 Is this a bug in postfix or do I have something configured incorrectly? | https://www.postfix.org/TLS_README.html#server_tls wrote:According to RFC 2487 this MUST NOT be applied in case of a publicly-referenced Postfix SMTP server. This option is off by default and should only seldom be used. Maybe it doesn't enforce it for "public" traffic. Not sure how it would determine that programmatically, but your tests seem to confirm. Edit: sorry, misread your local test result. |
Greetings, and thank you for any time you spend on this problem beforehand. I recently got myself an Intel (H310M S2H 2.0) motherboard, which reportedly could connect to the internet only through WLAN. To test this I booted Linux Lite through USB, and I could indeed access the internet only through WLAN. I tried changing the ethernet cables, the ports which I plugged them into the router, using an ethernet card, switching the slots of the Wi-Fi and ethernet cards, toggling various options in the BIOS and updating it. The LAN port itself seems to function as well - the connection speed LED (orange) is active, and the activity LED (yellow) blinks, which is why I think that this may be a software-side problem. For now I have installed the GNOME desktop, the wired connection appears as active. Here are the outputs of some commands I tried before making this post with the wired connection active: ip a Code: Select all1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether b4:2e:99:bb:af:d9 brd ff:ff:ff:ff:ff:ff inet 10.218.52.25/20 brd 10.218.63.255 scope global dynamic noprefixroute enp4s0 valid_lft 171931sec preferred_lft 171931sec inet6 fe80::b62e:99ff:febb:afd9/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 06:fb:d0:3d:af:45 brd ff:ff:ff:ff:ff:ff permaddr 58:11:22:20:db:fd ip route Code: Select alldefault via 10.218.48.1 dev enp4s0 proto dhcp src 10.218.52.25 metric 100 10.218.48.0/20 dev enp4s0 proto kernel scope link src 10.218.52.25 metric 100 ping 8.8.8.8 Code: Select allPING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. --- 8.8.8.8 ping statistics --- 27 packets transmitted, 0 received, 100% packet loss, time 26538ms For more context, ethernet allegedly worked before, up until a certain point. The machine back then was running Windows I believe. I have time and am willing to do more troubleshooting, please, help me get ethernet working on that system | Hello, Apart from booting Linux Lite, what is the Debian version you are running ? What is the hardware do you use to connect to the internet ? It would be useful if you could provide more information about your hardware and software configuration using the following command (the inxi program must be installed): Code: Select allinxi -F -v 7 -z -s You can paste the logs into the body of a follow-up message between code tags (if they fit the size of a forum message). |
One of the most annoying things with Debian is the long wait after installing a package, even the smallest, simplest one. "Processing triggers for man-db" What happens there actually is that the whole manual pages database gets rebuilt, to produce a cache for formatted manual pages with a line width of 80 characters. Today's computers are so fast that they can format a manual page on-the-fly in the fraction of a second. So it is not only a waste of users' time to have them wait 15+ minutes every time they want to install a program, just to rebuild a cache that practically never gets used. Much worse, this shows a lack of respect for the user. So my question: What is the recommended method to non-interactively (e.g. not asking the user for confirmation) permanently deactivate this brain-damaged manual page cache rebuild? | Hello, According to previous posts, there's something wrong with your installation regarding the manual pages database. You can try to check what it is. When a package triggers the manual pages database update, the following code from the postinst script of the man-db package is executed: man-db/2.11.2-2/debian/postinst (line 36) Code: Select allif [ "$1" = triggered ]; then ensure_catdir # We don't print a status message here, as dpkg already said # "Processing triggers for man-db ...". run_mandb "" -pq exit 0 fi The triggered function in the postinst script of the mandb package is: run_mandb () Code: Select allrun_mandb () { if [ ! -e /var/lib/man-db/auto-update ]; then echo "Not building database; man-db/auto-update is not 'true'." >&2 return 0 fi # shellcheck disable=SC3043 local message="$1" shift [ "$message" ] && echo "$message" >&2 # start-stop-daemon isn't available when running from debootstrap. if command -v setpriv >/dev/null; then setpriv --reuid man --regid man --init-groups -- /usr/bin/mandb "$@" || true else # runuser isn't ideal here, because it starts a PAM session. # However, setpriv is only available on Linux. runuser -u man -- /usr/bin/mandb "$@" || true fi } So the command that is executed when the postinst or postrm script of an installing package triggers the mandb database update (after installing/removing man pages) is: Code: Select all/usr/bin/mandb -pq where the -p and -q options stand for: Code: Select all$ mandb -h Usage: mandb [OPTION...] [MANPATH] -c, --create create dbs from scratch, rather than updating -C, --config-file=FILE use this user configuration file -d, --debug emit debugging messages -f, --filename=FILENAME update just the entry for this filename -p, --no-purge don't purge obsolete entries from the dbs -q, --quiet work quietly, except for 'bogus' warning -s, --no-straycats don't look for or add stray cats to the dbs -t, --test check manual pages for correctness -u, --user-db produce user databases only -?, --help give this help list --usage give a short usage message -V, --version print program version You can check the behaviour of this command by using the --debug option and without the --quiet option: Code: Select alltime /usr/bin/mandb --debug -p You can also try to check which function(s) it is stuck in by tracing syscalls and their timings (the strace package must be installed):Code: Select allsudo strace -C -o mandb-statistics.log /usr/bin/mandb --debug -p The mandb-statistics.log will be generated, containing both the strace log and the statistics at the end of the file. You may want to consider compressing the mandb-statistics.log file and sharing it in a follow-up post. Hope this helps. -- notes: The /var/lib/man-db/auto-update file is created by debconf on behalf the man-db package: man-db/2.11.2-2/debian/postinst/?hl=76#L70 Code: Select all# debconf forms the interface used to suppress man-db updates during # automatic package builds (see https://bugs.debian.org/554914), but we # cache that value in the file system to avoid having to use debconf when # processing triggers. db_get man-db/auto-update if [ "$RET" = true ]; then touch /var/lib/man-db/auto-update else rm -f /var/lib/man-db/auto-update fi This is an excerpt from the documentation from the debconf-devel manual page : debconf-devel manual page Code: Select all#!/bin/sh set -e . /usr/share/debconf/confmodule db_get mypackage/reboot-now if [ "$RET" = true ]; then shutdown -r now fi |
Hi. I have been working at this for a bit. I am just not sure what I should try next. When in Chrome I try url: localhost/phpmyadmin All I get is: This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500 When I try the same url in Firefox is just get a blank screen. The /var/log/apache2/access.log shows the following entry each time I try to connect from chrome ::1 - - [20/Feb/2025:13:09:46 -0700] "GET /phpmyadmin/ HTTP/1.1" 500 185 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" And when I try to connect from Firefox I see: 127.0.0.1 - - [20/Feb/2025:13:11:53 -0700] "GET /phpmyadmin/ HTTP/1.1" 500 185 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" It seems Firefox is using ipv4 and Chrome is using ipv6... I suspect this is irrelevant. I did notice that when in Chrome I try to look at my user page ~/public_html/index.php by using the url in chrome localhost/~user/ it just shows the contents of index.php which is: <?PHP phpinfo(); ?> in this case. Oddly Firefox if I use the same url it actually process the php and sends the page. Anyway the actual issue is that phpmyadmin is not opening. I thought there might be some relevance here. Not sure. I do get the full php info page when I use localhost/~user/index.php in Chrome and Firefox gives me this page just using the url localhost/~user/. The default apache page is served when I use localhost only as a url. I opened up the www port (80) and I get the same from a remote computer on my network. /var/log/apache2/error.log shows: Thu Feb 20 13:11:53.403468 2025] [php:error] [pid 9421:tid 9421] [client 127.0.0.1:43450] PHP Fatal error: Uncaught Error: Failed opening required 'Composer/CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4 Stack trace: #0 /usr/share/phpmyadmin/index.php(36): require() #1 {main} thrown in /usr/share/phpmyadmin/autoload.php on line 4 for each attempt to open url localhost/phpmyadmin. file /usr/share/phpmyadmin/autoload.php does exist and it has permissions: -rw-r--r-- 1 root root 78082 Feb 8 2023 autoload.php Do I have to change it to www-data group/owner? I did not see that requirement anywhere? I assume phpmyadmin and its components runs as root? IDK When setting up phpmyadmin I uncommented all of the lines: $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark'; $cfg['Servers'][$i]['relation'] = 'pma__relation'; $cfg['Servers'][$i]['table_info'] = 'pma__table_info'; $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords'; $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages'; $cfg['Servers'][$i]['column_info'] = 'pma__column_info'; $cfg['Servers'][$i]['history'] = 'pma__history'; $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs'; $cfg['Servers'][$i]['tracking'] = 'pma__tracking'; $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig'; $cfg['Servers'][$i]['recent'] = 'pma__recent'; $cfg['Servers'][$i]['favorite'] = 'pma__favorite'; $cfg['Servers'][$i]['users'] = 'pma__users'; $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups'; $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding'; $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches'; $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns'; $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings'; $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates'; in /usr/share/phpmyadmin/config.inc.php which I copied from config.sample.inc.php which is in the same directory. I also added the line $cfd['TempDir']= '/var/lib/phpmyadmin/tmp'; at the bottom of the file I notice that there is a config.inc.php in /var/www/html/phpmyadmin as well.?? Composer is installed on the machine. If I type composer at a prompt it shows the help screen. Is composer a requirement of the phpmyadmin package? Any direction would be greatly appreciated. Thanks, Mark | Hello mark-bboy wrote: 2025-02-26 08:20 [..] It is still giving the following in /var/log/apache2/error.log each time I try to connect from Chrome with /localhost/phpmyadmin: Code: Select allWed Feb 26 01:04:30.118687 2025] [php:error] [pid 12210:tid 12210] [client ::1:44582] PHP Fatal error: Uncaught Error: Failed opening required 'Composer/CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4 Stack trace: #0 /usr/share/phpmyadmin/index.php(36): require() #1 {main} thrown in /usr/share/phpmyadmin/autoload.php on line 4 According to the following command: Code: Select all$ apt-file search Composer/CaBundle/autoload.php php-composer-ca-bundle: /usr/share/php/Composer/CaBundle/autoload.php the missing file named "Composer/CaBundle/autoload.php" is in the package named "php-composer-ca-bundle". Is it installed ? You can use the following commands: Code: Select allsudo apt install php-composer-ca-bundle or Code: Select allsudo apt reinstall php-composer-ca-bundle mark-bboy wrote: 2025-02-26 08:20 As I indicated above I reran the installation script (that uses dbconfig-common and it still is not working. What's the name of this script ? Hope this helps. |
Hi there, Newer on Debian, I need some help please. I'm on Gnome and the bluetooth button is disable in my preference pannel. I think I've installed all needed modules, but it seems to be too difficult to me. I think that I use the wrong firmware, but I'm not sure. Here is the return of the command "sudo service bluetooth status" : Code: Select allbluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled) Active: inactive (dead) Thanks to you & regards | Hello and welcome! It is a good habit to search the forums before posting, here have recently been lot of discussion of bluetooth problems. Debian wiki is also a good place for Debian related problems. Check this https://wiki.debian.org/BluetoothUser If you still can't get bluetooth running, report back. |
Hi, I've installed Debian a few months ago (bookworm), instead of another classical distro I've been using for years, and for the first time I need to print a pdf. I tried to ping my printer, but received this error message : Code: Select allping: sendmsg: Operation not permitted I checked for iptables, and learned it was removed and replaced by nftables, which is inactive (and empty by default). I tried to ping with my user and then as root, and got the same error message : is it normal in a fresh install to have this message ? Thank for any hint to understand what's going on | Hello, debian_new_user wrote: 2025-03-07 16:21 [..] I tried to ping my printer, but received this error message : Code: Select allping: sendmsg: Operation not permitted [..] is it normal in a fresh install to have this message ? The ping command usually works on a fresh installation. So you may have messed up something in your installation. By the way, yours does not appear to be a fresh Debian installation: debian_new_user wrote: 2025-03-07 16:21 I've installed Debian a few months ago (bookworm) It would be useful if you could provide more information about your hardware and software configuration using the following command (the inxi program must be installed): Code: Select allinxi -F -v 7 -z -s You can paste the logs into the body of a follow-up message between code tags (if they fit the size of a forum message) |
Hello everyone. I'm trying to figure out AppArmor. To study its functionality, I wrote this program Code: Select all#include <iostream> #include <fstream> #include <string> int main() { const std::string filePath = "/home/username/Documents/Projects/AppArmorTest/hello.txt"; std::ofstream outFile(filePath); if (!outFile) { std::cerr << "Error: not able to write: " << filePath << std::endl; return 1; } outFile << "Hello world" << std::endl; outFile.close(); std::cout << "Successfull: " << filePath << std::endl; return 0; } Created an AppArmor profile in /etc/apparmor.d named create_file with the following contents Code: Select all/home/username/Documents/Projects/AppArmorTest/create_file { /usr/lib/x86_64-linux-gnu/libstdc++.so.6 r, /etc/** r, /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 mr, } As you can see, the profile contains a strange permission "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 mr," which allows modifying the system library. With the access mode set to "r", the program does not work, and "dmesg" contains the following violation log [ 4273.647810] audit: type=1400 audit(1742153237.059:54): apparmor="DENIED" operation="file_mmap" profile="/home/username/Documents/Projects/AppArmorTest/create_file" name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30" pid=5455 comm="create_file" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 Why does this happen? Why does such a program need such permission? How can you configure apparmor profiles if even such a primitive program has to be allowed to change system libraries? What's the point then? | Hello, guma178 wrote: 2025-03-17 04:32 [..] As you can see, the profile contains a strange permission "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 mr," which allows modifying the system library. With the access mode set to "r", the program does not work, and "dmesg" contains the following violation log [ 4273.647810] audit: type=1400 audit(1742153237.059:54): apparmor="DENIED" operation="file_mmap" profile="/home/username/Documents/Projects/AppArmorTest/create_file" name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30" pid=5455 comm="create_file" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 Why does this happen? Why does such a program need such permission? How can you configure apparmor profiles if even such a primitive program has to be allowed to change system libraries? What's the point then? According to the apparmor.d manual page about access modes: [..] m - Allow executable mapping This mode allows a file to be mapped into memory using mmap(2)'s PROT_EXEC flag. This flag marks the pages executable; it is used on some architectures to provide non-executable data pages, which can complicate exploit attempts. AppArmor uses this mode to limit which files a well-behaved program (or all programs on architectures that enforce non-executable memory access controls) may use as libraries, to limit the effect of invalid -L flags given to ld(1) and LD_PRELOAD, LD_LIBRARY_PATH, given to ld.so(8). [..] I'm not an apparmor expert, but program's libraries needs to be mapped (loaded) into (user space) memory in order to be used/executed by linked programs. So the "m" flag is required with apparmor according to the documentation above. Hope this helps. |
Hi, A few weeks ago I had to do a complete reinstall of Debian Bookworm from a Debian Bookworm 12.5 Live ISO/DVD. Since then the laptop has not been able to access the web through the dongle (a Vodafone R219h) although the laptop can access the web through the local library access point. It seems that the laptop is using Network Manager to manage connections.I have read/worked through the Network Manager section of Debian Networking WiFi_HowToUse section of the Debian Wiki. The laptop still cannot access the web through the dongle. In my investigations I found that both 20-wired.network and dhcp.network were both missing from /etc/systemd/network. I have re-instated both files. This has made no difference. There is a .nmconnection file for the dongle in /etc/NetworkManager/system-connections/. In System Settings/Network/Connections I have tried changing the dongle (access) Mode from Infrastructure (the original setting) to Adhoc and then Access Point. Neither of these changes made any difference. Currently I have set Restrict to device to wlp7s0. Again this made no difference. Previous to re-installing Debian, the laptop had no problem whatever in accessing the web through the dongle at home. Could someone please point me in the direction of a fix for this problem ? Stuart EDIT: Whilst reading through the Network section of the Debian Wiki, I came across the "sudo nmcli d" command. With the dongle connected to a usb port, this gives the following output. Code: Select allstuart@localhost:~$ sudo nmcli d DEVICE TYPE STATE CONNECTION enx001e101f0000 ethernet connected Wired connection 2 wlp7s0 wifi connected VodafoneMobileWiFi-645C43 lo loopback connected (externally) lo p2p-dev-wlp7s0 wifi-p2p disconnected -- enp19s0 ethernet unavailable -- In an effort to get this problem fixed, I recently replaced wlp7s0 with enp19s0 in file /etc/systemd/network/20-wired.network. This made no difference so I put back wlp7s0. Also, use of the "ip a" command gives the following output Code: Select allstuart@localhost:~$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: enp19s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether 78:84:3c:ff:8b:84 brd ff:ff:ff:ff:ff:ff 3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 64:27:37:96:82:fb brd ff:ff:ff:ff:ff:ff inet 10.190.96.149/25 metric 1024 brd 10.190.96.255 scope global dynamic wlp7s0 valid_lft 3072sec preferred_lft 3072sec inet 10.190.96.188/25 brd 10.190.96.255 scope global secondary dynamic noprefixroute wlp7s0 valid_lft 3084sec preferred_lft 3084sec inet6 fe80::efbc:cf7f:b0f5:ef8b/64 scope link noprefixroute valid_lft forever preferred_lft forever 4: enx001e101f0000: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff inet 192.168.0.130/24 brd 192.168.0.255 scope global dynamic noprefixroute enx001e101f0000 valid_lft 83089sec preferred_lft 83089sec inet6 fe80::b01a:499:2bc4:f290/64 scope link noprefixroute valid_lft forever preferred_lft forever stuart@localhost:~$ I have also replaced wlp7s0 with enx001e101f0000 in that same file. This also made no difference. | Hello, Stuarte wrote: 2025-01-11 15:14 [..] With the dongle connected to a usb port, this gives the following output. Code: Select allstuart@localhost:~$ sudo nmcli d DEVICE TYPE STATE CONNECTION enx001e101f0000 ethernet connected Wired connection 2 wlp7s0 wifi connected VodafoneMobileWiFi-645C43 lo loopback connected (externally) lo p2p-dev-wlp7s0 wifi-p2p disconnected -- enp19s0 ethernet unavailable -- You are trying to connect your computer's WiFi network device (what is it?) to the WiFi access point whose SSID is "VodafoneMobileWiFi-645C43", aren't you? It would be better to disconnect the cable from the Ethernet port before trying to connect the computer's WiFi network card to the Vodafone R219h WiFi access point (connected to the Internet via a mobile operator). Hope this helps. -- note: please rename the subject of the first post from "Cannot Access web through Vodafone R219h wifi dongle after re-install" to "Cannot Access web through Vodafone R219h wifi access point" |
I just recently installed Debian 12. PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian I have four PC in my local network. I have successfully tested out different networking tools. For example, commands to check that the SMBD, NMBD, WSDD2, netscan, and netdiscover all work. The tools that aren't working are dig and nslookup . When I execute nslookup <mycomputer> it returns the message in the thread's subject line. During the install, I did not setup a domain. Is this the reason why? I'm not a domain expert, so I'm looking for help. Content of /etc/resolv.conf cat resolv.conf # Generated by NetworkManager search <my provider name> nameserver 75.75.75.75 nameserver 75.75.76.76 nameserver 2001:558:feed::1 # NOTE: the libc resolver may not support more than 3 nameservers. # The nameservers listed below may not be recognized. nameserver 2001:558:feed::2 I have an install of Xubuntu, dig and nslookup work. I noted that systemd.resolved is installed and running. So, I installed it for my Debian computer, but it broke the network and I had to remove it. Now I'm back to a working network. | You need to point your DNS to a nameserver that has a record for <my computer> Alternatively, put it in your hosts file. |
Okay , so I am trying to set up a debian server on a computer that has been out of use and I am trying to get internet on it. Unfortunately , the last time I was not able to get the network to connect from a router ( or whatever it is called ) , this time I am trying something new. So what I am trying to see can I pass Internet from the WiFi connection on my laptop via the ethernet cable to the system I am trying to set up the server on? My operating system on my laptop is Debian Bookworm and I am trying to set up a debian server so there is that Any help would be appreciated. I asked ChatGPT and he recommended this On Linux, you can also share your Wi-Fi internet connection over Ethernet using **Internet Connection Sharing**. Here’s how you can do it: ### Steps for Linux (using `iptables` for routing): 1. **Connect to Wi-Fi**: Make sure your Linux machine is connected to the Wi-Fi network and has an active internet connection. 2. **Connect the Ethernet Cable**: Plug one end of the Ethernet cable into your Linux machine and the other into the system you want to share the connection with. 3. **Enable IP Forwarding**: - Open a terminal and enable IP forwarding to allow the system to route traffic between the Wi-Fi and Ethernet interfaces: ```bash sudo sysctl -w net.ipv4.ip_forward=1 ``` 4. **Configure `iptables` for NAT (Network Address Translation)**: - Set up `iptables` to NAT the traffic from the Ethernet interface through the Wi-Fi interface. Replace `eth0` with your Ethernet interface name (you can check it with `ifconfig` or `ip a`), and `wlan0` with your Wi-Fi interface name. ```bash sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE ``` - Allow traffic forwarding from the Ethernet interface to the Wi-Fi interface: ```bash sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT ``` 5. **Set Up a Static IP for the Ethernet Interface**: - You can set a static IP for the Ethernet interface or configure it to use DHCP, but for simplicity, we'll set it to a static IP (e.g., `192.168.137.1`). - Open the **Network Settings** and go to the **Ethernet** configuration. - Set a **static IP** like `192.168.137.1` with the subnet mask `255.255.255.0`. 6. **Configure the Second System**: - On the other machine, configure the Ethernet adapter to obtain an IP address automatically (DHCP) or manually set a static IP (e.g., `192.168.137.2`) with the gateway set to the Linux machine's Ethernet IP (`192.168.137.1`). 7. **Persist the Changes** (Optional): - To make the routing and NAT settings persistent after reboot, you can save the `iptables` rules. ```bash sudo iptables-save > /etc/iptables/rules.v4 ``` 8. **Restart the Network** (if needed): - If everything looks good, restart the networking service or reboot the system to ensure everything is set up properly. Now, the second system connected via Ethernet should have internet access through the Linux machine's Wi-Fi connection. ### Alternative: Use `NetworkManager` GUI If you’re using a Linux distribution with **NetworkManager**, you can share the connection without using the terminal: 1. Open **Network Settings**. 2. Select your **Wi-Fi connection**. 3. Go to the **IPv4 Settings** tab. 4. Set the **Method** to **Shared to other computers**. 5. Then, configure your **Ethernet** connection with either DHCP or a static IP. This method might be easier for those who prefer not to work directly with the command line. | I don't you can generally use bridging with wifi. Many APs only allow one MAC address for the client. You probably want to use NAT instead. |
I am confused. I do have 3 systems running Debain stable and two of them have been upgraded to the most recent kernel version 6.1.0-32-amd64 about a week ago. But one of them is still hanging on to 6.1.0-31-amd64 and the upgrade option isn't even found when I try to apply all upgrades. I guess that by default systems are probably configured to pull updates at different times in order to lessen the stress on repository servers but since it has been over a week now I wonder if something is wrong on my system. Is such a long update gap normal? The system with the still older version: Code: Select all$ uname -a Linux lenovo-t400s 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux $ apt list -i linux-image-amd64 linux-headers-amd64 -a Listing... Done linux-image-amd64/stable-backports 6.12.12-1~bpo12+1 amd64 linux-image-amd64/stable-security,now 6.1.128-1 amd64 [installed] linux-image-amd64/stable-updates 6.1.124-1 amd64 linux-image-amd64/stable 6.1.94-1 amd64 And one of the systems with the already newer version: Code: Select all$ uname -a Linux fujitsu-lifebook-e781 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux $ apt list -i linux-image-amd64 linux-headers-amd64 -a Listing... Done linux-image-amd64/stable-backports 6.12.12-1~bpo12+1 amd64 linux-image-amd64/stable,now 6.1.129-1 amd64 [installed] linux-image-amd64/stable-security 6.1.128-1 amd64 linux-image-amd64/stable-updates 6.1.124-1 amd64 | Maybe your apt lists are corrupted. Try the solution here - viewtopic.php?p=819236#p819236 |
Hello All, I wanted to ask the Debian community a question about networking.service for their opinion, I recently read a article on the internet about "How to speed up boot times in Linux". It said to DISABLE networking.service through systemctl. My question is: Are there any negative side affects to doing this? Does this "break" anything? Just curious ... Thanks. | @hawghaven: did you sort it out ? |
Question about the Debian clock. I have 2 boxes running linux. 1) Linux Mint 18 a Workstation 2) Debian 12 latest update. Home entertainment. Both have the hardware clock set to UTC. My time at hone is ADT = UTC-3 or -4 depending on the season I like to watch some Germany TV so I set the clock appelett to CET, UTC +1 When I look at a TV station over the internet, the box running Mint shows TV listings that are available at the time it would be Germany UTC+1. The Box running Debian shows listings that are available at the time where the box is ADT (UTC-3) Any reason for the difference in time. How can it be corrected. Thanks | Hello, Different configurations between the two computers ? What will the following commands do on both computers ? Code: Select alldate hwclock -v |
I am new to Debian but have experience with Unix/Linux for a couple of decades. For the past almost a decade other distributions automatic disk configurations seem to no longer install swap partition. I just installed Cinnamon version of Debian from Live USB onto a USB thumb drive, the automated system installed swap partition equal to my RAM size, which is a significant fraction of the 128 GB thumbdrive.... The 'other' distributions I have experienced now use a swap to ram scheme (zram or is it zswap?) and do not configure any swap file or partition at all. On my older hardware with 8GB Ram occasionally I would notice swapping, and close a couple of windows on the desktop to stop it. Also I would use S4 hibernate to disk sometimes. My newer hardware has 32GB and 64GB of ram and I never notice swapping any more... Since portable devices can be left on the bus seat or at the coffee shop, I maximize security of data inside by encrypting drives and enabling kernel lockdown mode. These disable S4 and newest hardware uses S0ix suspend modes nowadays. How big should I make my zram space so I can remove swap partition and use space for data storage?? Debian has the capability in package repository... On systems with a couple of TB system drives and little worry about full disks anymore , whats a few tens of GB among friends?? Although swap to ram is LOTS faster than swap to disk... | Usedtoberich wrote: 2025-02-20 20:48How big should I make my zram space so I can remove swap partition and use space for data storage?? Debian has the capability in package repository... systemd-zram-generator will give you up to 4gb of compressed swap in RAM. I quit using disk-based swap on my machines last summer and so far no hiccups, no glitches, no issues at all. How much swap you need depends on your hardware and how you use your machine, but most folks shouldn't need more swap than the 4gb provided. More info here - https://wiki.debian.org/ZRam |
[SOLVED] OVERVIEW: ----------------- I have a Startech PCIe ethernet card 1-port 2.5 GBASE-T Part#: ST2GPEX, installed on my ASUS Prime X670-P wifi mobo. It works fine at 1 Gbps with the Realtek r8169 driver loaded, and no other issues with this driver. I don't use wifi nor bluetooth; those controllers on the mobo are disabled in my BIOS (ver 3208). So, I'm strictly using a wired connection to my cable router, with new CAT 8 cables installed. I'm deplouing Debian 12.9, fully up to date, with LTS kernel 6.1.0-31-amd64, as of this writing. THE ISSUE: ----------------- I wanted to find out if I could run this card (RTK 8125) at it's potential 2.5 Gbps speed on my tiny LAN, and in order to do so, I require the Realtek r8125 driver instead of the r8169 driver. I've installed the latest r8125 driver source from: git clone https://github.com/awesometic/realtek-r8125-dkms.git and compiled the source, to get the object module r8125.ko, successfully. I believe the Rtek 8125 card hax the latest firmware installed. FIRMWARE & DRIVER LOADING: ----------------------------------------------- mikey@mikey:~$ apt list -i firmware-realtek Listing... Done firmware-realtek/stable,now 20230210-5 all [installed] mikey@mikey:~$ lspci -knn | grep -i -A 3 net 09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04) Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:0123] Kernel driver in use: r8169 Kernel modules: r8169, r8125 QUESTION: ----------------- So after rebooting, I find that the r8169 driver continues to be the active one. How do I modify my configuation to enable the kernel to boot with the r8125 driver, instead of the r8169 driver? mikey@mikey:~$ nmcli device status DEVICE TYPE STATE CONNECTION enp9s0 ethernet connected Wired connection 1 lo loopback connected (externally) lo OR --- Is this an out-of-tree issue with kernel ver 6.1.0.31-amd64 potentially being tainted by the r8125 driver? And if so, which LTS kernel do I need to install, to be able to use the r8125 driver without any danger of tainting the kernel? OR--- Has the r8169 driver superceded the r8125 driver, so far as Debian 12 (Bookworm) long term support distribution, is concerned? I have spent the last 2 days reading dozens of articles about the Realtek r8125 driver and it's associated (earlier) foibles, and I find that the issue with getting it to work on a current version of Linux, is quite confusing. And IMO, the Startech Realtek 8125 support page for Linux is out of date, so I've been relying on the git repository for more up to date information and code downloads. I'm about to go nuts, but as far as I am concerned, some of this is the hardware vendor's issue, for generally poor Linux support (and not just with this component). Thank you. | Ok, I fixed it myself. After browsing (not mandatory) a copy of MAD Magazine from 1963 (which told me to consult the README.md file that came with the package); I reviewed the README instructions and ran the following from the terminal: (Configure an entry in the blacklist file to blacklist the r8169 driver)... sudo tee -a /etc/modprobe.d/blacklist-r8169.conf > /dev/null <<EOT ... blacklist r8169 EOT ... Next, apply the new blacklist to the kernel... sudo update-initramfs -u (the above takes a few moments, depending on your hardware's age; just watch the messages on the terminal as it executes) ... Next, Reboot your machine. ... Following reboot, open the terminal and run the following command to verify that the above worked, as expected... lsmod | grep -i r8125 mikey@mikey:~$ lsmod | grep -i r8125 r8125 274432 0 End Of Post --------------------------- ***--- +=+=+=+ ---*** --------------------------- |
Hi, I had recently switched to debian and installed debian 12 with kde plasma, I had not installed with the installer but rather the kde-plasma-desktop package, the install did not give any errors but when I tried to connect to the internet it just did not want to detect any nearby networks nor connect to them, it was detecting my adapter but still not using it, nmcli device show had shown that it is unmanaged or something, I installed rfkill by manually connecting and doing some tweaks with ChatGPT, because of the AI, I was finally able to connect to my nearby networks through the applet, but I had very slow internet. The network speed is about 100-200kbps with wifi and usb tethering, I am using the appropriate mtu that was identified in windows which was 1372, I set it on the device and in the settings of the connection itself. But still I had about the same speed, When I checked my system with speedtest-cli it showed a max speed of 1Mb/s download and the same for upload, which is ridiculous! My system used to have 5MB/s of internet speed but now it is only 100-200KB/s? Also when I checked with the ping command Code: Select allping -M do -s 1344 8.8.8.8 It just showed that there is substantial packet loss, before when I used to use xfce, it used to be 0% packet loss. Also I am using the best mirror in case you are wondering, I used nala to find the mirror and set the #1 mirror. inxi -Fxxxxz output- Code: Select allak@debian:~$ inxi -Fxxxxz System: Kernel: 6.1.0-30-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: Desktop Mobo: Gigabyte model: G31M-ES2L serial: <superuser required> BIOS: Award v: FI date: 08/09/2010 CPU: Info: quad core model: Intel Core2 Quad Q9550 bits: 64 type: MCP smt: <unsupported> arch: Penryn rev: A cache: L1: 256 KiB L2: 12 MiB Speed (MHz): avg: 2833 min/max: N/A cores: 1: 2833 2: 2833 3: 2833 4: 2833 bogomips: 22664 Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 Graphics: Device-1: NVIDIA GK107 [GeForce GT 740] driver: nvidia v: 470.256.02 arch: Kepler pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: HDMI-A-1 empty: DVI-I-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0fc8 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x261mm (19.02x10.28") s-diag: 549mm (21.61") Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: LG (GoldStar) FHD serial: <filter> res: 1920x1080 hz: 100 dpi: 102 size: 480x260mm (18.9x10.24") diag: 546mm (21.5") modes: max: 1920x1080 min: 640x480 API: OpenGL v: 4.6.0 NVIDIA 470.256.02 renderer: NVIDIA GeForce GT 740/PCIe/SSE2 direct-render: Yes Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Gigabyte GA-D525TUD driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403 Device-2: NVIDIA GK107 HDMI Audio driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403 API: ALSA v: k6.1.0-30-amd64 status: kernel-api Server-1: PulseAudio v: 16.1 status: active Network: Device-1: Qualcomm Atheros AR8131 Gigabit Ethernet vendor: Gigabyte GA-G31M-ES2L driver: atl1c v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: bf00 bus-ID: 03:00.0 chip-ID: 1969:1063 class-ID: 0200 IF: enp3s0 state: down mac: <filter> Device-2: Ralink RT5370 Wireless Adapter type: USB driver: rt2800usb bus-ID: 5-5:2 chip-ID: 148f:5370 class-ID: 0000 serial: <filter> IF: wlxc83a35c9505a state: up mac: <filter> Drives: Local Storage: total: 1.38 TiB used: 20.29 GiB (1.4%) ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB speed: <unknown> type: HDD rpm: 7200 serial: <filter> rev: A7C0 scheme: MBR ID-2: /dev/sdb vendor: A-Data model: SU800 size: 476.94 GiB speed: <unknown> type: SSD serial: <filter> rev: 8B scheme: MBR Partition: ID-1: / size: 173.1 GiB used: 17.27 GiB (10.0%) fs: ext4 dev: /dev/sdb1 ID-2: /home size: 14.66 GiB used: 3.02 GiB (20.6%) fs: ext4 dev: /dev/sdb6 Swap: ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb3 ID-2: swap-2 type: zram size: 1.91 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 Sensors: System Temperatures: cpu: 55.0 C mobo: N/A gpu: nvidia temp: 40 C Fan Speeds (RPM): N/A gpu: nvidia fan: 30% Info: Processes: 164 Uptime: 22m wakeups: 0 Memory: 3.82 GiB used: 1.94 GiB (50.7%) Init: systemd v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Packages: pm: dpkg pkgs: 1743 Shell: Bash v: 5.2.15 running-in: konsole inxi: 3.3.26 ak@debian:~$ Please give serious suggestions, I just want this installation to be fine. Thanks, GK | Have you installed the firmware for that Ralink device? It's in the firmware-misc-nonfree package. |
I have a Debian server with two Ethernet ports. Relevant part of /etc/network/interfaces: Code: Select allallow-hotplug enp2s0 iface enp2s0 inet dhcp allow-hotplug enp3s0 iface enp3s0 inet static address 192.168.1.1/24 I have a service running (specifically, Home Assistant on port 8123) that I want to reverse proxy with nginx. My nginx config: Code: Select allserver { server_name <dns name>; listen 443 ssl; listen [::]:443 ssl; ssl_certificate <path to cert> ssl_certificate_key <path to key> location / { proxy_pass http://192.168.1.1:8123/; proxy_bind 192.168.1.1; proxy_set_header X-Forwarded-For $remote_addr; } } However, nginx makes connections from enp2s0's IP address, rather than 192.168.1.1. I tried to reproduce the problem in a VM with a similar network setup, but in the VM proxy_bind works correctly. Any ideas how I can debug why nginx is ignoring proxy_bind? | Right, made some progress! I have discovered this happens due to NAT being enabled. This section is present in my server's /etc/nftables.conf: Code: Select alltable ip nat { chain prerouting { type nat hook prerouting priority 0; } chain postrouting { type nat hook postrouting priority 100; masquerade } } and if I add that to my test VM, the VM then exhibits the problem. I still don't know how to fix this yet, but at least I know it's something to do with nftables. |
Dear community, I am experiencing problems enabling UEFI secure boot on my HP Elitebook when booting the PREEMPT RT kernel using linux-image-5.10.0-33-rt-amd64 Everything works fine when I use the stock linux-image-5.10.0-33-amd64 kernel. Booting the RT kernel also seems to work initially, I get a running system. Both systems report "secureboot: Secure boot enabled" when I grep dmesg output. However, running "efibootmgr" under the RT kernel reports "EFI variables are not supported on this system." Also, calling "modprobe efivarfs" fails with the RT kernel. For reference I have added dmesg of both kernels. In line 521 of the standard kernel, "Registered efivars operations" is reported. This is missing on line 523 in the RT dmesg output. What can I do Regards Richard | Hello, lerichi wrote: 2025-01-26 23:31 [..] running "efibootmgr" under the RT kernel reports "EFI variables are not supported on this system." Also, calling "modprobe efivarfs" fails with the RT kernel Can you report the log of the command and the error message using modprobe with the RT kernel ? What is the output of the following commands ? Code: Select allscript log.txt uname -a sudo modinfo efivarfs sudo modprobe efivarfs exit If you wish, you can report the log.txt file in one of the following ways: paste them into the Debian Pastezone service (https://paste.debian.net) and report the URL/link of the paste in a follow-up message attach the logs to a follow-up forum message as a compressed zip or gz file paste the logs into the body of a follow-up message between code tags (if they fit the size of a forum message) |
Hi all! I have been a linux user for some years although I'm very new to the networking aspects. This is the first time I will use OpenVPN and I have been struggling to make it work for a few days. I need to connect my home and work PCs (just two computers, each in a different location and with a different network) to use ssh in a way that I can access either computer. Then I could syncronize my files using the commands: sync, unison, etc. Both computers are using Debian 12. In case this info could be relevant, one computer has the default Debian kernel: 6.1.0-30-amd64, arch: x86_64. The other computer is using a newer kernel to achieve wifi compatibility: Kernel: 6.10.11+bpo-amd64 arch: x86_64. I would like to set both as server and client to access them from either location. I installed the default OpenVPN in Debian 12: OpenVPN 2.6.3 x86_64-pc-linux-gnu library versions: OpenSSL 3.0.15 3 Sep 2024, LZO 2.10 Originally developed by James Yonan Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net> First I followed the wiki debian page: https://wiki.debian.org/OpenVPN: In that page they first cover how to install and run openvpn in a raw unsecure connection just for testing. But the test didn't go well for me. Later they continue to configure openvpn which I also did, but still it seem not to work. Then I went through more complex guides on the net, configuring certificates, etc.... no luck. I think I should focus on that first step on the debian wiki page and find out why the raw test doesn't work. So here are the steps I followed from the debian wiki: Code: Select allsudo apt-get install openvpn sudo apt-get install network-manager-openvpn-gnome On the server's firewall, open up UDP 1194 (default port). I accomplished this using firewalld (which is the recommended program to reach the nftables in Debian). Code: Select allsudo apt install firewalld sudo systemctl start firewalld sudo systemctl enable firewalld sudo firewall-cmd --add-port=1194/udp I also check that the openvpn service was active and enable: Code: Select allsudo systemctl start openvpn.service Code: Select allsudo systemctl enable openvpn.service And I included OpenVPN in the firewall too: Code: Select allsudo firewall-cmd --add-service openvpn.service Here is the output of my firewalld configuration with the command: sudo firewall-cmd --list-all Code: Select allpublic (active) target: default icmp-block-inversion: no interfaces: wlp7s0 sources: services: dhcpv6-client openvpn ssh ports: 1194/udp protocols: forward: yes masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: Since I want to use both computers as servers I did all those steps in both computers. From one computer (let's call it the server now) I run an openvpn instance: Code: Select allsudo openvpn --remote CLIENT_IP --dev tun1 --ifconfig 10.*.*.1 10.*.*.2 If I understood it well, I have to replace CLIENT_IP with the public IP of the other computer (let's call it the client). I opted to get the IP using the command: Code: Select allcurl https://api.ipify.org and copy/paste the IP, replacing the CLIENT_IP part in the command above. So here is the output of: sudo openvpn --remote xxx.xxx.xxx.xxx. --dev tun1 --ifconfig 10.*.*.1 10.*.*.2. Code: Select all2025-01-23 19:42:08 DEPRECATION: No tls-client or tls-server option in configuration detected. OpenVPN 2.7 will remove the functionality to run a VPN without TLS. See the examples section in the manual page for examples of a similar quick setup with peer-fingerprint. 2025-01-23 19:42:08 OpenVPN 2.6.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] 2025-01-23 19:42:08 library versions: OpenSSL 3.0.15 3 Sep 2024, LZO 2.10 2025-01-23 19:42:08 DCO version: N/A 2025-01-23 19:42:08 ******* WARNING *******: '--cipher none' was specified. This means NO encryption will be performed and tunnelled data WILL be transmitted in clear text over the network! PLEASE DO RECONSIDER THIS SETTING! 2025-01-23 19:42:08 ******* WARNING *******: '--auth none' was specified. This means no authentication will be performed on received packets, meaning you CANNOT trust that the data received by the remote side have NOT been manipulated. PLEASE DO RECONSIDER THIS SETTING! 2025-01-23 19:42:08 ******* WARNING *******: All encryption and authentication features disabled -- All data will be tunnelled as clear text and will not be protected against man-in-the-middle changes. PLEASE DO RECONSIDER THIS CONFIGURATION! 2025-01-23 19:42:08 TUN/TAP device tun1 opened 2025-01-23 19:42:08 net_iface_mtu_set: mtu 1500 for tun1 2025-01-23 19:42:08 net_iface_up: set tun1 up 2025-01-23 19:42:08 net_addr_ptp_v4_add: 10.*.*.1 peer 10.*.*.2 dev tun1 2025-01-23 19:42:08 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1194 2025-01-23 19:42:08 UDPv4 link local (bound): [AF_INET][undef]:1194 2025-01-23 19:42:08 UDPv4 link remote: [AF_INET]xxx.xxx.xxx.xxx:1194 So I got this good line saying: TUN/TAP device tun1 opened While openvpn is running, I execute from another terminal the command "ip a" and get this output: Code: Select alltun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500 link/none inet 10.*.*.1 peer 10.*.*.2/32 scope global tun1 valid_lft forever preferred_lft forever I then continue with the debian wiki page, go to the client and run: Code: Select allsudo openvpn --remote SERVER_IP --dev tun1 --ifconfig 10.*.*.2 10.*.*.1 replacing now the SERVER_IP too with the public IP of the "server" computer. I get a very similar output as before, just exchanging the 10.*.*.1 and 10.*.*.2. I am also supposed to be able to ping the server: ping 10.*.*.1, but it doesn't work: PING 10.*.*.1 (10.*.*.1) 56(84) bytes of data. --- 10.*.*.1 ping statistics --- 11 packets transmitted, 0 received, 100% packet loss, time 10312ms So please, could anyone help me about how and where could I start searching for the issue in my openvpn or my computers? What commands could I run for debugging? Could it be something with my router instead? In that case, how can I configure my router to let openvpn connections? | Hello, anndreih wrote: 2025-01-23 20:08 [..] I need to connect my home and work PCs (just two computers, each in a different location and with a different network) to use ssh in a way that I can access either computer. Then I could syncronize my files using the commands: sync, unison, etc. Both computers are using Debian 12. [..] Just a guess: both computers are behind a modem/router (with an active NAT, Network address translation) and cannot reach each other, aren't they ? What are the IP address and default gateway of these two computers without trying to enable VPN? You can check this on each computer using the following commands: Code: Select allip address ip route |
Hello all, I recently reinstalled Debian 12, after switching from Gnome to KDE. Since the reinstall, I started having issues with the iwlwifi firmware. On boot, I would receive the "failed to load iwl-debug yoyo.bin" error. I fixed this by editing the modprobe iwlwifi.conf file. This fixed it for a bit before I started receiving the error "iwlwifi sorry - debug buffer is only 4096k while you requested 65536k." The weird thing is that sometimes it prevents the OS from fully booting while other times it goes straight through into the login screen, where I can log in and the wifi still works. I can also boot into recovery mode just fine, and the wifi works as expected. I haven't been able to find instances of this message anywhere else online, so I apologize if this is a repeat of old information. This is also my first post, so I hope I am doing everything the correct way! My hardware is as follows: Debian 12 KDE (wayland) 6.1.0-28 kernel Ryzen 5 2600x Nvidia Titan Xp 32gb ram Asrock b450m motherboard (no built-in wifi) Intel Ax200 pcie wifi card. Any information would be greatly appreciated. Thanks! | Hello, theinmine wrote: 2025-01-04 03:22 [..] On boot, I would receive the "failed to load iwl-debug yoyo.bin" error. I fixed this by editing the modprobe iwlwifi.conf file. This fixed it for a bit before I started receiving the error "iwlwifi sorry - debug buffer is only 4096k while you requested 65536k." The weird thing is that sometimes it prevents the OS from fully booting while other times it goes straight through into the login screen[..] What is the content of the "fixed" iwlwifi.conf file ? |
Hello, I have a debian 12 installed initially with DHCP and wifi. After sometime I changed to static IP the wifi config using the GUI in settings > wifi > select the SSID used > edit > IPv4 > from Automatic to Manual and set all configs.. everything works ok. Now I would like to configure the static IP with /etc/network/interfaces.. and that for what I see, the file wasn't changed by the GUI setting (the ip command shows me an 'wlo1' interface with the static IP but it doesn't appear in /etc/network/interfaces) my current /etc/network/interfaces has this: Code: Select all#/etc/network/interfaces source /etc/network/interfaces.d/* auto lo iface lo inet loopback The /etc/network/interfaces.d folder is empty. I noticed that debian is running a wpa_supplicant systemd service, but I can't see which wpa_supplicant.conf file is using (to set it on /etc/network/interfaces) and there is no /etc/wpa_supplicant/wpa_supplicant.conf file in my filesystem the systemd wpa_supplicant service file is: Code: Select all#/lib/systemd/system/wpa_supplicant.service [Unit] Description=WPA supplicant Before=network.target After=dbus.service Wants=network.target IgnoreOnIsolate=true [Service] Type=dbus BusName=fi.w1.wpa_supplicant1 ExecStart=/sbin/wpa_supplicant -u -s -O "DIR=/run/wpa_supplicant GROUP=netdev" ExecReload=/bin/kill -HUP $MAINPID Group=netdev RuntimeDirectory=wpa_supplicant RuntimeDirectoryMode=0750 [Install] WantedBy=multi-user.target Alias=dbus-fi.w1.wpa_supplicant1.service The only wpa_supplicant.conf I found in my filesystem is /etc/dbus-1/system.d/wpa_supplicant.conf and it doesn't have any SSID set.. don't know much about dbus :/ Code: Select all#/etc/dbus-1/system.d/wpa_supplicant.conf <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <policy user="root"> <allow own="fi.w1.wpa_supplicant1"/> <allow send_destination="fi.w1.wpa_supplicant1"/> <allow send_interface="fi.w1.wpa_supplicant1"/> <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> <policy group="netdev"> <allow send_destination="fi.w1.wpa_supplicant1"/> <allow send_interface="fi.w1.wpa_supplicant1"/> <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> <policy context="default"> <deny own="fi.w1.wpa_supplicant1"/> <deny send_destination="fi.w1.wpa_supplicant1"/> <deny receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> </busconfig> I have tried adding this in /etc/network/interfaces Code: Select allauto wlo1 iface wlo1 inet static address x.x.x.x netmask x.x.x.x gateway x.x.x.x dns-nameservers x.x.x.x x.x.x.x wpa-ssid xxxxx wpa-psk xxxxx but it breaks the internet connection. Please help | Hopefully this isn't too off-topic but is there a reason you wouldn't set your static IP on your router instead of on the workstation? Personal preference but I'd rather have only one device on my network managing IP addressing - three machines and my printer are assigned static IPs using MAC reservations on my router. |
I installed Debian 12 32 bit on my laptop Hp Compac nw8042' which has intel Pro/Wireless 2200BG (Calexico2) network connection wireless card, properly yesterday, without getting an error. It looks excellent. The only problem my wireless broadcasting is not listed; although another wireless which I don`t know whose it is is listed. I am writing connecting via by ethernet cable. I added an wireless account using the information derived from a windows system but it didn`t run. I am new on linux. I want to learn linux and use it by debian. I need your help. | Hello, Is the firmware-ipw2x00 package installed ? You can verify with the command: Code: Select allapt list firmware-ipw2x00 Is the rfkill switch unlocked ? You can verify with the command: Code: Select allsudo apt install rfkill sudo rfkill Are there any errors and warning in the system journal ? You can verify with the command: Code: Select allsudo journalctl -b --no-pager -p err..warning What program is used to configure the network ? is the network manager running ? Code: Select allps ax | grep -i network If you wish, you can report logs in one of the following ways: paste them into the Debian Pastezone service (https://paste.debian.net) and report the URL/link of the paste in a follow-up message attach the logs to a follow-up forum message as a compressed zip or gz file paste the logs into the body of a follow-up message between code tags (if they fit the size of a forum message) Hope this helps. |
Hello, Im running into a WiFi problem when installing the latest backport-kernel for debian 12 bookorm. My WiFi works very well on debian 12 stable (bookworm, kernel 6.1) but as soon as I upgrade and boot into the kernel latest backpackages kernel (6.11.10), my WiFi becomes unavailable. When I boot into the kernel that was installed using backports (6.11.10), dmesg shows me these errors regarding iwlwifi: Code: Select all[ 6.050298] Intel(R) Wireless WiFi driver for Linux [ 6.050960] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002) [ 6.051097] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002) [ 6.053740] usbcore: registered new interface driver uvcvideo [ 6.053663] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 6.057063] audit: type=1400 audit(1736236291.341:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=588 comm="apparmor_parser" [ 6.058913] audit: type=1400 audit(1736236291.341:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=586 comm="apparmor_parser" [ 6.058920] audit: type=1400 audit(1736236291.341:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=586 comm="apparmor_parser" [ 6.058923] audit: type=1400 audit(1736236291.341:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=586 comm="apparmor_parser" [ 6.058926] audit: type=1400 audit(1736236291.341:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=582 comm="apparmor_parser" [ 6.059260] audit: type=1400 audit(1736236291.341:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=583 comm="apparmor_parser" [ 6.059264] audit: type=1400 audit(1736236291.341:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=583 comm="apparmor_parser" [ 6.059560] audit: type=1400 audit(1736236291.341:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=587 comm="apparmor_parser" [ 6.061461] audit: type=1400 audit(1736236291.345:12): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=592 comm="apparmor_parser" [ 6.063064] audit: type=1400 audit(1736236291.345:13): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=595 comm="apparmor_parser" [ 6.063586] intel_rapl_common: Found RAPL domain package [ 6.063589] intel_rapl_common: Found RAPL domain dram [ 6.078923] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000 [ 6.078942] iwlwifi 0000:00:14.3: PCI dev 02f0/4070, rev=0x351, rfid=0x10a100 [ 6.078948] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz [ 6.080593] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-QuZ-a0-hr-b0-77.ucode (-2) [ 6.080614] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-QuZ-a0-hr-b0-77.ucode (-2) [ 6.080617] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-77.ucode failed with error -2 [ 6.080623] iwlwifi 0000:00:14.3: no suitable firmware found! [ 6.080652] iwlwifi 0000:00:14.3: iwlwifi-QuZ-a0-hr-b0-77 is required [ 6.080676] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git I have already tried to uninstall my WiFi-Firmware using Code: Select all apt remove firmware-iwlwifi and afterwards Code: Select all apt install -t bookworm-backports firmware-iwlwifi I would like to understand why this issue occurs, because my WiFi was already working ootb on the stable kernel (6.1), and what I could do in order to fix this problem. Ive already encountered this issue on two separate machines running debian 12 bookworm. Output of lspci -vnn Code: Select all00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH-LP CNVi WiFi [8086:02f0] DeviceName: Onboard - Ethernet Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:4070] Flags: fast devsel, IRQ 16, IOMMU group 6 Memory at cc33c000 (64-bit, non-prefetchable) [size=16K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [80] MSI-X: Enable- Count=16 Masked- Capabilities: [100] Latency Tolerance Reporting Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?> Kernel modules: iwlwifi Edit: I just found that kernel 6.1 tries to load wifi firmware iwlwifi-QuZ-a0-hr-b0-72.ucode while backport kernel 6.11.10 tries to load iwlwifi-QuZ-a0-hr-b0-77.ucode Maybe the debian repos are missing new microcode for this hardware? | debianuserman wrote: 2025-01-07 10:03Maybe the debian repos are missing new microcode for this hardware? I think that's possible. firmware-iwlwifi has no dependencies so it might be helpful to install Trixie's package, which is newer than the package in backports. You can find it here and this package has iwlwifi-QuZ-a0-hr-b0-77.ucode - https://packages.debian.org/trixie/all/ ... i/download And then - as rootCode: Select allcd /path/to/downloaded/firmware apt install ./firmware-iwlwifi_20241210-1_all.debHope this helps - |
I installed Debian 12.8 without a DE today on a Intel 10th gen PC. I ended up with the 6.1.29 kernel. I was working with it via ssh and every time I rebooted nothing happened. I hit the reset button to recover. I also tested shutdown, same issue. I finally re-hooked up a monitor to the PC and saw that a kernel panic happened. I've never seen this behavior. I remembered that on a very new N100 PC I had to install the bookworm backport kernel and firmware just to have wifi and bluetooth work. In this case I didn't need either of those two so I went with the standard stuff. So when I installed: Code: Select allsudo apt install -t bookworm-backports linux-image-amd64 sudo apt install -t bookworm-backports firmware-realtek reboot and shutdown work. Is this expected on an Intel 10th Gen PC with a Realtek NIC? Code: Select all$ inxi -Fxxx System: Host: mythtv Kernel: 6.11.10+bpo-amd64 arch: x86_64 bits: 64 compiler: N/A Console: pty pts/0 Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required> Mobo: ASUSTeK model: PRIME B460M-A v: Rev 1.xx serial: <superuser required> UEFI: American Megatrends v: 1620 date: 07/09/2021 CPU: Info: quad core model: Intel Core i3-10100 bits: 64 type: MT MCP smt: enabled arch: Comet Lake rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB Speed (MHz): avg: 800 min/max: 800/4300 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 57600 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 Graphics: Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: ASUSTeK driver: i915 v: kernel arch: Gen-9.5 ports: active: HDMI-A-2 empty: DP-1,HDMI-A-1,HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:9bc8 class-ID: 0300 Device-2: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb vendor: Hauppauge works WinTV-quadHD driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 14f1:8880 class-ID: 0400 Device-3: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb vendor: Hauppauge works driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 14f1:8880 class-ID: 0400 Display: server: Xwayland v: 22.1.9 driver: gpu: i915 note: X driver n/a tty: 175x55 Monitor-1: HDMI-A-2 model: Sony TV 30 serial: 16843009 res: 3840x2160 dpi: 68 size: 1439x809mm (56.65x31.85") diag: 1651mm (65") modes: max: 3840x2160 min: 640x480 API: OpenGL Message: GL data unavailable in console. Try -G --display Audio: Device-1: Intel Comet Lake PCH-V cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a3f0 class-ID: 0403 Device-2: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb vendor: Hauppauge works WinTV-quadHD driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 14f1:8880 class-ID: 0400 Device-3: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb vendor: Hauppauge works driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 14f1:8880 class-ID: 0400 API: ALSA v: k6.11.10+bpo-amd64 status: kernel-api Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 7c:10:c9:41:d5:c1 Device-2: Intel 82572EI Gigabit Ethernet driver: e1000e v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 08:00.0 chip-ID: 8086:10b9 class-ID: 0200 IF: enp8s0 state: down mac: 00:1b:21:1e:54:05 Drives: Local Storage: total: 9.55 TiB used: 153.69 GiB (1.6%) ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G2B0C-00PXH0 size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: 21375D802051 rev: 233010WD temp: 30.9 C scheme: GPT ID-2: /dev/sda vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s type: HDD rpm: 5980 serial: ZDHASSXD rev: SC60 ID-3: /dev/sdb vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s type: HDD rpm: 5980 serial: ZDHASSZH rev: SC60 ID-4: /dev/sdc type: USB vendor: Toshiba model: HDWD120 size: 1.82 TiB type: HDD rpm: 7200 serial: 58NYHGNCS scheme: GPT Partition: ID-1: / size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2 ID-2: /boot/efi size: 475.1 MiB used: 5.8 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1 ID-3: /home size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2 ID-4: /var/log size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2 ID-5: /var/tmp size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2 Swap: ID-1: swap-1 type: zram size: 3.87 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 Sensors: System Temperatures: cpu: 29.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 213 Uptime: 3m wakeups: 0 Memory: 15.47 GiB used: 878 MiB (5.5%) Init: systemd v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Packages: pm: dpkg pkgs: 1566 Shell: Bash v: 5.2.15 running-in: pty pts/0 (SSH) inxi: 3.3.26 | Hello, jfabernathy wrote: 2025-01-11 21:34 I installed Debian 12.8 without a DE today on a Intel 10th gen PC. I ended up with the 6.1.29 kernel. I was working with it via ssh and every time I rebooted nothing happened. I hit the reset button to recover. I also tested shutdown, same issue. I finally re-hooked up a monitor to the PC and saw that a kernel panic happened. I've never seen this behavior. I remembered that on a very new N100 PC I had to install the bookworm backport kernel and firmware just to have wifi and bluetooth work. In this case I didn't need either of those two so I went with the standard stuff. So when I installed: Code: Select allsudo apt install -t bookworm-backports linux-image-amd64 sudo apt install -t bookworm-backports firmware-realtek reboot and shutdown work. Is this expected on an Intel 10th Gen PC with a Realtek NIC? Code: Select all$ inxi -Fxxx System: Host: mythtv Kernel: 6.11.10+bpo-amd64 arch: x86_64 bits: 64 compiler: N/A Console: pty pts/0 Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required> Mobo: ASUSTeK model: PRIME B460M-A v: Rev 1.xx serial: <superuser required> UEFI: American Megatrends v: 1620 date: 07/09/2021 The shutdown sequence sometimes fails to complete due to hardware (CPU and/or motherboard chipset and/or peripherals) or firmware incompatibilities (e.g. ACPI, peripherals firmware), especially with newer hardware. If I read correctly, your ASUSTeK PRIME B460M-A user manual [1] is dated "May 2020" and the Linux kernel 6.1.0 has been released: Code: Select all$ git log --tags --simplify-by-decoration --pretty="format:%ci %d" | grep 6\.1\.1 [..] 2022-12-21 17:48:12 +0100 (tag: v6.1.1) So newer kernels may fix the problem by adding support for newer hardware. It might be interesting to have a screen copy of the kernel dump back-trace for future reference. If you agree, please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message and adding the hardware involved, e.g.: Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A Thanks. Happy Debian ! :) -- [1] PRIME B460M-A - User Manual -- note: moved to "Hardware" sub-forum. |
The message in journal is this: Code: Select allfile system check on root device was skipped because of an unmet condition check What is the cause of this message and is it something to aware of? | We need to know the condition that was unmet. What is the full line? What is the output of the following? Code: Select all$ systemctl status systemd-fsck-root.service On my system I have this in journalctrl: Code: Select allJan 04 06:06:15 lenovo-debian-xfce systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). And this from systemctl status systemd-fsck-root.service Code: Select all○ systemd-fsck-root.service - File System Check on Root Device Loaded: loaded (/lib/systemd/system/systemd-fsck-root.service; enabled-runtime; preset: enabled) Active: inactive (dead) Condition: start condition failed at Sat 2025-01-04 06:06:15 GMT; 1h 32min ago └─ ConditionPathExists=!/run/initramfs/fsck-root was not met Docs: man:systemd-fsck-root.service(8) This could be the e2scrub_reap.service trying to check a LVM that doesn't exist. https://ubuntuforums.org/showthread.php ... 925&page=2 Your condition may be different. Another reason for the message seems to be having the btrfs file system where fsck does not work, in which case the condition would be Code: Select allsystemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). https://forum.manjaro.org/t/file-system ... ite/142688 So we need to know the unmet condition. |
I installed phpmyadmin for my local host on my Debin 12. Whenever I enter the phpmyadmin via by user name as `root` and its password I assigned' two lines in red are listed at the bottom the page mysqli::real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES) The connection failed for the audit user defined in your configuration file. What should I do to fix this error? | Hello, fazli wrote: 2025-01-11 15:57 I installed phpmyadmin for my local host on my Debin 12. Whenever I enter the phpmyadmin via by user name as `root` and its password I assigned' two lines in red are listed at the bottom the page mysqli::real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES) The connection failed for the audit user defined in your configuration file. What should I do to fix this error? A quick internet search led me here (first result): How to solve “Access denied for user 'phpmyadmin'@'localhost' (using password: YES)" Have you found it yet? |
Hello, on Debian 12, the "sudo apt upgrade" shows: Code: Select allThe following packages were automatically installed and are no longer required: linux-headers-6.1.0-28-amd64 linux-headers-6.1.0-28-common linux-image-6.1.0-28-amd64 yet during boot, my latest available kernel boot entry is older one: *27: 6.1.0-27-amd64 and the latest kernel which apt automatically installed is *29 yet it is not in a boot menu which appears during reboot. $ sudo apt reinstall linux-image-6.1.0-29-amd64 Code: Select allReading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-6.1.0-28-amd64 linux-headers-6.1.0-28-common linux-image-6.1.0-28-amd64 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 69.0 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 linux-image-6.1.0-29-amd64 amd64 6.1.123-1 [69.0 MB] Fetched 69.0 MB in 6s (10.8 MB/s) (Reading database ... 311759 files and directories currently installed.) Preparing to unpack .../linux-image-6.1.0-29-amd64_6.1.123-1_amd64.deb ... Unpacking linux-image-6.1.0-29-amd64 (6.1.123-1) over (6.1.123-1) ... Setting up linux-image-6.1.0-29-amd64 (6.1.123-1) ... /etc/kernel/postinst.d/dkms: dkms: running auto installation service for kernel 6.1.0-29-amd64. dkms: autoinstall for kernel: 6.1.0-29-amd64. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-29-amd64 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found background image: .background_cache.png Found linux image: /boot/vmlinuz-6.1.0-29-amd64 Found initrd image: /boot/initrd.img-6.1.0-29-amd64 Found linux image: /boot/vmlinuz-6.1.0-28-amd64 Found initrd image: /boot/initrd.img-6.1.0-28-amd64 Found linux image: /boot/vmlinuz-6.1.0-27-amd64 Found initrd image: /boot/initrd.img-6.1.0-27-amd64 Found linux image: /boot/vmlinuz-6.1.0-29-amd64 Found initrd image: /boot/initrd.img-6.1.0-29-amd64 Found linux image: /boot/vmlinuz-6.1.0-28-amd64 Found initrd image: /boot/initrd.img-6.1.0-28-amd64 Found linux image: /boot/vmlinuz-6.1.0-27-amd64 Found initrd image: /boot/initrd.img-6.1.0-27-amd64 Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done $ grep linux /boot/grub/grub.cfg Code: Select all### BEGIN /etc/grub.d/10_linux_proxy ### set linux_gfx_mode= export linux_gfx_mode ### END /etc/grub.d/10_linux_proxy ### menuentry "Debian GNU/Linux, with Linux 6.1.0-27-amd64" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-27-amd64-advanced-stringhere' { echo 'Loading Linux 6.1.0-27-amd64 ...' linux /vmlinuz-6.1.0-27-amd64 root=/dev/mapper/abc--vg-root ro quiet ### BEGIN /etc/grub.d/41_linux_proxy ### menuentry "Debian GNU/Linux, with Linux 6.1.0-27-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-27-amd64-recovery-stringhere' { echo 'Loading Linux 6.1.0-27-amd64 ...' linux /vmlinuz-6.1.0-27-amd64 root=/dev/mapper/abc--vg-root ro single quiet ### END /etc/grub.d/41_linux_proxy ### menuentry "Debian GNU/Linux, with Linux 5.10.0-20-amd64" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-20-amd64-advanced-stringhere' { echo 'Loading Linux 5.10.0-20-amd64 ...' linux /vmlinuz-5.10.0-20-amd64 root=/dev/mapper/abc--vg-root ro quiet ### BEGIN /etc/grub.d/44_linux_xen ### ### END /etc/grub.d/44_linux_xen ### *29 is not there... $ grep / /etc/fstab Code: Select all/dev/mapper/abc--vg-root / ext4 noatime,errors=remount-ro,nofail 0 1 UUID=differentFromGrub.cfgOutput /boot ext2 defaults 0 2 UUID=xy-xy /boot/efi vfat umask=0022 How I could cause this? I only remember that in the past (~2 months ago?) I did: sudo apt reinstall linux-image-5.10.0-29-amd64 # one version older kernel than current Bullseye oldstable sudo update-initramfs -uk all ; sudo update-grub What to try please? | You can see what is going by grub-mkconfig command without arguments: sudo grub-mkconfig | less It does not write configuration to any disk file, it writes only to stdout. |
I'm running Debian 12.1 using Vagrant on HyperV and connecting to a network using a virtual switch. If I try to access resources on the public internet it works fine, but it fails to resolve resources on my local domain. The DHCP lease seems correct from `/var/lib/dhcp/dhclient.eth0.leases` Code: Select alldefault-duid "\000\001\000\001,\240\017\004\000\025]\012\016\307"; lease { interface "eth0"; fixed-address 172.23.230.141; option subnet-mask 255.255.240.0; option dhcp-lease-time 86400; option routers 172.23.224.1; option dhcp-message-type 5; option domain-name-servers 172.23.224.1; option dhcp-server-identifier 172.23.224.1; option dhcp-renewal-time 43200; option dhcp-rebinding-time 64800; option domain-name "mshome.net"; option netbios-node-type 4; renew 4 2025/01/09 23:34:54; rebind 4 2025/01/09 23:34:54; expire 4 2025/01/09 23:34:54; } lease { interface "eth0"; fixed-address 172.23.230.141; option subnet-mask 255.255.240.0; option dhcp-lease-time 86400; option routers 172.23.224.1; option dhcp-message-type 5; option domain-name-servers 172.23.224.1; option dhcp-server-identifier 172.23.224.1; option dhcp-renewal-time 43200; option dhcp-rebinding-time 64800; option domain-name "mshome.net"; option netbios-node-type 4; renew 5 2025/01/10 09:06:34; rebind 5 2025/01/10 17:34:57; expire 5 2025/01/10 23:34:57; } 172.23.224.1 is the address for the virtual switch and also the DHCP/DNS server If I manually specify a DNS server; then name resolution succeeds Code: Select allnslookup my.domain.local 172.23.224.1 But it fails if I don't. Resolvconf is running Code: Select all● resolvconf.service - Nameserver information manager Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; preset: enabled) Active: active (exited) since Fri 2025-01-10 00:47:55 UTC; 8min ago Docs: man:resolvconf(8) Process: 2569 ExecStart=/sbin/resolvconf --enable-updates (code=exited, status=0/SUCCESS) Main PID: 2569 (code=exited, status=0/SUCCESS) CPU: 1ms Jan 10 00:47:55 debian systemd[1]: Started resolvconf.service - Nameserver information manager. And the contents of `/etc/resolv.conf` is Code: Select all# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "resolvectl status" to see details about the actual nameservers. nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 208.67.220.220 search mshome.net I'm pretty sure that I've got an issue with how resolv is configured but don't know how to proceed from here Any help is appreciated. | Hello, What is exactly your Debian 12 version ? You can check with the following command: Code: Select allcat /etc/debian_version Chronocide0 wrote: 2025-01-10 01:02 I'm running Debian 12 using Vagrant on HyperV and connecting to a network using a virtual switch. If I try to access resources on the public internet it works fine, but it fails to resolve resources on my local domain. [..] 172.23.224.1 is the address for the virtual switch and also the DHCP/DNS server According to your quote above, I assume that 172.23.224.1 is the address of the DNS server/service for the local domain, and that the local domain is "mshome.net": can you please confirm this ? You need to assess the issue. You can check responses from the local DNS service and from local name resolver services with the following commands (replace <canonical name> with the canonical name of the hostname in the local domain computer that you want to resolve, for example, mycomputer.mshome.net where mycomputer is an existing host name): Code: Select allsudo apt install bind9-dnsutils cat /etc/hosts cat /etc/nsswitch.conf dig dig <canonical name> dig @172.23.224.1 <canonical name> getent ahostsv4 getent ahostsv4 <canonical name> dig @8.8.8.8 www.google.com getent ahostsv4 www.google.com Hope this helps. -- note: please update the subject of the first post from "Trouble configuring DNS" to "Trouble configuring DNS with Debian 12 for host names in local domain" |
I run Debian 12 KDE and I check for updates basically every day. A couple of days ago, I saw kernel 6.1.0.29 was available, so I installed it. All fine. Then this morning, I saw 6.1.0.30 was available, so I installed it too. Again, all seems to be fine. However, this rapid succession made me think there must've been some issue with 6.1.0.29. But then again, I'd expect Debian maintainers to have plenty of advance knowledge of such issues (this isn't Fedora ). I tried to find more info, bug trackers, change logs, but I became overwhelmed. I tried to search https://tracker.debian.org/pkg/linux but I seem to lack the experience to properly navigate it. Can anyone shed light on this particular issue, regarding this rapid update? Moreover, if you have any suggestions on how I can search debian.org for e.g. a particular kernel's changelog, or filter bugs by kernel, that would be appreciated. | https://bugs.debian.org/cgi-bin/bugrepo ... ug=1092772 |
Debian 12 Bookworm. I have been following https://kernel-team.pages.debian.net/ke ... n-official but I have run into a snag. When I run "apt-get source linux" W: Download is performed unsandboxed as root as file 'linux_6.1.76-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -rw-r--r-- 1 root root 290924 Jan 31 22:24 linux_6.1.76-1.dsc The only reason I am doing this is to use the ACS Override patch for VFIO passthrough. If there is an official Debian kernel I can install with it already patched that would be even better. Edit: Ok so apparently the issue is it doesn't like it when I do this as root. If I do it as a normal user there is no problem. | Hello, MrT wrote: 2024-04-08 08:28 Edit: Ok so apparently the issue is it doesn't like it when I do this as root. If I do it as a normal user there is no problem. I'm glad you sorted it out. :) Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any). It is also an opportunity to the make the subject more understandable to other forum users and readers, if necessary; i.e. : [Solved] Download is performed unsandboxed as root - pkgAcquire::Run (13: Permission denied) Happy Debian ! |
Hello there, I think, due to the updates today, QEMU/KVM network is not starting Result of sudo systemctl status libvirtd: Code: Select allerro:Falha ao iniciar a rede default erro:erro interno: Processo filho (VIR_BRIDGE_NAME=virbr0 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper) inesperado status de saída 2: dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use Result of sudo systemctl status libvirtd Code: Select alljan 11 21:36:57 revolutions systemd[1]: Starting libvirtd.service - Virtualization daemon... jan 11 21:36:57 revolutions systemd[1]: Started libvirtd.service - Virtualization daemon. jan 11 21:37:26 revolutions dnsmasq[6241]: failed to create listening socket for 192.168.122.1: Address already in use jan 11 21:37:26 revolutions dnsmasq[6241]: FAILED to start up jan 11 21:37:26 revolutions libvirtd[2706]: libvirt version: 9.0.0, package: 9.0.0-4+deb12u2 (Debian) jan 11 21:37:26 revolutions libvirtd[2706]: hostname: revolutions jan 11 21:37:26 revolutions libvirtd[2706]: erro interno: Processo filho (VIR_BRIDGE_NAME=virbr0 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/l> dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use Topic created today here at the forum entitled "Updated Debian 12: 12.9 released", mention updates at QEMU e DNSMASQ Code: Select all qemu [54] | New upstream bugfix release [CVE-2024- | | | 7409]; mark internal codegen helper | | | symbols as hidden, fixing build failure | | dnsmasq [13] | Fix denial of service issues [CVE-2023- | | | 50387 CVE-2023-50868]; set default | | | maximum EDNS.0 UDP packet size to 1232 | | | [CVE-2023-28450] | | | | Anyone is facing the same issues post today's update? EDIT: Indeed was today's update, using Timeshift, i restored yesterday's image and everything went fine starting QEMU/KVM network. Anyone knows how to fix it? | Fontenele wrote: 2025-01-12 00:47 dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use Who's that? maybe something like Code: Select allss -p -o | grep 192.168 or Code: Select alljournalctl -b 0 -g 192.168 --no-pager Rebooted? |
Hello, I have upgraded to Debian 12.9 with kernel 6.1.0-29-amd64, but I am experiencing a problem. Every time I try to restart or power off the computer, I encounter a kernel panic. I did not have this issue before the upgrade. It seems to be related to the zram service, which I am also using. When I try to restart the zram service, I also get a kernel panic. I'm using a MAG B650 TOMAHAWK WIFI (MS-7D75) with 64 GB ram. Does anyone have any idea how to fix this? Edit: I have now successfully installed kernel 6.1.0-30 and the zram service works correctly now. Thanks all | Hello, Ophenix wrote: 2025-01-13 13:06 Hello, I have upgraded to Debian 12.9 with kernel 6.1.0-29-amd64, but I am experiencing a problem. Every time I try to restart or power off the computer, I encounter a kernel panic. I did not have this issue before the upgrade. It seems to be related to the zram service, which I am also using. When I try to restart the zram service, I also get a kernel panic. I'm using a MAG B650 TOMAHAWK WIFI (MS-7D75) with 64 GB ram. Does anyone have any idea how to fix this? It should be this: zram: Regression in at least linux-6.1.y tree * zram: Regression in at least linux-6.1.y tree @ 2025-01-07 20:48 Kenneth Van Alstyne 2025-01-08 3:54 ` Sergey Senozhatsky 0 siblings, 1 reply; 3+ messages in thread From: Kenneth Van Alstyne @ 2025-01-07 20:48 UTC (permalink / raw) To: stable; +Cc: regressions, senozhatsky, minchan, ngupta Greetings and apologies if this isn't the proper process for reporting an issue in a LTS kernel per https://www.kernel.org/doc/html/latest/ ... ssues.html. Happy to follow another process if more appropriate. Kernel 6.1.122 introduced a regression via commit ac3b5366b9b7c9d97b606532ceab43d2329a22f3 (backport of upstream commit 74363ec674cb172d8856de25776c8f3103f05e2f) in drivers/block/zram/zram_drv.c where attempting to set the size of /dev/zram0 after loading the zram kernel module results in a kernel NULL pointer dereference. That patch removed the following block from zram_reset_device(): Code: Select all - if (!init_done(zram)) { - up_write(&zram->init_lock); - return; - } However,without that, zram_reset_device subsequently calls zcomp_destroy on a device that has not been initialized, leading to the OOPS. Adding that block back does resolve the issue. In addition, the latest mainline kernel does not appear to exhibit these symptoms, but zram_drv.c seems to have been changed fairly substantially since kernel 6.1. Steps to reproduce: Code: Select allmodprobe zram zramctl /dev/zram0 --algorithm zstd --size 83886080k This is the patch to fix it: zram: check comp is non-NULL before calling comp_destroy Code: Select allauthor Dominique Martinet <dominique.martinet@atmark-techno.com> 2025-01-07 16:16:04 +0900 committer Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2025-01-09 13:30:07 +0100 commit 677294e4da96547b9ea2955661a4bbf1d13552a3 (patch) tree 83d4b070c6ce13a472f460bde84ddb9d7e8c018d parent 91b493f15d65266ebba806553c97a2ae5df581ce (diff) download linux-677294e4da96547b9ea2955661a4bbf1d13552a3.tar.gz zram: check comp is non-NULL before calling comp_destroy This is a pre-requisite for the backport of commit 74363ec674cb ("zram: fix uninitialized ZRAM not releasing backing device"), which has been implemented differently in commit 7ac07a26dea7 ("zram: preparation for multi-zcomp support") upstream. We only need to ensure that zcomp_destroy is not called with a NULL comp, so add this check as the other commit cannot be backported easily. Stable-dep-of: 74363ec674cb ("zram: fix uninitialized ZRAM not releasing backing device") Link: https://lore.kernel.org/Z3ytcILx4S1v_ueJ@codewreck.org Suggested-by: Kairui Song <kasong@tencent.com> Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Diffstat -rw-r--r-- drivers/block/zram/zram_drv.c 3 1 files changed, 2 insertions, 1 deletions diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index b83181357f36d1..b4133258e1bfde 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -1733,7 +1733,8 @@ static void zram_reset_device(struct zram *zram) zram_meta_free(zram, zram->disksize); zram->disksize = 0; memset(&zram->stats, 0, sizeof(zram->stats)); - zcomp_destroy(zram->comp); + if (zram->comp) + zcomp_destroy(zram->comp); zram->comp = NULL; reset_bdev(zram); A new kernel version with the fix is already in the debian bookworm-proposed-updates repository: linux (6.1.124-1) bookworm; urgency=medium * New upstream stable update: https://www.kernel.org/pub/linux/kernel ... og-6.1.124 [..] - zram: check comp is non-NULL before calling comp_destroy [ Salvatore Bonaccorso ] * Bump ABI to 30 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 12 Jan 2025 20:58:02 +0100 Hope this helps. -- [1] zram: Regression in at least linux-6.1.y tree |
I'm not going into politics, but is there an easy way to block (most of) the IP ranges of an entire country - system wide on a headless server? | I used the firewall to block anything but the ports I needed open, and merely added a blocklist for the service itself. |
Hello all, Big time beginner here at administering my own home server. I do admit, I've been getting help from ChatGPT for a lot of the configurations and just recently it steered me way wrong and now I'm suffering the consequences. I was having issues getting OpenVPN and Wireguard to route traffic properly (whatsmyip.com was still displaying my routers public IP even while connected to either OpenVPN or Wireguard). That was my first problem. Whilst troubleshooting the issue, I was instructed to use the command iptables -F and immediately lost connection through ssh. I hopped back into the server and reestablished the ssh connection, but quickly realized that I no longer had access to the internet for updates or installations. Now ChatGPT is advising me to reinstall the iptables, only I do not have access to an internet connection. I've tried rewriting the iptables and routings. It was like everything was back to normal, yet still I have no connection to the internet. I can however ping my gateway ip, but anything else it's like I broke everyhing; honestly I'm 2 seconds from reinstalling debian on my machine... but before i do that, can anyone please tell me this is just a big noob moment and help me fix it? Sorry for any lack of important information, just ask and I'll supply it. Thanks | Hello, NotreTerre wrote: 2025-01-23 22:28 [..] I decided first to cut off the wg0 and tun0 devices I had set up with the installation of a VPN. Turns out that was the issue and I've regained internet access on my server. [..] I'm glad you sorted it out. Please mark the discussion as "solved" adding the tag "[Solved]" at the beginning of the subject of he first post. Happy Debian EDIT Thu Jan 30 07:48:57 CET 2025: added the "solved" tag. |
Hello everyone, First of all, thank you for accepting my account to join the community. I’m looking forward to all I can learn through it. I use Debian and code as a hobby. I am a beginner. My goals are to create my own home server in order to hold and share data for my personal and professional use. I would like to be able to evolve as I learn and be able to even host my own website but it all depends on the complexity and time invested. So thank you in advanced to all you who share your experiences and knowledge to help me progress in my endeavors! Today I have installed Debian 12 using an old computer that I had lying around. For now the processor and memory is all bare minimum, but I will be upgrading in the near future. More details will be shared in the future of my setup, for now I’d just like to resolve my SSH connection issues. After a fresh install following the careful instructions found on YouTube, I successfully setup and connected to my server via SSH with key. I was having no trouble until I installed UFW on my own in hopes to increase security. We I carefully configured to allow the custom port i had set up during the hardening process, but now I can no longer connect through SSH. I’ve checked all statuses, restarted, I even disabled my UFW in hopes of tracing back my steps to when things were working properly, but it seems irreversible. I’ve looked up many troubleshoots and have tried checking all I could find but to no avail. I know I must be missing something, perhaps something overly simple (besides typing in the wrong user or address, I’ve double checked a dozen times). I’m also probably forgetting to include important information that you all may need to help me solve my problem, sorry in advance. Please just let me know and I’ll include whatever information is missing. Anyone have some ideas to share? I’ve gone through every test I could find on the internet to get back up and running. Please share your thoughts! Thanks! | friendlysalmon88 wrote: 2025-01-09 02:40 /var/log/sshd As usual you need to brush up on reality and think a bit before posting. |
Hi everyone. I have been trying to run update on my installed deb 12 , but doesnt seem to work. also tried trough terminal with update - there i get an error . ╰─ sudo apt update ─╯ Bra:1 http://debian.lth.se/debian bookworm InRelease Bra:2 http://debian.lth.se/debian bookworm-updates InRelease Ign:3 https://deb.debian.org/debian bookworm-security InRelease Fel:4 https://deb.debian.org/debian bookworm-security Release 404 Not Found [IP: 2a04:4e42:14::644 443] Bra:5 https://dl.google.com/linux/chrome/deb stable InRelease Läser paketlistor… Färdig E: The repository 'https://deb.debian.org/debian bookworm-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. what to do.! can somebody give some advice to get it working properly. / lindis68 | Hej! Short version: It indicates that there is something wrong with your sources.list This is a sources.list that will work: Code: Select alldeb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware #deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware #deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free-firmware #deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware Then add your google chrome repository, save the file and type (as root or sudo) Code: Select allapt update |
Hi I am running Debian Bullseye with Xfce desktop Thunar file manager on legacy laptop. I am unable to see or browse any of my network shares in file manager. When I try to browse network I get message... Code: Select all"failed to browse the network", the specified location is not supported I can use terminal and ssh to connect to network device which is a NAS. I am able browse network using file manager from another laptop I tried google but didn't see anything to fix client pc, but lots of hits to configure target pc. any help would be appreciated. | What's the file manager? Gnome Files? I think most GUI file managers use gvfs. Is that installed? |
Hi there, I am trying a little network setup at home (just for learning for now): 1. Router (Internet connectivity): 192.168.31.1 2. Virtual Machine 'VM HomeServer' (Debian 12): - IP Address: 192.168.31.230 for ‘public network’ - IP Address: 192.168.1.4 for private network - This VM should act as router for the private network (in particular for ‘VM Sandbox’) 2.1 IP Address: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:41:2f:9d brd ff:ff:ff:ff:ff:ff inet 192.168.31.230/24 brd 192.168.31.255 scope global enp1s0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe41:2f9d/64 scope link valid_lft forever preferred_lft forever enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:26:30:9f brd ff:ff:ff:ff:ff:ff inet 192.168.1.4/24 brd 192.168.1.255 scope global enp7s0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe26:309f/64 scope link valid_lft forever preferred_lft forever 2.2 Netplan: network: version: 2 renderer: networkd ethernets: enp7s0: addresses: - 192.168.1.4/24 dhcp4: no routes: - to: 192.168.1.0/24 via: 192.168.1.4 table: 101 - to: default via: 192.168.31.1 table: 101 routing-policy: - from: 192.168.1.0/24 table: 101 enp1s0: addresses: - 192.168.31.230/24 dhcp4: no routes: - to: default via: 192.168.31.1 on-link: true - to: 192.168.31.0/24 via: 192.168.31.1 table: 102 routing-policy: - from: 192.168.31.0/24 table: 102 2.3 /etc/sysctl.conf net.ipv4.ip_forward=1 net.ipv4.conf.default.rp_filter=1 net.ipv4.conf.all.rp_filter=1 net.ipv4.ip_forward=1 2.4 UFW: inactive 2.5 VM network adapter is set as bridged on host. 3. Virtual Machine 'VM Sandbox' (Debian 12) - IP Address: 192.168.1.100 for private network - This VM should communicate via ‘VM HomeServer’ with any computer on the private network or internet 2.1 IP Address: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:9b:35:94 brd ff:ff:ff:ff:ff:ff inet 192.168.1.100/24 brd 192.168.1.255 scope global enp1s0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe9b:3594/64 scope link valid_lft forever preferred_lft forever 2.2 Netplan: network: ethernets: enp1s0: dhcp4: no dhcp6: no optional: false addresses: - 192.168.1.100/24 routes: - to: default via: 192.168.1.4 version: 2 renderer: networkd 3.3 UFW: inactive 3.4 VM network adapter is set as bridged on host. Results: I can ping from ‘VM HomeServer’ to ‘VM Sandbox’ succfessful. I can ping from ‘VM Sandbox’ to ‘VM HomeServer’ succfessful. I can ping any public IP (e.g. 8.8.8. from ‘VM HomeServer’. Issue: I can’t ping any public IP (e.,g. 8.8.8. from ‘VM Sandbox’ as it shows a 100% packet loss. I can’t dig any URL from ‘VM Sandbox’ as it shows the followign error message: communications error to 192.168.31.1#53: timed out. A ‘traceroute’ to a public IP (e.g. 8.8.8. shows the following result (i.e. never finishesand just continues with ‘*’): traceroute to 8.8.8.8 (8.8.8., 64 hops max 1 192.168.1.4 0.869ms 0.680ms 0.652ms 2 * * A ‘traceroute’ to a private IP in the router network (e.g. 192.168.31.200 – another PC in my network) shows the following result (i.e. never finishesand just continues with ‘*’): traceroute to 192.168.31.200 (192.168.31.200), 64 hops max 1 192.168.1.4 0.884ms 0.492ms 0.702ms 2 * Question: Any idea how I can enable ‘VM Sandbox’ to reach any PC in network ‘192.168.31.xxx’ and the internet via ‘VM HomeServer’ . Thank you for your help. C. | Great you got it working. Please edit the title in your first post to add prefix [Solved] so it may help others. Also please use code tags for commands, configs, and terminal text etc. Fixed it in your last post for you. Good to see someone else in Melbourne uses Debian! |
Hi I have a newish install from an iso of Debian 12.7.0 on a VM on Proxmox. All was working well on kernel 6.1.0-26-amd64 until I ran an unattended apt-get upgrade. Kernel 6.1.0-27-amd64 was installed but on rebooting I get a kernel panic and an "unable to mount root fs" error. If I tell grub to load 6.1.0-26 the system boots ok. I can see an initrd entry in /boot/grub/grub.cfg for kernel "6.1.0-26-amd64" but not for 6.1.0-27-amd64 If I run apt-get update I receive a "cpio: write error: No space left on device" message: Code: Select allroot@Control:~# apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org/debian-security bookworm-security InRelease Hit:4 http://phoscon.de/apt/deconz generic InRelease Reading package lists... Done root@HomeControl:~# apt-get upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up initramfs-tools (0.142+deb12u1) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-6.1.0-27-amd64 (6.1.115-1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-27-amd64 cpio: write error: No space left on device E: mkinitramfs failure cpio 2 update-initramfs: failed for /boot/initrd.img-6.1.0-27-amd64 with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-6.1.0-27-amd64 (--configure): installed linux-image-6.1.0-27-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-27-amd64 (= 6.1.115-1); however: Package linux-image-6.1.0-27-amd64 is not configured yet. if I run update-initramfs -c -k 6.1.0-27-amd64 I see this output: Code: Select allupdate-initramfs: Generating /boot/initrd.img-6.1.0-27-amd64 cpio: write error: No space left on device E: mkinitramfs failure cpio 2 if I run df I seem to have plenty of disk space: Code: Select allFilesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 795M 11M 785M 2% /run /dev/sda1 32G 7.0G 23G 24% / tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 200M 92K 200M 1% /var/log tmpfs 100M 0 100M 0% /var/mail tmpfs 200M 4.0K 200M 1% /var/tmp tmpfs 100M 0 100M 0% /var/spool tmpfs 795M 0 795M 0% /run/user/0 My /boot doesn't contain much: Code: Select alltotal 51M -rw-r--r-- 1 root root 254K Sep 30 20:08 config-6.1.0-26-amd64 -rw-r--r-- 1 root root 254K Nov 1 04:23 config-6.1.0-27-amd64 drwxr-xr-x 5 root root 4.0K Nov 21 18:28 grub -rw-r--r-- 1 root root 35M Nov 5 16:51 initrd.img-6.1.0-26-amd64 -rw-r--r-- 1 root root 83 Sep 30 20:08 System.map-6.1.0-26-amd64 -rw-r--r-- 1 root root 83 Nov 1 04:23 System.map-6.1.0-27-amd64 -rw-r--r-- 1 root root 7.9M Sep 30 20:08 vmlinuz-6.1.0-26-amd64 -rw-r--r-- 1 root root 7.9M Nov 1 04:23 vmlinuz-6.1.0-27-amd64 Running apt-get autoremove --purge doesn't help: Code: Select allReading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.142+deb12u1) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-6.1.0-27-amd64 (6.1.115-1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-27-amd64 cpio: write error: No space left on device E: mkinitramfs failure cpio 2 update-initramfs: failed for /boot/initrd.img-6.1.0-27-amd64 with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-6.1.0-27-amd64 (--configure): installed linux-image-6.1.0-27-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-27-amd64 (= 6.1.115-1); however: Package linux-image-6.1.0-27-amd64 is not configured yet. dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigured Processing triggers for initramfs-tools (0.142+deb12u1) ... update-initramfs: Generating /boot/initrd.img-6.1.0-26-amd64 cpio: write error: No space left on device E: mkinitramfs failure cpio 2 update-initramfs: failed for /boot/initrd.img-6.1.0-26-amd64 with 1. dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-6.1.0-27-amd64 linux-image-amd64 initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) Now, I think I've had the issue before, but I can't find the post where I found the solution that worked for me! The fix was something like Debian was trying to store temp files in /boot, but there wasn't enough room, so I had to tell Debian to store the temporary files on the main filesystem. This may, or may not be the issue this time, but I'd appreciate your help. Thanks Bert | You can try increasing the size of the /tmp mount point (see https://unix.stackexchange.com/question ... e-manually) |
kworker/0:1+kacpi_notify eating all cpu 1st core 17 root 20 R 100.0 58:45.55 `- [kworker/0:1+kacpi_notify] I'm running 6.1.0-25-amd64. (Debian 12) Code: Select alldmesg | grep -i error [ 0.252655] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP6.WLAN], AE_NOT_FOUND (20220331/dswload2-162) [ 0.252659] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220) [ 0.253322] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20220331/dswload2-162) [ 0.253324] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220) [ 0.253332] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP5.RTL8], AE_NOT_FOUND (20220331/dswload2-162) [ 0.253334] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220) [ 0.253347] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP6._PRW], AE_ALREADY_EXISTS (20220331/dswload2-326) [ 0.253349] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220) [ 0.253354] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP6.DEV0], AE_NOT_FOUND (20220331/dswload2-162) [ 0.253356] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220) [ 2.025253] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/gc_11_0_1_mes_2.bin failed with error -2 Code: Select alljournalctl -k | grep acpi Sep 18 07:54:47 omen kernel: ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) Sep 18 07:54:47 omen kernel: acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 Sep 18 07:54:47 omen kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] Sep 18 07:54:47 omen kernel: acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR] Sep 18 07:54:47 omen kernel: acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration Sep 18 07:54:47 omen kernel: clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns Sep 18 07:54:48 omen kernel: acpi-tad ACPI000E:00: Missing _PRW Sep 18 07:54:53 omen kernel: ucsi_acpi USBC000:00: PPM init failed (-5) any help appreciated P.S.: can't find information about top displaying cpus values. but I guess 0/100 100 means user processes utilize 0, system processes (root user) 100% utilization, and last is total. (0/100 also have different colors on bar) | sequencer wrote: 2024-09-19 19:14 Installed kernel 6.10.9 from sid. You said you are on Debian 12. You should not install kernels from Sid! If you need a newer kernel, install it from bookworm-backports. |
Hi there, I am trying a little network setup at home (just for learning for now). DHVPv4 with KEA is working fine, but I am a bit confused with KEA-DHCPv6 (using ULA for internal DHCPv6 stateful testing purposes). 1. Virtual Machine 'VM HomeServer' (Debian 12): 1.1 IP Address: Code: Select allenp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:26:30:9f brd ff:ff:ff:ff:ff:ff inet6 fd00:0:0:1::3/64 scope global valid_lft forever preferred_lft forever - This VM should act as stateful DHCPv6 router for the private network (in particular for ‘VM Sandbox’). I am using KEA as DHCPv6 application. 1.2 KEA DHCPv6 configuration: Code: Select all{ "Dhcp6": { "interfaces-config": { "interfaces": [ "enp7s0" ] }, "lease-database": { "type": "memfile", "persist": true, "name": "/var/lib/kea/kea-leases6.csv" }, "valid-lifetime": 28800, "option-data": [ { "name": "dns-servers", "data": "2001:4860:4860::8888, 2001:4860:4860::8844" } ], "subnet6": [ { "subnet": "fd00:0000:0000:0001::/64", "pools": [ { "pool": "fd00:0000:0000:0001::a - fd00:0000:0000:0001::ffff" } ] } ], "loggers": [ { "name": "kea-dhcp6", "severity": "DEBUG", "output_options": [ { "output": "/var/log/kea/kea-dhcp6.log", "maxver": 10 } ] }, { "name": "kea-dhcp6.dhcpsrv", "severity": "DEBUG", "output_options": [ { "output": "/var/log/kea/dhcp6-dhcpsrv.log", "maxver": 10 } ] }, { "name": "kea-dhcp6.leases", "severity": "DEBUG", "output_options": [ { "output": "/var/log/kea/dhcp4-leases.log", "maxver": 10 } ] } ] } } 1.3 RADVD: Code: Select allinterface enp7s0 { MinRtrAdvInterval 3; MaxRtrAdvInterval 4; AdvSendAdvert on; AdvManagedFlag on; prefix fd00:0000:0000:0001::/64 { AdvValidLifetime 14300; AdvPreferredLifetime 14200; AdvAutonomous off; } ; }; 1.4 UFW: active 1.5 VM network adapter is set as bridged on host. 1.6 Status KEA DHCPv6 1.6.1 From ‘/var/log/kea/kea-dhcp6.log’ Code: Select all2024-11-24 09:28:11.052 INFO [kea-dhcp6.hosts/946.139846052082176] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql 2024-11-24 09:28:11.054 INFO [kea-dhcp6.dhcp6/946.139846052082176] DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: added IPv6 subnets: 1; DDNS: disabled 2024-11-24 09:28:11.057 INFO [kea-dhcp6.dhcp6/946.139846052082176] DHCP6_USING_SERVERID server is using server-id 00:01:00:01:2e:66:39:5e:52:54:00:41:2f:9d and stores in the file /var/lib/kea/kea-dhcp6-serverid 2024-11-24 09:28:11.058 WARN [kea-dhcp6.dhcp6/946.139846052082176] DHCP6_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0 2024-11-24 09:28:11.058 INFO [kea-dhcp6.dhcp6/946.139846052082176] DHCP6_STARTED Kea DHCPv6 server version 2.2.0 started 1.6.2 From ‘systemctl status kea-dhcp6-server’ Code: Select all kea-dhcp6-server.service - Kea IPv6 DHCP daemon Loaded: loaded (/lib/systemd/system/kea-dhcp6-server.service; enabled; preset: enabled) Active: active (running) since Sun 2024-11-24 09:28:10 AEDT; 35min ago Docs: man:kea-dhcp6(8) Main PID: 946 (kea-dhcp6) Tasks: 5 (limit: 9449) Memory: 11.6M CPU: 344ms CGroup: /system.slice/kea-dhcp6-server.service 1.7 Status RADVD 1.7.1 From ‘systemctl status radvd.service’: Code: Select allradvd.service - Router advertisement daemon for IPv6 Loaded: loaded (/lib/systemd/system/radvd.service; enabled; preset: enabled) Active: active (running) since Sun 2024-11-24 09:45:22 AEDT; 19min ago Docs: man:radvd(8) Process: 2069 ExecStartPre=/usr/sbin/radvd --logmethod stderr_clean --configtest (code=exited, status=0/SUCCESS) Process: 2070 ExecStart=/usr/sbin/radvd --logmethod stderr_clean (code=exited, status=0/SUCCESS) Main PID: 2071 (radvd) Tasks: 2 (limit: 9449) Memory: 464.0K CPU: 327ms CGroup: /system.slice/radvd.service 1.7.2 From ‘rdisc6 enp7s0’: Code: Select allSoliciting ff02::2 (ff02::2) on enp7s0... Hop limit : 64 ( 0x40) Stateful address conf. : Yes Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 12 (0x0000000c) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Prefix : fd00:0:0:1::/64 On-link : Yes Autonomous address conf.: No Valid time : 14300 (0x000037dc) seconds Pref. time : 14200 (0x00003778) seconds Source link-layer address: 52:54:00:26:30:9F from fe80::85f4:b665:fd85:3d1e Hop limit : 64 ( 0x40) Stateful address conf. : Yes Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 12 (0x0000000c) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Prefix : fd00:0:0:1::/64 On-link : Yes Autonomous address conf.: No Valid time : 14300 (0x000037dc) seconds Pref. time : 14200 (0x00003778) seconds Source link-layer address: 52:54:00:26:30:9F from fe80::85f4:b665:fd85:3d1e 2. Virtual Machine 'VM Sandbox' (Debian 12) 2.1 IP Address: Code: Select allenp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:9b:35:94 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe9b:3594/64 scope link valid_lft forever preferred_lft forever 2.2 Netplan: Code: Select allnetwork: ethernets: enp1s0: dhcp4: yes dhcp6: yes optional: false version: 2 renderer: networkd 2.3 UFW: active 2.4 VM network adapter is set as bridged on host. 2.5 Status RADVD 2.5.1 From ‘rdisc6 enp1s0’: Code: Select allSoliciting ff02::2 (ff02::2) on enp1s0... Hop limit : 64 ( 0x40) Stateful address conf. : Yes Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 12 (0x0000000c) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Prefix : fd00:0:0:1::/64 On-link : Yes Autonomous address conf.: No Valid time : 14300 (0x000037dc) seconds Pref. time : 14200 (0x00003778) seconds Source link-layer address: 52:54:00:26:30:9F from fe80::85f4:b665:fd85:3d1e Hop limit : 64 ( 0x40) Stateful address conf. : Yes Stateful other conf. : No Mobile home agent : No Router preference : medium Neighbor discovery proxy : No Router lifetime : 12 (0x0000000c) seconds Reachable time : unspecified (0x00000000) Retransmit time : unspecified (0x00000000) Prefix : fd00:0:0:1::/64 On-link : Yes Autonomous address conf.: No Valid time : 14300 (0x000037dc) seconds Pref. time : 14200 (0x00003778) seconds Source link-layer address: 52:54:00:26:30:9F from fe80::85f4:b665:fd85:3d1e 3. Additional observations: If I change the RADVD configuration on ‘VM HomeServer’ to switch off AdvAutonomous (autonomous address configuration), the client ‘VM Sandbox’ sets it IPv6 IP based on the defined prefix (but obviosuly autonomously, so the DHCPv6 server on ‘VM HomeServer’ does not have an entry in its lease database in ‘/var/lib/kea/kea-leases6.csv’). 4. Questions: What configuration do I miss to enable stateful DHCPv6? Thank you so much. Best, C. | @maggiv8 Please use code tags for terminal text, messages etc. |
I have problems installing some new packages. When comparing this system to a fully working system I discovered that my system does not appear to have updated to Bookworm 12.7. Here is debian_version Code: Select allcharles@Charles-MacBook:~$ cat /etc/debian_version 12.6 charles@Charles-MacBook:~$ Base-files is stuck at 12.6: Code: Select all charles@Charles-MacBook:~$ apt policy base-files base-files: Installed: 12.4+deb12u6 Candidate: 12.4+deb12u6 Version table: *** 12.4+deb12u6 500 500 http://ftp.uk.debian.org/debian bookworm/main amd64 Packages 100 /var/lib/dpkg/status charles@Charles-MacBook:~$ I have done an apt update, but this still shows base-files at 12.6 Here is my sources.list and I have no other sources.list entries Code: Select all#deb cdrom:[Debian GNU/Linux 12.0.0 _Bookworm_ - Official amd64 NETINST with firmware 20230610-10:21]/ bookworm main non-free-firmware deb http://ftp.uk.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb-src http://ftp.uk.debian.org/debian/ bookworm main contrib non-free deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://ftp.uk.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware deb-src http://ftp.uk.debian.org/debian/ bookworm-updates main contrib non-free # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. Strangely apt policy shows some 12.7 entries: Code: Select allPackage files: 100 /var/lib/dpkg/status release a=now 500 http://ftp.uk.debian.org/debian bookworm-updates/non-free-firmware amd64 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free-firmware,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm-updates/non-free i386 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm-updates/non-free amd64 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm-updates/contrib amd64 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=contrib,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm-updates/main i386 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm-updates/main amd64 Packages release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org 500 http://security.debian.org/debian-security bookworm-security/non-free-firmware i386 Packages release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security bookworm-security/contrib amd64 Packages release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=contrib,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security bookworm-security/main i386 Packages release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64 origin security.debian.org 500 http://ftp.uk.debian.org/debian bookworm/non-free-firmware i386 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/non-free-firmware amd64 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/non-free i386 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/non-free amd64 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/contrib i386 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/contrib amd64 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/main i386 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian bookworm/main amd64 Packages release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org Pinned packages: I have compared this system with another system that is quite happily running 12.7 and cannot see any differences. I've done an apt clean and an apt autoclean, but I'm still in this situation. I have no idea how this could possibly have happened and need help! | Try Code: Select allapt full-upgrade |
Dropbox has apparently stopped offering a separate Debian download within the past year (a search for how to install dropbox shows a YouTube video tutorial uploaded 11 months ago that includes a Debian 12 specific download). I've understood from other search results that the Ubuntu version is supposed to work -- though whether I should be using the one for 22.04 or the one for 18.04-22.04 isn't very clear; I've tried both of those within the past half hour and both give an error box with a message like "Dropbox couldn't be started" even after downloading the daemon. A restart does the same, and if I click through to Compile from Source with a penguin icon ahead of it, that has a Debian specific package -- but it has the same problem. Do I need to do something special to get Dropbox to correctly install on my new Debian 12.8 KDE? Ideally, of course, it should include the Nautilus extensions so I can see the local Dropbox folder in Nautilus. | Well, never mind, then. What I needed to do was to get my home folder(s) straightened out. I installed with the wrong username, and renaming the user home folders (/home/username) doesn't fix that. Further, adding a new user with the same full name to use the disconnected user home folder wouldn't let me log in as that new user. Reinstalled with the correct username, and Dropbox installed without a hitch, all working now. Desktop shortcuts to the local Dropbox folder now work right, too. |
I have an old Gigabyte motherboard (can't find the model number without opening the computer case, but it supports an Fx8350 CPU, 4 DDR3 RAM slots, no built-in video, two PCIex16 slots and 2 PCIex1 plus one or two PCI). The back panel has two USB 3.0 ports and I think there are a couple connectors for front panel etc. ports that are USB 3. Other than a brief period just before I updated to Kubuntu 22.04 (found a fix that worked in Kubuntu 16.04 but would not work in the later version) I have been unable to access the USB 3 ports; they create a delay of about 17 seconds during boot due to i/o errors before the system times out attempting to activate them. My other ports (USB 2) have worked fine. Can anyone confirm whether Debian 12.8 natively supports those ports or can be patched to do so? This may be specific to this family of Gigabyte motherboards (same problem with previous MB which was a slightly different model in the same family), and I can get the model number, with some effort... | No need to to create a new thread for the same topic. Linux kernel supports well USB3, so does Debian, I searched the Gigabyte problem, in the previous thread, don't remember it just now. So it perhaps is not a OS problem at all. Gigabyte has a driver patch for windows https://www.gigabyte.com/Motherboard/GA-USB-30/support the same page advises Linux users to seek support from chipset vendor's websites. Run Code: Select allinxi -F as root, or with sudo, should tell the model and serial number of the mainboard. You might have to install inxi first: Code: Select allsudo apt install inxi Or as root, if you have not configure sudo. |
I dual boot between LMDE (Mint Debian) Faye and Debian 12 Bookworm. I set up a "login script" via crontab in both installations, on LMDE it works correctly, on Debian it is ignored. I read something about @reboot commands being ignored in Debian's crontab files. Is there a workaround for this? | If this is a user cron then you need to use the absolute path “/usr/sbin/reboot” or possibly call a script instead of placing the command inline. |
Hello, I'm using Debian version 11.11 with Mate Desktop Environment. On friday, november 22 I "apt update && apt upgrade" the system, and the kernel went from version 6.10.9 to 6.11.9, and now I don't have ethernet or wifi working (I'm looking at the network applet of the Mate bar). If I boot with the old kernel (6.10.9) I have ethernet and wifi working. If I boot with 6.11.9 or 6.11.10 gives me no network at all. My card Code: Select all>> lspci -vnn -d ::0200 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (16) I219-V [8086:1a1f] (rev 01) Subsystem: Lenovo Ethernet Connection (16) I219-V [17aa:22e8] Flags: bus master, fast devsel, latency 0, IRQ 125, IOMMU group 12 Memory at bc300000 (32-bit, non-prefetchable) [size=128K] Capabilities: <access denied> Kernel driver in use: e1000e Kernel modules: e1000e Thank you for you patience | To have stable and unstable sources on your working computer is brave and dangerous. You would need non-free-firmware in sources to get firmware for that 6.11 kernel. Your system currently is what is known as a FrankenDebian. Read this - https://wiki.debian.org/DontBreakDebian |
Does deleting the contents of the directory /var/lib/apt/lists help in any way? Or is there something else that we should look at? For example a file which is say 30 days old can be deleted but others should not? | Hello @DebianFox, DebianFox wrote: 2024-11-29 05:37 Does deleting the contents of the directory /var/lib/apt/lists help in any way? Or is there something else that we should look at? For example a file which is say 30 days old can be deleted but others should not? No, it does not. Files in /var/lib/apt/lists are required by the Advanced Package Tool (or apt); from the apt-get manual page [1]: [..] --list-cleanup This option is on by default; use --no-list-cleanup to turn it off. When it is on, apt-get will automatically manage the contents of /var/lib/apt/lists to ensure that obsolete files are erased. The only reason to turn it off is if you frequently change your sources list. Configuration Item: APT::Get::List-Cleanup. [..] /var/lib/apt/lists/ Storage area for state information for each package resource specified in sources.list(5) Configuration Item: Dir::State::Lists. /var/lib/apt/lists/partial/ Storage area for state information in transit. Configuration Item: Dir::State::Lists (partial will be implicitly appended) [..] Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message. Thanks. -- [1] apt-get |
Hello forum, I recently updated my debian bullseye to bookworm and became aware, that I'm not able to use my VPN connection anymore. I use the Cisco AnyConnect or OpenConnect protocol. Related installed packages are: network-manager-gnome/stable,now 1.30.0-2 amd64 [installed] network-manager-openconnect-gnome/stable,now 1.2.8-3 amd64 [installed] network-manager-openconnect/stable,now 1.2.8-3 amd64 [installed] network-manager/stable,now 1.42.4-1 amd64 [installed] openvpn/stable,now 2.6.3-1 amd64 [installed,automatic] vpnc-scripts/stable,stable,now 0.1~git20220510-1 all [installed,automatic] I became aware that /etc/NetworkManager/system-connections/... configuration contains all relevant information, but at least in the gui of the network manager I'm not able to configure an CA Certificate any more. The gui configuration says CA Certificate (None). When selecting the desired one, it returns to (None) after beeing saved. The syslog claims a successfully updated configuration though. The log output when trying to connect looks like this: Code: Select allPOST https://[SERVER]/[PATH] Attempting to connect to server [IP]:443 Connected to [IP]:443 SSL negotiation with [SERVER] Connected to HTTPS on [SERVER] with ciphersuite (TLS1.2)-(ECDHE-SECP256R1)-(RSA-SHA512)-(AES-256-GCM) Got HTTP response: HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Cache-Control: no-store Pragma: no-cache Connection: Keep-Alive Date: Sun, 02 Jul 2023 17:15:20 GMT X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1 Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self' X-Aggregate-Auth: 1 HTTP body chunked (-2) XML POST enabled POST https://[SERVER]/ Got HTTP response: HTTP/1.1 404 Not Found Cache-Control: no-store Pragma: no-cache Connection: Close Date: Sun, 02 Jul 2023 17:15:54 GMT X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1 Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self' HTTP body http 1.0 (-1) TLS/DTLS socket closed uncleanly Unexpected 404 result from server This is what syslog says then. Code: Select all2023-07-02T19:16:46.895603+02:00 brutus NetworkManager[629]: <warn> [1688318206.8951] vpn[0x55b6bef2a9b0,e1464ad7-b57a-4bce-ae12-ca61008485d2,"UKEr"]: final secrets request failed to provide sufficient secrets When looking at my bullseye system, I have the following packages installed: network-manager-gnome/oldstable,now 1.20.0-3 amd64 [installed] network-manager-openconnect-gnome/oldstable,now 1.2.6-1 amd64 [installed] network-manager-openconnect/oldstable,now 1.2.6-1 amd64 [installed] network-manager/oldstable,now 1.30.6-1+deb11u1 amd64 [installed,automatic] openvpn/oldstable,now 2.5.1-3 amd64 [installed] vpnc-scripts/oldstable,oldstable,now 0.1~git20200930-1 all [installed,automatic] A connection attempt does not result in an error. Even the first lines of the connection log look completely different. This is the log output before the credentials are supplied an the login button is pushed. Code: Select allPOST https://[SERVER]/[PATH] Attempting to connect to server [IP]:443 Connected to [IP]:443 SSL negotiation with [SERVER] Connected to HTTPS on [SERVER] with ciphersuite (TLS1.2)-(ECDHE-SECP256R1)-(RSA-SHA512)-(AES-256-GCM) Got HTTP response: HTTP/1.0 302 Temporary moved Set-Cookie: tg=0VEdfTUlLX09UUA==; path=/; secure Content-Length: 0 Cache-Control: no-store Pragma: no-cache Connection: Close Date: Sun, 02 Jul 2023 17:56:38 GMT X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1 Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self' Location: /+webvpn+/index.html HTTP body length: (0) GET https://[SERVER]/[PATH] Attempting to connect to server [IP]:443 Connected to [IP]:443 SSL negotiation with [SERVER] Connected to HTTPS on [SERVER] with ciphersuite (TLS1.2)-(ECDHE-SECP256R1)-(RSA-SHA512)-(AES-256-GCM) Got HTTP response: HTTP/1.0 302 Temporary moved Set-Cookie: tg=0VEdfTUlLX09UUA==; path=/; secure Content-Length: 0 Cache-Control: no-store Pragma: no-cache Connection: Close Date: Sun, 02 Jul 2023 17:56:38 GMT X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1 Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self' Location: /+webvpn+/index.html HTTP body length: (0) GET https://[SERVER]/+webvpn+/index.html SSL negotiation with [SERVER] Connected to HTTPS on [SERVER] with ciphersuite (TLS1.2)-(ECDHE-SECP256R1)-(RSA-SHA512)-(AES-256-GCM) Got HTTP response: HTTP/1.1 200 OK Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1 Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self' X-Frame-Options: SAMEORIGIN Transfer-Encoding: chunked Content-Type: text/xml; charset=utf-8 Cache-Control: no-store Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpn_as=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) What could be the reason for not being able to connect after the update, or what could I do to fix the problem? To me it seems like the reason for the problems is associated with the strange behaviour while configuring the CA Certificate, but maybe my feeling is wrong. I thank you for any help. Please forgive any language inconsistencies, English is not my native language. Regards, Martin | Hello, There's a bug report for package "network-manager-openconnect" about it with the title "network-manager-openconnect fails but openconnect --no-xmlpost works": https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842195 The bug submitter proposed a patch (you could manually apply it as you see fit), but the package's maintainer replied with a "won't fix" because: The openconnect man page describes the --no-xmlpost as a fallback option. IOW you should not have to use this setting at all. If you need it to connect to your gateway, there may be some compatibility problem that needs to be fixed. Therefore, you should understand why openconnect does not connect any more in the first place (as before). What is the verbose output of openconnect (-v option multiple times, see [1]) when it fails connecting from the command line ? What is its exit code ? Are you connecting using IPv4 or IPv6 ? --- [1] https://manpages.debian.org/bookworm/openconnect/openconnect.8.en.html |
Hi, I’ve installed Debian 11 on my Asus N550JV and can’t get the wifi to work properly. The problem : I can connect using the NetworkManager Applet from the tray icon in XFCE, but the signal works properly only to 5 to 10 seconds, until it reduces to a point I can't even ping a website. Until now, I used Ubuntu derivatives or Arch on this computer, and wifi connection always worked without any tweaks. The laptop has an Atheros AR9485 Wireless Network Adapter, running the ath9k driver Code: Select allsudo lshw -class network *-network description: Wireless interface product: AR9485 Wireless Network Adapter vendor: Qualcomm Atheros ... capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=5.16.0-3-amd64 firmware=N/A ip=192.168.1.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11 ... What I tried : 1) I installed debian using the default iso (debian-11.2.0-amd64-netinst.iso). As I ran into the problem during the installation (unable to download necessary packages), I admitted that even if I was able to connect, maybe I was needing something from the non-free repos. 2) I tried another install, this time the dirty way with the non-free XFCE live iso (debian-live-11.2.0-amd64-xfce+nonfree.iso). Still having the wifi bug, but I could at least finish the installation. Anyway, now I don’t think it could be a proprietary firmware issue, as the `ath9k` driver is included in the kernel https://cateee.net/lkddb/web-lkddb/ATH9K.html 3) I’ve seen a lot of forum posts about tweaking the params of `/etc/modprobe.d/ath9k.conf`, especially the `nohwcrypt=1` param. (full list of available params here https://github.com/reynhout/chrx/blob/m ... ath9k.conf) I tried a bit of everything, didn’t fix. 4) I’ve found this article, about replacing network-manager with `wicd` … http://pkill-9.com/2013/04/23/stabilizi ... ux-wheezy/ but `wicd` is not maintained anymore and has been kicked out of the debian repos. 5) I tried to compile a backported driver, as described here : https://ubuntuforums.org/showthread.php ... st12890183 The driver compiled successfully. But didn´t fix. 6) I wondered if my bug would be fixed in a recent kernel, so I decided to take a turn for the worse and upgraded to Sid. Code: Select allcat /proc/version Linux version 5.16.0-3-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.2.0-18) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian 5.16.11-1 (2022-02-25) I am now running a shiny new 5.16 kernel. Didn’t fix either. 7) As I was running out of troubleshooting ideas, I installed other distributions aside to check if my hardware is faulty, or if they would include specific configuration or hint for a fix. - MX Linux : same bug - Manjaro : works - Linux Mint : works - Ubuntu : works - Fedora : works (currently : Triple Boot Debian Sid XFCE / Xubuntu 21.10 XFCE / Fedora 35 XFCE) It seems like only Debian and direct derivatives would be impacted by the problem on my machine. The `/etc/modprobe.d/` is stacked with config files on the other distributions (mostly blacklisting stuff), but nothing related with the ath9k driver. Most config files, like `/etc/resolv.conf` have exactly the same contents in each distribution, and I have a hard time trying to understand what is going on. Any tip would be highly appreciated ! | firmware=N/A Maybe needs firmware-atheros installed Some wifi chips have issues with power saving mode. Search for how to disable it. |
Hi, Newbie to Debian. I installed: Debian 12 with XFCE 4.18 from: debian-live-12.8.0-amd64-xfce.iso And updated using sudo apt update && sudo apt upgrade I have installed: network-manager-openvpn network-manager-openvpn-gnome openvpn-systemd-resolved openvpn Then I imported a .ovpn file with Network Manager GUI: Opened Network Manager by clicking on the WIFI bars icon VPN Conections > Configure VPN Clicked Add > Import a saved VPN configuration Then added my VPN Username and password So that all went very well Problem is when I try to activate this OpenVPN connection, then an Authentication required dialog box pops up and asks for a password. I presume this is the OpenVPN account password. The password is already prefilled. When I click Ok, this dialog box closes, the OpenVPN connection is not made and the same dialog box pops up a few seconds later again. This continues to loop. I have double checked I have the correct password. Not sure what I am doing wrong. Any help is much appreciated. | Hello! I use XFCE, but have not used network manager, or once tryied, but after that I always purged it. Most XFCE programs have configs in /home/.config Check if there is any OpenVPn dirs, might be you can give your credentials there. Many GUI programs are just frontends. I think the CLI really makes a difference in Linux, you may not feel the same |
Hi all, in debian 12 server, without GUI DE tty console is blocked after a idle period in black screen and even if I push any key it does nothing, I've just to reboot from the pc power button | Does your server have a monitor, or where did you seen that 'black tty' ? |
I have a fresh Debian 12 VPS that runs dnsmasq, stubby and wireguard so i can have my own VPN. However for some unknown reason i cannot resolve youtube & google services while connected to the wireguard tunnel from my phone or desktop. Other apps and domains work fine. If i try to go to youtube.com via firefox i get "Address not found". I've used the same configs for a few years now on another OS, so rather puzzling why it is not working on Debian. I've tried a different VPS provider to rule out that google is doing any sort of blocking against the current provider, i've also switched the dns resolver from cloudflare to google, to rule out that maybe it's an issue with cloudflare. Configs: dnsmasq.conf Code: Select allno-resolv proxy-dnssec server=::1#5300 [b]server=127.0.0.1#5300 stubby.yml Code: Select allresolution_type: GETDNS_RESOLUTION_STUB dns_transport_list: - GETDNS_TRANSPORT_TLS tls_authentication: GETDNS_AUTHENTICATION_REQUIRED tls_query_padding_blocksize: 128 edns_client_subnet_private : 1 round_robin_upstreams: 1 idle_timeout: 9000 listen_addresses: - 127.0.0.1@5300 - 0::1@5300 upstream_recursive_servers: ## Cloudflare 1.1.1.1 and 1.0.0.1 ## (NOTE: recommend reducing idle_timeout to 9000 if using Cloudflare) - address_data: 1.1.1.1 tls_auth_name: "cloudflare-dns.com" - address_data: 1.0.0.1 tls_auth_name: "cloudflare-dns.com" ## Google - address_data: 8.8.8.8 tls_auth_name: "dns.google" - address_data: 8.8.4.4 tls_auth_name: "dns.google" I get no errors shown using the drill command so idk what program is to blame in this situation. Code: Select alldrill youtube.com ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 69 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;; youtube.com. IN A ;; ANSWER SECTION: youtube.com. 286 IN A 216.58.206.46 ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 37 msec ;; EDNS: version 0; flags: ; udp: 512 ;; SERVER: 127.0.0.1 ;; WHEN: Sat Aug 3 14:12:46 2024 ;; MSG SIZE rcvd: 67 ;; EDNS: version 0; flags: ; udp: 512 ;; SERVER: 127.0.0.1 ;; WHEN: Sat Aug 3 14:12:46 2024 ;; MSG SIZE rcvd: 67 UPDATE - so thanks to some awesome help from lunaphyte on #dns irc chan, it seems the phone is having issues with the domain www.youtube.com. Some commands used to troubleshoot: ping -c 10 www.youtube.com Code: Select all~ $ ping -c 10 www.youtube.com ping: unknown host www.youtube.com ~ $ ping -c 10 youtube.com PING youtube.com (142.250.186.110) 56(84) bytes of data. 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=1 ttl=115 time=52.2 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=2 ttl=115 time=110 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=3 ttl=115 time=108 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=4 ttl=115 time=62.0 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=5 ttl=115 time=111 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=6 ttl=115 time=50.1 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=7 ttl=115 time=107 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=8 ttl=115 time=57.0 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=9 ttl=115 time=110 ms 64 bytes from fra24s06-in-f14.1e100.net (142.250.186.110): icmp_seq=10 ttl=115 time=57.7 ms --- youtube.com ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 9019ms rtt min/avg/max/mdev = 50.159/82.721/111.426/27.050 ms ~ $ curl -v 'http://youtube.com' Code: Select all~ $ curl -v 'http://www.youtube.com' * Host www.youtube.com:80 was resolved. * IPv6: 2a00:1450:4001:813::200e, 2a00:1450:4001:812::200e, 2a00:1450:4001:802::200e, 2a00:1450:4001:831::200e * IPv4: (none) * Trying [2a00:1450:4001:813::200e]:80... * connect to 2a00:1450:4001:813::200e port 80 from fe80::74d9:1b3b:c58c:c751 port 52488 failed: Connection timed out * Trying [2a00:1450:4001:812::200e]:80... ^ you can see here curl does not get any ipv4 addresses. curl -v 'https://youtube.com' Code: Select all~ $ curl -v 'https://youtube.com' * Host youtube.com:443 was resolved. * IPv6: 2a00:1450:4001:82f::200e * IPv4: 172.217.16.206 * Trying 172.217.16.206:443... * Connected to youtube.com (172.217.16.206) port 443 * ALPN: curl offers h2,http/1.1 * TLSv1.3 (OUT), TLS handshake, Client hello (1): * CAfile: /data/data/com.termux/files/usr/etc/tls/cert.pem * CApath: /data/data/com.termux/files/usr/etc/tls/certs * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):* TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / id-ecPublicKey * ALPN: server accepted h2 * Server certificate: * subject: CN=*.google.com * start date: Jul 30 12:32:53 2024 GMT * expire date: Oct 22 12:32:52 2024 GMT * subjectAltName: host "youtube.com" matched cert's "youtube.com" * issuer: C=US; O=Google Trust Services; CN=WR2 * SSL certificate verify ok. * Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption * using HTTP/2 * [HTTP/2] [1] OPENED stream for https://youtube.com/ * [HTTP/2] [1] [:method: GET] * [HTTP/2] [1] [:scheme: https] * [HTTP/2] [1] [:authority: youtube.com] * [HTTP/2] [1] [:path: /] * [HTTP/2] [1] [user-agent: curl/8.8.0] * [HTTP/2] [1] [accept: */*] > GET / HTTP/2 > Host: youtube.com > User-Agent: curl/8.8.0 > Accept: */* > * Request completely sent off * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing < HTTP/2 301 < content-type: application/binary < x-content-type-options: nosniff < expires: Sat, 03 Aug 2024 14:54:43 GMT < date: Sat, 03 Aug 2024 14:54:43 GMT < cache-control: private, max-age=31536000 < location: https://www.youtube.com/ < x-frame-options: SAMEORIGIN < strict-transport-security: max-age=31536000; includeSubDomains; preload < origin-trial: AmhMBR6zCLzDDxpW+HfpP67BqwIknWnyMOXOQGfzYswFmJe+fgaI6XZgAzcxOrzNtP7hEDsOo1jdjFnVr2IdxQ4AAAB4eyJvcmlnaW4iOiJodHRwczovL3lvdXR1YmUuY29tOjQ0MyIsImZlYXR1cmUiOiJXZWJWaWV3WFJlcXVlc3RlZFdpdGhEZXByZWNhdGlvbiIsImV4cGlyeSI6MTc1ODA2NzE5OSwiaXNTdWJkb21haW4iOnRydWV9 < permissions-policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factors=*, ch-ua-platform=*, ch-ua-platform-version=* < cross-origin-opener-policy: same-origin-allow-popups; report-to="youtube_main" < report-to: {"group":"youtube_main","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/youtube_main"}]} < p3p: CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=de for more info." < server: ESF < content-length: 0 < x-xss-protection: 0 < set-cookie: YSC=ev22B8acU14; Domain=.youtube.com; Path=/; Secure; HttpOnly; SameSite=none < alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000 < * Connection #0 to host youtube.com left intact ~ $ curl -v 'https://www.youtube.com/' Code: Select all~ $ curl -v 'https://www.youtube.com/' * Host www.youtube.com:443 was resolved. * IPv6: 2a00:1450:4001:801::200e, 2a00:1450:4001:829::200e, 2a00:1450:4001:809::200e, 2a00:1450:4001:81c::200e * IPv4: (none) * Trying [2a00:1450:4001:801::200e]:443... ^ here it just timed out. Here's the results of ping and curl on another VPS (non-debian) using the same configs: curl Code: Select all~ $ curl -vso /dev/null 'https://www.youtube.com' * Host www.youtube.com:443 was resolved. * IPv6: 2a00:1450:4001:80f::200e, 2a00:1450:4001:800::200e, 2a00:1450:4001:801::200e, 2a00:1450:4001:80e::200e * IPv4: 142.250.74.206, 172.217.16.142, 172.217.18.110, 142.250.184.206, 142.250.185.110, 142.250.186.110, 172.217.18.14, 172.217.16.206, 216.58.206.78, 142.250.185.78, 216.58.206.46, 142.250.186.174, 142.250.185.142, 172.217.23.110, 142.250.186.78, 142.250.186.142 * Trying 142.250.74.206:443... * Connected to www.youtube.com (142.250.74.206) port 443 * ALPN: curl offers h2,http/1.1 } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * CAfile: /data/data/com.termux/files/usr/etc/tls/cert.pem * CApath: /data/data/com.termux/files/usr/etc/tls/certs{ [5 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [122 bytes data] * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):{ [15 bytes data] * TLSv1.3 (IN), TLS handshake, Certificate (11): { [6300 bytes data] * TLSv1.3 (IN), TLS handshake, CERT verify (15): { [78 bytes data] * TLSv1.3 (IN), TLS handshake, Finished (20): { [52 bytes data] * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): } [1 bytes data] * TLSv1.3 (OUT), TLS handshake, Finished (20): } [52 bytes data] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / id-ecPublicKey * ALPN: server accepted h2 * Server certificate: * subject: CN=*.google.com * start date: Jul 30 12:32:53 2024 GMT * expire date: Oct 22 12:32:52 2024 GMT * subjectAltName: host "www.youtube.com" matched cert's "*.youtube.com" * issuer: C=US; O=Google Trust Services; CN=WR2 * SSL certificate verify ok. * Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption } [5 bytes data] * using HTTP/2 * [HTTP/2] [1] OPENED stream for https://www.youtube.com/ * [HTTP/2] [1] [:method: GET] * [HTTP/2] [1] [:scheme: https] * [HTTP/2] [1] [:authority: www.youtube.com] * [HTTP/2] [1] [:path: /] * [HTTP/2] [1] [user-agent: curl/8.8.0] * [HTTP/2] [1] [accept: */*] } [5 bytes data] > GET / HTTP/2 > Host: www.youtube.com > User-Agent: curl/8.8.0 > Accept: */* > * Request completely sent off { [5 bytes data] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): { [282 bytes data] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): { [282 bytes data] * old SSL session ID is stale, removing { [5 bytes data] < HTTP/2 200 < content-type: text/html; charset=utf-8 < x-content-type-options: nosniff < cache-control: no-cache, no-store, max-age=0, must-revalidate < pragma: no-cache < expires: Mon, 01 Jan 1990 00:00:00 GMT < date: Sat, 03 Aug 2024 15:37:46 GMT < strict-transport-security: max-age=31536000 < x-frame-options: SAMEORIGIN < permissions-policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factors=*, ch-ua-platform=*, ch-ua-platform-version=* < origin-trial: AmhMBR6zCLzDDxpW+HfpP67BqwIknWnyMOXOQGfzYswFmJe+fgaI6XZgAzcxOrzNtP7hEDsOo1jdjFnVr2IdxQ4AAAB4eyJvcmlnaW4iOiJodHRwczovL3lvdXR1YmUuY29tOjQ0MyIsImZlYXR1cmUiOiJXZWJWaWV3WFJlcXVlc3RlZFdpdGhEZXByZWNhdGlvbiIsImV4cGlyeSI6MTc1ODA2NzE5OSwiaXNTdWJkb21haW4iOnRydWV9 < cross-origin-opener-policy: same-origin-allow-popups; report-to="youtube_main" < report-to: {"group":"youtube_main","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/youtube_main"}]} < p3p: CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=de for more info." < server: ESF < x-xss-protection: 0 < set-cookie: YSC=EHacVG1ib6A; Domain=.youtube.com; Path=/; Secure; HttpOnly; SameSite=none < set-cookie: __Secure-YEC=Cgt2THNtZ1pCaTJIWSjKnbm1BjIKCgJERRIEEgAgVw%3D%3D; Domain=.youtube.com; Expires=Tue, 02-Sep-2025 15:37:45 GMT; Path=/; Secure; HttpOnly; SameSite=lax < set-cookie: VISITOR_PRIVACY_METADATA=CgJERRIEEgAgVw%3D%3D; Domain=.youtube.com; Expires=Tue, 02-Sep-2025 15:37:46 GMT; Path=/; Secure; HttpOnly; SameSite=none { [5 bytes data] < set-cookie: VISITOR_INFO1_LIVE=; Domain=.youtube.com; Expires=Sun, 07-Nov-2021 15:37:46 GMT; Path=/; Secure; HttpOnly; SameSite=none < alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000 < accept-ranges: none < vary: Accept-Encoding < { [5 bytes data] * Connection #0 to host www.youtube.com left intact ~ $ ping Code: Select all~ $ ping -c 10 www.youtube.com PING youtube-ui.l.google.com (142.250.186.46) 56(84) bytes of data. 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=1 ttl=114 time=47.6 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=2 ttl=114 time=54.9 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=3 ttl=114 time=48.2 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=4 ttl=114 time=50.8 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=5 ttl=114 time=109 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=6 ttl=114 time=52.4 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=7 ttl=114 time=58.7 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=8 ttl=114 time=57.5 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=9 ttl=114 time=57.6 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=10 ttl=114 time=57.8 ms --- youtube-ui.l.google.com ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 9012ms rtt min/avg/max/mdev = 47.656/59.550/109.496/17.093 ms ~ $ | Hello, cmm11 wrote: 2024-08-07 15:11 I must of forgot to set a long expire time (if there even was an option) should be fixed now. I'm glad you sorted it out. :) Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message. Happy Debian ! :) |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 7