prompt stringlengths 1 63.6k | completion stringlengths 1 53.1k |
|---|---|
Hi guys, I need an help because I have a little issue with a network share on my raspberry. On the Raspberry PI I have installed samba to have some network share in my home and transmission to download torrent too. The problem is this one: - I have created one share that it is called "torrent" and the permission settings are this one (I suppose that there aren't limit about permission): Code: Select all[torrent] create mode = 777 writeable = yes guest only = yes directory mode = 777 path = /mnt/disco/torrent public = yes - transmission is configured to download all in this share - the file that transmission downloaded have different permission like this: Code: Select all-rwxrwxrwx 1 nobody nogroup 1719751418 Jan 20 18:30 name_file -rwxrwxrwx 1 debian-transmission dietpi 1556448850 Jan 20 16:37 name_file -rw-rw---- 1 debian-transmission dietpi 2641551072 Jan 20 19:55 name_of_file I suppose that the problem is that all my share can access as guest,in fact if I go to the share and type Code: Select allchmod 777 /mnt/disco/torrent -R it is all ok. Are there some way to solve this problem? Thanks Federico | coppolino97 wrote: ... Code: Select all directory mode = 777 I suppose that the problem is that all my share can access as guest,in fact if I go to the share and type Code: Select allchmod 777 /mnt/disco/torrent -R it is all ok. Are there some way to solve this problem? Yes, you type: $ man smb.conf Then you read what "directory mode" (or "directory mask") means, including the fact that they only apply to directories. So you read what "create mode" (or "create mask") mean. Then you realize that what you actually wanted was "force create mode" and "force directory mode", which should hopefully do what you actually want. Good luck! |
I am using Debian 9. I am on a laptop, meaning I am using "bumblebee-nvidia" package. I do have the backports version of the nvidia driver. Let me know if you need more (detailed) info! When I try to update the nvidia driver, I get the message saying some packages have been kept back.. Code: Select alluser0@PE60-2QE:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libcuda1 libcuda1:i386 libegl-nvidia0 libegl-nvidia0:i386 libegl1 libegl1-nvidia libegl1-nvidia:i386 libgl1 libgl1:i386 libgl1-nvidia-glx libgl1-nvidia-glx:i386 libgles-nvidia1 libgles-nvidia1:i386 libgles-nvidia2 libgles-nvidia2:i386 libgles2 libgles2:i386 libglvnd-core-dev libglvnd-dev libglvnd0 libglvnd0:i386 libglx-nvidia0 libglx-nvidia0:i386 libglx0 libglx0:i386 libnvcuvid1 libnvidia-cfg1 libnvidia-cfg1:i386 libnvidia-compiler libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libopengl0 nvidia-alternative nvidia-driver nvidia-driver-bin nvidia-driver-libs-nonglvnd nvidia-driver-libs-nonglvnd:i386 nvidia-egl-icd nvidia-kernel-support nvidia-nonglvnd-vulkan-icd nvidia-nonglvnd-vulkan-icd:i386 nvidia-opencl-icd nvidia-smi nvidia-vdpau-driver xserver-xorg-video-nvidia 0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded. I did search the internet and this forum, but all stated solutions that didn't work for me.. I have tried to do "sudo apt full-upgrade" and "sudo apt dist-upgrade" as mentioned as possible solutions, but both give me the following output: Code: Select alluser0@PE60-2QE:~$ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Error! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgl1-mesa-glx : Depends: libgl1 wine32:i386 : Depends: libwine:i386 (= 1.8.7-2) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. So, it seems "libgl1" and/or "libwine:i386" are missing.. However, "libwine:i386" is installed and latest version. When I try to install "libgl1", the output asks me to remove my complete gnome desktop environment and more: Code: Select alluser0@PE60-2QE:~$ sudo apt install libgl1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: accountsservice apg bbswitch-dkms bogofilter bogofilter-bdb bogofilter-common cheese-common dkms evolution-common folks-common fonts-dejavu fonts-freefont-ttf fonts-linuxlibertine fonts-sil-gentium fonts-sil-gentium-basic gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-evince-3.0 gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdata-0.0 gir1.2-gdm-1.0 gir1.2-gfbgraph-0.2 gir1.2-gnomebluetooth-1.0 gir1.2-goa-1.0 gir1.2-gtop-2.0 gir1.2-ibus-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-networkmanager-1.0 gir1.2-nmgtk-1.0 gir1.2-polkit-1.0 gir1.2-rb-3.0 gir1.2-rest-0.7 gir1.2-upowerglib-1.0 gir1.2-zpj-0.0 glx-alternative-mesa glx-alternative-nvidia glx-diversions gnome-control-center-data gnome-session-common hyphen-en-us libaccinj64-9.1 libaccountsservice0 libavahi-ui-gtk3-0 libbasicusageenvironment1 libbsh-java libcacard0 libcaribou-common libcaribou0 libcddb2 libclutter-1.0-common libcogl-common libcryptui0a libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcurand9.1 libcusolver9.1 libcusparse9.1 libdc1394-22 libdca0 libde265-0 libdrm-dev libdvbpsi10 libebml4v5 libevdev2 libfaad2 libfolks-eds25 libfolks-telepathy25 libfolks25 libfreerdp-cache1.1 libfreerdp-codec1.1 libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1 libfreerdp-gdi1.1 libfreerdp-locale1.1 libfreerdp-primitives1.1 libfreerdp-utils1.1 libgbm1 libgdm1 libgexiv2-2 libgles2 libgles2:i386 libgles2-mesa libglvnd-core-dev libgnome-autoar-gtk-0-0 libgpod-common libgpod4 libgroupsock8 libgtk-vnc-2.0-0 libgvnc-1.0-0 libibus-1.0-5 libinput-bin libinput10 libjavascriptcoregtk-4.0-18 libkate1 liblilv-0-0 liblirc-client0 liblivemedia57 libmatroska6v5 libmicrodns0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpcdec6 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libmtdev1 libmusicbrainz5-2 libmusicbrainz5cc2v5 libnm-gtk0 libnppc9.1 libnppial9.1 libnppicc9.1 libnppicom9.1 libnppidei9.1 libnppif9.1 libnppig9.1 libnppim9.1 libnppist9.1 libnppisu9.1 libnppitc9.1 libnpps9.1 libnss-myhostname libnvblas9.1 libnvgraph9.1 libnvidia-compiler libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libnvrtc9.1 libnvtoolsext1 libnvvm3 libofa0 libopenal1 libopencv-calib3d2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-highgui2.4-deb0 libopencv-objdetect2.4v5 libopencv-video2.4v5 libopengl0 libopenmpt-modplug1 libphodav-2.0-0 libphodav-2.0-common libpoclu-dev libpoclu1 libprotobuf-lite10 libproxy-tools libpst4 libpthread-stubs0-dev libqt5clucene5 libqt5concurrent5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 libreoffice libreoffice-help-en-us libreoffice-librelogo libreoffice-nlpsolver libreoffice-ogltrans libreoffice-pdfimport libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-wiki-publisher libresid-builder0c2a libsdl-image1.2 libsdl-ttf2.0-0 libserd-0-0 libsgutils2-2 libsidplay2 libsord-0-0 libsoundtouch1 libspandsp2 libsratom-0-0 libsrtp0 libthrust-dev libupnp6 libusageenvironment3 libusbredirhost1 libusbredirparser1 libva-wayland1 libvdpau-dev libvlc-bin libvlc5 libvlccore9 libvo-aacenc0 libvo-amrwbenc0 libvulkan1 libvulkan1:i386 libwayland-client0:i386 libwayland-server0 libwayland-server0:i386 libwildmidi-config libwildmidi2 libwinpr-crt0.1 libwinpr-crypto0.1 libwinpr-dsparse0.1 libwinpr-environment0.1 libwinpr-file0.1 libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1 libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1 libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1 libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1 libwinpr-utils0.1 libx11-dev libx11-doc libx11-xcb-dev libxatracker2 libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present-dev libxcb-randr0-dev libxcb-render-util0 libxcb-render0-dev libxcb-res0 libxcb-shape0-dev libxcb-sync-dev libxcb-xf86dri0 libxcb-xfixes0-dev libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxfont1 libxfont2 libxkbcommon-x11-0 libxshmfence-dev libxvmc1 libxxf86vm-dev libytnef0 libzbar0 linux-headers-amd64 mesa-common-dev mousetweaks mythes-en-us nvidia-cuda-doc nvidia-cuda-gdb nvidia-egl-common nvidia-egl-wayland-common nvidia-kernel-common nvidia-modprobe nvidia-nonglvnd-vulkan-common nvidia-opencl-common nvidia-opencl-dev nvidia-support ocl-icd-opencl-dev opencl-c-headers opencl-clhpp-headers opencl-headers primus-libs primus-libs:i386 primus-libs-ia32:i386 python-cffi-backend python-cryptography python-enum34 python-idna python-ipaddress python-openssl python-pyasn1 python-requests python-urllib3 python3-mako python3-markupsafe qt5-qmake qtbase5-dev-tools realmd seahorse-daemon shotwell-common socat spice-client-glib-usb-acl-helper totem-common unoconv vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-samba vlc-plugin-video-splitter vlc-plugin-visualization x11-apps x11-session-utils x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xinit xorg-sgml-doctools xserver-common xserver-xephyr xserver-xorg-legacy xtrans-dev yelp-xsl zenity-common Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libgl1:i386 libgles2 libgles2:i386 libglvnd-core-dev libglvnd0 libglvnd0:i386 libglx0 libglx0:i386 libnvidia-compiler libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libopengl0 policykit-1-gnome The following packages will be REMOVED: bumblebee bumblebee-nvidia caribou cheese chrome-gnome-shell evolution evolution-plugins gdm3 gir1.2-champlain-0.12 gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gepub-0.4 gir1.2-gtkchamplain-0.12 gir1.2-gtkclutter-1.0 gir1.2-mutter-3.0 gir1.2-totem-1.0 gir1.2-webkit2-4.0 gnome gnome-calendar gnome-contacts gnome-control-center gnome-core gnome-documents gnome-games gnome-getting-started-docs gnome-maps gnome-nibbles gnome-online-accounts gnome-session gnome-session-bin gnome-shell gnome-shell-extension-redshift gnome-shell-extension-system-monitor gnome-shell-extensions gnome-sushi gnome-user-guide gnome-video-effects gstreamer1.0-clutter-3.0 gstreamer1.0-plugins-bad libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk25 libcheese8 libclutter-1.0-0 libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libcuda1 libcuda1:i386 libcuda1-i386:i386 libcuinj64-9.1 libedataserverui-1.2-1 libegl-nvidia0 libegl-nvidia0:i386 libegl1 libegl1-mesa libegl1-nvidia libegl1-nvidia:i386 libevolution libgepub0 libgl1-mesa-dev libgl1-nvidia-glx libgl1-nvidia-glx:i386 libgles-nvidia1 libgles-nvidia1:i386 libgles-nvidia2 libgles-nvidia2:i386 libglu1-mesa-dev libglvnd-dev libglx-nvidia0 libglx-nvidia0:i386 libgoa-backend-1.0-1 libgstreamer-plugins-bad1.0-0 libmutter0i libnvcuvid1 libnvidia-cfg1 libnvidia-cfg1:i386 libnvidia-egl-wayland1 libnvidia-egl-wayland1:i386 libnvidia-ml1 libqt5designer5 libqt5designercomponents5 libqt5gui5 libqt5help5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5quick5 libqt5quickparticles5 libqt5quicktest5 libqt5quickwidgets5 libqt5svg5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libtotem0 libwayland-egl1-mesa libwebkit2gtk-4.0-37 libyelp0 lightsoff mutter nvidia-alternative nvidia-cuda-dev nvidia-cuda-toolkit nvidia-driver nvidia-driver-bin nvidia-driver-libs-nonglvnd nvidia-driver-libs-nonglvnd:i386 nvidia-driver-libs-nonglvnd-i386:i386 nvidia-egl-icd nvidia-egl-wayland-icd nvidia-egl-wayland-icd:i386 nvidia-kernel-dkms nvidia-kernel-support nvidia-nonglvnd-vulkan-icd nvidia-nonglvnd-vulkan-icd:i386 nvidia-opencl-icd nvidia-persistenced nvidia-profiler nvidia-settings nvidia-smi nvidia-vdpau-driver nvidia-visual-profiler primus qml-module-qtgraphicaleffects qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-privatewidgets qml-module-qtquick-window2 qml-module-qtquick2 qt5-default qt5-gtk-platformtheme qt5-qmltooling-plugins qtbase5-dev qtdeclarative5-dev qttools5-dev-tools quadrapassel rhythmbox-plugins shotwell swell-foop task-desktop task-gnome-desktop totem totem-plugins vinagre virtualbox-5.2 vlc vlc-plugin-qt vlc-plugin-skins2 vlc-plugin-video-output xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-nvidia xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware xwayland yelp zenity The following NEW packages will be installed: policykit-1-gnome The following packages will be upgraded: libgl1 libgl1:i386 libgles2 libgles2:i386 libglvnd-core-dev libglvnd0 libglvnd0:i386 libglx0 libglx0:i386 libnvidia-compiler libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libopengl0 17 upgraded, 1 newly installed, 177 to remove and 2 not upgraded. Need to get 34,5 MB of archives. After this operation, 1732 MB disk space will be freed. Do you want to continue? [Y/n] I have read previously some things about different versions of glx (mesa-glx / glvnd-nvidia-glx / nvidia-glvnd-glx), but couldn't find any solution there either.. I don't know what to do anymore.. Does anyone have any idea what might solve this or what things I could check next? | Try Code: Select all# aptitude install -t stretch-backports libgl1-mesa-glx Aptitude may offer several solutions to the problem, be sure to decline all of the options until it tells you there are no more left then go back and pick the best one (if there is an acceptable option). If that doesn't work then please post Code: Select allapt policy libwine:i386 aptitude why-not libwine:i386 EDIT: have you tried nouveau? It should work with Bumblebee and will be significantly better integrated and easier to manage than the blobby driver. |
Hi. I'm trying to create a swap file with Debian Jessie and I keep running into an error when running swapon /swap Here are my steps I'm using to create said swap file Code: Select all dd if=/dev/zero of=/var/swap bs=1M count=4096 chmod 600 /var/swap mkswap /var/swap swapon /var/swap I've also tried editing /etc/fstab before running swapon and that didn't fix the issue either. Any ideas on how I can fix this? | Do you really need a 4-TB swap file ? A swap file must not have holes because the kernel needs to map all its blocks to the underlying block device, but the dd command should create a file without holes. What is the filesystem type for /var ? Code: Select alldf -hT /var |
I have a virtual server running Debian 9 on VMware ESXi. This server is used for the FOG free computer cloning and management software. The server has network connectivity, and the cloning software works. However, the server can no longer resolve host names in DNS, which is keeping me from updating FOG from version 1.5.4 to 1.5.5, as it cannot download necessary packages from the Internet. I do not know what caused this. It is possible that a certain coworker has made unwise configuration changes. I do not know Linux very well, but as far as i understand, network configuration changes, on this version of Debian, should preferably be done through the NetworkManager nmcli command. It seems that my coworker did not use nmcli when he changed the server's IP address a few months ago, as when I started looking into this, the NetworkManager settings still had the old IP address that the server was not actually using. I corrected that, by the way. But NetworkManager is no longer managing the wired network adapter, and i think this might be the core of the problem. I believe that if I could get NetworkManager to manage the network adapter, the DNS problems would be fixed, or easy to fix. The output of nmcli c show Wired\ connection\ 1 contains the correct DNS servers. I have made sure that our network firewall is not blocking DNS requests from the FOG server to the DNS servers, which are in a different subnet. I can also ping our DNS servers from the FOG server. This is the output of the nmcli command: ens192: unmanaged "VMware VMXNET3 Ethernet Controller" ethernet (vmxnet3), 00:50:56:xx:xx:xx, hw, mtu 1500 I have ran nmcli device set ens192 managed yes. This produces no output at all, just a new prompt. But the network adapter still shows as unmanaged. So I tried nmcli device reapply ens192, and got this error: Error: Reapplying connection to device 'ens192' (/org/freedesktop/NetworkManager/Devices/2) failed: Device is not activated I have tried googling this, but found nothing. I have little Linux experience. I would appreciate it very much if someone would help me fix this. Output of some more nmcli commands: root@fogserver:/etc# nmcli device show GENERAL.DEVICE: ens192 GENERAL.TYPE: ethernet GENERAL.HWADDR: 00:50:56:xx:xx:xx GENERAL.MTU: 1500 GENERAL.STATE: 10 (unmanaged) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 10.80.1.9/24 IP4.GATEWAY: -- IP6.ADDRESS[1]: removed IP6.GATEWAY: -- root@fogserver:/etc# nmcli c show NAME UUID TYPE DEVICE Wired connection 1 5ed43a63-removed 802-3-ethernet -- root@fogserver:/etc# nmcli c show Wired\ connection\ 1 connection.id: Wired connection 1 connection.uuid: 5ed43a63-removed connection.stable-id: -- connection.interface-name: ens192 This was probably set by me in an attempt to solve the problem. Maybe i should clear it? connection.type: 802-3-ethernet connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.timestamp: removed connection.read-only: no connection.permissions: connection.zone: -- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: -1 (default) 802-3-ethernet.port: -- 802-3-ethernet.speed: 0 802-3-ethernet.duplex: -- 802-3-ethernet.auto-negotiate: no 802-3-ethernet.mac-address: -- 802-3-ethernet.cloned-mac-address: -- 802-3-ethernet.generate-mac-address-mask:-- 802-3-ethernet.mac-address-blacklist: 802-3-ethernet.mtu: auto 802-3-ethernet.s390-subchannels: 802-3-ethernet.s390-nettype: -- 802-3-ethernet.s390-options: 802-3-ethernet.wake-on-lan: 1 (default) 802-3-ethernet.wake-on-lan-password: -- ipv4.method: manual ipv4.dns: xx.xx.0.2,xx.xx.0.3 ipv4.dns-search: ipv4.dns-options: (default) ipv4.dns-priority: 0 ipv4.addresses: xx.xx.x.x/24 ipv4.gateway: xx.xx.1.1 ipv4.routes: ipv4.route-metric: -1 ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-timeout: 0 ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.never-default: no ipv4.may-fail: yes ipv4.dad-timeout: -1 (default) ipv6.method: auto ipv6.dns: ipv6.dns-search: ipv6.dns-options: (default) ipv6.dns-priority: 0 ipv6.addresses: ipv6.gateway: -- ipv6.routes: ipv6.route-metric: -1 ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.ip6-privacy: 2 (enabled, prefer temporary IP) ipv6.addr-gen-mode: eui64 ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.token: -- proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- | Olsen17 wrote:This is the output of the nmcli command: ens192: unmanaged "VMware VMXNET3 Ethernet Controller" ethernet (vmxnet3), 00:50:56:B0:E4:ED, hw, mtu 1500 Check /etc/network/interfaces and any files under /etc/network/interfaces.d/ for any stanzas configuring the ethernet interface, I think NM will disregard any that are mentioned in those files. I would actually recommend disabling NetworkManager and switching to ifupdown & /ect/network/interfaces{,.d/} for all connections, the overhead is lower. |
Recently, I encounter weird issues with my network access. For instance, my Firefox browser won't load pages but my MegaSync client still is online. Also, when I do ping like Code: Select allping http://www.google.com I get 100% packet loss but my browser just works fine and fast. Today, I also found out I can only visit certain sites like from Google. I tried to find a fix for that but nothing applies to Debian or it doesn't solve my issue. Can it be because I once tried a Snap package from RaiseUp VPN. It never worked so deleted it but maybe that program misconfigured something The only temporary "fix" I have is to simply reboot the system but after a while I got again networking problems. Not a big expert on networking and appreciate any help. | Rat wrote:Recently, I encounter weird issues with my network access. For instance, my Firefox browser won't load pages but my MegaSync client still is online. Also, when I do ping like Code: Select allping http://www.google.com I get 100% packet loss but my browser just works fine and fast. Today, I also found out I can only visit certain sites like from Google. I tried to find a fix for that but nothing applies to Debian or it doesn't solve my issue. Can it be because I once tried a Snap package from RaiseUp VPN. It never worked so deleted it but maybe that program misconfigured something :?: The only temporary "fix" I have is to simply reboot the system but after a while I got again networking problems. Not a big expert on networking and appreciate any help. Please post the output of "ip a" and "ip r" (run as root, to avoid problems). Please also post the contents of /etc/resolv.conf Is your connection wired or wireless? Which program do you use to configure the network? (network manager or such?) Can you confirm that you tried "ping www.google.com" and not "ping http://www.google.com"? What happens if you run "host www.google.com" (please post the full output). |
Hi, here is my problem I'm trying to create some rule, triggered on the connection of an USB device, but let's say that at this moment, now, I would be grateful if I could create ANY working rule that would do any working action (even something stupid), even triggered from anything, or even everything, because it's like everything that could be written inside /etc/udev/ had absolutely no effect during the past 3 hours... yes. Here is the set of operation I did after every try : update-initramfs -u udevadm control -R udevadm control --reload udevadm control --reload-rules update-initramfs -u reboot Here is everything I've tried to place into the /etc/udev/udev.conf file. Absolutely none of these did anything. I also tried to put them into rules.d and hwdb.d subfolder with the same effect : nothing after more than 3 hours ! I guess there is something wrong with that. But I'm becoming too tired to find out what. ACTION=="add", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="remove", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" ACTION=="add", ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ACTION=="remove", ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666", GROUP="plugdev" ACTION=="add", ATTRS{manufacturer}=="STIL", GROUP="plugdev" ACTION=="remove", ATTRS{manufacturer}=="STIL", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", GROUP="plugdev" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", GROUP="plugdev" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", GROUP="plugdev" ACTION=="add", MODE="0666", GROUP="plugdev" ACTION=="remove", MODE="0666", GROUP="plugdev" ACTION=="add", MODE="0666" ACTION=="remove", MODE="0666" ACTION=="add", GROUP="plugdev" ACTION=="remove", GROUP="plugdev" ACTION=="add", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="remove", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" ACTION=="add", MODE="0666" ACTION=="remove", MODE="0666" SUBSYSTEM=="usb", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", GROUP="plugdev" SUBSYSTEM=="usb", MODE="0666" ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ATTRS{manufacturer}=="STIL", GROUP="plugdev" ATTRS{manufacturer}=="STIL", MODE="0666" ACTION=="add", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" ACTION=="remove", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" ACTION=="add", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", RUN+="/sbin/reboot" ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", RUN+="/sbin/reboot" ACTION=="add", RUN+="/sbin/reboot" ACTION=="remove", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", GROUP="plugdev" SUBSYSTEM=="usb", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", MODE="0666" SUBSYSTEM=="usb", MODE="0666" ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ATTRS{manufacturer}=="STIL", MODE="0666", GROUP="plugdev" ATTRS{manufacturer}=="STIL", MODE="0666" ATTRS{manufacturer}=="STIL", MODE="0666" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{manufacturer}=="STIL", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", ATTRS{idProduct}=="0000", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", RUN+="/sbin/reboot" SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3e", RUN+="/sbin/reboot" SUBSYSTEM=="usb", RUN+="/sbin/reboot" ATTRS{manufacturer}=="STIL", GROUP="plugdev" ATTRS{manufacturer}=="STIL", RUN+="/sbin/reboot" SUBSYSTEM=="usb", RUN+="/sbin/reboot" MODE="0666", GROUP="plugdev" MODE="0666" GROUP="plugdev" RUN+="/sbin/reboot" If even RUN+="/sbin/reboot" with absolutely no filter does nothing, then I cannot do anything else. Is somebody able to see what I should do now ? | I recall having a lot of problems trying to run root commands via a udev rule, the easiest way would be to run a script from the udev rule similar to this.. Code: Select allACTION=="add", SUBSYSTEM=="hid", RUN+="/usr/local/bin/script_to_shutdown.sh" Obviously you would need to add your attributes etc to this (It is only a general reference) and using udevadm monitor will give you information on devices as they are plugged in/removed to ensure correct attributes. And then place your shutdown commands in the script (use sudo or gksudo or even pkexec), I ran into some problems like this when I wanted a udev rule to disable my touchpad when using usb mouse, you will also very likely be required to enter your password depending on how your security is set up although this can be avoided but with the downside being system security. |
Hello! I successfully set up two 1TB hard drives into a RAID 1 array with MDADM. The two drives were /dev/sda1 and /dev/sdb1. However, I added two additional 2TB hard drives to create a new separate RAID 1 array, and MDADM failed to set up my original 1TB array. It looks like it's because the OS reserved the /dev/sda1 and /dev/sdb1 devices for the two 2 TB hard drives, and MDADM didn't recognize them as the hard drives described in /etc/mdadm/mdadm.conf. I fixed the problem by switching the drives in /etc/mdadm/mdadm.conf to the new hard drive names, but this doesn't seem like a good stable fix. What if I boot with another drive, and that messes up the assignment of the drives again? Am I misunderstanding something? Here is the current output of lsblk: Code: Select all$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 1.8T 0 disk sdb 8:16 1 1.8T 0 disk sdc 8:32 0 119.2G 0 disk ├─sdc1 8:33 0 22.2G 0 part / ├─sdc2 8:34 0 1K 0 part ├─sdc5 8:37 0 7.7G 0 part /var ├─sdc6 8:38 0 2G 0 part [SWAP] ├─sdc7 8:39 0 1.4G 0 part /tmp └─sdc8 8:40 0 86G 0 part /home sdd 8:48 0 931.5G 0 disk └─sdd1 8:49 0 931.5G 0 part └─md127 9:127 0 931.4G 0 raid1 /RAIDStorage sde 8:64 0 931.5G 0 disk └─sde1 8:65 0 931.5G 0 part └─md127 9:127 0 931.4G 0 raid1 /RAIDStorage And my /etc/mdadm/mdadm.conf: Code: Select all# mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default (built-in), scan all partitions (/proc/partitions) and all # containers for MD superblocks. alternatively, specify devices to scan, using # wildcards if desired. #DEVICE /dev/sdb1 /dev/sdc1 <- THIS WAS MY ORIGINAL SETUP DEVICE /dev/sdd1 /dev/sde1 # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # definitions of existing MD arrays # This configuration was auto-generated on Thu, 30 Aug 2018 22:10:04 -0400 by mkconf ARRAY /dev/md/rdrive metadata=1.2 name=freyland:rdrive UUID=90ba462f:989bf4dc:acbc60c2:ceb104d2 Thanks for reading! | Other taking inventory of how your board orders things and moving cables, if you can try using /dev/disk/by-id or by-uuid, or even by-label, instead of the variable dev/sdx. That way it doesn't matter how they enumerate. |
I am using Open DNS: 208.67.222.222; 208.67.220.220; 8.8.8.8; In the file /etc/dhcp/dhclient.conf.. I have already edited to: prepend domain-name-servers 208.67.222.222, 208.67.220.220, 8.8.8.8; Then re-started the computer and also the network manager manually. Code: Select allcat /etc/resolv.conf Gives name server as 208.67.222.222, 208.67.220.220, 8.8.8.8 But when i do the DNS leak test on the website then it still shows me my real address. What am I missing ??? | DNS is a system that will resolve IP-addresses of website and has nothing to do with hiding yourself. https://en.wikipedia.org/wiki/Domain_Name_System |
Hi all, I'm trying to set up WiFi on my laptop (running Debian 9.6) and just can't seem to make any progress. I've come across a fair number of similar threads across the Internet but none of the methods described are working for me. I installed Debian using the non-free/cd-including-firmware image, so that I could find the firmware for my particular WiFi adapter, but that doesn't seem to have helped. So, some (hopefully) relevant info: The hardware is 'GIGABIT LAN & WIRELESS INTEL® AC-9260 M.2 (1.73Gbps, 802.11AC) +BT 5.0' Code: Select alllspci | tail -3 01:00.0 Network controller: Intel Corporation Device 2526 (rev 29) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01) 02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12) I downloaded the driver from Realtek (0012-r8168-8.046.00), ran the autorun shell script, which seemed to complete successfully. Various sources online stated a need to blacklist r8169, which I have done using Code: Select allsudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf' Some more things: Code: Select alllsmod | grep r8168 r8168 487424 0 Code: Select allsudo iwconfig lo no wireless extensions. enp2s0f1 no wireless extensions. Code: Select allsudo ethtool -i enp2s0f1 driver: r8168 version: 8.043.02-NAPI firmware-version: expansion-rom-version: bus-info: 0000:02:00.1 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no I don't even have a Wireless Connection option in the Network settings. At this point I just don't know how to proceed, so any help would be appreciated. Cheers! | I downloaded the driver from Realtek That's the Ethernet. The wifi is Network controller: Intel Corporation Device 2526 (rev 29) Install firmware-iwlwifi. |
When I ' m on an external network (especially when on a public one) I would like to connect via wireguard to a pc on my home network. I will avoid ADS so but since I' m using as a server a machine with my home network all the privacy part is nullified right? I mean with my ISP (and who knows who else, or maybe no ne). Even with tor? My public ip is static (after some months maybe change once) and is the one of a pc of my ISP. I can forward some port of that machine (public ip) to a port of a local machine that I own. I found a guide to how use wireguard https://www.stavros.io/posts/how-to-con ... wireguard/: Server /etc/wireguard/wg0.conf Code: Select all[Interface] Address = 192.168.2.1 # This is not the ip of my server right? A new one created for this wg0? PrivateKey = <server's privatekey> ListenPort = 51820 [Peer] PublicKey = <client's publickey> AllowedIPs = 192.168.2.2/32 # Same thing here Client conf Code: Select all[Interface] Address = 192.168.2.2 PrivateKey = <client's privatekey> ListenPort = 21841 [Peer] PublicKey = <server's publickey> Endpoint = <server's ip>:51820 # Can I use <my_public_ip>:<forwarded_port_to_internal_51820>? AllowedIPs = 0.0.0.0/0, ::/0 # To forward all the traffic # This is for if you're behind a NAT and # want the connection to be kept alive. PersistentKeepalive = 25 # So do I need this value? I checked the quick start https://www.wireguard.com/quickstart/. Is it possible to use wireguard with NAT (since that my server has not a "direct" ip)? I tried so but I cannot load any page. | If you configure your router (doing NAT) to forward incoming UDP port 5182 to your wireguard server, it should work fine. Wireguard is not known for it's debugging/logging powers, but at least you should see something when you try to connect. We can take it from there. If you want to use your Wireguard server to actually connect via it to the Internet (and not just as point-to-point connection), then you also need to set up the actual forwarding. Like so.. Code: Select allPostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE |
Hi, I just received my new computer which was delivered with Ubuntu as operating system. The computer is a Dell laptop Dell G5 15 - 5587. At this point the wifi was working well as I used it to download the debian netinstall image. After installing Debian Stretch on my computer (using ethernet for convinience) I have no wifi interface available. At this point I checked that the hardware was discovered. Code: Select all# lspci | grep -i network 00:14.3 Network controller: Intel Corporation Device a370 (rev 10) However, even with the pci wireless card beeing detected, I have no wireless interface to be configured. Code: Select all# iwconfig enp60s0 no wireless extensions. lo no wireless extensions. I installed the package firmware-iwlwifi from debian repository but even after a reboot and checking that the module is loaded I still have no wifi. Code: Select all# lsmod | grep wifi iwlwifi 229376 0 cfg80211 782336 3 iwlwifi,ipw2200,libipw At this moment I supposed that the driver/firmware dependencies were not integrated into the kernel I was using (4.9.0-18). So I upgraded to the latest kernel available into stretch backports (4.18.0-0). Code: Select all# uname -r 4.18.0-0.bpo.1-amd64 However even after upgrading the kernel to the latest version, I still have no wifi interface available. So right now I don't think that Ubuntu was distributed a kernel version greater than 4.18.x (I didn't checked), so I think that I may be a configuration issue. The next try could be to rebuild the kernel from sources trying to find an option matching my wireless controller but I would like to have some opinions before rebuilding the kernel. Do you think that the problem could come from kernel options ? ==> Could rebuilding the kernel solve the issue ? Am I missing something with configuration ? | Did you remember to get firmware-iwlwifi from back ports too? |
I am having a problem if I don't properly unmount my USB drive before removing it from my server. However, it seems to take upward of 15 minutes (I may be exaggerating) when I do "unmount /movies". Googling I found this https://lonesysadmin.net/2013/12/22/bet ... rty_ratio/ article basically saying data is sitting in ram that isn't being written to the drive until I try to unmount the drive. And it's writing that data that takes all the time. In addition to the above article, I found a few site that talk about different settings to adjust to minimize this effect, but none of it is Debian specific and I'm afraid of messing up my good running server. What do you guys think about this advice I found on a Ubuntu site https://askubuntu.com/questions/410136/ ... es-forever Workaround: enter a shell root (do that with care --- you are now root for every command) sudo -i and issue: echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes If it works, you can add the two lines above to your /etc/rc.local file. Again, I'm just afraid of doing more harm than good since I really have no knowledge in this area. I'm just trying to reduce the time it takes the drive to unmount so I can remove it from the server. My server has 8 gigs of Ram and an Intel G3258 Processor... | Soapm wrote:I am having a problem if I don't properly unmount my USB drive before removing it from my server. However, it seems to take upward of 15 minutes (I may be exaggerating) when I do "unmount /movies". I hope that was a typo Try: Code: Select allsync ; umount -R /movies && echo Done! But do not remove the device until you see "Done!" appear in the terminal. What do you guys think about this advice I found on a Ubuntu site |
I have a server with Buster and I installed OpenVPN, I generated keys by openssl and everything works ok. Now I should create a key for SSH, should I install other packages or could I use openssl? GabrieleMax | GabrieleMax wrote:I have a server with Buster and I installed OpenVPN, I generated keys by openssl and everything works ok. Now I should create a key for SSH, should I install other packages or could I use openssl? GabrieleMax SSH keys are created using ssh-keygen, which is part of the openssh-client package. |
I have several partitions on my drive that I use for different distros. The full distros always detect the two monitors connected to one graphics card with digital and analog outputs. My netinstall distro detects only one output and displays the same screen on both monitors. xrandr in netinstall gives this result: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024 default connected 1280x1024+0+0 0mm x 0mm 1280x1024 0.00* 640x480 0.00 As a comparison, the antiX distro's xrandr gives this result: Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 16384 x 16384 DVI-0 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.02*+ 75.02 1152x864 75.00 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 56.25 640x480 75.00 72.81 66.67 59.94 720x400 70.08 VGA-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 60.02*+ 75.02 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 720x400 70.08 I have searched a lot of posts from people with similar problems, but none of the suggested fixes worked for me. Why doesn't netinstall see both monitors? Is some other package besides xrandr needed for this? Lane | LaneLester wrote:the two monitors connected to one graphics card Is the identity of this mysterious graphics card a closely guarded secret or can you share it with us? https://wiki.debian.org/HowToIdentifyADevice/PCI |
Greetings, I have a Debian stretch installation version 9.5, my router is a vm on that machine that has one usb device (wireless) configured as passthough. the kernel version was 4.15.11-1~bpo9+1 (installed due to usb3 issues), the relevant vm config is as follows: Code: Select all <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x148f'/> <product id='0x5572'/> </source> <address type='usb' bus='0' port='1'/> </hostdev> the address part was added auto by virsh. this system uses another usb dongle (dvb) which resulted in usb -110 errors. I've searched for the reason and found out that in kernel 4.9 some memory apis were changed and such errors are results of memory corruption which will be fixed in later versions. I've decided to upgrade the kernel to 4.18.6-1~bpo9+1 which I did. since then, the vm won't boot with the usb passthough set, the error I'm getting is this: Code: Select allerror: Failed to start domain router error: internal error: qemu unexpectedly closed the monitor: 2018-11-02T13:43:32.174730Z qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=4,id=hostdev4,bus=usb.0,port=1: failed to find host usb device 1:4 the output of lsusb -t is this: Code: Select all/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=dvb_usb_cxusb, 480M |__ Port 6: Dev 4, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M |__ Port 8: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M rt2800usb is the device I want pass to the vm. any ideas how I can fix this? thanks, Dagg. | Looks like you are passing the device and not the port? Try passing the port with vfio. Edited example: Code: Select all# lspci -v -d 1033: 07:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI]) Subsystem: Super Micro Computer Inc uPD720200 USB 3.0 Host Controller ...... Kernel driver in use: vfio-pci Kernel modules: xhci_pci 08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI]) Subsystem: Super Micro Computer Inc uPD720200 USB 3.0 Host Controller ...... Kernel driver in use: xhci_hcd Kernel modules: xhci_pci Here there are two usb3 controllers, one is for host use, the first one is attached to the vm (vfio-pci) . When you pass only the usb device there is a dependence on how it is handled on the host, ie how will the driver release it. If you pass the whole port it simply yanks it from the host, the vm gets the native port with whatever devices Some change in the kernel may be preventing the dongle from releasing from the host, I've had this issue. I'm also interested in what is running in this vm! |
So I'm running Debian Testing, and the latest update seems to have broken Samba entirely. I purged and then re-installed the following packages: samba-common samba python-samba smbclient libnss-winbind samba-common-bin winbind and even when using all of the default configs, the systemctl status for smbd is: Code: Select all● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: en Active: failed (Result: exit-code) since Fri 2018-11-09 21:53:17 EST; 26s ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Main PID: 7413 (code=exited, status=255) Nov 09 21:53:17 aqua systemd[1]: Starting Samba SMB Daemon... Nov 09 21:53:17 aqua systemd[1]: smbd.service: Main process exited, code=exited, Nov 09 21:53:17 aqua systemd[1]: smbd.service: Failed with result 'exit-code'. Nov 09 21:53:17 aqua systemd[1]: Failed to start Samba SMB Daemon. Which doesn't really tell me anything useful. With my original config, it whines about "setting up guest info", even though my config has nothing related to guests enabled (everything related to guests is either missing or commented out). With my original config, the /var/log/samba/smbd.log looks like this: Code: Select all[2018/11/09 21:53:17.306296, 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) create_local_token failed: NT_STATUS_ACCESS_DENIED [2018/11/09 21:53:17.306367, 0] ../source3/smbd/server.c:2000(main) ERROR: failed to setup guest info. Anyway, since I'm getting errors even with the original/default smb.conf, this leads me to believe this problem exists elsewhere, but at this point I have no idea where to look. | Sometimes when systemctl status shows 'exited with error code" you can get more info with journalctl. Also, sometimes I look in the service file, find the script it is executing and go look at it to find out. Often this stuff is a bad/missing config or wrong path etc, extra character in a file, that makes a script throw an error. Sometimes it helps to run the command from the service file in a terminal and see what pops out. for instance, I added a character at the beginning of the first #comment in a config file accidentally. config files can be in ~/home also, so don;t forget to look there. Sometimes, I use reportbug to start a bug, then abort because I see the problem from all the info it gathers. |
Edit, I've changed the title because it appears Synaptic wants to do a full upgrade from Backports not Stretch. Apparently, some packages in backports keep the deb9u designation. I run Synaptic every few days to keep my Jessie system up to date. All of a sudden it want's to install or update over 200 packages... That's more than any point upgrade I've ever done. looking at the version numbers, I think it's trying to update to Stretch, for some reason. Jessie has gone to LTS, but when I looked at repo changes, it looked like there were none to make. Here is my sources.list..... unchanged for quite some time. When I clicked on properties in Synaptic, for a package, it told me two versions were availble "old stable" and "httpredir.debian.org". Is the redirector not available for LTS? Code: Select all#Debian security deb http://security.debian.org/ jessie/updates main #Debian mirror deb http://httpredir.debian.org/debian/ jessie main contrib non-free #Debian jessie-updates mirror deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free #Debian jessie-backports mirror deb http://httpredir.debian.org/debian/ jessie-backports main contrib non-free #Palemoon deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_8.0/ / #Google Chrome deb http://dl.google.com/linux/chrome/deb/ stable main #deb-multimedia.org # deb ftp://ftp.deb-multimedia.org/ jessie main non-free #HP repository # deb http://downloads.linux.hpe.com/SDR/repo/mcp/ jessie/current non-free #Virtualbox deb http://download.virtualbox.org/virtualbox/debian/ jessie contrib | No_windows wrote:How can I get a text printing of the files so that I can post them here without actually installing them. Run, as user: Code: Select all$ apt-get upgrade -s -s means simulate To show all repositories you could install inxi and run Code: Select allinxi -r or just check any files in in /etc/apt/sources.list.d/ as mentioned above. |
A "hello" to all who read this, I am running "Jessie" 8.11 on an old (as in "old") Core2Duo//2 GB RAM//Geforce 6700XL//1 TB HD computer since 2015 or so. It has always worked quite well, but now I am having a serious problem that I cannot solve myself. Debian is connected to the VGA port of a flatscreen (which is being used with another, newer computer via DVI) over a VGA cable that is connected with a VGA-to-DVI adapter in the DVI port of the Geforce. (As for the VGA-to-DVI connector: if I connect the VGA cable to the Geforce's VGA port, then the USB mouse cursor is "vibrating" on the screen.) Installed alongside Debian is LMDE3 (formerly LMDE2) and Xubuntu (since a few weeks, as I had an extra partition on this 1 TB HD). LMDE3 and Xubuntu both boot and run fine (albeit not super-duper fast on this old machine), but since earlier this week Debian no longer (fully) boots. It stays stuck at: Code: Select allLoading, please wait... /dev/sda2: recovering journal /devs/sda2: clean, 868114/12214272 files, 16008741/48827904 blocks Code: Select allLoading, please wait... /dev/sda2: recovering journal /devs/sda2: clean, 870825/12214272 files, 16004030/48827904 blocks (The journal recovering being, because I have to press the Reset button to restart the machine.) Just for fun ( ), a few days ago I replaced the Geforce 6700XL by an "8400GS", which has passive cooling, but is a slower card, so I put the "6700XL" back in. Since then (conincidentally or not), Debian stops at the aforementioned "Loading, please wait" message. -oo- Interestingly, this morning I booted Debian with SysVInit (in the GRUB menu) instead of systemd - and to my surprise Debian booted and works just fine. I am typing this in Debian w/ sysVinit. I have no idea how to fix this, or not even where the problem is. Google does not (really) help me any further with the "Loading, please wait..." information. Following https://unix.stackexchange.com/question ... ew-install I can boot Debian by changing "ro quiet " to "ro nomodeset quiet", but despite the update-grub, that setting seems to disappear after reboot and I end up at that "Loading, please wait..." text on the screen. Since operating systems are female, I have learned from experience not to mess or meddle with OS's, so my Debian install is about as clean as you can get. -oo- It was thinking that the graphics card switch had caused Debian not to boot, but I am now suspecting it might have been a Xubuntu update of GRUB (which Xubuntu did update, I think, if I recall correctly). Has Xubuntu somehow messed up the Debian boot-thing thang? Why does Debian boot fine with SysVinit, but not with systemd? Has anyone ever heard of something like this? | Just a couple guesses FWIW. There are some good old threads from Head_on_A_Stick (check spelling) from a few yrs ago that really helped a lot with this kind of thing, did you search the forum? Boot stays stuck for how long? Problems with network mounts can delay boot quite a long time. Systemd in my experience is not very forgiving about fstab, one mistake and you're done. I think it's a good idea personally, the machine should not boot with an incorrect fstab, but many people ran into that a few yrs ago. I rememeber a lot of shock that systemd expected them to know how to setup a correct fstab. If you get any errors when booting with sysVinit that might be a clue. I kind of miss it sometimes, it was very forgiving. But with the way things depend on other things during a systemd boot, I really couldn't say if that's a possibility or not.. Have you tried single user mode? I always try that first when I get an error booting. Edit: ...I can boot Debian by changing "ro quiet " to "ro nomodeset quiet", but despite the update-grub, that setting seems to disappear after reboot... ah, I missed this. I haven't used nomodest in a long time. Not sure why you'd need that with systemd but not sysvinit? Look up nomodeset+permanent or something (not on google), it goes in /etc/default/grub |
What's wrong: My display has a resolution of 1366 x 768 (16:9), but I'm only getting 800 x 600 (4:3). The full display is being used, but everything is much larger and fuzzier than it should be. Under GNOME Settings, it calls the display "Unknown" and gives 800 x 600 as the only option. I also have Windows 10 on my computer, and the display works flawlessly when running that. What I have: An HP Pavilion laptop with an AMD Ryzen 3 2300U and Radeon Vega 6 graphics. I have Windows 10 on the internal drive, and I run Debian 9.5 Stable from an external one. Here's what I got from xrandr and lspci: Code: Select allxrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600 default connected primary 800x600+0+0 0mm x 0mm 800x600 75.00* Code: Select alllspci | grep VGA 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15dd (rev cc) 04:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Device 15e6 What I've done: I installed Debian onto an external drive with nonfree wifi firmware to have the wifi work. That was a success, but the screen resolution was low and could not be changed. I first tried a fix from this article: https://mike42.me/blog/2018-01-how-to-u ... n-debian-9, but it didn't work. That solution failed because lspci | grep Radeon returned nothing for me. I then tried a solution on the Debian Wiki: https://wiki.debian.org/AtiHowTo, but that didn't work either. Does anyone know how to fix this? | https://packages.debian.org/stretch-bac ... re-realtek |
Sudden failure to obtain DHCP IP address using Wicd 1.7.2.4 - No previous DHCP issues with this computer/router - Computer can connect to WiFi router with Wicd using static IP address - wicd.log shows DHCPOFFERs ignored on first attempt, no DHCPOFFERs later (MAC<-->leased IP?) - Other devices can get DHCP leases from router - No other router available for testing Wicd config: - DHCP Client - Automatic - Driver - wext - Backend - external - Debug mode - enabled Not sure where/how to start troubleshooting. Did try manual wpa_supplicant and got successful association but did not know how to try to configure wlan0 as a DHCP client and the sequence of port config, association, and lease request. I'm out of my depth here. Suggestions? Running Debian 8/Jessie uname -a Linux hp-deb 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64 GNU/Linux Code: Select all2018/11/27 06:10:00 :: Listening on LPF/wlan0/2c:33:7a:10:d3:b1 2018/11/27 06:10:00 :: Sending on LPF/wlan0/2c:33:7a:10:d3:b1 2018/11/27 06:10:00 :: Sending on Socket/fallback 2018/11/27 06:10:00 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 2018/11/27 06:10:00 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 >>>2018/11/27 06:10:00 :: DHCPOFFER from 10.0.0.1 2018/11/27 06:10:03 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 2018/11/27 06:10:06 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 2018/11/27 06:10:14 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 2018/11/27 06:10:14 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 >>>2018/11/27 06:10:14 :: DHCPOFFER from 10.0.0.1 2018/11/27 06:10:20 :: canceling connection attempt 2018/11/27 06:10:20 :: attempting to set hostname with dhclient 2018/11/27 06:10:20 :: using dhcpcd or another supported client may work better 2018/11/27 06:10:20 :: running kill dhcp. 2018/11/27 06:10:20 :: DHCP connection failed 2018/11/27 06:10:20 :: Exception in thread Thread-6: 2018/11/27 06:10:20 :: Traceback (most recent call last): 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner 2018/11/27 06:10:20 :: self.run() 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/networking.py", line 350, in run 2018/11/27 06:10:20 :: self._connect() 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/networking.py", line 941, in _connect 2018/11/27 06:10:20 :: self.set_ip_address(wiface) 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/networking.py", line 73, in wrapper 2018/11/27 06:10:20 :: return func(self, *__args, **__kargs) 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/networking.py", line 469, in set_ip_address 2018/11/27 06:10:20 :: dhcp_status = iface.StartDHCP(hname) 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/wnettools.py", line 195, in newfunc 2018/11/27 06:10:20 :: return func(self, *args, **kwargs) 2018/11/27 06:10:20 :: File "/usr/lib/python2.7/dist-packages/wicd/wnettools.py", line 622, in StartDHCP 2018/11/27 06:10:20 :: self.dhcp_object.wait() 2018/11/27 06:10:20 :: AttributeError: 'NoneType' object has no attribute 'wait' 2018/11/27 06:10:20 :: 2018/11/27 06:10:20 :: Sending connection attempt result aborted 2018/11/27 06:11:45 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 4 2018/11/27 06:11:49 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 6 2018/11/27 06:11:55 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 11 2018/11/27 06:12:06 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 15 2018/11/27 06:12:21 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 8 2018/11/27 06:12:29 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 10 2018/11/27 06:12:39 :: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 7 >>>2018/11/27 06:12:46 :: No DHCPOFFERS received. | Neglected to mention that I removed wicd and re-installed it, along with suggested files. No change. My guess is that a config file or non-wicd-specific python library is damaged... |
Hi everybody! I got a Debian Buster server (without desktop) where I have OpenVPN+SSL, when I use two smartphones with android I can connect to the server but on a client with Debian Buster+KDE I got a TLS error and I can't understand why it happens... GabrieleMax | Wow, that's bad. I hate that for ya. You really need to give a better problem description. Why are you using testing? |
Hello everybody!! I'm having problems mounting a partition I've created, when running the mount command I get the following message: Code: Select allroot@Zion:~# mount /dev/sda2 /lfs mount: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. root@Zion:~# So when I looked in blkid I noticed the partition I was trying to mount didn't has the proper filesystem: Code: Select allroot@Zion:~# blkid /dev/sda1: UUID="700c8c81-31f5-4ec3-83d3-26815647ad5a" TYPE="ext4" PARTUUID="2048ccfc-01" /dev/sda3: UUID="9ad911a8-7d28-4777-ac62-18f3795896ef" TYPE="swap" PARTUUID="2048ccfc-03" /dev/sda2: PTTYPE="dos" PARTUUID="2048ccfc-02" I tried to change the filesystem with mkfs -t ext4 and with mkfs.ext4, and both seems to work properly at first, but the filetype of the partition doesn't show any change. I hope you could help me with this problem. Thx a lot!! | Change the type code to 83 with a partition editor, and then run partprobe. You may need to reboot if you rearranged partitions. I usually reboot after editing the partition table the os is on, just to be sure. After reboot, then use mkfs and try to mount it. http://www.tldp.org/HOWTO/Partition-Mas ... /x190.html |
Hello, Update to open-iscsi 2.0.874-7 on buster/sid fails on my machine (booting on iscsi) : Code: Select alliscsid.service - iSCSI initiator daemon (iscsid) Loaded: loaded (/lib/systemd/system/iscsid.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2018-10-14 20:48:53 CEST; 5ms ago Docs: man:iscsid(8) Process: 4915 ExecStart=/sbin/iscsid (code=exited, status=1/FAILURE) Process: 4912 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS) Oct 14 20:48:53 titan systemd[1]: Starting iSCSI initiator daemon (iscsid)... Oct 14 20:48:53 titan iscsid[4915]: iSCSI logger with pid=4916 started! Oct 14 20:48:53 titan systemd[1]: iscsid.service: Control process exited, code=exited status=1 Oct 14 20:48:53 titan systemd[1]: iscsid.service: Failed with result 'exit-code'. Oct 14 20:48:53 titan systemd[1]: Failed to start iSCSI initiator daemon (iscsid). I'm running kernel 4.18.0-1-amd64, I made initrd with dracut to boot on an iscsi lun : Code: Select allImage: /boot/initrd.img-4.18.0-1-amd64: 42M ======================================================================== Version: dracut-048+80-1-1 Arguments: -q --force dracut modules: bash dash modsign console-setup network ifcfg crypt dm dmraid kernel-modules kernel-network-modules lvm mdraid overlay-root qemu qemu-net iscsi lunmask nfs resume rootfs-block terminfo udev-rules virtfs usrmount base fs-lib shutdown iscsid is running: Code: Select allroot@titan:~# ps aux | grep iscsi root 259 0.0 0.0 0 0 ? I< 20:26 0:00 [iscsi_eh] root 896 0.0 0.0 6852 296 ? Ss 20:26 0:00 /sbin/iscsid root 897 0.0 0.0 7700 5636 ? S<Ls 20:26 0:00 /sbin/iscsid root 903 0.0 0.0 0 0 ? I< 20:26 0:00 [iscsi_q_6] I noticed this : Code: Select allroot@titan:~# iscsiadm -m discovery -t st -p 172.16.1.3 iscsiadm: Cannot perform discovery. Initiatorname required. iscsiadm: Could not perform SendTargets discovery: daemon access denied Any idea or tips please ? Greetings from Belgium Aril | Solved by disabling the iscsid and open-iscsi services at boot (rcconf can be used to do that) |
I can neither install (to /opt) nor run the web browser Eolie: https://wiki.gnome.org/Apps/Eolie. In summary, checkinstall fails with "make: *** No rule to make target 'install'. Stop." and running the application's sh script indicates that WebKit2GTK is not being detected. I downloaded the source code, installed dependencies, and followed installation instructions from the README up until this point: Code: Select all$ cd eolie $ meson build $ sudo ninja -C build install There are no errors in the log files. When I run "sudo ./run.sh," installation gets this far and stops: Code: Select allRunning custom install script '/usr/bin/env python3 /opt/eolie-0.9.39/meson_post_install.py' Updating icon cache... Installing new Schemas You need WebKit2GTK >= 2.20 But I seem to have a suitable webkit2gtk version installed Code: Select allapt list --installed | grep webkit2gtk Code: Select alllibwebkit2gtk-4.0-37/stable,now 2.18.6-1~deb9u1 amd64 [installed] libwebkit2gtk-4.0-dev/stable,now 2.18.6-1~deb9u1 amd64 [installed] When I try to complete the installation with "checkinstall," I get this error Code: Select all========================= Installation results =========================== make: *** No rule to make target 'install'. Stop. **** Installation failed. Aborting package creation. Cleaning up...OK Bye. Is there supposed to be a Makefile in the directory? There isn't one. I don't understand why there were no build errors if WebKit2GTK isn't being detected. | never heard of it, but since you need ver 2.20 and you have ver 2.18 that seems obvious |
Hi Everyone, My situation as noted above is that df -h is not displaying the additional space that I allocated to a logical volume. I know for a fact that I had the room to extend the volume but taking a look at vgdisplay, as well as shrinking another volume that didn't need so much room. Here were my steps as noted in several how-to's and other articles. They pretty much all spell out the same steps. 1- Used umount on the logical volume, I realize that it doesn't need to be unmounted, but better safe then sorry (has to be done when shrinking). 2- Used lvextend -L+250G /dev/fileserver/tvshows -steps worked fine 3- Used resize2fs /dev/fileserver/tvshows 4-Got the message that the file system needed to be checked, looked back at the documentation, saw the step. 5-ran e2fsck -f /dev/fileserver/tvshows - no issues -this is where things get messed up 6- Final step- ran resize2fs /dev/fileserver/tvshows Revived the message - the file system is already ... long, nothing to do. Took a look at df -h, no additional space added. I'm kind of at a loss here. Tried rebooting and same issue. Thanks for any and all help. Tried unmounting and re-mounting, not fixed. File system is ext4. John | Can you post the result of the following commands so that we can have a better picture of the situation ? Code: Select alllvdisplay /dev/fileserver/tvshows tune2fs -l /dev/fileserver/tvshows df -h /dev/fileserver/tvshows |
Debian 9.5, XFCE After installing gpsd, I get this error message every time I install some package:Code: Select allSetting up gpsd (3.16-4) ... Creating/updating gpsd user account... A dependency job for gpsd.service failed. See 'journalctl -xe' for details. invoke-rc.d: initscript gpsd, action "start" failed. ● gpsd.service - GPS (Global Positioning System) Daemon Loaded: loaded (/lib/systemd/system/gpsd.service; indirect; vendor preset: enabled) Active: inactive (dead) loka 04 16:20:31 samsung systemd[1]: Dependency failed for GPS (Global Posi…mon. loka 04 16:20:31 samsung systemd[1]: gpsd.service: Job gpsd.service/start f…cy'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package gpsd (--configure): subprocess installed post-installation script returned error exit status 1 Setting up fprintd (0.7.0-1) ... Setting up libpam-fprintd:i386 (0.7.0-1) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.26-0+deb9u1) ... Errors were encountered while processing: gpsd E: Sub-process /usr/bin/dpkg returned an error code (1) gpsd is working anyway. How to get rid of that error? | Did you check journalctl -xe for details? |
I'll start by saying that this isn't really something that needs to be solved. Its more that I'm interested in any feedback of where it may have been going wrong. Yesterday I was having some issues with NetworkManager in Gnome 3.30. What was happening is that if I used to NetworkManager to configure the connection I was getting errors like the example below. Even though it is stating the the ssid was not found it is correct. So as an attempt to eliminate testing as a problem, I quickly installed stable into a separate partition (separate /boot, same /home) which resulted in the same issue. In both cases the firmware was installed. Code: Select allOct 6 14:52:49 debian NetworkManager[571]: <info> [1538862769.1114] device (wlx60a44cec22f5): supplicant interface state: authenticating -> disconnected Oct 6 14:52:49 debian NetworkManager[571]: <info> [1538862769.6119] device (wlx60a44cec22f5): supplicant interface state: disconnected -> scanning Oct 6 14:52:52 debian NetworkManager[571]: <warn> [1538862772.4955] device (wlx60a44cec22f5): Activation: (wifi) association took too long, failing activation Oct 6 14:52:52 debian NetworkManager[571]: <info> [1538862772.4955] device (wlx60a44cec22f5): state change: config -> failed (reason 'ssid-not-found') [50 120 53] Oct 6 14:52:52 debian NetworkManager[571]: <warn> [1538862772.4959] device (wlx60a44cec22f5): Activation: failed for connection 'TELUS2084-5G' Oct 6 14:52:52 debian NetworkManager[571]: <info> [1538862772.5278] device (wlx60a44cec22f5): supplicant interface state: scanning -> disconnected Oct 6 14:52:52 debian NetworkManager[571]: <info> [1538862772.5368] device (wlx60a44cec22f5): state change: failed -> disconnected (reason 'none') [120 30 0] Oct 6 14:52:52 debian kernel: [ 84.044513] IPv6: ADDRCONF(NETDEV_UP): wlx60a44cec22f5: link is not ready Where is gets odd is that if I configure the interface manually in /etc/interfaces everything works beautify. So I have removed NetworkManager since I don't need it anymore and I think it will stay that way now since my unmanaged connection seems to be working just fine. I would however be interested if anyone else has run into this issue. I would be interested in why NetworkManager seemed to be misbehaving. I have since configured stable with a similar setup to what I was using in Testing + firefox from Sid. I would appear that for my use I don't really need to be running testing and getting piles of updates. I may just stay on stretch now and enjoy the calmer update frequency. Coming back to debian from Fedora I went to testing initially but Stable + some selected backports seems to be working just fine for now. That and I don't really want to mess with something thats working right now. | There are some really strange issues with networkmanager. I decided to use it on my netbook awhile back and did some research. The issues are pretty well covered on it's bug page, https://bugs.debian.org/network-manager From what I have read, some people believe these issues are driver related, affecting different devices in different ways. Others say wpasupplicant is the cause. Then there are those that blam the persistent naming features introduced with systemd/udev. Many users find relief by disabling or tweaking the random MAC features in networkmanager. It's your call, I think it would be great if it got pinned down and improved. I have it very working very reliable on my old b43 wifi but it took a lot of tweaking and config trial and error. If you have the time, dig deeper and file a bug report with what you find out? Might help someone someday... |
Hello, I have a fresh and updated installation of Debian Stretch on my HP Pavilion dv5, and I cannot figure out why I cannot suspend or hibernate using the following commands: Code: Select allsystemctl suspend Code: Select allsystemctl hibernate Here are the logs for suspend: Code: Select all$ journalctl -r -u suspend.target -- Logs begin at Wed 2018-10-03 13:03:19 BST, end at Thu 2018-10-04 08:36:16 BST. -- Oct 04 08:35:58 hp systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'. Oct 04 08:35:58 hp systemd[1]: Dependency failed for Suspend. Code: Select all$ systemctl list-dependencies -a suspend.target suspend.target ● └─systemd-suspend.service (red) ● ├─system.slice (green) ● │ └─-.slice (green) ● └─sleep.target (gray) Code: Select all$ journalctl -r -u systemd-suspend.service -- Logs begin at Wed 2018-10-03 13:03:19 BST, end at Thu 2018-10-04 08:39:21 BST. -- Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Failed with result 'exit-code'. Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Unit entered failed state. Oct 04 08:35:58 hp systemd[1]: Failed to start Suspend. Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE Oct 04 08:35:25 hp systemd-sleep[3173]: Suspending system... Oct 04 08:35:25 hp systemd[1]: Starting Suspend... Code: Select all$ systemctl status systemd-suspend.service ● systemd-suspend.service - Suspend Loaded: loaded (/lib/systemd/system/systemd-suspend.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2018-10-04 08:35:58 BST; 7min ago Docs: man:systemd-suspend.service(8) Process: 3173 ExecStart=/lib/systemd/systemd-sleep suspend (code=exited, status=1/FAILURE) Main PID: 3173 (code=exited, status=1/FAILURE) Oct 04 08:35:25 hp systemd[1]: Starting Suspend... Oct 04 08:35:25 hp systemd-sleep[3173]: Suspending system... Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE Oct 04 08:35:58 hp systemd[1]: Failed to start Suspend. Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Unit entered failed state. Oct 04 08:35:58 hp systemd[1]: systemd-suspend.service: Failed with result 'exit-code'. Here are the logs for hibernate: Code: Select all$ journalctl -r -u hibernate.target -- Logs begin at Wed 2018-10-03 13:03:19 BST, end at Thu 2018-10-04 08:54:21 BST. -- Oct 04 08:54:06 hp systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'. Oct 04 08:54:06 hp systemd[1]: Dependency failed for Hibernate. Code: Select all$ systemctl list-dependencies -a hibernate.target hibernate.target ● └─systemd-hibernate.service (red) ● ├─system.slice (green) ● │ └─-.slice (green) ● └─sleep.target (gray) Code: Select all$ journalctl -r -u systemd-hibernate.service -- Logs begin at Wed 2018-10-03 13:03:19 BST, end at Thu 2018-10-04 08:55:27 BST. -- Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'. Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Unit entered failed state. Oct 04 08:54:06 hp systemd[1]: Failed to start Hibernate. Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE Oct 04 08:53:39 hp systemd-sleep[12194]: Suspending system... Oct 04 08:53:39 hp systemd[1]: Starting Hibernate... Code: Select all$ systemctl status systemd-hibernate.service ● systemd-hibernate.service - Hibernate Loaded: loaded (/lib/systemd/system/systemd-hibernate.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2018-10-04 08:54:06 BST; 1min 51s ago Docs: man:systemd-suspend.service(8) Process: 12194 ExecStart=/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE) Main PID: 12194 (code=exited, status=1/FAILURE) Oct 04 08:53:39 hp systemd[1]: Starting Hibernate... Oct 04 08:53:39 hp systemd-sleep[12194]: Suspending system... Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE Oct 04 08:54:06 hp systemd[1]: Failed to start Hibernate. Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Unit entered failed state. Oct 04 08:54:06 hp systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'. I remember in my old OS (Gentoo), with a kernel 4.4.x I was able to hibernate (but not suspend). Any kernel >=4.5.0 made hibernation not possible. Please help. Thanks! | Adding more information to this topic. I downloaded the latest version of the 4.4.x Linux kernel series (at the moment of writing this post is 4.4.160) and I followed these steps to build Debian packages for it: - Download the kernel tarball - Unpack it in /usr/src/ - Copy the config file of the kernel I'm currently using from /boot/ to /usr/src/linux-4.4.160/ - Run "make oldconfig". Some options that exist in 4.9.x don't exist in 4.4.x so I see questions about what to do. I choose always the default option. - I build the kernel and the Debian packages by running "make deb-pkg" - The resulting packages are kept in /usr/src/. I install all of them using "ls /usr/src/*.deb | xargs dpkg -i". - I regenerate the grub config file so new options to boot that kernel are added to the menu by running "grub-mkconfig -o /boot/grub/grub.cfg" - I boot Debian using that kernel, then I try to hibernate using "systemctl hibernate" and it works. |
Hi everybody, I'm on Debian Testing + Xfce, fresh install. Since I installed network-manager-gnome, login has become incredibly slow but I really dont know if this is related to the package I installed. Packages "libaccountsservice0" and "libblockdev-mdraid2" are installed. I switched from lightdm to slim and then again back to lightdm, nothing changes at all. Here's my /var/log/auth.log: Code: Select allsudo cat /var/log/auth.log | grep Failed [sudo] password di adina: Oct 13 20:26:59 adina dbus-daemon[391]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:27:26 adina dbus-daemon[391]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:27:51 adina dbus-daemon[391]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:33:16 adina dbus-daemon[417]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:33:42 adina dbus-daemon[417]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:34:07 adina dbus-daemon[417]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 20:37:33 adina dbus-daemon[417]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 21:02:54 adina dbus-daemon[394]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:03:21 adina dbus-daemon[394]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:03:46 adina dbus-daemon[394]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:08:35 adina dbus-daemon[394]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 21:11:04 adina dbus-daemon[394]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 21:17:04 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:17:30 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:17:55 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 21:18:06 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 21:51:55 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:02:00 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:05:40 adina dbus-daemon[390]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:06:06 adina dbus-daemon[390]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:07:03 adina dbus-daemon[390]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:11:56 adina dbus-daemon[396]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:12:22 adina dbus-daemon[396]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:12:47 adina dbus-daemon[396]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:13:10 adina dbus-daemon[396]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:15:57 adina dbus-daemon[396]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:28:25 adina dbus-daemon[396]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:35:56 adina dbus-daemon[398]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:36:22 adina dbus-daemon[398]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:36:47 adina dbus-daemon[398]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 22:36:48 adina dbus-daemon[398]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 22:57:45 adina dbus-daemon[398]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 23:03:33 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 23:09:37 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 23:10:03 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 13 23:10:20 adina dbus-daemon[402]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 13 23:10:29 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:30:48 adina dbus-daemon[404]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:31:08 adina dbus-daemon[404]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 00:31:14 adina dbus-daemon[404]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:31:39 adina dbus-daemon[404]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:49:40 adina dbus-daemon[416]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:50:05 adina dbus-daemon[416]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 00:55:14 adina dbus-daemon[416]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 01:13:38 adina dbus-daemon[404]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 01:52:36 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 01:52:57 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 01:53:02 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 01:53:27 adina dbus-daemon[395]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 01:57:27 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 01:57:53 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:01:29 adina dbus-daemon[402]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 02:23:59 adina dbus-daemon[398]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:24:26 adina dbus-daemon[398]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:30:09 adina dbus-daemon[398]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 02:41:07 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:41:33 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:41:58 adina dbus-daemon[402]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out (service_start_timeout=25000ms) Oct 16 02:42:36 adina dbus-daemon[402]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Oct 16 02:48:17 adina dbus-daemon[395]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Here's /var/log/syslog: Code: Select allsudo cat /var/log/syslog | grep failed Oct 9 18:39:02 adina kernel: [ 0.387170] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 17:54:21 adina kernel: [ 0.383197] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 17:59:39 adina kernel: [ 0.383222] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 18:14:51 adina kernel: [ 0.387160] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 18:25:23 adina kernel: [ 0.383180] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 18:37:50 adina kernel: [ 0.383225] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 18:59:49 adina kernel: [ 0.391690] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 19:43:44 adina kernel: [ 0.101654] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 20:19:17 adina udisksd[6231]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 20:26:04 adina kernel: [ 0.101518] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 20:26:06 adina udisksd[390]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 20:32:20 adina kernel: [ 0.125685] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 20:32:22 adina udisksd[416]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 21:01:49 adina kernel: [ 0.125787] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 21:01:51 adina udisksd[393]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 21:02:23 adina lightdm[565]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Oct 13 21:15:59 adina kernel: [ 0.105692] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 21:16:00 adina udisksd[393]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 22:04:32 adina kernel: [ 0.102242] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 22:04:34 adina udisksd[397]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 22:10:59 adina kernel: [ 0.101750] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 22:11:01 adina udisksd[389]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 22:25:36 adina kernel: [ 897.230308] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168e-3.fw (-2) Oct 13 22:25:36 adina kernel: [ 897.230331] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2 Oct 13 22:35:01 adina kernel: [ 0.125866] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 22:35:04 adina udisksd[395]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 22:35:05 adina kernel: [ 26.784944] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168e-3.fw (-2) Oct 13 22:35:05 adina kernel: [ 26.785255] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2 Oct 13 22:59:26 adina kernel: [ 0.101903] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 22:59:29 adina udisksd[392]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 13 22:59:31 adina kernel: [ 25.362220] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168e-3.fw (-2) Oct 13 22:59:31 adina kernel: [ 25.362531] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2 Oct 13 23:06:05 adina kernel: [ 0.101714] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 13 23:06:08 adina udisksd[397]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 00:29:14 adina kernel: [ 0.125852] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 00:29:20 adina udisksd[412]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 00:46:49 adina kernel: [ 0.101177] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 00:46:51 adina udisksd[421]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 01:09:50 adina kernel: [ 0.100442] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 01:09:54 adina udisksd[415]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 01:49:57 adina kernel: [ 0.125128] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 01:50:00 adina udisksd[393]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 01:55:29 adina kernel: [ 0.125127] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 01:55:31 adina udisksd[409]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory Oct 16 02:21:58 adina kernel: [ 0.100875] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 02:38:12 adina kernel: [ 0.100844] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM Oct 16 02:44:20 adina kernel: [ 0.124774] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM I looked around for solutions but I really dunno what to do. Thanks in advance, Andrea. | UPDATE I disabled bluetooth.service and did Code: Select allsudo systemctl stop rtkit-daemon.service && sudo systemctl disable rtkit-daemon.service then disabled acpi, nothing changes. |
Hi all, I get this error on bootup, and also when I type "systemctl status networking.service" from the CL. Code: Select alldrexl@debianWorkstation:~$ systemctl status networking.service ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-09-29 09:03:23 CEST; 5min ago Docs: man:interfaces(5) Process: 862 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE) Process: 688 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status= Main PID: 862 (code=exited, status=1/FAILURE) Networking, however, works perfectly fine. What does this error mean? How can I get rid of it showing up every single bootup?? | What is the output of : Code: Select allcat /etc/network/interfaces.d/* ifup -a -v |
Hi everyone! I was editing my fstab and i made a dumb I was editing fstab because im using an ssd hd, só i wish to put noatime in the respective line BUT........ when i was editing, i leave the end of line like that: noatime,errors 0 0 Instead noatime,errors=remount-ro 0 0 And now i cant access the hd, even using another debian i have on the other HD. When i try mount gimme this error: An error has ocurred accessing hard disk 217,6 GiB', system says: The requested operation has failed: Error mounting system-managed device /dev/sdb1: Command-line `mount "/media/supercharger"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. And now i cant access the HD to edit fstab again... someone can help me? | Boot from a LiveCD and repair? |
Hello, I'm on a Stretch 9.2 on a Dell laptop 5480 wich has a ssd (256Go). I'm a bit puzzled by the explanations I found on the net about the safe config for a ssd (perhaps because some are outdated?). In particular I read that the option "realtime" is now used by default by the kernel and then that the option "noatime" is not really necessary in /etc/fstab is that true? In addition none of these option are in my fstab file, so should I change it? | linuxsat wrote:In particular I read that the option "realtime" is now used by default by the kernel It is not "realtime" but "relatime" (short for "relative access time"). It means that the access time is updated (i.e.) written only once after a write or once a day, whichever happens first. Unlike noatime, it allows to know whether a file has been read after the last write, while still reducing writes. It has been the default for ages. linuxsat wrote:and then that the option "noatime" is not really necessary in /etc/fstab is that true? Quite, unless you really want to minimize writes. But noatime may break a few programs which rely on file access time. Modern SSDs should be able to bear the extra writes caused by relatime. linuxsat wrote:In addition none of these option are in my fstab file, so should I change it? relatime is the default, so if this is what you want you do not have to set it in fstab. If you want noatime, you can set it in fstab or in the filesystem default mount options (see tune2fs manpage for an ext4 filesystem). |
Firefox updated without my knowledge surreptitiously and I hate it now , because every time I open it it serves me crap from celebs. But that is the least of my concerns, problem is flash player no longer works. libflashplayer.so is always in /usr/lib/mozilla/plugins, but it no longer works. I need flash, not because I like it but because some of the websites I use for work use it.. How can I get it to work again? | I tried the semi-automatic method recommended in the wiki but it does not work, throws syntax errors. |
adding shares to smb.conf works, but i can't share anything with dolphin or net usershare smb.confCode: Select all[global] workgroup = WORKGROUP server string = Samba Server load printers = no security = user map to guest = Bad User log file = /var/log/samba/%m.log max log size = 50 name resolve order = wins bcast host wins support = yes usershare path = /var/lib/samba/usershares usershare max shares = 100 usershare allow guests = yes [Black] path=/media/Black only guest = yes public = yes guest ok = yes guest only = yes browsable = yes [RedPro] path=/media/RedPro only guest = yes public = yes guest ok = yes guest only = yes browsable = yesnet usershare infoCode: Select all[Downloads] path=/home/oxygene/Downloads comment= usershare_acl=Everyone:R, guest_ok=yPS:I'm using buster/testing | Didn't you have some problem with testing the other day? If you're using testing/sid then you should say so in your questions. |
I just installed a fresh stable release 9.5. Problem is that optical display is not right, I get flickering display and cannot type correctly. Nouveau is installed but I don't know if this is the correct driver, might need to install nvidia, another problem because that does not install automatically. Any suggestions? Thank you in advance | This could be a tricky one to diagnose. I had a similar problem using either nouveau or nvidia on a system with GTX560 Ti. Fix was even stranger - my mouse was plugged into a PS/2 port via USB > PS/2 adapter. Moved it to a USB port and problem disappeared! Nouveau should be fine on a 750 Ti, it's ok on the system with 560 Ti and the other system with GTX 970 for normal desktop tasks. Do you get any errors in the xorg log? Code: Select allcat /var/log/Xorg.0.log | grep EE Of course it wouldn't hurt to try nvidia driver. You'd probably get better 3D game performance. |
Code: Select alldpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) Code: Select all$ sudo apt install konsole [sudo] password for xxx: xxx is not in the sudoers file. This incident will be reported. | Code: Select allsu - See also http://forums.debian.net/viewtopic.php?f=30&t=47078 EDIT: read the Debian wiki page on sudo, it tells you what to do. |
after apt update, at apt uppradable I get: Code: Select all[~] upgradable 17:44:54 Listing... Done firefox-esr/stable 60.2.0esr-1~deb9u2 amd64 [upgradable from: 52.9.0esr-1~deb9u1] firefox-esr-l10n-el/stable,stable 60.2.0esr-1~deb9u2 all [upgradable from: 52.9.0esr-1~deb9u1] firefox-esr-l10n-en-gb/stable,stable 60.2.0esr-1~deb9u2 all [upgradable from: 52.9.0esr-1~deb9u1] ghostscript/stable 9.20~dfsg-3.2+deb9u4 amd64 [upgradable from: 9.20~dfsg-3.2+deb9u2] libgs9/stable 9.20~dfsg-3.2+deb9u4 amd64 [upgradable from: 9.20~dfsg-3.2+deb9u2] libgs9-common/stable,stable 9.20~dfsg-3.2+deb9u4 all [upgradable from: 9.20~dfsg-3.2+deb9u2] when I do apt upgrade I get: Code: Select allReading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libavcodec-extra57 : Conflicts: libavcodec57 but 7:3.2.12-1~deb9u1 is to be installed E: Broken packages any ideas how to sort this out is most welcome! inxi: Code: Select allSystem: Host: mavrogenis Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0) Desktop: Xfce 4.12.3 (Gtk 2.24.30) Distro: Debian GNU/Linux 9 (stretch) Machine: Device: desktop Mobo: ASUSTeK model: P7P55D PRO v: Rev 1.xx BIOS: American Megatrends v: 2101 date: 09/27/2012 CPU: Quad core Intel Core i5 750 (-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 21399 clock speeds: max: 2668 MHz 1: 1333 MHz 2: 1333 MHz 3: 2267 MHz 4: 1733 MHz Graphics: Card: NVIDIA GP107 [GeForce GTX 1050] bus-ID: 01:00.0 Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz GLX Renderer: GeForce GTX 1050/PCIe/SSE2 GLX Version: 4.6.0 NVIDIA 390.77 Direct Rendering: Yes Info: Processes: 250 Uptime: 10 min Memory: 2032.9/16048.5MB Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (zsh 5.3.1) inxi: 2.3.5 | apt is saying that you can't have both libavcodec57 and libavcodec-extra57 if you have aptitude installed try asking why libavcodec-extra57 Code: Select all$ aptitude why libavcodec57 i vlc Depends vlc-plugin-base (= 3.0.3-1-0+deb9u1) i A vlc-plugin-base Depends libavcodec57 (>= 7:3.2.11) | libavcodec-extra57 (>= 7:3.2.11) There are many pkgs that request one or the other, so somehow you have marked both to be installed. Just remove the one you don't need. |
When using wicd to connect to the internet, wicd normally works with my at-home network.However, almost all other networks have issues connecting with wicd for some reason. Sometimes these networks can connect, but they generally get stuck on either authentication or obtaining IP - then it stops connecting. Occasionally it will connect, but it quite often takes quite a long time. This has been going on for a while now, but haven't noticed it being much of an issue as I use my device mostly at home. Is there anything that can be done about this? At this point, I'm considering reinstalling Debian. Thanks More info - System: Debian 9 Wifi driver: Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03) Edit: Fixed up the structure of some of the sentences. | Have you eliminated wicd as the cause of the problem by connecting with a different method? Debian's native ifupdown scripts seem to work well. strinx-88 wrote:Wifi driver: Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03) ^ That doesn't show the driver in use, this will: Code: Select alllspci -k | grep -A2 Broadcom I would recommend swapping that piece of crap out for a decent wireless card. |
Query: Making Any Command persistent across reboots? | Those links tell you almost everything you need to know. You can run from rc.local or alternatively use a cron job. Debian uses systemd so you could also write a systemd service file. What command do you want to run? If it's just to load a module as in your example, just put the module name in /etc/modules or create a file in /etc/modules-load.d/ |
Suspending from the menu works as expected. Closing the lid will suspend the computer. The problem is waking it up from suspend. Pressing the power button to wake the computer from suspend will wake it up momentarily, then suspend again. From the logs you can see that the computer wakes up from suspend, but is then suspended again. If I disable suspend on lid close in the powersave settings in TDE, suspend will not work (as expected). Any ideas? (I am running the Trinity Desktop Environment on Stretch.) See log below: Code: Select allSep 12 19:04:30 debian-ivarsingamle kernel: [ 5606.864735] PM: resume of devices complete after 2222.973 msecs Sep 12 19:04:30 debian-ivarsingamle kernel: [ 5606.865183] PM: Finishing wakeup. Sep 12 19:04:30 debian-ivarsingamle kernel: [ 5606.865186] Restarting tasks ... done. Sep 12 19:04:31 debian-ivarsingamle kernel: [ 5608.116418] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Sep 12 19:04:31 debian-ivarsingamle kernel: [ 5608.120425] ata1.00: configured for UDMA/100 Sep 12 19:04:31 debian-ivarsingamle systemd[1]: Time has been changed Sep 12 19:04:32 debian-ivarsingamle systemd[1]: apt-daily-upgrade.timer: Adding 21min 57.386043s random time. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: anacron.timer: Adding 2min 21.595239s random time. Sep 12 19:04:32 debian-ivarsingamle systemd-sleep[3441]: /dev/sda: Sep 12 19:04:32 debian-ivarsingamle systemd-sleep[3441]: setting Advanced Power Management level to 0xfe (254) Sep 12 19:04:32 debian-ivarsingamle systemd-sleep[3441]: APM_level#011= 254 Sep 12 19:04:32 debian-ivarsingamle systemd[1]: apt-daily.timer: Adding 4h 25min 58.088132s random time. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Watchdog timeout (limit 5s)! Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Killing process 504 (inetd) with signal SIGABRT. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Main process exited, code=killed, status=6/ABRT Sep 12 19:04:32 debian-ivarsingamle systemd[960]: Time has been changed Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Unit entered failed state. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Failed with result 'watchdog'. Sep 12 19:04:32 debian-ivarsingamle systemd-sleep[3441]: System resumed. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: inetd.service: Service hold-off time over, scheduling restart. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Stopped Internet superserver. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Starting Internet superserver... Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Started Suspend. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: sleep.target: Unit not needed anymore. Stopping. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Stopped target Sleep. Sep 12 19:04:32 debian-ivarsingamle kernel: [ 5608.407076] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready Sep 12 19:04:32 debian-ivarsingamle kernel: [ 5608.408154] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready Sep 12 19:04:32 debian-ivarsingamle kernel: [ 5608.410824] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Reached target Suspend. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: suspend.target: Unit is bound to inactive unit systemd-suspend.service. Stopping, too. Sep 12 19:04:32 debian-ivarsingamle systemd[1]: Stopped target Suspend. | I think I just might have solved this one... It works now. For anyone having the same problem: Edit /etc/systemd/logind.conf Change HandleLidSwitch=suspend to HandleLidSwitch=ignore Save and exit. Finally: systemctl restart systemd-logind Marking thread solved. |
Hello all, I've set up a server with a public IP to connect to a VPN server via L2TP/IPsec, the configuration is ok and the connection works. The VPN server assigns to my server addresses like 192.168.6.A. Now I have to connect to a machine under the VPN that has address like 192.168.X.Y (X is not 6), so first of all I tried to ping it and these are the results: Code: Select allping -c 3 192.168.X.Y --> all packets loss ping -c 3 -I 192.168.6.A 192.168.X.Y --> all packets loss ping -c 3 -I ppp0 192.168.X.Y --> all packets received I read on the internet that I have to change the deafult route (the command is: route add default dev ppp0) but I can't because eth0 address is public so I imagine the best solution is to create a forward between ppp0 and eth0. I tried to do like that: Code: Select alliptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth0 -o ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i ppp0 -o eth0 -j ACCEPT But it didn't work. Any suggestion? | Forwarding and masquerading have nothing to do with this. It is a routing issue. You must add a route to the destination address or prefix using the VPN interface. For a single address Code: Select allip route add 192.168.X.Y dev ppp0 For a /24 prefix Code: Select allip route add 192.168.X.0/24 dev ppp0 This route is not persistent and will be removed when the interface comes down. It can be added automatically by a script in /etc/ppp/ip-up.d/ when the interface comes up. |
Hi!I am running Debian 9.5 Stretch 64 bit. Whenever I run the apt-get update command I am getting the following errors Err:23 https://dl.bintray.com/resin-io/debian stable Release server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Hit:24 http://dl.google.com/linux/earth/deb stable Release Reading package lists... Done E: The repository 'https://dl.bintray.com/resin-io/debian stable Release' does no longer 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. Kindly assist in resolving this. | I don't see an error for the Google repo. |
I installed Debian 9.5 (32bit) in VMWare. Then there was no problem. Immediately after the installation was offered an update: linux-image-4.9.0-7-686-pae -> linux-image-4.9.0-8-686-pae From this point on, I see this at boot: "Failed to active SWAP" "Dependency failed for swap" If I choose the old kernel when booting, it works perfectly. | on both kernels as root Code: Select allblkid |
Hello, I have just installed lsb-base, lsb-release and lsb-compat on a recent installation of Debian stretch: Code: Select allLinux TRILLIAN 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u3 (2018-08-19) x86_64 GNU/Linux When checking for the LSB modules, lsb_release says that there are no LSB modules installed. Code: Select alltoquinho@TRILLIAN:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.5 (stretch) Release: 9.5 Codename: stretch I rebooted and reinstalled the packages (see below), but this did not help. The software I need to run does not work (commercial numerics code compiled on CentOS). It worked well on my previous installation of Stretch (and Jessie). Any help would be greatly appreciated. Toquinho Code: Select all(Reading database ... 340677 files and directories currently installed.) Preparing to unpack .../lsb-base_9.20161125_all.deb ... Unpacking lsb-base (9.20161125) over (9.20161125) ... Preparing to unpack .../lsb-release_9.20161125_all.deb ... Unpacking lsb-release (9.20161125) over (9.20161125) ... Preparing to unpack .../lsb-compat_9.20161125_amd64.deb ... Unpacking lsb-compat (9.20161125) over (9.20161125) ... Setting up lsb-release (9.20161125) ... Setting up lsb-base (9.20161125) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up lsb-compat (9.20161125) ... | Hi, none of the packages claims that it contains lsb modules. Please read [1] [1] http://forums.debian.net/viewtopic.php?f=20&t=128161 |
I was just "surfing" this morning and suddenly the music stream stopped, and every tab on the browser showed: No internet Try: Checking the network cables, modem, and router Reconnecting to Wi-Fi DNS_PROBE_FINISHED_NO_INTERNET Initially, I thought my internet connection had gone down - much construction on the main road past the subdivision, and utilities being moved to new poles - but Windows was still going while Stretch gagged and halted. I had not finished my usual round before running the daily updater - given the DNS issue I did NOT run this, which is usually run daily: #! /bin/bash # Update the repositories and then process upgrades /usr/bin/apt-get update sleep 5 UPLOCK=/var/lib/apt/lists/lock if [ -f $UPLOCK ]; then rm $UPLOCK fi echo "Now, to upgrade" /usr/bin/apt-get -f upgrade # Run rkhunter echo "Running Rootkit Hunter" /usr/bin/rkhunter --propupd #And, now to update the tripwire database echo "updating the tripwire database" /usr/local/bin/uptripw But instead ran just 'apt-get update' which returned: Err:1 http://security.debian.org stretch/updates InRelease Temporary failure resolving 'security.debian.org' I knew something bad had happened... but what? Hardware all seems solid - nothing new added in a long time 32GB RAM, 8-core AMD CPU... System kept up-to-date daily. No joy on Google or searching the Forums (unless I used a poor choice of search terms) I am at a loss (and resigned to having to address this forum with <gag> Windows10 on my wife's desktop!) | w4kh wrote:DNS_PROBE_FINISHED_NO_INTERNET What does this come from ? Segfault wrote:Basics first. Can you access web sites by IP address? "Basics" ? A web browser is an overcomplicated piece of software unsuitable for network troubleshooting. To me, basics are IP configuration lookup with ip addr and ip route, IP connectivity check with ping and traceroute, DNS lookup with host, dig or nslookup. |
OS: buster (testing) $ uname -r 4.17.0-1-amd64 # aptitude show openssh-server Package: openssh-server Version: 1:7.7p1-3 [SNIP] I am having trouble getting 1 and only 1 command to be authorized via ssh. I was supposed to put $SHELL after ./suspend but I forgot. That doesn't matter because it should have rejected the script "test" anyway. I changed ./suspend to ./test, copied the actual file suspend to test (a script that contains the command 'beep'). Then I logged in and executed test. It worked. It's not supposed to work. What am I doing wrong? I've made my own guide from the links below: Must be passwordless for that user. This means you have to copy the keys manually to the other machine. If it's a phone app usually the app allows you to browse for the private key. Both private and public keys should be copied and imported into the app. After delete the destination files you copied manually so they arn't lying around in a globally accessible folder. 1. setup the linux user. 2. run ssh-keygen to make the keys (they should be id_rsa* - 2 files) 3.In the sshd_config file add this at the end to stop password access for said user: Match User user1 PasswordAuthentication no 4. copy "id_rsa.pub" to "authorized_keys" manually (I know of no tool that does this) 5. prepend the options to the file so it kind of looks like this template: command="./nuke",no-port-forwarding,no-x11-forwarding,no-agent-forwarding KEY_TYPE KEY COMMENT 6. monkey around with copying the key files to your phone (FTP server / filezilla) and importing it in the application (SSH button on android in this case). links: https://research.kudelskisecurity.com/2 ... e-command/ https://serverfault.com/questions/28580 ... some-users https://www.ibm.com/support/knowledgece ... thkeyf.htm sshd_config: Code: Select allChallengeResponseAuthentication no UsePAM yes X11Forwarding yes PrintMotd no AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server # my stuff Match User peter PasswordAuthentication no my line in authorized_keys (snipped). ./suspend is supposed to have $SHELL after it. Code: Select allcommand="./suspend",no-port-forwarding,no-x11-forwarding,no-agent-forwarding ssh-rsa AAAA[SNIP] peter@enlil | I also tried putting authorized_keys to permission 600 like debian.org says but it changes nothing. It works with 644 also with seemingly no difference at all. Hmm. |
Hi, I'm running stretch on a Dell Inspiron 15 5575 and tried the kernel from the stretch backports but the system isn't able to boot. Should I create a bug report or can I fix it on my side? /var/log/messages https://paste.debian.net/1036754 | Look at the very last line in your log. |
I am using Debian stretch 9.5 xfce / kernel 4.9.0-7-amd64 this is inxi -G Code: Select allGraphics: Card: NVIDIA GP107 [GeForce GTX 1050] Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz GLX Renderer: GeForce GTX 1050/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 375.82 on apt upgrade I get this: Code: Select allThe following packages have been kept back: libcuda1 libcuda1:i386 libegl-nvidia0 libegl1-glvnd-nvidia libgl1-nvidia-glx libgl1-nvidia-glx:i386 libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0 libglx0-glvnd-nvidia libnvidia-cfg1 libnvidia-compiler libnvidia-eglcore libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-ml1 libopengl0-glvnd-nvidia nvidia-alternative nvidia-driver nvidia-driver-bin nvidia-driver-libs nvidia-egl-icd nvidia-kernel-dkms nvidia-kernel-support nvidia-opencl-icd nvidia-smi nvidia-vdpau-driver xserver-xorg-video-nvidia 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. I tried to figure out what happens if I proceed with upgrade through synaptic and it looks like it will uninstall many parts of my system so I am really concerned about it. running Code: Select allsudo apt-get --with-new-pkgs upgrade as is suggested here hasn't installed anything either. What would you suggest to do? I would like to have the updated nvidia drivers but I don't want to risk breaking my system. Thank you in advance for any help | This - Have you done an ‘apt update’? The 375 version no longer exists in the stable repo. Bulkley wrote:Where did you get the kernel 4.9.0-7-amd64? I'm showing 4.9.0-6-amd64. I don't know whether or not the kernel is an issue but you might try the older one. 4.9.0-7 is the latest Stretch kernel. dist-upgrade may be necessary to get it. |
Hello! Here is my problem: I'm running Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux. Yesterday my Server ran out of diskspace. Now i'm trying to find out who is consuming the space. I did df -h: Code: Select allDateisystem Größe Benutzt Verf. Verw% Eingehängt auf udev 7,9G 0 7,9G 0% /dev tmpfs 1,6G 9,2M 1,6G 1% /run /dev/sda2 222G 174G 39G 82% / tmpfs 7,9G 0 7,9G 0% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 7,9G 0 7,9G 0% /sys/fs/cgroup /dev/sda1 511M 3,6M 508M 1% /boot/efi /dev/sdc1 825G 394G 389G 51% /data2 /dev/sdb1 8,2T 7,2T 528G 94% /data //192.168.116.241/backup 5,5T 992G 4,2T 19% /mnt/NAS tmpfs 1,6G 0 1,6G 0% /run/user/0 and du -hx --exclude "/mnt" / | sort -h (posted only the last lines): Code: Select all1,9G /usr/lib 1,9G /var/log 2,6G /root/tbsdriver 2,6G /root/tbsdriver/tbs_git 2,6G /usr/share 3,0G /var 3,3G /root 5,7G /usr 14G / As you see there is a differénce of 160 GB for "/". Where are they gone? P.S.: Sorry for my bad english - Germany speaking here | Probably hiding “under” one of your mounts. Unmount them and check again. |
Hello guys, from a few days I can not extract compress file using GUI becouse when I execute Peazip appear this error: Failed to execute child process "peazip" (File o directory non esistente). I have just tried to purge this software and I have just installed it again using the deb package using the CLI but there are always the same error. I have just tried with Code: Select allapt-get install --fix-broken but I do not solve my problem. Someone can help me? Thanks so much! | peazip is not a debian package (not in the repositories anyway) so your best COA would be to contact the developers to see if it is a known bug?? As an alternative you could try one of the Debian packages that have a GUI to compress/decompress your files Gnome - file-roller Kde - ark General - xarchiver |
I have 64bit Debian Testing (Buster) system. I am compiling and linking a 32bit openGL application. The compile is fine, but when linking I get: /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libGLU.a when searching for -lGLU /usr/bin/ld: cannot find -lGLU The linker options are: -m32 -lpthread -lXrandr -lrt -lGL -lGLU Now libGL.so (and also libGLX.so) is found in /usr/lib/i386-linux-gnu, but libGLU.so is not there. I have libGLU.so in /usr/lib/x86_64-linux-gnu, but that is the 64 bit version. I have libglu1-mesa and libglu1-mesa-dev installed. For info, /usr/lib/i386-linux-gnu/libGL.so points to: /etc/alternatives/glx--libGL.so-i386-linux-gnu which points to: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so points to: /etc/alternatives/glx--libGL.so-x86_64-linux-gnu which points to /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 How can I get libGLU.so (32 bit) to appear in /usr/lib/i386-linux-gnu so my linker will work? I am using a legacy nVidia driver. | https://packages.debian.org/search?sear ... e&arch=any So I would try installing the ":i386" version of the package. |
I have installed Debian Buster on to a Lenovo laptop but I can not get the wifi working on, lspci shows the following: Code: Select allmit@Pyro:~$ lspci 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04) 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev a1) 02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 08) 02:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04) 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34) I believe the bottom line "Centrino Advanced-N 6205" is the Wifi adapter, I have installed "firmware-iwlwifi" which I beleive is the correct package for the centrino wifi I have setup the wifi via the Network Manager I can see that the iwl module has been loaded Code: Select alliwlwifi 225280 1 iwldvm I did not want to paste the whole lsmod as it is quite large but if needed I can do I tried #iwlist scan and it came back with my ssid (and a few of the neighbours) so it can see the ssid and the wifi network but won't connect to it Can anybody confirm the bits I have done are correct and if so where do I go from here. I have had other linux distro installed on this laptop and the wifi has worked out of the box including one based on Debian Testing | If it was me I would try stable instead of testing. Buster isn't released yet. There could be a temp problem with some pkg or other? If it's not working after following the wiki for firmware install https://wiki.debian.org/iwlwifi then I'd take a look in dmesg and make sure one of the firmwares is loading for the device. If you see the ssid in a scan or in nm, then I'd think the firmware is installed correctly. If network-manager is giving you problems, there are other ways to connect on the link. 4. Configure your wireless interface as appropriate. https://wiki.debian.org/WiFi/HowToUse |
Hey, I checked my system with chkrootkit and rkhunter, but I do not really know what the output means. Searching for the topic and output pieces in the internet did not really help me. I am running Debian Stretch with KDE and I have installed Sophos. I am using this system for about nearly 1 year, but installed chkrootkit and rkhunter recently. The output from chkrootkit gave me the following: Code: Select all~# chkrootkit ROOTDIR is `/' Checking `amd'... not found Checking `basename'... not infected Checking `biff'... not found Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `crontab'... not infected Checking `date'... not infected Checking `du'... not infected Checking `dirname'... not infected Checking `echo'... not infected Checking `egrep'... not infected Checking `env'... not infected Checking `find'... not infected Checking `fingerd'... not found Checking `gpm'... not found Checking `grep'... not infected Checking `hdparm'... not infected Checking `su'... not infected Checking `ifconfig'... not infected Checking `inetd'... not infected Checking `inetdconf'... not found Checking `identd'... not found Checking `init'... not infected Checking `killall'... not infected Checking `ldsopreload'... not infected Checking `login'... not infected Checking `ls'... not infected Checking `lsof'... not infected Checking `mail'... not infected Checking `mingetty'... not found Checking `netstat'... not infected Checking `named'... not found Checking `passwd'... not infected Checking `pidof'... not infected Checking `pop2'... not found Checking `pop3'... not found Checking `ps'... not infected Checking `pstree'... not infected Checking `rpcinfo'... not found Checking `rlogind'... not found Checking `rshd'... not found Checking `slogin'... not infected Checking `sendmail'... not infected Checking `sshd'... not found Checking `syslogd'... not tested Checking `tar'... not infected Checking `tcpd'... not infected Checking `tcpdump'... not infected Checking `top'... not infected Checking `telnetd'... not found Checking `timed'... not found Checking `traceroute'... not infected Checking `vdir'... not infected Checking `w'... not infected Checking `write'... not infected Checking `aliens'... no suspect files Searching for sniffer's logs, it may take a while... nothing found Searching for rootkit HiDrootkit's default files... nothing found Searching for rootkit t0rn's default files... nothing found Searching for t0rn's v8 defaults... nothing found Searching for rootkit Lion's default files... nothing found Searching for rootkit RSHA's default files... nothing found Searching for rootkit RH-Sharpe's default files... nothing found Searching for Ambient's rootkit (ark) default files and dirs... nothing found Searching for suspicious files and dirs, it may take a while... The following suspicious files and directories were found: /usr/lib/jvm/.java-1.8.0-openjdk-amd64.jinfo /usr/lib/python3/dist-packages/PyQt5/uic/widget-plugins/.noinit Searching for LPD Worm files and dirs... nothing found Searching for Ramen Worm files and dirs... nothing found Searching for Maniac files and dirs... nothing found Searching for RK17 files and dirs... nothing found Searching for Ducoci rootkit... nothing found Searching for Adore Worm... nothing found Searching for ShitC Worm... nothing found Searching for Omega Worm... nothing found Searching for Sadmind/IIS Worm... nothing found Searching for MonKit... nothing found Searching for Showtee... nothing found Searching for OpticKit... nothing found Searching for T.R.K... nothing found Searching for Mithra... nothing found Searching for LOC rootkit... nothing found Searching for Romanian rootkit... nothing found Searching for Suckit rootkit... nothing found Searching for Volc rootkit... nothing found Searching for Gold2 rootkit... nothing found Searching for TC2 Worm default files and dirs... nothing found Searching for Anonoying rootkit default files and dirs... nothing found Searching for ZK rootkit default files and dirs... nothing found Searching for ShKit rootkit default files and dirs... nothing found Searching for AjaKit rootkit default files and dirs... nothing found Searching for zaRwT rootkit default files and dirs... nothing found Searching for Madalin rootkit default files... nothing found Searching for Fu rootkit default files... nothing found Searching for ESRK rootkit default files... nothing found Searching for rootedoor... nothing found Searching for ENYELKM rootkit default files... nothing found Searching for common ssh-scanners default files... nothing found Searching for Linux/Ebury - Operation Windigo ssh... nothing found Searching for 64-bit Linux Rootkit ... nothing found Searching for 64-bit Linux Rootkit modules... nothing found Searching for suspect PHP files... nothing found Searching for anomalies in shell history files... nothing found Checking `asp'... not infected Checking `bindshell'... not infected Checking `lkm'... find: ‘/proc/4359/task/4359/net’: Invalid argument find: ‘/proc/4359/net’: Invalid argument chkproc: nothing detected chkdirs: nothing detected Checking `rexedcs'... not found Checking `sniffer'... lo: not promisc and no packet sniffer sockets wlp2s0: PACKET SNIFFER(/sbin/wpa_supplicant[736], /sbin/wpa_supplicant[736], /sbin/dhclient[8907]) Checking `w55808'... not infected Checking `wted'... chkwtmp: nothing deleted Checking `scalper'... not infected Checking `slapper'... not infected Checking `z2'... user lamios deleted or never logged from lastlog! Checking `chkutmp'... The tty of the following user process(es) were not found in /var/run/utmp ! ! RUID PID TTY CMD ! root 691 tty7 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/sddm/{cead4972-a2f2-441e-be1f-8e9d47c18de4} -background none -noreset -displayfd 18 vt7 chkutmp: nothing deleted Checking `OSX_RSPLUG'... not infected Especially these lines drew my attention: Code: Select allSearching for suspicious files and dirs, it may take a while... The following suspicious files and directories were found: /usr/lib/jvm/.java-1.8.0-openjdk-amd64.jinfo /usr/lib/python3/dist-packages/PyQt5/uic/widget-plugins/.noinit Code: Select allChecking `lkm'... find: ‘/proc/4359/task/4359/net’: Invalid argument find: ‘/proc/4359/net’: Invalid argument Code: Select allwlp2s0: PACKET SNIFFER(/sbin/wpa_supplicant[736], /sbin/wpa_supplicant[736], /sbin/dhclient[8907]) Code: Select allChecking `wted'... chkwtmp: nothing deleted Code: Select allChecking `z2'... user lamios deleted or never logged from lastlog! Checking `chkutmp'... The tty of the following user process(es) were not found in /var/run/utmp ! ! RUID PID TTY CMD ! root 691 tty7 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/sddm/{cead4972-a2f2-441e-be1f-8e9d47c18de4} -background none -noreset -displayfd 18 vt7 chkutmp: nothing deleted Before I had been able to update rkhunter, I had to make the following changes in the .conf: https://churchill.ddns.me.uk/post/rkhun ... on-option/ rkhunter.log: For rkhunter, I thought these lines might be important: Code: Select all[00:18:06] /usr/bin/lwp-request [ Warning ] [00:18:06] Warning: The command '/usr/bin/lwp-request' has been replaced by a script: /usr/bin/lwp-request: Perl script text executable Code: Select all[00:18:46] Info: Starting test name 'filesystem' [00:18:46] Performing filesystem checks [00:18:46] Info: SCAN_MODE_DEV set to 'THOROUGH' [00:18:47] Checking /dev for suspicious file types [ Warning ] [00:18:47] Warning: Suspicious file types found in /dev: [00:18:47] /dev/shm/com.sophos.av.process.exclusion: data [00:18:47] /dev/shm/sem.com.sophos.av.process.exclusion: data [00:18:47] Checking for hidden files and directories [ Warning ] [00:18:47] Warning: Hidden directory found: /etc/.java Is there a way to upload the rkhunter.log? The page seems not to accept any documents and the content is to long to post. Does anybody know, if any of that stuff is concerning/how I get to know if I have to do something? Thank you already for your help! | To upload the file so people can see it , use : http://paste.debian.net/ or https://pastebin.com/ and then include a link to the file in your post |
Hi, From sime time ago, Ive got this problem with mount.ntfs-3g (Debian Stretch), for example when I open gparted... I think It might started happening when decided to use hardlinks in ntfs partitions. Might it have to be with big ntfs hardklinked directories? Any help, please Thanks. | I noticed a similar problem when copying files to removable media (external hard drive), which contains NTFS file system. The CPU is used for about 20-30 percent. However, if you are copying from an external hard disk to a drive located in a computer (internal hard drive), only 5 percent of the CPU is used. |
Hi, I have a debian server and I want to update Linux kernel to the latest version. In this output I see that I am using Kernel version 3.16. Code: Select all# uname -a Linux pc 3.16.6-042stab127.46 #1 SMP Wed Mar 28 01:57:40 CEST 2018 x86_64 GNU/Linux Code: Select all# apt search linux-image linux-headers-4.17.0-0.bpo.1-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64 Header files for Linux 4.17.0-0.bpo.1-amd64 linux-headers-4.17.0-0.bpo.1-cloud-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64 Header files for Linux 4.17.0-0.bpo.1-cloud-amd64 linux-headers-4.9.0-3-amd64/stable 4.9.30-2+deb9u5 amd64 Header files for Linux 4.9.0-3-amd64 linux-headers-4.9.0-3-rt-amd64/stable 4.9.30-2+deb9u5 amd64 Header files for Linux 4.9.0-3-rt-amd64 linux-headers-4.9.0-4-amd64/stable 4.9.65-3+deb9u1 amd64 Header files for Linux 4.9.0-4-amd64 linux-headers-4.9.0-4-grsec-amd64/stretch-backports 4.9.65-2+grsecunoff1~bpo9+1 amd64 Header files for Linux 4.9.0-4-grsec-amd64 linux-headers-4.9.0-4-rt-amd64/stable 4.9.65-3+deb9u1 amd64 Header files for Linux 4.9.0-4-rt-amd64 linux-headers-4.9.0-5-amd64/stable 4.9.65-3+deb9u2 amd64 Header files for Linux 4.9.0-5-amd64 linux-headers-4.9.0-5-rt-amd64/stable 4.9.65-3+deb9u2 amd64 Header files for Linux 4.9.0-5-rt-amd64 linux-headers-4.9.0-6-amd64/stable 4.9.88-1+deb9u1 amd64 Header files for Linux 4.9.0-6-amd64 linux-headers-4.9.0-6-rt-amd64/stable 4.9.88-1+deb9u1 amd64 Header files for Linux 4.9.0-6-rt-amd64 linux-headers-4.9.0-7-amd64/stable 4.9.110-3+deb9u2 amd64 Header files for Linux 4.9.0-7-amd64 linux-headers-4.9.0-7-rt-amd64/stable 4.9.110-3+deb9u2 amd64 Header files for Linux 4.9.0-7-rt-amd64 linux-image-4.17.0-0.bpo.1-amd64/stretch-backports,now 4.17.8-1~bpo9+1 amd64 [installed] Linux 4.17 for 64-bit PCs linux-image-4.17.0-0.bpo.1-amd64-dbg/stretch-backports 4.17.8-1~bpo9+1 amd64 Debug symbols for linux-image-4.17.0-0.bpo.1-amd64 linux-image-4.17.0-0.bpo.1-cloud-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64 Linux 4.17 for x86-64 cloud linux-image-4.17.0-0.bpo.1-cloud-amd64-dbg/stretch-backports 4.17.8-1~bpo9+1 amd64 Debug symbols for linux-image-4.17.0-0.bpo.1-cloud-amd64 linux-image-4.9.0-3-amd64/stable 4.9.30-2+deb9u5 amd64 Linux 4.9 for 64-bit PCs linux-image-4.9.0-3-amd64-dbg/stable 4.9.30-2+deb9u5 amd64 Debug symbols for linux-image-4.9.0-3-amd64 linux-image-4.9.0-3-rt-amd64/stable 4.9.30-2+deb9u5 amd64 Linux 4.9 for 64-bit PCs, PREEMPT_RT linux-image-4.9.0-3-rt-amd64-dbg/stable 4.9.30-2+deb9u5 amd64 Debug symbols for linux-image-4.9.0-3-rt-amd64 linux-image-4.9.0-4-amd64/stable 4.9.65-3+deb9u1 amd64 Linux 4.9 for 64-bit PCs linux-image-4.9.0-4-amd64-dbg/stable 4.9.65-3+deb9u1 amd64 Debug symbols for linux-image-4.9.0-4-amd64 linux-image-4.9.0-4-grsec-amd64/stretch-backports 4.9.65-2+grsecunoff1~bpo9+1 amd64 Linux 4.9 for 64-bit PCs, Grsecurity protection (unofficial patch) linux-image-4.9.0-4-rt-amd64/stable 4.9.65-3+deb9u1 amd64 Linux 4.9 for 64-bit PCs, PREEMPT_RT linux-image-4.9.0-4-rt-amd64-dbg/stable 4.9.65-3+deb9u1 amd64 Debug symbols for linux-image-4.9.0-4-rt-amd64 linux-image-4.9.0-5-amd64/stable 4.9.65-3+deb9u2 amd64 Linux 4.9 for 64-bit PCs linux-image-4.9.0-5-amd64-dbg/stable 4.9.65-3+deb9u2 amd64 Debug symbols for linux-image-4.9.0-5-amd64 linux-image-4.9.0-5-rt-amd64/stable 4.9.65-3+deb9u2 amd64 Linux 4.9 for 64-bit PCs, PREEMPT_RT linux-image-4.9.0-5-rt-amd64-dbg/stable 4.9.65-3+deb9u2 amd64 Debug symbols for linux-image-4.9.0-5-rt-amd64 linux-image-4.9.0-6-amd64/stable 4.9.88-1+deb9u1 amd64 Linux 4.9 for 64-bit PCs linux-image-4.9.0-6-amd64-dbg/stable 4.9.88-1+deb9u1 amd64 Debug symbols for linux-image-4.9.0-6-amd64 linux-image-4.9.0-6-rt-amd64/stable 4.9.88-1+deb9u1 amd64 Linux 4.9 for 64-bit PCs, PREEMPT_RT linux-image-4.9.0-6-rt-amd64-dbg/stable 4.9.88-1+deb9u1 amd64 Debug symbols for linux-image-4.9.0-6-rt-amd64 linux-image-4.9.0-7-amd64/stable,now 4.9.110-3+deb9u2 amd64 [installed,automatic] Linux 4.9 for 64-bit PCs linux-image-4.9.0-7-amd64-dbg/stable 4.9.110-3+deb9u2 amd64 Debug symbols for linux-image-4.9.0-7-amd64 linux-image-4.9.0-7-rt-amd64/stable 4.9.110-3+deb9u2 amd64 Linux 4.9 for 64-bit PCs, PREEMPT_RT linux-image-4.9.0-7-rt-amd64-dbg/stable 4.9.110-3+deb9u2 amd64 Debug symbols for linux-image-4.9.0-7-rt-amd64 linux-image-amd64/stable,now 4.9+80+deb9u5 amd64 [installed] Linux pre 64-bitové PC - metabalík linux-image-amd64-dbg/stable 4.9+80+deb9u5 amd64 Debugging symbols for Linux amd64 configuration (meta-package) linux-image-cloud-amd64/stretch-backports 4.17+95~bpo9+1 amd64 Linux for x86-64 cloud (meta-package) linux-image-cloud-amd64-dbg/stretch-backports 4.17+95~bpo9+1 amd64 Debugging symbols for Linux cloud-amd64 configuration (meta-package) linux-image-grsec-amd64/stretch-backports 13~bpo9+1 amd64 Linux image meta-package, grsec featureset linux-image-rt-amd64/stable 4.9+80+deb9u5 amd64 Linux for 64-bit PCs (meta-package), PREEMPT_RT linux-image-rt-amd64-dbg/stable 4.9+80+deb9u5 amd64 Debugging symbols for Linux rt-amd64 configuration (meta-package) Code: Select all# apt search linux-image | grep installed linux-image-4.17.0-0.bpo.1-amd64/stretch-backports,now 4.17.8-1~bpo9+1 amd64 [installed] linux-image-4.9.0-7-amd64/stable,now 4.9.110-3+deb9u2 amd64 [installed,automatic] linux-image-amd64/stable,now 4.9+80+deb9u5 amd64 [installed] There is 4.17 installed, 4.9 installed and "automatic". What does the automatic mean? Which kernel version is booted? Its a VPS without GUI - I have no chance to see GRUB and switch it before boot. I am confusing, but I whing that 3.16 is booted (uname -a command said). Can you tell me how to correctly switch (install and boot automatically) to the latest (supported) kernel? And how to remove unused installed kernels? | emitor wrote:# uname -a Linux pc 3.16.6-042stab127.46 #1 SMP Wed Mar 28 01:57:40 CEST 2018 x86_64 GNU/Linux This is not a Debian stock kernel. Also, according to your apt command, it does not seem to have been installed by a Debian package. emitor wrote:There is 4.17 installed, 4.9 installed and "automatic". What does the automatic mean? "Automatic" means that the package was installed automatically by dependency of another package. Here the other package is linux-image-amd64 from stable, which depends on the latest available stable kernel version. emitor wrote:Which kernel version is booted? Its a VPS uname says that the booted kernel is 3.16.6. What kind of VPS is this ? Is it a full virtual machine or a container ? If it is a container, it does not have its own kernel and uses the host's kernel. I don't know how you can tell, but you can look at installed kernel images in /boot and search if a GRUB config file /boot/grub/grub.cfg is present and check its contents. If a kernel image for version 3.16.6 (or no version) it present in /boot, and /boot/grub/grub.cfg is present and contains a menu entry for this kernel in the first position, then you have a chance to select another kernel. |
Hello, I have a Dell Inspiron 7577 and I have Debian and Windows installed on it. Both the root directory for Debian and the C drive for Windows share the NVMe SSD, and the home directory, swap partition, and extra storage for windows are on the HDD. I am a firm believer in reading the fine manual and my setup has been running without a hitch for a while now but I just wanted to check with the more experienced that I did everything correctly because sometimes I'm overwhelmed by the amount of things I don't know about Linux. There's some things I'm not sure about like whether I left enough storage for over provisioning (or whether that's fully necessary). To setup my system I followed the doc, https://wiki.debian.org/SSDOptimization https://wiki.debian.org/fstab Also what is the official deal with swap. I have 16GB of ram so I know from a memory perspective that's more than necessary but do I need virtual memory for programming in C? Here is my /etc/fstab: Code: Select allbrian@debian:~$ nano /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/nvme0n1p7 during installation UUID=ca18d8b0-4e4d-4a67-a7b0-635e4939d040 / ext4 relatime,errors=remount-ro 0 1 # /boot/efi was on /dev/nvme0n1p1 during installation UUID=FE23-26D5 /boot/efi vfat umask=0077 0 1 # /home was on /dev/sda1 during installation UUID=99d48a0b-6526-4e04-b5b2-1875627c4a20 /home ext4 defaults,relatime 0 2 # swap was on /dev/sda2 during installation UUID=0d809cfd-4de3-4779-808c-857ea563cbda none swap sw 0 0 The SSD is 256 GB and the HDD is 1TB Code: Select allbrian@debian:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 465.7G 0 part /home ├─sda2 8:2 0 14.9G 0 part [SWAP] └─sda3 8:3 0 390.6G 0 part nvme0n1 259:0 0 238.5G 0 disk ├─nvme0n1p1 259:1 0 500M 0 part /boot/efi ├─nvme0n1p2 259:2 0 128M 0 part ├─nvme0n1p3 259:3 0 124.7G 0 part ├─nvme0n1p4 259:4 0 839M 0 part ├─nvme0n1p5 259:5 0 13.6G 0 part ├─nvme0n1p6 259:6 0 1.1G 0 part └─nvme0n1p7 259:7 0 93.1G 0 part / Code: Select allbrian@debian:~$ blkid /dev/nvme0n1: PTUUID="0e1899c9-10ee-46f3-af9a-00c8d4cd329a" PTTYPE="gpt" /dev/nvme0n1p1: LABEL="ESP" UUID="FE23-26D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6d4b5f27-3262-4691-a308-d49810e4ce9d" /dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="2912c7bc-c2a6-4b26-af05-f2bcb112bd94" /dev/nvme0n1p3: UUID="8E287A78287A5EE1" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="75fd58ad-842e-4a03-ad63-f6d46bf145ae" /dev/nvme0n1p4: UUID="C60884DB0884CC3D" TYPE="ntfs" PARTUUID="dde02da8-715d-481a-a95f-330a914f596b" /dev/nvme0n1p5: LABEL="Image" UUID="F430C8E030C8AB46" TYPE="ntfs" PARTUUID="12e7bd73-c060-49c5-b190-68d2798c6d1c" /dev/nvme0n1p6: LABEL="DELLSUPPORT" UUID="3C5C21C95C217F30" TYPE="ntfs" PARTUUID="7c08d8d5-9886-44d3-8589-4da233b1de0a" /dev/nvme0n1p7: UUID="ca18d8b0-4e4d-4a67-a7b0-635e4939d040" TYPE="ext4" PARTUUID="31099fb9-ae66-446f-93fc-70dd118861d2" /dev/sda1: UUID="99d48a0b-6526-4e04-b5b2-1875627c4a20" TYPE="ext4" PARTUUID="e613bb21-9a99-4f26-8653-833a9b2010d0" /dev/sda2: UUID="0d809cfd-4de3-4779-808c-857ea563cbda" TYPE="swap" PARTUUID="47b87bb4-15e5-4235-829c-0238d35c19be" /dev/sda3: LABEL="Data" UUID="B2EE168CEE1648CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ca9bb2d2-b6ed-4f3e-ad88-183695dc41aa" Any help would be greatly appreciated, thank you. | bmickey wrote:Also what is the official deal with swap. I have 16GB of ram so I know from a memory perspective that's more than necessary but do I need virtual memory for programming in C. If you hibernate then you need 16+GB swap. If you don't then 4-8 is likely fine. Just watch it for awhile and see if you get into it or not. You can adjust the swappiness to your liking. If your pattern does induce some swap usage, swappiness will adjust the degree of use. My own pattern does use a small swap even with as much as half the ram free, and it seems more stable with it than without. Right now with not much going on it's at 12 of 32 in use with 353 MB swapped, 8GB avaialable. ? Weird, I leave it alone. I do have machines with no swap with different usage patterns that do fine. I choose willful ignorance on the SSD's, or say the fears are overblown. With a long history of high altitude use and losing consumer grade harddrives every few years I switched to SSD's long ago when OS's where ignorant of the differences. I've never treated them as anything but a hard drive. After the first one passed five years issue free, now 9 and still going, I declared it a non-issue. Out of 8 or so since I've had issues with 2, both the same brand and issues came quickly, the others still doing fine. With that said I don't typically fill them up or write GB/day everyday. So I think you'll be fine. |
Hy guys! I'm using Debian Buster from last september (I'm a Debian user since 2004!) as a dual boot (W7+Debian) on my HP-2170P; few months ago roughly at march 2018 after some updates I had a "issue" at startup so now Debian needs a console login before to load automatically KDE! I did a fresh install three days ago but I have always the same issue, ok it's not a big problem but I'd like to understand why, also after a fresh install, I have this imho strange thing! Regards. GabrieleMax | Hi, It's kernel related issue with entropy. Workaround is to install 'haveged' (entropy source) package. BR, P. |
Hello guys, I have an Odroid, with 2 wifi cards. They are working properly but I have a little issues with one of this wifi card. I have configured two static IP of two different networks Code: Select allauto lo iface lo inet loopback auto wlan0 allow-hotplug wlan0 iface wlan0 inet static address 192.168.1.39 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 #Seconda scheda WIFI auto wlan1 allow-hotplug wlan1 iface wlan1 inet static address 192.168.43.139 netmask 255.255.255.0 broadcast 192.168.43.255 gateway 192.168.43.1 #iface wlan1 inet dhcp auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 The problem is that if I digit ifconfig the wlan0 has not 192.168.1.39 but 192.168.1.148 (from DHCP server, there is not dhcp reservation on the server) Code: Select allwlan0 Link encap:Ethernet HWaddr 74:da:da:5f:ff:d3 inet addr:192.168.1.148 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::76da:daff:fe5f:ffd3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2376 errors:0 dropped:3 overruns:0 frame:0 TX packets:387 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:619037 (619.0 KB) TX bytes:75343 (75.3 KB) wlan1 Link encap:Ethernet HWaddr 40:9b:cd:5a:f0:54 inet addr:192.168.43.139 Bcast:192.168.43.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Can I force to disable DHCP? I am using wpa_supplicant for the two wifi connection and it works properly... the problem is the IP on the wlan0 Someone can help me? Thanks | wizard10000 wrote:That "auto wlan0" tells the machine to use DHCP. If you're setting a static IP on the machine you don't want that Wrong. "auto" tells to bring the interface up when the system boots. |
Hello all, I've been trying to install mesa with gallium nine, and I'm trying to compile it from source. I try to run the autogen.sh script that comes with it and I get the following error: Code: Select allconfigure: error: LLVM 3.9.0 or newer is required for r600 when trying to run Code: Select allsudo sh autogen.sh --enable-nine --enable-llvm autogen.sh requires LLVM 3.9 with llvm-config, so I thought that would come with llvm-3.9-dev, but whenever I delete llvm-3.8-dev and install llvm-3.9-dev, it says that I don't have llvm-config installed at all. Any help with this is appreciated. Thanks. Edit: I solved the issue now, I had to go add the LLVM nightly PPA, add the archive signature key, and then update & upgrade | lando32 wrote:I solved the issue now, I had to go add the LLVM nightly PPA, add the archive signature key, and then update & upgrade You have not solved this problem, but only more complicated. Congratulations. You created a FrankenDebian |
I'm unable to get this Edimax USB wifi card working. System info: Lenovo w530, root@deb9:~# uname -ra Linux deb9 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux Mate desktop 1.16.2 root@deb9:~# cat /etc/debian_version 9.4 lsusb output: Bus 002 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Steps taken: I installed the driver supplied by the manufacturer on the cd supplied which was a simple extraction of the tar ball and then running the install.sh script as per their documentation. Which results in an error: cc1: some warnings being treated as errors /usr/src/linux-headers-4.9.0-6-common/scripts/Makefile.build:298: recipe for target '/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422/core/rtw_debug.o' failed make[4]: *** [/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422/core/rtw_debug.o] Error 1 /usr/src/linux-headers-4.9.0-6-common/Makefile recipe for target '_module_/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422' failed make[3]: *** [_module_/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422] Error 2 Makefile:152: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-6-amd64' Makefile:718: recipe for target 'modules' failed make: *** [modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ################################################## Next, I installed the firmware-realtek package which was fine. However I am still unable to get the device to connect. It finds the wifi network, I enter the password but it just does not connect. Any help would be appreciated thanks | Have you read/followed this? https://wiki.debian.org/rtl819x ... However I am still unable to get the device to connect. It finds the wifi network, I enter the password but it just does not connect. ... What are you using to connect? If it's network manager there is a well known bug in wifi.scan-rand-mac-address setting, easy to find on a search. |
I've got a Debian 9 box hosting a few VMs. I want the VMs to be on their own network from the rest of my lab. Physical lab IPs: 172.19.20.x Debian 9 host: 172.19.20.254 VM IP network: 192.168.1.x Code: Select all# cat /etc/network/interfaces auto lo iface lo inet loopback auto ens18 iface ens18 inet static address 172.19.20.254 netmask 255.255.255.0 gateway 172.19.20.1 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up echo 1 > /proc/sys/net/ipv4/conf/ens18/proxy_arp auto vmbr0 iface vmbr0 inet static address 192.168.1.1 netmask 255.255.255.0 bridge_ports none bridge_stp off bridge_fd 0 The above config is what I've been able to piece together from searching online, but the VMs still can't communicate out. Can anyone assist? | Have you read this https://wiki.debian.org/BridgeNetworkConnections ? |
Its running the script as log files are being completed, but it doent opent a xterm terminal, neither a konsole terminal. When I use run-parts for testing it, It does open the terminals... Code: Select all#!/bin/sh # PATH=/sbin:/bin:/usr/sbin:/usr/bin export PATH fechaname=hardback-`date +%Y-%m-%d_%H:%M:%S`.log su myuser -c "/home/myuser/scripts/hardback.sh" | tee /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname su myuser -c "konsole --hold -e more /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname" su myuser -c "xterm -hold -e more /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname" Any help? , Thanks | bester69 wrote:Its running the script as log files are being completed, but it doent opent a xterm terminal, neither a konsole terminal. When I use run-parts for testing it, It does open the terminals... :?: :?: Code: Select all#!/bin/sh # PATH=/sbin:/bin:/usr/sbin:/usr/bin export PATH fechaname=hardback-`date +%Y-%m-%d_%H:%M:%S`.log su myuser -c "/home/myuser/scripts/hardback.sh" | tee /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname su myuser -c "konsole --hold -e more /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname" su myuser -c "xterm -hold -e more /home/myuser/LINUXDEBS/NOBACKUP/logs/$fechaname" Any help? :( , Thanks Well cron.daily runs as root so I don't know how you expect that to work (hint: imagine nobody is logged in, where should xterm show up?). cron is not (designed) for interactive things. If you really insist in (ab)using it for that purpose, use at least the user's cron, so that you don't need the "su myuser -c". Note also that before konsole or xterm can do anything graphical they need to know where they are supposed to show up, i.e. at the very least you should set the DISPLAY environment variable to something sensible. On top you have the whole session/dbus/pam/systemd/policykit mess to deal with. But first things first.. (it won't work anyway). |
Hey everyone - I recently "mastered", lol - working up a backup drive to use encryption in Ubuntu. My drive has backups and its used as a work drive for my schematics. That being said, I'm currently using a key file for authentication opposed to a password when I mount and open the drive. So the question is this; when I need to move this drive from my Ubuntu station to my Deb station, I'm hoping that as long as I have the key file, I should be able to access the drive just as I do under Ubu. The current setup under Ubu uses /etc/crypttab and that points to where the key file is located (I know most of you know this, just mentioned for those that may not). My thinking is all should be Ok to move this drive to my Deb station as long as I have the key file for the authentication. I'm hoping folks that know more than I (and that's most of you) might have done somethings like this and lend me guidance. Thanks in advance! Cheers Chris | ... actually, I had time last night to play this out. I was able to prove out my basic theory that if I have a drive that was encrypted on a Ubuntu system with the use of a key-file for authentication, I "should" be able to use this same drive on my Debian system, provided I have the correct bits to authenticate. So that's just what I did - replicated everything I had under my Ubuntu system to my Deb station. I know I shouldn't be surprised, but heck yeah - I was. It indeed worked, and let me tell you - most of my little theories normally don't pan out but this one did. I'll do up a short process on what I did (commands and the like) and dump it here in case someone wishes to do what I did. Mind you, nothing special for most seasoned Deb (Linux) users, just something I wanted to do for a long spell but held off mainly because it "seemed" ominous Cheers Chris |
Dear Friends, I am new Debian user. Today I have just installed at my laptop. I have problems with network. It appears message like bellow. What should I do? Code: Select all● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-06-02 17:20:41 WIB; 22min ago Docs: man:interfaces(5) Process: 383 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE) Process: 216 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm se Main PID: 383 (code=exited, status=1/FAILURE) Jun 02 17:20:41 home ifup[383]: than a configuration issue please read the section on submitting Jun 02 17:20:41 home ifup[383]: bugs on either our web page at www.isc.org or in the README file Jun 02 17:20:41 home ifup[383]: before submitting a bug. These pages explain the proper Jun 02 17:20:41 home ifup[383]: process and the information we find helpful for debugging.. Jun 02 17:20:41 home ifup[383]: exiting. Jun 02 17:20:41 home ifup[383]: ifup: failed to bring up eth0 Jun 02 17:20:41 home systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE Jun 02 17:20:41 home systemd[1]: Failed to start Raise network interfaces. Jun 02 17:20:41 home systemd[1]: networking.service: Unit entered failed state. Jun 02 17:20:41 home systemd[1]: networking.service: Failed with result 'exit-code'. My laptop is HP 1000. Specifications: - Memory: 1.7 GiB - Processor: AMD® A4-3330mx apu with radeon(tm) hd graphics × 2 - Graphics: AMD® Sumo2 - Base System: Debian GNU/Linux 9 (stretch) 32-bit Would you help me step by step. Thank your for your attention. | Please post the full content of /etc/network/interfaces, thanks. |
I thought I better ask this in a new thread before I mess everything up. I was trying to move a folder named " DWA-160_REVB_DRIVERS_1.610_LINUX" to my src folder. Instead I moved my src folder inside the "DWA-160_REVB_DRIVERS_1.610_LINUX" folder. I tried several times to move it back but thankfully I got errors. Can I move it back or can I create a new src folder inside the usr folder. I`m having a hard time wrapping my head around the cd and mv commands. Everything I study about them is over my head. This is my original command that messed it up. Thanks Code: Select allmv -t /home/heatlocke/Downloads/DWA-160_REVB_DRIVERS_1.610_LINUX /usr/src/ | ramblin wrote:I thought I better ask this in a new thread before I mess everything up. I was trying to move a folder named " DWA-160_REVB_DRIVERS_1.610_LINUX" to my src folder. Instead I moved my src folder inside the "DWA-160_REVB_DRIVERS_1.610_LINUX" folder. I tried several times to move it back but thankfully I got errors. Can I move it back or can I create a new src folder inside the usr folder. I`m having a hard time wrapping my head around the cd and mv commands. Everything I study about them is over my head. This is my original command that messed it up. Thanks Code: Select allmv -t /home/heatlocke/Downloads/DWA-160_REVB_DRIVERS_1.610_LINUX /usr/src/ In the man page: Code: Select all-t, --target-directory=DIRECTORY move all SOURCE arguments into DIRECTORY AKA you: moved /usr/src/ into /home/heatlocke/Downloads/DWA-160_REVB_DRIVERS_1.610_LINUX as /home/heatlocke/Downloads/DWA-160_REVB_DRIVERS_1.610_LINUX is the target directory. |
I just installed Stretch 9.4.0 on an AMD64 platform with no issues. This build runs excellent on my wired connection. ( I`m using it now ). Wireless, however is another story. My network adapter ( RTL8192EU ) is not recognized natively so I used Synaptic and installed the Realtek package that does have the driver. I also downloaded it from the installation CD to the download folder but don`t know what to do with it there. After the Synaptic install, network manager was able to see my network ( and many others ) but unable to connect. I have run apt-get update, upgrade and installed the other recommended headers, i386 architure, contrib and nonfree, est. I also have separate screenshots of lsusb, iwlist scan and iwconfig, all recognizing the adapter and port but I can`t seem to upload them here. Says the extension is not allowed. Could someone advise please ? Thanks | ramblin wrote:Tried again to upload 3 pics converted to jpeg and it says "Sorry, the board attachment quota has been reached." http://forums.debian.net/viewtopic.php?f=16&t=123831 |
it is running debian sid. the user i am using to login with has the following in smb.conf Code: Select all[media] path = /mnt/media valid users = media read only = no #hosts allow = 192.168.1 127.0.0.1 when i am in macos, it logs me in automatically every time since the first time i entered in my login credentials and stated it should remember the password forever. the same holds true for when i am using windows. however on 2 different linux machines, it constantly asks for the username and password. what could be the cause of this? | You're going to have to be much more clear and detailed if you want help here. To start with, WHAT is using Sid? Your server, your client, what? And why in the world would you run a Samba server on a highly experimental OS? What does your server installation look like (again--details!) and what do the client machine(s) look like, including what you installed to make them Samba clients? Assuming I'm understanding you correctly that you are attempting to connect two different Linux machines as Samba clients to a Samba server running Sid, that's not at all clear. In my Linux Samba client machine I pass user and password info in the mount command, I use a GUI program to do the same in Android, and my server is now old-stable. IMHO using Sid to run any sort of server is simply asking for trouble. |
Hello, I have a problem when I try to install dependency using the command "apt-get install -f" and appear an error message about " pkgProblemResolver". Someone can help me? Thanks | Not without a lot more info than that. Post your complete command and output in a code box, and describe your setup and version and what you are trying to do clearly. |
I've just installed Debian 9 ( clean install, no upgrade from 8 ) and I get these errors (NO_PUBKEY) from Synaptic about keys missing. I haven't added any third-party repositories. How can I add the stretch keys to debian 9? Also, how can I see what keys are already installed and if they belong to debian 9 or to the previous versions? Code: Select allGPG error: http://security.debian.org stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553The repository 'http://security.debian.org stretch/updates InRelease' is not signed.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.The repository 'http://deb.debian.org/debian stretch/updates Release' does not have a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1 NO_PUBKEY EF0F382A1A7B6500 | After many hours of searching I finally managed to remedy the problem. I've fount the missing keys from public key-servers and I added them using synaptic. From the menu: "Settings > Repositories" , in the Authentication Tab, I added them one by one. I don't know if this is the proper way to add keys systemwide but that worked. Does anyone know what the default repositories on a clean Debian 9 installation are? I mean the default sources.list file? |
I have a server with raspberry pi with raspbian 9 installed I can entry in ssh I can to read with sshfs on my client pc I installed debian 9, fuse and sshfs I do not have the fuse group, in the my client with debian 9 my uid-gid are = 1000 same for the client and for the server I created a local directory in the home called sshfs-dir, then of the my user with write and read permissions after the sshfs command, the files and directories contained in sshfs-dir, are owned by root and of the root group so I can not write either as user or as root but I can only to read. some ideas about it about how to can write on the remote directory? thanks | Can’t really tell from your description. Show your working... Post the commands and output, along with some ‘ls -l’ output (in text in a code box - not a screenshot). |
I have paid for a Virtual Private Server (VPS) at 1&1 in the UK to host http://www.kickbymicrowave.co.uk/ and hopefully a secure version https://www.kickbymicrowave.co.uk/, but the latter is presenting me problems. The It is running Debian. 9 Code: Select all root@localhost:~# cat /etc/issue Debian GNU/Linux 9 \l I installed the Apache ssl module, installed SSL certificates, and have in the Apache configuration fileCode: Select all /etc/apache2/sites-enabled/000-default.conf, a Virtual Host with Code: Select all<VirtualHost *:443> ServerName www.kickbymicrowave.co.uk ServerAdmin drkirkby@kickbymicrowave.co.uk DocumentRoot /var/www/html/kickbymicrowave.co.uk ErrorLog ${APACHE_LOG_DIR}/error-kickbymicrowave.co.uk-SSL.log CustomLog ${APACHE_LOG_DIR}/access-kickbymicrowave.co.uk-SSL.log combined SSLEngine on SSLCertificateKeyFile /etc/ssl/private/www_kickbymicrowave_co_uk.key SSLCertificateFile /etc/ssl/ssl.crt/www_kickbymicrowave_co_uk.crt SSLCertificateChainFile /etc/ssl/ssl.crt/www_kickbymicrowave_co_uk.ca-bundle </VirtualHost> Using a browser tor try to connect to the secure website https://www.kickbymicrowave.co.uk/ fails - the browser just waits forever. As far as I can determine, port 443 is open on the server, as I can telnet to the port, and its clear telnet connects, although of course there's nothing useful one can do with telnet, but it is an easy way to see if a port is open. Code: Select allroot@localhost:~# telnet localhost 443 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. lsof shows port 443 is open too. But from a remote computer, Code: Select alldrkirkby@hawk:~$ telnet 109.228.58.153 443 Trying 109.228.58.153... telnet: Unable to connect to remote host: Connection timed out drkirkby@hawk:~$ I have not configured any firewall, but wondered if there was one enabled that was blocking port 443. Code: Select allroot@localhost:/etc/apache2/sites-enabled# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination I don't think its a firewall issue. I'm really a bit puzzled. Can anyone suggest anything? | I found the solution - the 1&1 control panel for the virtual private server (VPS) had to be configured to allow port 443 in. |
Hi crew, I am new to this forum, but not to Debian nor the Linux users world. I've been using various distros since 2007, including Debian from time to time. But since some weeks, I have a crazy long boot time I can't explain, even after googling the problem. I think I am mislead by the ACPI error message, that seems to be a common bug with no impact on performances. I do have some systemd networking.service problem I could solve. But my kernel time is long and I can't figure out why. Could you please help me figuring out why? Here is the startup screen: Systemd-analyze output: Code: Select allanghi@asus-k53sd:~$ systemd-analyze time Startup finished in 32.501s (kernel) + 9.527s (userspace) = 42.029s anghi@asus-k53sd:~$ systemd-analyze blame 5.955s NetworkManager-wait-online.service 1.575s networking.service 1.461s dev-sda4.device 1.178s dev-loop1.device 1.178s dev-loop0.device 615ms apt-daily.service 411ms systemd-rfkill.service 403ms apt-daily-upgrade.service 377ms ModemManager.service 337ms mnt-Donnees.mount 257ms NetworkManager.service 222ms accounts-daemon.service 213ms lm-sensors.service 209ms polkit.service 160ms keyboard-setup.service 145ms upower.service 122ms systemd-timesyncd.service 100ms systemd-journald.service 98ms snap-core-4486.mount 95ms alsa-restore.service 93ms rsyslog.service 90ms snap-core-4571.mount 86ms user@1000.service lines 1-23...skipping... 5.955s NetworkManager-wait-online.service 1.575s networking.service 1.461s dev-sda4.device 1.178s dev-loop1.device 1.178s dev-loop0.device 615ms apt-daily.service 411ms systemd-rfkill.service 403ms apt-daily-upgrade.service 377ms ModemManager.service 337ms mnt-Donnees.mount 257ms NetworkManager.service 222ms accounts-daemon.service 213ms lm-sensors.service 209ms polkit.service 160ms keyboard-setup.service 145ms upower.service 122ms systemd-timesyncd.service 100ms systemd-journald.service 98ms snap-core-4486.mount 95ms alsa-restore.service 93ms rsyslog.service 90ms snap-core-4571.mount 86ms user@1000.service 83ms systemd-udevd.service 75ms systemd-tmpfiles-setup-dev.service 67ms systemd-modules-load.service 66ms sys-kernel-debug.mount 64ms dev-mqueue.mount 63ms systemd-udev-trigger.service 61ms avahi-daemon.service 52ms colord.service 50ms speech-dispatcher.service 48ms lightdm.service 47ms udisks2.service 44ms snapd.autoimport.service 41ms kmod-static-nodes.service See below the .svg https://drive.google.com/open?id=1QHuVg ... eVNFdf4PR0 System config: Debian 9.4 x86-64 Kernel 4.9.0-6-amd64 Core i5-2450m Geforce 610m / on a ssd, ext4 on sda Grub on /dev/sdb, a HDD (for my wife to avoid seeing the Grub screen by default everytime she uses the laptop. So I manually boot on sdb to get Grub) Dualboot with W10 Thanks all | Have you tried installing haveged yet? |
Hi, Im trying to setup 802.3ad bonding, on two interfaces (DUAL NIC), for testing purposes. ifenslave is installed. Any suggestions to what im missing. My bond section in the interface file look like this Code: Select allauto enp1s0f0 iface enp1s0f0 inet manual bond-master bond0 auto enp1s0f1 iface enp1s0f1 inet manual bond-master bond0 auto bond0 #iface bond0 inet manual iface bond0 inet static address 192.168.15.200 netmask 255.255.255.0 bond-mode 4 bond-slaves none bond-miimon 100 bond-lacp-rate 1 But I wounder, why the state of the interface is not UP ? Code: Select all ip a |grep bond0 6: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 inet 192.168.15.200/24 brd 192.168.15.255 scope global bond0 I can strangely enough ping the interface (from the machine itself)? Code: Select allping 192.168.15.200 PING 192.168.15.200 (192.168.15.200) 56(84) bytes of data. 64 bytes from 192.168.15.200: icmp_seq=1 ttl=64 time=0.022 ms 64 bytes from 192.168.15.200: icmp_seq=2 ttl=64 time=0.028 ms the bonding status, looks for strange as well, since there is not slaves present here Code: Select all cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: layer2 (0) MII Status: down MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 802.3ad info LACP rate: fast Min links: 0 Aggregator selection policy (ad_select): stable System priority: 0 System MAC address: 00:00:00:00:00:00 bond bond0 has no active aggregator I've also tried with Code: Select all # bond-slaves enp1s0f0 enp1s0f1 But then I just get Code: Select allFailed to enslave enp1s0f0 to bond0. Is bond0 ready and a bonding interface ? Failed to enslave enp1s0f1 to bond0. Is bond0 ready and a bonding interface ? | Fixed.. I found this in the kern.log.. Code: Select allMay 25 13:45:43 prodigy kernel: [56725.467067] bond0: Adding slave enp1s0f0 May 25 13:45:43 - kernel: [56725.467127] bnx2 0000:01:00.0: firmware: failed to load bnx2/bnx2-mips-09-6.2.1b.fw (-2) May 25 13:45:43 - kernel: [56725.467157] bnx2 0000:01:00.0: Direct firmware load for bnx2/bnx2-mips-09-6.2.1b.fw failed with error -2 May 25 13:45:43 - kernel: [56725.468828] bond0: Adding slave enp1s0f1 May 25 13:45:43 - kernel: [56725.468877] bnx2 0000:01:00.1: firmware: failed to load bnx2/bnx2-mips-09-6.2.1b.fw (-2) May 25 13:45:43 - kernel: [56725.468906] bnx2 0000:01:00.1: Direct firmware load for bnx2/bnx2-mips-09-6.2.1b.fw failed with error -2 installed missing firmware package Code: Select allapt-get install firmware-bnx2 Oh, and bond slaves has to be Code: Select all bond-slaves enp1s0f0 enp1s0f1 |
hi since the last upgrade (4.9.0-6-amd64 #1 SMP Debian 4.9.88-1 (2018-04-29) x86_64 GNU/Linux) lxde start needs more than 30sec from login till it is ready. before it was about 5sec, which is why i like lxde on my slow netbook. boot till login 19sec login till lxde 38sec i don't understand the syslog: May 6 18:01:32 stof008 systemd[1]: Started User Manager for UID 111. May 6 18:02:03 stof008 lightdm[839]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBu$ May 6 18:02:03 stof008 systemd[1]: Stopping User Manager for UID 111... ... May 6 18:02:03 stof008 systemd[1]: Starting User Manager for UID 1001... ... May 6 18:02:03 stof008 systemd[1]: Stopped User Manager for UID 111. May 6 18:02:03 stof008 systemd[1]: Removed slice User Slice of lightdm. ... May 6 18:02:03 stof008 systemd[1]: Started User Manager for UID 1001. ... May 6 18:02:43 stof008 systemd[1]: Startup finished in 4.180s (kernel) + 1min 16.842s (userspace) = 1min 21.023s. what could cause this? thanks for getting a fast slow maschine again stof | Take a look here: http://forums.debian.net/viewtopic.php? ... 4&start=30. This seems to solve the problem for most of us. |
Hello Guys, I'm an advanced beginner regarding to Debian, but relative new regarding to Linux booting from USB. While the installation I had problems while installing grub, so I skipped that. When I'm starting my laptop now, I can boot from efi file, and then everything is fine. But the USB Stick can't boot automatically. Few days ago I tried to boot this stick from an old windows 7 desktop pc, but my stick was not found in the boot manager, and on this old PC, there was no option to boot from grub. The stick is sdb and here my outputs from lsblk Code: Select allNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465,8G 0 disk ├─sda1 8:1 0 1023M 0 part ├─sda2 8:2 0 360M 0 part /boot/efi ├─sda3 8:3 0 128M 0 part ├─sda4 8:4 0 451G 0 part ├─sda5 8:5 0 903M 0 part ├─sda6 8:6 0 10,4G 0 part └─sda7 8:7 0 2G 0 part sdb 8:16 1 29,4G 0 disk ├─sdb1 8:17 1 512M 0 part ├─sdb2 8:18 1 21,7G 0 part / └─sdb3 8:19 1 7,2G 0 part [SWAP] mmcblk0 179:0 0 29G 0 disk └─mmcblk0p1 179:1 0 29G 0 part sdb1 is the efi partition. But I want, that sdb2 will be boot automatically. I tried several things to install manually the bootload while installation, but nothing works and i tried to install the bootloader via syslinux with several commands, but it's still not booting automatically. Please help me. Thanks a lot | verrain wrote:I had problems while installing grub, so I skipped that Which problems ? verrain wrote:When I'm starting my laptop now, I can boot from efi file, and then everything is fine. Then it looks like you did not completely skip the installation of GRUB. What EFI path/file do you select ? You say that sdb1 is the EFI partition on the USB stick, but the installation in sdb2 does not use it : it uses sda2 as the EFI partition instead. What is installed on sda ? This is obviously an EFI installation. In order to boot in EFI mode from a USB stick, you must : - Use the EFI partition on the stick, i.e. mount it on /boot/efi. Replace the UUID of sda2 with the UUID of sdb1 in /etc/fstab, unmount and remount /boot/efi. - Install GRUB EFI in the "removable device path" (default boot loader) on the USB stick with Code: Select allgrub-install --removable Note that GRUB EFI can only boot on a UEFI machine with EFI boot enabled. In order to boot on a BIOS machine or UEFI machine with EFI boot disabled and legacy boot enabled, you must install a BIOS boot loader such as GRUB PC : - install the package grub-pc-bin - install the boot loader with Code: Select allgrub-install /dev/sdb # assuming sdb is the USB stick Notes : - If the USB stick has a GPT partition table (which I do not recommend), you'll have to create a small (100 kB to 1 MB) partition with type "BIOS boot" before installing GRUB PC to allow embedding, or add the --force option to allow using blocklists. - Some BIOS firmwares require that a partition in the legacy DOS partition table of the MBR has the boot flag set. With GPT, you must set the boot flag on the protective GPT partition, not on a real partition. Unfortunately, some UEFI firmwares won't boot in EFI mode if the boot flag is set, because it is considered invalid per the GPT specification. This is why I recommend against GPT on a USB drive intended for booting on most PCs. |
Hi, do you know if there are recent tips to mount an Iphone on Debian 9? Unfortunately, official wikis and forum posts, do not allow me to do this operation, which is allowed on other distros. I thank you. | How are you 'not allowed'? Where does it fail? |
Hello everyone, I am a happy user of Debian for years now, but I am not an expert at all. I am running Debian Stretch (with gnome) along with Windows 10 (dual boot) on a Thinkpad X220, and my system is frequently updated. Everything was running smoothly till this afternoon, when I faced a problem I have difficulties to solve by myself. Here is my problem: when booting Debian, I can no longer reach the login screen. All the information displayed on the screen are the same as usually during the boot sequence, but the UI then doesn't seems to launch as usually after that. What I tried to do to solve the problem: - I booted on Gparted from a USB key, and performed a fsck on my root partition (/dev/sda6), but no errors were found. - When starting my computer, I booted in recovery mode, which gave me access to a console. After spending some time there (trying to troubleshoot my problem), I enter "exit", and sometimes the login screen appears, but 90% of the time I get stuck here as would happen if I boot Debian. What happened recently: There were no unusual changes in my system that come to my mind that could explain this problem. The only thing I did two days ago was updating Windows 10 to "April 2018 Update". But I don't know if this update can create a Debian booting problem. I am happy to give you all the logs you would need if you tell me how to get them. | One thing that can cause this sort of issue is a lack of space, you can use a console (press Ctrl+Alt+F1 at your blank screen) and then login and then you can check what free space is available using df and if any of them are 90% used or higher it might help to either resize that partition or remove any surplus files. There are other reasons that can cause your issue and this is just the simplest one to fix |
First as all of you know I am running testing. Well maybe not everyone knows that. I did some google searching and nothing has turned up about this so far. I went to launch synaptic from my menu and nothing happened. I thought this is weird. So I opened up a terminal and launched it and it said command not found. Well I know it is there. So I ran su synaptic and it launched. Ok so what is wrong. Not sure. So I looked at the launcher and it had this as the command : synaptic-pkexec so I ran that and this is what I got: Code: Select allcihonm@cihonm:~$ synaptic-pkexec ==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is required to run the Synaptic Package Manager Authenticating as: cihonm,,, (cihonm) Password: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie ==== AUTHENTICATION FAILED === Error executing command as another user: Not authorized This incident has been reported. The weird thing to me is why is ubuntu involved? I don't have any ubuntu anything on this system that I am aware of. This is a pure debian testing machine. Any ideas? | It's only a guess, but are you in the sudo group? or do you even have sudo installed? I'm not at all sure this would make a difference, but I would imagine pkexec has to get it's authorization from somewhere and sudo is the "normal" way a user gets authorized to run root commands. I'm not saying you "should" install sudo, but if you want to run commands as user but gain privilege escalation then you would need some structure to do it. There is likely a better way to do this with some policykit configuration but I will have to leave that for someone more knowledgeable. |
Hello, hello, I normally use Ubuntu or CentOS, but I need to install the latest Debian on a server. I've done that once before (8.5) and besides a nonfree driver issue, I didn't run into issues. But here: impossible. I've put the nonfree 9.4 ISO on a USB key, I boot and start the install process. When comes time for the partitioning, I select the entire disk (a hardware RAID1 of 2 SSDs, 250Gb) and I get: Failed to Partition the selected disk - This Probably happened because the selected disk or free space is too small to be automatically partitioned I tried also in manual, same thing (with a similar but different message sometimes): impossible. I tried that same ISO in a VM and I have no problem installing the system on a virtual disk. I also booted my server with a debian liveCD and had no problem doing a quick and dirty partition of my SSDs manually using fdisk, fsck, mounting it and using it. EDIT: a few extra info: the SSDs in the RAID1 are 240Gb Dell Perc H730 Adp. If I try to install on a RAID5 3Tb (normally meant for data), the installer proceeds normally. So what is going on, why is the installer refusing my disk ? Thanks | Have you re-accomplished RAID setup on the SSD's by clearing the partition tables and creating new raid partitions? |
I installed apache 2, mysql server and php my admin without problems. Problem is that when starting php my admin, it requests user and password and I don't know where to set those. | Maybe give a little better details, How exactly did you install phpmyadmin ? What OS is it ? or Debian version, if it is Debian ,... Usually the default user is "root" and the default password is "admin" This might help : https://askubuntu.com/questions/118772/ ... phpmyadmin If not, there is plenty of tutorials and instruction on installing and setting up phpmyadmin, if you feel you must use it. I don't use it myself, there is no real need for it, php software and programs work just fine with out it. But any way, you can try again using: Code: Select alldpkg-reconfigure -plow phpmyadmin But be sure to make sure MariaDB Service is running. If stopped, start it. If you are using Debian 9, stretch,... This will let you reconfigure it,..(maybe). I strongly suggest reading this first: (and care fully), https://manjaro.site/how-to-install-php ... 9-stretch/ If you are not using Debian stable or older, who knows ? It is anybodies guess, the configuration varies, depending on the OS, if it is Debian Testing, there could be other problems as well, it would be nice if people learned to include essential details to start with, but that will never happen. |
I made a bad mistake when setting up my zfs pool, used sd? instead of wwn-... for the zfs drives. Now I found I have the problem that every time when I boot with some thumb drive plugged in, the thumb drive gets allocated a sd? number inbetween the sd? spinning drives. This in turn makes the zfs volume mount fail at boot. Is there a way to define that thumb drives get allocated at a particular offset, say, sdi, or, sdp so that they will not clobber the sd sequence for the spinning drives? Or, at least a way to make the thumb drives getting assigned letters past the last spinning drive? Thank you. | Meow wrote:I made a bad mistake when setting up my zfs pool, used sd? instead of wwn-... for the zfs drives. What do you mean exactly ? Do /dev/sd* names appear in some config files ? A feature of modern GNU/Linux systems is that disk block device numbering and naming is not persistent by design, and IMO should not be expected to be. So you should fix your ZFS setup so that it uses any persistent identifiers instead of /dev/sd* names. bw123 wrote:The way I understand it, different bios can supply the different bootable devices in a different order, depending on type of interface(ide, sata,scsi,usb) so it was decided at some point to use scsi emulation for them all. You understand wrong. SCSI emulation has nothing to do with the BIOS. |
I am currently using 4.9.0-0.bpo.4-686-pae #1 SMP Debian 4.9.65-3+deb9u1~bpo8+1. I noticed in some searches regarding Stretch that 4.9.0-0.bpo.5-686-pae #1 SMP Debian 4.9.65-3+deb9u2~bpo8+1 has been patched to mitigate the Meltdown vulnerability. I also noticed that the same version is available in jessie-backports. So, hoping this isn't too dumb of a question, is the version in jessie-backports also patched for the Meltdown vulnerability. I would assume so, but assuming things is a good way to bork a system. And should I take the time to upgrade the kernel? | Look at the changelog on the pkg page. https://packages.debian.org/jessie-back ... .5-686-pae |
I have an old wheezy installation (on a VM) I use to cross-compile software for an ARM box. Today I did an "aptitude update" followed by "aptitude upgrade" to refresh the installed packages (there were mainly security updates). However, after I installed all the updates and rebooted, now the boot process (whichever kernel I choose, 3.2.0-4 or 3.2.0-5) will stop with the following reason: Gave up waiting for root device. Common problems: [cut] ALERT! /dev/disk/by-uuid/fa6... does not exist Dropping to a shell! and the initramfs prompt from BusyBox is shown. The root mount point is on a LVM logical volume. On the initramfs I type "lvm", followed by "lvdisplay" and this is what is shown: Code: Select allLV Path /dev/mycloud-crosscompile/root LV Name root VG Name mycloud-crosscompile [...] LV Status NOT available [...] LV Path /dev/mycloud-crosscompile/swap_1 LV Name swap_1 VG Name mycloud-crosscompile [...] LV Status available As you can see, two logical volumes created on the same Volume Group, but one of them (the root one) is NOT available. /etc/fstab correctly tries to mount the root from the right device: /dev/mycloud-crosscompile/root (and not by UUID, as the boot error message seems to suggest) vgdisplay shows: Code: Select allVG Name mycloud-crosscompile System ID (empty) Format lvm2 [...] MAX LV 0 Cur LV 2 Open LV 0 Max PV 0 Cur PV 2 Act PV 2 pvdisplay: Code: Select allPV Name /dev/sda5 VG Name mycloud-crosscompile [...] PV Name /dev/sdb1 VG Name mycloud-crosscompile [...] So, all seems to be fine, except from the root logical volume being NOT available. Running "vgchange -ay" shows: Code: Select all2 logical volume(s) in volume group "mycloud-crosscompile" now active. Then I type "exit" twice (once to exit "lvm" prompt, once to exit the "initramfs" prompt) and then boot starts and completes normally. I spent a lot of time today to search for others having similar problems, but nobody seems to be in my same situation. What I understand is that probably LVM initialisation is not completed soon enough for the boot sequence to find the root logical volume. But I don't understand why and especially why it started to happen only after a system update. I already tried to type again "vgchange -ay" or "update-initramfs -uv", but with no luck: next reboot will fail with the exact same problem. Any help would be greatly appreciated. Mauro. | "LV not available" just means that the LV has not been activated yet, because the initramfs does not feel like it should activate the LV. The problem seems to be in the root= parameter passed by GRUB to the kernel command line as defined in /boot/grub/grub.cfg. When the root file system is on an LV, the root parameter should be /dev/mapper/VGname-LVname instead of the UUID, so that the initramfs knows it is an LV and can activate and mount it. Try to run update-grub again and see if that fixes the problem. |
Code: Select allW: http://security.debian.org/dists/stretch/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://ftp.us.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://ftp.us.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. I have tried Code: Select allapt-get install --reinstall debian-archive-keyring apt-get autoclean apt-get clean but it didn't help. Code: Select all$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch | Did a quick search to try to help. I don't know if you did any searching or not but you should try. Then tell us what you tried with Code: Select all captures showing results. Anyway I don't know if this will help but you have nothing to lose: [url]http://forums.debian.net/viewtopic.php?t=130558[/url] |
Hi!II am a Debian newbie having installed Debian 9 Stretch 64 bit. When I run apt-get update I get output errors below W: GPG error: https://dl.bintray.com/resin-io/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61 W: The repository 'https://dl.bintray.com/resin-io/debian stable Release' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. Kindly assist. | Did you "See apt-secure(8) manpage"? It explains your issue and how to solve it. |
Hi!I am a Debian newbie having installed Debian 9 Stretch 64 bit 2 months ago.I updated the /etc/apt/sources.list with the following repositories as per document link below https://wiki.debian.org/SourcesList deb http://deb.debian.org/debian stretch main deb-src http://deb.debian.org/debian stretch main deb http://deb.debian.org/debian stretch-updates main deb-src http://deb.debian.org/debian stretch-updates main deb http://security.debian.org/debian-security/ stretch/updates main deb-src http://security.debian.org/debian-security/ stretch/updates main deb http://deb.debian.org/debian stretch main contrib non-free deb-src http://deb.debian.org/debian stretch main contrib non-free deb http://deb.debian.org/debian stretch-updates main contrib non-free deb-src http://deb.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free Every weekend I try to update my packages by running the commands apt-get update and apt full-upgrade. When I run apt-get update I get output below.What could be the issue with "configured multiple times" message.Have I setup a repo more than once?If so what entries should be on my sources.list file? Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Ign:2 http://deb.debian.org/debian stretch InRelease Hit:3 http://security.debian.org/debian-security stretch/updates InRelease Hit:4 http://deb.debian.org/debian stretch-updates InRelease Hit:5 http://dl.google.com/linux/chrome/deb stable Release Hit:7 http://deb.debian.org/debian stretch Release Reading package lists... Done E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list:28 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:25 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:22 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 E: Failed to fetch https://dl.bintray.com/resin-io/debian/ ... /InRelease E: Some index files failed to download. They have been ignored, or old ones used instead. W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:22 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:25 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list:28 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3 When I run the second command apt full-upgrade I get output below.Ever since I installed Debian over 2 months ago,no new packages have been updated which is weird since I expect that some packages would have been updated in the last 2 months.Is there a reason why I am not updating packages and how can this be resolved? Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | It tells you what line numbers are duplicated. |
Hi!I am a Debian newbie having installed Debian 9 Stretch 64 bit.I have tried installing google earth first by adding the following repository below on /etc/apt/sources.list deb http://dl.google.com/linux/earth/deb/ stable main Next I installed the 2 packages below apt-get install googleearth-package apt-get install lsb-core I assumed I had fully installed google earth but I how do I launch it?When I search for applications I cant find it. | http://forums.debian.net/viewtopic.php?t=130229 Nobody can figure out your desktop menu, or what the pkg you installed will do better than you can. The reason is because nobody can guess what desktop or menu system you are using. Most packages have a readme file, or a man page, or some other documentation. I often use 'apropos' command from a terminal when I can't find something. Try typing 'apropos earth' from a terminal? Also some menu systems will search for a link when you start typing, so try opening the menu and type GOO and see if that helps. Documentation is usually in /usr/share/doc/PKGNAME Please make some effort to find the answer before starting a lot of threads. The forum is a friendly place for the most part, but some people discourage a lot of new threads for really simple questions. |
this seems to be a recent malady.... on system start-up my Dropbox daemon doesn't start i can go in with command line Code: Select alldropbox stop dropboxd dropbox start dropboxd -- that starts it -- but -- I shouldn't need to do this: it's in the startup list ***this problem has only been happening recently -- 10 days about *** | 0) How did you install Dropbox? You didn't use the .deb for Ubuntu, did you? 1) What did you do when the problems started? Did you upgrade anything? Use this to find out: Code: Select allless /var/log/apt/history.log 2)What are you using? Stable/testing/unstable, Stretch/Jessie/Lenny/Older/Something else than Debian? Code: Select allcat /etc/debian_version OR Ask appropriate forum if you're using something else than Debian 3) Have you checked logs on startup? Any errors? Code: Select alldmesg OR journalctl 4) How have you configured auto-start? Gnome/KDE/cron/systemd service/sysvinit script/what? These should help to narrow down the problem. Dropbox doesn't seem to have fully supported desktop client for any other distro than Ubuntu, although they have some command-line tools which can be used with any Linux distro, apparently. Quote from the page: The Nautilus installer source code has been released under an MIT license, and people have reported building from source on different versions of Gentoo, Arch Linux, OpenSUSE, and Debian. Your results may vary. Asking Dropbox might be the best channel for help on the issue. |
I have three systems running Buster. All are updated regularly with "apt upgrade". One of them is on kernel-image 4.14 the other two updated to kernel-image 4.15 sometime ago. What gives? I was under the impression the default kernel would be 4.14 since that's LTS. | Post the output of Code: Select allapt-cache policy linux-image-amd64 on all boxes. I bet the one running 4.14 doesn't have the kernel metapackage. |
I previously asked for assistance here: https://reddit.com/r/linuxquestions/com ... onnection/ I seem to have some problems getting a second-hand machine (HP Elite 8200) to properly connect. The connection is very unstable, many times not being able to load any pages in the browser, getting pings over 200ms, and getting many 408 HTTP errors. I've checked Debian and Linux Mint so far, and both have this issue. I also wanted to try booting into a live session of both System Rescue CD and Gentoo as per the suggestions of the commenters in that reddit post, but I was unable to make the PC boot into those two either from grml-rescue nor from a pendrive. I've checked the ethernet port in the back of the machine, and it is intact, the cable isn't damaged as I've tried it with another machine, and it works as expected. Also there are no signs that the motherboard and it's components are damaged (bloated capacitors, stains, blown chips, corroded traces, etc) What I currently assume to be the culprit: the network interface on the machine is broken/dead in a way that's not obvious. Or there's something misconfigured somewhere (either router, BIOS or in the OS), or the driver for the network interface (which is an Intel 82579LM) is buggy. Now I know that the former cannot be fixed without replacing the whole machine or getting a network card, but could someone suggest what I could try to diagnose software-wise, in case it's the latter case? Thank you in advance! EDIT: tl;dr - The culprit was the cable. It's not damaged, and I can connect other devices to it and it works, but this particular NIC doesn't really like it. I'll be changing the cable with a CAT6 one and hopefully I won't have this issue. EDIT2: Changed the old cable with a Cat 6a S/FTP one, and now the NIC works properly. | Dai_trying wrote:Also I noticed you mentioned something about gigabit connection in the reddit post which makes me think you might need the tg3 firmware which I believe is in the package firmware-misc-nonfree andoru wrote:Network: Card: Intel 82579LM Gigabit Network Connection driver: e1000e IF: eno1 state: up speed: 100 Mbps duplex: full mac: --:--:--:--:--:-- Err, I seriously doubt that this Intel NIC needs any tg3 (Broadcom) firmware. Is it the output "as is" or did you hide the MAC address ? Please don't, or at least leave the first 3 bytes (manufacturer's OUI) untouched. Dai_trying wrote:you can always disable the non-free repository once you have the required firmware Why would you want to do this ? What about security updates ? Segfault wrote:There cannot be any privacy issues with ethernet MAC address, it is a Layer 2 attribute, it is used only on LAN. You're wrong. MAC addresses can appear in autoconfigured global (ie public and routable) IPv6 addresses. By the way, has anyone suggested to check related messages in the kernel logs ? |
Hi All If I install a package with apt, then it deletes the .deb file immediately after it installs the package. If I install the package with apt-get or aptitude then the .deb file is kept. How do I change this? I would like apt to keep the .deb file for a bit, until I run an apt autoclean every few weeks. Thanks in advance | from /usr/share/doc/apt/NEWS.Debian.gz [ Automatic removal of debs after install ] After packages are successfully installed by apt(8), the corresponding .deb package files will be removed from the /var/cache/apt/archives cache directory. This can be changed by setting the apt configuration option "Binary::apt::APT::Keep-Downloaded-Packages" to "true". E.g: # echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' \ > /etc/apt/apt.conf.d/01keep-debs Please note that the behavior of apt-get is unchanged. The downloaded debs will be kept in the cache directory after they are installed. To enable the behavior for other tools, you can set "APT::Keep-Downloaded-Packages" to false. |
I am on Debian Testing, not sure if that makes a difference here though. I am still researching this problem but haven't found a solution yet. Tried messing with /etc/hosts /etc/sudoers /etc/resolv.conf /etc/hostname All of these things seem fine. What happens is when I first open a terminal and type sudo apt-get update there is a delay after entering my password and the command runs. The next time I run sudo apt-get update it runs immediately and doesn't ask for my password as expected. Any ideas would be helpful. Thanks Dan | dcihon wrote:when I first open a terminal and type sudo apt-get update there is a delay after entering my password and the command runs Try using this in another terminal before you run the `sudo` command: Code: Select allsudo journalctl -fx This will show a "live" log of the systemd journal and any errors with `sudo` should show up in that terminal. |
Hi, I'm trying to create a custom tasksel task. This is the task (copied from the official README file of tasksel git repository): File /usr/share/tasksel/mytask.desc: Code: Select allTask: graphical-games Relevance: 9 Parent: games Section: user Description: Graphical games This task provides a variety of graphical games. Old-school unix games are not included. Key: x-window-system-core Packages: list quake myst monkey-island But when I run tasksel --list-tasks this is the output: Code: Select allu desktop Debian desktop environment u gnome-desktop GNOME u xfce-desktop Xfce u kde-desktop KDE u cinnamon-desktop Cinnamon u mate-desktop MATE u lxde-desktop LXDE u web-server web server u print-server print server u ssh-server SSH server u laptop laptop I'm running Debian Stable. How can I solve this problem? | from /usr/share/doc/tasksel/README.gz The Key field lists packages that are essential to the task. If those packages are not available, then the task will not be available either. Code: Select all $ apt policy x-window-system-core x-window-system-core: Installed: (none) Candidate: (none) Version table: |
This post is directed to debiman He wrote this in response to a forum post: fwiw, i dropped apache for nginx on my small server because it's overkill. I have built a debian server running stable 9 to run a mail server called iredmail: https://www.iredmail.org/ I have been working with their forum trying to resolve an issue and I am not getting anywhere so I thought I would put the question out here. I know it is a long shot but I am looking to try anything. The mail server uses RoundCube for its web interface and that is where the issue is. I have been on roundcube forums also trying to fix this. I'm not asking for a fix but that would be great. I keep running into dead ends. Logs aren't helping either. I can get specific if needed to. Just looking for another opinion on what to try. If you don't want to waste your time that is ok I understand. I will be continuing to work with iredmail forum support and looking wherever I can. What happens is when I goto the webpage : https://mydomain.com/mail i get 502 bad gateway nginx The mail server is working. Just can't use the Roundcube web interface. Thunderbird works to get mail. I know just use that then. I will if I can't get this fixed. One more thing I just thought of. I think this might have to do with a debian update. I think this started after I did an update. I know I should have a backup but I didn't think a simple stable update would break something. Lesson learned. Sorry for the rambling. | The ssl error just looks like one of the bots that trawl the net looking for servers offering the old insecure version. Ignore that. The 'file not found' shows where you have told nginx to look for iredmailadmin - where is it really? |
For about the last 6 weeks apt-get update generated the following error message: E: Failed to fetch http://security.debian.org/dists/stretc ... slation-en Could not open file /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_i18n_Translation-en.bz2 - open (13: Permission denied) [IP: 128.101.240.215 80] E: Some index files failed to download. They have been ignored, or old ones used instead. Searched online for a solution to this problem: rm /var/lib/apt/lists/partial/* Now when I run apt-get update the following error message is generated: E: Failed to fetch http://security.debian.org/dists/stretc ... slation-en BZ2_bzread: /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_non-free_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC) This would suggest a corrupt file on the debain update server but this seems very unlikely to me. Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list deb http://iso.mxrepo.com/antix/stretch/ stretch main Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list deb http://debian.mirror.netelligent.ca/debian/ stretch-updates main contrib non-free Active apt sources in file: /etc/apt/sources.list.d/debian.list deb http://debian.mirror.netelligent.ca/debian/ stretch main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main Active apt sources in file: /etc/apt/sources.list.d/mx.list deb http://iso.mxrepo.com/mx/repo/ stretch main non-free Does anyone know what the problem is and how to resolve it. Sandy Naturally nuts no pharmaceuticals required ... | Does it work any better if you try to fetch: http://security.debian.org/dists/stretc ... ion-en.bz2 from a different mirror? |
Refresh in Synaptic: Code: Select allW: http://deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://security.debian.org/debian-security/dists/stretch/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://ftp.us.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://ftp.us.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key. I disabled Security Updates and Recommended Updates then the error went away. I then enabled them again and a trusted.gpg file was generated in /etc/apt and the error came back. This is a fresh install | Seems like I have seen this asked quite a few times, so I tries a search. From some search results:The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user =================================== http://forums.debian.net/viewtopic.php?t=130558#p629511 Be sure to read the entire thread, there are some details that you need to know, like be sure to copy the original, before removing it, never know when you might need it. And there are some additional links , in case it does not work. Code: Select all rm /etc/apt/trusted.gpg apt-key update If that doesn't work, there is How to fix missing gpg key even though it should have been imported which has more detailed instructions. Thank you Bulkley for this command, worked like a charm for me, I did encountered this same issue with a new Debian stretch installation, I was pulling my hair off because I didn't find a clear answer for this on the interweb, only here in this forum, thank you again! |
Hi!!!!! This is my first post, i use Debian "Buster" on a PC with a Geforce 1050ti and a laptop Lenovo g580 (Geforce 635M). On both of them i play with Filghtgear and Urbanterror but I get only troubles with the Lenovo, everything goes smooth with the PC. When i launch flightgear with (antialiasing 2x, nothing else): Code: Select alloptirun -b primus fgfs --prop:/sim/rendering/multi-sample-buffers=true --prop:/sim/rendering/multi-samples=2 --log-level=debug ........ Using stock OSG implementation of GraphicsWindow StatsHandler::StatsHandler() Setting up GL2 compatible shaders initializing cloud layers Using initial window size: 1024 x 768 Error: Not able to create requested visual. getDefaultWindow: failed to create GraphicsContext Error: Not able to create requested visual. getDefaultWindow: failed to create GraphicsContext CameraGroup::buildGUICamera: failed to build a window Enabling ATI/AMD viewport hack ......... If antialiasing is disable, Flightgear starts Code: Select alloptirun fgfs Using the intel video card and anti aliasing on, it fails Code: Select allfgfs --prop:/sim/rendering/... Now with urban terror: Code: Select allprimusrun /UrbanTerror43/Quake3-UrT.x86_64 ........ ----- Client Initialization ----- ----- Initializing Renderer ---- ------------------------------- QKEY found. ----- Client Initialization Complete ----- ----- R_Init ----- ...loading libGL.so.1: Calling SDL_Init(SDL_INIT_VIDEO)... SDL_Init(SDL_INIT_VIDEO) passed. Initializing OpenGL display ...setting mode 13: 1366 768 Received signal 11, exiting... ----- CL_Shutdown ----- RE_Shutdown( 1 ) Errore di segmentazione ........... Again it runs with the integrated Intel video card. i repeat no problems with the Geforce 1050ti, so is it a primus or a libGl.so.1 issue? Primus requires the libgl1-nvidia-glx package, instead of the libgl1-nvidia-glvnd-glx variant used by my Geforce 1050ti. The bumblebee.conf file seems well configured. Regards | Even that this is not directly related to Debian itself, take a look at the own game forum about that mobile video card: https://forum.flightgear.org/viewtopic.php?f=37&t=31186 |
Using grub2 here is my 40_custom: Code: Select all #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. # path to the partition holding ISO images (using UUID) probe -u $root --set=rootuuid set imgdevpath="/dev/disk/by-uuid/$rootuuid" menuentry "porteus PORTEUS 64bit_v40 KDE5-PLASMA sda5" { set root=(hd0,5) linux /64_V32/boot/syslinux/vmlinuz from=/dev/sda5/64_V32 changes=/64_V32/kde extramod=/64_V32/kde login=root resume=/dev/sda7 initrd /64_V32/boot/syslinux/initrd.xz } menuentry "porteus PORTEUS 64bit_v322 KDE5-PLASMA sda5" { set root=(hd0,5) linux /64_V322/boot/syslinux/vmlinuz from=/dev/sda5/64_V322 changes=/64_V322/kde extramod=/64_V322/kde login=root resume=/dev/sda7 initrd /64_V322/boot/syslinux/initrd.xz } menuentry "porteus PORTEUS 64bit_v32 XFCE sda5" { set root=(hd0,5) linux /64_V32/boot/syslinux/vmlinuz from=/dev/sda5/64_V32 changes=/64_V32/xfce extramod=/64_V32/xfce login=root resume=/dev/sda7 initrd /64_V32/boot/syslinux/initrd.xz } menuentry "porteus PORTEUS 1_nemesis NEMESIS sda5" { set root=(hd0,5) linux /1_nemesis/boot/syslinux/vmlinuz from=/dev/sda5/1_nemesis changes=/1_nemesis sgnfile=porteus-v3.5-x86_64.sgn login=root initrd /1_nemesis/boot/syslinux/initrd.xz } menuentry "Porteus XFCE x86-64 rc ISO" { insmod part_msdos insmod ext2 set root=(hd0,5) set isofile="/isos/Porteus-XFCE-v3.2.2-x86_64.iso" search --no-floppy --file --set=root $isofile loopback loop $isofile linux (loop)/boot/syslinux/vmlinuz from=$isofile changes=1_porteus login=root acpi=off initrd (loop)/boot/syslinux/initrd.xz } Here is my grub: Code: Select allGRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true GRUB_TIMEOUT=3 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_DEFAULT=4 #2 pour 40_custom première entrée. #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # If you want to enable the save default function, uncomment the following # line, and set GRUB_DEFAULT to saved. GRUB_SAVEDEFAULT=true # Preload both GPT and MBR modules so that they are not missed GRUB_PRELOAD_MODULES="part_gpt part_msdos" # Uncomment to enable Hidden Menu, and optionally hide the timeout count #GRUB_HIDDEN_TIMEOUT=5 #GRUB_HIDDEN_TIMEOUT_QUIET=true # Uncomment to use basic console GRUB_TERMINAL_INPUT=console # Uncomment to disable graphical terminal #GRUB_TERMINAL_OUTPUT=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE=auto # Uncomment to allow the kernel use the same resolution used by grub GRUB_GFXPAYLOAD_LINUX=keep # Uncomment if you want GRUB to pass to the Linux kernel the old parameter # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries GRUB_DISABLE_RECOVERY=true # Uncomment and set to the desired menu colors. Used by normal and wallpaper # modes only. Entries specified as foreground/background. GRUB_COLOR_NORMAL="light-gray/black" GRUB_COLOR_HIGHLIGHT="green/black" # Uncomment one of them for the gfx desired, a image background or a gfxtheme GRUB_BACKGROUND="/usr/share/grub/background.png" GRUB_THEME="/boot/grub/themes/Manjaro-Default/theme.txt" # Uncomment to get a beep at GRUB start #GRUB_INIT_TUNE="480 440 1" How come when I: update-grub that it does not take into account the 40_custom file? Thanks. | francois.e wrote:Here is my grub: This looks like the contents of the config file /etc/default/grub. You want to look at the result of update-grub in /boot/grub/grub.cfg. Running update-initramfs is irrelevant. |
Alright guys, don't make fun of me, but I'd like to know how to change the name of my linux install. My story: I installed Tanglu GNU/Linux originally when it was based directly on Debian, but about two years ago I switched all my sources to Debian Sid. The problem I am having now is that "Tanglu" occasionally still pops up, specifically in GRUB, and when I run lsb_release ics. Is there a way to change it to Debian instead of Tanglu? Thanks! Rod | RWIndiana wrote:Is there a way to change it to Debian instead of Tanglu? Install Debian. http://forums.debian.net/viewtopic.php? ... 15#p542283 |
Just to let everyone else here know, after few Debian 9.3 clean installs, I've verified a huge problem with the new upstream kernel. More on Reddit, together with an image: GNOME crashes Reddit Mine was the same problem. TL;DR: GNOME would flicker after opening new terminal window, and then crash after few minutes. It borked my upgrade to Buster in an attempt to fix it. I am on Fedora now, so really can't help with a bug report. I wanted to verify this, and since someone else has the same problem...I think it's a grave bug related to kernel. GPU is Intel Broadwell HD graphics. EDIT7: Update: Linux 4.9.80-1 (2018-02-04) from stretch-proposed updates fixes this bug. You can wait for 9.4 or add stretch-proposed repo and upgrade now. EDIT6: Update Jan 26th: Bug is tagged as "patch available", so expect a fix soon. EDIT1: How to reproduce: Open Terminal, switch to root and start typing. Wait with Terminal opened. EDIT2: Workaround number 1 is to try installing a kernel from backports. To be safe, switch to tty using CTL+Alt+F2, then install and reboot. Workaround number 2 (only if upgrading from 9.2) is to hold the linux package using: Code: Select allapt-mark hold linux-image-amd64 or Code: Select allapt-mark hold linux-image-686-pae depending on arch. You can then upgrade the rest normally. You can also boot to a older kernel by selecting "advanced options for Debian" from the grub menu, if you ended up upgrading linux. EDIT3: Bug is already reported 2 hours ago as of this writing. Same thing: https://bugs.debian.org/cgi-bin/bugrepo ... bug=884116 I hope there is a fix soon. Fedora is showing it's bad quirks right now, I need a stable system. EDIT4: As of December 24th, this bug is fixed in the linux security update. EDIT5: I spoke too soon, the problem is still there. Anoying, but you will have to wait for the next point release. | Similar issues described here. From what I have gathered, there is a regression related to either Intel GPUs or 5th gen Broadwell CPUs. I've seen kernel regressions getting fixed in regular security updates. Fingers crossed |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.