Copying method by network card lamp
A network card light and copying technology, applied in the information field, can solve the problems of cumbersome operation and difficult copying time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0112] Install the copying program including the following source programs on the server in the LAN,
[0113] #! / bin / sh
[0114] mount-n-o rw, remount /
[0115] mac=`ifconfig|grep HWaddr|sed″s / / / g″|cut-d″:″-f 5`
[0116] mac=${mac}`ifconfig|grep HWaddr|sed″s / / / g″|cut-d″:″-f 6`
[0117] mac=${mac}`ifconfig|grep HWaddr|sed″s / / / g″|cut-d″:″-f 7`
[0118] ntpdate 172.16.0.1
[0119] touch / home / kaoj_log / $mac
[0120] #touch / home / songzg / $mac
[0121] first_day = `date+%j`
[0122] first_time = `date+%k`
[0123] rm -rf / mnt / ram0 / *
[0124] #cd / home / kaoj_ceshi
[0125] cd / mnt / ram0
[0126] ftpget -u kaoj -p 123abc 172.16.0.1 ${mac}.log ${mac}.log
[0127] echo-n`date+%y|sed″s / / / g″`″ / ″`date+%m|sed″s / / / g″`″ / ″`date+%d|sed″s /
[0128] / / g″`>>${mac}.log
[0129] echo-n″″`date+%T|sed″s / / / g″`>>${mac}.log
[0130] ftpput -u kaoj -p 123abc 172.16.0.1 ${mac}.log ${mac}.log
[0131] #ftpput -u kaoj -p 123abc 10.2.2.6 ${mac}.log ${mac}.log
[0132] if[″x$?″! ="x0"];then...
Embodiment 2
[0215] Execution of simultaneous copying of multiple motherboards; the copying program is installed on one in advance, and the mainboard is powered on after booting, and the copying program will be executed first, through the copying program ping 10.2.2.61> / dev / null 2> / dev The / null & command makes the green light reach the working state of regular flashing, which means that the copying program is already running;
[0216] Calibrate the time to the server by executing the ntpdate 172.16.0.1 command;
[0217] The copying program will execute a program aptest 5000000> / dev / null to test the CPU and memory of the motherboard to make it work again and again; under normal circumstances, the network card runs in 100M full-duplex state, and the yellow light is always on;
[0218] When the copying error occurs, the copying program executes the mii-tool-F 10baseT-HD eth0 command to change the network card to 10M half-duplex, and the yellow light is "off";
[0219] Use the command if[″$k...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com