for fuzTjClR/YG7Wg5AWtPDrA==First one: successfully done
Second string: fuzTjClR/YG7Wg5AWtPDrA==
Recovery Password: PH0vsuW0bNW0pahWmwYrww==
Re-enter Recovery Password: PH0vsuW0bNW0pahWmwYrww==
New password:
passwd: Password unchanged.
. done
. done
done
Map file at LBA sector 0xbc4a7
do_bootm 171: load_addr 0x00100000 addr 0x00400000
do_bootm 174: ## Booting image at 00400000 load_addr 0x00100000 ...
WkhKz6.m9BfK.xu69iuY6g==
for reset password there is command resetpw.
yes, first need to enter any new password. then reset it to empty (work with 8G switch. but in 16G with 8.2.x OTP will work always)
sh-2.04# mount -o remount,rw,noatime /
EXT3 FS on hda1, internal journal
sh-2.04# mount /dev/hda2 /mnt
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
sh-2.04# cd /var/config
sh-2.04# cp ttl ttl.orig
sh-2.04# od ttl
0000000 XXXXXX XXXXXX 000000 XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX 000000 000000 XXXXXX XXXXXX 000000 000000 000000 000000
XXXXXX 000000 XXXXXX 000000 000001 000000 000001 000000 000000
XXXXXX 000000 000000 XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX
sh-2.04# printf '\x00' | dd of=ttl bs=1 seek=43 count=1 conv=notrunc
1+0 records in
1+0 records out
sh-2.04# od ttl
0000000 XXXXXX XXXXXX 000000 000001 XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX 000000 000000 XXXXXX XXXXXX 000000 000000 000000 000000
XXXXXX 000000 XXXXXX 000000 000001 000000 000000 000000 000000
XXXXXX 000000 000000 XXXXXX XXXXXX XXXXXX 000000
XXXXXX
sh-2.04# cp /var/config/ttl /mnt/var/config/
sh-2.04# /sbin/passwddefault
/sbin/passwddefault: [: !=: unary operator expected
Error, do this: mount -t proc none /proc
Raslog Module Initialization failed rc=-1
fabsys device open: No such device or address
fabsys .........etc
All account passwords have been successfully set to factory default.
sh-2.04# reboot -f
Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.
SW1:admin> firmwaredownload
Server Name or IP Address: 192.168.1.100
User Name: admin
File Name: /FOS/v7.4.2h
Network Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP) [1]: 2
Password:
Server IP: 192.168.1.100, Protocol IPv4
Checking system settings for firmwaredownload...
Failed to access /var/config/ttl file.
Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.
SW1:admin>
=> setenv OSLoadOptions "init=/bin/sh"
=> boot
Then change the time with /sbin/hwclock
sh-2.04# mount -o remount,rw,noatime /
sh-2.04# /sbin/hwclock --set --date="2017-01-01 12:00:00"
sh-2.04# reboot -f
Now the clock is changed to before EOS and now just delete EOS config files and hareboot
SWITCH:root> rm /var/config/ttl*
SWITCH:root> rm /var/config/eos*
SWITCH:root> hareboot
INIT: version 2.78 booting
Bypassing firmware validation.
INIT: Entering runlevel: 3
Enabling FOS failure detection feature
==============================================================
Error: insmod mtracer-module causing previous reboot !!!
==============================================================
01/01/19 05:26:37,fabos_state,2
01/01/19 05:26:38,smd-module,loading
01/01/19 05:26:38,loaded
01/01/19 05:26:38,raslog-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,basic-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,trace-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,fablog-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,xprt-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,isc-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,tp-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,hasm-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,rscmon-module,loading
01/01/19 05:26:41,loaded
01/01/19 05:26:42,tomahawk-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,portlog-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,ki-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,fss-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,fabsys-module,loading
01/01/19 05:26:44,loaded
01/01/19 05:26:44,iu-module,loading
01/01/19 05:26:44,loaded
01/01/19 05:26:44,switch-module,loading
01/01/19 05:26:45,loaded
01/01/19 05:26:45,chassis-module,loading
01/01/19 05:26:45,loaded
01/01/19 05:26:45,pulsar-blade-module,loading
01/01/19 05:26:46,loaded
01/01/19 05:26:46,geye2-module,loading
01/01/19 05:26:47,loaded
01/01/19 05:26:47,fc-module,loading
01/01/19 05:26:47,loaded
01/01/19 05:26:47,routing-module,loading
01/01/19 05:26:48,loaded
01/01/19 05:26:48,mtracer-module,loading
==============================================================
FABOS stop !
==============================================================
Fabric OS (SW1)
SW1 console login: admin
Password:
sysmodAttach open failed: No such device or address
Raslog Module Initialisation failed rc=-1
fabsys device open: No such device or address
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormWarning: Default password not changed for 'root' and 'factory'. Please login as 'root' to change them.
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormWarning: Default password not changed for 'root' and 'factory'. Please login as 'root' to change them.
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to Silkworm
SW1:admin>
1. <Boot into commend shell>
2. setenv OSLoadOptions "init=/bin/sh"
3. boot
4. mount -o remount,rw,noatime /
5. <Restore previous ttl and eos backup>
6. rm /var/log/fabos.log
7. reboot -f
1. <Reboot into command shell>
2. setenv OSLoadOptions "init=/bin/sh"
3. boot
4. mount -o remount,rw,noatime /
5. /sbin/hwclock --set --date="2017-01-01 12:00:00"
6. reboot -f
7. <Log in with root>
8. rm /var/config/ttl*
9. rm /var/config/eos*
10. hareboot
11. <After reboot, do firmwaredownload, here I'll use 7.4.2j>
12. <After reboot, reboot into command shell again>
13. <do setenv and mount / again>
14. mount /dev/hda2 /mnt
15. cp /var/config/ttl /var/config/ttl.orig
16. od /var/config/ttl
17. printf '\x00' | dd of=/var/config/ttl bs=1 seek=43 count=1 conv=notrunc
18. cp /var/config/ttl /mnt/var/config/
19. /sbin/passwddefault
20. <After reboot, login with root and change password>
21. <Check if webtools can log in>
Boot PROM password has not been set.
=> setenv OSLoadOptions "init=/bin/sh"
=> boot
Map file at LBA sector 0xbc4a7
....
Console monitor timer initialized..!
sh-2.04# mount -o remount,rw,noatime /
EXT3 FS on hda1, internal journal
sh-2.04# /sbin/hwclock --set --date="2017-01-01 12:00:00"
sh-2.04# reboot -f
Restarting system.
....
Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.
SW1 login: root
Password:
Disclaimer for Root and Factory Accounts Usage!
This Fibre Channel switch is equipped with Root and Factory accounts
....
for user - root
Changing password for root
Enter new password:
Re-type new password:
passwd: all authentication tokens updated successfully
Please change passwords for switch default accounts now.
for user - factory
Changing password for factory
Enter new password:
Re-type new password:
passwd: all authentication tokens updated successfully
Saving passwords to stable storage.
Passwords saved to stable storage successfully
SW1:root> rm /var/config/ttl*
SW1:root> rm /var/config/eos*
SW1:root> hareboot
HA Rebooting ...
SW1:root> Loopback Backup (hda1:hda1)
Start loopback
All service instances in sync
....
SW1 console login: admin
Password:
SW1:admin>
....
*******************************************
Notice: System has changed state to active.
All active commands are available now.
*******************************************