README.md 1.56 KB
Newer Older
1
Scripts to run rude/crude, traceroute and collect results
2

3
#Manual set up client
4
5
6
7
8
9
10
11

##on client
~~~~~
 apt-get install build-essential git automake autoconf
 apt install ntp
 apt install traceroute tcptraceroute
 apt install libpcap-dev

12
 git clone https://scm.uninett.no/rude/rude.git
13
   compile and link up in microdep/bin :
Olav Kvittem's avatar
Olav Kvittem committed
14
15
16
 ln -s ~/rude/rude/rude .
 ln -s ~/rude/crude/crude .

17
18
 add to /etc/sudoers.d/microdep
   $USER ALL=(ALL)       NOPASSWD: /usr/local/sbin/get-icmp 
19

20
~~~~~
21
22
23
24
25
26
## Edit ~/microdep/etc/local.cfg :
#node_name=<node name>  # default full domainame
#config_url=https://drift.uninett.no/microdep/dragonlab-rude.conf

## make initial config

Olav Kvittem's avatar
Olav Kvittem committed
27
### Start polling when ready :
28
29
30
crontab microdep/etc/crontab.cfg


31

32
33
##--------------------------------------------------------------------------------
##on server when running with central push :
34

Olav Kvittem's avatar
Olav Kvittem committed
35
rsync -rvt dragonlab user@host:
36

37
38
Enter node in config files
* /dynga/dragonlab/script/mp-names.txt
Olav Kvittem's avatar
Olav Kvittem committed
39
* /dynga/dragonlab/script/rude-list.conf
40
41
42
43
44
45
46
47

make config files for rude/crude and traceroute
~~~~~
cd ~/microdep
mkdir tmp
cd tmp

# get password-free code out there
Olav Kvittem's avatar
Olav Kvittem committed
48
rsync /dynga/dragonlab/script/authorized_keys user@host:.ssh
49

50
../server/script/rude-config-maker --list /dynga/dragonlab/script/mp-names.txt /dynga/dragonlab/script/rude-list.conf
Olav Kvittem's avatar
Olav Kvittem committed
51
  edit azure-mp/start.conf setting crude_port 10000 because ms firewall transform 100001 to 10000
52
53
../server/script/rude-config-updater --list /dynga/dragonlab/script/mp-names.txt | sh -x
~~~~~
Olav Kvittem's avatar
Olav Kvittem committed
54
55

login to user@host from up@tikneppen.pc.uninett.no to approve host key before unattended scripts at nigth go