Advanced Networking: Difference between revisions
(Uus lehekülg: '== Overview == There are many thing that GWS(The Configuration Software for Telem-GW6) can't do. For instance NTP, VLAN and OpenVPN configuration. If something extra is needed t...') |
No edit summary |
||
Line 9: | Line 9: | ||
=== /etc/network/if-ud.d/ and /etc/network/if-down.d/ === | === /etc/network/if-ud.d/ and /etc/network/if-down.d/ === | ||
Scripts in this folder are run when an interface(for instance ethernet interface eth0) becomes available or unavailable. | Scripts in this folder are run when an interface(for instance ethernet interface eth0) becomes available or unavailable. These scripts are needed(used) for instance for configuring the firewall or routing. | ||
=== /etc/ppp/ip-up or /etc/ppp/ip-down === | === /etc/ppp/ip-up or /etc/ppp/ip-down === | ||
Scripts in this folder are run when an PPP interface becomes available or unavailable. | Scripts in this folder are run when an PPP interface becomes available or unavailable. These scripts are needed(used) for instance for configuring the firewall or routing. | ||
== | == Examples == | ||
== | === VLAN === | ||
== | === OpenVPN === | ||
== |
Revision as of 12:01, 17 October 2011
Overview
There are many thing that GWS(The Configuration Software for Telem-GW6) can't do. For instance NTP, VLAN and OpenVPN configuration. If something extra is needed then in general user's should create Linux scripts and copy them to Telem-GW6. Sometimes a change of an existing script is enough. Example scripts can be found from Telem-GW6 /usr/local/bin/ folder.
Location of Startup Scripts
/etc/init.d/
Scripts in this folder are run at system startup.
/etc/network/if-ud.d/ and /etc/network/if-down.d/
Scripts in this folder are run when an interface(for instance ethernet interface eth0) becomes available or unavailable. These scripts are needed(used) for instance for configuring the firewall or routing.
/etc/ppp/ip-up or /etc/ppp/ip-down
Scripts in this folder are run when an PPP interface becomes available or unavailable. These scripts are needed(used) for instance for configuring the firewall or routing.