the xer's blog

14 September 2014

Rename NIC ID in Windows 8.1

Filed under: Windows — Tags: , , — xer @ 6:00 PM

In Windows 8 or 8.1 if you change your xDSL connection or you add a new connection, your OS will set a new ID adding a number at the end, e.g. Network 2 or Network 3 and so on.

In Windows 8 or 8.1 is no longer available a GUI to change or delete these IDs, so you have to act through OS registry.

Open regedit with administrator level and go to HKLM

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft NT\CurrentVersion\NetworkList\Profiles








Then, look in each sub-folder of “profiles” and check the “ProfileName” you want rename, click with right button of your mouse and rename it.

17 August 2014

when you lose trust in your boss

Filed under: This Is The Life — Tags: , — xer @ 11:35 AM

If you aren’t a self employee, of course you’ve a Boss, it is a strange relationship, someone have a “friendly business style” relationship, someone have a “professional style” one, some other have a “day per day” business life with his/her boss, being aware that it’ll finish soon…

In any case, all of those kind of relationship and beyond, to go on and keep it working on business, should have at least a minimal base of trust between “boss and employee”.

When a business relationship between Boss & employee lack of trust ?
And how this can be happened? Let’s see some examples:

  1. You discover that your Boss use you “just” as an asset whenever he needs and not as a good resource to keep improved
  2. When he dump to you unnecessary tasks, or worst, impossible works that no one else want to do
  3. He keep you away from important tasks, because he knows that you can have important benefits working with that
  4. Does not answer to personal questions related to your career, or try to avoid them in every way

I can fill up with more bullet points, but those four makes sense.

Because of this, what happens when “trust between Boss & Employee” does no longer exist ?

Relationship changes in many forms, and it may affect also your life, one of the worst that I take as example it is extremely dangerous:

You blame yourself and thinking that you’ve done something, you can lack of confidence of yourself
Not at all ! It might be, but in any case it is correct to review your status, check again what is your job and skill, keep it going on with professionalism, not all Bosses are good enough, you have to think also that your Boss could not be suited to its role also may have been overestimated

What you should do now ?

  1. It is a good chance to try a tentative and change approach
    Act to verify if your Boss is thinking of you as a just a merely asset or else a real person that like to improve, start a self-controlled conversation, talk about it, be smart and keep yourself behind a border-line; you can understand what he thinks of you, you can set then a relationship level, starting from there you can see if your job can be improved
  2. Do a “pro & cons” list, it is a good work to understand where you are
    First, regardless your workplace or your Boss, write up what you like of your job, check what are your achieved skills, then make a list of what you do not like about your Boss or your workplace, once done make the sum, you can see better on a piece a paper what you don’t see in real life…
  3. Don’t get out immediately!
    The “pro & cons” list suggests you to “get-out” ? Don’t do that now, maintain a low level, reduce your job activities to a minimum, do not overreact, keep calm and start to looking for job offers

Working in the same workplace for a long time, it may set you up as an outcast, most of the people discover that there is always another chance out of there!

Don’t give-up, never! Think smart, improve yourself regardless your Boss, keep looking outside, seeing all job offers that may pop-up, do interviews no matter what, you’ll understand if you’re still good, will give you confidence in yourself to find out that it is still something, and if you’re lucky and a new good job would came up, oh well, carpe diem !

If you do not find a new job, keep going what you have with professionalism, but set as high priority the “life out of your workplace”, because remember:

carpe diem


16 January 2014

The Crisis

Filed under: Daily — Tags: — xer @ 11:00 PM

Let’s not pretend that things will change if we keep doing the same things. A crisis can be a real blessing to any person, to any nation. For all crises bring progress.

Creativity is born from anguish, just like the day is born form the dark night. It’s in crisis that inventiveness is born, as well as discoveries made and big strategies. He who overcomes crisis, overcomes himself, without getting overcome. He who blames his failure to a crisis neglects his own talent and is more interested in problems than in solutions. Incompetence is the true crisis. The greatest inconvenience of people and nations is the laziness with which they attempt to find the solutions to their problems.

There’s no challenge without a crisis. Without challenges, life becomes a routine, a slow agony.

There’s no merit without crisis. It’s in the crisis where we can show the very best in us. Without a crisis, any wind becomes a tender touch. To speak about a crisis is to promote it. Not to speak about it is to exalt conformism. Let us work hard instead. Let us stop, once and for all, the menacing crisis that represents the tragedy of not being willing to overcome it.

Albert Einstein 1930

16 January 2012

How to check MTU with ping

Sometimes even if you does not have any access to your networking devices, you may need to check what is actual maximum MTU of your connection.

Ping command and parameters -l and -f are very useful.
With -f you will set to do not fragment the packets and with -l you will set the packet size.

Here is an example of pinging with a packet site 1500

You have noticed that response from ping command is “Packet needs to be fragmented”.
You can lower the packet size until the ping command will response correctly as below:

After several tentatives, you will reach the maximum packet size before to the “Packet needs to be fragmented” response.
Once you’ll have that value (e.g. 1421) you must add 28 (IP/ICMP header) so (1449) just the get the very perfect tuned maximum MTU.

1 January 2012

Clean Linux Ubuntu RAM usage

Filed under: *nix notes — Tags: , , , , , , , , — xer @ 12:00 PM

