• Breaking News

    [Android][timeline][#f39c12]

    Thursday, July 4, 2019

    Linux Looking to learn Networking using Linux commands

    Linux Looking to learn Networking using Linux commands


    Looking to learn Networking using Linux commands

    Posted: 04 Jul 2019 07:43 AM PDT

    Hey everyone, are there any resources from where I can learn and practice Networking and network troubleshooting using Linux commands? Any help would be appreciated. Thank you.

    submitted by /u/wolverine141194
    [link] [comments]

    A decent graphical calendar app for Ubuntu?

    Posted: 04 Jul 2019 06:03 AM PDT

    I was wondering if anyone could recommend good monthly calendar software for Ubuntu.

    I'm looking for something graphical, not text-based. So I'd like to avoid applications like Thunderbird.

    I'm also looking for something that doesn't require a WiFi connection. Google Maps Calendar has a nice UI but I am not looking to set reminders and invite people to meetings, I only want a personal calendar for myself.

    GNOME Calendar is the kind of thing I am looking for: it has a no-nonsense, point-and-click UI and the user selects a date to add an event. I'm disappointed that event names longer than about 20 characters don't appear in full, but that's a small compromise. My biggest gripe is that it lacks a print function. Sure, I can press the PrtSc button and crop the image, but I edit my calendar frequently and can't afford to be cluttering my Pictures folder and cropping all the time. I don't have a color printer, either, so B&W is my friend.

    I am sorry if this is an obvious question, but my options on the snap store seem limited, and my research has turned up too many apps that are no longer being updated or supported.

    On Windows, I calendared all my deadlines on Microsoft Word thanks to a macro that generated calendar presets. The ability to point and click in a box, jot down some deadline or reminder, and print in landscape for a full-paged calendar is something I sorely miss.

    submitted by /u/BrisklyBrusque
    [link] [comments]

    Practice linux noob stuff on APP

    Posted: 03 Jul 2019 11:17 PM PDT

    Hi guys, I recently been using encode, a great app for noobs that helps you practice JS and Python in those annoying moments you wait in line. Do u know or can recommend an app that can help practice linux bash / shell environment or noob networking for the same purpose?

    submitted by /u/orrpel
    [link] [comments]

    How to create backups and restore a LVM-based system?

    Posted: 04 Jul 2019 11:39 AM PDT

    I have a home server which I'd like to make a backup of, just in case. I set the system up with LVM. I tried to follow the easy route of just tar'ing the root directory (excluding the obvious sub-directories). But when I tried to restore via a virtual machine, it all imploded. The system wouldn't boot at all, and it seemed like it was mostly errors around LVM trying to find physical, virtual and logical volumes by name/UID and them not being present.

    Any help would be much appreciated!

    submitted by /u/NowImAllSet
    [link] [comments]

    LM XFCE suddenly my panel is gone and so are all the top strip of all windows (can't close anything with [x]) - WTF? halp

    Posted: 04 Jul 2019 01:49 PM PDT

    so this is weird, afaik, I didn't do anything to make this happen, that is, didn't fiddle with settings, or try to uninstall or install anything related to windows manager or DE, it just happened

    on restart the lower xfce panel is there but the top layer of all windows are missing, even update manager! so there is no way for me to move, resize, or close windows

    also, applications and windows do not show up when opened in the xfce panel, so I can't right click to close them from there or use their placement in the panel to switch from one window or opened application to another... this is bizarre...

    I've tried googling to find if anyone else has this problem but haven't been lucky yet

    hopefully someone here is familiar with this type of problem

    :(

    submitted by /u/lingben
    [link] [comments]

    Root is full... what are snaps?

    Posted: 04 Jul 2019 12:43 PM PDT

    So I'm getting messages about my root partition being full, and when I use the disk analyser thing, the only single folder that's taking up a lot is /var/lib/snapd/snaps, at 3.9GB of my meager 20GB root.

    I understand this is some kind of package manager system. Is this something I can remove? I don't knowingly use this, but is it the sort of thing that runs in the background and you don't know you're using it?

    submitted by /u/StarkEnterprizes
    [link] [comments]

    Stuck after installing nvidia drivers for 820M

    Posted: 04 Jul 2019 06:33 AM PDT

    Samba Basics help: Active Directory Authentication, the smb.conf file, and how to test domain connectivity

    Posted: 04 Jul 2019 10:37 AM PDT

    Hello all, and thank you for your help!

    TLDR; How much is actually necessary in the smb.conf file for actual AD authentication?

    I'm following the guide here with the long term goal of automating the domain joining of my virtual machines into my Active directory domain.

    My /etc/samba/smb.conf file is below, with the domain omitted. The guide says I only need the part below the [global] tag to enable kurberos authentication. Is this true? I know this is asking a lot, but could somebody ELI5 every different section? I've read through the comments, unfortunately I still feel confused as hell.

    Also, how can you test domain connectivity on an ubuntu virtual machine?

    # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Some options that are often worth tuning have been included as # commented-out examples in this file. # - When such options are commented with ";", the proposed setting # differs from the default Samba behaviour # - When commented with "#", the proposed setting is the default # behaviour of Samba but the option is considered important # enough to be mentioned here # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not made any basic syntactic # errors. #======================= Global Settings ======================= [global] workgroup = DOMAIN client signing = yes client use spnego = yes kerberos method = secrets and keytab realm = DOMAIN.LAB security = ads ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server # wins support = no # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no #### Networking #### # The specific set of interfaces / networks to bind to # This can be either the interface name or an IP address/netmask; # interface names are normally preferred ; interfaces = 127.0.0.0/8 eth0 # Only bind to the named interfaces and/or networks; you must use the # 'interfaces' option above to use this. # It is recommended that you enable this feature if your Samba machine is # not protected by a firewall or is a firewall itself. However, this # option cannot handle dynamic or non-broadcast interfaces correctly. ; bind interfaces only = yes #### Debugging/Accounting #### # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. # syslog only = no # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log # through syslog you should set the following parameter to something higher. syslog = 0 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ####### Authentication ####### # Server role. Defines in which mode Samba will operate. Possible # values are "standalone server", "member server", "classic primary # domain controller", "classic backup domain controller", "active # directory domain controller". # # Most people will want "standalone sever" or "member server". # Running as "active directory domain controller" will require first # running "samba-tool domain provision" to wipe databases and create a # new domain. server role = standalone server # If you are using encrypted passwords, Samba will need to know what # password database type you are using. passdb backend = tdbsam obey pam restrictions = yes # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. unix password sync = yes # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. pam password change = yes # This option controls how unsuccessful authentication attempts are mapped # to anonymous connections map to guest = bad user ########## Domains ########### # # The following settings only takes effect if 'server role = primary # classic domain controller', 'server role = backup domain controller' # or 'domain logons' is set # # It specifies the location of the user's # profile directory from the client point of view) The following # required a [profiles] share to be setup on the samba server (see # below) ; logon path = \\%N\profiles\%U # Another common choice is storing the profile in the user's home directory # (this is Samba's default) # logon path = \\%N\%U\profile # The following setting only takes effect if 'domain logons' is set # It specifies the location of a user's home directory (from the client # point of view) ; logon drive = H: # logon home = \\%N\%U # The following setting only takes effect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be created on the domain controller via the SAMR # RPC pipe. The example command creates a user account with a disabled Unix # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u # This allows machine accounts to be created on the domain controller via the # SAMR RPC pipe. # The following assumes a "machines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created on the domain controller via the SAMR # RPC pipe. ; add group script = /usr/sbin/addgroup --force-badname %g ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m # Some defaults for winbind (make sure you're not using the ranges # for something else.) ; idmap uid = 10000-20000 ; idmap gid = 10000-20000 ; template shell = /bin/bash # Setup usershare options to enable non-root users to share folders # with the net usershare command. # Maximum number of usershare. 0 (default) means that usershare is disabled. ; usershare max shares = 100 # Allow users who've been granted usershare privileges to create # public shares, not just authenticated ones usershare allow guests = yes #======================= Share Definitions ======================= # Un-comment the following (and tweak the other settings below to suit) # to enable the default home directory shares. This will share each # user's home directory as \\server\username ;[homes] ; comment = Home Directories ; browseable = no # By default, the home directories are exported read-only. Change the # next parameter to 'no' if you want to be able to write to them. ; read only = yes # File creation mask is set to 0700 for security reasons. If you want to # create files with group=rw permissions, set next parameter to 0775. ; create mask = 0700 # Directory creation mask is set to 0700 for security reasons. If you want to # create dirs. with group=rw permissions, set next parameter to 0775. ; directory mask = 0700 # By default, \\server\username shares can be connected to by anyone # with access to the samba server. # Un-comment the following parameter to make sure that only "username" # can connect to \\server\username # This might need tweaking when using external authentication schemes ; valid users = %S # Un-comment the following and create the netlogon directory for Domain Logons # (you need to configure Samba to act as a domain controller too.) ;[netlogon] ; comment = Network Logon Service ; path = /home/samba/netlogon ; guest ok = yes ; read only = yes # Un-comment the following and create the profiles directory to store # users profiles (see the "logon path" option above) # (you need to configure Samba to act as a domain controller too.) # The path below should be writable by all users so that their # profile directory may be created the first time they log on ;[profiles] ; comment = Users profiles ; path = /home/samba/profiles ; guest ok = no ; browseable = no ; create mask = 0600 ; directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 # Windows clients look for this share name as a source of downloadable # printer drivers [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no # Uncomment to allow remote administration of Windows print drivers. # You may need to replace 'lpadmin' with the name of the group your # admin users are members of. # Please note that you also need to set appropriate Unix permissions # to the drivers directory for these users to have write rights in it ; write list = root, @lpadmin 
    submitted by /u/dsmiles
    [link] [comments]

    Request: CLI directory syncing tools

    Posted: 04 Jul 2019 10:00 AM PDT

    I'm running a server with Void Linux arm v7 on a Raspberry pi. Unison isn't in the repos, so I'm trying to regain a semblance of what I once had with unison:

    • 3 different computers synchronized to the Raspberry pi.

    • Synchronizing hundreds of files takes ~1 second if there's no change in the directories.

    • Sane deletion.

    • The ability to arbitrarily add or remove directories-to-sync in a moment by editing a config file.

    • Available on Void Linux musl arm 7 and Arch Linux.

    • The ability to ignore directories, files, or arbitrary extensions (e.g. "*swp").

    • No necessity to allow root access via ssh.

    I might have misunderstood the manpages/ online docs, but so far rsync seems to require setting up on seperate directories, and needs to scan each individual file, which is a little much. Lsync looked good, but I can't find an example of setting up synchronization with a list of directories.

    submitted by /u/Andonome
    [link] [comments]

    GPU at high clock speed for small tasks causing high temps. (Nvidia)

    Posted: 04 Jul 2019 09:55 AM PDT

    Hello everyone,

    I'm having a problem with my recent install of Pop_OS! Everything went well in the beginning, but then I realized that my GPU is hitting 50c when doing things as simple as using Firefox... I've been trying to figure out why and how to fix it, but I haven't made very much progress. As far as I can tell the problem is that the power state goes to 3 whenever I do anything beyond just sitting at the desktop with nothing open. This causes the clock to go to 1k as opposed to a normal low workload clock of 139mhz or something. I tried changing the PowerMizer setting to adaptive, but that did nothing for me. Does anybody have any experience with the issue? Is there a way to get my GPU to relax a little for light tasks or is this just something I'm stuck with?

    submitted by /u/iznim
    [link] [comments]

    Artix Linux

    Posted: 04 Jul 2019 12:50 AM PDT

    Hey,Can u help me choose linux distro?

    What u think about Artix? its based on Arch (a lot ppl say its one of the best choose atm) and its free systemd system (use OpenRC or runit. Have also graphical install what is important for me coz im not that good with linux atm. Its also rolling distro, use LXDE (what i like), but dont know why have only 8.1 average rating on distrowatch.

    tl:dr; Artix in 2019 its good choose or not really?

    edit: atm i use lubuntu (ubuntu based on LXDE / 18.04) and im happy but coz wanna try arch / why all ppl like arch more then ubuntu?

    submitted by /u/theeqltgoodboy
    [link] [comments]

    XRDP issue on Kubuntu VM

    Posted: 04 Jul 2019 02:49 AM PDT

    I'm trying out kubuntu on my unraid server so I set up an VM and installed it there and used a public bridge so it's accessible throughout the network.

    Now I've installed xrdp and modified the xrdp.ini file to use port 3390. When I type service xrdp status I get a message stating that the daemon is started and listening on port 3390 on 0.0.0.0

    When I open up mstsc on my windows machine and rdp to kubnutu, I make it to the login screen below. The issue is when I press enter to login, I get a black screen for a few seconds then thrown back to windows's RDP connection screen. What am I missing here?

    https://i.redd.it/ojfe5ub1d9831.png

    submitted by /u/electric-sheep
    [link] [comments]

    Boot trying to mount an unexisted partition (a start job is running...)

    Posted: 04 Jul 2019 04:30 AM PDT

    Hi,

    I have an old problem who came back but I don't understand why.Basically, I updated my kernel, and now during the boot I have this message :

    a start job is running for dev disk-by\x2duuid-ac955601\x2d17ac\x2d444a\x2d8dcc\x2ddf8a851070a1.device (XXs / 1m 30s) 

    I already had this in the past, because I format my disk and copy an existing system.

    So my /etc/fstab was not well configured for my swap partition.

    It tries to mount the swap partition I removed long time ago, so I don't understand where it goes to find this one.

    Here my fstab :

    # # /etc/fstab # Created by anaconda on Mon Aug 20 22:30:26 2018 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=6cd5ef2a-448b-4548-9617-829473d9f6bf / ext4 defaults 1 1 UUID=e3e28cda-adba-4965-a73d-023bc4c3601b /boot ext4 defaults 1 2 UUID=c349654d-19d8-4ecb-8d7d-aa1d3adbdf0b /home ext4 defaults 1 2 #UUID=ac955601-17ac-444a-8dcc-df8a851870a1 swap swap defaults 0 0 UUID=793d023c-730c-4600-bf56-dbe393a31e70 swap swap defaults 0 0 

    And my UUID :

    lrwxrwxrwx. 1 root root 10 Jul 4 11:12 3376D9210037247F -> ../../sda1 lrwxrwxrwx. 1 root root 10 Jul 4 11:12 6cd5ef2a-448b-4548-9617-829473d9f6bf -> ../../sda3 lrwxrwxrwx. 1 root root 10 Jul 4 11:12 793d023c-730c-4600-bf56-dbe393a31e70 -> ../../sda5 lrwxrwxrwx. 1 root root 10 Jul 4 11:12 c349654d-19d8-4ecb-8d7d-aa1d3adbdf0b -> ../../sda6 lrwxrwxrwx. 1 root root 10 Jul 4 11:12 e3e28cda-adba-4965-a73d-023bc4c3601b -> ../../sda2 

    If I boot on my older kernel I haven't this problem.

    Thanks

    submitted by /u/Cuissedemouche
    [link] [comments]

    Wifi not working on laptop with Linux (Realtek)

    Posted: 04 Jul 2019 03:40 AM PDT

    I've tried installing different Linux distros (Mint, Solus and Ubuntu) on my laptop and none of them were able to connect to the internet via wifi, however ethernet worked fine.

    I've read on some forums that it may be driver-related, and you could download the driver from GitHub.

    Will installing drivers from GitHub have any impact on the hardware it self or will it only affect the Linux distro? Wondering because I may have to install Windows on it in the future. Will there be problems with drivers on Windows after installing the GitHub driver on Linux?

    I'm currently using Ubuntu 18.04.2 LTS

    Note: I'm using HP laptop (15-db0035no) with Realtek RTL8821CE

    I'm not sure which distro I'm going to use, but it seems that it is possible to install this driver on some distros

    Link to a forum with a similar issue

    submitted by /u/Makmarian
    [link] [comments]

    Flatpak

    Posted: 04 Jul 2019 07:22 AM PDT

    Is it possible to make a flatpak version of software that I use that isn't yet available as a flatpak? For example, I use GZDoom very often. GZDoom only offers a .deb package for Debian and Ubuntu based distros, and other distros have to compile it from source. Is it possible to make a flatpak of GZDoom so it can be very easy to get on any distro?

    submitted by /u/AskJeevesIsBest
    [link] [comments]

    Mouse Stops Working after Reboot

    Posted: 04 Jul 2019 06:38 AM PDT

    Hi, I have just installed kubuntu 18.04.2 LTS and I'm having a few issues with my Madcatz R.A.T.3 mouse. I can see the pointer but I can't click on anything. It works perfectly if I restart the X server (I think) from the command line using

    sudo systemctl restart sddm.service

    but, as soon as I reboot my PC, the mouse stops working again.

    I have created an xorg.conf file to edit the button mapping as this worked for me last time I installed kubuntu on my PC but it doesn't seem to be helping this time. Any thoughts? The code for my xorg.conf file is below:

    Section "InputClass"

    Identifier "Mouse Remap"

    Matchproduct "Saitek Cyborg R.A.T.3 Mouse"

    MatchDevicePath "/dev/input/event*"

    Option "ButtonMapping" "1 2 3 4 5 6 7 0 0 0 0 0 0 0"

    EndSection

    submitted by /u/HappyLittleComma
    [link] [comments]

    How do I switch users in KDE plasma in the same session or without starting a new session?

    Posted: 03 Jul 2019 10:27 PM PDT

    OS: KDE Neon

    Suppose I have two users John and Jason. I am logged in to John's account. Now I decide to switch users. But in the login screen, when I click on switch user it shows "Start a new session" instead of simply showing Jason's user account.

    If I click on start a new session, I cannot go back to my original session, in which I was already logged into my John account.

    What the hell? Is this how its supposed to be?

    submitted by /u/Cull_Obsidian
    [link] [comments]

    Can't figure out how to pass through a Wiimote to Dolphin

    Posted: 04 Jul 2019 05:55 AM PDT

    I found this on the Dolphin wiki and I think it'll solve my error ("failed to open usb device libusb_error_access"). https://imgur.com/a/dBo5uJK The problem is that I don't know how to go about "adding a udev rule" or whatever. Where would I put this line of text and should I just leave it as is, or should I change something about it? Thanks!

    submitted by /u/kelvinh_27
    [link] [comments]

    Should/how do I use Arch Linux?

    Posted: 04 Jul 2019 04:45 AM PDT

    I have 2 laptops. My main one- Windows 10, with a virtual machine that has Ubuntu on it. The second one- Ubuntu Gnome. Should I switch the VM Ubuntu to Arch? If so, please give ne tips on how to get started on Arch, because I heard it is for more advanced users.

    submitted by /u/RC-3227
    [link] [comments]

    Wireless Mouse Not Working

    Posted: 04 Jul 2019 03:06 AM PDT

    Hello, I'm on Xubuntu right now and I can't get my Kensington wireless mouse to work. It is recognized by the system, I can even select it and change its settings in the "Mouse" section, however it is not responding at all.

    What can I do?

    submitted by /u/Banjo_192
    [link] [comments]

    How should I go about learning how to use Linux for data analysis?

    Posted: 03 Jul 2019 07:27 PM PDT

    So, basically, I just joined a lab for research experience. I've joined at literally the worst possible time because they're done with the experimental portion of it and have gotten relatively deep into their data analysis so they can't really teach me how to use Linux from the very beginning (in the context of the research). They're doing their best, but still. Even they have trouble with it occasionally, and I want to actually be able to contribute something eventually instead of being deadweight.

    How should I go about learning it, from the beginning? There are so many fricking commands and Idk how to use them or do basically anything. Thanks everyone.

    submitted by /u/lafilledeau
    [link] [comments]

    Asking for help, noob here

    Posted: 03 Jul 2019 10:15 PM PDT

    Hi, I'm a total noob, I just installed Fedora on my laptop with pre-installed Windows 10. The first time I restarted after installing Fedora my laptop still booted Windows automatically, then I tried to boot Fedora and the next thing I know I can't boot Windows again. Apparently I installed Fedora in legacy mode while Windows is UEFI? Is there any way to fix this? Do I have to reinstall everything?

    submitted by /u/avecenob
    [link] [comments]

    PlayOnLinux Wine Version System Version?

    Posted: 03 Jul 2019 09:33 PM PDT

    When you have a PlayOnLinux virtual drive that has the Wine Version set to "System". How do you check what the system wine version is?

    submitted by /u/trymeouteh
    [link] [comments]

    Ubuntu 18.04.2 graphics crash

    Posted: 04 Jul 2019 12:59 AM PDT

    Hello, so I recently tried installing fedora on my computer and got what it seemed like a graphics card crash, at first I thought I probably messed something up while installing it, so I tried with Ubuntu to see if that made a difference and got the same error. I find the error quite hard to reproduce consistently, it just happens randomly but it always does within a few minutes from booting, sometimes even before logging in. My monitor just freezes in a weird glitchy pattern and I have to physically restart the computer.

    So far I've tried updating the gpu drivers ,and I even ran a stress test on the gpu which went pretty smooth so I thought that was it, but a couple of minutes later it happened again. I also tried with different resolutions but it made no difference.

    Everything works just fine on windows 10, and even on a VM with the same ubuntu ISO file.

    This is the computer I'm using Desktop OMEN by HP 880-002la it has a Ryzen5-1600 and a Radeon RX 580.

    This is the monitor AOC e943Fws so I'm using an HDMI to VGA adapter.

    Any suggestions would be very helpful, thanks in advance :).

    This is what it looks like when it crashes:

    https://i.redd.it/98czpb4qt8831.png

    submitted by /u/m-herrera
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel