Sound issue on fresh Ubuntu 24.04 - crackling only sound is off https://askubuntu.com/questions/1564937/sound-issue-on-fresh-ubuntu-24-04-crackling-only-sound-is-off

Onboard sound (not Bluetooth or USB) starts to tick (like a countdown) when there is no sound being played. If I put some music the problem stops. When I turn off the music, the tick starts again.

Linux desktop 6.17.0-19-generic #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 23:08:46 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I've tried the responses in [1] [2] but with no success.

[1] Why do I hear crackling sounds on Ubuntu 24.04? How can I fix it? [2] Crackling sounds sound on Ubuntu 24.04 lts

Recent install (Ubuntu 25.10) errors on GPU - "*ERROR* failet to halt cp gfx" and "failed to unmap legacy queue" https://askubuntu.com/questions/1564936/recent-install-ubuntu-25-10-errors-on-gpu-error-failet-to-halt-cp-gfx-an

I've recently bought this prebuilt computer that has these following hardware:

  • CPU = Ryzen 8700g with iGPU 780m (I don't have a dedicated GPU)

  • Mobo = MSI B840M-B

I tested it on windows (came with the computer) for some days and didn't notice any noticeable problem at first sight. I then installed Ubuntu, as that's my prefered OS, but I've been getting constant errors on the GPU side.

It seems to help on some graphics intensive tasks: it happens ocasionaly when I open multiple youtube tabs on firefox and happens 100% of the times when I open the Mission Center snap app. I downloaded a game yesterday to test and played for 1h+ and nothing happened, though. So I'm not entirely sure what's causing it. Seems to be junction of GPU with high memory usage? Here's the output from the last error I had. It's from the Logs app:

  1. System - [drm:gfx_v11_0_cp_gfx_enable.isra.0 [amdgpu]] *ERROR* failed to halt cp gfx

  2. Hardware - amdgpu 0000:04:00.0: amdgpu: failed to unmap legacy queue

  3. Hardware - amdgpu 0000:04:00.0: amdgpu: MES failed to respond to msg=REMOVE_QUEUE

  4. Hardware - amdgpu 0000:04:00.0: amdgpu: ring sdma0 timeout, signaled seq=309171, emitted seq=309173

I already tried searching the internet for errors similar to mine but I didn't find any that was exactly this, so I'm asking for your help.

Can't pass initial setup of Ubuntu Core on Raspbery Pi 4B due to system time https://askubuntu.com/questions/1564935/cant-pass-initial-setup-of-ubuntu-core-on-raspbery-pi-4b-due-to-system-time

System time on my RPi 4B is somehow 2 years behind, thus cannot pass through initial setup of Ubuntu Core, getting error "certificate has expired or is not yet valid: current time 2024-05-28... is before 2026-01-..."

Tried to boot with RPi OS, synced with NTP (sudo timedatectl set-ntp true), reflashed boot drive with Ubuntu Core 24, and facing the same issue again.

Is there any way to update system time / sync it with NTP before Ubuntu One login?

Ubuntu 26.04 and 25.10 are stuck at a black screen until I remove the mouse https://askubuntu.com/questions/1564933/ubuntu-26-04-and-25-10-are-stuck-at-a-black-screen-until-i-remove-the-mouse

I'm new here and I need some help regarding a weird issue.

Ubuntu 26.04 and 25.10 are stuck at a black screen. Sometimes it shows boot options but hangs there, and sometimes it's just a black screen and it happens because of the mouse connected to a USB A port. When I shut down the laptop by holding down the power button and remove the mouse then Ubuntu starts.

This is also happens in Fedora 43 and 44. There's no dual boot, only a single OS installed.

input/output error. error moving file into folder https://askubuntu.com/questions/1564928/input-output-error-error-moving-file-into-folder

Ubuntu 24.04.4 LTS

system crashed while copying from one external drive to another. And now files cant be copied to that specific folder. All files work as expected.

input/output error there was an error moving the file into /mnt/externalhdd/folder

also when attempting to mount/unmount drive I get error unable to mount no object for D-bus interface. Though mounts/unmounts using 'Disks' fine.

'Disks' check/repair file system is undamaged

Input/Output Error on accidentally unplugged external drive https://askubuntu.com/questions/1564927/input-output-error-on-accidentally-unplugged-external-drive

I have an external disk for my Wii games. While I was working on it, I accidentally unplugged it. I was worried about having an error or something, so I used the following prompt

sudo fsck -f /dev/sda1 

And I received the following response:

fsck de util-linux 2.37.2 fsck.fat 4.2 (2021-01-31)
/WBFS/The Legend of Zelda Twilight Princess [RZDE01] Contains a free cluster (7365095). Assuming EOF. Read 32 bytes at 174068783104:Input/output error

I don't know how to fix it. It's not a problem to delete this file, I can just get the rom again, but I would like to use my external drive again.

Samba Installed but no Fileshare menu https://askubuntu.com/questions/1564926/samba-installed-but-no-fileshare-menu

Please see the screenshot. With Samba installed, I have no option, when I right click a folder to share it. What could I be missing? I've looked but am unable to find anything on this particular issue. All of the docs say of Samba is installed, you're good to go.

Thanks in advance.

enter image description here

Gwenview will not open: error while loading libPlasmaActivities.so.6 https://askubuntu.com/questions/1564925/gwenview-will-not-open-error-while-loading-libplasmaactivities-so-6

Gwenview has recently stopped opening on my laptop. I am running Ubuntu 24.4. I have tried reinstalling with no success. When I try opening Gwenview from the terminal I get the following error:

/snap/gwenview/148/usr/bin/gwenview: error while loading shared libraries: libPlasmaActivities.so.6: cannot open shared object file: No such file or directory

Can someone please tell me how to fix this?

Ubuntu 24.04 LTS boots only with acpi=off reboot=bios option https://askubuntu.com/questions/1564924/ubuntu-24-04-lts-boots-only-with-acpi-off-reboot-bios-option

Summary

I am unable to run Ubuntu properly on a Dell G7 17 7700 laptop due to an apparent ACPI and PCI interrupt routing issue affecting the NVIDIA GPU.

  • Ubuntu only boots with acpi=off
  • With ACPI enabled → system freezes during boot
  • With ACPI disabled → system boots, but NVIDIA GPU cannot initialize
  • This prevents CUDA usage for machine learning

System Information

Laptop: Dell G7 17 7700 BIOS Version: 1.33.0 Boot Mode: UEFI

Hardware

  • CPU: Intel Core i7-10750H
  • iGPU: Intel UHD Graphics (Comet Lake-H)
  • dGPU: NVIDIA GeForce RTX 2070 Mobile / Max-Q
  • Storage: SK Hynix BC511 NVMe 512GB

Ubuntu

  • Kernel: 6.17.0-19-generic
  • Installation: internal NVMe (successful)
  • NVIDIA driver: nvidia-driver-580-open (recommended by ubuntu-drivers)

Problem Description

Boot behavior

  • Default boot (quiet splash) → freeze at boot (Dell logo or Ubuntu logo)
  • Only works with:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"

With acpi=off

  • Ubuntu boots successfully
  • However:
nvidia-smi

returns:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

NVIDIA driver failure details

From dmesg:

nvidia 0000:01:00.0: can't find IRQ for PCI int A
NVRM: can't find an IRQ for your NVIDIA card
nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device
NVRM: None of the NVIDIA devices were initialized

Service failure:

failed to start nvidia-persistenced.service

Key Observation

  • With ACPI enabled → system does not boot
  • With ACPI disabled (acpi=off) → system boots, but NVIDIA fails

This creates a conflict:

State Result
ACPI enabled Boot failure
ACPI disabled GPU unusable

Troubleshooting Steps Performed

GRUB / Kernel parameters tested

All of the following were tested:

quiet splash
quiet splash acpi=off
quiet splash acpi=off reboot=bios
quiet splash pci=noaer
quiet splash pci=nomsi
quiet splash pci=biosirq
quiet splash acpi=noirq
quiet splash acpi_sleep=nonvs
quiet splash acpi_osi=! acpi_osi="Windows 2015"
quiet splash intel_idle.max_cstate=1
quiet splash nomodeset

Results:

  • Only acpi=off allowed successful boot
  • All others either froze or failed

NVIDIA / GPU troubleshooting

  • Installed recommended driver:
sudo apt install nvidia-driver-580-open
  • Verified GPU detection:
lspci | grep -E "VGA|3D"
  • Checked PRIME:
prime-select query → nvidia
  • Attempted:
sudo modprobe nvidia
sudo modprobe nvidia NVreg_EnableMSI=0

→ did not resolve issue

BIOS / firmware checks

  • BIOS already was at 1.33.0 (latest according to dell for my laptop)

  • fwupdmgr shows no updates available

  • Tested:

    • Secure Boot ON/OFF
    • SATA: AHCI and RAID
    • Fast Boot variations
    • Thunderbolt Boot enabled
  • No BIOS option available for:

    • Hybrid graphics toggle
    • Discrete GPU mode
    • Optimus disable

Expected Behavior

  • Ubuntu should boot normally without requiring acpi=off
  • NVIDIA driver should initialize correctly
  • Hopefull CUDA can be installed

Main Question

How to fix it? I want to boot Ubuntu without using acpi=off reboot=bios in the grub as I believe this is what causes the Nvidia card to not initialize. This isn't a dual boot.

Cannot install NVIDIA drivers for lowlatency kernel https://askubuntu.com/questions/1564909/cannot-install-nvidia-drivers-for-lowlatency-kernel

Background

I am using an Ubuntu system (24.04.4 LTS) to develop Psychtoolbox code, a common tool used in the vision sciences to present stimuli in a controlled and precise way. The system has two displays. One is used to show the visual stimuli for demonstration purposes during development, the other is used for coding etc.

The machine has a GPU, GeForce GTX 1070. I would like to install the NVIDIA drivers to operate the graphics card for improved performance. Unfortunately, however, the proprietary drivers cannot be installed, i.e., nvidia-smi returns:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

A peculiarity about this case is that I succeeded at installing the driver for the kernel 6.8.0-106-generic. Crucially though, it did not succeed for 6.8.0-106-lowlatency. The lowlatency kernel is recommended for Psychtoolbox because it provides better temporal performance. Therefore I would like the NVIDIA driver to run on the lowlatency kernel.

Solution attempts

I checked that the NVIDIA hardware is detected by typing lspci | grep -i nvidia, which indeed indicated the presence of the correct graphics card:

04:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
04:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)

I used lsmod | grep nvidia to check the current driver status but it returned nothing. I also used dmesg | grep -i nvidia to check if any NVIDIA driver is loaded and it returned what appears to be related only to the audio device:

[    4.631308] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input6
[    4.631393] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input7
[    4.631509] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input8
[    4.631623] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input9

I tried different methods to install the NVIDIA drivers. I used Ubuntu's "Software & Updates" GUI > "Additional Drivers", where I selected the nvidia-driver-535 because it is labelled "proprietary, tested". I also tried installing the drivers from the Terminal with ubuntu-drivers autoinstall, which sometimes installed a more recent driver version. So I also tried installing the 535 version from the Terminal. All approaches, however, caused the same problem.

I then tried to look into why the NVIDIA drivers work fine for the generic kernel but not the lowlatency kernel. One difference I found was that the file nvidia.ko existed only in the folder /lib/modules/6.8.0-106-generic but not in /lib/modules/6.8.0-106-lowlatency. Interestingly, the timestamp for the file in the "generic kernel" folder looked recent. So I suspect that perhaps the installation of the NVIDIA drivers was built in the wrong location. Alternatively, one might expect the files to be built in the folders for all installed kernels by default, in which case it is interesting that the files were not built for the lowlatency kernel, which I am interested in.

I also dabbled with dkms, which I think is a method to manage drivers across multiple kernels but my understanding of this is so superficial that it is difficult to report what I did here.

