My NIKON D7000 cannot connect to any video streaming device , I have installed correctly gphoto2, v4l2loopback-utils, and ffmpeg - It is in PTP mode https://askubuntu.com/questions/1562212/my-nikon-d7000-cannot-connect-to-any-video-streaming-device-i-have-installed-c

My DSLR NIKON D7000 cannot connect to any video streaming device although:

  • I have installed correctly gphoto2, v4l2loopback-utils, and ffmpeg
  • My camera appears connected in PTP mode
  • I have unmounted it so that it does not appear as a mass storage device

Here are some of the verifications I made by running a few terminal commands:

sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Nikon DSC D7000 (PTP mode)     usb:001,008     
sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ gphoto2 --summary
                                                                               
gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Nikon DSC D7000 (PTP mode)     usb:001,009 
gphoto2 --capture-movie --stdout --port=usb:001,009 | vlc -   
abinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ gphoto2 --capture-movie --stdout --port=usb:001,009 | vlc -  
Capturing preview frames as movie to 'stdout'. Press Ctrl-C to abort.

*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Movie capture error... Exiting.
Movie capture finished (0 frames)
VLC media player 3.0.20 Vetinari (revision 3.0.20-1-g2617de71b6)
[000057ea1d974a00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
[000077ae640010e0] mjpeg demux error: cannot peek
QObject::~QObject: Timers cannot be stopped from another thread

The error repeating endlessly is that video capturing apps cannot claim the USB device and cannot start using the camera….

An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --summary

Please make sure there is sufficient quoting around the arguments.
sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ ffmpeg -f x11grab -framerate 15 -video_size 1280x720 -i :0.0 -f v4l2 /dev/video0
ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[x11grab @ 0x63c4f5309ec0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1766314841.677714, bitrate: 442368 kb/s
  Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 442368 kb/s, 15 fps, 1000k tbr, 1000k tbn
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[video4linux2,v4l2 @ 0x63c4f5313740] Unable to open V4L2 device '/dev/video0'
[out#0/video4linux2,v4l2 @ 0x63c4f5312b00] Could not write header (incorrect codec parameters ?): No such file or directory
Error while filtering: No such file or directory
[out#0/video4linux2,v4l2 @ 0x63c4f5312b00] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A    
Conversion failed!
sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ v4l2-ctl --list-devices
DSLR (platform:v4l2loopback-000):
/dev/video0
sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ v4l2-ctl --list-devices
DSLR (platform:v4l2loopback-000):
    /dev/video0
sabinefauresamlle@sabinefauresamlle-ThinkCentre-M700:~$ gphoto2 --stdout --capture-movie | ffmpeg -i - -c:v rawvideo -f v4l2 /dev/video0
Capturing preview frames as movie to 'stdout'. Press Ctrl-C to abort.

*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Movie capture error... Exiting.
Movie capture finished (0 frames)
ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[in#0 @ 0x5968e464fd80] Error opening input: Invalid data found when processing input
Error opening input file -.
Error opening input files: Invalid data found when processing input
KEK CA fails to install https://askubuntu.com/questions/1562211/kek-ca-fails-to-install

Has anyone found a workaround for this error yet?

enter image description here

Failed to install firmware!

org.freedesktop.fwupd.InvalidData: failed to write-firmware:  
failed to write (null): failed to write data to efivarsfs:  
Error writing to file descriptor: Invalid argument
Can't install Ubuntu 25.10 on HP Victus 15 https://askubuntu.com/questions/1562208/cant-install-ubuntu-25-10-on-hp-victus-15

PS:I'm actually a novice in the Linux World so please be nice :(.

I've been trying to install Ubuntu 25.10 alongside W11 in my HP Victus 15, but anyway I try unknown error crashed with UnicodeDecodeError always appears. All of this happened with Secure Boot enabled, knowing Ubuntu should handle that fine.

What i tried:

  • Shutting down and rebooting,
  • Using both Rufus in W11 and my friend's laptop with Kubuntu's "ISO Image Writer" re-- flashed my USB many times, my laptop supports GPT partition, but still the same issue. (Verified the ISO image before burning and verified the USB after)
  • Attempted using another Ubuntu Desktop version to install (so far only 24.04.3 LTS, 25.10 interim and 26.04 LTS Daily Build),
  • Used another USB, doing the same procedure as before.

Then I ran into a "temporal" solution, which means changing the locale, so that i ran that and then export LANG=en_US.UTF-8 || export LC_ALL=en_US.UTF-8. It did made the previous error disappear, but now the "Preparing Ubuntu" screen stays buffering infinitely.

The live environment itself works fine, I can connect to Wifi, Bluetooth works, Audio is not bugged, but since my keyboard layout is Latin America, I have to change that in Keyboard settings, but nothing more strange. The only thing not working entirely is the installer.

Also, both of the USBs I've tested before, they do boot and they can install Ubuntu just fine in other laptops, while in mine it doesn't. And this just happens with Ubuntu specifically, any other Linux distro I've tried in my laptop boots, and the installer works.

here are My laptop specs:

HP Victus 15-fb2xxx
Ryzen 5 8645HS w/ Radeon 760M
NVIDIA GeForce RTX 3050 6GB Laptop
16 GB DDR5 RAM 5600 MT/s
1TB M.2 NVMe of Storage

Trouble with booting after upgrade from Ubuntu 25.04 to 25.10 https://askubuntu.com/questions/1562207/trouble-with-booting-after-upgrade-from-ubuntu-25-04-to-25-10

The Problem

So I recently updated my ubuntu desktop from 25.04 to 25.10, and ever since i did that i haven't been able to get into ubuntu anymore, anytime i boot it goes through the loading screen into a black screen that just sits there forever, trying to open TTY just flashes the terminal for a split second before going away.

What I've Tried

I've tried the older kernel, I've tried fixing system packages and cleaning up everything in recovery mode, and I've also tried using boot-repair on a live usb, nothing has solved the issue. I'm running off amd and suspect it is a driver problem but im not sure. I've tried running ubuntu with nomodeset in the grub menu but it gives the same output and claims dkms.service failed to start. I've tried using chroot on a live usb to rebuild dkms modules but i have no idea how to use chroot and couldn't get it to work with DNS. I have no idea what I'm doing and I desperately need help please.

How to play PS3 game on Ubuntu 24.04 [closed] https://askubuntu.com/questions/1562206/how-to-play-ps3-game-on-ubuntu-24-04

I am running Ubuntu 24.04 and would like to run Madden football PS3 version on Linux.

Anyone try this? I have a legal disk.

My microphone is not working in any application https://askubuntu.com/questions/1562205/my-microphone-is-not-working-in-any-application

It records audio via the terminal at 16-bit, 48kHz mono, but when applications interact with it they crash immediately.

Wi-Fi randomly stops working on Dell G15 (Intel iwlwifi, Ubuntu 22.04) https://askubuntu.com/questions/1561873/wi-fi-randomly-stops-working-on-dell-g15-intel-iwlwifi-ubuntu-22-04

The Problem

Wi-Fi works when it wishes to. Sometimes it works fine with heavy downloads and fast speed. Sometimes goes on strike. It decides to stop working soon after boot, after many minutes, or hours, or not at all.

Symptoms

On the widget on the top right the wifi cannot detect networks, and if wifi is turned off it cannot turn on. Sometimes on boot the wifi voice on the drop-down menu is not even showing. lshw -c network shows network UNCLAIMED.

What I tried

I've tried reinstalling linux-firmware, NetworkManager restarts, to no avail. After a while, something randomly breaks, and it is especially frustrating as I have no easy access to ethernet cables.
Using older kernels did not work either.
I found that, SOMETIMES, flea reset OR messing with unimportant BIOS options, booting the os, rebooting and changing BIOS options again sometimes allows me for sustained network access (a suggestion I found browsing for solutions)... maybe this last one is not effective, I don't know how to check.

Technical Information

Hardware information

I own a gaming Dell G15, with Ubuntu22.04.1 preinstalled. No dual boot. Has worked perfectly for more than 1 year, even after I upgraded it to 24 (now it is back to 22, after factory reset). I use it for everything: work, scientific computation, watching videos, and gaming.

Secure boot is turned off. The original kernel for this Dell was an oem kernel listed as 6.1.0-1013.13_oem. I have installed hwe kernels and I am currently running the latest hwe for ubuntu24.04.1: 6.8.0-90.91.
I also tried to install 5.15.0, but it won't work on this machine.

This is some of the output from neofetch and nvidia-smi:
OS: Ubuntu 22.04.5 LTS x86_64
Host: Dell G15 5530
Kernel: 6.8.0-90-generic
CPU: 13th Gen Intel i5-13450HX (16)
GPU: NVIDIA GeForce RTX 3050

Diagnostics

When wifi is not working

This is the output of wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info https://paste.ubuntu.com/p/T7Pv3NMnXc/

When wifi is working

Lastly, the following is the diagnostics output of the machine when wifi is working.

https://paste.ubuntu.com/p/SGFcT7dXyB/ (updated on 24/12/2025)

Final notes

I welcome any advice on what to do when it will break, or why does it do that, additional diagnostics, readings, tools to install, etc. are more than welcome. E.g. I have just installed net-tools and iw, and I have read conflicting and old advice suggesting to install backport-iwlwifi-dkms.

Also, the guide in https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide seems to be somewhat helpful with understanding the diagnostics. Sadly, it does not provide any help when dealing with the problem I am experiencing.

edit 24/12/2025

The problem manifested again. All I did was

  • deactivated airplane mode
  • connecting to my cellphone hotspot
  • updating snap
  • sudo apt update
  • check what was to be updated (google chrome, libre office, vscode)
  • sudo apt upgrade
    I lost wifi at 20% of the chrome download.
    After the reboot I resumed the upgrade, and it blocked at 60%, then 98%. After that the wifi disappeared altogether.
    What I tried and did not work:
  • rebooting;
  • using different kernel versions;
  • Changing BIOS options;
  • nmcli networking off && nmcli networking on;
  • nmcli radio wifi off && nmcli radio wifi on.

What did work for a bit:

  • flea reset. The diagnostics were updated in this edit. This is the old diagnostic of the wifi when it is not working: https://paste.ubuntu.com/p/xnYs8dGp5W/
    I am keeping it for reference, but it lacks iw outputs.
Can't connect Android phone to Ubuntu 24.04 https://askubuntu.com/questions/1534204/cant-connect-android-phone-to-ubuntu-24-04

I went from Windows 11 to Ubuntu 24.04.1 a few months back. I'm having problems trying to connect my Android phone to my Fujitsu Lifebook A512 laptop that's running Ubuntu using a USB cable, but it's not having any of it. I tried KDE Connect, but it didn't help.

Terminal is not opening in Ubuntu 24.04 https://askubuntu.com/questions/1523172/terminal-is-not-opening-in-ubuntu-24-04

Recently I installed Ubuntu 24.04. It was working well, but suddenly the terminal is not opening. Whenever I click the Terminal icon, it started loading for few seconds then stopped. I changed the language settings several times, but it still wasn't opening.

It shows like this.

sami@Phone-LP:~/Documents/Odding/CeeSS$ gnome-terminal
bash: /usr/bin/gnome-terminal: cannot execute: required file not found
Unable to locate package linux-tools-5.15.90.1-microsoft-standard-WSL2 https://askubuntu.com/questions/1491621/unable-to-locate-package-linux-tools-5-15-90-1-microsoft-standard-wsl2

After trying to install CUPS https://project-insanity.org/2022/11/01/use-cups-printing-server-on-windows-10/usbipd using which involved installing WSL Ubuntu 22.04.2 LTS then usbipd https://openprinting.github.io/wsl-printer-app-compile/ using WSL in a Windows 11 environment, I am running into a roadblock after:

$usbipd wsl list
WARNING: usbipd not found for kernel 5.15.90.1-microsoft

  You may need to install the following packages for this specific kernel:
    linux-tools-5.15.90.1-microsoft-standard-WSL2
    linux-cloud-tools-5.15.90.1-microsoft-standard-WSL2

  You may also want to install one of the following packages to keep up to date:
    linux-tools-standard-WSL2
    linux-cloud-tools-standard-WSL2

after that message I tried installing both recommended packages with no luck:

$sudo apt-get install linux-tools-5.15.90.1-microsoft-standard-WSL2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-tools-5.15.90.1-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-tools-5.15.90.1-microsoft-standard-WSL2'
E: Couldn't find any package by regex 'linux-tools-5.15.90.1-microsoft-standard-WSL2'

as recommended in another thread I also tried:

sudo apt install linux-tools-virtual hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip $(command -v ls /usr/lib/linux-tools/*/usbip | tail -n1) 20

Still no luck

I ran all the updates for Windows but no luck and there is no clarity if it even works with this version 23H2 (OS Build 22631.2506) of Win 11 with WSL. Should I or can I even downgrade any component to get it working or is there any other options?

Sound stuttering in virtual machine https://askubuntu.com/questions/1469652/sound-stuttering-in-virtual-machine

In Ubuntu 23.04 and 22.10 installed in VMware 13 there is sound stuttering. Ubuntu 20.04 does not have this problem. In Fedora 38 I also had problems with sound. In fedora 38 I changed the file ~/.config/wireplumber/main.lua.d/50-alsa-config.lua. I set these values. This solved the problem.

["api.alsa.period-size"]   = 1024,
["api.alsa.headroom"]      = 8192,

But this doesn't help in Ubuntu 23.04. What can I try to fix the sound problem?

sshd banner exchange error messages https://askubuntu.com/questions/1447172/sshd-banner-exchange-error-messages

Starting yesterday, began seeing thousands of messages like this in the auth.log

sshd[3635916]: banner exchange: Connection from 202.142.184.68 port 24571: invalid format

Almost 17,000 occurrences of the same ip address shown above, and about 500 occurrences of various other ip addresses. The ports are always changing, and I wonder if this is a brute force attempt. I have ufw enabled which includes this rule I added several minutes ago

Anywhere DENY IN 202.142.184.68

but that hasn't stopped the messages. iplocation places the ip address in Pakistan. I have ssh set up to allow connections from only one port, and it's not the default port for ssh. For my userid on the server, I ssh (Putty) without a password, using a secure key.

Any way to stop these sshd connection attempts, or whatever they are. Should I try fail2ban as mentioned in How can I stop ssh bots from trying to SSH in as root?

BTW, server is 22.04.1

How to get GNOME to recognize hibernate and make it available from dropdown menu and as a power button option? https://askubuntu.com/questions/1419921/how-to-get-gnome-to-recognize-hibernate-and-make-it-available-from-dropdown-menu

Now that I managed to extend swap and enable hibernation, I'd like hibernate to be available from the menu and as an action under the power button.

I tried assigning hibernate through gsettings

$ gsettings set org.gnome.settings-daemon.plugins.power power-button-action hibernate

but it only brings up an interactive shutdown menu instead.

I have also tried looking for a GNOME extension to make hibernate visible in the menu. However, the only extension compatible with my GNOME (42.2) is Hibernate Status Button by p91paul which doesn't seem to have any effect.

How to enable hibernation with the power button and in the GNOME menu on Ubuntu 22.04?

I can successfully hibernate issuing

sudo systemctl hibernate

so the mechanism is working. I only need the UI options.

What does 'snap "opera" has "remove-snap" change in progress' mean and how do I stop it? https://askubuntu.com/questions/1336399/what-does-snap-opera-has-remove-snap-change-in-progress-mean-and-how-do-i

I am using Ubuntu 18.04 and the following message is showing after I tried to delete the Opera browser from my device:

status code=409,kind=snap-change-conflict message=snap"opera" has "opera" has "remove-snap" change in progress
Ubuntu 20.04 "Temporary failure in name resolution" - recently reinstalled https://askubuntu.com/questions/1242751/ubuntu-20-04-temporary-failure-in-name-resolution-recently-reinstalled

I rent a VPS from Contabo for about half a year now. It worked fine until now, because it started producing "Temporary failure in name resolution" errors. I read that this is a DNS error. I tried nameserver 8.8.8.8 and nameserver 1.1.1.1 but the problems are still here.

Yesterday I completely reinstalled the VPS, but it didn't work.

Results of /etc/resolv.conf:

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0
search invalid

Results of resolvectl status:

Global
       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
          DNSSEC NTA: 10.in-addr.arpa     
                      16.172.in-addr.arpa 
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa 
                      18.172.in-addr.arpa 
                      19.172.in-addr.arpa 
                      20.172.in-addr.arpa 
                      21.172.in-addr.arpa 
                      22.172.in-addr.arpa 
                      23.172.in-addr.arpa 
                      24.172.in-addr.arpa 
                      25.172.in-addr.arpa 
                      26.172.in-addr.arpa 
                      27.172.in-addr.arpa 
                      28.172.in-addr.arpa 
                      29.172.in-addr.arpa 
                      30.172.in-addr.arpa 
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 2 (eth0)
      Current Scopes: DNS          
DefaultRoute setting: yes          
       LLMNR setting: yes          
MulticastDNS setting: no           
  DNSOverTLS setting: no           
      DNSSEC setting: no           
    DNSSEC supported: no           
  Current DNS Server: 213.136.95.11
         DNS Servers: 213.136.95.10
                      213.136.95.11
          DNS Domain: invalid 

Results of sudo systemctl status systemd-resolved.service:

● systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2020-05-21 21:45:08 CEST; 1 day 14h ago
       Docs: man:systemd-resolved.service(8)
             https://www.freedesktop.org/wiki/Software/systemd/resolved
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
   Main PID: 460 (systemd-resolve)
     Status: "Processing requests..."
      Tasks: 1 (limit: 9487)
     Memory: 7.5M
     CGroup: /system.slice/systemd-resolved.service
             └─460 /lib/systemd/systemd-resolved

May 23 11:59:44 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:00:18 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:00:20 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:00:31 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:00:48 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:01:05 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:01:15 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:01:29 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:01:55 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
May 23 12:02:21 vmi329703.contaboserver.net systemd-resolved[460]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.

I have a Discord bot, and usually the problem comes up there.

Not able to change the Nvidia driver in ubuntu 20.04 https://askubuntu.com/questions/1237590/not-able-to-change-the-nvidia-driver-in-ubuntu-20-04

In Additional Drivers under Software & Updates, the NVIDIA driver is stuck on Continue using a manually installed driver, and all other options are greyed out.

I want to set the driver to proprietary driver(nvidia-driver-390), which was originally selected before I changed it to the open source driver, but now it is stuck.

How can I resolve this issue? Should remove all NVIDIA drivers and install them again? If so , how to do it safely in Ubuntu 20.04?

Additional info:

  1. cat /var/log/Xorg.0.log output: https://termbin.com/hqo3

  2. lspci -k | grep -EA3 'VGA|3D|Display' output: https://termbin.com/bog0

OpenJDK - Installing JDK Debug Symbols manually https://askubuntu.com/questions/1150114/openjdk-installing-jdk-debug-symbols-manually

i have all OpenJDK8 files and its debugging symbols, i can get OpenJDK working but when i try to use something that is used to debug, i'm still getting errors related to the dbg files, i don't know which configurations are needed to get everything working. Basically i have the files from the command: sudo apt-get install openjdk-8-jdk openjdk-8-dbg but i didn't get them working yet, i need install them manually. I've tried just putting the files on /usr/lib/... directory, also running the commands directly from the path (Jinfo is one of these and i've tried running it from the binary file directly) I'm using Ubuntu 18.04. Is there any documentation for installing all this packages from scratch? Any help is appreciated.

Keyboard and mouse are extremely slow / lagging in Ubuntu 18.04's login screen https://askubuntu.com/questions/1144729/keyboard-and-mouse-are-extremely-slow-lagging-in-ubuntu-18-04s-login-screen

I have just installed Ubuntu 18.04 in a computer that has an ASRock EP2C602-4L/D16 motherboard with two Intel Xeon E5-2660v2 CPUs and 128 Gb of DDR3 RAM. Ubuntu is installed in a 1Tb SSD.

Everything works well, with one exception: keyboard and mouse input in the initial login screen are extremely slow and lagged. By that I mean the following. Specifically at the first login screen after boot, when moving the mouse, the mouse cursor responds with huge lag and when typing (for instance, my password to log in) the characters appear also with huge lag. Longing in is a true nightmare.

The problem does not happen after logging in or if I go back to the login screen (for instance after a screen lock or after recovering from a power suspend time).

I have searched a lot online for solutions to this problem. There are related questions about this that were asked previously. For example, this one, this one and this one. In my case, however, I have no issues with CPU overworking or overheating. Changing the settings of mouse and keyboard rate for the root also does not help.

Because the issue happens only at the first login screen after boot, I figured it could relate to video driver initialization. Hence, I added nomodeset to the kernel, updated the grub and restarted. To my surprise, this led to two results: (1) the login screen now worked perfectly well but (2) keyboard and mouse became extremely slow / lagging after login (the screen also started to refresh from bottom up very slowly from time to time, also with some flickering). So it seems that the original issue was indeed related to video card drivers, but I have no idea why them are not being properly initialized after login with nomodeset quiet splash. My video card is onboard and its driver version is 3.3, which seems to be up-to-date. So my question is simply how could I solve this and have my mouse and keyboard work properly both in the login screen and after login?

Intel's Platform Trust Technology on Ubuntu 18.04 https://askubuntu.com/questions/1117953/intels-platform-trust-technology-on-ubuntu-18-04

I have an Intel NUC (NUC8i7BEH), which includes Platform Trust Technology instead of a dedicated TPM 2.0 chip.

I was reading this other Ask Ubuntu post about using a TPM 2.0 chip, and am trying to gain access to the TPM features on an Ubuntu 18.04.2 LTS Server installation. I'm unable to find the proper kernel module to load in order to do so, however.

FWIW, Ubuntu is installed in UEFI mode, and it's running in Secure Boot mode.

When booting I see this in the logs:

berto@nuc:~$ dmesg | grep -i tpm
[    0.000000] ACPI: TPM2 0x000000007B1C10F0 000034 (v04 INTEL  NUC8i7BE 00000038 AMI  00000000)
[    1.214149] tpm tpm0: A TPM error (378) occurred get tpm pcr allocation
[    2.649754] ima: No TPM chip found, activating TPM-bypass! (rc=-19)

Is Intel PTT supported under Ubuntu? And, if so, how can I enable it?

Thank you!

vnc service for ubuntu 18.04, no background and menus https://askubuntu.com/questions/1041260/vnc-service-for-ubuntu-18-04-no-background-and-menus

There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver and the content of ~/.vnc/xstartup according to this topic is

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture

enter image description here

Any idea?

Snap package only runs when root https://askubuntu.com/questions/991043/snap-package-only-runs-when-root

I installed the snap package pycharm-community using snap (while being logged into my Ubuntu One account). When I run snap list I can see the package in the list. However, I can only run this app when I run sudo pycharm-community. Without root access, I get a pycharm-community: command not found error.

How do I run pycharm without sudo?

EDIT: output of snap version:

$ snap version
snap       2.29.4.2
snapd      2.29.4.2
series     16
linuxmint  18.3
kernel     4.13.0-21-generic
apt gives “Unstable CLI Interface” warning https://askubuntu.com/questions/990823/apt-gives-unstable-cli-interface-warning

I am writing a script that needs to read a file containing information of a package for which I wrote this line

apt show $PACKAGE_NAME > pack_info.txt

However this doesn't creates the pack_info.txt file and always gives this Warning :

WARNING : apt does not have a stable CLI interface. Use with caution in scripts.

For the time being I tried redirecting both STDOUT & STDERR using &> and it worked out to give a file pack_info.txt that we need.

I also tried getting contents from dpkg and that also worked :

dpkg -s $PACKAGE_NAME > pack_info.txt

What is good that it neither shows a warning nor an error.

What is bad that we don't want to use dpkg and only want STDOUT of apt to redirect to file.

So, I have three Questions to ask :

  1. What do we exactly mean by Stable CLI Interface ?
  2. How to safely and error-free use such commands in scripts ? [please care to explain with example]
  3. Is there a way to only and only redirect STDOUT of apt show to a file ?
What is the correct folder location for a dissector lua as plugin for wireshark? https://askubuntu.com/questions/889479/what-is-the-correct-folder-location-for-a-dissector-lua-as-plugin-for-wireshark

I have a lua dissector (xxx.lua) which I normally run on windows under C:\Program Files\Wireshark\plugins\2.2.4

I tried to copy this in Ubuntu 14.04 following various recommendations found online without success.

Can I use the same lua dissector in Uubuntu?

If so, what is the exact location where Wireshark loads dissectors?

Why does ssh-key work on one server but not on another? https://askubuntu.com/questions/787804/why-does-ssh-key-work-on-one-server-but-not-on-another

I have the problem that an ssh-connection with public-private-key authentication is working on 10 servers perfectly, but not on another.

The user is on all machines the same and the key-pair also. I can't figure out what the problem is. The error message is :

No supported authentication methods available: Server sent public key.

The configuration is identical on all machines and the key is stored on every machine, I checked this several times.

To access it I use putty on a Windows machine.

How can I fix the resolution of my live USB? https://askubuntu.com/questions/784431/how-can-i-fix-the-resolution-of-my-live-usb

I'm trying to install Ubuntu from a USB stick. I can boot into the stick and doing so brings me to a black screen with white text which says grub at the top and has four options to choose from: Try Ubuntu Without Installing, Install Ubuntu, OEM Install and Check disc for Defects. At the bottom it instructs me on how to navigate. Pressing c brings me to a command line looking screen which says grub where the name of the machine would normally go and escape returns to the first screen.

Checking the disc goes to a purple screen witty orange loading dots and works fine but the first two options both cause the screen to go black for a second, then the normal purple loading screen appears and finally TV turns to its default background colour and a box saying "Not Supported" appears, almost certainly referring to resolution.

How can I change the screen resolution without actually being able to see what I'm doing, or by using grub, or by opening files on the USB stick using a Windows computer?

Edit: This is on a John Lewis TV Screen, connected using VGA. Also I am able to bring up the normal terminal by pressing Ctrl-Alt-F1. Closing the terminal with Ctrl-Alt-F7 brings up a blown up portion of the normal Ubuntu Desktop for a second before the invalid resolution message returns. Trying to change the resolution with 'xrandr --output VGA-1 --mode 1024x768' returns the message "Configure crtc 0 failed" and 'xrandr --output VGA-1 --auto' did nothing.

Force rescan of the PCI device which was wrongly detected by the OS https://askubuntu.com/questions/779385/force-rescan-of-the-pci-device-which-was-wrongly-detected-by-the-os

I am using Ubuntu 14.04.3, kernel version 3.13.0-67 with an Atheros AR93xx Wifi card. Many of the times no wireless is detected during system boot. Below is the problem that I detected.

The wireless card should be detected as "Network Controller" by the kernel however it's detected as "Ethernet Controller" by the kernel. Below is the lspci -nn command log.

00:00.0 Host bridge [0600]: Intel Corporation ValleyView SSA-CUnit [8086:0f00] (rev 0e)
00:02.0 VGA compatible controller [0300]: Intel Corporation ValleyView Gen7 [8086:0f31] (rev 0e)
00:13.0 SATA controller [0106]: Intel Corporation ValleyView 6-Port SATA AHCI Controller [8086:0f23] (rev 0e)
00:14.0 USB controller [0c03]: Intel Corporation ValleyView USB xHCI Host Controller [8086:0f35] (rev 0e)
00:1a.0 Encryption controller [1080]: Intel Corporation ValleyView SEC [8086:0f18] (rev 0e)
00:1b.0 Audio device [0403]: Intel Corporation ValleyView High Definition Audio Controller [8086:0f04] (rev 0e)
00:1c.0 PCI bridge [0604]: Intel Corporation ValleyView PCI Express Root Port [8086:0f48] (rev 0e)
00:1c.1 PCI bridge [0604]: Intel Corporation ValleyView PCI Express Root Port [8086:0f4a] (rev 0e)
00:1c.2 PCI bridge [0604]: Intel Corporation ValleyView PCI Express Root Port [8086:0f4c] (rev 0e)
00:1c.3 PCI bridge [0604]: Intel Corporation ValleyView PCI Express Root Port [8086:0f4e] (rev 0e)
00:1f.0 ISA bridge [0601]: Intel Corporation ValleyView Power Control Unit [8086:0f1c] (rev 0e)
00:1f.3 SMBus [0c05]: Intel Corporation ValleyView SMBus Controller [8086:0f12] (rev 0e)
02:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [168c:abcd] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)

Here's the syslog too which confirms that the device was detected wrong.

May 25 19:14:35 ubuntu kernel: [    0.208784] pci 0000:02:00.0: [168c:abcd] type 00 class 0x020000
May 25 19:14:35 ubuntu kernel: [    0.208807] pci 0000:02:00.0: reg 0x10: [mem 0xd0700000-0xd071ffff 64bit]
May 25 19:14:35 ubuntu kernel: [    0.208846] pci 0000:02:00.0: reg 0x30: [mem 0xd0720000-0xd072ffff pref]
May 25 19:14:35 ubuntu kernel: [    0.208901] pci 0000:02:00.0: supports D1
May 25 19:14:35 ubuntu kernel: [    0.208905] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
May 25 19:14:35 ubuntu kernel: [    0.208947] pci 0000:02:00.0: System wakeup disabled by ACPI

If the wifi card is detected proper I should see following in lspci -nn output .

02:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)

while below lines in syslog.

Apr  8 16:44:06 ubuntu kernel: [    0.208677] pci 0000:02:00.0: [168c:0030] type 00 class 0x028000
Apr  8 16:44:06 ubuntu kernel: [    0.208709] pci 0000:02:00.0: reg 0x10: [mem 0xd0700000-0xd071ffff 64bit]
Apr  8 16:44:06 ubuntu kernel: [    0.208773] pci 0000:02:00.0: reg 0x30: [mem 0xd0720000-0xd072ffff pref]

The solution I tried was to remove and rescan the device.

sudo sh -c "echo 1 > /sys/bus/pci/devices/0000\:02\:00.0/remove"
sudo sh -c "echo 1 > /sys/bus/pci/rescan "

but this again shows the same thing . The wireless pci card still detects as Ethernet Controller. I understand that its detected by kernel in a wrong way but than what could be a best way to do a real rescan of the device(without a reboot) or force the kernel to detect the correct type of device.

Also below is the full log generated by wireless info script as recommended on Ubuntu forums .

########## wireless info START ##########

Report from: 30 May 2016 12:32 IST +0530

Booted last: 30 May 2016 11:40 IST +0530

Script from: 26 May 2016 21:56 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty

##### kernel ############################

Linux 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 13:24:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, text

##### desktop ###########################

sed: can't read /home/ubuntu/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

02:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [168c:abcd] (rev 01)

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
    Subsystem: Intel Corporation Device [8086:2055]
    Kernel driver in use: r8169

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

##### lsmod #############################

ath9k                 164164  0 
ath9k_common           13551  1 ath9k
ath9k_hw              453856  2 ath9k_common,ath9k
ath                    28698  3 ath9k_common,ath9k,ath9k_hw
mac80211              630728  1 ath9k
cfg80211              484040  3 ath,ath9k,mac80211

##### interfaces ########################

auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.20.10
netmask 255.255.255.0

##### ifconfig ##########################

eth0      Link encap:Ethernet  HWaddr <MAC 'eth0' [IF1]>  
          inet addr:192.168.1.53  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::<IP6 'eth0' [IF1]>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5616 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4084 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:707839 (707.8 KB)  TX bytes:3170000 (3.1 MB)

##### iwconfig ##########################

eth0      no wireless extensions.

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

##### resolv.conf #######################

nameserver 0.0.0.0
nameserver 127.0.0.1
nameserver 192.168.1.10
nameserver 127.0.0.1
search domain.name

##### network managers ##################

Installed:

    NetworkManager

Running:

    None found.

##### NetworkManager info ###############

** (process:3060): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files

** (process:3060): WARNING **: error: could not connect to NetworkManager

NetworkManager Tool

State: unknown

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=false
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

no-auto-default=<MAC address>,C0:3F:D5:69:4A:55,00:A0:C6:67:04:30,C0:3F:D5:69:72:1C,C0:3F:D5:69:0D:BD,B8:AE:ED:70:45:10,

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Zaya Office 2 1]] (600 root)
[connection] id=Zaya Office 2 1 | type=802-11-wireless
[802-11-wireless] ssid=Zaya Office 2 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/my Office 3]] (600 root)
[connection] id=my Office 3 | type=802-11-wireless
[802-11-wireless] ssid=my Office 3 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/my Office1]] (600 root)
[connection] id=my Office1 | type=802-11-wireless
[802-11-wireless] ssid=my Office1 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/WRTD-303N_d2f567]] (600 root)
[connection] id=WRTD-303N_d2f567 | type=802-11-wireless
[802-11-wireless] ssid=WRTD-303N_d2f567 | mac-address=<MAC address>
[ipv6] method=auto
[ipv4] method=auto

[[/etc/NetworkManager/system-connections/Zaya Office 2]] (600 root)
[connection] id=Zaya Office 2 | type=802-11-wireless
[802-11-wireless] ssid=Zaya Office 2 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/office-3_2GEXT]] (600 root)
[connection] id=office-3_2GEXT | type=802-11-wireless
[802-11-wireless] ssid=office-3_2GEXT | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/office-4]] (600 root)
[connection] id=office-4 | type=802-11-wireless
[802-11-wireless] ssid=office-4 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/office-3]] (600 root)
[connection] id=office-3 | type=802-11-wireless
[802-11-wireless] ssid=office-3 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/office-3 1]] (600 root)
[connection] id=office-3 1 | type=802-11-wireless
[802-11-wireless] ssid=office-3 | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

country 00:
    (2402 - 2472 @ 40), (3, 20)
    (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
    (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

eth0      no frequency information.

lo        no frequency information.

##### iwlist scan #######################

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

[ath9k]
filename:       /lib/modules/3.13.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     E7A57F092F500DEC330BD56
depends:        ath9k_hw,mac80211,ath9k_common,cfg80211,ath
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512
parm:           debug:Debugging mask (uint)
parm:           nohwcrypt:Disable hardware encryption (int)
parm:           blink:Enable LED blink on activity (int)
parm:           btcoex_enable:Enable wifi-BT coexistence (int)
parm:           bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:           ps_enable:Enable WLAN PowerSave (int)

[ath9k_common]
filename:       /lib/modules/3.13.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless 802.11n LAN cards.
author:         Atheros Communications
srcversion:     93644B269B570BC55CF5154
depends:        ath,ath9k_hw
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512

[ath9k_hw]
filename:       /lib/modules/3.13.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     65C14EF588BF1A68181643C
depends:        ath
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512

[ath]
filename:       /lib/modules/3.13.0-67-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:         Atheros Communications
srcversion:     88A67C5359B02C5A710AFCF
depends:        cfg80211
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512

[mac80211]
filename:       /lib/modules/3.13.0-67-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     CD516ABEC909374CB2C52DC
depends:        cfg80211
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/3.13.0-67-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     695424C2F5CD23A91B67E25
depends:        
intree:         Y
vermagic:       3.13.0-67-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        2E:7A:AB:A0:3B:9A:BA:73:02:BA:CB:8F:81:3D:80:FF:AC:23:04:50
sig_hashalgo:   sha512
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
nohwcrypt: 1
ps_enable: 0

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc
ath9k

##### modprobe options ##################

[/etc/modprobe.d/ath9k.conf]
options ath9k nohwcrypt=1

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

/bin/sh /usr/local/bin/startServer.sh
/bin/echo never > /sys/kernel/mm/transparent_hugepage/enabled 
exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:0x0030 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################
scale monitors differently without everything becoming blurry? https://askubuntu.com/questions/714008/scale-monitors-differently-without-everything-becoming-blurry

problem

My Laptop has a 1920x1080, 34.4x19.3 cm Monitor and I connect it to a 1280x1024, 37.6x30.1 cm external Monitor. Since the external monitor has a 30% lower pixel density, everything on it looks substantially larger.

How could I configure my system so that everything is displayed equally large on both monitors? I would also be willing to consider using another Desktop environment to accomplish this.

(Using Ubuntu 15.10)

unsatisfactory/partial solutions

I can change the dpi of the external monitor (as explained here), but this leaves everything on my external monitor blurry.

gnome-tweak-tool allows you to set a scaling factor that makes the content of all Windows larger or smaller. The problem is of course, that this applies to both screens. Is it somehow possible though to specify different scaling factors for different monitors?

How can I make my systemd service wait for a network interface? https://askubuntu.com/questions/647167/how-can-i-make-my-systemd-service-wait-for-a-network-interface

I have an upstart script that I am converting to systemd. For this service to start, a certain network interface needs to be available.

This is what I am using in my upstart script:

start on (local-filesystems and net-device-added INTERFACE=tun0)

What's the systemd equivalent?

Edit color profile (.icc) to change gamma https://askubuntu.com/questions/439022/edit-color-profile-icc-to-change-gamma

As a lot of other users here on Ask Ubuntu, I need to use xrandr to correct the gamma settings on one of my external monitors. Settings applied this way aren't permanent and they can reset basically randomly (for me).

Would it be possible to somehow edit the default color profile of my monitor and just change the gamma value, then reimport it into Gnome color configuration utility? I don't have access to specialized calibration equipment.

Unable to execute command start-all.sh in Hadoop https://askubuntu.com/questions/438584/unable-to-execute-command-start-all-sh-in-hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0

Actually I'm a total newbie on Hadoop .. Its new for me and We guys are trying to work on some Big Data related project I count you guys.. Help me! I know tutorial is based on earlier versions of Hadoop but I managed to make it through the 11th step! And the output of the step is

root@sandesh-Inspiron-1564:/home/hduser/hadoop# sudo ./bin/hadoop namenode -format
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

14/03/24 20:29:54 INFO namenode.NameNode: STARTUP_MSG: 
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = sandesh-Inspiron-1564/127.0.1.1
STARTUP_MSG:   args = [-format]
STARTUP_MSG:   version = 2.2.0
STARTUP_MSG:   classpath = /home/hduser/hadoop/etc/hadoop:/home/hduser/hadoop/share/hadoop/common/lib/jsr305-1.3.9.jar:/home/hduser/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar:/home/hduser/hadoop/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-io-2.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar:/home/hduser/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar:/home/hduser/hadoop/share/hadoop/common/lib/slf4j-api-1.7.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/paranamer-2.3.jar:/home/hduser/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/zookeeper-3.4.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/hadoop-auth-2.2.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/guava-11.0.2.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-logging-1.1.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar:/home/hduser/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/junit-4.8.2.jar:/home/hduser/hadoop/share/hadoop/common/lib/hadoop-annotations-2.2.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-el-1.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar:/home/hduser/hadoop/share/hadoop/common/lib/jets3t-0.6.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/stax-api-1.0.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar:/home/hduser/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar:/home/hduser/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-lang-2.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/asm-3.2.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-math-2.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/xz-1.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.8.8.jar:/home/hduser/hadoop/share/hadoop/common/lib/activation-1.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/home/hduser/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar:/home/hduser/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar:/home/hduser/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar:/home/hduser/hadoop/share/hadoop/common/lib/commons-net-3.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/jackson-xc-1.8.8.jar:/home/hduser/hadoop/share/hadoop/common/lib/avro-1.7.4.jar:/home/hduser/hadoop/share/hadoop/common/lib/jettison-1.1.jar:/home/hduser/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/home/hduser/hadoop/share/hadoop/common/hadoop-nfs-2.2.0.jar:/home/hduser/hadoop/share/hadoop/common/hadoop-common-2.2.0.jar:/home/hduser/hadoop/share/hadoop/common/hadoop-common-2.2.0-tests.jar:/home/hduser/hadoop/share/hadoop/hdfs:/home/hduser/hadoop/share/hadoop/hdfs/lib/jsr305-1.3.9.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jasper-runtime-5.5.23.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-io-2.1.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jsp-api-2.1.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.1.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-el-1.0.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-lang-2.5.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/home/hduser/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/home/hduser/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0-tests.jar:/home/hduser/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.2.0.jar:/home/hduser/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/commons-io-2.1.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/paranamer-2.3.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/hadoop-annotations-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/junit-4.10.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/hamcrest-core-1.1.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/avro-1.7.4.jar:/home/hduser/hadoop/share/hadoop/yarn/lib/snappy-java-1.0.4.1.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-site-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.2.0.jar:/home/hduser/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/commons-io-2.1.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/junit-4.10.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.8.8.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.1.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/home/hduser/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0-tests.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0.jar:/home/hduser/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.2.0.jar:/contrib/capacity-scheduler/*.jar:/contrib/capacity-scheduler/*.jar
STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common -r 1529768; compiled by 'hortonmu' on 2013-10-07T06:28Z
STARTUP_MSG:   java = 1.7.0_51
************************************************************/
14/03/24 20:29:54 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hduser/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
14/03/24 20:29:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Formatting using clusterid: CID-f3d89333-8217-48ce-9281-44b0caed76f9
14/03/24 20:29:55 INFO namenode.HostFileManager: read includes:
HostSet(
)
14/03/24 20:29:55 INFO namenode.HostFileManager: read excludes:
HostSet(
)
14/03/24 20:29:55 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit=1000
14/03/24 20:29:55 INFO util.GSet: Computing capacity for map BlocksMap
14/03/24 20:29:55 INFO util.GSet: VM type       = 64-bit
14/03/24 20:29:55 INFO util.GSet: 2.0% max memory = 889 MB
14/03/24 20:29:55 INFO util.GSet: capacity      = 2^21 = 2097152 entries
14/03/24 20:29:55 INFO blockmanagement.BlockManager: dfs.block.access.token.enable=false
14/03/24 20:29:55 INFO blockmanagement.BlockManager: defaultReplication         = 1
14/03/24 20:29:55 INFO blockmanagement.BlockManager: maxReplication             = 512
14/03/24 20:29:55 INFO blockmanagement.BlockManager: minReplication             = 1
14/03/24 20:29:55 INFO blockmanagement.BlockManager: maxReplicationStreams      = 2
14/03/24 20:29:55 INFO blockmanagement.BlockManager: shouldCheckForEnoughRacks  = false
14/03/24 20:29:55 INFO blockmanagement.BlockManager: replicationRecheckInterval = 3000
14/03/24 20:29:55 INFO blockmanagement.BlockManager: encryptDataTransfer        = false
14/03/24 20:29:55 INFO namenode.FSNamesystem: fsOwner             = root (auth:SIMPLE)
14/03/24 20:29:55 INFO namenode.FSNamesystem: supergroup          = supergroup
14/03/24 20:29:55 INFO namenode.FSNamesystem: isPermissionEnabled = true
14/03/24 20:29:55 INFO namenode.FSNamesystem: HA Enabled: false
14/03/24 20:29:55 INFO namenode.FSNamesystem: Append Enabled: true
14/03/24 20:29:55 INFO util.GSet: Computing capacity for map INodeMap
14/03/24 20:29:55 INFO util.GSet: VM type       = 64-bit
14/03/24 20:29:55 INFO util.GSet: 1.0% max memory = 889 MB
14/03/24 20:29:55 INFO util.GSet: capacity      = 2^20 = 1048576 entries
14/03/24 20:29:55 INFO namenode.NameNode: Caching file names occuring more than 10 times
14/03/24 20:29:55 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033
14/03/24 20:29:55 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 0
14/03/24 20:29:55 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension     = 30000
14/03/24 20:29:55 INFO namenode.FSNamesystem: Retry cache on namenode is enabled
14/03/24 20:29:55 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis
14/03/24 20:29:55 INFO util.GSet: Computing capacity for map Namenode Retry Cache
14/03/24 20:29:55 INFO util.GSet: VM type       = 64-bit
14/03/24 20:29:55 INFO util.GSet: 0.029999999329447746% max memory = 889 MB
14/03/24 20:29:55 INFO util.GSet: capacity      = 2^15 = 32768 entries
Re-format filesystem in Storage Directory /app/hadoop/tmp/dfs/name ? (Y or N) y
14/03/24 20:30:01 INFO common.Storage: Storage directory /app/hadoop/tmp/dfs/name has been successfully formatted.
14/03/24 20:30:01 INFO namenode.FSImage: Saving image file /app/hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 using no compression
14/03/24 20:30:01 INFO namenode.FSImage: Image file /app/hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 of size 196 bytes saved in 0 seconds.
14/03/24 20:30:01 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0
14/03/24 20:30:01 INFO util.ExitUtil: Exiting with status 0
14/03/24 20:30:01 INFO namenode.NameNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at sandesh-Inspiron-1564/127.0.1.1
************************************************************/

Now this is the error when I'm executing the command ./start-all.sh

hduser@sandesh-Inspiron-1564:~/hadoop$ ./sbin/start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
14/03/24 20:34:57 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hduser/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
localhost]
sed: -e expression #1, char 6: unknown option to `s'
Java: ssh: Could not resolve hostname Java: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
loaded: ssh: Could not resolve hostname loaded: Name or service not known
-c: Unknown cipher type 'cd'
The: ssh: Could not resolve hostname The: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
You: ssh: Could not resolve hostname You: Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
',: ssh: Could not resolve hostname ',: Name or service not known
localhost: starting namenode, logging to /home/hduser/hadoop/logs/hadoop-hduser-namenode-sandesh-Inspiron-1564.out
to: ssh: connect to host to port 22: Connection refused
warning:: ssh: Could not resolve hostname warning:: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
localhost: starting datanode, logging to /home/hduser/hadoop/logs/hadoop-hduser-datanode-sandesh-Inspiron-1564.out
Starting secondary namenodes [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hduser/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
0.0.0.0]
sed: -e expression #1, char 6: unknown option to `s'
-c: Unknown cipher type 'cd'
Java: ssh: Could not resolve hostname Java: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
You: ssh: Could not resolve hostname You: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
ECDSA key fingerprint is 89:fb:3d:98:2c:6d:03:c1:a3:de:96:3b:39:bc:ca:b3.
Are you sure you want to continue connecting (yes/no)? loaded: ssh: Could not resolve hostname loaded: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
The: ssh: Could not resolve hostname The: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
',: ssh: Could not resolve hostname ',: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
to: ssh: connect to host to port 22: Connection refused

OUTPUT FOR ./start-dfs.sh

hduser@sandesh-Inspiron-1564:~/hadoop$ ./sbin/start-dfs.sh
14/03/24 20:57:53 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hduser/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
localhost]
sed: -e expression #1, char 6: unknown option to `s'
-c: Unknown cipher type 'cd'
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
',: ssh: Could not resolve hostname ',: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
The: ssh: Could not resolve hostname The: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
You: ssh: Could not resolve hostname You: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
localhost: starting namenode, logging to /home/hduser/hadoop/logs/hadoop-hduser-namenode-sandesh-Inspiron-1564.out
to: ssh: connect to host to port 22: Connection refused
loaded: ssh: Could not resolve hostname loaded: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
Java: ssh: Could not resolve hostname Java: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
localhost: starting datanode, logging to /home/hduser/hadoop/logs/hadoop-hduser-datanode-sandesh-Inspiron-1564.out

This output is for ./start-yarn.sh

hduser@sandesh-Inspiron-1564:~/hadoop$ ./sbin/start-yarn.sh
starting yarn daemons
resourcemanager running as process 16118. Stop it first.
localhost: nodemanager running as process 16238. Stop it first.