-
Notifications
You must be signed in to change notification settings - Fork 97
Advanced Options
Shinjo Park edited this page Apr 15, 2023
·
1 revision
Destination to send the GSMTAP packet could be changed using -H 127.0.0.2
switch. For example, this command will send all packets to 127.0.0.2:
$ scat.py -t sec -m e333 -u -a 001:006 -i 2 -H 127.0.0.2
You may want to use the following command to be able to easily sort it with Wireshark:
ifconfig ethUSB 127.0.0.2 netmask 255.255.255.0 up
sudo route add -net 127.0.0.0 netmask 255.255.255.0 gw 127.0.0.1
It is possible to automatically determine the USB bus address by using other command's outputs. Following example is for Samsung Galaxy S5 Mini:
val=$(lsusb | awk '/Samsung/ {print substr($4, 1, length($4)-1)}')
sudo ./scat.py -t sec -m e303 -u -a 001:$val -i 4 -H 127.0.0.2