Question

What can be done to use the NVIDIA drivers with the Linux lowlatency kernel?

Thanks & best Michael

Need to install smart card reader and activate smart ID card on Ubuntu 25.10 https://askubuntu.com/questions/1564881/need-to-install-smart-card-reader-and-activate-smart-id-card-on-ubuntu-25-10

Does anybody know how to write a script to install this Apple program in Ubuntu 25.10 which is currently installed on my MateBook laptop?

https://filedn.eu/lQCsBV1gupV0Sbfx4YtvTSf/SCProxy-Buypass-1.5.3.1.5.3/

Any help would be appreciated.

Unexpected airplane mode, Wi-Fi, and Bluetooth behavior on HP Victus 15 (Ubuntu 24.04.3 LTS) https://askubuntu.com/questions/1559895/unexpected-airplane-mode-wi-fi-and-bluetooth-behavior-on-hp-victus-15-ubuntu

On my HP Victus 15 (Intel i5 12450H 8GB, 512GB) laptop running Ubuntu 24.04.3 LTS, the Airplane Mode, Wi-Fi, and Bluetooth toggles behave inconsistently. The system automatically switches Airplane Mode or Bluetooth on/off in situations where it should not. This issue appears after a clean installation as well.

  • The system automatically boots into Airplane Mode, even though it was off before shutdown.
  • As soon as Airplane Mode is turned off, Bluetooth automatically turns ON.
  • When Wi-Fi is turned off, Airplane Mode automatically turns ON again.
  • Turning Airplane Mode OFF once more again automatically enables Bluetooth.
My Firefox is not launching in Ubuntu 22.04.4 LTS https://askubuntu.com/questions/1515316/my-firefox-is-not-launching-in-ubuntu-22-04-4-lts

I upgraded recently my OS to Ubuntu 22.04.4 LTS. My previous Firefox which was working great under Ubuntu 20.04 stopped launching. I downloaded a new Firefox (Firefox-126.0) and got it install and still same problem. Is Firefox is not supported any more by Ubuntu 22.04.4 LTS? How I can fix this problem and be able to use Firefox again?

Please install all available updates for your release before upgrading https://askubuntu.com/questions/1437914/please-install-all-available-updates-for-your-release-before-upgrading

try to use this guide: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-20-04-focal-fossa

I run sudo do-release-upgrade

and it tells me Please install all available updates for your release before upgrading.

I've tried updating and upgrading and rebooting a bunch of times, and it still just says this error.

sudo apt update && sudo apt upgrade

root@lospec-stage-pre-gallery-beta-update-s-2vcpu-2gb-nyc3-01:~# sudo apt update && sudo apt upgrade
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [99.8 kB]
Hit:2 http://mirrors.digitalocean.com/ubuntu xenial InRelease
Hit:3 http://mirrors.digitalocean.com/ubuntu xenial-updates InRelease
Hit:4 http://mirrors.digitalocean.com/ubuntu xenial-backports InRelease
Hit:5 https://deb.nodesource.com/node_16.x xenial InRelease
Hit:6 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Hit:7 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:8 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security InRelease
Ign:9 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates InRelease
Ign:11 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 InRelease
Hit:12 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release
Hit:13 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 Release
Fetched 99.8 kB in 2s (48.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm3.8
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  cloud-init
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

apt policy cloud-init

root@lospec-stage-pre-gallery-beta-update-s-2vcpu-2gb-nyc3-01:~# apt policy cloud-init
cloud-init:
  Installed: 0.7.9-90-g61eb03fe-0ubuntu1~16.04.1
  Candidate: 21.1-19-gbad84ad4-0ubuntu1~16.04.2
  Version table:
     21.1-19-gbad84ad4-0ubuntu1~16.04.2 500
        500 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 Packages
 *** 0.7.9-90-g61eb03fe-0ubuntu1~16.04.1 100
        100 /var/lib/dpkg/status
     0.7.7~bzr1212-0ubuntu1 500
        500 http://mirrors.digitalocean.com/ubuntu xenial/main amd64 Packages

apt-get dist-upgrade

root@lospec-stage-pre-gallery-beta-update-s-2vcpu-2gb-nyc3-01:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm3.8
Use 'sudo apt autoremove' to remove it.
The following security updates require Ubuntu Pro with 'esm-infra' enabled:
  libpam0g libgssapi3-heimdal libxdmcp6 libpcre16-3 perl-base libpolkit-gobject-1-0 libdjvulibre-text libcroco3 libwebp5 libdns-export162 fuse libcomerr2 python2.7-dev libjpeg-turbo8-dev libisccfg140 libcups2 libdbus-1-3 libwind0-heimdal uuid-runtime linux-headers-generic libfdisk1 libpcre3-dev libsasl2-modules-db linux-libc-dev vim-common libcurl3 gnupg-agent libldap-2.4-2 libpam-modules openssl ruby2.3 libxslt1-dev byobu libc6-dev imagemagick libpam0g-dev ntfs-3g git-man libsystemd0 libexpat1-dev libgd3 libheimntlm0-heimdal libksba8 libgs9 dbus python2.7-minimal libmount1 tcpdump snapd libsqlite3-0 libxrender1 libicu55 binutils libmagickwand-6.q16-2 squashfs-tools bind9-host libvpx-dev e2fsprogs zlib1g libcgraph6 libavahi-common-data dnsutils libgmp10 perl-modules-5.22 libavahi-common3 libpython2.7 libncurses5 python2.7 dnsmasq-base libheimbase1-heimdal libc6 util-linux libpython3.5 python3.5 libgmp-dev open-vm-tools git openssh-sftp-server python3.5-minimal libsepol1 libpolkit-agent-1-0 libisc160 libpython2.7-dev udev locales libpcre32-3 passwd libsasl2-2 zlib1g-dev libklibc libpam-runtime e2fslibs isc-dhcp-common libncursesw5 libgmpxx4ldbl libx11-6 libexpat1 libudev1 libvpx3 rsyslog libwebpdemux1 libpng12-dev libtiff5-dev dirmngr libss2 mount libperl5.22 libaspell15 apport gdisk libblkid1 dpkg imagemagick-6.q16 libtiff5 libmagickcore-6.q16-2-extra libisc-export160 busybox-static libc-bin man-db libsasl2-modules libtinfo5 libruby2.3 python3-apport libxi6 libxmlsec1-openssl libjbig2dec0 libpcre3 libfuse2 linux-virtual libfreetype6-dev tar systemd-sysv libcurl4-openssl-dev libuuid1 libxdmcp-dev libgcrypt20 libxml2-dev liblwres141 libhcrypto4-heimdal libglib2.0-bin vim-runtime liblz4-1 gpgv ubuntu-core-launcher libncurses5-dev vim libpam-systemd libtinfo-dev libcdt5 distro-info-data xz-utils ncurses-term libglib2.0-dev ghostscript libpathplan4 systemd libsmartcols1 login libsepol1-dev libssl-dev libxfixes3 libssl-doc libpolkit-backend-1-0 libwebpmux1 ncurses-bin libpam-modules-bin openssh-server libx11-data ghostscript-x aspell libgvpr2 libopenexr22 unzip openssh-client libmagickcore-6.q16-2 sosreport libgs9-common bsdutils linux-headers-virtual libgraphite2-3 libdns162 libx11-dev libjpeg-turbo8 libx11-doc libglib2.0-data ncurses-base gnupg2 bash policykit-1 libdjvulibre21 libc-dev-bin libxml2 libwebp-dev webp libpython2.7-minimal multiarch-support cpio libroken18-heimdal libfreetype6 ca-certificates libicu-dev perl rsync vim-tiny imagemagick-common libasn1-8-heimdal libzstd1 libisccc140 libkrb5-26-heimdal cron linux-image-virtual libpython3.5-stdlib libbind9-140 gzip python3-jinja2 libtasn1-6 gnupg libgvc6 icu-devtools libpcrecpp0v5 libcairo2 libcupsimage2 libpython2.7-stdlib liblzma5 libpython3.5-minimal libavahi-client3 curl libdpkg-perl libhx509-5-heimdal isc-dhcp-client klibc-utils graphviz python3-problem-report libpng12-0 libglib2.0-0 liblzma-dev libxmlsec1 uidmap libcurl3-gnutls libx11-xcb1 libtiffxx5 libperl-dev libgd-dev libxslt1.1 libssl1.0.0 dpkg-dev tzdata busybox-initramfs
Learn more about Ubuntu Pro for 16.04 at https://ubuntu.com/16-04
The following packages have been kept back:
  cloud-init
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I uninstalled cloud-init, then tried sudo do-release-upgrade again. It started to work, but at the end i got this:

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Invalid package information

After updating your package information, the essential package
'ubuntu-minimal' could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.


Restoring original system state

Aborting
Suddenly no internet connection Ubuntu 21.04 https://askubuntu.com/questions/1352826/suddenly-no-internet-connection-ubuntu-21-04

So until yesterday my internet was just working fine, today it doesn't anymore. Nothing has changed in terms of updates or configuration since then.

The PC is still connected to the router. I can ping the router at 192.168.178.1 and even log in to the settings. The router is also connected to the internet, all other computers in the house can access the internet.

I can also ping any device that is in the local network.

I.e. ping -c 2 192.168.178.43 works.

But I cannot seem to connect to any outside IP whatsoever.

When doing ping -c 2 1.1.1.1 or ping -c 2 8.8.8.8 I always get 100% package loss.

Could there be some cached settings perhaps that are suddenly not allowing my router to process the request? Or perhaps my router can't send back any information to my PC anymore?

These are all shots in the dark, as I am relatively new to using Linux, and the problem just mysteriously appeared. No settings have been altered and it was working fine before.

I'd be happy to hear some ideas on how to fix this. I'd rather not re-install the whole system.

very basic isc-dhcp server config issues https://askubuntu.com/questions/1285423/very-basic-isc-dhcp-server-config-issues

I hope someone can see what I'm missing here. Im currently trying to configure a offline lab and needing to have the main server provide DHCP. The main server is currently running Ubuntu 18.04 LTS. I've installed isc-dhcp and attempted to configure it. yet the server continues to fail on start up.

this is the dhcpd config file

# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#

# option definitions common to all supported networks...
option domain-name "hmilab.lan";
option domain-name-servers ns1.hmilab.lan, ns2.hmilab.lan;

default-lease-time 3600;
max-lease-time 7200;

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

#subnet 10.152.187.0 netmask 255.255.255.0 {
#}

# This is a very basic subnet declaration.

subnet 192.168.1.10 netmask 255.255.255.0 {
  range 192.168.1.10 192.168.1.100;
  range 192.168.1.110 192.168.1.200;
  option routers 192.168.1.1;
  option subnetmask 255.255.255.0;
  option domain search "hmilab.lan";
  option domain-name-servers 192.168.1.1
}

# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.

#subnet 10.254.239.32 netmask 255.255.255.224 {
#  range dynamic-bootp 10.254.239.40 10.254.239.60;
#  option broadcast-address 10.254.239.31;
#  option routers rtr-239-32-1.example.org;
#}

# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
#  range 10.5.5.26 10.5.5.30;
#  option domain-name-servers ns1.internal.example.org;
#  option domain-name "internal.example.org";
#  option subnet-mask 255.255.255.224;
#  option routers 10.5.5.1;
#  option broadcast-address 10.5.5.31;
#  default-lease-time 600;
#  max-lease-time 7200;
#}

# Hosts which require special configuration options can be listed in
# host statements.   If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

#host passacaglia {
#  hardware ethernet 0:0:c0:5d:bd:95;
#  filename "vmunix.passacaglia";
#  server-name "toccata.example.com";
#}

# Fixed IP addresses can also be specified for hosts.   These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP.   Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
#  hardware ethernet 08:00:07:26:c0:a5;
#  fixed-address fantasia.example.com;
#}

# You can declare a class of clients and then do address allocation
# based on that.   The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.

#class "foo" {
#  match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}

#shared-network 224-29 {
#  subnet 10.17.224.0 netmask 255.255.255.0 {
#    option routers rtr-224.example.org;
#  }
#  subnet 10.0.29.0 netmask 255.255.255.0 {
#    option routers rtr-29.example.org;
#  }
#  pool {
#    allow members of "foo";
#    range 10.17.224.10 10.17.224.250;
#  }
#  pool {
#    deny members of "foo";
#    range 10.0.29.10 10.0.29.230;
#  }
#}

This is the isc-dhcp-server file

# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid

# Additional options to start dhcpd with.
#   Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#   Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="eno1"
#INTERFACESv6=""

Every time I attempt to restart the service and then check the status i get this.

~$ sudo systemctl status isc-dhcp-server.service
● isc-dhcp-server.service - ISC DHCP IPv4 server
   Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-10-20 12:45:01 CDT; 2s ago
     Docs: man:dhcpd(8)
  Process: 6174 ExecStart=/bin/sh -ec      CONFIG_FILE=/etc/dhcp/dhcpd.conf;      if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/
 Main PID: 6174 (code=exited, status=1/FAILURE)

Oct 20 12:45:01 HMIServer dhcpd[6174]: Configuration file errors encountered -- exiting
Oct 20 12:45:01 HMIServer systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Oct 20 12:45:01 HMIServer dhcpd[6174]:
Oct 20 12:45:01 HMIServer dhcpd[6174]: If you think you have received this message due to a bug rather
Oct 20 12:45:01 HMIServer dhcpd[6174]: than a configuration issue please read the section on submitting
Oct 20 12:45:01 HMIServer dhcpd[6174]: bugs on either our web page at www.isc.org or in the README file
Oct 20 12:45:01 HMIServer dhcpd[6174]: before submitting a bug.  These pages explain the proper
Oct 20 12:45:01 HMIServer dhcpd[6174]: process and the information we find helpful for debugging..
Oct 20 12:45:01 HMIServer dhcpd[6174]:
Oct 20 12:45:01 HMIServer dhcpd[6174]: exiting.

Any help pointing out what the heck I'm missing would be awesome.

EDIT

-- Logs begin at Fri 2020-10-16 22:11:35 CDT, end at Tue 2020-10-20 15:44:00 CDT. --
Oct 20 13:47:40 HMIServer sh[7101]: process and the information we find helpful for debugging..
Oct 20 13:47:40 HMIServer sh[7101]: exiting.
Oct 20 13:47:40 HMIServer dhcpd[7101]: For info, please visit https://www.isc.org/software/dhcp/
Oct 20 13:47:40 HMIServer systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 13:47:40 HMIServer dhcpd[7101]: /etc/dhcp/dhcpd.conf line 38: subnet 192.168.1.10 netmask 255.255.255.0: bad subnet
Oct 20 13:47:40 HMIServer systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Oct 20 13:47:40 HMIServer dhcpd[7101]: subnet 192.168.1.10 netmask 255.255.255.0
Oct 20 13:47:40 HMIServer dhcpd[7101]:                                         ^
Oct 20 13:47:40 HMIServer dhcpd[7101]: Configuration file errors encountered -- exiting
Oct 20 13:47:40 HMIServer dhcpd[7101]:
Oct 20 13:47:40 HMIServer dhcpd[7101]: If you think you have received this message due to a bug rather
Oct 20 13:47:40 HMIServer dhcpd[7101]: than a configuration issue please read the section on submitting
Oct 20 13:47:40 HMIServer dhcpd[7101]: bugs on either our web page at www.isc.org or in the README file
Oct 20 13:47:40 HMIServer dhcpd[7101]: before submitting a bug.  These pages explain the proper
Oct 20 13:47:40 HMIServer dhcpd[7101]: process and the information we find helpful for debugging..
Oct 20 13:47:40 HMIServer dhcpd[7101]:
Oct 20 13:47:40 HMIServer dhcpd[7101]: exiting.
Oct 20 13:48:27 HMIServer systemd[1]: Started ISC DHCP IPv4 server.
Oct 20 13:48:27 HMIServer dhcpd[7176]: Internet Systems Consortium DHCP Server 4.3.5
Oct 20 13:48:27 HMIServer sh[7176]: Internet Systems Consortium DHCP Server 4.3.5
Oct 20 13:48:27 HMIServer sh[7176]: Copyright 2004-2016 Internet Systems Consortium.
Oct 20 13:48:27 HMIServer sh[7176]: All rights reserved.
Oct 20 13:48:27 HMIServer sh[7176]: For info, please visit https://www.isc.org/software/dhcp/
Oct 20 13:48:27 HMIServer dhcpd[7176]: Copyright 2004-2016 Internet Systems Consortium.
Oct 20 13:48:27 HMIServer dhcpd[7176]: All rights reserved.
Oct 20 13:48:27 HMIServer dhcpd[7176]: For info, please visit https://www.isc.org/software/dhcp/
Oct 20 13:48:27 HMIServer dhcpd[7176]: /etc/dhcp/dhcpd.conf line 38: subnet 192.168.1.10 netmask 255.255.255.0: bad subnet
Oct 20 13:48:27 HMIServer dhcpd[7176]: subnet 192.168.1.10 netmask 255.255.255.0
Oct 20 13:48:27 HMIServer sh[7176]: /etc/dhcp/dhcpd.conf line 38: subnet 192.168.1.10 netmask 255.255.255.0: bad subnet num
Oct 20 13:48:27 HMIServer sh[7176]: subnet 192.168.1.10 netmask 255.255.255.0
Oct 20 13:48:27 HMIServer sh[7176]:                                         ^
Oct 20 13:48:27 HMIServer sh[7176]: Configuration file errors encountered -- exiting
Oct 20 13:48:27 HMIServer sh[7176]: If you think you have received this message due to a bug rather
Oct 20 13:48:27 HMIServer sh[7176]: than a configuration issue please read the section on submitting
Oct 20 13:48:27 HMIServer sh[7176]: bugs on either our web page at www.isc.org or in the README file
Oct 20 13:48:27 HMIServer sh[7176]: before submitting a bug.  These pages explain the proper
Oct 20 13:48:27 HMIServer sh[7176]: process and the information we find helpful for debugging..
Oct 20 13:48:27 HMIServer sh[7176]: exiting.
Oct 20 13:48:27 HMIServer dhcpd[7176]:                                         ^
Oct 20 13:48:27 HMIServer systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 13:48:27 HMIServer dhcpd[7176]: Configuration file errors encountered -- exiting
Oct 20 13:48:27 HMIServer systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Oct 20 13:48:27 HMIServer dhcpd[7176]:
Oct 20 13:48:27 HMIServer dhcpd[7176]: If you think you have received this message due to a bug rather
Oct 20 13:48:27 HMIServer dhcpd[7176]: than a configuration issue please read the section on submitting
Oct 20 13:48:27 HMIServer dhcpd[7176]: bugs on either our web page at www.isc.org or in the README file
Oct 20 13:48:27 HMIServer dhcpd[7176]: before submitting a bug.  These pages explain the proper
Oct 20 13:48:27 HMIServer dhcpd[7176]: process and the information we find helpful for debugging..
Oct 20 13:48:27 HMIServer dhcpd[7176]:
Oct 20 13:48:27 HMIServer dhcpd[7176]: exiting.

How to download playlist from Youtube? https://askubuntu.com/questions/1266454/how-to-download-playlist-from-youtube

I need to download a Youtube playlist as mp3 audio. What is the most convenient way to do this on Ubuntu? I tried:

youtube-dl --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --output "%(title)s.%(ext)s" --yes-playlist ...

It didn't work. Any suggestions?

ima: error communicating to tpm chip but no TPM settings https://askubuntu.com/questions/1219670/ima-error-communicating-to-tpm-chip-but-no-tpm-settings

Apologies as I think this may be a duplicate of How to solve "ima: error communicating to tpm chip" messages during boot But I am hoping you can help.

I installed the current version of Lubuntu (which I have used for many years) over the weekend on my new HP Z230 workstation.

All was going fine till Google remote desktop kept me from accessing secondary drives. Removing it fixed this problem, but the next restart led to the above error during boot.

Having tried a number of times, I can boot Lubuntu in recovery mode, I can boot into a live USB, though this produces the above error before starting. Normal start up is rare, and instead the system stops at the HP screen.

The BIOS itself does not appear to have a ton of settings, so I cannot just enable it as far as I can tell.

Does anyone have any ideas what has happened & how to fix it?

How to install this kernel module to use IpTables in Ubuntu 19.04? https://askubuntu.com/questions/1183231/how-to-install-this-kernel-module-to-use-iptables-in-ubuntu-19-04

So, I am studying IpTables using Ubuntu 19.04 - kernel 5.0.0-32-generic. Following this tutorial https://www.youtube.com/watch?v=ldB8kDEtTZA, I have to load the following kernel modules:

x_tables, ip_tables, iptable_filter, xt_tcpudp, nf_conntrack, xt_state, nf_conntrack_ipv4

The only one not loaded, because it wasn't found in /lib/modules/$(uname -r)/ was the nf_conntrack_ipv4.

My questions are: How do I install/load this module? Do kernel modules become obsolete in new kernels?

Installing Screaming Frog (.deb package) on WSL https://askubuntu.com/questions/1127292/installing-screaming-frog-deb-package-on-wsl

I am running a Windows 10 computer with Ubuntu 18.04 running via the Windows Subsystem for Linux.

I am trying to install an SEO spider, Screaming Frog, so that I can run it in headless mode and run crawls programmatically. It appears to have been installed correctly, but when I try to run it on the command line with screamingfrogseospider, the following error is thrown:

/usr/bin/screamingfrogseospider: line 18: /usr/share/screamingfrogseospider/jre/bin//java: No such file or directory

Does anyone have any ideas why this could be occuring?

UPDATE

When I run update-alternatives --display java

The following output is displayed:

java - manual mode
link best version is /usr/lib/jvm/java-8-oracle/jre/bin/java
link currently points to /usr/lib/jvm/java-8-oracle/jre/bin/java
link java is /usr/bin/java
slave java.1.gz is /usr/share/man/man1/java.1.gz
/usr/lib/jvm/java-8-oracle/jre/bin/java - priority 1081
slave java.1.gz: /usr/lib/jvm/java-8-oracle/man/man1/java.1.gz
Preserving timestamps when extracting .tgz logs https://askubuntu.com/questions/1120494/preserving-timestamps-when-extracting-tgz-logs

I have multiple .tgz kernel-panic logs that I must extract from one file. The timestamps for these .tgz files are important. Whenever I use the following: tar - zvxf paniclogs.tgz

-rwxrwxrwx 1 root root   22359 Feb 22 15:03 kernel-panic-20190213020406-3.tgz
-rwxrwxrwx 1 root root   22971 Feb 22 15:03 kernel-panic-20190213020844-2.tgz
-rwxrwxrwx 1 root root   28344 Feb 22 15:03 kernel-panic-20190213101549-1.tgz
-rwxrwxrwx 1 root root   30683 Feb 22 15:03 kernel-panic-20190213154050-0.tgz

It extracts the logs but changes the timestamps to the date and time when I extracted them. This is not the case when I use Cygwin. I know there must be a way to extract these logs and preserve the time stamps. Can you please assist? Thank you.

Job for mysql.service failed because the control process exited with error code https://askubuntu.com/questions/1009669/job-for-mysql-service-failed-because-the-control-process-exited-with-error-code

MySQL server was running fine last night, but this morning, when I tried to hit the Bugzilla server, I found it down. I tried to start it, but I get:

Job for mysql.service failed because the control process exited with 
error code. See "systemctl status mysql.service" and "journalctl -xe" for 
details.

I have done a few google searches and found a bunch of questions. I tried some of the answers, but the server is still down. I have plenty of space,

root@GBRTEF01LX005:/home/bzadmin# df -h
Filesystem                                  Size  Used Avail Use% Mounted on
udev                                        2.0G     0  2.0G   0% /dev
tmpfs                                       396M  5.8M  390M   2% /run
/dev/mapper/CMS--UBN--TEMPLATE--1--vg-root   75G  4.8G   66G   7% /
tmpfs                                       2.0G     0  2.0G   0% /dev/shm
tmpfs                                       5.0M     0  5.0M   0% /run/lock
tmpfs                                       2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/sda1                                   472M  106M  342M  24% /boot
tmpfs                                       396M     0  396M   0% /run/user/1001

I have also added more swap space for InnoDB,

innodb_buffer_pool_size = 20M

which is one of the suggestion I found, and lastly, here is the last 30 lines of journalctl -xe,

root@GBRTEF01LX005:/home/bzadmin# journalctl -xe | tail -30
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Unit entered failed state.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Failed with result 'exit-code'.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=0
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:317): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:318): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=0
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:319): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:25 GBRTEF01LX005 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

