扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
已经成功的启动了,哈哈!!
但不要高兴的太早了,因为这个时候,HSOS还在内存里,没有装进FLASH,所以要再下载个到FLASH里,设置好接口地址,刚才的线没有拔,就用原来的eth3好了,
SmartHammer# conf t
SmartHammer(config)# inter ge3
SmartHammer(config-if)# ip add 192.168.98.3/24
SmartHammer(config-if)# exit
SmartHammer(config)#
然后再下载一下:
SmartHammer# copy tftp://192.168.98.1/hsosM504.img flash0:
..............
14661240 bytes have received, we will move it to appropriate place!
It maybe last a few minites,please waiting...
........................................................
[OK]
SmartHammer#
察看下FLASH里面的东西:
SmartHammer# show flash
905 Sep 1 11:13 config
13677364 Dec 13 2004 hsos
14661240 Sep 1 11:17 hsosm504.img
32686k bytes total (5008k bytes free)
刚才下载的hsosM504.img 已经在了,我们再指定下启动的HSOS文件:
SmartHammer# set boot system flash0:hsosm504.img
SmartHammer# show system boot
HSOS_IMAGE flash0:hsosm504.img
HSOS_CONFIG flash0:config
HSOS_OPTIONS
SmartHammer#
已经改成了我们新下载的了,OK,重起
SmartHammer# reboot
Are you sure to reboot the system? [Y/N]y
System will reboot now!
BIOS version 1.1 and CPLD version 1.1 for SmartHammer M504
Build Date: Sat Jul 15 18:54:42 HKT 2006
Copyright (c) Harbour Networks Limited All rights reserved.
eth3: Link speed: Unknown
Loader:elf Filesys:fat Dev:flash0 File:hsosm504.img Options:(null)
Loading......
Good. Loading finished!
Closing network.
Starting program .....
SiByte BCM1125H A2 (SB1 rev 3)
Board type: SiByte SmartHammer
ge0: Link speed: 100BaseT FDX
ge1: Link speed: 1000BaseT FDX
ge2: Link is Down
ge3: Link is Down
Login: ge3: Link speed: 100BaseT FDX
admin
Password:
Harbour Networks Limited.
version M504_1.3.1_0041
Build 0041 at 六 4月 30 15:01:07 CST 2005.
SmartHammer> en
Password:
SmartHammer#
好了,已经成功的重新转载HSOS了。
上面配置里也有了正常状态下升级的步骤和如何更改启动文件的配置,大家在遇到问题时可以参考。
--------------------------------------------------------------------------------
netstation
2005-11-17, 01:06
Harbour Networks Ltd.
version G503_1.3.1_0051
Build 0051 at 17:00:16-at-06-09-2005.
SmartHammer>
SmartHammer> en
SmartHammer>
SmartHammer# dir disk0
mount: Mounting /dev/disk0 on /mnt failed: No such device
disk0 don't exist or disk0 is damaged or disk0 isn't formated
SmartHammer# reboot
Are you sure to reboot the system? [Y/N]y
System will reboot now!
SmartHammer#
BIOS version 1.1 and CPLD version 1.1 for SmartHammer G503
Build Date: Sat Jul 15 18:51:38 HKT 2006
Copyright (c) Harbour Networks Limited All rights reserved.
eth2: Link speed: Unknown
Loader:elf Filesys:fat Dev:flash0 File:hsos.img Optionsnull)
Loading......
Good. Loading finished!
Closing network.
Starting program .....
SiByte BCM1250 B2 (SB1 rev 2)
Board type: SiByte SmartHammer
Password: ge0: Link is Down
ge1: Link is Down
ge2: Link is Down
Password:
Harbour Networks Ltd.
version G503_1.3.1_0051
Build 0051 at 17:00:16-at-06-09-2005.
SmartHammer>
SmartHammer>
SmartHammer>
SmartHammer> en
Password:
SmartHammer#
SmartHammer# format disk0在港湾的防火墙中,disk0即代表CF卡,在使用前,必须使用Format命令先格式化CF卡)
SmartHammer#
SmartHammer#
SmartHammer#
SmartHammer# dir disk0:
124922k bytes total (124922k bytes free)
SmartHammer#
SmartHammer#
SmartHammer#
SmartHammer#
SmartHammer# copy flash0: disk0:
srcfile is empty!
SmartHammer# copy flash0:/hsos.img disk0:/hsos.img(从Flash中直接copy hsos.img文件不成功,具体原因还需要港湾公司给予解释)
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。