• Breaking News

    [Android][timeline][#f39c12]

    Saturday, February 2, 2019

    Linux Can't install Intel WiFi drivers on Manjaro

    Linux Can't install Intel WiFi drivers on Manjaro


    Can't install Intel WiFi drivers on Manjaro

    Posted: 02 Feb 2019 06:50 AM PST

    Hello. I just installed Manjaro, but I can't get the WiFi to work. I have an Intel 9260, which shows up as an unknown device in the hardware detection.

    I tried to install the driver manually by downloading a Linux version from Intel's website and following the instructions in the README. I typed the command into the terminal (sudo cp ~/Desktop/iwlwifi...34.ucode /lib/firmware) and there was no error. I restarted the computer, but it still does not work.

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

    A question about process UIDs and EUIDs

    Posted: 02 Feb 2019 09:08 AM PST

    If I understand everything correctly, each process has UID and EUID. UID of a process is UID of the user who started the process, therefore if we know process' UID we can find out who started it. EUID of a process determines with whose privileges that process runs. For example, if my UID is 1000 and process' EUID is 1000 then the process runs with my privileges. These are accessible through shell variables $UID and $EUID.

    Most often UID = EUID, but there are programs for which ones this is not true. The only way I know of to set UID and EUID to different values is using SETUID and SETGID (bonus question: is there any other way?). Binary file with SETUID set runs with owner privileges no matter who runs it while binary file with SETGID set runs with group privileges no matter who runs it.

    So I made a small experiment. I logged in as root and made a file, called test.sh, in /tmp/ directory with following contents.

    #!/bin/bash echo $UID echo $EUID 

    Obviously, this shell script prints its UID and EUID when executed. I gave it 04755 permissions (rwsr-xr-x). Also, since I was logged in as root owner and group of the file are both equal to "root".

    While still being logged in as root I executed the file.

    root@host # /tmp/test.sh 0 0 

    Ok, that's the output I expected. Since the root has UID of 0, UID shown by the shell script is also 0 and EUID is 0 as well since the program runs with privileges of the owner (root).

    But then I logged out of root and went back to being a normal user with UID = 1000. I tried to execute the script.

    user@host $ /tmp/test.sh 1000 1000 

    This is the part that I don't understand. UID is alright, but EUID should be 0 since the program runs with root privileges because of SETUID. But instead of 0 it is 1000, which is my UID.

    So... can someone please explain to me what is going on? Did I misunderstand something or do something wrong? Please help if you can.

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

    Can't boot into freash ubuntu installation: i get "no bootable devices" (i think it's some sort of secure boot issue)

    Posted: 02 Feb 2019 02:46 AM PST

    Hello,

    So the laptop is acer aspire n15w5. I've wiped windows and all the disk, disabled secure boot, installed ubuntu mate from usb drive, now when i reboot i get "no bootable devices".

    I tried selecting the allowed UEFI boot file from (EFI system partition)\EFI\ubuntu\grubx64.efi. in BIOS with no luck, even with shimx64.efi.

    EDIT: so i followed this guide and now i get GRUB but then a blank screen, i'll try reinstalling.

    EDIT2: so following EXACTLY the guide works. The laptop takes ages to load, trackpad doesn't work, the system seems pretty laggy... i have to say windows ran better

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

    How to make a script shared between several computers choose the correct file path?

    Posted: 02 Feb 2019 09:25 AM PST

    I share my scripts with myself in dropbox, but the file paths used for cat-ing or writing differs between the computers. Is there a «correct way» to make this work? Is this included in bash in some way, or do I have to construct a way myself?

    One thing I have thought about, but not yet tried, is to use some kind of "if/else" or "exclusive/or" construction to make something like: "if this is comupterA, cat one/file/path, if this is computerB, cat the/other/file/path". Does this sound stupid? I have also tried using variables in the scripts, and then add the variable names in .bashrc, but havent gotten it to work.

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

    Problems booting into single user mode?

    Posted: 02 Feb 2019 08:19 AM PST

    Im trying to boot into single user mode. When editing the grub menu, i see ro resume= however cant see a ro/

    Appending rw/ init=/sysroot/bin/bash does nothing.

    If i add single to the end of the entry it takes me into maintenance mode however not logged in as root.

    Am i missing anything obvious? On fedora 29

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

    nethogs interactive commands not working

    Posted: 02 Feb 2019 07:35 AM PST

    Dualboot Mint/W10 on SSD, using HDD to share data

    Posted: 02 Feb 2019 09:08 AM PST

    Hey, I'm building my first computer and started to make thoughts about the OS.

    I want to run Linux Mint 19.1 as my primary OS for everyday tasks, but also install Windows 10 for some games and MS Office. I'll use a 500 GB SSD for the OS. How would I partition them? 250 GB each? Or just a small partition for Mint (currently 40 GB is enough on my laptop) and the rest to Windows for game storage?

    How would I then share my HDD 2 TB between two systems? Can I just format it as NTFS and I'll be able to share data like music, films, documents?

    On the internet all I can find is suggestions to install Windows first but I never seem to be able to find a good scheme that I can use for my situtation.

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

    First time Linux dual boot questions

    Posted: 02 Feb 2019 07:00 AM PST

    So I'm probably going to try to setup a dual boot Ubuntu (win 10) for my first try of Linux pretty soon. I'm in the process of backing up files and such just in case when I have time.

    My ssd has 2 partisans, one win 10 the other for games (mainly team, alittle origin). I have a hdd for general storage.

    I'm not sure where I will create a partisan for Ubuntu as of yet (ssd or hdd) but I was wondering once it's up and running if in Ubuntu I'd be able to access the steam games already installed or would have to redownload them? I was also wondering if both os' s would have access and be able to add files to my storage hdd and my external HD?

    Thanks.

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

    Partition scheme for new Linux install

    Posted: 02 Feb 2019 08:22 AM PST

    Can you recommend a partition scheme for a fresh Linux install, probably Debian/Ubuntu/Mint? I would like to be able to reinstall a Linux distro with minimal disruption to my files.

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

    Second part on how you can best use angle brackets (< and >) in command line chains instructions

    Posted: 02 Feb 2019 04:28 AM PST

    How do you completely remove everything of a package and their dependencies?

    Posted: 02 Feb 2019 05:52 AM PST

    Often times when I install new packages, they come with dependencies. I install them via console or Synaptic Package Manager. The console and SPM would show the size of installed packages would take up on my drive. How ever when I remove them via console "sudo apt autoremove [package name]" or use the "Complete removal" option on SPM, they always show that the size freed on my drive is less than what is installed. I would search each and every dependancies that came with the package and still see a plethora of dependancies that lie about serving no purpose. Is there a way I can remove all of this automatically without breaking the system?

    Linux Distro: Parrot Home OS ( A debian based distro )

    Edit: The distro I'm using

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

    Unable to see storage device unless I unmount it and remount it after boot. Why? Permissions issue? How can I make sure it mounts and is accessible like my other identical SSD storage device?

    Posted: 02 Feb 2019 10:38 AM PST

    I have 2 SSD drives on my system that I use for storage. One of them mounts automatically and is available for use on boot. The other one also mounts but when I try to access the contents it says that it is not available. If I unmount it then re-mount it then I can access its contents. Any idea why it would do this and what I can modify to fix?

    OS: Mint 19.1 MATE

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

    Why aren't rtlwifi_new and rtlwifi_new_extended included in any of the distros?

    Posted: 02 Feb 2019 06:34 AM PST

    Over the past few days, I have switched between a few distros, and each time, I had download the rtl8723de WiFi driver card after installation. Why don't the Dev teams just include it in the installation files? Even nvidia proprietary drivers are made available during installation, so what's really the issue here?

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

    Thinking of switching to Debian after less than a year of Ubuntu. Any practical tips, pointers, things to consider?

    Posted: 02 Feb 2019 05:08 AM PST

    I've got a Lenovo Ideapad 120S-14IAP. I'm kinda new to Linux, but I used to study at a technical institute where half of the computers ran a Linux distribution. I also ran Lubuntu on an old laptop for about a year before this.

    I'm just wondering if there are things I can do to smoothen my transition, installation tips, pointers on the basics of Debian, etc.

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

    Would cron(0 0 13 * 5) run at every Friday the 13th?

    Posted: 02 Feb 2019 06:07 AM PST

    or every Friday and 13ths? Is this even a vaild setting?

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

    WIFI360 dongle not connecting wifi with Linux.

    Posted: 02 Feb 2019 06:02 AM PST

    How do i install Waterfox on Solus?

    Posted: 02 Feb 2019 06:36 AM PST

    Home server without outside connectivity

    Posted: 02 Feb 2019 12:29 PM PST

    Hey guys, Im not sure if this is an appropriate place to ask this but you haven't failed me before and tend to be really nice. If you do know where I should post this let me know.

    I've tinkered around with ftp and ssh servers with Linux, port forwarding, etc, for a while. My question is if you can set one up only for your local users, people connected to your router, without having the router connect to the outside world. If you can, any tips on how?

    Thank you

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

    Dwm spawn function

    Posted: 02 Feb 2019 01:43 AM PST

    Hello guys, I'm currently using dwm, and I would like to change the way it spawns windows: I want them to spawn in stack area, not master. Do you know if there's a way or do I have to change the code myself?

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

    Origin Laptop Linux Question

    Posted: 02 Feb 2019 12:12 PM PST

    I keep trying to install linux on my origin laptop, and was wondering if anyone else had a problem or a solution. I tried fedora, ubuntu, and mint. I am going to try openSUSE next, but don't have hope that it will work. I have been trying to do this for a few days now and tried everything for each of these distros to get one working at least. Any help would be amazing, thank you.

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

    Many problems with new Ubuntu install

    Posted: 02 Feb 2019 11:38 AM PST

    I just started dual-booting Ubuntu 18.04 alongside Windows on my laptop, and I'm having many problems. Firstly, my touchpad isn't working. I've tried the common advice to run "less /proc/bus/input/devices" and it isn't listed. Does that mean I have to do without it? Might another distro support it?

    Next, everything runs slow despite my laptop having pretty good specs. It has an i7-7700HQ and a GTX 1060. On Windows, everything runs very fast. I'm not expecting it to be just as fast as windows, but it is very slow. And the battery drains very fast on Ubuntu. 100% might get me an hour. On Windows 100% might get me 4-5 hours. Are there any fixes to these problems?

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

    Wifi not working

    Posted: 02 Feb 2019 02:24 AM PST

    I am on Ubuntu budgie. The wifi card was fried so I got it changed. It is now this ( http://imgur.com/gallery/oIgSEop ) . It is able to connect to the router but unable to connect to the internet. Although it works perfectly with my android phone's hotspot .

    http://imgur.com/gallery/9b6GLmG

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

    Thinkfan on P52

    Posted: 01 Feb 2019 08:45 PM PST

    I always get "modprobe: FATAL: Module thinkpad_acpi is in use" even after I restart my laptop. I'm also not sure what to change in the config file. I tried following some online guides but I can never get it to work. Any help would be appreciated. I use psensor to monitor temps and the fan never seems to turn on. The bottom of my laptop gets very hot

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

    Cron not starting a GUI program. Help!

    Posted: 02 Feb 2019 05:10 AM PST

    so I'm testing the latest Raspbian VM from osboxes.org, for VirtualBox. I spent 3 hours already trying to fix this problem.

    I've learned that cron needs to know the "display" I'm currently on but I've tried it all.

    So this is a copy of my crontab -e, it needs to run script1. (Also tried removing 'export' but no luck.

    @reboot export DISPLAY=:0 && /bin/bash /home/pi/Desktop/script1

    script1 is a very simple 1 liner.

    #!/bin/bash
    xpdf -fullscreen /home/pi/test.pdf

    also tried

    #!/bin/bash
    export DISPLAY=:0
    xpdf -fullscreen /home/pi/test.pdf

    I know this has to do with cron running a gui program, but I'm lost at this point. I have a raspberry pi that runs a script at reboot and its been working fine for more than a year, but this time I need a pdf to be displayed at all time so I do need xpdf to work.. I can copy and paste export DISPLAY=:0 && /bin/bash /home/pi/Desktop/script1 to the console and It works! but not with cron. I also tried crontab -e with no luck.

    Should I test this directly in the physical raspberry pi or theres a way around it and test it with Virtualbox.

    Thank you

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel