Page MenuHomec4science

hymab.sh
No OneTemporary

File Metadata

Created
Fri, Jul 4, 23:15

hymab.sh

#! /bin/sh
./stop_click_u.sh
int6k -i eth2 -m
iw phy phy0 interface add moni0 type monitor
ifconfig moni0 up
ifconfig wlan0 netmask 255.255.255.255
ifconfig eth2 netmask 255.255.255.255
# reduce queue size to avoid packets from exploitation in exploration phase
ifconfig wlan0 txqueuelen 200
ifconfig eth2 txqueuelen 200
# disable mptcp
sysctl -w net.mptcp.mptcp_enabled=0 > /dev/null
# increase TCP window size
./tcp_window_size.sh > /dev/null
# change timeout in PLC to 300 ms
./change_timeout_plc.sh E0930400
# launch faifa for PLC measurements
echo 'a034 1' | faifa -i eth2 -m > /dev/null &
sleep 1
iptables -A FORWARD -i wlan0 -j DROP
iptables -A FORWARD -i eth2 -j DROP
# run click script
click-align hymab.click -o hymab_a.click && click hymab_a.click

Event Timeline