Archive for April, 2013

How to prevent network interface renaming with udev and persistent-net.rules

Thursday, April 18th, 2013
MATCHADDR=xx:xx:xx:xx:xx:xx INTERFACE=eth0 /lib/udev/write_net_rules

How to set compiler flags to dpkg-buildpackage

Tuesday, April 16th, 2013
dpkg-buildflags --get CFLAGS
dpkg-buildpackage -uc -us

CFLAGS Options for the C compiler. The default value set by the vendor includes -g and the default optimization level (-O2 usually, or -O0 if the
DEB_BUILD_OPTIONS environment variable defines noopt).

Options for the C preprocessor. Default value: empty.

Options for the C++ compiler. Same as CFLAGS.

FFLAGS Options for the Fortran compiler. Same as CFLAGS.

Options passed to the compiler when linking executables or shared objects (if the linker is called directly, then -Wl and , have to be
stripped from these options). Default value: empty.

ip network profile switcher for windows

Monday, April 1st, 2013

Whenever mobile user moves to different network, has to change particular IP address, gateway address, subnet mask, proxy server and default printer, etc., to particular network environment. In order to do it, he has to remember TCP/IP settings information of every network. Also, he has to reboot the computer to apply it to the system and to access the Internet.

Don’t waste your time reconfiguring computer network settings every time you change your location. Free IP Switcher is a perfect solution for you.