вівторок, 29 березня 2011 р.
понеділок, 28 березня 2011 р.
MacOS X: single user mode
Single-user mode may be used for troubleshooting, include reseting forgoten root password.
Shut down your Mac in case that it running. Press the power button to start computer, immediately press and hold the Command (Apple) key and the "s" key for starting MacOS X in single-user mode.
You have successfully entered single-user or verbose mode when you see white text appear on the screen.
If you want to reset your root password tape the "/sbin/mount -wu /" for mount file system in read-write mode, then "passwd root" for change root password (even in you don't known password)
To exit single-user mode type "reboot" then press Return.
Shut down your Mac in case that it running. Press the power button to start computer, immediately press and hold the Command (Apple) key and the "s" key for starting MacOS X in single-user mode.
You have successfully entered single-user or verbose mode when you see white text appear on the screen.
If you want to reset your root password tape the "/sbin/mount -wu /" for mount file system in read-write mode, then "passwd root" for change root password (even in you don't known password)
To exit single-user mode type "reboot" then press Return.
субота, 19 березня 2011 р.
Reset to factory default: Extreme Networks Summit, Cisco Ctalist 2960, Ericsson ECN330
Returning the switch to the default configuration results in the loss of all existing configurations. It can be dangerous in you network or very useful when you buy used equipment in eBay ;)
Extreme Networks Summit
To return the switch configuration to factory defaults1, use the following command:
Extreme Networks Summit
To return the switch configuration to factory defaults1, use the following command:
unconfig switchThis command resets the entrie configuration except user accounts and passwords. To reset all parameters, use the following command:
unconfig switch all
понеділок, 28 лютого 2011 р.
Зміна імені інтерфейсу у Linux
У одному із тестових серверів почергово побували декілька мережевих карт, в результаті єдиний інтерфейс став eth3, і виникла потреба змінити його на eth0.
Для цього, знаходимо і редагуємо файл /etc/udev/rules.d/30-net_persisent_name.rules
Для цього, знаходимо і редагуємо файл /etc/udev/rules.d/30-net_persisent_name.rules
середа, 29 грудня 2010 р.
How to add permanent static routes in Ubuntu
Static route can be added (as usual) by “route” command:
Fo the permanent route add the line to the /etc/network/interfaces:
See also: How to add route in HP-UX (Ukrainian language)
sudo route add [-net|-host] IP netmask MASK gw GATEWAYIP dev INTERFACE
Fo the permanent route add the line to the /etc/network/interfaces:
up route add [-net|-host] IP/MASK gw GATEWAYIP dev INTERFACE
See also: How to add route in HP-UX (Ukrainian language)
пʼятниця, 13 серпня 2010 р.
пʼятниця, 30 липня 2010 р.
Single-User Mode in HP-UX
Single-user mode is very useful for maintenance (e.g. in case if you forgot root password).
To boot HP-UX in single-user mode at HP 9000 Systems (PA-RISC) you need to stop boot process by pressing any key during booting:
To boot HP-UX in single-user mode at HP 9000 Systems (PA-RISC) you need to stop boot process by pressing any key during booting:
Підписатися на:
Дописи (Atom)