After instalation of ubuntu server, got some strange NIC names like p5p1. Let's change it to something more convinient.
edit /etc/default/grub file
sudo nano /etc/default/grub
Modify line:
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"
make new grub.cfg file:
sudo grub-mkconfig -o /boot/grub/grub.cfg
reboot server. After reboot you need to edit /etc/network/interfaces file:
sudo nano /etc/network/interfaces
change p5p1 to eth0, save file and start eth0 interface:
sudo ifconfig eth0 up
Tuesday, June 30, 2015
Friday, April 3, 2015
How to change password expiration time in windows 7 home edition
Run CMD as administrator(right click on cmd shortcut, then select "run as administrator". You shoul see word "administrator" in the title of cmd window). Then run command:
net accounts /maxpwage:unlimited
you will get a message "The command completed successfully"
after that you can check password expiration with command:
net accounts
net accounts /maxpwage:unlimited
you will get a message "The command completed successfully"
after that you can check password expiration with command:
net accounts
Subscribe to:
Posts (Atom)