Line 16: |
Line 16: |
| | | |
| #Removing old logfile: '''''rm /tmp/etherwake_logs''''' | | #Removing old logfile: '''''rm /tmp/etherwake_logs''''' |
− |
| |
| #Waking up connected PC: '''''/etc/init.d/etherwake start [PC_name_used_in_router] >> /tmp/etherwake_logs''''' | | #Waking up connected PC: '''''/etc/init.d/etherwake start [PC_name_used_in_router] >> /tmp/etherwake_logs''''' |
− |
| |
| #Downloading logfile. File path to file location: '''''/tmp/etherwake_logs''''' | | #Downloading logfile. File path to file location: '''''/tmp/etherwake_logs''''' |
| | | |
| ===Configuring unique LAN IP address=== | | ===Configuring unique LAN IP address=== |
| | | |
− | '''Before starting''' prepare .csv file and upload in RMS as ''Task manager file'', which provides information as shown in image below:<br> | + | '''Before starting''' prepare .csv file and upload in RMS as ''Task manager file'', which provides information as shown in image below: |
| + | |
| [[File:rms_task_manager_sn_ip_csv_file_example.png]] | | [[File:rms_task_manager_sn_ip_csv_file_example.png]] |
| | | |
| # Upload .csv from RMS to router using '''''/tmp/LAN_IP.csv''''' target file path | | # Upload .csv from RMS to router using '''''/tmp/LAN_IP.csv''''' target file path |
− |
| |
| # Get device serial number: '''''mnf_info -s > /tmp/snfile''''' | | # Get device serial number: '''''mnf_info -s > /tmp/snfile''''' |
− |
| |
| # Get IP address from csv file: '''''SN=`cat /tmp/snfile` && grep $SN /tmp/LAN_IP.csv | grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])' > /tmp/ipfile''''' | | # Get IP address from csv file: '''''SN=`cat /tmp/snfile` && grep $SN /tmp/LAN_IP.csv | grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])' > /tmp/ipfile''''' |
| | | |
| | | |
| ===Installing Python=== | | ===Installing Python=== |