Linux - Reddit – Telegram
Linux - Reddit
756 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
how track OS update progress

Do you guys have an idea how to track OS update progress? Maybe a tool for it? I have an idea of writing a shell noscript or Ansible playbook just curios if there are implemented examples already. Maybe there is monitoring plugin (Cacti, Icinga, LibreNMS)?

Example:

January upgraded 15 servers from CentOS 7.7 to 7.9
February upgraded 46 servers from Debian 9 to 10

https://redd.it/l2qvb8
@r_linux
Linux on Big Iron

Running some basic tests for S3 object creation using some lab resources loaned to us after the main testing was done.


MINIO on a 16 IFL LinuxOne LPAR running Redhat is creating \~1600 64K S3 objects per bucket per second.

Being driven by 10 threads running on a Linux box that are doing S3 calls from Perl.

Looking at the disk (Flash storage) I/O backend I am writing a little over 1Gigabyte per second, thus hitting the line rate limit of the 10Gbit network as there is not significant wait time, only .2% Wait I/O.

Hoping to convince them to let me have another box or two to drive more I/O, preferably another ZLinux LPAR so I can use the LinuxOne frame network instead of 10G and see what the limit is.

https://redd.it/l2zmb8
@r_linux
What is your preferred audio interface?

There's Pulseaudio, sndio and PipeWire. Which one do you prefer and why? Which one do you think is the future of audio? (and video if you're talking about PipeWire)

https://redd.it/l1sknf
@r_linux
w530 thinkpad dual external monitor guide

Made a post a while back complaining about the external monitor support. Found anther cheap monitor on craigslist (5 bucks in walking distance from my apartment!).

Anyway I have a lenovo w530 thinkpad from waaaay back in 2013 that is still my daily driver. When I initially plugged in the monitor no dice, and it appears that the laptop has never worked well with VGA stuff as I tried plugging in my current external monitor (output from mini-DP to hdmi with dongle) as VGA also no dice. My next step would have been to confirm that the monitor/VGA cable worked but I was fairly confident that they were both fine (if you are not and are using this as a guide you NEED to check that they work)

Based on my known good monitor also not working with the VGA output I started ggogling and came across this post https://askubuntu.com/questions/1215784/why-can-t-i-use-the-vga-port-of-my-lenovo-w530-laptop-under-xubuntu-18-04 and the answer by Pizzasok is what fixed it for me.

You want to edit /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf and comment out (with a # at the beginning of the line) Option "IgnoreDisplayDevices" "CRT". As you may notice the 11-nvidia-prime.conffile tells you to not make any changes as they will be erased upon boot. Thankfully this is only a suggestion!

In order to disable gpumanager from updating the file back to defaults we have to modify the /etc/default/grub file. The post linked above says to add nogpumanager to the GRUB_CMDLINE_LINUX_DEFAULT line like so:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nogpumanager"

My existing grub config file already had something about intel in the quotes and it seems likej GRUB still let gpumanager run even tho I added it like so;
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=2 nogpumanager

No idea what that does or how it got there but I removed the intel idle so that it was just quiet splash nogpumanager and the changes made to the nvidia config file were maintained through a reboot so I'm happy with the end result.

Interestingly xrandr has always (and continues to) insisted that there is a VGA-1-1 output. But after completing the changes laid out above the monitor was detected at started displaying content as expected (under VGA0 according to xrandr)

https://redd.it/l1ez4e
@r_linux
Terminator question?

About a year ago I set up a terminator layout that just opens 5 windows with basic CTF commands against a designater IP address.

I was just going to save my config in github from the ~/.config/terminator/config file yet when I read it it for my CTF layout I cannot see the commands. However when I run the terminator -l CTF within my starting bash noscript, it runs perfectly.

Any ideas where I can find the full config which includes the layout or am I just being mad.

​

[[CTF\]\] [[[child0\]\]\] type = Window parent = "" order = 0 position = 2:2 maximised = True fullscreen = False size = 1862, 945 noscript = karti@kali-pt: \~ last_active_term = 58db53fb-a0cd-44e8-9f57-8558ee94d0a6 last_active_window = True [[[child1\]\]\] type = HPaned parent = child0 order = 0 position = 928 ratio = 0.49973074851911686 [[[child2\]\]\] type = VPaned parent = child1 order = 0 position = 470 ratio = 0.5 [[[terminal3\]\]\] type = Terminal parent = child2 order = 0 profile = default uuid = 891acf1b-0892-4d60-a4a5-c57bc77d005f [[[terminal4\]\]\] type = Terminal parent = child2 order = 1 profile = default uuid = 58db53fb-a0cd-44e8-9f57-8558ee94d0a6 [[[child5\]\]\] type = VPaned parent = child1 order = 1 position = 299 ratio = 0.3180851063829787 [[[terminal6\]\]\] type = Terminal parent = child5 order = 0 profile = default uuid = 75b8f5d1-becc-4f25-a03a-219332ac4fbe [[[child7\]\]\] type = VPaned parent = child5 order = 1 position = 310 ratio = 0.484375 [[[terminal8\]\]\] type = Terminal parent = child7 order = 0 profile = default uuid = b14f1f3f-a8ef-411d-b85d-5cdb87b348a4 [[[terminal9\]\]\] type = Terminal parent = child7 order = 1 profile = default uuid = 9c63a962-7cdb-40ae-8c50-17e5fc925426

https://redd.it/l38944
@r_linux
What DE would you recommend?

I'm building a PC for general productivity (coding, some video editing, schoolwork etc). I'm thinking of getting Manjaro because it's rolling release, what DE would you recommend? I generally favor GNOME but I'd like to hear more from KDE, Xfce and other DE fans.

https://redd.it/l37w71
@r_linux
what did windows do better than linux, that people preferred the one over the other?

hello, simple question : as far as i know, linux and windows coexisted at the same time. windows costs money and is closed source, linux isnt. so what was the incentive, the initial incentive for people to prefer win 95 f.e? didnt linux back then have a graphical interface? was it because windows had OFFICE ?

https://redd.it/l18cmv
@r_linux
My frustrating Linux journey

I am a MacOS daily user, and it’s the OS I grew up with. I’ve never liked Windows, and never will.

I have an old 2015 MacBook Air I wasn’t using, and decided to install some variety of Linux on it, part curiosity, part wanting to learn, part having a plan B OS in case Apple ticks me off enough. Important detail: this laptop does not have an Ethernet port, so the only option for internet connectivity is WiFi.

So, I began investigating, got some recommendations, and started learning some. I posted in this sub, and got recommended Ubuntu, Mint, Manjaro, and Fedora.

I tried mint first, and while getting it installed went smoothly, I had issues connecting the machine to WiFi. I know now that it’s because my laptop has a Broadcom WiFi card, for which the FOSS driver situation is a bit dodgy.

After getting some more help, it turns out mint has working drivers already in the default cinnamon ISO, and I just needed to enable it. After doing that, mint worked fine, and I used it a bit, but I just never fell in love with the cinnamon desktop.

So, I decided to hop around. I tried to try out Artix on a whim, but couldn’t even get it to boot from the USB. Figuring there was a good bit I had to learn before I could get that to work, I decided to just try another distro.

So, I decided to try virtualizing Fedora on my main machine. I had virtualized Windows 10 and Mint before, so I knew I could get it working, and I did. But I didn’t realize I didn’t give the Fedora VM enough resources to be “usable” and jumped to the conclusion that gnome wasn’t for me. That’s all my fault, and I see that now.

So, I decided to try manjaro. I forget which DE version I tried 1, but I couldn’t manage to get the WiFi drivers to work at all, so I decided to try another distro.

I decided to try Debian, and, surprise, I had more WiFi driver problems, and wound up borking my machine bad enough that I had to use the disk utility tool baked into the firmware to wipe the partitioned but otherwise blank drive.

After I got my machine working again, and put MacOS back on it to confirm I had unborked it, I decided to try Fedora again, figuring I judged it too quickly.

I got Fedora working, and decided I actually liked gnome, now that it had more than bare minimum resources available. But, once again, couldn’t get WiFi to work. I tried harder to get it to work, but accomplished nothing.

So, I decided to give Ubuntu a try. I went with the classic gnome Ubuntu LTS. After getting it installed, I found that it includes the WiFi driver I need, and got it working! Excited, I was trying it out for a few minutes, then a little pop up showed up, telling me an update was available. I just agreed and clicked update mostly to see how the update process goes on Ubuntu. After a couple minutes of it doing it’s thing and me leaving it be while it does, I get some error message which I didn’t read thoroughly. It told me in a pop up to run a certain terminal command I didn’t read manually to deal with it, so I just blindly did so, and it seemed to fix it, then it had to reboot to complete the update, so I did so.

After rebooting, I went back to checking out ubuntu. At some point, I opened Firefox to grab an image to use as a desktop background (not a fan of any that come included with ubuntu) only to discover I wasn’t connected to the internet. I went to try to turn it on, only to discover the little utility menu (top right, not sure what it’s actually called) looked the same as it did before I enabled the WiFi driver I needed. Figuring that was the problem, I went to reenable it, only to discover it wouldn’t let me, citing it needed an internet connection to reinstall the driver.

So, I figured maybe it could just grab the driver from the usb I had flashed it to, as that’s what I was told to do to get WiFi working on mint. This didn’t work, so I decided maybe a fresh reinstall could get it working again more easily.

I decided I’d try something else before that though, and decided to try popos. Aaaaaaand the WiFi card was once again
uncooperative.

And that’s where I am now. Next up for me is trying Ubuntu again, so let’s see how that goes.

 

Overall, this has been frustrating. I realize this is partly broadcom’s fault for not open sourcing their drivers, but I feel more distorts could at least include the non-free driver for those who would have no other option.

Out of all those distros I tried, only one, mint, worked properly. I like the idea of Linux, but I just don’t know if it’s really for me quite yet.

I’ll keep fiddling around and trying more distros, but I’m far less confident I’ll manage to find something I really like that also works well for me.

&nsbp;

And thus concludes my ramble about my experience with Linux. It’s been frustrating.

Edit: 1 it was manjaro kde, and I wasn’t a fan of kde

https://redd.it/l1dt3a
@r_linux
Android Application Penetration Testing

This is perfect for you as an introduction to Android Penetration for beginners and learn the tools and techniques of the industry. This project is focused on Android Architecture, Android Application Pentesting with Owasp top 10 Mobile Risk, Reversing android application, Static and Dynamic Analysis of android.

https://www.education-ecosystem.com/usamaazad13141/ZnrVw-how-to-use-netcat-in-ethical-hacking/BaobB-how-to-use-netcat-in-ethical-hacking-10/

https://redd.it/l0zopv
@r_linux
Art-in another Arch installer noscript

Archin bash arch installer : https://github.com/jackghg/Arch-In

2 versions: interactive or automatic.

There are a few limitations... lxde xfce only, no encryption.

For the wifi you are on your own :) I was about to implement it when they removed wifimenu so i gave up. What else should i write to not be too short ?