Any help would be greatly appreciated! thanks.

josé

Cannot connect to the Docker daemon at unix:///var/run/docker.sock https://askubuntu.com/questions/970643/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock

I have recently started working on docker and I'm periodically getting this message:

root@yash:/home/yashvardhan# docker run -it ubuntu /bin/bash
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
MySQL problem on Ubuntu 16.04 https://askubuntu.com/questions/821233/mysql-problem-on-ubuntu-16-04

It randomly broke yesterday(not starting up any more) and I don't know how to fix it.

When I run:

sudo service mysql start

It gives this error:

Job for mysql.service failed because the control process exited with error 
code. See "systemctl status mysql.service" and "journalctl -xe" for details.

Output of systemctl status mysql.service:

● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)<br>
   Active: inactive (dead) (Result: exit-code) since Mon 2016-09-05 15:10:31 CEST; 43s ago<br>
  Process: 6515 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)<br>
Sep 05 15:10:31 vps310084 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.<br>
Sep 05 15:10:31 vps310084 systemd[1]: Stopped MySQL Community Server.<br>
Sep 05 15:10:31 vps310084 systemd[1]: mysql.service: Start request repeated too quickly.<br>
Sep 05 15:10:31 vps310084 systemd[1]: Failed to start MySQL Community Server.<br>
Sep 05 15:10:33 vps310084 systemd[1]: mysql.service: Start request repeated too quickly.<br>
Sep 05 15:10:33 vps310084 systemd[1]: Failed to start MySQL Community Server.