As root

#: free -m
verify actual RAM status

#: sync
Force changed blocks to disk, update the super block.

#: echo 3 > /proc/sys/vm/drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache: echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation, and dirty objects are not freeable, the user should run “sync” first in order to make sure all cached objects are freed.

#: free -m
Verify if memory has been freed

3 September 2010

rootkit TDL3 – warning for x64 windows system

Filed under: Windows — xer @ 11:00 AM

TDL3 is the worse rootkit for x64 windows systems.
His infection can cause several damages to the operative system, in recent days, a lot of companies has been infected.

If you use a x64 operative system as me, you can check if your system has been infected, open a command prompt (start -> run -> cmd)

And launch “diskpart”, then try the command: “lis dis”

If you showing the same as my picture, then you are not infected, if the command “lis dis” says that a disk does not exist, then you got TDL3 infection.

In this case, i suggest to run immediately a standalone program as DrWeb CureIt:

22 August 2010

Windows 7 – Disable burning CD-DVD and turn off auto eject

Filed under: Windows — xer @ 9:00 AM

To Disable and Turn Off CD or DVD Burning Support and Stop Disc Tray from Auto Eject in Windows 7, just:

Run gpedit.msc (Group Policy Editor) from Start Search.
Expand Local Group Policy -> User Configuration -> Administrative Templates -> Windows Components.
Select Windows Explorer.
In the right pane, double click on Remove CD Burning features.
Select Enabled radio button to stop and disable all features in the Windows Explorer that allow users to use their CD writer to burn, and ability to auto eject disc tray. Click OK when done.
Restart computer or log off and log on again for the change to take effect.

To reset and re-enable the CD burning feature in Vista, simply choose back the setting to Not Configured or Disabled.

Some editions of Windows 7 doesn’t have Group Policy Editor. In this case, manually change the CD burning feature support in the registry. To do so, run Registry Editor (regedit), and then navigate to the following registry key:


In the right pane, if it’s not already existed, right click on a blank space, and select New to create a new DWORD (32-bit) Value. Name the new value name as NoCDBurning, and assign its value data to 1.

To reset and turn back on CD burning feature, delete the NoCDBurning value, or set its value data to 0.

ProFTPD – change default welcome message

Filed under: *nix notes — xer @ 9:00 AM

After installing proftpd and you connect to the server as ftp client, the server displays a standard welcome message:

$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (localhost) []
Name (localhost:user):

The line 220 ProFTPD 1.2.8 Server will be displayed to anyone who does an ftp connection to your server.

In case you don’t want everyone to see what FTP server software and expecially what version of the ftp server are you running, you can customize all these with ServerName and ServerIdent ProFTPD directives.

ServerIdent – Set the message displayed on connect
ServerIdent [ ServerIdent off|on [identification string]]

Default: ServerIdent on “ProFTPD [version] Server (server name) [hostname]“

The ServerIdent directive sets the default message displayed when a new client connects.
Setting this to off displays “[hostname] FTP server ready.” If set to on, the directive can take an optional string argument, which will be displayed instead of the default text.
Sites desiring to give out minimal information will probably want a setting like ServerIdent on “FTP Server ready.”, which won’t even reveal the hostname.

ServerIdent on “Welcome to FTP Server”

Another option is ServerName which configure the name displayed to connecting users:

ServerName [ ServerName "name"]
Default: ServerName “ProFTPD Server [version]“

The ServerName directive configures the string that will be displayed to a user connecting to the server.

Modify your proftpd.conf file (/usr/local/etc/proftpd.conf on FreeBSD or /etc/proftpd.conf on Linux) and modify ServerName and ServerIdent lines (or add them if they don’t exist) to whatever you wish and test it.

$ ftp localhost
Connected to localhost.
My FTP Server
Name (localhost:user):

FreeBSD – ignore portaudit

Filed under: *nix notes — Tags: — xer @ 9:00 AM

If you want to install a port and portaudit reports vulnerabilities for this port, you can bypass portaudit by using DDISABLE_VULNERABILITIES feature.

$ cd /usr/ports/lang/php4

Upgrade FreeBSD port even though portaudit reports vulnerability

For upgrading ports on FreeBSD, you can you use portupgrade.
In case that portupgrade tells that it cannot continue because the port has a vulnerability reported by portaudit, bypass the vulnerability check with portupgrade option: -m DISABLE_VULNERABILITIES=yes port_name

$ portupgrade -m DISABLE_VULNERABILITIES=yes [port name]

Sometimes we need to install some very old ports even if they have some vulnerabilities, and for this reason, I do not recommend using these methods unless you know what you’re doing.

Windows 7 and Vista – Adding a custom picture to logon screen

Filed under: Windows — Tags: , — xer @ 8:00 AM


In Windows 7 and Windows Vista, the default user account pictures are stored in the following location:

C:\ProgramData\Microsoft\User Account Pictures\Default Pictures

You can add your custom pictures to the above location so that the user accounts applet lists them automatically.
Ensure that the dimension of the picture is 128×128 pixels, and it’s a Bitmap image (.bmp).

If you find a picture on the internet that you want to use for your account, save the picture locally and crop the image (to 128×128 px) using any image editor of your choice.

Older Posts »

The Silver is the New Black Theme. Blog at