Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
|
||||
Notice:
|
||||
You have to change some configuration files becaus the because
|
||||
the configuration of network interfaces must not be equal.
|
||||
|
||||
!! Take care, to use the right device names !!
|
||||
Maybe they are called i.e. 'enp0sXX', but you can rename it.
|
||||
See also : README.rename.netdevices
|
||||
|
||||
For the backup gateway host:
|
||||
eth1 --> LAN
|
||||
eth2 --> WAN or ppp0 (DSL device)
|
||||
|
||||
eth0 --> WLAN or second LAN or what ever
|
||||
or
|
||||
br0 --> WLAN or second LAN or what ever
|
||||
|
||||
|
||||
So you have to change the following files
|
||||
dsl-provider.AKB: ppp0 comes over eth2
|
||||
interfaces.AKB: see above
|
||||
default_isc-dhcp-server.AKB
|
||||
ipt-firewall.AKB: LAN device (mostly ) = eth1
|
||||
second LAN WLAN or what ever (if present) = eth0
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+96
@@ -0,0 +1,96 @@
|
||||
-m Show IP and MAC.
|
||||
-m IP Set IP (format: ###.###.###.###).
|
||||
-a MAC Set MAC (format: ##:##:##:##:##:##).
|
||||
-k Show Subnet Mask.
|
||||
-k Mask Set Subnet Mask (format: ###.###.###.###).
|
||||
-dhcp Get the DHCP status.
|
||||
-dhcp on Enable the DHCP.
|
||||
-dhcp off Disable the DHCP.
|
||||
-g Show Gateway IP.
|
||||
-g IP Set Gateway IP (format: ###.###.###.###).
|
||||
-r BMC cold reset.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-garp on Enable the Gratuitous ARP.
|
||||
-garp off Disable the Gratuitous ARP.
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-ver Get Firmware revision.
|
||||
-vlan Get VLAN status.
|
||||
-vlan on <vlan tag> Enable the VLAN and set the VLAN tag.
|
||||
If VLANtag is not given it uses previously saved value.
|
||||
-vlan off Disable the VLAN.
|
||||
-selftest Checking and reporting on the basic health of BMC.
|
||||
-raw Send a RAW IPMI request and print response.
|
||||
Format: NetFn Cmd [Data1 ... DataN]
|
||||
-fru info Show FRU inventory area Info.
|
||||
-fru list Show all FRU values.
|
||||
-fru cthelp Show chassis type code.
|
||||
-fru help Show help of FRU Write.
|
||||
-fru <field> Show FRU field value.
|
||||
-fru <field> <value> Write FRU.
|
||||
-fru 1m Update Product-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 1p Update Product-Product Name from DMITable to IPMI FRU.
|
||||
-fru 1s Update Product-S/N from DMITable to IPMI FRU.
|
||||
-fru 2m Update Board-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 2p Update Board-Product Name from DMITable to IPMI FRU.
|
||||
-fru 2s Update Board-S/N from DMITable to IPMI FRU.
|
||||
-fru 3s Update Chassis-S/N from DMITable to IPMI FRU.
|
||||
-fru backup <file> Backup FRU to file <Binary format>.
|
||||
-fru restore <file> Restore FRU from file <Binary format>.
|
||||
-fru tbackup <file> Backup FRU to file <Text format>.
|
||||
-fru trestore <file> Restore FRU from file <Text format>.
|
||||
-fru ver <v1> <v2> Get/Set FRU version. (v1 v2 are BCD format)
|
||||
-sel info Show SEL info.
|
||||
-sel list Show SEL records.
|
||||
-sel del Delete all SEL records.
|
||||
-sel raw Show SEL raw data.
|
||||
-sdr [full] Show SDR records and reading.
|
||||
-sdr del <sdr id> Delete SDR record.
|
||||
-sdr ver <v1> <v2> Get/Set SDR version. (v1 v2 are BCD format)
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo [full] Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge Set auto discharge by days.
|
||||
<module> <day>.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-user list List user privilege information.
|
||||
-user help Show user privilege code.
|
||||
-user add <user id> Add user.
|
||||
<name> <password>
|
||||
<privilege>
|
||||
-user del <user id> Delete user.
|
||||
-user level <user id> Update user privilege.
|
||||
<privilege>
|
||||
-user setpwd Update user password.
|
||||
<user id> <password>
|
||||
-conf upload <file> Upload IPMI configuration form binary file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> Upload IPMI configuration from text file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf tdownload Download IPMI configuration to text file.
|
||||
<file>
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force to boot from
|
||||
device.
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
-m Show IP and MAC.
|
||||
-m IP Set IP (format: ###.###.###.###).
|
||||
-a MAC Set MAC (format: ##:##:##:##:##:##).
|
||||
-k Show Subnet Mask.
|
||||
-k Mask Set Subnet Mask (format: ###.###.###.###).
|
||||
-dhcp Get the DHCP status.
|
||||
-dhcp on Enable the DHCP.
|
||||
-dhcp off Disable the DHCP.
|
||||
-g Show Gateway IP.
|
||||
-g IP Set Gateway IP (format: ###.###.###.###).
|
||||
-r BMC cold reset.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-garp on Enable the Gratuitous ARP.
|
||||
-garp off Disable the Gratuitous ARP.
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-ver Get Firmware revision.
|
||||
-vlan Get VLAN status.
|
||||
-vlan on <vlan tag> Enable the VLAN and set the VLAN tag.
|
||||
If VLANtag is not given it uses previously saved value.
|
||||
-vlan off Disable the VLAN.
|
||||
-selftest Checking and reporting on the basic health of BMC.
|
||||
-raw Send a RAW IPMI request and print response.
|
||||
Format: NetFn Cmd [Data1 ... DataN]
|
||||
-fru info Show FRU inventory area Info.
|
||||
-fru list Show all FRU values.
|
||||
-fru cthelp Show chassis type code.
|
||||
-fru help Show help of FRU Write.
|
||||
-fru <field> Show FRU field value.
|
||||
-fru <field> <value> Write FRU.
|
||||
-fru 1m Update Product-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 1p Update Product-Product Name from DMITable to IPMI FRU.
|
||||
-fru 1s Update Product-S/N from DMITable to IPMI FRU.
|
||||
-fru 2m Update Board-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 2p Update Board-Product Name from DMITable to IPMI FRU.
|
||||
-fru 2s Update Board-S/N from DMITable to IPMI FRU.
|
||||
-fru 3s Update Chassis-S/N from DMITable to IPMI FRU.
|
||||
-fru backup <file> Backup FRU to file <Binary format>.
|
||||
-fru restore <file> Restore FRU from file <Binary format>.
|
||||
-fru tbackup <file> Backup FRU to file <Text format>.
|
||||
-fru trestore <file> Restore FRU from file <Text format>.
|
||||
-fru ver <v1> <v2> Get/Set FRU version. (v1 v2 are BCD format)
|
||||
-sel info Show SEL info.
|
||||
-sel list Show SEL records.
|
||||
-sel del Delete all SEL records.
|
||||
-sel raw Show SEL raw data.
|
||||
-sdr [full] Show SDR records and reading.
|
||||
-sdr del <sdr id> Delete SDR record.
|
||||
-sdr ver <v1> <v2> Get/Set SDR version. (v1 v2 are BCD format)
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo [full] Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge Set auto discharge by days.
|
||||
<module> <day>.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-user list List user privilege information.
|
||||
-user help Show user privilege code.
|
||||
-user add <user id> Add user.
|
||||
<name> <password>
|
||||
<privilege>
|
||||
-user del <user id> Delete user.
|
||||
-user level <user id> Update user privilege.
|
||||
<privilege>
|
||||
-user setpwd Update user password.
|
||||
<user id> <password>
|
||||
-conf upload <file> Upload IPMI configuration form binary file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> Upload IPMI configuration from text file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf tdownload Download IPMI configuration to text file.
|
||||
<file>
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force to boot from
|
||||
device.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
-m Show IP and MAC.
|
||||
-m IP Set IP (format: ###.###.###.###).
|
||||
-a MAC Set MAC (format: ##:##:##:##:##:##).
|
||||
-k Show Subnet Mask.
|
||||
-k Mask Set Subnet Mask (format: ###.###.###.###).
|
||||
-dhcp Get the DHCP status.
|
||||
-dhcp on Enable the DHCP.
|
||||
-dhcp off Disable the DHCP.
|
||||
-g Show Gateway IP.
|
||||
-g IP Set Gateway IP (format: ###.###.###.###).
|
||||
-r BMC cold reset.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-garp on Enable the Gratuitous ARP.
|
||||
-garp off Disable the Gratuitous ARP.
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-ver Get Firmware revision.
|
||||
-vlan Get VLAN status.
|
||||
-vlan on <vlan tag> Enable the VLAN and set the VLAN tag.
|
||||
If VLANtag is not given it uses previously saved value.
|
||||
-vlan off Disable the VLAN.
|
||||
-selftest Checking and reporting on the basic health of BMC.
|
||||
-raw Send a RAW IPMI request and print response.
|
||||
Format: NetFn Cmd [Data1 ... DataN]
|
||||
-fru info Show FRU inventory area Info.
|
||||
-fru list Show all FRU values.
|
||||
-fru cthelp Show chassis type code.
|
||||
-fru help Show help of FRU Write.
|
||||
-fru <field> Show FRU field value.
|
||||
-fru <field> <value> Write FRU.
|
||||
-fru 1m Update Product-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 1p Update Product-Product Name from DMITable to IPMI FRU.
|
||||
-fru 1s Update Product-S/N from DMITable to IPMI FRU.
|
||||
-fru 2m Update Board-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 2p Update Board-Product Name from DMITable to IPMI FRU.
|
||||
-fru 2s Update Board-S/N from DMITable to IPMI FRU.
|
||||
-fru 3s Update Chassis-S/N from DMITable to IPMI FRU.
|
||||
-fru backup <file> Backup FRU to file <Binary format>.
|
||||
-fru restore <file> Restore FRU from file <Binary format>.
|
||||
-fru tbackup <file> Backup FRU to file <Text format>.
|
||||
-fru trestore <file> Restore FRU from file <Text format>.
|
||||
-fru ver <v1> <v2> Get/Set FRU version. (v1 v2 are BCD format)
|
||||
-sel info Show SEL info.
|
||||
-sel list Show SEL records.
|
||||
-sel del Delete all SEL records.
|
||||
-sel raw Show SEL raw data.
|
||||
-sdr [full] Show SDR records and reading.
|
||||
-sdr del <sdr id> Delete SDR record.
|
||||
-sdr ver <v1> <v2> Get/Set SDR version. (v1 v2 are BCD format)
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo [full] Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge Set auto discharge by days.
|
||||
<module> <day>.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-user list List user privilege information.
|
||||
-user help Show user privilege code.
|
||||
-user add <user id> Add user.
|
||||
<name> <password>
|
||||
<privilege>
|
||||
-user del <user id> Delete user.
|
||||
-user level <user id> Update user privilege.
|
||||
<privilege>
|
||||
-user setpwd Update user password.
|
||||
<user id> <password>
|
||||
-conf upload <file> Upload IPMI configuration form binary file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> Upload IPMI configuration from text file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf tdownload Download IPMI configuration to text file.
|
||||
<file>
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force to boot from
|
||||
device.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+246
@@ -0,0 +1,246 @@
|
||||
-------------------------------------------------------------------------------
|
||||
Supermicro IPMICFG Release Notes
|
||||
Copyright(c) 2017 by Super Micro Computer, Inc. http://supermicro.com/
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Introduction
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG is a command line tool that let user set IPMI command through keyboard
|
||||
controller style (KCS) to the device that support Intelligent Platform
|
||||
Management Interface (IPMI) version 2.0 specifications.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Requirements
|
||||
-------------------------------------------------------------------------------
|
||||
- Operating system:
|
||||
* Microsoft DOS 5.0 or later version
|
||||
* Windows Server 2003, 2008, 2012 (32/64bit), 2016
|
||||
- Operating system must be pre-installed Microsoft Visual C++ 2008 SP1
|
||||
Redistributable Package
|
||||
Download Link:
|
||||
http://www.microsoft.com/en-us/download/details.aspx?id=29
|
||||
- Windows 2008 R2 x64 must be pre-installed KB3033929 patch
|
||||
Download Link:
|
||||
https://www.microsoft.com/en-us/download/details.aspx?id=46083
|
||||
Windows 7/8/8.1/10:
|
||||
- Need disabled UAC(User Account Control) or open a command prompt
|
||||
with a run as administrator.
|
||||
- Windows 7 x64 must be pre-installed KB3033929 patch
|
||||
Download Link:
|
||||
https://www.microsoft.com/en-us/download/details.aspx?id=46148
|
||||
* Linux Kernel version 2.6.x or higher.
|
||||
ex: Red Hat Enterprise Linux (RHEL) 6.8 and 7.2,
|
||||
SUSE Linux Enterprise Server (SLES) 11 SP4 and 12 SP1
|
||||
Ubuntu Server 14.04 LTS and 16.04 LTS
|
||||
* Free Disk Space: 200 MB (Linux, Windows)
|
||||
* Available RAM: 64 MB
|
||||
- Hardware:
|
||||
* Baseboard Management Controller (BMC) must support Intelligent Platform
|
||||
Management Interface (IPMI) version 2.0 specifications.
|
||||
- Software:
|
||||
* -tas, -nvme commands must be installed Thin-Agent Service. The TAS
|
||||
minimum required version is 1.4.0.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Installation and Upgrade Instructions
|
||||
-------------------------------------------------------------------------------
|
||||
- DOS
|
||||
Execute IPMICFG.exe
|
||||
- Windows
|
||||
Execute IMPICFG-Win.exe
|
||||
- Linux
|
||||
If your system has installed OpenIPMI driver, you can enabled Linux IPMI
|
||||
driver:
|
||||
# /etc/init.d/ipmi start
|
||||
or
|
||||
# modprobe ipmi_msghandler
|
||||
# modprobe ipmi_devintf
|
||||
# modprobe ipmi_si
|
||||
Then execute IPMICFG-Linux.x86 or IPMICFG-Linux.x86_64
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Third Party Software
|
||||
-------------------------------------------------------------------------------
|
||||
- Phymem
|
||||
Please refer to
|
||||
http://www.codeproject.com/Articles/35378/Access-Physical-Memory-Port-and-PC
|
||||
I-Configuration for more information.
|
||||
- IPMITool
|
||||
Please refer to
|
||||
http://sourceforge.net/projects/ipmitool for more information.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.27.0 build 170620
|
||||
-------------------------------------------------------------------------------
|
||||
1. Add DCMI commands.
|
||||
2. Add MCU ID support for 0xA5, 0xA6, 0xA7 and 0xA8 on IPMICFG with the "tp"
|
||||
command.
|
||||
3. Disabled Microblade "VBAT" sensor all the upper threshold value.
|
||||
4. Fix getting PMBus's detail status has duplicate information.
|
||||
5. Update NM commands to Node Manager 4.0.
|
||||
6. Support ATEN 8U Superblade firmware.
|
||||
7. Update board ID.
|
||||
8. Update KCS driver.
|
||||
9. Modify PMBus Revision info.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.26.0 build 161123
|
||||
-------------------------------------------------------------------------------
|
||||
1. Support MultiNode config ID = 6 and 12.
|
||||
2. Support MultiNode MCU ID = 0xA7.
|
||||
3. Support TAS 1.4.0.
|
||||
4. Update event log description in SEL command.
|
||||
5. Presenting power module full status information in -pminfo command.
|
||||
6. Improve NVME firmware information in "-nvme info" command.
|
||||
7. Support the watchdog sensor in "-sdr" command.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.25.0 build 160823
|
||||
-------------------------------------------------------------------------------
|
||||
1. Support discrete sensor.
|
||||
2. Support NVME 48 nodes.
|
||||
3. Update FRU chassis type.
|
||||
4. Update board id.
|
||||
5. Modify parameter list format.
|
||||
6. Fix FRU fields too many characters lead to FRU wrong issue.
|
||||
7. Add Get/Set host name command.
|
||||
8. Update Windows KCS driver.
|
||||
9. Fix can't boot from UEFI device issue.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.24.2 build 160517
|
||||
-------------------------------------------------------------------------------
|
||||
1. Fix power reading is incorrect with command nm oem power.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.24.1 build 160222
|
||||
-------------------------------------------------------------------------------
|
||||
1. Update Windows KCS driver.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.24.0 build 160105
|
||||
-------------------------------------------------------------------------------
|
||||
1. Add TAS commands. (Not supported DOS)
|
||||
2. Update NVME commands. (Not supported DOS)
|
||||
3. Add summary command.
|
||||
4. Update board id.
|
||||
5. Update MRC Code for SEL.
|
||||
6. Update SEL description.
|
||||
7. Fix MCU Version value wrong issue.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.23.0 build 151106
|
||||
-------------------------------------------------------------------------------
|
||||
1. Support MicroCloud device in tp commands.
|
||||
2. Fix temperature sensor reading can't display negative issue.
|
||||
3. Fix TJmax value wrong issue.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.22.0 build 150814
|
||||
-------------------------------------------------------------------------------
|
||||
1. Update board id.
|
||||
2. Update GUID.
|
||||
3. When impicfg failed, error message will store to stderr variable.
|
||||
4. When input wrong parameter, ipmicfg will print all the parameters
|
||||
explaination and cancel pause screen mechanism. (Not supported DOS)
|
||||
5. When use not root permission account to launch ipmicfg, ipmicfg will show
|
||||
tip message.
|
||||
6. Fix -sdr hang issue at SuperBlade.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
IPMICFG 1.21.0 build 150615
|
||||
-------------------------------------------------------------------------------
|
||||
1. Add BIOS MRC Code for SEL.
|
||||
2. Add support power consumption sensor(SDR record type = 0x0b).
|
||||
3. Add SDR Type 2 to support PS Status Compact SDR.
|
||||
4. Update Fan mode.
|
||||
5. Udpate SEL description and board id.
|
||||
6. Modify FatTwin Right side node ID.
|
||||
7. Modify TwinPro commands.
|
||||
8. Replace KCS driver.
|
||||
9. Update length of PWS Module Number from 12 bytes to 13 bytes.
|
||||
10. Fix memory ECC error description.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Known Issues, Limitations & Restrictions
|
||||
-------------------------------------------------------------------------------
|
||||
1. 'Destination IP address' in the first entry under alerts subsection is
|
||||
volatile as per the IPMI spec. So, this field will not be saved if restored
|
||||
to factory defaults.
|
||||
|
||||
2. Some parameters need IPMI OEM commands support. If not, the execute result
|
||||
will response error message or information. The parameters include:
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge <module> <day> Set auto discharge by days.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-conf upload <file> <option> Upload IPMI configuration form binary file.
|
||||
option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> <option> Upload IPMI configuration from text file.
|
||||
option: -p | Bypass warning message.
|
||||
-conf tdownload <file> Download IPMI configuration to text file.
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force
|
||||
to boot from device.
|
||||
-recoverbiosinfo Get recovery BIOS information.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force
|
||||
to boot from device.
|
||||
-recoverbiosinfo Get recovery BIOS information.
|
||||
-nvme list Display the existing NVME SSD list.
|
||||
-nvme info NVME SSD information.
|
||||
-nvme rescan Rescan all devices by in band.
|
||||
-nvme insert <aoc> <group> <slot> Insert SSD by out of band.
|
||||
-nvme locate <HDD Name> Locate SSD. (in band)
|
||||
-nvme locate <aoc> <group> <slot> Locate SSD. (out of band)
|
||||
-nvme stoplocate <HDD Name> Stop Locate SSD. (in band)
|
||||
-nvme stoplocate <aoc> <group> <slot> Stop Locate SSD. (out of band)
|
||||
-nvme remove <HDD Name> [option] Remove NVME device. (in band)
|
||||
Usage: option 0: Do eject after remove (Default).
|
||||
option 1: Do not eject after remove.
|
||||
-nvme remove <aoc> <group> <slot> Remove NVME device. (out of band)
|
||||
-nvme smartdata [HDD Name] NVME SMART data.
|
||||
-tp info Get MCU Info.
|
||||
-tp info <type> Get MCU Type Info. (type: 1 - 3)
|
||||
-tp nodeid Get Node ID.
|
||||
-tas info Get TAS Information.
|
||||
-tas pause Pause TAS Service.
|
||||
-tas resume Resume TAS Service.
|
||||
-tas refresh Trigger TAS to recollect data.
|
||||
-tas clear Clear TAS collected data in BMC.
|
||||
-tas period <sec> Set TAS update period <limit 5 to 60 sec>.
|
||||
-tas exec <cmd> Execute a user's specified command.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Technical Support
|
||||
-------------------------------------------------------------------------------
|
||||
Web Site: www.supermicro.com
|
||||
Headquarters: support@supermicro.com
|
||||
European Branch: support@supermicro.nl
|
||||
Asian Branch: support@supermicro.com.tw
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
-m Show IP and MAC.
|
||||
-m IP Set IP (format: ###.###.###.###).
|
||||
-a MAC Set MAC (format: ##:##:##:##:##:##).
|
||||
-k Show Subnet Mask.
|
||||
-k Mask Set Subnet Mask (format: ###.###.###.###).
|
||||
-dhcp Get the DHCP status.
|
||||
-dhcp on Enable the DHCP.
|
||||
-dhcp off Disable the DHCP.
|
||||
-g Show Gateway IP.
|
||||
-g IP Set Gateway IP (format: ###.###.###.###).
|
||||
-r BMC cold reset.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-garp on Enable the Gratuitous ARP.
|
||||
-garp off Disable the Gratuitous ARP.
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-ver Get Firmware revision.
|
||||
-vlan Get VLAN status.
|
||||
-vlan on <vlan tag> Enable the VLAN and set the VLAN tag.
|
||||
If VLANtag is not given it uses previously saved value.
|
||||
-vlan off Disable the VLAN.
|
||||
-selftest Checking and reporting on the basic health of BMC.
|
||||
-raw Send a RAW IPMI request and print response.
|
||||
Format: NetFn Cmd [Data1 ... DataN]
|
||||
-fru info Show FRU inventory area Info.
|
||||
-fru list Show all FRU values.
|
||||
-fru cthelp Show chassis type code.
|
||||
-fru help Show help of FRU Write.
|
||||
-fru <field> Show FRU field value.
|
||||
-fru <field> <value> Write FRU.
|
||||
-fru 1m Update Product-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 1p Update Product-Product Name from DMITable to IPMI FRU.
|
||||
-fru 1s Update Product-S/N from DMITable to IPMI FRU.
|
||||
-fru 2m Update Board-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 2p Update Board-Product Name from DMITable to IPMI FRU.
|
||||
-fru 2s Update Board-S/N from DMITable to IPMI FRU.
|
||||
-fru 3s Update Chassis-S/N from DMITable to IPMI FRU.
|
||||
-fru backup <file> Backup FRU to file <Binary format>.
|
||||
-fru restore <file> Restore FRU from file <Binary format>.
|
||||
-fru tbackup <file> Backup FRU to file <Text format>.
|
||||
-fru trestore <file> Restore FRU from file <Text format>.
|
||||
-fru ver <v1> <v2> Get/Set FRU version. (v1 v2 are BCD format)
|
||||
-sel info Show SEL info.
|
||||
-sel list Show SEL records.
|
||||
-sel del Delete all SEL records.
|
||||
-sel raw Show SEL raw data.
|
||||
-sdr [full] Show SDR records and reading.
|
||||
-sdr del <sdr id> Delete SDR record.
|
||||
-sdr ver <v1> <v2> Get/Set SDR version. (v1 v2 are BCD format)
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo [full] Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge Set auto discharge by days.
|
||||
<module> <day>.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-user list List user privilege information.
|
||||
-user help Show user privilege code.
|
||||
-user add <user id> Add user.
|
||||
<name> <password>
|
||||
<privilege>
|
||||
-user del <user id> Delete user.
|
||||
-user level <user id> Update user privilege.
|
||||
<privilege>
|
||||
-user setpwd Update user password.
|
||||
<user id> <password>
|
||||
-conf upload <file> Upload IPMI configuration form binary file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> Upload IPMI configuration from text file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf tdownload Download IPMI configuration to text file.
|
||||
<file>
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force to boot from
|
||||
device.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
-m Show IP and MAC.
|
||||
-m IP Set IP (format: ###.###.###.###).
|
||||
-a MAC Set MAC (format: ##:##:##:##:##:##).
|
||||
-k Show Subnet Mask.
|
||||
-k Mask Set Subnet Mask (format: ###.###.###.###).
|
||||
-dhcp Get the DHCP status.
|
||||
-dhcp on Enable the DHCP.
|
||||
-dhcp off Disable the DHCP.
|
||||
-g Show Gateway IP.
|
||||
-g IP Set Gateway IP (format: ###.###.###.###).
|
||||
-r BMC cold reset.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-garp on Enable the Gratuitous ARP.
|
||||
-garp off Disable the Gratuitous ARP.
|
||||
-fd Reset to the factory default.
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fdl Reset to the factory default. (Clean LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-fde Reset to the factory default. (Clean FRU & LAN)
|
||||
option: -d | Detected IPMI device for BMC reset.
|
||||
-ver Get Firmware revision.
|
||||
-vlan Get VLAN status.
|
||||
-vlan on <vlan tag> Enable the VLAN and set the VLAN tag.
|
||||
If VLANtag is not given it uses previously saved value.
|
||||
-vlan off Disable the VLAN.
|
||||
-selftest Checking and reporting on the basic health of BMC.
|
||||
-raw Send a RAW IPMI request and print response.
|
||||
Format: NetFn Cmd [Data1 ... DataN]
|
||||
-fru info Show FRU inventory area Info.
|
||||
-fru list Show all FRU values.
|
||||
-fru cthelp Show chassis type code.
|
||||
-fru help Show help of FRU Write.
|
||||
-fru <field> Show FRU field value.
|
||||
-fru <field> <value> Write FRU.
|
||||
-fru 1m Update Product-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 1p Update Product-Product Name from DMITable to IPMI FRU.
|
||||
-fru 1s Update Product-S/N from DMITable to IPMI FRU.
|
||||
-fru 2m Update Board-Manufacturer from DMITable to IPMI FRU.
|
||||
-fru 2p Update Board-Product Name from DMITable to IPMI FRU.
|
||||
-fru 2s Update Board-S/N from DMITable to IPMI FRU.
|
||||
-fru 3s Update Chassis-S/N from DMITable to IPMI FRU.
|
||||
-fru backup <file> Backup FRU to file <Binary format>.
|
||||
-fru restore <file> Restore FRU from file <Binary format>.
|
||||
-fru tbackup <file> Backup FRU to file <Text format>.
|
||||
-fru trestore <file> Restore FRU from file <Text format>.
|
||||
-fru ver <v1> <v2> Get/Set FRU version. (v1 v2 are BCD format)
|
||||
-sel info Show SEL info.
|
||||
-sel list Show SEL records.
|
||||
-sel del Delete all SEL records.
|
||||
-sel raw Show SEL raw data.
|
||||
-sdr [full] Show SDR records and reading.
|
||||
-sdr del <sdr id> Delete SDR record.
|
||||
-sdr ver <v1> <v2> Get/Set SDR version. (v1 v2 are BCD format)
|
||||
-nm nmsdr Display NM SDR.
|
||||
-nm seltime Get SEL time.
|
||||
-nm deviceid Get ME Device ID.
|
||||
-nm reset Reboots ME.
|
||||
-nm reset2default Force ME reset to Default.
|
||||
-nm updatemode Force ME to Update Mode.
|
||||
-nm selftest Get Self Test Results.
|
||||
-nm listimagesinfo List ME Images information.
|
||||
-nm oemgetpower OEM Power command for ME.
|
||||
-nm oemgettemp OEM Temp. command for ME.
|
||||
-nm pstate Get Max allowed CPU P-State.
|
||||
-nm tstate Get Max allowed CPU T-State.
|
||||
-nm cpumemtemp Get CPU/Memory temperature.
|
||||
-nm hostcpudata Get host CPU data.
|
||||
-fan Get Fan Mode.
|
||||
-fan <mode> Set Fan Mode.
|
||||
-pminfo [full] Power supply PMBus health.
|
||||
-psfruinfo Power supply FRU health.
|
||||
-psbbpinfo Battery backup power status.
|
||||
-autodischarge Set auto discharge by days.
|
||||
<module> <day>.
|
||||
-discharge <module> Manually discharge battery.
|
||||
-user list List user privilege information.
|
||||
-user help Show user privilege code.
|
||||
-user add <user id> Add user.
|
||||
<name> <password>
|
||||
<privilege>
|
||||
-user del <user id> Delete user.
|
||||
-user level <user id> Update user privilege.
|
||||
<privilege>
|
||||
-user setpwd Update user password.
|
||||
<user id> <password>
|
||||
-conf upload <file> Upload IPMI configuration form binary file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf download <file> Download IPMI configuration to binary file.
|
||||
-conf tupload <file> Upload IPMI configuration from text file.
|
||||
<option> option: -p | Bypass warning message.
|
||||
-conf tdownload Download IPMI configuration to text file.
|
||||
<file>
|
||||
-clrint Clear chassis intrusion.
|
||||
-reset <index> Reset System and force to boot from device.
|
||||
-soft <index> Initiate a soft-shutdown for OS and force to boot from
|
||||
device.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Submodule
+1
Submodule AKB/bin/admin-stuff added at 6c91fc0987
Submodule
+1
Submodule AKB/bin/manage-gw-config added at b5fb1f7b3a
Submodule
+1
Submodule AKB/bin/monitoring added at 0611d0a2ad
Symlink
+1
@@ -0,0 +1 @@
|
||||
admin-stuff/os-upgrade.sh
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
admin-stuff/test_email.sh
|
||||
@@ -0,0 +1,69 @@
|
||||
# The bind.keys file is used to override the built-in DNSSEC trust anchors
|
||||
# which are included as part of BIND 9. As of the current release, the only
|
||||
# trust anchors it contains are those for the DNS root zone ("."), and for
|
||||
# the ISC DNSSEC Lookaside Validation zone ("dlv.isc.org"). Trust anchors
|
||||
# for any other zones MUST be configured elsewhere; if they are configured
|
||||
# here, they will not be recognized or used by named.
|
||||
#
|
||||
# The built-in trust anchors are provided for convenience of configuration.
|
||||
# They are not activated within named.conf unless specifically switched on.
|
||||
# To use the built-in root key, set "dnssec-validation auto;" in
|
||||
# named.conf options. To use the built-in DLV key, set
|
||||
# "dnssec-lookaside auto;". Without these options being set,
|
||||
# the keys in this file are ignored.
|
||||
#
|
||||
# This file is NOT expected to be user-configured.
|
||||
#
|
||||
# These keys are current as of Feburary 2017. If any key fails to
|
||||
# initialize correctly, it may have expired. In that event you should
|
||||
# replace this file with a current version. The latest version of
|
||||
# bind.keys can always be obtained from ISC at https://www.isc.org/bind-keys.
|
||||
|
||||
managed-keys {
|
||||
# ISC DLV: See https://www.isc.org/solutions/dlv for details.
|
||||
#
|
||||
# NOTE: The ISC DLV zone is being phased out as of February 2017;
|
||||
# the key will remain in place but the zone will be otherwise empty.
|
||||
# Configuring "dnssec-lookaside auto;" to activate this key is
|
||||
# harmless, but is no longer useful and is not recommended.
|
||||
dlv.isc.org. initial-key 257 3 5 "BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWEn4MxDCE1+lLy2
|
||||
brhQv5rN32RKtMzX6Mj70jdzeND4XknW58dnJNPCxn8+jAGl2FZLK8t+
|
||||
1uq4W+nnA3qO2+DL+k6BD4mewMLbIYFwe0PG73Te9fZ2kJb56dhgMde5
|
||||
ymX4BI/oQ+cAK50/xvJv00Frf8kw6ucMTwFlgPe+jnGxPPEmHAte/URk
|
||||
Y62ZfkLoBAADLHQ9IrS2tryAe7mbBZVcOwIeU/Rw/mRx/vwwMCTgNboM
|
||||
QKtUdvNXDrYJDSHZws3xiRXF1Rf+al9UmZfSav/4NWLKjHzpT59k/VSt
|
||||
TDN0YUuWrBNh";
|
||||
|
||||
# ROOT KEYS: See https://data.iana.org/root-anchors/root-anchors.xml
|
||||
# for current trust anchor information.
|
||||
#
|
||||
# These keys are activated by setting "dnssec-validation auto;"
|
||||
# in named.conf.
|
||||
#
|
||||
# This key (19036) is to be phased out starting in 2017. It will
|
||||
# remain in the root zone for some time after its successor key
|
||||
# has been added. It will remain this file until it is removed from
|
||||
# the root zone.
|
||||
. initial-key 257 3 8 "AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjF
|
||||
FVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoX
|
||||
bfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaD
|
||||
X6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpz
|
||||
W5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relS
|
||||
Qageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulq
|
||||
QxA+Uk1ihz0=";
|
||||
|
||||
# This key (20326) is to be published in the root zone in 2017.
|
||||
# Servers which were already using the old key (19036) should
|
||||
# roll seamlessly to this new one via RFC 5011 rollover. Servers
|
||||
# being set up for the first time can use the contents of this
|
||||
# file as initializing keys; thereafter, the keys in the
|
||||
# managed key database will be trusted and maintained
|
||||
# automatically.
|
||||
. initial-key 257 3 8 "AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3
|
||||
+/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kv
|
||||
ArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF
|
||||
0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+e
|
||||
oZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfd
|
||||
RUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwN
|
||||
R1AkUTV74bU=";
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
;
|
||||
; BIND reverse data file for broadcast zone
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA localhost. root.localhost. (
|
||||
1 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS localhost.
|
||||
@@ -0,0 +1,13 @@
|
||||
;
|
||||
; BIND reverse data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA localhost. root.localhost. (
|
||||
1 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS localhost.
|
||||
1.0.0 IN PTR localhost.
|
||||
@@ -0,0 +1,66 @@
|
||||
;
|
||||
; BIND reverse data file for local akb.netz zone
|
||||
;
|
||||
$TTL 43600
|
||||
@ IN SOA ns.akb.netz. ckubu.oopen.de. (
|
||||
2012011501 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
|
||||
IN NS ns.akb.netz.
|
||||
|
||||
; Gateway/Firewall
|
||||
254 IN PTR gw-akb.akb.netz.
|
||||
|
||||
; (Caching ) Nameserver
|
||||
1 IN PTR ns.akb.netz.
|
||||
|
||||
|
||||
; File Server
|
||||
10 IN PTR file-akb.akb.netz.
|
||||
|
||||
|
||||
; IPMI - File Server
|
||||
11 IN PTR file-ipmi.akb.netz.
|
||||
|
||||
; USV
|
||||
15 IN PTR usv-akb.akb.netz.
|
||||
|
||||
; Windows 7 Server
|
||||
20 IN PTR file-win7.akb.netz.
|
||||
|
||||
; Laserdrucker Lexmark X466de
|
||||
30 IN PTR lexmark-cx410de.akb.netz.
|
||||
|
||||
; Ueberwachungs Kameras
|
||||
40 IN PTR kamera0.akb.netz.
|
||||
41 IN PTR kamera1.akb.netz.
|
||||
|
||||
; Buero PC's
|
||||
100 IN PTR ab0.akb.netz.
|
||||
101 IN PTR ab1.akb.netz.
|
||||
102 IN PTR ab2.akb.netz.
|
||||
103 IN PTR ab3.akb.netz.
|
||||
104 IN PTR ab4.akb.netz.
|
||||
105 IN PTR ab5.akb.netz.
|
||||
106 IN PTR ab6.akb.netz.
|
||||
107 IN PTR ab7.akb.netz.
|
||||
108 IN PTR ab8.akb.netz.
|
||||
|
||||
; Netbooks LAN Schnittstelle
|
||||
121 IN PTR netbook1.akb.netz.
|
||||
122 IN PTR netbook2.akb.netz.
|
||||
123 IN PTR netbook3.akb.netz.
|
||||
|
||||
|
||||
; Accesspoint (WAN - Schnittstelle)
|
||||
253 IN PTR accesspoint.akb.netz.
|
||||
|
||||
|
||||
; ## --- ckubu --- ##
|
||||
|
||||
; Laptop (devil) LAN (eth0)
|
||||
90 IN PTR devil.akb.netz.
|
||||
@@ -0,0 +1,30 @@
|
||||
;
|
||||
; BIND reverse data file for local akb.netz zone
|
||||
;
|
||||
$TTL 43600
|
||||
@ IN SOA ns.akb.netz. ckubu.oopen.de. (
|
||||
2012120401 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
|
||||
IN NS ns.akb.netz.
|
||||
|
||||
|
||||
; Accesspoint (LAN/WLAN - Schnittstelle)
|
||||
253 IN PTR accesspoint-wlan.akb.netz.
|
||||
|
||||
|
||||
|
||||
; Netbooks LAN Schnittstelle
|
||||
121 IN PTR netbook1-wlan.akb.netz.
|
||||
122 IN PTR netbook2-wlan.akb.netz.
|
||||
123 IN PTR netbook3-wlan.akb.netz.
|
||||
|
||||
|
||||
; ## --- ckubu --- ##
|
||||
|
||||
; Laptop (devil) WLAN (wlan0)
|
||||
90 IN PTR devil-wlan.akb.netz.
|
||||
@@ -0,0 +1,12 @@
|
||||
;
|
||||
; BIND reverse data file for broadcast zone
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA localhost. root.localhost. (
|
||||
1 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS localhost.
|
||||
@@ -0,0 +1,92 @@
|
||||
;
|
||||
; BIND data file for local akb.netz zone
|
||||
;
|
||||
$TTL 43600
|
||||
@ IN SOA ns.akb.netz. ckubu.oopen.de. (
|
||||
2015122301 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
|
||||
|
||||
IN NS ns.akb.netz.
|
||||
|
||||
; Gateway/Firewall
|
||||
gw-akb IN A 192.168.82.254
|
||||
gate IN CNAME gw-akb
|
||||
gw IN CNAME gw-akb
|
||||
gw-ipmi IN A 172.16.82.15
|
||||
|
||||
; (Caching ) Nameserver
|
||||
ns IN A 192.168.82.1
|
||||
nscache IN CNAME ns
|
||||
|
||||
; File Server
|
||||
file-akb IN A 192.168.82.10
|
||||
file IN CNAME file-akb
|
||||
|
||||
ftp IN A 192.168.82.10
|
||||
|
||||
; IPMI - File Server
|
||||
file-ipmi IN A 192.168.82.11
|
||||
|
||||
; USV - APC Management Card
|
||||
usv-akb IN A 192.168.82.15
|
||||
usv IN CNAME usv-akb
|
||||
|
||||
; Windows 7 Server
|
||||
;file-win7 IN A 192.168.82.20
|
||||
|
||||
; Laserdrucker Lexmark X466de
|
||||
;lexmark-X466de IN A 192.168.82.30
|
||||
|
||||
; Laserdrucker Lexmark CX410de
|
||||
lexmark-cx410de IN A 192.168.82.30
|
||||
lexmark IN CNAME lexmark-cx410de
|
||||
|
||||
; Ueberwachungs Kameras
|
||||
kamera0 IN A 192.168.82.40
|
||||
camera0 IN A 192.168.82.40
|
||||
kamera1 IN A 192.168.82.41
|
||||
camera1 IN A 192.168.82.41
|
||||
|
||||
; Buero PC's
|
||||
ab0 IN A 192.168.82.100
|
||||
ab1 IN A 192.168.82.101
|
||||
ab2 IN A 192.168.82.102
|
||||
ab3 IN A 192.168.82.103
|
||||
ab4 IN A 192.168.82.104
|
||||
ab5 IN A 192.168.82.105
|
||||
ab6 IN A 192.168.82.106
|
||||
ab7 IN A 192.168.82.107
|
||||
ab8 IN A 192.168.82.108
|
||||
|
||||
; Netbooks LAN Schnittstelle
|
||||
netbook1-lan IN A 192.168.82.121
|
||||
netbook1 IN CNAME netbook1-lan
|
||||
|
||||
netbook2-lan IN A 192.168.82.122
|
||||
netbook2 IN CNAME netbook2-lan
|
||||
|
||||
netbook3-lan IN A 192.168.82.123
|
||||
netbook3 IN CNAME netbook3-lan
|
||||
|
||||
; Accesspoint (WAN - Schnittstelle)
|
||||
accesspoint IN A 192.168.82.253
|
||||
; Accesspoint (LAN/WLAN - Schnittstelle)
|
||||
accesspoint-wlan IN A 192.168.83.253
|
||||
|
||||
|
||||
; Netbooks WLAN Schnittstelle
|
||||
netbook1-wlan IN A 192.168.83.121
|
||||
netbook2-wlan IN A 192.168.83.122
|
||||
netbook3-wlan IN A 192.168.83.123
|
||||
|
||||
; ## --- ckubu --- ##
|
||||
|
||||
; Laptop (devil) LAN (eth0)
|
||||
devil IN A 192.168.82.90
|
||||
; Laptop (devil) WLAN (wlan0)
|
||||
devil-wlan IN A 192.168.83.90
|
||||
@@ -0,0 +1,14 @@
|
||||
; BIND reverse data file for empty rfc1918 zone
|
||||
;
|
||||
; DO NOT EDIT THIS FILE - it is used for multiple zones.
|
||||
; Instead, copy it, edit named.conf, and use that copy.
|
||||
;
|
||||
$TTL 86400
|
||||
@ IN SOA localhost. root.localhost. (
|
||||
1 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
86400 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS localhost.
|
||||
@@ -0,0 +1,14 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA localhost. root.localhost. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS localhost.
|
||||
@ IN A 127.0.0.1
|
||||
@ IN AAAA ::1
|
||||
@@ -0,0 +1,90 @@
|
||||
; This file holds the information on root name servers needed to
|
||||
; initialize cache of Internet domain name servers
|
||||
; (e.g. reference this file in the "cache . <file>"
|
||||
; configuration file of BIND domain name servers).
|
||||
;
|
||||
; This file is made available by InterNIC
|
||||
; under anonymous FTP as
|
||||
; file /domain/named.cache
|
||||
; on server FTP.INTERNIC.NET
|
||||
; -OR- RS.INTERNIC.NET
|
||||
;
|
||||
; last update: February 17, 2016
|
||||
; related version of root zone: 2016021701
|
||||
;
|
||||
; formerly NS.INTERNIC.NET
|
||||
;
|
||||
. 3600000 NS A.ROOT-SERVERS.NET.
|
||||
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
|
||||
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30
|
||||
;
|
||||
; FORMERLY NS1.ISI.EDU
|
||||
;
|
||||
. 3600000 NS B.ROOT-SERVERS.NET.
|
||||
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
|
||||
B.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:84::b
|
||||
;
|
||||
; FORMERLY C.PSI.NET
|
||||
;
|
||||
. 3600000 NS C.ROOT-SERVERS.NET.
|
||||
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
|
||||
C.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2::c
|
||||
;
|
||||
; FORMERLY TERP.UMD.EDU
|
||||
;
|
||||
. 3600000 NS D.ROOT-SERVERS.NET.
|
||||
D.ROOT-SERVERS.NET. 3600000 A 199.7.91.13
|
||||
D.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2d::d
|
||||
;
|
||||
; FORMERLY NS.NASA.GOV
|
||||
;
|
||||
. 3600000 NS E.ROOT-SERVERS.NET.
|
||||
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
|
||||
;
|
||||
; FORMERLY NS.ISC.ORG
|
||||
;
|
||||
. 3600000 NS F.ROOT-SERVERS.NET.
|
||||
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
|
||||
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
|
||||
;
|
||||
; FORMERLY NS.NIC.DDN.MIL
|
||||
;
|
||||
. 3600000 NS G.ROOT-SERVERS.NET.
|
||||
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
|
||||
;
|
||||
; FORMERLY AOS.ARL.ARMY.MIL
|
||||
;
|
||||
. 3600000 NS H.ROOT-SERVERS.NET.
|
||||
H.ROOT-SERVERS.NET. 3600000 A 198.97.190.53
|
||||
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::53
|
||||
;
|
||||
; FORMERLY NIC.NORDU.NET
|
||||
;
|
||||
. 3600000 NS I.ROOT-SERVERS.NET.
|
||||
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
|
||||
I.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fe::53
|
||||
;
|
||||
; OPERATED BY VERISIGN, INC.
|
||||
;
|
||||
. 3600000 NS J.ROOT-SERVERS.NET.
|
||||
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
|
||||
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:c27::2:30
|
||||
;
|
||||
; OPERATED BY RIPE NCC
|
||||
;
|
||||
. 3600000 NS K.ROOT-SERVERS.NET.
|
||||
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
|
||||
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
|
||||
;
|
||||
; OPERATED BY ICANN
|
||||
;
|
||||
. 3600000 NS L.ROOT-SERVERS.NET.
|
||||
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
|
||||
L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:3::42
|
||||
;
|
||||
; OPERATED BY WIDE
|
||||
;
|
||||
. 3600000 NS M.ROOT-SERVERS.NET.
|
||||
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
|
||||
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
|
||||
; End of file
|
||||
@@ -0,0 +1,11 @@
|
||||
// This is the primary configuration file for the BIND DNS server named.
|
||||
//
|
||||
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
|
||||
// structure of BIND configuration files in Debian, *BEFORE* you customize
|
||||
// this configuration file.
|
||||
//
|
||||
// If you are just adding zones, please do that in /etc/bind/named.conf.local
|
||||
|
||||
include "/etc/bind/named.conf.options";
|
||||
include "/etc/bind/named.conf.local";
|
||||
include "/etc/bind/named.conf.default-zones";
|
||||
@@ -0,0 +1,30 @@
|
||||
// prime the server with knowledge of the root servers
|
||||
zone "." {
|
||||
type hint;
|
||||
file "/etc/bind/db.root";
|
||||
};
|
||||
|
||||
// be authoritative for the localhost forward and reverse zones, and for
|
||||
// broadcast zones as per RFC 1912
|
||||
|
||||
zone "localhost" {
|
||||
type master;
|
||||
file "/etc/bind/db.local";
|
||||
};
|
||||
|
||||
zone "127.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.127";
|
||||
};
|
||||
|
||||
zone "0.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.0";
|
||||
};
|
||||
|
||||
zone "255.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.255";
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
||||
|
||||
zone "akb.netz" {
|
||||
type master;
|
||||
file "/etc/bind/db.akb.netz";
|
||||
};
|
||||
|
||||
zone "82.168.192.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.192.168.82.0";
|
||||
};
|
||||
|
||||
zone "83.168.192.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.192.168.83.0";
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
|
||||
// If there is a firewall between you and nameservers you want
|
||||
// to talk to, you may need to fix the firewall to allow multiple
|
||||
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
||||
|
||||
// If your ISP provided one or more IP addresses for stable
|
||||
// nameservers, you probably want to use them as forwarders.
|
||||
// Uncomment the following block, and insert the addresses replacing
|
||||
// the all-0's placeholder.
|
||||
|
||||
forwarders {
|
||||
// OpenDNS servers
|
||||
208.67.222.222;
|
||||
208.67.220.220;
|
||||
// DNS-Cache des CCC
|
||||
213.73.91.35;
|
||||
// ISP DNS Servers
|
||||
217.237.150.51;
|
||||
217.237.148.22;
|
||||
};
|
||||
|
||||
|
||||
// Security options
|
||||
listen-on port 53 {
|
||||
127.0.0.1;
|
||||
192.168.82.1;
|
||||
};
|
||||
allow-query {
|
||||
127.0.0.1;
|
||||
192.168.82.0/24;
|
||||
192.168.83.0/24;
|
||||
10.0.82.0/24;
|
||||
};
|
||||
allow-recursion {
|
||||
127.0.0.1;
|
||||
192.168.82.0/24;
|
||||
192.168.83.0/24;
|
||||
10.0.82.0/24;
|
||||
};
|
||||
allow-transfer { none; };
|
||||
|
||||
|
||||
auth-nxdomain no; # conform to RFC1035
|
||||
listen-on-v6 { any; };
|
||||
};
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
|
||||
// If there is a firewall between you and nameservers you want
|
||||
// to talk to, you may need to fix the firewall to allow multiple
|
||||
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
||||
|
||||
// If your ISP provided one or more IP addresses for stable
|
||||
// nameservers, you probably want to use them as forwarders.
|
||||
// Uncomment the following block, and insert the addresses replacing
|
||||
// the all-0's placeholder.
|
||||
|
||||
// forwarders {
|
||||
// 0.0.0.0;
|
||||
// };
|
||||
|
||||
//========================================================================
|
||||
// If BIND logs error messages about the root key being expired,
|
||||
// you will need to update your keys. See https://www.isc.org/bind-keys
|
||||
//========================================================================
|
||||
dnssec-validation auto;
|
||||
|
||||
auth-nxdomain no; # conform to RFC1035
|
||||
listen-on-v6 { any; };
|
||||
};
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
key "rndc-key" {
|
||||
algorithm hmac-md5;
|
||||
secret "0KSg9Ns8stg0iS1dzsFwJw==";
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
zone "10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
|
||||
zone "16.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "17.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "18.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "19.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "20.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "21.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "22.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "23.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "24.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "25.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "26.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "27.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "28.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "29.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "30.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
zone "31.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
|
||||
zone "168.192.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
|
||||
@@ -0,0 +1,3 @@
|
||||
# Secrets for authentication using CHAP
|
||||
# client server secret IP addresses
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/var/log/check_net.log
|
||||
{
|
||||
rotate 7
|
||||
daily
|
||||
missingok
|
||||
notifempty
|
||||
copytruncate
|
||||
delaycompress
|
||||
compress
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Configure Routing for Internet Connections;
|
||||
After=network.target
|
||||
After=rc-local.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/sbin/check_net.sh
|
||||
ExecStartPre=rm -rf /tmp/check_net.sh.LOCK
|
||||
ExecStopPost=rm -rf /tmp/check_net.sh.LOCK
|
||||
KillMode=control-group
|
||||
SendSIGKILL=yes
|
||||
TimeoutStopSec=2
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,133 @@
|
||||
# - Configuration file for scrupts check_net.sh and netconfig.sh
|
||||
# -
|
||||
|
||||
LOGGING_CONSOLE=false
|
||||
DEBUG=false
|
||||
|
||||
# - Where are your scripts located?
|
||||
# -
|
||||
check_script=/usr/local/sbin/check_net.sh
|
||||
netconfig_script=/usr/local/sbin/netconfig.sh
|
||||
|
||||
log_file=/var/log/check_net.log
|
||||
|
||||
|
||||
# - Put in your DSL devices (refers to your network configuration)
|
||||
# - youe wish be congigured by that script
|
||||
# -
|
||||
# - Notice:
|
||||
# - If not using multiple default gatways, declare the list in the order of your
|
||||
# - preferred default gatway devices
|
||||
# -
|
||||
# - Example:
|
||||
# - _INITIAL_DEVICE_LIST="eth0:192.168.63.254 ppp-light"
|
||||
# -
|
||||
_INITIAL_DEVICE_LIST="ppp-akb"
|
||||
|
||||
# - Set to "false" uses "0.0.0.0" as remote gateway instead of the real address
|
||||
# -
|
||||
USE_REMOTE_GATEWAY_ADDRESS=true
|
||||
#USE_REMOTE_GATEWAY_ADDRESS=false
|
||||
|
||||
# - Set default gw (roundrobin)
|
||||
# -
|
||||
# - !! SET_MULTIPLE_DEFAULT_GW=true does not work for now..
|
||||
# -
|
||||
SET_MULTIPLE_DEFAULT_GW=false
|
||||
#SET_MULTIPLE_DEFAULT_GW=true
|
||||
|
||||
|
||||
# - Set to false uses "0.0.0.0" as default gateway adress instaed of real remote address
|
||||
# -
|
||||
USE_DEFAULT_GW_ADDRESS=true
|
||||
#USE_DEFAULT_GW_ADDRESS=false
|
||||
|
||||
|
||||
# - Hostnames for ping test
|
||||
# -
|
||||
# - Note: The first two reachable hosts will be used for ping test.
|
||||
# -
|
||||
# - Space separated list
|
||||
# -
|
||||
PING_TEST_HOSTS="oopen.de google.com heise.de debian.org ubuntu.com"
|
||||
|
||||
|
||||
admin_email=root
|
||||
from_address="check-inet-devices@`hostname -f`"
|
||||
company="Aktionsbündnis"
|
||||
content_type='Content-Type: text/plain;\n charset="utf-8"'
|
||||
|
||||
|
||||
# - rule_local_ips
|
||||
# -
|
||||
# - Add rule(s) for routing local ip-address(es) through a given extern interface
|
||||
# -
|
||||
# - Space separated list of entries '<ext-interface>:<local-ip>'
|
||||
# - rule_local_ips="<ext-interface>:<local-ip> [<ext-interface>:<local-ip>] [.."
|
||||
# -
|
||||
# - Example:
|
||||
# - ========
|
||||
# - local ip 192.168.10.1 through extern interface ppp-st and
|
||||
# - local ip 192.168.10.13 through extern interface ppp-surf1
|
||||
# - rule_local_ips="ppp-st:192.168.10.1 ppp-surf1:192.168.10.13"
|
||||
# -
|
||||
rule_local_ips=""
|
||||
|
||||
# - rule_remote_ips
|
||||
# -
|
||||
# - Add rule(s) for routing remote ip-address(es) through a given extern interface
|
||||
# -
|
||||
# - Space separated list of entries '<ext-interface>:<remote-ip>'
|
||||
# - rule_remote_ips="<ext-interface>:<remote-ip> [<ext-interface>:<remote-ip>] [.."
|
||||
# -
|
||||
# - Example:
|
||||
# - ========
|
||||
# - route remote ip-address 141.1.1.1 through extern interface ppp-ckubu and
|
||||
# - also route ip-address 8.8.8.8 through through extern interface ppp-ckubu
|
||||
# - rule_remote_ips="ppp-ckubu:141.1.1.1 ppp-ckubu:8.8.8.8"
|
||||
# -
|
||||
rule_remote_ips=""
|
||||
|
||||
# - rule_local_nets
|
||||
# -
|
||||
# - Add rule(s) for routing local networks through a given extern interface out
|
||||
# -
|
||||
# - Space separated list of entries '<extern-interface>:<local-net>'
|
||||
# - rule_local_nets="<extern-interface>:<local-net> [<extern-interface>:<local-net>] [.."
|
||||
# -
|
||||
# -
|
||||
# - Example:
|
||||
# - ========
|
||||
# - rule_local_nets="ppp-st:192.168.11.0/25 ppp-surf1:192.168.11.128/25"
|
||||
# -
|
||||
rule_local_nets=""
|
||||
|
||||
|
||||
|
||||
## ====================================
|
||||
## - Don't make changes after this Line
|
||||
## ====================================
|
||||
|
||||
# ---
|
||||
# - Add rule(s) for routing local ip-address(es)
|
||||
# ---
|
||||
declare -a rule_local_ip_arr
|
||||
for _str in $rule_local_ips ; do
|
||||
rule_local_ip_arr+=("$_str")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Add rule(s) for routing remote ip-address(es)
|
||||
# ---
|
||||
declare -a rule_remote_ip_arr
|
||||
for _str in $rule_remote_ips ; do
|
||||
rule_remote_ip_arr+=("$_str")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Add rule(s) for routing local networks
|
||||
# ---
|
||||
declare -a rule_local_net_arr
|
||||
for _str in $rule_local_nets ; do
|
||||
rule_local_net_arr+=("$_str")
|
||||
done
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user