edit: the noscript should be arch-in

https://redd.it/l0ud2n
@r_linux
Running Linux on an Awesome Laptop

I moved over to Linux Fedora about 18 months ago because the laptop I was using just wasn't suitable for Windows 10. I really enjoyed the changeover and I'm pretty technically savvy and messed around with Linux a little as a kid. At the time I was running my own business and I found my workflow really changed using Linux compared to Windows, I can't really explain it but I just work differently when in Linux compared to another OS.

I purchased a Lenovo Thinkpad P1 Gen 2 about 12 months ago which of course came with Windows 10 Pro - I didn't want to risk breaking anything and so I happily used Windows until a few weeks when I realised that Ubuntu is actually an option on the ThinkPad P1 and so everything should theoretically work. I made the decision to go ahead and install Ubuntu - that was about a week ago and once again I have experienced a significant change in my level of productivity and the way in which I work.

I am now the Director of an organisation that undertakes OSINT investigations and similar duties. Many of my co-workers utilise Linux on virtual machines for both security and development reasons - as I told them I'd moved over to Ubuntu for my primary business laptop - we all kind of agreed that it was by far superior for investigations and law enforcement purposes over Windows or even iOS.

For me, Ubuntu is the perfect OS of which to launch and coordinate everything else. I spend a lot of time using an Android Emulator because we investigate Smartphone applications and once again I was taken back at how much better these Emulators run on a Linux-based platform.

I guess I was just really surprised at how well it all runs on my Lenovo P1 - I figured the slight issues I had with Fedora were due to the OS and it really looks like it was actually the laptop. I was hesitant in trying Linux on such an expensive machine - if I'd known it was like this I would have selected Ubuntu as a pre-installed option!

https://redd.it/l3d1rz
@r_linux
EBA (Eğitim Bilişim Ağı) support for Linux! (Technically)

Hello everyone! I made a EBALinux for the Turkish students who take online classes on this platform. The original program unfortunately forget Linux so I made a application with nativefier using npm. You will just need zoom and this application. This app will direct you to a lesson. Here is GitHub page link. However this project only supports Debian and Arch Linux for now. I might add RHEL support. Have good day everyone!

https://redd.it/l3d601
@r_linux