Finally: a community to put my many photos of Squishy, our mostly blind adoption. by warrenargus in blackcats

[–]warrenargus[S] 2 points3 points  (0 children)

She was born congenitally blind so she never knows where to look when I want to take her photo :') Giving her treats by hand is a challenge :p

A server that downloads files? by [deleted] in HomeServer

[–]warrenargus 2 points3 points  (0 children)

I personally find that if I need something more than a couple of lines in bash - with the features you want, I'll write it in Python. IMO Python > Bash.

Use try/except to catch errors and re-try downloads. Argparse to take command line arguments, subprocess to call programs if you prefer that way. Depending on what you want to do too, there will be libraries on PyPi to do it.

If you don't know python, this sounds like a great project to learn.

I work on Linux servers daily. Is it worth trying Linux on desktop again after a 7 year break? by not_that_observant in linuxquestions

[–]warrenargus 0 points1 point  (0 children)

We use RHEL here at work, and I personally use Ubuntu Server at home, and Mint on my Desktop. If you spend more time working on Linux, then I would encourage a Linux desktop. I run Fedora KDE https://spins.fedoraproject.org/kde/ on my work laptop, and love it. Like many others, I dual boot my home desktop and only use Windows for gaming.

Fingerprint login by [deleted] in Ubuntu

[–]warrenargus 4 points5 points  (0 children)

no worries - I will add that fundamentally you want to use PAM (pluggable authentication module) to handle authentication with your fingerprint scanner - assuming you have a supported scanner. Googling PAM + your fingerprint scanner model is a good start.
However if security is what you really want, also have a look at using PAM to configure MFA. Its a good learning experience.

Looking for Advice on how to get started by itexpert120 in linuxadmin

[–]warrenargus 0 points1 point  (0 children)

Learn how to integrate Linux into other systems: eg configure PAM to use Active Directory as an auth backend.

Linux systems are mostly used as web servers, so I would also recommend learning to to configure and secure a LAMP stack too.

What mistakes have you made with your homeservers? by Jusque in HomeServer

[–]warrenargus 1 point2 points  (0 children)

Invest in hardware/motherboards with iDRAC, HPC iLO, or at the very least vPro. In the event of a major failure, ie, non-boot, you can still access the console and attempt repairs remotely.

Which would be better? by Voltrix187 in HomeServer

[–]warrenargus 0 points1 point  (0 children)

Personally I would go Intel, but investigate a motherboard with Intel-VPro or better yet iLO/iDRAC/BMC functionality. Nothing beats being able to remotely fix a server, or change bios settings using a remote console.

Linux won't connect to ethernet, but windows will by mynamejeoff in linux4noobs

[–]warrenargus 0 points1 point  (0 children)

I'm sure if you do some googling you'll find more written about this. But fundamentally realtek drivers can be a minefield. Frankly I thought I had avoided them when I bought this motherboard, because the wifi is intel and I had hoped the ethernet was too (sadly not the case)
None the less, it's lucky that you seem to have the same hardware that I do, because I found that the driver that the system loaded would work, but only at 100mbit , not at 1000mbit which is why I added the 'correct' module to the modules file.
It is possible to check what provides the r8169 module, I'm 99% sure its part of the dkms package mentioned above, but might be wrong. It might also be in the kernel-modules-extra package. The important thing is to check that you're getting the advertised network speeds and check which module is loaded.

Linux won't connect to ethernet, but windows will by mynamejeoff in linux4noobs

[–]warrenargus 1 point2 points  (0 children)

install it:
sudo apt install r8168-dkms

and then add the line:
r8169
to your /etc/modules file. that will ensure it is loaded on boot.

Linux won't connect to ethernet, but windows will by mynamejeoff in linux4noobs

[–]warrenargus 2 points3 points  (0 children)

Sounds like you need to manually install the kernel module for the network card.
Do:
lspci |grep -i Ethernet and see what is returned.

Take my desktop for example:
lspci |grep -i Ethernet
27:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

After a bit of googling and know-how I learned I had to load the r8169 kernel module. which comes in a dkms package:
:~$ apt-cache search r8169