Output of journalctl -xe:

Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel**
--
-- Unit mysql.service has failed.
--
-- The result is failed. 
Sep 05 15:14:56 vps310084 systemd[1]: mysql.service: Unit entered failed state. 
Sep 05 15:14:56 vps310084 systemd[1]: mysql.service: Failed with result 'exit-code'.
Sep 05 15:14:56 vps310084 systemd[1]: mysql.service: Service hold-off time over, scheduling restart. 
Sep 05 15:14:56 vps310084 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down<br>
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down. 
Sep 05 15:14:56 vps310084 systemd[1]: mysql.service: Start request repeated too quickly. 
Sep 05 15:14:56 vps310084 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
--
-- Unit mysql.service has failed.
--
-- The result is failed.
LibreOffice Calc: Wrapping text while not expanding the cell's height in just 1 row https://askubuntu.com/questions/789960/libreoffice-calc-wrapping-text-while-not-expanding-the-cells-height-in-just-1

I have a large document in Libre Calc. All the rows and columns have "wrap text" option selected and all the cells' height is automatically adjusted to the text... BUT I found one row which, even though has the text wrapped, doesn't expand the height of the cell. The height stays at the height of one-line of the text, no matter how much text I will write there and how many lines of wrapped text it will create inside the cell. It just shows me that small red arrow. I checked the properties and they seem to be exactly the same as the properties of all the rest of the rows. Can anyone please help me?

