chandras002
Occasional Visitor
Dear friends,
Cheers! from chandra. New to Asus -Merlin. Using Firmware 380.63 _2 on Asus RT- AC88U. So far, it is works well.
Now, i have attached the USB drive to modem. Wish to run the tcpdump and collect the traffic by ftp.
Following the this blog helped..
>> https://swenotes.wordpress.com/2013/10/15/monitoring-asus-rt-n66u/
tcpdump, nano installed. I can ssh my router from my Windows 10 pc and run pcpdump command and save it as pcap file.
a) So, run the script and disconnect ssh
b) script keep on running (tcpdump collecting data) write to the file every 60 min with time stamp(file name_time stamp).
c) will collect transfer the by ftp from Router to my PC/linux machine
d) Untill i restart the Router, it should be keep on running.
Here is my observation: (may be missing some basic understanding )
1. After ssh, getting login - admin@RT-AC88U-1D88:/tmp/home/root# , so this Router Flash memory?
2. where to run the script abc.sh - is it here?
/tmp/mnt/SONY_8X/entware/etc/init.d/abc.sh (with correct file permission)
or /jffs/scripts/abc.sh
there is anothe asus-jffs folder as well.
i have some doubt in script itself.. (basic script attached as txt file)
Any thoughts welcome.
Thanks for your time and efforts. One successful implementation, i will blog it.
With regards,
chandra
Cheers! from chandra. New to Asus -Merlin. Using Firmware 380.63 _2 on Asus RT- AC88U. So far, it is works well.
Now, i have attached the USB drive to modem. Wish to run the tcpdump and collect the traffic by ftp.
Following the this blog helped..
>> https://swenotes.wordpress.com/2013/10/15/monitoring-asus-rt-n66u/
tcpdump, nano installed. I can ssh my router from my Windows 10 pc and run pcpdump command and save it as pcap file.
a) So, run the script and disconnect ssh
b) script keep on running (tcpdump collecting data) write to the file every 60 min with time stamp(file name_time stamp).
c) will collect transfer the by ftp from Router to my PC/linux machine
d) Untill i restart the Router, it should be keep on running.
Here is my observation: (may be missing some basic understanding )
1. After ssh, getting login - admin@RT-AC88U-1D88:/tmp/home/root# , so this Router Flash memory?
2. where to run the script abc.sh - is it here?
/tmp/mnt/SONY_8X/entware/etc/init.d/abc.sh (with correct file permission)
or /jffs/scripts/abc.sh
there is anothe asus-jffs folder as well.
i have some doubt in script itself.. (basic script attached as txt file)
Any thoughts welcome.
Thanks for your time and efforts. One successful implementation, i will blog it.
With regards,
chandra