Quantcast
Channel: Ubuntu Forums
Viewing all 82528 articles
Browse latest View live

Can you deliberately slow down your computer?

$
0
0
Hi,

Is it possible to easily change the effort of the CPU when I want to watch YouTube? My issue is that the fan speeds up considerably when I watch high resolution videos but I'm happy to watch lower resolution which keeps the CPU fan quiet but sometimes it is like going fast then slow in a alternating pattern. This is annoying.

On a side note does anyone know if you can do this in the windows ten?

Install Ubuntu 18.04 on a 64gb Sandisk micro sd card

$
0
0
Hello,

I am an absolute beginner in installing Ubuntu. I want to install Ubuntu 18.04 LTS (newest version) on a 64GB Sandisk Micro Sd card. I want to achieve this, by using a live version of Ubuntu on another USB drive. I have searched various threads and I couldn't understand half of it. I am having a Lenovo Z50-70 laptop and I want to run ubuntu in a HP Pavillion with a ssd. Please help me in guiding with a step-by-step procedure.

Using bcache on existing raid 10.

$
0
0
I have an existing raid 10 setup /dev/md0 mounted on /storage

Would I be able to add an ssd and use bcache with it without deleting any data?

I'm not currently using LVM

How to install Steam in Linux Mint?

$
0
0
I'm using Linux Mint 19.1 (Tessa), based on Ubuntu.
So far the only lead I have is a couple of Nvidia driver installation errors. However, other than the Steam issue, and the Nvidia settings app not showing up, the driver seems to be used by the system successfully. I was able to output a movie file with Blender. I ran OBS too. But ultimately, Steam won't run (although it seems installed)
Here is some relevant data:


Code:

sudo apt install steam
    Reading package lists... Done
    Building dependency tree     
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      libnvidia-common-390 libnvidia-common-396 libnvidia-common-410
      libnvidia-common-415 libwayland-client0:i386 libwayland-server0:i386
      screen-resolution-extra
    Use 'sudo apt autoremove' to remove them.
    Suggested packages:
      steam-devices:i386
    Recommended packages:
      libxss1:i386 nvidia-driver-libs-i386:i386
    The following NEW packages will be installed:
      steam:i386
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/1,311 kB of archives.
    After this operation, 4,106 kB of additional disk space will be used.
    Preconfiguring packages ...
    Selecting previously unselected package steam:i386.
    (Reading database ... 289208 files and directories currently installed.)
    Preparing to unpack .../steam_1%3a1.0.0.54+repack-5ubuntu1_i386.deb ...
    Unpacking steam:i386 (1:1.0.0.54+repack-5ubuntu1) ...
    Processing triggers for mime-support (3.60ubuntu1) ...
    Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
    Setting up steam:i386 (1:1.0.0.54+repack-5ubuntu1) ...
    Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    drpeppercan@Nitro:~$ steam
    ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
    [2019-03-31 16:02:27] Startup - updater built Nov 23 2016 01:05:42
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    SteamUpdateUI: An X Error occurred
    X Error of failed request:  BadValue (integer parameter out of range for operation)

-----------------------------------------------

Code:

inxi -v2
    System:    Host: Nitro Kernel: 4.15.0-46-generic x86_64 bits: 64 Desktop: Cinnamon 4.0.10
              Distro: Linux Mint 19.1 Tessa
    Machine:  Type: Desktop Mobo: Acer model: Nitro N50-600 v: V:1.1 serial: <root required>
              UEFI: American Megatrends v: R01-A3 date: 05/16/2018
    CPU:      6-Core: Intel Core i7-8700 type: MT MCP speed: 800 MHz min/max: 800/4600 MHz

-----------------------------------------------

Code:

glxinfo | grep renderer
    OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
    drpeppercan@Nitro:~/Documents$ glxinfo | grep OpenGL
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
    OpenGL core profile version string: 4.6.0 NVIDIA 418.56
    OpenGL core profile shading language version string: 4.60 NVIDIA
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 4.6.0 NVIDIA 418.56
    OpenGL shading language version string: 4.60 NVIDIA
    OpenGL context flags: (none)
    OpenGL profile mask: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 418.56
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
    OpenGL ES profile extensions:
    drpeppercan@Nitro:~/Documents$ nvidia-smi
    Sun Mar 31 20:30:15 2019     
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 418.56      Driver Version: 418.56      CUDA Version: 10.1    |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |  0  GeForce GTX 106...  Off  | 00000000:01:00.0  On |                  N/A |
    | 40%  39C    P0    27W / 120W |    395MiB /  6075MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
                                                                                 
    +-----------------------------------------------------------------------------+
    | Processes:                                                      GPU Memory |
    |  GPU      PID  Type  Process name                            Usage      |
    |=============================================================================|
    |    0      1298      G  /usr/lib/xorg/Xorg                          158MiB |
    |    0      1797      G  cinnamon                                      73MiB |
    |    0    13428      G  bin/shotcut                                  16MiB |
    |    0    16868      G  /usr/lib/nemo-preview/nemo-preview-start      8MiB |
    |    0    17241      G  ...quest-channel-token=6126019085776133848  136MiB |
    +-----------------------------------------------------------------------------+

-----------------------------------------------

Code:

drpeppercan@Nitro:~/Documents$ sudo nvidia-settings
    [sudo] password for drpeppercan:       
    sudo: nvidia-settings: command not found

-----------------------------------------------

Code:

apt search nvidia-driver
    p  nvidia-driver-390                      - NVIDIA driver metapackage                       
    p  nvidia-driver-390:i386                - NVIDIA driver metapackage                       
    p  nvidia-driver-396                      - NVIDIA driver metapackage                       
    p  nvidia-driver-396:i386                - NVIDIA driver metapackage                       
    p  nvidia-driver-410                      - NVIDIA driver metapackage                       
    p  nvidia-driver-410:i386                - NVIDIA driver metapackage                       
    p  nvidia-driver-415                      - NVIDIA driver metapackage                       
    p  nvidia-driver-415:i386                - NVIDIA driver metapackage                       
    i  nvidia-driver-418                      - NVIDIA driver metapackage                       
    v  nvidia-driver-binary                  -                                                 
    v  nvidia-driver-binary:i386

-----------------------------------------------

Code:

apt-cache search nvidia-driver
    nvidia-304 - NVIDIA legacy binary driver - version 304.137
    nvidia-340 - NVIDIA binary driver - version 340.107
    nvidia-384-dev - Transitional package for nvidia-driver-390
    nvidia-384 - Transitional package for nvidia-driver-390
    nvidia-387-dev - Transitional package for nvidia-driver-390
    nvidia-387 - Transitional package for nvidia-driver-390
    nvidia-390-dev - Transitional package for nvidia-driver-390
    nvidia-390 - Transitional package for nvidia-driver-390
    nvidia-driver-390 - NVIDIA driver metapackage
    xserver-xorg-video-nvidia-390 - NVIDIA binary Xorg driver
    nvidia-driver-396 - NVIDIA driver metapackage
    xserver-xorg-video-nvidia-396 - NVIDIA binary Xorg driver
    nvidia-headless-390 - NVIDIA headless metapackage
    nvidia-headless-no-dkms-390 - NVIDIA headless metapackage - no DKMS
    nvidia-headless-396 - NVIDIA headless metapackage
    nvidia-headless-no-dkms-396 - NVIDIA headless metapackage - no DKMS
    nvidia-driver-410 - NVIDIA driver metapackage
    nvidia-headless-410 - NVIDIA headless metapackage
    nvidia-headless-no-dkms-410 - NVIDIA headless metapackage - no DKMS
    xserver-xorg-video-nvidia-410 - NVIDIA binary Xorg driver
    nvidia-driver-415 - NVIDIA driver metapackage
    nvidia-headless-415 - NVIDIA headless metapackage
    nvidia-headless-no-dkms-415 - NVIDIA headless metapackage - no DKMS
    xserver-xorg-video-nvidia-415 - NVIDIA binary Xorg driver
    nvidia-driver-418 - NVIDIA driver metapackage
    nvidia-headless-418 - NVIDIA headless metapackage
    nvidia-headless-no-dkms-418 - NVIDIA headless metapackage - no DKMS
    xserver-xorg-video-nvidia-418 - NVIDIA binary Xorg driver