Ubuntu 16.04 flickering and disappearing screen https://askubuntu.com/questions/760917/ubuntu-16-04-flickering-and-disappearing-screen

Running Skylake/Nvidia GTX 950 on a clean install. I'm no expert at all and I haven't got a clue what to do. I've tried various things but nothing works and the guides are often not clear enough for newbies - if anyone can help me step by step I'd be very grateful.

How to escape from Bodhi Linux [duplicate] https://askubuntu.com/questions/596953/how-to-escape-from-bodhi-linux

I recently switched to Bodhi Linux, and I want to switch back to Ubuntu. UNebootin doesn't work with Bodhi, and there aren't any other programs that let me create a live usb. Bodhi is the only os I have on my computer. Is there any way to switch back, or am I trapped forever?

install ipkg via command line https://askubuntu.com/questions/555291/install-ipkg-via-command-line

I'm trying to install ipkg-utils.

However, when I try to install it, it is unable to locate the package

sudo apt-get install ipkg-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ipkg-utils

I tried wget https://dev.openwrt.org/log/trunk/tools/ipkg-utils (the repository for ipkg), but it didn't work.

I inherited the code. ipkg was used to distribute and need to build an ipkg archive of a PIC build.

ipkg has been superseded by opkg. I have opkg running ok but haven't built anything yet. What I didn't find out was whether I could create an ipkg archive using opkg.

I've been googling for hours with no joy. Does anyone know how to install ipkg?

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
Ubuntu 14.04 FTP restart https://askubuntu.com/questions/550226/ubuntu-14-04-ftp-restart

We use a dedicated server running Ubuntu 14.04 The FTP service sometimes quits and we need to get it restarted. This means I am stuck a day or to and is unable to work with files on the server www area.

I am not a server guy at all unfortunately (hoping to learn), but when I log on server root with putty I guess I should be able to restart the FTP service somehow as I have root access.

Would anyone take me through the kung-fu required to restart the FTP service ?

I have tried:

service vsftpd restart

message:

vsftpd: unrecognized service

Solution:

The server was running proftpd so got it restarted with:

service proftpd restart

The reason why FTP stopped once a week is a glitch where the log rotation tries to restart FTP before its stopped completely. Adding a sleep and retry solves this from happening.

Error installing repo command. Ubuntu 12.04 LTS https://askubuntu.com/questions/390834/error-installing-repo-command-ubuntu-12-04-lts

I'm trying to install the repo command so I can compile CyanogenMod for my phone but whenever i enter the command:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

I get an error saying:

bash: /home/r0b458/bin/repo: Permission denied

Can anybody help me out here?