Postagens

Cisco router password recovery

1) Press Break on the terminal keyboard a couple of times after you see the message program load complete, entry point: 0x80008000, size: 0x6fdb4c in order to put the router into ROMMON. 2) Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash. This step bypasses the startup configuration where the passwords are stored. 3)  Type reset at the rommon 2> prompt. The router reboots, but ignores the saved configuration. 4)  Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure. 5)  Type enable at the Router> prompt. You are in enable mode and should see the Router# prompt. 6)  Type   configure memory   or copy startup-config running-config in order to copy the nonvolatile RAM (NVRAM) into memory. 7)  Type show running-config. The passwords (enable password, enable secret, vty, and console passwords) are in either an encrypted or encrypted format. You can reuse ir change. 8)  Type configure terminal. The hostname (conf

Dell Vostro break key alternative

Try CTRL + FN + S That's It.

Convert physical disk (GPT) to VHDx

How to do it: Use Disk2vhd to create a VHDX (or VHD, but I recommend VHDX) from your physical disk - it doesn't really matter which drives you check/uncheck as long as your Windows drive is checked. Create a Gen2 VM in Hyper-V and attach the new VHDX and your choice of Windows installation media (DVD or VHD). Boot the VM (it shouldn't matter what's listed first under the Firmware tab - it'll likely boot from your installation media anyway since your VHDX doesn't work yet). Hit Shift+F10 to bring up the Command Prompt (or click through troubleshooting buttons to the Command Prompt). Type "diskpart" and hit Enter. Type "list vol" and hit Enter - note the drive letter of your Windows volume (most likely the largest option), as well as which volume says Raw next to it. Type "sel vol #" where "#" is the number of the volume that says Raw next to it (this is the reason your VHDX doesn't "just work" when Disk2vhd has co

How to Enable SSH on Cisco Switch, Router

1) Generate the RSA Keys      myswitch(config)# crypto key generate rsa             The name for the keys will be: myswitch.mydomain.com          How many bits in the modulus [512]: 1024      % Generating 1024 bit RSA keys, keys will be non-exportable...[OK] 2) Setup the Line VTY configurations     # line vty 0 4      (config-line)# transport input ssh     (config-line)# login local     (config-line)# password 7     (config-line)# exit 3) Setup the Console configuration      # line console 0      (config-line)# logging synchronous      (config-line)# login local 4) Verify SSH access      myswitch# sh ip ssh           SSH Enabled - version 1.99           Authentication timeout: 120 secs; Authentication retries: 3 That's it

How to force reinstall software assigned via GPO when it was manually uninstalled

How to force reinstall software assigned via GPO when it was manually uninstalled On the computer, go to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt. Identify the software by looking at the “Deployment Name” value. Delete the key of the software you need to reinstall. Reboot and check if the software is reinstall.

How to change dhcp/static IP on Ubuntu 18.04

For DHCP edit file /etc/netplan/50-cloud-init.yaml and change to: network:     ethernets:         eth0:             addresses: []             dhcp4: true             optional: true     version: 2 For a static IP edit file /etc/netplan/50-cloud-init.yaml and change to: network:     ethernets:         eth0:             addresses:             - 192.168.1.2/24             gateway4: 192.168.1.1             nameservers:                 addresses:                 - 1.1.1.1                 search:                 - domain.local             optional: true     version: 2 $ sudo netplan apply $ sudo netplan try That's it