/
Pica8 P-3290/P-3295/P-3780 Switches

Pica8 P-3290/P-3295/P-3780 Switches

Step1: Power on the switch, and backup the PicOS configuration files.

The prompt appears very soon after the system boots up. Users need to hit the Enter key fast enough to stop the boot process.
Hit any key to stop autoboot: 5 <Ctrl-C>

At the uBoot prompt, enter the following command to bring up the utility program.

=>run flash_bootcmd

This boots through a Linux kernel and stops at a menu of the utility tool as the following,

Diagnostic Test Main Menu v1.3 (LB9 - Linux) 
[1 ] File Management 
[2 ] Board Information 
[3 ] Diagnostic Test 
[4 ] Manufacturing Test Mode Set 
[5 ] Test Error Log File Management 
[6 ] PING 
[7 ] Reset 
[8 ] For Vibration Test 

Enter choice: <Ctrl-D> <Ctrl-D>
Input Ctrl+D twice to quit the diagnostic menu (shown below) and to enter the Linux command line interface.


Step2: mount CF/SD card

# mount /dev/hda1 /tmp

Step3: modify the file

vi /tmp/etc/shadow
change from:
admin:$1$O8nrfRaw$xCuukBb87xrk.7ExpXM1a/:11490:0:99999:7:::
into:
admin::11490:0:99999:7:::<==remove the string between the first and the second colon


step4: sync

# sync


Step5: umount

# umount /tmp

Step6: reboot the switch

# reboot

Step7: Boot PicOS. Then, log in by user admin. No password is needed on the console port.

[....] Starting: PicOS L2/L3..PowerPC Book-E Watchdog Timer Enabled (wdt_period=29)
........................ ok
XorPlus login: admin
admin@XorPlus$

Step8: config the password in linux(set the passwd of admin with command "passwd admin") or in cli.
1) Reseting password in linux:

admin@XorPlus$sudo passwd admin
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
admin@XorPlus$

2) Reseting password in cli:

admin@XorPlus# set system login user admin class super-user 
admin@XorPlus# set system login user admin authentication plain-text-password 123456
admin@XorPlus# commit 
Merging the configuration.
Commit OK.

Copyright © 2025 Pica8 Inc. All Rights Reserved.