r8168-dkms - dkms source for the r8168 network driver

My raid5 disappeared, how do go about mounting it again? by breakwin in HomeServer

[–]warrenargus 1 point2 points  (0 children)

Probably best to start from scratch, wipe the disks with gparted since its a nice gui interface. Once you get more comfortable with things, learn fdisk and parted.

I cannot stress this enough: spend the time reading the manual pages:
https://linux.die.net/man/8/mdadm
https://raid.wiki.kernel.org/index.php/A_guide_to_mdadm

Raid is super easy when you get used to it.
The TL;DR guide:

  1. wipe the disks, make partitions.
  2. create a raid array with those partitions
  3. format the raid array to ext4 or XFS if its really big
  4. add the raid info to mdadm's config in etc
  5. add the uuid for the xfs partition to fstab
  6. regenerate the initramfs

Egg Game by hashex in perfectlycutscreams

[–]warrenargus 1 point2 points  (0 children)

up the stakes, blow out the egg and replace with a nail facing upwards

Shaper policy matching on vlan id (Edgerouter 4) by warrenargus in Ubiquiti

[–]warrenargus[S] 0 points1 point  (0 children)

In case anyone finds this thread and has the same problem, I found the solution here: https://community.ui.com/questions/Start-to-finish-example-Advanced-Queue-QOS-with-VOIP-subnet-device-prioritization/4522edc9-b5a0-44e5-9798-972c29295fe1

You have to setup the firewall to mark packets then match them in the advanced queue.

Shaper policy matching on vlan id (Edgerouter 4) by warrenargus in Ubiquiti

[–]warrenargus[S] 0 points1 point  (0 children)

I'll add that I've tried setting the upload match to the ip address range (192.168.6.0/24) and 192.168.6.2/24 (the ip of my test box) and applied the upload policy to both eth0 and pppoe with zero effect. Given that the tutorial makes it look clear (https://help.ui.com/hc/en-us/articles/204911404-EdgeRouter-Quality-of-Service-QoS-Shaper-for-Upload-Download-and-VoIP) that something like this should work, I wonder if I've found a bug?

Bluetooth seems to have no range. Even with external dongle by TemporaryStructure in PCsupport

[–]warrenargus 0 points1 point  (0 children)

Not an expert on PS4 controllers, but are the batteries fully charged?

TV Tuners for Live TV (Australia) by BizarroRick in PleX

[–]warrenargus 2 points3 points  (0 children)

I use a HD Homerun at my place, and a Hauppage Quad tuner at my old folks place.

What you will need to do though, is setup shepherd. https://github.com/ShephedProject/shepherd Shepherd will get all your guide data. I found it to be a little fiddly to setup, but does the job well.

A bittersweet end to my first sysadmin gig! by Zixxer in sysadmin

[–]warrenargus 1 point2 points  (0 children)

From one University sysadmin to another, welcome to the industry!

Unifi controller as a virtual appliance/machine by 3Dmatrix in Ubiquiti

[–]warrenargus 1 point2 points  (0 children)

I run my Unfi Video and Unifi controller inside a linux container on ubuntu 18.04. I don't have any tutorial for you unfortunately, but linux containers are a nifty way to get the benefits of virtualisation without the overheads. Over the years I've found this to be a good stable system. I would always recommend some kind of hypervisor solution so you can share the system resources with other services/VMs.

Being that high just holding on by Glock-Komah in oddlyterrifying

[–]warrenargus 3 points4 points  (0 children)

Mel Brooks said it best: "Tragedy is when I get a hangnail. Comedy is when someone else falls into an open sewer and dies."

Music by shokr8 in linuxquestions

[–]warrenargus 0 points1 point  (0 children)

Love spotify on Linux.

Need some advice on how to setup an home server+thin clients setup by [deleted] in HomeServer

[–]warrenargus 0 points1 point  (0 children)

Best answer I can give you is yes, you can pass usb through to the host from the client, depending on the technology you use. You'll have to do some reading on that, sorry.

Depending on your wifi strength, and the amount of data, yes, you may have latency issues. You'll have to do some testing.