File: README

package info (click to toggle)
guidedog 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 372 kB
  • ctags: 161
  • sloc: cpp: 2,118; sh: 84; makefile: 14
file content (46 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

Installation & Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~
To install and run this software requires:

* qtbase5-dev
* gcc
* policykit-1
* iproute2
* iptables - Commands for setup Linux's low level network filtering
* Linux

Read the file called INSTALL for generic instructions about using cmake to install software.

Post-build setup
~~~~~~~~~~~~~~~~
After running 'make', a few more steps are needed to correctly install Guidedog.

The Guidedog script at /etc/rc.guidedog needs to be run each time that
a network interface goes up (enabled) or down (disabled). Most Linux
have two directories to control this:

/etc/sysconfig/network-scripts/ifup.d
/etc/sysconfig/network-scripts/ifdown.d

These work much like /etc/rc.d/*. Any scripts (or symbol links to scripts)
get executed when a network interface goes up or down. So to have Guidedog
run we can add some links. First make sure that a file exits at
/etc/rc.guidedog . Run the command (as root):

    echo "#!/bin/sh" > /etc/rc.guidedog

Now create some links in the ifup.d and ifdown.d directories:

    /bin/ln -s /etc/rc.guidedog /etc/sysconfig/network-scripts/ifup.d/51guidedog
    /bin/ln -s /etc/rc.guidedog /etc/sysconfig/network-scripts/ifdown.d/51guidedog

When a network interface goes up/down the Guidedog script should run. You can
check you boot message logs and look for a message from Guidedog.
    
Needless to say, but if you can use a prepackaged Guidedog for your Linux distribution then do so.
    
good luck,

Simon Edwards <simon@simonzone.com>
Antonio Cardoso Martins <digiplan.pt@gmail.com>