• Breaking News

    [Android][timeline][#f39c12]

    Sunday, July 29, 2018

    Linux How to reuse an old Laptop?

    Linux How to reuse an old Laptop?


    How to reuse an old Laptop?

    Posted: 29 Jul 2018 01:56 AM PDT

    Paste Command Explained With Practical Examples in Linux

    Posted: 29 Jul 2018 06:36 AM PDT

    Testing out Kubuntu

    Posted: 29 Jul 2018 12:02 PM PDT

    Hi. I've been planning for weeks already to make the switch to Linux after purchasing my 2 month old laptop. Though I'm fearing that there might be some possible incompatibilities with my new laptop (Asus Vivobook, quite a new model I think. Can this be a problem?).

    I'm going to test stuff first via a live usb boot to make sure the relevant stuff works. Can you guys suggest me a small checklist?

    First, the obvious stuff: sound, wifi, the multi-touch features of the trackpad, YouTube/twitch video playing. What else?

    Also, would I go fine with Kubuntu as a new linux user? Chose Kubuntu over Ubuntu and Mint because of the better UI(imo).

    I really want to make the switch. But I definitely don't prefer having an unproductive day just because Linux didn't work well and I'd have to spend the whole afternoon reinstalling windows and setting things up.

    submitted by /u/MostPalone-
    [link] [comments]

    Question about job opportunities

    Posted: 29 Jul 2018 09:55 AM PDT

    Hello everyone, sorry if this isn't the right place to ask this.

    Anyways, around 9 months ago I got my Linux pro certification through testout. Besides needing to brush up a bit on the command line, would there be any employment opportunities with just that certification under my belt? Aside from tinkering with my computers I don't have IT experience otherwise. I am in the beginning of my colleges cyber security program.

    Well any help is appreciated. And again, sorry if this is the wrong place to ask this. Thanks for reading.

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

    How to use my Raspberry Pi 3 B as a WiFi card

    Posted: 29 Jul 2018 08:17 AM PDT

    Hello,

    I would like to try to use my Pi as a WiFi card because my desktop does not support WiFi and the only Ethernet I can get is through powerline which is only around 20mbps. The WiFi speed in my room goes up to about 200mbps, and while I think the Pi can only support half of that, it's still much better than 20mbps. Since my Pi is running a version of Linux (Raspian), I was wondering if anyone could help me achieve this. I am not very familiar with Linux so perhaps it is as simple as installing a program or altering some settings, but I would very much appreciate any assistance you can give.

    Thanks.

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

    Dual booting on a SSD.

    Posted: 29 Jul 2018 09:11 AM PDT

    got a new laptop a little bit ago, and it has windows 10 on it.
    I'm pretty good with linux (have my first LPI cert, and working on some RH stuff now) but I've never had a SSD before this computer and I've heard that people run into performance issues when partitioning a SSD for dual-boot purposes.
    Has anyone had this experience before?
    If that's a valid concern, then I'll probably just wipe the whole drive for Linux, but I'd like to keep both if possible.
    Just would like to hear from some others before I do anything.
    Thanks guys :)

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

    C - Unable to unshare PID namespace

    Posted: 29 Jul 2018 10:20 AM PDT

    Hello

    Long story short, I am trying to do operation system virtualization. To do so I unshared the mount namespace and PID namespace of a parent process and then forked. Yet when the child process tries to execute some command I can see there are many other PID's although I did unshare(CLONE_NEWPID)

    This is my code:

    #define _GNU_SOURCE #define CLONE_NEWNS 0x00020000 #include <errno.h> #include <sched.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mount.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> int main (int p_argc, char *p_argv[]) { int l_pid = -1; int l_status = 0; if (p_argc < 2) { fprintf(stderr, "Not enough input parameters given."); return -1; } l_status = unshare(CLONE_NEWNS | CLONE_NEWPID ); if (l_status == -1) { fprintf(stderr, "An error occured %m.\n"); return -1; } l_pid = fork(); switch(l_pid) { case -1: fprintf(stderr, "An error occured.\n"); break; case 0: if (execv(p_argv[1], &p_argv[1]) == -1) { fprintf(stderr, "Error when executing %s", p_argv[1]); } break; /* Parent */ default: { int l_status = 0; waitpid(0, &l_status, 0); fprintf(stdout, "This is the parent.\n"); break; } } return 0; } 

    I run this code as follows: sudo ./exec /bin/bash, I can see this is being executed because my terminal then suddenly changes from username@abc to root@abc. But when I type pstree, I can see that there are many other processes running and /bin/bash hasn't the pid 1. Yet the manpages state:

    CLONE_NEWPID .... The first child created by the calling process will have the process ID 1 and will assume the role of init(1) in the new namespace. 

    Could someone tell me why I see all those other running?

    Thanks

    For those who want extra reputation points on stackOverflow: https://stackoverflow.com/questions/51541575/linux-c-unable-to-properly-unshare-pid-namespace

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

    How to install the Final Distro...?

    Posted: 29 Jul 2018 06:33 AM PDT

    OK, that sounds drastic. But that's what I'm feeling like I need: advice on how to install a distro that will last long term for me without falling into disuse due to my own stupidity and awkwardness.

    Save for over a decade ago, all my recent linux experience is in a virtual machine. Roughly put, it is because most of my work is in Windows, I like being able to switch to Linux when the moment demands it (cross-compiling OSS software and such) but at the same time I feel kind of pissed by the lack of (graphical) performance whenever I need to switch to a GUI app.

    Additionally, my hoarding ways have a habit of me under-assigning disk space and having to juggle my face into a brick wall whenever I want to get a little bit more done. Linux eats so much more disk space than way back when, and I have consistent under-sized the size of the VM despite increasing the size every single time.

    So I just want to bite the bullet; I'm clearing out my old 'retired for emergencies' Windows 7 SSD that I haven't actively used for over a year and am willing to dedicate it to Linux as a whole. That should fix both my I/O and space problems.

    Which would bring me to the next two problems: what distro, and the best of both worlds. Leaving the distro itself for last, what do I mean by the latter?

    I would like to set up the possibility to dual-boot as well as boot into it from VirtualBox. But between my own rustiness (possible UEFI problems that weren't a thing back then, possibly bricking my only remaining Windows (10) install, etc) and what partition layout to put on that SSD (this is not a spinning platter so I expect best practices have evolved), and how to go about installing in what order, and more of that stuff... I definitely admit to being an utter noob playing with a loaded gun. (At the very least I assume sticking it in a file on a NTFS volume is not an option, be it for performance or otherwise.)

    Some googling was done and I found various sources so I know it is possible, but their approaches are relatively distro specific or even outdated, so given my perchant of shooting myself in the foot I'd rather rely on the community here to point me to a source that is still dependable and current... especially given the topic that I left for last.

    What distro? Young me played with many versions of Slackware, installed Gentoo once or twice and played with some other ancient distros... but my recent experience has been almost solely Ubuntu, mostly due to the ease of access. But to say I'm happy with it? Not really. I can't quite vocalize my dislike, especially given how tainted any performance-related argument has to be with running it as a VM, but it is a fact that it has been gathering dust for nearly a year at this point. So maybe there is a better choice for me today.

    I like the concept of upgrading relatively easily for security patches or new distro releases (although that should never be a problem on Linux with its good separation of user files) and generally having the fussy things taken care of. I am not opposed to it being more difficult or intricate in many aspects, but at the same time, I don't want to have to configure and build my entire desktop environment for scratch while living with the lack of good easy-to-use packages. Given my dualboot-plus-vm aim, I don't think a self-built slimmed-down kernel is ideal for my situation either.

    My primary uses for it are cross-compiling OSS software and working on a hobby project that goes into the freezer every so often until I feel like taking it out again. Hobby-wise, I like to fuss around with security tools to do some amateur-level pentesting of my own network, but that's hardly something to take into account for real.

    Summarized:

    Got 220GB SSD to give Linux. What order to install in? How to partition, if that is best? I'd like to dual boot but also run in a VirtualBox VM, depending on my needs.

    Is Ubuntu still a good choice for what I want? Or is there something better?

    What is the best up-to-date guide to follow with making this whole situation possible? Assume I am stupid and capable of being an utter noob at times; I surprise myself almost daily at Murphy's many blessings.

    That said, I'm not a complete noob at linux, but I might as well be when it comes to this scenario. I can likely handle any in-the-moment errors that come up with minimal help, but I lack the greater picture on virtually all levels to figure out the road to take before that.

    Sorry for the rather long post, and thank you all for reading and sharing your thoughts and opinions on how I can best proceed. :-)

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

    I can haz Linux Phone?

    Posted: 29 Jul 2018 01:59 PM PDT

    I know it's technically possible, and that the Android OS is linux-driven (I think, i'unno), but I'm wondering of the practicalities. I wanted, just kinda as an exercise I guess, to try creating a phone ( my wife has a BLU phone she just replaced that's perfectly functional) that would boot and function like a PC. What's a good place to start reading/researching? I don't want the phone to function as a phone, but more like a tablet I guess. Like I said, I'm just curious, exploring Linux and how it works via hands-on experimentation.

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

    trying to run a bash command at boot with a raspberry pi, nor rc.local or cron working

    Posted: 29 Jul 2018 01:33 PM PDT

    Hello, im having an issue trying to run a command at boot, tried @reboot nohup python3 path/py.py &

    and also creating a bash file with the python start (Correctly working) and starting the sh from cron and rc.local, but it appears neither of these are working

    Is there any other way to try to run a script at boot?

    I also tried adding 30 seconds sleep before running the command in case it needs something to start before

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

    I'm logged in as root user. Idk if that's a good thing or not but I'm trying to update my browsers.

    Posted: 29 Jul 2018 12:41 PM PDT

    I did apt-get update and it updated a lot of items but my browsers need to be updated it says from the terminal it can't locate packages chrome Firefox or opera. I have chromium and Firefox esr. When I try to download chrome the bottom download tab will say insufficient permissions.

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

    Battery Information - DSDT

    Posted: 29 Jul 2018 08:31 AM PDT

    Hey

    My Battery information is not displaying. I've tried most solutions online but getting no where.

    I feel like it is something linked to ACPI and DSDT's?

    I feel a bit lost and could do with some help!

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

    Install programs to a select directory

    Posted: 29 Jul 2018 04:16 AM PDT

    Hi,

    I got a question regarding the set up of a new PC: Is there a way to change the directory to which new programs will be installed? I have an SSD in my machine that I would prefer to use for the OS and maybe a few select programs only. Due to size limitations on the SSD, I would like to install other programs (specifically Wine, Steam, games, etc) to my HDD instead.

    What I found so far is that the installation directory is dictated by my package manager and can not be changed by me. I have also found the recommendation to install my games on a different partition than my OS so that if I need to reinstall my OS, I'm not going to lose my games. Being the noob I am, I am confused by these two seemingly conflicting pieces of information.

    So, is there a way for me to install more space-heavy programs on a different partition/hard drive than my OS and if so, how do I go about that?

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

    How can I update the minimal base system (installed wo ethernet) over wifi?

    Posted: 29 Jul 2018 10:11 AM PDT

    I did a debian linux USB boot using a disc image... the problem is, I live in a place where I can only get internet over captive portal wifi. So I continued the installation without internet since that was my only option. But now on reboot, it seems that I am seeing a lot of errors such as 'platform device creation failed', not to mention none of the extra commands work and no packages are available (makes sense, since I wasn't online.)

    So where I'm at is the black screen terminal, and I can't really do anything. I would like to know how I can get online and update all of these packages - is that possible over captive portal wifi, or is my machine pretty much braindead until I get a wire?

    OR alternately: is there a way to download an archive from a Windows PC of the debian packages onto a USB, plug that USB into my offline terminal system, and install them?

    Thanks

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

    Grub not working

    Posted: 28 Jul 2018 08:05 PM PDT

    Edit: Was able to solve my grub issue via this. However, now all my partitions are listed, is there a way to just show Windows or Linux?

    Hi, new to linux, and used to use Antergos and just ported to Kubuntu.

    So, I installed it the same way as I did with Antergos which is the following. Also, I have an SSD and a HHD. SSD contains windows 10 and HHD I use for storage and would like to incorporate the linux system as well.

    With antergos I was able to do this, and dual boot.

    However, w/ Kubuntu it seems like grub doesn't work and automatically boots into kubuntu.

    Installation process is as followed:

    1) Remove wires leading to my SSD.

    2) Reboot device with bootable USB containing Linux

    3) Go through installtion process and manually partition everything.

    4) 16GB for root and swap. 35GB for EFI (assuming that's for boot since installer would pop an error up. And change the default bootloader installer to the efi one. Remaining space went to home (roughly 250mb)

    5)Installation is successful and using kubuntu right now, but unable to access windows at all which I would need.

    Was my installation process incorrect? If so how do I make it where it's set up like my previous set up w/ Antergos (SSD for windows, and HHD for files needed/used on windows and linux)?

    Thanks.

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

    [Arch] CodeLite not opening

    Posted: 29 Jul 2018 09:26 AM PDT

    I am using Arch and GNOME 3. I installed pacaur in order to install AUR packages. It has been working fine for everything else, so I don't think it's the problem.

    I've recently tried installing CodeLite with it, and the install finishes without any apparent problems. However, whenever I try to open CodeLite, my mouse shows the "Loading" symbol for a few seconds and then it stops. CodeLite appears on GNOME's top bar while the symbol is active, but it goes away with it. I manually installed wxWidgets beforehand, and the log says it recognized it.

    Is there anything else I have to do before using CodeLite? It doesn't even create ~/.codelite, for example, which was the cause of the cause of this same problem for someone else. If I type cd ~/.codelite, it says the directory doesn't exist.

    I might be missing something obvious, so forgive me if that is the case.

    Here is the log of everything that pacaur tells me from the initial pacaur -S codelite to the end: https://pastebin.com/MgpTyPuE

    It says "reinstalling" because I had already installed it with pacaur previously twice, and it failed both installs, so I installed it for the third time to get the log.

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

    NCMPCPP use

    Posted: 29 Jul 2018 09:22 AM PDT

    Hello, first I need to extend a HUGE giganormous thanks to those who helped me setup MPD. You guys are gods. Now onto NCMPCPP. So I started using it and love it, have many questions some about customizations but first lets get use down. I was reading this: https://rybczak.net/ncmpcpp/ but was having issues finding the answers to my questions. So first, is it possible while in the Media Library section how do I shuffle between all songs from all artists? Second, if the first option is not possible how do I add all my songs to one playlist? Once that is done how do I save the playlist? and when I add a song to a playlist does it make a copy of the songs or does it just add it to the playlist. Thank you all again

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

    How to set up partitions during Ubuntu 18.04 dual-boot with Windows 10 Pro?

    Posted: 28 Jul 2018 11:29 PM PDT

    The title kind of sums it up. I have 100 GB of unallocated space on my SSD that I want to put Ubuntu 18.04 on.

    When it comes to choosing the install option, I've read in several spots that using "Install Ubuntu alongside Windows Boot Manager" can be a little risky and dangerous, and that choosing "Something else" and setting up the partitions manually can be cleaner and safer.

    But I've read a lot of conflicting stuff on how to set up those partitions. Some places say I can just partition all of the unallocated space for root (/), others say to leave about 30 GB for root and allocate the rest as /home, and still others say to add a /swap partition on top of that.

    In addition to not being totally clear on what all of these partitions mean and what they do, I'm not totally sure on which advice to follow. I was hoping you guys could help me out here. Which partitions should I create in my unallocated space and how much should I allocate to each partition? Or is using Ubuntu's automatic option actually better?

    Thanks for your responses.

    (I'm about to head to bed, so I may be unresponsive for a while.)

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

    Longtime Windows user thinking of using Linux as daily OS Part 2

    Posted: 29 Jul 2018 08:55 AM PDT

    So about two months ago I made this post here and after trying different distro through VM I decided to settle on Mint, I'll keep my reasoning to myself but I nearly went for Manjaro but the lack of a proper Discord desktop app sent me to Mint in the end. So has some of you might remember by seeing my first post English is not my main language so I'm sorry if some part of my post might not be well phrased.

    So now as I had stated in my first post that I wanted to dual-boot well I'm now dual booting with Win10. Everything works well on both side though whenever I boot in Win10 after being on Mint the Win10 clock doesn't have the right time. Not sure if something can be done if not it's not so bad to change the clock if but a slight hassle.

    Now the biggest question I have is, would it be possible to have both OS access and store files on a partition or separate drive? I want to have my pictures, musics, and videos to be usable in both OS without having to keep them in folder accessible only to a specific OS. Though I will do if too complicated or not recommended to do what I'm trying to do. I did buy a new HDD for Linux and partitioned 500Gb for it and partitioned the 1.5Tb or so left in ext4, as when I did the partitioning it was the easiest to do, now I read enough that I know windows won't be able to read files from it and I should probably set it to NTFS or something that both OS can read and write to. Also would it be possible that both OS auto-mount this partition and to have either Mint or both OS use the folders in this partition as they're primary folder for these different things?

    Thank you for reading this and have a good day/evening/night.

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

    Lightweight distro

    Posted: 29 Jul 2018 08:49 AM PDT

    Hi! I have an old EMachines EM-350, 1Gb RAM and an Intel Atom. I want to install a light distro to learn Linux, or run it as a small server. Can you recommend me such a distro? I used Lubuntu and it didn't liked it very well.

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

    Best Desktop Environment for a Macos look?

    Posted: 29 Jul 2018 04:56 AM PDT

    Hi there. I have a few questions, thank you for the help!

    I'm planning on setting up Linux Mint on my computer, and as of the latest version there are a few stock options for a DE: Cinnamon, XFCE, and MATE. Which of these would be best for customizing the appearance to match/outdo the MacOS look? (I really like partial transparency!)

    I've used Cinnamon and XFCE from Linux Mint before, and on XFCE I was able to recreate most of everything I wanted but I hear that XFCE lacks compositing effects, and that the stock file manager is lackluster. I also had a difficult time finding and applying themes. I've also had issues with the stock audio manager. On Cinnamon, I'm sure I could also replicate the MacOS look and feel - however, moving and rearranging windows was not at all smooth, even with my monitor running at 120Hz and with powerful hardware. I simply couldn't figure out how to fix it and I don't recall having that issue on XFCE. I haven't tried MATE.

    I've heard that you can install any DE you want - are there drawbacks to this? Will I have more bugs and issues if I do this? And if I do go a more custom route with installing a difficult DE and file manager, what would you suggest for my goals?

    Thanks for the help!

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

    Ubuntu cannot access the partition made for it. Did my dual boot system install correctly?

    Posted: 29 Jul 2018 06:52 AM PDT

    Hi there.

    I am on a laptop with a 1TB HDD. This is the first time in my life that I am using a Linux distro. I read the tutorials on Lifewire and Ubuntu website and created a dual boot system with Windows 10 and Ubuntu. My plan was to give Windows 500GB of space and Ubuntu the other 500GB. The goal was that the Windows side would have two partitions, one 100GB for C drive and another 400GB for storing games. The Ubuntu side would have a 50GB partition for Ubuntu while another 450GB partition will be kept for regular data. The Ubuntu side and all the Ubuntu partitions would be encrypted. The Windows 10 would be used only for games and the Ubuntu would only be used for personal work that requires security.

    Now, I installed Windows 10 first. During the Windows installation a 419GB partition was created for my games and the rest 80GB went for various Windows 10 system partitions. The rest 500GB or so was unallocated space. I then installed Ubuntu. During installationo I chose "install alongside Windows" since the customizable option at the bottom had too many "code like syntax" like /sdev etc which I did not understand. The tutorials showed that there would be a partition shrink option and an option for encryption none of which was there.

    After the Ubuntu installation, I am confused now. On the files menu, three partitions are shown. Two Windows and another one called Computer that has 476GB. There seems to be Ubuntu system files on Computer but I can't create new folders or copy paste files there. However, I can access, modify and write to the other two Windows partition from Ubuntu. There is also no encryption.

    I am a total newbie and I am overwhelmed and confused. Can someone tell me whether Ubuntu installed correctly? If so, where are the Ubuntu partitions?

    Also, why can't I write to the Computer partition? What can I do to get access there?

    fdisk comman output:: https://pastebin.com/7KjJYFaK

    disktools screenshot: [can't upload it on Imgur]

    PS: I am the individual who posted before here. The password file got deleted somehow during installation, so I opened a new account. I was told to post fdisk output and these are in the links above. Also, English is not my native language and I am very unsavvy when it comes to tech, especially this is my first foray into Linux. So please explain like I am five.

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

    Solus or RHEL or any other distro ? Major help needed

    Posted: 29 Jul 2018 06:32 AM PDT

    I'm currently persuading a course of RHCSA (Red Hat Certified SysAdmin), I did study alongwith the class but have to revise and do everything from scratch, so my question here, is Solus a good alternative over RHEL or Ubuntu(ofc xD) or Kali since I'm a beginner and have to learn Linux via terminal mostly.

    P.S. And please give me tips how to study for it, I'm a bit stressed xD

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

    Steam doesn't launch civ5 (yes I have steam-native)

    Posted: 29 Jul 2018 06:25 AM PDT

    I just installed Civ5 via steam on my Manjaro system but it won't start. I already have steam-native installed, tried with both enabled and disabled runtime and all the previously installed games are working fine. (At first they didn't start either.) Am I missing something? Help please.

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

    Phoenix OS - bootable USB?

    Posted: 29 Jul 2018 05:44 AM PDT

    Hi all, I'm trying to install Phoenix OS http://www.phoenixos.com/en/download_x86 on a Linx 1010 Intel Atom Baytrail laptop/tablet, It's not as straight forward as flashing the ISO to the USB, I've tried Etcher and dd which worked but still the PhonenixOS is unbootable. I'm obviously missing something!

    Has anyone successfully installed this using Linux ? If yes please help.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel