Sometimes you need to edit files on StorEdge 6120, like /etc/hosts and /etc/syslog.conf
This can not be done directly on the 6120, so check the steps below:
> ftp my-6120 Connected to my-6120 220 192.168.19.64 pSOSystem FTP server (@(#)(#)pVER IA/MIPS, Version 3.1.0, Built on 12/03/1999) ready. Name : root 331 Password required for root. Password: 230 User root logged in. Remote system type is pSOSytem. ftp> ls ---------> list files 200 PORT command successful. 150 Opening ASCII mode data connection for . BITMAP.SYS FLIST.SYS etc cmdlog syslog web t4l3_327.bin t4l2_327.bin lpc14_7.23.bin 226 Transfer complete. 117 bytes received in 0.0003 seconds (379.80 Kbytes/s) ftp> cd etc -----------> go to /etc/ directory 250 CWD command successful. ftp> ls -----------> list files 200 PORT command successful. 150 Opening ASCII mode data connection for . bat.conf zoneinfo hosts syslog.conf ------------> let's edit this one 226 Transfer complete. 40 bytes received in 0.00015 seconds (256.43 Kbytes/s) |
ftp> get syslog.conf ------------> get the file 200 PORT command successful. 150 Opening ASCII mode data connection for syslog.conf (225 bytes) 226 Transfer complete. local: syslog.conf remote: syslog.conf 238 bytes received in 0.0031 seconds (75.57 Kbytes/s) |
ftp> put syslog.conf ------------> return the new file to 6120 200 PORT command successful. 150 Opening ASCII mode data connection for syslog.conf 226 Transfer complete. local: syslog.conf remote: syslog.conf 239 bytes sent in 0.024 seconds (9.65 Kbytes/s) ftp> quit 221 Goodbye. |
> telnet my-6120 Trying 192.168.x.x Connected to my-6120 Escape character is '^]'. Login: root Password: 6120 Release 3.2.7 Fri Jun 22 04:48:44 MDT 2007 (192.168.19.64) Copyright (C) 1997-2006 Sun Microsystems, Inc. All Rights Reserved. >set ------------> see values that exist now bootmode auto bootdelay 3 ip 192.168.19.64 netmask 255.255.255.128 gateway 192.168.19.1 tftphost 0.0.0.0 tftpfile hostname my-6120 timezone :America/Los_Angeles logto * loglevel 3 rarp off mac 00:03:ba:cc:c7:38 >set logto * ------------> make syslogd to re-read config file >cd etc >ls bat.conf hosts syslog.conf zoneinfo >cat syslog.conf ------------> verify the file # syslog.conf # facility.level action # messages to local syslog file *.notice /syslog # messages to syslogd on another host #*.notice @loghost ------------> I commented this line # messages sent as SNMP traps # *.warn |snmp_trap saturn |