From Password Recovery Procedure for the Cisco 2600 and 2800 Series Routers.

 

  1. Connect Console Cable
  2. Start minicom
  3. Configure Serial Communication Settings for minicom
  4. Reset Cisco Password

Connect Console Cable

  1. Connect the serial cable to the PC and to the device's Console port

Start minicom

  1. Start minicom from a terminal window
      minicom
      

Configure Serial Communication Settings for minicom

  1. Set the proper serial terminal settings (9600 bps, 8N1)
    1. First, you need to get to the point of configuring minicom:
      • Press Ctrl-A
      • Press Z
    2. Now configure the terminal settings:
      • Press P for comm Parameters
      • Press C for 9600 baud
      • Verify that the line near the top reads 9600 8N1
      • Press Enter key to accept and exit configuration

Reset Cisco Password

After making sure you have done all of the above steps:

  1. Power off the device, and keep it off until later.

    Password reset works when the device is powering up, but we have to do something special before powering on.

  2. In minicom, get to the configuration window:
    • Press Ctrl-A
    • Press Z
  3. Power on the device, and nearly immediately (within a minute) press F in the minicom configuration to send break to the device.
  4. You should see the following:
    Readonly ROMMON initialized                                               
    rommon 1 >
      
  5. Set up to boot from flash (enter the following command):
      confreg 0x2142
      
  6. Reboot from flash, ignoring the saved configuration:
      reset
      
  7. When presented with setup questions, enter Ctrl-C to bypass them all. You should then see:
    Press RETURN to get started!   
      

    Press the Enter key, and you should eventually see:

      Router>
      
  8. Get into privileged mode:
      enable
      

    You should then see:

      Router#
      
  9. Copy the startup configuration to the running configuration:
      copy start run
      

    If it prompts you for running-config, press Enter to accept.

  10. Look at the running configuration:
      show run
      
  11. Configure the terminal:
      config t
      
  12. Set the password to cisco:
      enable secret cisco
      
  13. End the configuration of the terminal:
      end
      

    Messages may appear unsolicited after that; press Enter to see the prompt again.

  14. Look at your interfaces — you want them to be down (next step):
      show ip interf brief
      
  15. Bring up all interfaces — use no shutdown on all interfaces.

    For example, if only FastEthernet0/0 is showing down:

      config t
      interface FastEthernet0/0
      no shutdown
      end
      
  16. Set up the configuration register.
      config t
      config-register 0x2102
      
  17. Leave configuration mode:
      end
      
  18. Commit the changes by copying the running configuration to the startup configuration:
      copy run start
      
  19. Restart the device:
      reload
      

Read more

How to migrate Raspberry Pi 5 OS from micro SD to NVME m.2 SSD

首先我買了Raspberry Pi CM5後來買了Raspberry Pi CM5 I/O board來當個人電腦使用,系統是安裝在256GB SD卡上運行的很好。用久了在開啟較肥的程式像Web Browser或LiberOffice會有慢半拍的反應,而有了升級NVME m.2 SSD念頭。 因為Raspberry Pi 5支援的最快PCIe gen3 x 4就不去考慮快的Gen4 or Gen5 m.2 SSD。找了ADATA出的 LEGEND 710入門級的產品,會利用HMB(Host Memory Buffer)來加速I/O速度,因為是Raspberry Pi OS kernel會認不得而無法正常使用 事先在SD卡的/boot/firmware/cmdline.txt 加入 kernel command line參數如下,然後重開機m.

By Phillips Hsieh

How to document Home Lab and Network

運維機房和跨域的網路,會遇到各式需求與問題,用對工具才能分析問題,個人覺得最重要的是使用能處理問題的工具。 推薦目前想學和正在使用的平台與軟體,協助將公司/家用機房文件化 佈告欄任務管理 Focalboard 白板可管理任務指派 網路架構文件編寫 netbox 精細管理網路設備與連接線路 IP 資源管理 phpipam 專注網路IP分配 邏輯塊文件編寫 draw.io 視覺化概念圖 機房設備管理 ITDB 管理設備生命週期與使用者

By Phillips Hsieh

如何在Raspberry Pi4上安裝Proxmox for ARM64

第一步 準備好Raspberry Pi 4 / CM4 4GB RAM,這裡要留意CM4如果是買有內建eMMC storage會限制不能使用SD卡開機而限制本地空間容量,如果沒有NAS外接空間或使用USB開機的話,建議買CM4 Lite插上大容量SD卡 第二步 去Armbian官網下載最小化Debian bookworm image https://www.armbian.com/rpi4b/ Armbian 25.2.2 Bookworm Minimal / IOT 然後寫入SD/USB開機碟,寫入方法參考官方文件 https://github.com/raspberrypi/usbboot/blob/master/Readme.md Note: 官方提供的預先設定系統方法,可以在Armbian初次啟動自動化完成系統設定。連結在此 https://docs.armbian.com/User-Guide_Autoconfig/

By Phillips Hsieh