The maximum transmission unit (MTU) of a network interface is the size of the largest block of data that can be transmitted as a single unit. Anything larger than the MTU must be broken into smaller units prior to transmission. The following link has a short passage on modifying the MTU.
Change the MTU of a network interface
If you want to change the MTU in the linux kernel source code the macro can be found in
The macro name is ETH_DATA_LEN and if you are increasing it you need to increase the frame length also. The macro for from length is ETH_FRAME_LEN. I did experiment to modify MTU to 1508. So I modified the ETH_DATA_LEN to 1508 and frame length to 1522.
After the same through ifconfig I was able to set the mtu to 1508.
e.g:- ifconfig eth0 mtu 1508
Setting anything beyond ETH_DATA_LEN the ifconfig will return “SIOCSIFMTU: Invalid argument”. Also changing to any values beyond 1500 ensure your network devices support.
I got a requirement in my project to enable autologin for some build scripts to get some information from remote machine through autologin. My colleagues has given steps to create identiry and rsa files and copy them to the remote machine and rename as authorize files. But that steps didnt work. Browsing the internet I got a good reference to built-in script which Linux had. These are the 2 simple steps to enable autologin.
The machine from which you want to login just type the following commands.
ssh-keygen -q -t rsa -N ” -f ~/.ssh/id_rsa
ssh-copy-id -i ~/.ssh/id_rsa email@example.com
this will ask for password once. Enter the same.
Now try ssh firstname.lastname@example.org
you will find it wont ask any password.
Intel announced new server chips on April 9 2013, including the latest Xeon E3, which is the first server processor based on the company’s latest Haswell microarchitecture.
Intel’s Xeon E3 chips are targeted at low-end servers and microservers, which are an emerging category of dense servers largely aimed at Web hosting and cloud implementations. [Detail]
You might have faced Makefile not continuing with rest of the commands if any of the previous commands returns exit code as -1 or any negative values. There is a simple way for make to ignore these return codes and continue the build. Just add ‘-‘ before the command for which build is failing. Ensure that this tip is used only for the case where the tool is returning failure and the objective of the tool is working fine.
Julian Assange, Wikileaks founder has launched a new search engine, which is a portal to an archive of 1.7 million US diplomatic cables, named as PLUSD (The Public Library of United States Diplomacy), the search engine includes 2, 50, 000 leaked State Department cables that were publicized during Cablegate.
A good slide on time management. Read more…
The Linux® system call interface permits user-space applications to invoke functionality in the kernel, but what about invoking user-space applications from the kernel? Explore the usermode-helper API, and learn how to invoke user-space applications and manipulate their output. Read more…