PDA

View Full Version : Serial Number, device_id, device_id2, and signature for MAG Boxes



echaland
12-07-2016, 02:04 PM
Hello,
How can I via SSH get the MAG (I have a MAG 265) Serial Number, device_id, device_id2, and signature?
I tried the following, but it doesn't work:


cd /tmp
wget
chmod a+x tcpdump-4.3.0-static
./tcpdump-4.3.0-static -A -vvv | grep -Eo "(sn=[0-9a-zA-Z]*).*(device_id=[0-9a-zA-Z]*).*(device_id2=[0-9a-zA-Z]*).*(signature=[0-9a-zA-Z]*)"


Thank you in advance