[ubuntu] fail2ban config to block attacks on magento payflow endpoint

$
0
0
Hi,


This is regarding the stopping DDoS attack on Magento payment gateway reported here:
https://support.magento.com/hc/en-us...rding-activity

I am trying to create the Fail2Ban rules to rate-limit the access to "/paypal/transparent/requestSecureToken/" url.

Here are a few rules I tried but nothing works:
fail2ban-regex.txt (Sorry, Forum doesn't allow to add the code inline due to its nature so attaching it as .txt a file)


Here are a few lines from my apache access log:
apache-log.txt


Can anyone please suggest the correct Regex? This will help thousands of Magento websites to prevent the hack.

Someone posted the solution here but it doesn't work for me because of the different apache log format:
https://gist.github.com/digitalengin...198e1b0333219b
Attached Files

[ubuntu] Ubuntu Dual-Boot w/Windows 10, not loading after installation.

$
0
0
Apologies if I do not give enough details with my issue, i've never played around with Ubuntu before.

First of all, through many failed attempts, i was unable to get the Ubuntu installer to detect that windows was already installed.
Eventually i gave up on trying to get this to work, so i created my own partitions (Swap, EFI and Boot) and ran the installer through the 'something else' option.
Everything installed correctly after about 10 minutes and then it asked to restart the PC, after doing so however i have been unable to access Ubuntu at all, i've played around with boot options but haven't found any other solutions to try and fix this.

Windows 10 is 64-bit, as is Ubuntu. I installed Ubuntu through a USB drive, and the BIOS is MSI which is running in 'LEGACY+BIOS' mode in the boot settings. If you need any other details just let me know as i'm not too sure what else to say.

Thanks

Raid5-array not assembled and mounted at boot, 8.04

$
0
0
Hi!

I have a brand new installation of Ubuntu 8.04, where I was planning on having a raid5-array of 3 harddrives.

I've installed mdadm and followed the instructions here:

https://www.digitalocean.com/communi...n-ubuntu-18-04

My problem is that the volume is not assembled nor mounted at boot - I need to reassemble it for every boot. Data is there, though. So what might be wrong or missing?

My mdadm.conf:

Code:

# mdadm.conf
#
# !NB! Run update-initramfs -u after updating this file.
# !NB! This will ensure that initramfs has an uptodate copy.
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR magnus@vista.se

# definitions of existing MD arrays

# This configuration was auto-generated on Mon, 25 Mar 2019 20:49:25 +0100 by mkconf
# ARRAY /dev/md0 metadata=1.2 name=vista7:0 UUID=6d20fdd7:0573e9a0:e0f98827:21f9f386
ARRAY /dev/md0 metadata=1.2 spares=1 name=vista7:0 UUID=b0fafa8f:75bb659b:46dc7fd8:0a98161a

My fstab:

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=519f7548-b1ef-4d24-8976-29d953096af0 /              ext4    errors=remount-ro 0      1
# /boot/efi was on /dev/sda1 during installation
#UUID=0C8A-0ADA  /boot/efi      vfat    umask=0077      0      1
# /home was on /dev/sda4 during installation
UUID=50c68cb0-7766-48db-aee4-598d41cb6e13 /home          ext4    defaults        0      2
# swap was on /dev/sda3 during installation
UUID=3ea4d33e-7b88-492c-8e54-35245eab84ef none            swap    sw              0      0
/dev/sde1        /home/magnus/astro_1GB        ext4        defaults        0        0
UUID=0C8A-0ADA        /boot/efi        vfat        defaults        0        1
# /dev/md0 /mnt/md0 ext4 defaults,nofail,discard 0 0
/dev/md0 /home/magnus/astro_raid ext4 defaults,nofail,discard 0 0

I did run $ sudo update-initramfs -u

I find no error msgs or similar, nothing linked to mdadm, when running dmesg after boot. SO what am I missing here?

Magnus

No touchpad settings

$
0
0
I decided to try and use XFCE with Ubuntu. When I first started using it, the trackpad wasn't working correctly. I couldn't tap-to-click. I did some research and followed some instructions, a few different ones, one installed something and a different one messed around with grub. Touchpad problem got solved but another problem got introduced, which got me to go back to GNOME and uninstall XFCE: my touchpad works terribly, very bad now. The settings app has no touchpad settings, only mouse. I can't drag with two fingers on Ubuntu anymore, I have to use the sidebar. I can't use two fingers to right-click. Can't do anything besides regular clicking Not even Dconf Editor was able to help me solve this problem. I think there may be something else controlling the touchpad, some other app that I might have installed when trying to solve my first problem. Which then would allow tap-to-click to work but doesn't allow the rest now, causing me the problem. Any help would be welcome. If this is of any help, I have a Dell Inspiron 13, 7000 Series laptop.

No Flash Player?

$
0
0
As entitled. Running Google Chrome. Adobe Flash Player grayed out.

[ubuntu] NetworkManager under 14.04.06 not finding Amped AP20000G after update

$
0
0
I ran the software update for Ubuntu 14.04.06 on 31March2019, then was unable to reconnect to my AP20000G Amped Wireless point after reboot.

The result of the pastebinit check should be attached.

Using other local devices I can connect to my wireless system, but not from the laptop.

Thank you for any suggestions.
-Graybearded1
Attached Files

Shared Printing: Win7 as Server, Linux Mint as Client

$
0
0
Despite I have a somewhat sideways distro from Ubuntu, it seems that the problem is not restricted to even Ubuntus, so I will be glad to have any responses here...

There are two computers in my LAN: Windows 7 Ultimate workstation with physically connected printer and Mint 19 laptop. The workstation is Ethernet-connected to a router with an internet connection; the laptop is connected to the router through Wi-Fi.

I could establish bi-directional file sharing between computers by trial-and-error with help of some google results (namely, I had created a shared folder on Win7 and had successfully accessed it from Linux; then vice-versa).

Then goes the problem. The printer is set up as SHARED on Win7 machine, I can see it from Linux, but cannot make it to print anything. As for now, I discovered the following:

Code:

$ smbclient -L 192.168.0.100
WARNING: The "null passwords" option is deprecated
Enter LOCAL\kotee's password:

    Sharename      Type      Comment
    ---------      ----      -------
    ADMIN$          Disk      Удаленный Admin
    C$              Disk      Стандартный общий ресурс
    D$              Disk      Стандартный общий ресурс
    F$              Disk      Стандартный общий ресурс
    H$              Disk      Стандартный общий ресурс
    hp1516          Printer  hp1516
    IPC$            IPC      Удаленный IPC
    print$          Disk      Драйверы принтеров
    Public          Disk     
    Users          Disk     
SMB1 disabled -- no workgroup available

Code:

$ smbtree -d10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
Processing section "[global]"
doing parameter browseable = yes
doing parameter workgroup = local
doing parameter null passwords = yes
WARNING: The "null passwords" option is deprecated
doing parameter wins support = true
doing parameter local master = no
doing parameter domain master = no
doing parameter preferred master = no
doing parameter client min protocol = SMB2
doing parameter ntlm auth = no
doing parameter lanman auth = yes
doing parameter client ntlmv2 auth = yes
doing parameter server string = SOSAMBA
doing parameter load printers = yes
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter use client driver = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter server role = standalone server
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = Bad Password
doing parameter usershare allow guests = yes
doing parameter usershare owner only = no
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter guest ok = yes
doing parameter guest account = kotee
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface wlp4s0 ip=192.168.0.102 bcast=192.168.0.255 netmask=255.255.255.0
internal_resolve_name: looking up LOCAL#1d (sitename (null))
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Отказано в доступе
gencache_init: Opening cache file /var/cache/samba/gencache.tdb read-only.
Opening cache file at /var/run/samba/gencache_notrans.tdb
Adding cache entry with key=[NBT/LOCAL#1D] and timeout=[Чт янв  1 03:00:00 1970 MSK] (-1554142136 seconds in the past)
no entry for LOCAL#1D found.
resolve_lmhosts: Attempting lmhosts lookup for name LOCAL<0x1d>
getlmhostsent: lmhost entry: 192.168.0.100 ANTON-PC
getlmhostsent: lmhost entry: 192.168.0.102 FUKMASHINA
resolve_hosts: not appropriate for name type <0x1d>
name_resolve_bcast: Attempting broadcast lookup for name LOCAL<0x1d>
parse_nmb: packet id = 28872
nmb packet from 192.168.0.100(35072) header: id=28872 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=LOCAL<1d> rr_type=32 rr_class=1 ttl=300000
    answers  0 char .....d  hex 0000C0A80064
Got a positive name query response from 192.168.0.100 ( 192.168.0.100 )
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for LOCAL#1d: 192.168.0.100
Adding cache entry with key=[NBT/LOCAL#1D] and timeout=[Пн апр  1 21:19:56 2019 MSK] (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.0.100:0
Connecting to 192.168.0.100 at port 445
Socket options:
    SO_KEEPALIVE = 0
    SO_REUSEADDR = 0
    SO_BROADCAST = 0
    TCP_NODELAY = 1
    TCP_KEEPCNT = 9
    TCP_KEEPIDLE = 7200
    TCP_KEEPINTVL = 75
    IPTOS_LOWDELAY = 0
    IPTOS_THROUGHPUT = 0
    SO_REUSEPORT = 0
    SO_SNDBUF = 87040
    SO_RCVBUF = 372480
    SO_SNDLOWAT = 1
    SO_RCVLOWAT = 1
    SO_SNDTIMEO = 0
    SO_RCVTIMEO = 0
    TCP_QUICKACK = 1
    TCP_DEFER_ACCEPT = 0
name_status_find: looking up *#00 at 192.168.0.100
Adding cache entry with key=[NBT/*#00.00.192.168.0.100] and timeout=[Чт янв  1 03:00:00 1970 MSK] (-1554142136 seconds in the past)
namecache_status_fetch: no entry for NBT/*#00.00.192.168.0.100 found.
getlmhostsent: lmhost entry: 192.168.0.100 ANTON-PC
getlmhostsent: lmhost entry: 192.168.0.102 FUKMASHINA
parse_nmb: packet id = 6380
nmb packet from 192.168.0.100(35072) header: id=6380 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0
    answers  0 char .ANTON-PC          hex 06414E544F4E2D504320202020202020
    answers  10 char ...LOCAL          hex 0004004C4F43414C2020202020202020
    answers  20 char  ...ANTON-PC      hex 2020008400414E544F4E2D5043202020
    answers  30 char      ..LOCAL      hex 202020202004004C4F43414C20202020
    answers  40 char      ...LOCAL    hex 2020202020201E84004C4F43414C2020
    answers  50 char        .....__M  hex 20202020202020201D040001025F5F4D
    answers  60 char SBROWSE__.......  hex 5342524F5753455F5F02018400001FD0
    answers  70 char U#}.............  hex 55237D00000000000000000000000000
    answers  80 char ................  hex 00000000000000000000000000000000
    answers  90 char ...........  hex 0000000000000000000000
ANTON-PC#00: flags = 0x04
LOCAL#00: flags = 0x84
ANTON-PC#20: flags = 0x04
LOCAL#1e: flags = 0x84
LOCAL#1d: flags = 0x04
__MSBROWSE__#01: flags = 0x84
Adding cache entry with key=[NBT/*#00.00.192.168.0.100] and timeout=[Пн апр  1 21:19:56 2019 MSK] (660 seconds ahead)
namecache_status_store: entry NBT/*#00.00.192.168.0.100 store failed.
name_status_find: name found, name ANTON-PC ip address is 192.168.0.100
Connecting to 192.168.0.100 at port 445
Socket options:
    SO_KEEPALIVE = 0
    SO_REUSEADDR = 0
    SO_BROADCAST = 0
    TCP_NODELAY = 1
    TCP_KEEPCNT = 9
    TCP_KEEPIDLE = 7200
    TCP_KEEPINTVL = 75
    IPTOS_LOWDELAY = 0
    IPTOS_THROUGHPUT = 0
    SO_REUSEPORT = 0
    SO_SNDBUF = 87040
    SO_RCVBUF = 372480
    SO_SNDLOWAT = 1
    SO_RCVLOWAT = 1
    SO_SNDTIMEO = 0
    SO_RCVTIMEO = 0
    TCP_QUICKACK = 1
    TCP_DEFER_ACCEPT = 0

/etc/samba/smb.conf
Code:

[global]
    browseable = yes
    workgroup = local
    null passwords = yes
    wins support = true
    local master = no
    domain master = no
    preferred master = no
    client min protocol = SMB2
    ntlm auth = no
    lanman auth = yes
    client ntlmv2 auth = yes
    server string = XXXXXXXXX
    load printers = yes
    printing = cups
    printcap name = cups
    use client driver = yes
    log file = /var/log/samba/log.%m
    max log size = 1000
    panic action = /usr/share/samba/panic-action %d
    server role = standalone server
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    pam password change = yes
    map to guest = Bad Password
    usershare allow guests = yes
    usershare owner only = no
    security = user
    encrypt passwords = yes
    guest ok = yes
    guest account = kotee
   
[printers]
    comment = All Printers
;    browseable = yes
    path = /tmp
    printable = yes
    guest ok = yes
;    read only = yes
    create mask = 0700
    use client driver = yes

[temp]
    browseable = yes
    writeable = yes
    path = /home/kotee/tmp
    force user = kotee
    force group = kotee
    guest ok = yes

[print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
;    browseable = yes
;    read only = yes
;    guest ok = no

/etc/cups/printers.conf
Code:

<DefaultPrinter hp1516>
UUID urn:uuid:c6754b09-0da3-31a3-6e5e-62b142083801
AuthInfoRequired username,password
Info HP Deskjet 1510
MakeModel HP Deskjet 1510 Series hpijs, 3.17.10
DeviceURI smb://Guest@192.168.0.100/hp1516
State Idle
StateTime 1554135072
ConfigTime 1554124735
Type 8425484
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</DefaultPrinter>

/etc/cups/cupsd.conf is default

I use this command to make a test print through terminal:
Code:

$ echo -en "asdfg\n" | smbclient "\\\\192.168.0.100\\hp1516" -c "print -" -N -U "Guest" -W LOCAL -d10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
Processing section "[global]"
doing parameter browseable = yes
doing parameter workgroup = local
doing parameter null passwords = yes
WARNING: The "null passwords" option is deprecated
doing parameter wins support = true
doing parameter local master = no
doing parameter domain master = no
doing parameter preferred master = no
doing parameter client min protocol = SMB2
doing parameter ntlm auth = no
doing parameter lanman auth = yes
doing parameter client ntlmv2 auth = yes
doing parameter server string = XXXXXXXX
doing parameter load printers = yes
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter use client driver = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter server role = standalone server
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = Bad Password
doing parameter usershare allow guests = yes
doing parameter usershare owner only = no
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter guest ok = yes
doing parameter guest account = kotee
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface wlp4s0 ip=192.168.0.102 bcast=192.168.0.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="XXXXXXXX"
Client started (version 4.7.6-Ubuntu).
Connecting to 192.168.0.100 at port 445
Socket options:
    SO_KEEPALIVE = 0
    SO_REUSEADDR = 0
    SO_BROADCAST = 0
    TCP_NODELAY = 1
    TCP_KEEPCNT = 9
    TCP_KEEPIDLE = 7200
    TCP_KEEPINTVL = 75
    IPTOS_LOWDELAY = 0
    IPTOS_THROUGHPUT = 0
    SO_REUSEPORT = 0
    SO_SNDBUF = 87040
    SO_RCVBUF = 372480
    SO_SNDLOWAT = 1
    SO_RCVLOWAT = 1
    SO_SNDTIMEO = 0
    SO_RCVTIMEO = 0
    TCP_QUICKACK = 1
    TCP_DEFER_ACCEPT = 0
 session request ok
 negotiated dialect[SMB2_10] against server[192.168.0.100]
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.3.6.1.4.1.311.2.2.10
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Starting GENSEC mechanism spnego
Starting GENSEC submechanism ntlmssp
    negotiate: struct NEGOTIATE_MESSAGE
        Signature                : 'NTLMSSP'
        MessageType              : NtLmNegotiate (1)
        NegotiateFlags          : 0x62088215 (1644724757)
              1: NTLMSSP_NEGOTIATE_UNICODE
              0: NTLMSSP_NEGOTIATE_OEM   
              1: NTLMSSP_REQUEST_TARGET 
              1: NTLMSSP_NEGOTIATE_SIGN 
              0: NTLMSSP_NEGOTIATE_SEAL 
              0: NTLMSSP_NEGOTIATE_DATAGRAM
              0: NTLMSSP_NEGOTIATE_LM_KEY
              0: NTLMSSP_NEGOTIATE_NETWARE
              1: NTLMSSP_NEGOTIATE_NTLM 
              0: NTLMSSP_NEGOTIATE_NT_ONLY
              0: NTLMSSP_ANONYMOUS       
              0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
              0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
              0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
              1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
              0: NTLMSSP_TARGET_TYPE_DOMAIN
              0: NTLMSSP_TARGET_TYPE_SERVER
              0: NTLMSSP_TARGET_TYPE_SHARE
              1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
              0: NTLMSSP_NEGOTIATE_IDENTIFY
              0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
              0: NTLMSSP_NEGOTIATE_TARGET_INFO
              1: NTLMSSP_NEGOTIATE_VERSION
              1: NTLMSSP_NEGOTIATE_128   
              1: NTLMSSP_NEGOTIATE_KEY_EXCH
              0: NTLMSSP_NEGOTIATE_56   
        DomainNameLen            : 0x0000 (0)
        DomainNameMaxLen        : 0x0000 (0)
        DomainName              : *
            DomainName              : ''
        WorkstationLen          : 0x0000 (0)
        WorkstationMaxLen        : 0x0000 (0)
        Workstation              : *
            Workstation              : ''
        Version: struct ntlmssp_VERSION
            ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
            ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
            ProductBuild            : 0x0000 (0)
            Reserved: ARRAY(3)
                [0]                      : 0x00 (0)
                [1]                      : 0x00 (0)
                [2]                      : 0x00 (0)
            NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (15)
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_TARGET_TYPE_SERVER
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_TARGET_INFO
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62008215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
SPNEGO login failed: The attempted logon is invalid. This is either due to a bad username or authentication information.
session setup failed: NT_STATUS_LOGON_FAILURE

Another command without specifying an username
Code:

$ echo -en "asdfg\n" | smbclient "\\\\192.168.0.100\\hp1516" -c "print -" -N -d10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
Processing section "[global]"
doing parameter browseable = yes
doing parameter workgroup = local
doing parameter null passwords = yes
WARNING: The "null passwords" option is deprecated
doing parameter wins support = true
doing parameter local master = no
doing parameter domain master = no
doing parameter preferred master = no
doing parameter client min protocol = SMB2
doing parameter ntlm auth = no
doing parameter lanman auth = yes
doing parameter client ntlmv2 auth = yes
doing parameter server string = XXXXXX
doing parameter load printers = yes
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter use client driver = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter server role = standalone server
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = Bad Password
doing parameter usershare allow guests = yes
doing parameter usershare owner only = no
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter guest ok = yes
doing parameter guest account = kotee
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface wlp4s0 ip=192.168.0.102 bcast=192.168.0.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="XXXXXXXXXX"
Client started (version 4.7.6-Ubuntu).
Connecting to 192.168.0.100 at port 445
Socket options:
    SO_KEEPALIVE = 0
    SO_REUSEADDR = 0
    SO_BROADCAST = 0
    TCP_NODELAY = 1
    TCP_KEEPCNT = 9
    TCP_KEEPIDLE = 7200
    TCP_KEEPINTVL = 75
    IPTOS_LOWDELAY = 0
    IPTOS_THROUGHPUT = 0
    SO_REUSEPORT = 0
    SO_SNDBUF = 87040
    SO_RCVBUF = 372480
    SO_SNDLOWAT = 1
    SO_RCVLOWAT = 1
    SO_SNDTIMEO = 0
    SO_RCVTIMEO = 0
    TCP_QUICKACK = 1
    TCP_DEFER_ACCEPT = 0
 session request ok
 negotiated dialect[SMB2_10] against server[192.168.0.100]
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.3.6.1.4.1.311.2.2.10
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Starting GENSEC mechanism spnego
Starting GENSEC submechanism ntlmssp
    negotiate: struct NEGOTIATE_MESSAGE
        Signature                : 'NTLMSSP'
        MessageType              : NtLmNegotiate (1)
        NegotiateFlags          : 0x62088215 (1644724757)
              1: NTLMSSP_NEGOTIATE_UNICODE
              0: NTLMSSP_NEGOTIATE_OEM   
              1: NTLMSSP_REQUEST_TARGET 
              1: NTLMSSP_NEGOTIATE_SIGN 
              0: NTLMSSP_NEGOTIATE_SEAL 
              0: NTLMSSP_NEGOTIATE_DATAGRAM
              0: NTLMSSP_NEGOTIATE_LM_KEY
              0: NTLMSSP_NEGOTIATE_NETWARE
              1: NTLMSSP_NEGOTIATE_NTLM 
              0: NTLMSSP_NEGOTIATE_NT_ONLY
              0: NTLMSSP_ANONYMOUS       
              0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
              0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
              0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
              1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
              0: NTLMSSP_TARGET_TYPE_DOMAIN
              0: NTLMSSP_TARGET_TYPE_SERVER
              0: NTLMSSP_TARGET_TYPE_SHARE
              1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
              0: NTLMSSP_NEGOTIATE_IDENTIFY
              0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
              0: NTLMSSP_NEGOTIATE_TARGET_INFO
              1: NTLMSSP_NEGOTIATE_VERSION
              1: NTLMSSP_NEGOTIATE_128   
              1: NTLMSSP_NEGOTIATE_KEY_EXCH
              0: NTLMSSP_NEGOTIATE_56   
        DomainNameLen            : 0x0000 (0)
        DomainNameMaxLen        : 0x0000 (0)
        DomainName              : *
            DomainName              : ''
        WorkstationLen          : 0x0000 (0)
        WorkstationMaxLen        : 0x0000 (0)
        Workstation              : *
            Workstation              : ''
        Version: struct ntlmssp_VERSION
            ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
            ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
            ProductBuild            : 0x0000 (0)
            Reserved: ARRAY(3)
                [0]                      : 0x00 (0)
                [1]                      : 0x00 (0)
                [2]                      : 0x00 (0)
            NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (15)
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_TARGET_TYPE_SERVER
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_TARGET_INFO
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62008215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
 session setup ok
 tconx ok
map_open_params_to_ntcreate: fname = stdin-7154, deny_mode = 0x42, open_func = 0x12
map_open_params_to_ntcreate: file stdin-7154, access_mask = 0x12019f, share_mode = 0x3, create_disposition = 0x5, create_options = 0x40 private_flags = 0x0
NT_STATUS_ACCESS_DENIED opening remote file stdin-7154

When I press the button `Print Test Page' in system-config-printer it asks for username and password and no known combination of these do not have any effect --- it continues asking all the time. As soon as I press Cancel then, my Test Page in printer queue is `Held for authentification' and in printer properties NT_STATUS_ACCESS_DENIED is displayed.

Logs:
/var/log/samba/log.smbd
Code:

... (only those lines)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2019/04/01 17:25:05.324671,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2019/04/01 18:03:11.886409,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections

/var/log/samba/log.nmbd
Code:

... (same lines)
[2019/04/01 18:03:14.227989,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2019/04/01 18:03:14.309438,  0] ../source3/nmbd/asyncdns.c:158(start_async_dns)
  started asyncdns process 4299
[2019/04/01 18:03:14.315341,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections

/var/log/cups/error_log
Code:

E [01/Apr/2019:00:09:15 +0300] [Job 74] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:00:09:29 +0300] [Job 74] Session setup failed: NT_STATUS_LOGON_FAILURE
E [01/Apr/2019:00:09:29 +0300] [Job 74] Session setup failed: NT_STATUS_ACCESS_DENIED
E [01/Apr/2019:00:09:29 +0300] [Job 74] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:00:12:20 +0300] [Job 75] Session setup failed: NT_STATUS_LOGON_FAILURE
E [01/Apr/2019:00:12:20 +0300] [Job 75] Session setup failed: NT_STATUS_ACCESS_DENIED
...........
E [01/Apr/2019:16:27:12 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:16:30:09 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:16:30:14 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:16:30:19 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:16:30:24 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page
E [01/Apr/2019:16:30:35 +0300] [Job 107] NT_STATUS_ACCESS_DENIED opening remote spool Test Page

Switching ufw dows not change anything. On Windows side Guest account is active and Password Protected Sharing is disabled. Printer permissions are set for Guest and I can print under Guest account locally on that Win7 machine with no problem. LOCAL is the name of workgroup.

So, what am I really need to do to finally get that linux printing work? With Windows on laptop - no problems, linux file sharing - no problems, but no printing. At all.

Image three installs

$
0
0
Hi everyone, first post here.
I have four computers, one with Ubuntu with a custom kernel to work with some equipment and a set of applications. I would like to image the drive to the other three computers so I don’t have to compile everything again. I’m kinda embarrassed to say that I have never done this before and need some advice.

Can someone direct me in how to achieve this? Thank you.

[SOLVED] Lenovo legion y530 ubuntu/win10 no wifi adapter found

$
0
0
Hello,

I have installed ubuntu 18.04 to my preinstalled windows 10. Everything is fine on windows, but when I change to Ubuntu I cant reach internet (no wifi adapter found).

Tried commands from some of the topics like:
https://ubuntuforums.org/showthread.php?t=2415678

Below report which I get from your main post:

Thx for every help :)

Code:


########## wireless info START ##########
 
Report from: 01 Apr 2019 20:40 CEST +0200
 
Booted last: 01 Apr 2019 00:00 CEST +0200
 
Script from: 22 Oct 2018 03:34 UTC +0000
 
##### release ###########################
 
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:  bionic
 
##### kernel ############################
 
Linux 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
 
Parameters: ro, quiet, splash, vt.handoff=1
 
##### desktop ###########################
 
Ubuntu
 
##### lspci #############################
 
07:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)
    Subsystem: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:4210]
    Kernel driver in use: iwlwifi
 
08:00.0 Ethernet controller [0200]: Realtek  Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet  Controller [10ec:8168] (rev 15)
    Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38c2]
    Kernel driver in use: r8169
 
##### lsusb #############################
 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:7070 Lite-On Technology Corp.
Bus 001 Device 003: ID 145f:01d9 Trust
Bus 001 Device 008: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
Bus 001 Device 005: ID 8087:0a2a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
##### PCMCIA card info ##################
 
##### rfkill ############################
 
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: yes
2: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
 
##### secure boot #######################
 
SecureBoot disabled
 
##### lsmod #############################
 
intel_wmi_thunderbolt    16384  0
wmi_bmof              16384  0
iwlmvm                376832  0
mac80211              802816  1 iwlmvm
iwlwifi              299008  1 iwlmvm
mxm_wmi                16384  1 nouveau
cfg80211              667648  3 iwlmvm,iwlwifi,mac80211
ideapad_laptop        32768  0
sparse_keymap          16384  1 ideapad_laptop
wmi                    24576  5 intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop,mxm_wmi,nouveau
video                  45056  3 ideapad_laptop,i915,nouveau
 
##### interfaces ########################
 
[/etc/network/interfaces]
auto lo
iface lo inet loopback
 
##### ifconfig ##########################
 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
2: enp8s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether <MAC 'enp8s0' [IF1]> brd <MAC address>
4: wlp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether <MAC 'wlp7s0' [IF2]> brd <MAC address>
5: enp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether <MAC 'enp0s20f0u2' [IF3]> brd <MAC address>
    inet 192.168.42.199/24 brd 192.168.42.255 scope global dynamic noprefixroute enp0s20f0u2
      valid_lft 3288sec preferred_lft 3288sec
    inet6 fe80::aac4:aa19:35fd:fc00/64 scope link noprefixroute
      valid_lft forever preferred_lft forever
 
##### iwconfig ##########################
 
lo        no wireless extensions.
 
enp0s20f0u2  no wireless extensions.
 
enp8s0    no wireless extensions.
 
wlp7s0    IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated  Tx-Power=0 dBm 
          Retry short limit:7  RTS thr:off  Fragment thr:off
          Power Management:on
         
 
##### route #############################
 
default via 192.168.42.129 dev enp0s20f0u2 proto dhcp metric 100
169.254.0.0/16 dev enp0s20f0u2 scope link metric 1000
192.168.42.0/24 dev enp0s20f0u2 proto kernel scope link src 192.168.42.199 metric 100
 
##### resolv.conf #######################
 
[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']
 
nameserver 127.0.0.53
options edns0
 
##### network managers ##################
 
Installed:
 
    NetworkManager
 
Running:
 
root      948    1  0 20:34 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon
 
##### NetworkManager info ###############
 
GENERAL.DEVICE:                        enp0s20f0u2
GENERAL.TYPE:                          ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                        SAMSUNG
GENERAL.PRODUCT:                        SAMSUNG_Android
GENERAL.DRIVER:                        rndis_host
GENERAL.DRIVER-VERSION:                22-Aug-2005
GENERAL.FIRMWARE-VERSION:              RNDIS device
GENERAL.HWADDR:                        <MAC 'enp0s20f0u2' [IF3]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/net/enp0s20f0u2
GENERAL.IP-IFACE:                      enp0s20f0u2
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    Wired connection 1
GENERAL.CON-UUID:                      93801bf1-4d63-3b76-b4be-d9a8a01e217c
GENERAL.CON-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.METERED:                        yes (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIRED-PROPERTIES.CARRIER:              on
IP4.ADDRESS[1]:                        192.168.42.199/24
IP4.GATEWAY:                            192.168.42.129
IP4.ROUTE[1]:                          dst = 0.0.0.0/0, nh = 192.168.42.129, mt = 100
IP4.ROUTE[2]:                          dst = 192.168.42.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:                          dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                            192.168.42.129
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.42.129
DHCP4.OPTION[5]:                        ip_address = 192.168.42.199
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.42.129
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.42.255
DHCP4.OPTION[10]:                      requested_interface_mtu = 1
DHCP4.OPTION[11]:                      dhcp_rebinding_time = 3150
DHCP4.OPTION[12]:                      requested_domain_name_servers = 1
DHCP4.OPTION[13]:                      dhcp_message_type = 5
DHCP4.OPTION[14]:                      requested_broadcast_address = 1
DHCP4.OPTION[15]:                      routers = 192.168.42.129
DHCP4.OPTION[16]:                      dhcp_renewal_time = 1800
DHCP4.OPTION[17]:                      requested_domain_name = 1
DHCP4.OPTION[18]:                      requested_routers = 1
DHCP4.OPTION[19]:                      expiry = 1554147294
DHCP4.OPTION[20]:                      host_name = patryk-Lenovo-Legion-Y530-15ICH-1060
DHCP4.OPTION[21]:                      requested_netbios_scope = 1
DHCP4.OPTION[22]:                      requested_wpad = 1
DHCP4.OPTION[23]:                      requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                      requested_netbios_name_servers = 1
DHCP4.OPTION[25]:                      network_number = 192.168.42.0
DHCP4.OPTION[26]:                      requested_domain_search = 1
DHCP4.OPTION[27]:                      next_server = 192.168.42.129
DHCP4.OPTION[28]:                      requested_ntp_servers = 1
DHCP4.OPTION[29]:                      vendor_encapsulated_options = ANDROID_METERED
DHCP4.OPTION[30]:                      dhcp_lease_time = 3600
DHCP4.OPTION[31]:                      requested_host_name = 1
IP6.ADDRESS[1]:                        fe80::aac4:aa19:35fd:fc00/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                          dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                          dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                          dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  93801bf1-4d63-3b76-b4be-d9a8a01e217c | Wired connection 1
 
GENERAL.DEVICE:                        enp8s0
GENERAL.TYPE:                          ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER:                        r8169
GENERAL.DRIVER-VERSION:                2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:              --
GENERAL.HWADDR:                        <MAC 'enp8s0' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                        2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1d.5/0000:08:00.0/net/enp8s0
GENERAL.IP-IFACE:                      --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    --
GENERAL.CON-UUID:                      --
GENERAL.CON-PATH:                      --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIRED-PROPERTIES.CARRIER:              off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
 
GENERAL.DEVICE:                        wlp7s0
GENERAL.TYPE:                          wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                        Intel Corporation
GENERAL.PRODUCT:                        Dual Band Wireless-AC 3165 Plus Bluetooth
GENERAL.DRIVER:                        iwlwifi
GENERAL.DRIVER-VERSION:                4.18.0-16-generic
GENERAL.FIRMWARE-VERSION:              29.1044073957.0
GENERAL.HWADDR:                        <MAC 'wlp7s0' [IF2]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                        2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1d.4/0000:07:00.0/net/wlp7s0
GENERAL.IP-IFACE:                      --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    --
GENERAL.CON-UUID:                      --
GENERAL.CON-PATH:                      --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                  yes
WIFI-PROPERTIES.TKIP:                  yes
WIFI-PROPERTIES.CCMP:                  yes
WIFI-PROPERTIES.AP:                    yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                  yes
WIFI-PROPERTIES.5GHZ:                  yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
 
SSID  BSSID  MODE  CHAN  FREQ  RATE  SIGNAL  BARS  SECURITY  ACTIVE  IN-USE
 
##### NetworkManager.state ##############
 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
 
##### NetworkManager config #############
 
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
 
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
 
[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved
 
[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan
 
[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/
 
[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve
 
##### NetworkManager profiles ###########
 
##### Netplan config ####################
 
[/etc/netplan/01-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager
 
##### iw reg get ########################
 
Region: Europe/Warsaw (based on set time zone)
 
global
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)
 
##### iwlist channels ###################
 
lo        no frequency information.
 
enp0s20f0u2  no frequency information.
 
enp8s0    no frequency information.
 
wlp7s0    32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
 
##### iwlist scan #######################
 
lo        Interface doesn't support scanning.
 
enp0s20f0u2  Interface doesn't support scanning.
 
enp8s0    Interface doesn't support scanning.
 
wlp7s0    Interface doesn't support scanning : Network is down
 
##### module infos ######################
 
[iwlmvm]
filename:      /lib/modules/4.18.0-16-generic/kernel/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
license:        GPL
author:        Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>
description:    The new Intel(R) wireless AGN driver for Linux
srcversion:    4DAD4F3B58FCA15965D5AC4
depends:        iwlwifi,mac80211,cfg80211
retpoline:      Y
intree:        Y
name:          iwlmvm
vermagic:      4.18.0-16-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          init_dbg:set to true to debug an ASSERT in INIT fw (default: false (bool)
parm:          power_scheme:power management scheme: 1-active, 2-balanced, 3-low power, default: 2 (int)
parm:          tfd_q_hang_detect:TFD queues hang detection (default: true (bool)
 
[mac80211]
filename:      /lib/modules/4.18.0-16-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    C5D73328CD704BB6E363074
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          mac80211
vermagic:      4.18.0-16-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
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)
 
[iwlwifi]
filename:      /lib/modules/4.18.0-16-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
license:        GPL
author:        Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>
description:    Intel(R) Wireless WiFi driver for Linux
firmware:      iwlwifi-100-5.ucode
firmware:      iwlwifi-1000-5.ucode
firmware:      iwlwifi-135-6.ucode
firmware:      iwlwifi-105-6.ucode
firmware:      iwlwifi-2030-6.ucode
firmware:      iwlwifi-2000-6.ucode
firmware:      iwlwifi-5150-2.ucode
firmware:      iwlwifi-5000-5.ucode
firmware:      iwlwifi-6000g2b-6.ucode
firmware:      iwlwifi-6000g2a-6.ucode
firmware:      iwlwifi-6050-5.ucode
firmware:      iwlwifi-6000-6.ucode
firmware:      iwlwifi-7265D-29.ucode
firmware:      iwlwifi-7265-17.ucode
firmware:      iwlwifi-3168-29.ucode
firmware:      iwlwifi-3160-17.ucode
firmware:      iwlwifi-7260-17.ucode
firmware:      iwlwifi-8265-36.ucode
firmware:      iwlwifi-8000C-36.ucode
firmware:      iwlwifi-9260-th-b0-jf-b0-38.ucode
firmware:      iwlwifi-9260-th-a0-jf-a0-38.ucode
firmware:      iwlwifi-9000-pu-a0-jf-b0-38.ucode
firmware:      iwlwifi-9000-pu-b0-jf-b0-38.ucode
firmware:      iwlwifi-9000-pu-a0-jf-a0-38.ucode
firmware:      iwlwifi-QuQnj-a0-hr-a0-38.ucode
firmware:      iwlwifi-QuQnj-a0-jf-b0-38.ucode
firmware:      iwlwifi-QuQnj-f0-hr-a0-38.ucode
firmware:      iwlwifi-Qu-a0-jf-b0-38.ucode
firmware:      iwlwifi-Qu-a0-hr-a0-38.ucode
srcversion:    1F6BE15A46F5E4E4DE83078
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          iwlwifi
vermagic:      4.18.0-16-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:          11n_disable:disable 11n functionality,  bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX  (uint)
parm:          amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 4K for other devices 1:4K 2:8K 3:12K (default 0) (int)
parm:          fw_restart:restart firmware in case of error (default true) (bool)
parm:          antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm:          nvm_file:NVM file name (charp)
parm:          d0i3_disable:disable d0i3 functionality (default: Y) (bool)
parm:          lar_disable:disable LAR functionality (default: N) (bool)
parm:          uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
parm:          bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm:          led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm:          power_save:enable WiFi power management (default: disable) (bool)
parm:          power_level:default power save level (range from 1 - 5, default: 1) (int)
parm:          fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
parm:          d0i3_timeout:Timeout to D0i3 entry when idle (ms) (uint)
parm:          disable_11ac:Disable VHT capabilities (default: false) (bool)
parm:          remove_when_gone:Remove dev from PCIe bus if it is deemed inaccessible (default: false) (bool)
 
[cfg80211]
filename:      /lib/modules/4.18.0-16-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    BFB309EF7C6C321F605D36E
depends:       
retpoline:      Y
intree:        Y
name:          cfg80211
vermagic:      4.18.0-16-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
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 #################
 
[iwlmvm]
init_dbg: N
power_scheme: 2
tfd_q_hang_detect: Y
 
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
 
[iwlwifi]
11n_disable: 0
amsdu_size: 0
antenna_coupling: 0
bt_coex_active: Y
d0i3_disable: Y
d0i3_timeout: 1000
disable_11ac: N
fw_monitor: N
fw_restart: Y
lar_disable: N
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
remove_when_gone: N
swcrypto: 0
uapsd_disable: 3
 
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
 
##### /etc/modules ######################
 
##### modprobe options ##################
 
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
 
[/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/intel-microcode-blacklist.conf]
blacklist microcode
 
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
 
##### rc.local ##########################
 
grep: /etc/rc.local: No such file or directory
 
##### pm-utils ##########################
 
##### udev rules ########################
 
##### dmesg #############################
 
[    6.101630] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u2: link is not ready
[    6.115570] IPv6: ADDRCONF(NETDEV_UP): enp8s0: link is not ready
[    6.182642] r8169 0000:08:00.0 enp8s0: link down
[    6.182821] IPv6: ADDRCONF(NETDEV_UP): enp8s0: link is not ready
[    6.193470] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready
[  40.902478] rndis_host 1-2:1.0 enp0s20f0u2: unregister 'rndis_host' usb-0000:00:14.0-2, RNDIS device
[  44.825332] rndis_host 1-2:1.0 enp0s20f0u2: renamed from usb0
[  44.866995] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u2: link is not ready
 
########## wireless info END ############

Ubuntu Weekly Newsletter Issue 572

$
0
0


Welcome to the Ubuntu Weekly Newsletter, Issue 572 for the week of March 24 - 30, 2019. The wiki page of this issue is available here.

In this Issue

  • Nominations Open for UK Open Source Awards
  • Ubuntu 19.04 (Disco Dingo) Beta released
  • Welcome New Members and Developers
  • Ubuntu Stats
  • Hot in Support
  • Kdenlive Devs Had a Sprint, Made This Awesome Vid
  • Ubucon Portugal 2019
  • LoCo Events
  • Mir News: 29th of March 2019
  • Canonical News
  • In the Blogosphere
  • In Other News
  • Other Articles of Interest
  • Featured Audio and Video
  • Upcoming Meetings and Events
  • Updates and Security for 14.04, 16.04, 18.04, and 18.10
  • And much more!


General Community News

Nominations Open for UK Open Source Awards

Jonathan Riddell advises of the sixth UK Open Source Awards, to be held in Edinburgh on Wednesday 12 June 2019. Nominations are now open for the awards ; Categories and criteria for nominations are provided.

https://jriddell.org/2019/03/26/nomi...source-awards/

Ubuntu 19.04 (Disco Dingo) Beta released

Adam Conrad of the Ubuntu Release team announces the beta pre-release of the Ubuntu 19.04 Desktop, Server and Cloud products. This also includes Kubuntu, Lubuntu, Ubuntu-Budgie, Ubuntu-Kylin, Ubuntu-MATE, Ubuntu Studio and Xubuntu flavors. Instructions on reporting bugs are included, as all testing resulting in comments, bug reports or patches will help improve this release.

https://lists.ubuntu.com/archives/ub...ch/004743.html

Welcome New Members and Developers

Rik Mills : MOTU Application

Eric Desrochers, on behalf of the DMB. announces the granting to Rik Mills (acheronuk) MOTU privileges.

https://lists.ubuntu.com/archives/ub...ch/002845.html

Congratulations to this contributor!

Ubuntu Stats

Bug Stats

  • Open: 134839 (-8)
  • Critical: 386 (-3)
  • Unconfirmed: 66324 (+53)


As always, the Bug Squad needs more help. If you want to get started, please see: https://wiki.ubuntu.com/BugSquad

Translations

  • Ukrainian: 87.57% (33949/2772)
  • German: 85.84% (38690/2)
  • Spanish: 85.26% (40264/1964)
  • French: 80.64% (52884/5861)
  • Bosnian: 79.92% (54849/155)


Hot in Support

Ask Ubuntu Top 5 Questions



Ask (and answer!) questions at: https://askubuntu.com/

Ubuntu Forums Top 5 Threads



Find more support at: https://ubuntuforums.org/

LoCo News

Kdenlive Devs Had a Sprint, Made This Awesome Vid

Joey Sneddon writes about Kdenlive as a great open-source video editor, and that the Kdenlive team recently had a Sprint in Lyon, France to improve buffering of the editor's refactoring branch ahead of the coming release. A video of some of the Sprint is included.

https://www.omgubuntu.co.uk/2019/03/...is-awesome-vid

Ubucon Portugal 2019

Diogo Miguel Constantino Dos Santos (diogoconstantino) writes to invite all to the first Ubucon Portugal 2019 event on the 6th of April. Additional help is requested to manage the event and the booth. Diogo provides links for more details and contacts.

https://discourse.ubuntu.com/t/ubuco...gal-2019/10399

LoCo Events

The following LoCo team events are currently scheduled in the next two weeks:



Looking beyond the next two weeks? Visit the LoCo Team Portal to browse upcoming events around the world: http://loco.ubuntu.com/events/

The Hub

Mir News: 29th of March 2019

Chris Halse Rogers (raof) reports of continuing fixes in non-standard build environments and Wayland extension support. While work also continues to merge the layer-shell branch into Mate snap, WLCS 1.0 is nearing release. We are advised of several threads opening for discussion for designs to make a MirAL framework snap work with snaps.

https://discourse.ubuntu.com/t/mir-n...rch-2019/10409

Canonical News



In the Blogosphere

Canonical Reportedly Not Planning To Enable Wayland-By-Default For Ubuntu 20.04 LTS

Michael Larabel reminds us of the short term Ubuntu 17.10 GNOME & Wayland defaults before switching back to X.Org, with X.Org looking to remain for Ubuntu 20.04 LTS. Michael provides some clues as to his sources, and views on where Fedora too is going with Wayland. Whilst we can still choose to use Wayland on Ubuntu, don't expect to see it the default before at least Ubuntu 20.10.

https://www.phoronix.com/scan.php?pa...ault-20.04-LTS

NVIDIA Lands Fix To Avoid High CPU Usage When Using The KDE Desktop

Michael Larabel reports on the the resolution by NVIDIA engineer Erik Kurzinger for the long standing high CPU load under the KDE desktop (Bug #322060) issue. The workaround will no longer be required in &nbsp;the next KDE Plasma release - Plasma 5.16, though the variable (GL_MaxFramesAllowed=1) can still be set in current KDE Plasma environments.

https://www.phoronix.com/scan.php?pa...E-High-CPU-Fix

In Other News

Asus Just Gave You 1 Million Reasons To Switch From Windows To Linux

Jason Evangelho reminds us of the recent Kaspersky ShadowHammer alert about Asus laptop users distributing malware through the Asus Live Update utility hidden as a legit-update. Jason explores why Ubuntu and Linux is safer and how Canonical's packaging of Ubuntu helps to achieve security.

https://www.forbes.com/sites/jasonev.../#38fd62b44a4a

Other Articles of Interest



Featured Audio and Video

Ubuntu Security Podcast: Episode 25 &nbsp;

“Ghostscript is back to haunt us for another week, plus we look at vulnerabilities in ntfs-3g, snapd, firefox and more.”

https://ubuntusecuritypodcast.org/episode-25/

Upcoming Meetings and Events

  • Security Team: Mon, April 1, 4:30pm – 5:30pm
  • Desktop Team: Tue, April 2, 3:30pm – 4:30pm
  • Kernel Team: Tue, April 2, 5pm – 6pm
  • Ubuntu Translations: Thu, April 4, 3pm – 4pm
  • Ubuntu Foundations: Thu, April 4, 3pm – 4pm
  • Community Council: Thu, April 4, 5pm – 7pm
  • Ubuntu Membership Board: Thu, April 4, 8pm – 9pm
  • Ubuntu Membership Board: Thu, April 4, 10pm – 11pm


For more details and farther dates please visit: http://fridge.ubuntu.com/calendars/

Updates and Security for 14.04, 16.04, 18.04, and 18.10

Security Updates



Ubuntu 14.04 Updates



End of Life: April 2019

Ubuntu 16.04 Updates



End of Life: April 2021

Ubuntu 18.04 Updates



End of Life: April 2023

Ubuntu 18.10 Updates



End of Life: July 2019

Subscribe

Get your copy of the Ubuntu Weekly Newsletter delivered each week to you via email at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-news

Or follow us via our various social media presences:



Archive

You can always find older Ubuntu Weekly Newsletter issues at: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Archive

Further News

As always you can find more Ubuntu news and announcements at:



Conclusion

Thank you for reading the Ubuntu Weekly Newsletter.

See you next week!

Credits

The Ubuntu Weekly Newsletter is brought to you by:

  • Krytarik Raido
  • Bashing-om
  • Chris Guiver
  • Wild Man
  • mIk3_08
  • And many others


Glossary of Terms

Other acronyms can be found at: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/glossary

Get Involved

The Ubuntu community consists of individuals and teams, working on different aspects of the distribution, giving advice and technical support, and helping to promote Ubuntu to a wider audience. No contribution is too small, and anyone can help. It's your chance to get in on all the community fun associated with developing and promoting Ubuntu. More on this at: https://community.ubuntu.com/contribute/

Or get involved with the Ubuntu Weekly Newsletter team! We always need summary writers and editors, if you're interested, learn more at: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Join

Feedback

This document is maintained by the Ubuntu Weekly News Team. If you have a story idea or suggestions for the Weekly Newsletter, join the Ubuntu News Team mailing list at https://lists.ubuntu.com/mailman/lis...untu-news-team and submit it. Ideas can also be added to the wiki at https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Ideas. If you'd like to contribute to a future issue of the Ubuntu Weekly Newsletter, please feel free to edit the appropriate wiki page. If you have any technical support questions, please check https://community.ubuntu.com/help-information/ for more information on where to get help.

Except where otherwise noted, this issue of the Ubuntu Weekly Newsletter is licensed under a Creative Commons Attribution ShareAlike 3.0 License

Using pastebin

$
0
0
I figured how to upload to pastebin.

But I can not figure how to get a link to share with others.?

[server] Ubuntu Server 18.04.1 installer fails to recognize drive size

$
0
0
We have SuperMicro server with an LSI 9361-8i controller hooked up to two 12TB HGST drives in RAID1. When we try to install Ubuntu Server, the installer incorrectly reports that the RAID 1 is 87T, when we only have two 12TB drives connected. I can switch to the other tty and run fdisk, which shows the expected 10.9TB of usable space on /dev/sda. Any idea why the installer would be reading the size incorrectly? When we try to go ahead and install, it errors out...I assume because it's trying to format 87TB when it doesn't exist.

https://imgur.com/VCNhYYg.png
https://imgur.com/ksNG1Fo.png

Two left mouse buttons

$
0
0
I use Linux Mint 19.1 Cinammon. I'd like to set additional mouse button as left button. Is it possible? I've tried using xmodmap -e "pointer = 1 2 3 1". Unfortunalety this command does not allow to set two left buttons.

[server] kickstart vs preseed

$
0
0
I need to create an automated Ubuntu 18.04 install. Is there any consensus on kickstart vs preseed for this purpose?

Xubuntu 18.04.2 - Clementine install kills keyboard

$
0
0
Hello,

I've been using Xubuntu for a while now and have been generally quite happy with it. However, I have recently run across a really strange issue. I installed clementine via apt-get (well actually, this is an offline server so I use apt-medium to pull down the necessary packages from another PC and copy/install them on this PC. apt-get still manages them, though. I've had no issues using this same process with all kinds of other software so I don't think it is inherently the issue). Immediately after the install (i.e. no reboot), everything works fine, including clementine. When I reboot, suddenly the keyboard stops working in all my apps. In a terminal, the prompt just flashes whenever i press any key. Strangely, it still works at the login screen. As soon as I un-install clementine, everything is fine again.

I'm not really sure how to even debug this. I have noticed some errors related to xfce4 in .xsession_errors like:
Code:

ERROR:dbus.proxies:Introspect error on org.bluez:/:  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied:  Rejected send message, 2 matched rules; type="method_call",  sender=":1.57" (uid=1000 pid=1738 comm="/usr/bin/python3  /usr/bin/blueman-applet " label="unconfined")  interface="org.freedesktop.DBus.Introspectable" member="Introspect"  error name="(unset)" requested_reply="0" destination="org.bluez" (bus)

but I'm not 100% sure they're related. Any ideas how I can figure this out?



Thanks!

Raspberry pi networking issues

$
0
0
I apologize in advance if I'm posting in the wrong section, and I understand that Ubuntu and Raspbian are not identical.
But I can't find the answers I need on the Raspberry forum, so I thought that a more general linux area might get the attention of someone who could help.

That said...


I'm using a Raspberry pi to connect to a reverse SSH tunnel setup on an Amazon ec2 server. And I'm using a 4G/LTE USB "dongle" to provide the connectivity.

The "dongle" looks like eth0 or eth1 to the Raspberry pi and will usually connect to the carrier (Verizon) during boot. I had to add a "SLEEP 16" command in rc.local because the modem boots more slowly than the Raspberry 3 (running STRETCH), and the delay gives the modem a chance to boot and make connection to the 4G/LTE network.

But I have two problems that I can't seem to figure out:

Problem #1. The Raspberry sometimes hangs at the
"A start job is running on dhcpcd on all interfaces (xx/yy)" (where "xx" and "yy" are times). On some power ups, the system simply hangs at this point forever. Only a power cycle will allow recovery.

Problem #2. Even after a connection has been made, the 4G/LTE signal sometimes gets blocked or very weak and re-appears a few seconds to a few minutes later. I need the Raspberry to automatically reconnect to the Amazon server (over SSH) anytime a connection is possible. The USB "dongle DOES reconnect to the cell network - I can ping servers, etc. After the dongle (modem) reconnects. Everything works except the SSH connection. I loaded AUTOSSH (rather than just SSH) in an attempt to fix this, but it doesn't work (regardless of the timeouts I select). I should mention that I have no control or "ping" port available on the Amazon server.
It should be noted that if I manually invoke AUTOSSH after the connection is re-established, everything works as expected.

In an attempt to solve issue #2, I set up a WATCH command that pings GOOGLE (8.8.8.8) every 5 seconds, and if the ping is successful it checks for the presence of a file, and if that file is present, it invokes AUTOSSH and writes that file ( in memory ). If the ping is not successful, the file in memory is deleted. That way, when the system first comes up, it issues AUTOSSH and writes the file. Every 5 seconds thereafter, it pings 8.8.8.8 and if that ping is successful, my script does nothing. If the ping is NOT successful, the file is deleted, so that the next time the ping IS successful, the file won't exist and AUTOSSH will be started again.
It ALMOST works. But it doesn't and I'm stumped. I suspect that the WATCH command expects to call an actual command, rather than a shell script, but I don't know for certain.

Can anyone help me solve these two problems? I would greatly appreciate it. I'll include the contents of my files below:

rc.local
################################################
sleep 16 <--- wait for the USB dongle to boot
ifdown -a && ifup -a <-- shut off and turn on ports, this seems to make 1st startup more reliable

watch -n 5 /home/pi/runonce.sh <--- call 'runonce' every 5 seconds.

exit 0
################################################## #######

/home/pi/runonce.sh
################################################## #######
ping -c1 8.8.8.8 <-- Google server
if [ $? -eq 0 ] ; then <-- good ping
[ -f /dev/shm/keyfile ] || { <-- check for file 'keyfile" in RAM (in a Raspberry pi)
/home/pi/start-autossh.sh & <-- keyfile not found, so run AUTOSSH
touch /dev/shm/keyfile <--- create keyfile
sudo python /etc/LEDON.py <--- turn LED on to indicate connection
}
else
sudo rm /dev/shm/keyfile <-- ping was not good, delete keyfile
sudo pkill /home/pi/start-autossh.sh <-- kill instance of autossh if it is still running
sudo python /etc/LEDOFF.py <-- turn LED off to indicate lost connection
fi
exit 0
################################################## #######

Note that these problems do not occur if I connect an Ethernet cable to either the Raspberry's Ethernet port, or to an Ethernet<->USB adapter plugged into a Raspberry's USB port.

If someone could point me to a log file that would tell me what is going on, that would be of help also.
Viewing all 82528 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>