Installing Linux Kernel v4.10

I started using CentOS over several other Distros that I have been testing ever the years. I still have an Ubuntu laptop just to keep up to date with things seeing that it’s one of the most popular ones.

I’ve covered installing Kernels before but I wanted to refresh that topic and include how to do it on CentOS.

Continue reading Installing Linux Kernel v4.10

Netgear Router Security Update

Netgear noted that several of their routers have a command injection Vulnerability issue where an attacker can use a phishing method to gain control of your router.

Tip:
To find the model/version number, check the bottom or back panel of your NETGEAR device.

From the vulnerability Notes Database:

R6200, R6250, R6400, R6700, R6900, R7000, R7100LG, R7300, R7900, R8000, D6220, and D6400 contain an unauthenticated command injection vulnerability that may be executed directly or via cross-domain requests. Known affected firmware versions include Netgear R7000 version 1.0.7.2_1.1.93, R6400 version 1.0.1.12_1.0.11, and R8000 version 1.0.3.4_1.1.2. Earlier versions may also be affected. The command injection vulnerability has been assigned CVE-2016-6277.

By convincing a user to visit a specially crafted web site, a remote, unauthenticated attacker may execute arbitrary commands with root privileges on affected routers. An unauthenticated, LAN-based attacker may do the same by issuing a direct request, e.g. by visiting: http:///cgi-bin/;COMMAND

Continue reading Netgear Router Security Update

Activate Ubuntu login sound

I miss some things from the old Ubuntu releases and one of those things is the login sound. I found it still included but not active, here is how to re-activate it if you want to have some nostalgia…

  • Cling on the Ubuntu Launcher
  • Search for and launch Startup Applications
  • Click Add
  • Add the following lines:
    • Name: Login Sound
    • Command: paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg
    • Comment: Play Login Sound
  • Click Save
  • Restart your computer

If you just want to hear it without having it load every time you login check, here ya go.

ttf-mscorefonts-installer fails to install/upgrade

In the article on What to do after installing Ubuntu 16.04 we went over installing some things to the default Ubuntu install and it seems one of the processes needs the ttf-mscorefonts-installer package. Well, it seems that something is broken in that process and this article will cover how to fix it and get your system back to full throttle…

What’s the error?

Here is what I’ve seen, sometimes it happens with different fonts as well.

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
 Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
 Fetched 198 kB in 12s (15.8 kB/s)
 ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
 Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe
 Fetched 552 B in 11s (47 B/s)

E: Failed to fetch http://downloads.sourceforge.net/corefonts/arial32.exe Hash Sum mismatch

E: Download Failed
 Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...

Continue reading ttf-mscorefonts-installer fails to install/upgrade

Students do what Social Giants drag ass on

While Facebook, Google, Yahoo and other Social Media Giants debate on whether blocking fake news on their services will be bad enough for their bottom line (because they make revenue for clicks on their sites and traffic flow) instead of focusing on the greater good for their users and society on a whole, a group of college Students have stepped up on done their job for them. Continue reading Students do what Social Giants drag ass on

How to perform a Master Reset on your Samsung Galaxy Note5

Before we continue please remember that:

A master reset restores the original factory settings and may delete your personal data on the internal storage, it does not delete data stored on the SIM card.

  • Back up data on the internal memory.
  • Turn off the device.
  • Press and hold the Volume Up key and the Home key, then press and hold the Power key.
  • When the Samsung Galaxy Note5 logo screen displays, release only the Power key
  • When the Android logo displays, release the Volume Up and the Home key (‘Installing system update’ will show for about 30 – 60 seconds before showing the Android system recovery menu options).
  • Press the Volume down key several times key to highlight wipe data / factory reset.
  • Press Power button to select.
  • Press the Volume down key until Yes -- delete all user data is highlighted.
  • Press Power button to select and start the master reset.
  • When the master reset is complete, Reboot system now is highlighted.
  • Press the Power key to restart the device.

Configure WiFi on an Ubuntu Server

Ok, I know you’re wondering why I would ever want to setup WiFi on a server. Well, this was a small server to do some light work and I had a mini pc that had a builtin WiFi card that I used and since it had the option I figured I’d use the convenience rather than having to run another cable.

Continue reading Configure WiFi on an Ubuntu Server

Windows 10 power and display issue

I’ve been hearing people are having issues with their computers randomly powering on after a shutdown was issued and displays being dimmed and not being able to get the brightness back. Here are ways to fix those.

Continue reading Windows 10 power and display issue

Mac like mouse scrolling in Windows

If you’ve ever used a Mac computer you quickly start getting a feel for the natural scrolling system that makes it more natural, scroll up to move the page up and scroll down to move the page down just as you would if you were moving piece of paper on your desk.

Back when the mouse was king, scrolling down to move the page up made sense because the scroll-bar would move down; basically it mimicked the movement of the marker in the bar. With the advent of touch screens and two finger scrolling on Macs, it made perfect sense to move toward natural scrolling; but many complain that on a computer it doesn’t make sense nor does it feel natural. I personally beg to differ, it feels quite natural to me; I think of the scroll pad as a flat version of the screen, like with the dual screens on a Nintendo DS or having a small tablet surface. Now that I have been using natural scrolling for a while I can see how the old way is actually counter-intuitive and needs to change.

I’ve gotten so used to it at work that I had to change my mouse wheel scroll settings in Windows to be the same and now I’m sharing it with you so you can start to be more natural with your scrolling.

Open Notepad, Notepad++, or any other text editor. No, Microsoft Word will not work.

Type in the following lines for Windows 7:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_045E&PID_00F9&MI_01&Col02\7&319870ac&0&0001\Device Parameters]
"FlipFlopWheel"=dword:00000001

Type in the following lines for Windows 10:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_045E&PID_00F9&MI_01&Col02\7&319870ac&0&0001\Device Parameters]
"FlipFlopWheel"=dword:00000001
"ForceAbsolute"=dword:00000000
"Migrated"=dword:00000001
"HScrollPageOverride"=dword:00000000
"HScrollUsageOverride"=dword:00000000
"HScrollHighResolutionDisable"=dword:00000000
"VScrollPageOverride"=dword:00000000
"VScrollUsageOverride"=dword:00000000
"VScrollHighResolutionDisable"=dword:00000000
"FlipFlopHScroll"=dword:00000000
  • Click File → Save As
  • Choose Desktop as the location to save and name the file InvertMouse.reg

Go to your desktop and double-click the InvertMouse.reg file to make the entry into the registry then restart your computer.

Now if mice makers would start to use the Magic Mouse technology or Apple would allow their mice to be used on other OS systems.

Scheduling task with Crontab

If you are a Linux admin, you have come across work that needs to be repeated every so often that you do not like doing and would prefer to automate. Crontab is an awesome tool to do just that, you can setup tasks to run in the background.

What is crontab?

From the crontab manual:

A crontab file contains instructions to the cron(8) daemon of the general form: “run this command at this time on this date”. Each user has their own crontab, and commands in any given crontab will be executed as the user who owns the crontab. Uucp and News will usually have their own crontabs, eliminating the need for explicitly running su(1) as part of a cron command.

Continue reading Scheduling task with Crontab