My skins shows my IP/Router IP and WAN IP.
I have it set to format the IPs so they line up.
The LAN and DNS IPs line up, but the WAN IP isn't playing ball.
DNS (and LAN) code looks like this:
Code: Select all
;--------------------------------------------------------------------------------
;DNS
;--------------------------------------------------------------------------------
[DNSIP]
Measure=Plugin
Plugin=SysInfo
SysInfoType=DNS_SERVER
[DNS01]
Measure=String
String=[DNSIP]
RegExpSubstitute=1
Substitute="^(\d{1,3})\.\d{1,3}\.\d{1,3}\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[DNS02]
Measure=String
String=[DNSIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.(\d{1,3})\.\d{1,3}\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[DNS03]
Measure=String
String=[DNSIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.\d{1,3}\.(\d{1,3})\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[DNS04]
Measure=String
String=[DNSIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.\d{1,3}\.\d{1,3}\.(\d{1,3})$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[DNSText]
Meter=String
MeterStyle=meterStyle1
MeasureName=DNS01
MeasureName2=DNS02
MeasureName3=DNS03
MeasureName4=DNS04
X=175
Y=85
AntiAlias=1
Text=" DNS: %1.%2.%3.%4"
Code: Select all
;--------------------------------------------------------------------------------
;WAN
;--------------------------------------------------------------------------------
[WANIP]
Measure=Plugin
Plugin=WebParser
URL=http://checkip.dyndns.org
RegExp="(?siU)<body>(.+)Address: (.+)</body>"
StringIndex=2
UpdateRate=1800
[WAN01]
Measure=String
String=[WANIP]
RegExpSubstitute=1
Substitute="^(\d{1,3})\.\d{1,3}\.\d{1,3}\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[WAN02]
Measure=String
String=[WANIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.(\d{1,3})\.\d{1,3}\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[WAN03]
Measure=String
String=[WANIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.\d{1,3}\.(\d{1,3})\.\d{1,3}$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[WAN04]
Measure=String
String=[WANIP]
RegExpSubstitute=1
Substitute="^\d{1,3}\.\d{1,3}\.\d{1,3}\.(\d{1,3})$":"\1","^(\d{1})$":" \1","^(\d{2})$":" \1"
[WANText]
Meter=String
MeterStyle=meterStyle1
MeasureName=WAN01
MeasureName2=WAN02
MeasureName3=WAN03
MeasureName4=WAN04
X=10
Y=105
Text=" WAN: %1.%2.%3.%4"
Can anyone throw some light on this?