Search found 30 matches

by Mazzz79
Fri Nov 01, 2019 2:56 pm
Forum: Gentoo
Topic: Update kernel
Replies: 0
Views: 14

Update kernel

Copy the old .config file from old kernel source to the new one

then
If kernel 4.19 and newer

Code: Select all

make syncconfig
else

Code: Select all

make silentoldconfig
by Mazzz79
Fri May 03, 2019 8:03 pm
Forum: Useful tips
Topic: Block IP's using IPTABLES
Replies: 0
Views: 126

Block IP's using IPTABLES

iptables -I INPUT -s BAD_IP -p tcp --dport ssh -j DROP
by Mazzz79
Sat Mar 16, 2019 8:37 am
Forum: Gentoo
Topic: Reemerge all QT packages installed
Replies: 0
Views: 1425

Reemerge all QT packages installed

export INSTALLED_QT_PACKAGES=$(eix --only-names -IC dev-qt)

emerge -pv1 --usepkgonly ${INSTALLED_QT_PACKAGES}
by Mazzz79
Sat Jul 21, 2018 5:20 pm
Forum: Useful tips
Topic: play bluray linux
Replies: 0
Views: 1789

play bluray linux

using makemkv libs:

Code: Select all

LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd vlc
by Mazzz79
Tue Jul 10, 2018 5:15 am
Forum: Useful tips
Topic: AC3 encoder ALSA/Pulseaudio
Replies: 0
Views: 373

AC3 encoder ALSA/Pulseaudio

Make a file named .asoundrc in your home directory.
Insert:

Code: Select all

pcm.a52 {
  @args [CARD]
  @args.CARD {
    type string
  }
  type rate
  slave {
    pcm {
      type a52
      bitrate 448 # 448 is max for most
      channels 6
      card $CARD
    }
  rate 48000
  }
}
by Mazzz79
Sun Jul 01, 2018 10:10 am
Forum: Useful tips
Topic: Timidity and DOSBOX
Replies: 0
Views: 335

Timidity and DOSBOX

1. edit dosbox.conf Find: mpu401= The three lines starting with mpu401= should look like this: mpu401=intelligent device=alsa config=128:0 Save and exit 2. timidity -iA -B2,8 -Os -EFreverb=0 2>&1 & 3. Start dosbox 4. Enjoy General MIDI. :) Note: You may have to occasionally change config=128:0 To co...
by Mazzz79
Fri Jun 15, 2018 1:39 pm
Forum: Useful tips
Topic: Console/Terminal tips
Replies: 0
Views: 377

Console/Terminal tips

sudo !!

Repeats last command.
ex. emerge --sync
by Mazzz79
Sat Jan 13, 2018 10:33 am
Forum: Useful tips
Topic: ZFS Stuff
Replies: 0
Views: 589

ZFS Stuff

ZFS Data Scrubbing
# zpool scrub tank

To check status of scrubbing
# zpool status -v tank
by Mazzz79
Fri Jan 12, 2018 5:32 pm
Forum: Cool Youtubers
Topic: Captain Disillusion
Replies: 0
Views: 607

Captain Disillusion

photo.jpg CaptainDisillusion In a world where the content of digital images and videos can no longer be taken at face value, an unlikely hero fights for the acceptance of truth. Captain Disillusion guides children of all ages through the maze of visual fakery to the open spaces of reality and peace...
by Mazzz79
Thu Dec 28, 2017 6:36 am
Forum: My links
Topic: Steam Card Exchange
Replies: 0
Views: 2044

Steam Card Exchange